Skip to content

Conversation

@chriscartlidge
Copy link
Contributor

This allows versions of node <= 0.12.0 to use this project as jsdom 4.X > require node 4.X >

Issue: #94

package.json Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use ^, instead of ~ - older nodes are fine, but older npms don't even work properly with the registry, so there's no reason to support them.

@chriscartlidge
Copy link
Contributor Author

@ljharb Sorted.

@ljharb ljharb changed the title CHANGED: The jsdom dependency to ~3.1.2. CHANGED: The jsdom dependency to ^3.1.2. Dec 31, 2015
@ljharb
Copy link
Member

ljharb commented Dec 31, 2015

So, this will actually prohibit v6, and only work with v3 - what would be ideal is confirming exactly which major version lines of jsdom enzyme works with, and including all of them in the semver range - for example, ^3.1.2 || ^6.1.0, if it works with just those two, etc.

@chriscartlidge
Copy link
Contributor Author

@ljharb So it looks like we work against all of the jsdom versions apart from v4. I have updated the semver to take this into consideration.

@chriscartlidge chriscartlidge changed the title CHANGED: The jsdom dependency to ^3.1.2. CHANGED: The jsdom dependency to allow a range of supported versions. Jan 6, 2016
package.json Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could this also include || ^6.1.0 if it works with 6.x? If so, then this won't be a breaking change.

@chriscartlidge chriscartlidge force-pushed the master branch 3 times, most recently from 400df87 to 01d1ef9 Compare January 6, 2016 17:41
This allows versions of node <= 0.12.0 to use this project as jsdom 4.X > require node 4.X >
@chriscartlidge
Copy link
Contributor Author

@ljharb Sorted.

@lelandrichardson
Copy link
Collaborator

👍 I think this is good to go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants