Closed dalehurwitz closed 2 years ago
This is expected since it's unpublished. When an update is published, the next version will include these changes.
When is an update expected? The fix was made over a year ago right?
I'm confused as to why it's versioned as the latest but without the most recent changes.
I'm not sure what you mean by "versioned as the latest" - everywhere on github, there should be no expectation that master/main is released/published, and you should be looking at the tag that matches the latest release version to see what's in it.
You're right that it's been a long time since it's been landed; normally there's no schedule for releases, but I'll commit to getting an update of all the adapters published in the next 24-48 hours (assuming tests still pass on master; otherwise it might take a bit longer)
Admittedly I don't know much about versioning, I just assumed that a fix would have resulted in a version bump, not applied to an existing version - that's where my confusion came from.
Thanks for getting onto this!
v1.15.7 of the react 16 adapter has been published.
Steps
Install the adapter:
npm i --save-dev enzyme-adapter-react-16
Open this file from
node_modules
:node_modules/enzyme-adapter-react-16/src/findCurrentFiberUsingSlowPath.js
Expectation:
Line 96 is:
if (a.stateNode?.current === a) {
Reality:
Line 96 is:
if (a.stateNode.current === a) {
node_modules/enzyme-adapter-react-16/package.json
dump: