-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Comparing changes
Open a pull request
base repository: npm/cli
base: v8.19.1
head repository: npm/cli
compare: v9.0.0-pre.0
- 18 commits
- 92 files changed
- 6 contributors
Commits on Sep 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for eb1998a - Browse repository at this point
Copy the full SHA eb1998aView commit details
Commits on Sep 8, 2022
-
feat: update supported node engines in package.json
This also replaces the previous check for known broken versions of node with an exception handler for syntax errors in order to try and give a nicer error message when attempting to run npm on older node versions. BREAKING CHANGE: `npm` is now compatible with the following semver range for node: `^14.17.0 || ^16.13.0 || >=18.0.0` Ref: npm/statusboard#519
Configuration menu - View commit details
-
Copy full SHA for 457d388 - Browse repository at this point
Copy the full SHA 457d388View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41481f8 - Browse repository at this point
Copy the full SHA 41481f8View commit details -
chore: fix failing tests in windows + node 18
Some of our tests were failing in windows after testing on node 18. The reason was the inability to clean up the logs dir. This changes forces a few tests to run in order and also cleans up any use of multiple `t.testdir` calls in a single child test which can cause problems.
Configuration menu - View commit details
-
Copy full SHA for c927afe - Browse repository at this point
Copy the full SHA c927afeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 412cbab - Browse repository at this point
Copy the full SHA 412cbabView commit details -
BREAKING CHANGE: this removes the `npm bin` command The output of this command is misleading and incomplete. The `.bin` resolution of npm is much more nuanced than this command implies, and the output of `npm bin` is not something end users should be dealing with. `npm` itself is responsible for running the `bin` entries of modules, with the exception of global bins, which end up in the same folder as `node` itself, presumably already in a user's path since they can run node. Closes npm/statusboard#537
Configuration menu - View commit details
-
Copy full SHA for 2e92800 - Browse repository at this point
Copy the full SHA 2e92800View commit details -
feat: default
install-links
to true (#5458)BREAKING CHANGE: this changes the default value of `install-links` to true Closes npm/statusboard#510
Configuration menu - View commit details
-
Copy full SHA for 2a8c2fc - Browse repository at this point
Copy the full SHA 2a8c2fcView commit details -
feat: remove
npm set-script
(#5456)BREAKING CHANGE: this removes `npm set-script` Folks should use `npm pkg set` to set the `scripts` field in their `package.json` Closes npm/statusboard#449
Configuration menu - View commit details
-
Copy full SHA for 926f0ad - Browse repository at this point
Copy the full SHA 926f0adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09c46e8 - Browse repository at this point
Copy the full SHA 09c46e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 285b39f - Browse repository at this point
Copy the full SHA 285b39fView commit details -
feat: remove
npm birthday
(#5455)BREAKING CHANGE: this removes the `npm birthday` command
Configuration menu - View commit details
-
Copy full SHA for 49bbb2f - Browse repository at this point
Copy the full SHA 49bbb2fView commit details -
While looking at the target setter for nodes, it seemed odd that we were making affordances for sometimes setting a promise as the target. After unraveling the code, it turns out this is impossible outside of tests, where we set environment variables to mimic that state. We were always awaiting the generation of links/nodes where appropriate. This commit inlines some code and cleans it up to the point where this fact could be verified, and then removes the now unneeded logic in loadActual that was trying to account for this. loadActual, an async function, now returns a promise that resolves to the tree, as a singleton. This maintains the use case commented on where buildIdealTree and reify can happen in parallel. This fixes a potential bug in reify (and likely others) which pass around this.idealTree as an object, and NOT a promise, even though before this refactor it can sometimes be a promise.
Configuration menu - View commit details
-
Copy full SHA for 2db6c08 - Browse repository at this point
Copy the full SHA 2db6c08View commit details -
There were guards in place to protect when setting a promise as a target, which is not something the code actually does, which was discovered after unpacking load-actual. This removes those guards which are dangerous because either an attribute is a promise or it's not. Letting things access attributes as non-promises that are sometimes promises is dangerous.
Configuration menu - View commit details
-
Copy full SHA for 548e70e - Browse repository at this point
Copy the full SHA 548e70eView commit details -
docs: remove duplicate description for
prepare
script (#5468)* docs: remove duplicate description for `prepare` script * Stylistic change to be consistent
Configuration menu - View commit details
-
Copy full SHA for 7fc2b6f - Browse repository at this point
Copy the full SHA 7fc2b6fView commit details -
fix: don't mark workspaces as invalid if installing links (#5484)
Workspaces are always links, even if we are installing links
Configuration menu - View commit details
-
Copy full SHA for fe926ed - Browse repository at this point
Copy the full SHA fe926edView commit details -
feat(workspaces): update supported node engines in package.json (#5485)
BREAKING CHANGE: all workspace packages are now compatible with the following semver range for node: `^14.17.0 || ^16.13.0 || >=18.0.0`
Configuration menu - View commit details
-
Copy full SHA for e95017a - Browse repository at this point
Copy the full SHA e95017aView commit details
Commits on Sep 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 063a23b - Browse repository at this point
Copy the full SHA 063a23bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8623a2b - Browse repository at this point
Copy the full SHA 8623a2bView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v8.19.1...v9.0.0-pre.0