Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: npm/cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: libnpmorg-v5.0.1
Choose a base ref
...
head repository: npm/cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: libnpmorg-v5.0.2
Choose a head ref

Commits on Dec 17, 2022

  1. Copy the full SHA
    bb2b23b View commit details
  2. chore: refactor tests to use mock registry

    Co-authored by @bdehamer
    wraithgar authored and lukekarrys committed Dec 17, 2022
    Copy the full SHA
    b82c1a6 View commit details
  3. Copy the full SHA
    28ec922 View commit details
  4. deps: minipass-fetch@3.0.1

    lukekarrys committed Dec 17, 2022
    Copy the full SHA
    ec09474 View commit details
  5. Copy the full SHA
    c52cf6b View commit details

Commits on Jan 1, 2023

  1. fix: evaluate configs in command class

     ### Refactor Config Reading During `exec`
    
    This removes the previous workarounds that were required due to tests
    setting configs that were not available in the constructor of the
    commands.
    
    This also made the fix for nodejs/node#45881
    easier since the config checks for workspaces can now all be made in the
    command. The fix was to move the package.json detection to
    `@npmcli/config` and use that boolean instead of setting
    `location=project` which affected all commands such as `config set`
    saving to the wrong location.
    
    Some notable changes from this refactor include:
    -  `execWorkspaces` no longer being passed the raw workspace filters and
       instead requiring `this.setWorkspaces()` to be called which was
       already being done in most commands
    - `static workspaces = [true|false]` on all commands to indicate
      workspaces support. This is used in docs generation and whether to
      throw when `execWorkspaces` is called or not.
    
     ### Drop `fakeMockNpm` and refactor `mockNpm`
    
    This refactor also drops `fakeMockNpm` in favor of `realMockNpm` (now
    just `mockNpm`), and adds new features to `mockNpm`.
    
    Some new features of `mockNpm`:
    
    - sets all configs via argv so they are parsed before `npm.load()`. This
      is the most important change as it more closely resembles real usage.
    - automatically resets `process.exitCode`
    - automatically puts global `node_modules` in correct testdir based on platform
    - more helpful error messages when used in unsupported ways
    - ability to preload a command for execution
    - sets `cwd` automatically to `prefix` and sets `globalPrefix` to the
      specified testdir
    
    Note that this commit does not include the actual test changes, which
    are included in the following commits for readability reasons.
    
     ### Linting
    
    This also removes some of the one off linting rules that were set in the
    past to reduce churn and fixes all remaining errors.
    lukekarrys committed Jan 1, 2023
    Copy the full SHA
    450e50f View commit details
  2. Copy the full SHA
    72e6d6f View commit details
  3. fix(fund): correctly parse and use which config

    Previously the `which` param in `npm fund` was validated incorrectly
    leading to `EFUNDNUMBER` errors when used. This fixes that and does a
    better job detecting when `which` is pointing to an incorrect array
    bounds in the returned funding array.
    lukekarrys committed Jan 1, 2023
    Copy the full SHA
    669ef94 View commit details
  4. fix: refactor help to use @npmcli/promise-spawn

    This also refactors the test to use `mockNpm`
    lukekarrys committed Jan 1, 2023
    Copy the full SHA
    31af1aa View commit details
  5. fix(init): write package.json workspaces paths with / separators

    This also refactors the test to use `mockNpm`
    lukekarrys committed Jan 1, 2023
    Copy the full SHA
    dc52222 View commit details
  6. Copy the full SHA
    69f5ff8 View commit details
  7. Copy the full SHA
    629d922 View commit details
  8. Copy the full SHA
    b54ab92 View commit details
  9. chore: convert all test to mockNpm

    This also uses more consistent snapshot cleaning where possible.
    
    Note that this is an iterative step for our tests and does not implement
    `MockRegistry` for them, so many of them still mock important
    functionality that should be tested. This refactor to `mockNpm` should
    make it easier to adopt `MockRegistry` as we see fit.
    lukekarrys committed Jan 1, 2023
    Copy the full SHA
    f963180 View commit details
  10. Copy the full SHA
    122938c View commit details
  11. Fix typo in scripts.md

    ericmutta authored and lukekarrys committed Jan 1, 2023
    Copy the full SHA
    b965ebf View commit details
  12. Fix broken fragment links

    In links with fragments like `#checking-your-version-of-npm-and-node-js` the `node-js` portion doesn't work and should be `nodejs`. So for example, the following link currently on the site does NOT work (i.e. it won't scroll to relevant section):
    
    > https://docs.npmjs.com/cli/v9/configuring-npm/install#checking-your-version-of-npm-and-node-js
    
    ...but this one (as implemented by this fix) DOES work:
    
    > https://docs.npmjs.com/cli/v9/configuring-npm/install#checking-your-version-of-npm-and-nodejs
    ericmutta authored and lukekarrys committed Jan 1, 2023
    Copy the full SHA
    054226c View commit details

Commits on Jan 2, 2023

  1. Copy the full SHA
    55093e2 View commit details
  2. Copy the full SHA
    753b98e View commit details

Commits on Jan 9, 2023

  1. docs: fix typo in registry.md

    This:
    
    > ...is has the...
    
    Should be:
    
    > ...it has the...
    ericmutta authored and lukekarrys committed Jan 9, 2023
    Copy the full SHA
    82f69d9 View commit details
  2. docs: fix typo in removal.md

    ericmutta authored and lukekarrys committed Jan 9, 2023
    Copy the full SHA
    fa27aca View commit details
  3. docs: fix typos in definitions.js (#6038)

    * Fix typo in definitions.js
    
    * Fix another typo in definitions.js
    
    * Fix yet another typo in definitions.js
    
    * update snapshots
    
    Co-authored-by: Eric Mutta <eric.mutta@gmail.com>
    lukekarrys and ericmutta authored Jan 9, 2023
    Copy the full SHA
    fe9debd View commit details

Commits on Jan 10, 2023

  1. Copy the full SHA
    2383deb View commit details
  2. chore: remove coverage map

    wraithgar authored and lukekarrys committed Jan 10, 2023
    Copy the full SHA
    35c94e0 View commit details
  3. Copy the full SHA
    2ba1171 View commit details
  4. fix: remove unneeded param default

    wraithgar authored and lukekarrys committed Jan 10, 2023
    1
    Copy the full SHA
    b584af0 View commit details

Commits on Jan 12, 2023

  1. docs: update outdated file path to definitions.js

    Looks like npm's default config options were relocated from `lib/utils/config-defs.js` to the current `lib/utils/config/definitions.js` as [can be seen here](https://github.com/npm/cli/blob/latest/lib/utils/config/definitions.js)
    ericmutta authored and lukekarrys committed Jan 12, 2023
    Copy the full SHA
    ca8ff00 View commit details
  2. Copy the full SHA
    cf175fb View commit details
  3. Copy the full SHA
    f0038e5 View commit details
  4. Copy the full SHA
    29f9942 View commit details
  5. chore: release 9.3.0

    github-actions[bot] authored and lukekarrys committed Jan 12, 2023
    3
    Copy the full SHA
    4d27592 View commit details

Commits on Jan 13, 2023

  1. fix: use recursive rm in ci command (#6054)

    * fix: use recursive rm in ci command
    
    * fix: add test for repeat uses of ci command
    
    Co-authored-by: Burke Livingston <burkel24@gmail.com>
    jamesshaw1987 and burkel24 authored Jan 13, 2023
    Copy the full SHA
    1c3612c View commit details
  2. fix: don't try to deprecate nonexistant versions (#6050)

    If you pass npm a version that doesn't exist, it still tries to PUT the
    packument but with no changes.  This is unneccessary and currently
    results in a 422 error from the npm registry
    wraithgar authored Jan 13, 2023
    Copy the full SHA
    8be672b View commit details

Commits on Jan 17, 2023

  1. chore: release 9.3.1

    github-actions[bot] authored and nlf committed Jan 17, 2023
    Copy the full SHA
    b74f834 View commit details

Commits on Jan 25, 2023

  1. Copy the full SHA
    53bbc14 View commit details
  2. Copy the full SHA
    eefd119 View commit details
  3. Copy the full SHA
    6af152b View commit details
  4. feat: added --install-strategy=linked (#6078)

    Co-authored-by: Vincent Bailly <vibailly@microsoft.com>
    
    Implements the RFC https://github.com/npm/rfcs/blob/main/accepted/0042-isolated-mode.md
    
    Packages are installed in node_modules/.store flat, and linked into the node_modules tree in depth, rather than hoisted.
    fritzy authored Jan 25, 2023
    Copy the full SHA
    8d6d851 View commit details
  5. chore: release 9.4.0

    github-actions[bot] authored and wraithgar committed Jan 25, 2023
    Copy the full SHA
    ad8deca View commit details

Commits on Feb 1, 2023

  1. deps: http-cache-semantics@4.1.1

    wraithgar authored and fritzy committed Feb 1, 2023
    Copy the full SHA
    64b06ed View commit details
  2. Copy the full SHA
    5ec35b7 View commit details
  3. fix: only save package-lock when truly finished

    When we update the trees, the edges are refreshed to correct their
    specs.  If we have written the package-lock before this point, it will
    be incorrect.
    
    No new tests are needed as existing tests were snapshotted w/ the broken
    behavior, and are fixed now showing this bugfix in action.
    wraithgar authored and fritzy committed Feb 1, 2023
    Copy the full SHA
    72a7a59 View commit details
  4. Copy the full SHA
    9235cfc View commit details
  5. Copy the full SHA
    3526933 View commit details
  6. Copy the full SHA
    ff35ed9 View commit details
  7. Copy the full SHA
    e5ecc7f View commit details
  8. fix: repair config items using raw values when possible

    closes #6085
    nlf authored and fritzy committed Feb 1, 2023
    Copy the full SHA
    328c3d8 View commit details
  9. fix: unpublish with scoped registry

    Unpublish now works if you have a scoped registry config
    wraithgar authored and fritzy committed Feb 1, 2023
    Copy the full SHA
    1525a5e View commit details
  10. Copy the full SHA
    a39556f View commit details
  11. Copy the full SHA
    1d4be7a View commit details
Showing with 16,668 additions and 14,252 deletions.
  1. +1 −10 .eslintrc.local.json
  2. +484 −0 .github/workflows/node-integration.yml
  3. +2 −2 .github/workflows/pull-request.yml
  4. +104 −25 .github/workflows/release.yml
  5. +14 −14 .release-please-manifest.json
  6. +3 −0 AUTHORS
  7. +87 −0 CHANGELOG.md
  8. +3 −3 DEPENDENCIES.md
  9. +0 −2 docs/lib/content/commands/npm-adduser.md
  10. +0 −2 docs/lib/content/commands/npm-cache.md
  11. +0 −2 docs/lib/content/commands/npm-completion.md
  12. +0 −2 docs/lib/content/commands/npm-config.md
  13. +0 −2 docs/lib/content/commands/npm-deprecate.md
  14. +0 −2 docs/lib/content/commands/npm-doctor.md
  15. +0 −2 docs/lib/content/commands/npm-edit.md
  16. +0 −2 docs/lib/content/commands/npm-explore.md
  17. +0 −2 docs/lib/content/commands/npm-help-search.md
  18. +0 −2 docs/lib/content/commands/npm-help.md
  19. +0 −2 docs/lib/content/commands/npm-hook.md
  20. +0 −2 docs/lib/content/commands/npm-login.md
  21. +0 −2 docs/lib/content/commands/npm-logout.md
  22. +0 −2 docs/lib/content/commands/npm-org.md
  23. +0 −2 docs/lib/content/commands/npm-owner.md
  24. +0 −2 docs/lib/content/commands/npm-ping.md
  25. +0 −2 docs/lib/content/commands/npm-prefix.md
  26. +0 −2 docs/lib/content/commands/npm-profile.md
  27. +0 −2 docs/lib/content/commands/npm-search.md
  28. +0 −2 docs/lib/content/commands/npm-shrinkwrap.md
  29. +0 −2 docs/lib/content/commands/npm-star.md
  30. +0 −2 docs/lib/content/commands/npm-stars.md
  31. +0 −2 docs/lib/content/commands/npm-team.md
  32. +0 −2 docs/lib/content/commands/npm-token.md
  33. +0 −2 docs/lib/content/commands/npm-unstar.md
  34. +0 −2 docs/lib/content/commands/npm-whoami.md
  35. +1 −1 docs/lib/content/commands/npm.md
  36. +3 −3 docs/lib/content/configuring-npm/install.md
  37. +1 −1 docs/lib/content/using-npm/registry.md
  38. +2 −2 docs/lib/content/using-npm/removal.md
  39. +1 −1 docs/lib/content/using-npm/scripts.md
  40. +9 −6 docs/lib/index.js
  41. +2 −2 docs/package.json
  42. +22 −9 lib/arborist-cmd.js
  43. +54 −27 lib/base-command.js
  44. +7 −6 lib/cli.js
  45. +0 −2 lib/commands/access.js
  46. +0 −2 lib/commands/adduser.js
  47. +1 −1 lib/commands/audit.js
  48. +6 −9 lib/commands/cache.js
  49. +3 −6 lib/commands/ci.js
  50. +7 −18 lib/commands/completion.js
  51. +3 −8 lib/commands/config.js
  52. +13 −11 lib/commands/deprecate.js
  53. +3 −2 lib/commands/diff.js
  54. +9 −8 lib/commands/dist-tag.js
  55. +8 −8 lib/commands/edit.js
  56. +21 −16 lib/commands/exec.js
  57. +1 −1 lib/commands/find-dupes.js
  58. +56 −39 lib/commands/fund.js
  59. +4 −5 lib/commands/help-search.js
  60. +33 −66 lib/commands/help.js
  61. +4 −14 lib/commands/hook.js
  62. +24 −15 lib/commands/init.js
  63. +1 −1 lib/commands/install-ci-test.js
  64. +1 −1 lib/commands/install-test.js
  65. +0 −2 lib/commands/login.js
  66. +0 −2 lib/commands/logout.js
  67. +4 −6 lib/commands/ls.js
  68. +5 −6 lib/commands/org.js
  69. +2 −2 lib/commands/outdated.js
  70. +4 −3 lib/commands/owner.js
  71. +3 −2 lib/commands/pack.js
  72. +4 −3 lib/commands/ping.js
  73. +4 −3 lib/commands/pkg.js
  74. +0 −1 lib/commands/prefix.js
  75. +1 −3 lib/commands/profile.js
  76. +4 −3 lib/commands/publish.js
  77. +3 −2 lib/commands/query.js
  78. +1 −2 lib/commands/restart.js
  79. +0 −1 lib/commands/root.js
  80. +9 −8 lib/commands/run-script.js
  81. +0 −1 lib/commands/search.js
  82. +1 −2 lib/commands/start.js
  83. +1 −2 lib/commands/stop.js
  84. +1 −2 lib/commands/test.js
  85. +4 −9 lib/commands/token.js
  86. +7 −10 lib/commands/uninstall.js
  87. +8 −4 lib/commands/unpublish.js
  88. +1 −3 lib/commands/update.js
  89. +8 −7 lib/commands/version.js
  90. +42 −47 lib/commands/view.js
  91. +0 −1 lib/commands/whoami.js
  92. +4 −2 lib/lifecycle-cmd.js
  93. +88 −113 lib/npm.js
  94. +4 −3 lib/package-url-cmd.js
  95. +14 −6 lib/utils/config/definitions.js
  96. +19 −3 lib/utils/error-message.js
  97. +5 −15 lib/utils/exit-handler.js
  98. +3 −3 lib/utils/explain-dep.js
  99. +4 −4 lib/utils/log-file.js
  100. +1 −2 lib/utils/npm-usage.js
  101. +1 −1 lib/utils/open-url.js
  102. +8 −7 lib/utils/queryable.js
  103. +3 −3 lib/utils/read-user-info.js
  104. +2 −2 lib/utils/reify-output.js
  105. +1 −1 lib/workspaces/get-workspaces.js
  106. +70 −31 mock-registry/lib/index.js
  107. +3 −3 mock-registry/package.json
  108. +7 −4 node_modules/.gitignore
  109. +5 −5 node_modules/@npmcli/map-workspaces/package.json
  110. 0 node_modules/@npmcli/name-from-folder/{ → lib}/index.js
  111. +27 −11 node_modules/@npmcli/name-from-folder/package.json
  112. +1 −1 node_modules/@npmcli/promise-spawn/lib/index.js
  113. +4 −4 node_modules/@npmcli/promise-spawn/package.json
  114. 0 node_modules/{are-we-there-yet/node_modules → }/buffer/AUTHORS.md
  115. 0 node_modules/{are-we-there-yet/node_modules → }/buffer/LICENSE
  116. 0 node_modules/{are-we-there-yet/node_modules → }/buffer/index.d.ts
  117. 0 node_modules/{are-we-there-yet/node_modules → }/buffer/index.js
  118. 0 node_modules/{are-we-there-yet/node_modules → }/buffer/package.json
  119. +1 −1 node_modules/{minipass-fetch/node_modules/minipass → cacache/node_modules/fs-minipass}/LICENSE
  120. +443 −0 node_modules/cacache/node_modules/fs-minipass/lib/index.js
  121. +53 −0 node_modules/cacache/node_modules/fs-minipass/package.json
  122. +4 −4 node_modules/cacache/package.json
  123. +4 −3 node_modules/http-cache-semantics/index.js
  124. +2 −8 node_modules/http-cache-semantics/package.json
  125. +0 −155 node_modules/minipass-fetch/node_modules/minipass/index.d.ts
  126. +0 −649 node_modules/minipass-fetch/node_modules/minipass/index.js
  127. +0 −56 node_modules/minipass-fetch/node_modules/minipass/package.json
  128. +6 −5 node_modules/minipass-fetch/package.json
  129. +15 −0 node_modules/pacote/node_modules/fs-minipass/LICENSE
  130. +443 −0 node_modules/pacote/node_modules/fs-minipass/lib/index.js
  131. +53 −0 node_modules/pacote/node_modules/fs-minipass/package.json
  132. +4 −4 node_modules/pacote/package.json
  133. +2 −8 node_modules/read-package-json-fast/lib/index.js
  134. +3 −3 node_modules/read-package-json-fast/package.json
  135. +217 −131 package-lock.json
  136. +21 −23 package.json
  137. +11 −0 scripts/template-oss/_job-release-integration.yml
  138. +3 −3 smoke-tests/package.json
  139. +3 −3 smoke-tests/tap-snapshots/test/index.js.test.cjs
  140. +2 −2 tap-snapshots/test/lib/commands/audit.js.test.cjs
  141. +0 −1 tap-snapshots/test/lib/commands/config.js.test.cjs
  142. +88 −0 tap-snapshots/test/lib/commands/diff.js.test.cjs
  143. +17 −22 tap-snapshots/test/lib/commands/dist-tag.js.test.cjs
  144. +48 −48 tap-snapshots/test/lib/commands/doctor.js.test.cjs
  145. +11 −33 tap-snapshots/test/lib/commands/fund.js.test.cjs
  146. +10 −45 tap-snapshots/test/lib/commands/init.js.test.cjs
  147. +17 −17 tap-snapshots/test/lib/commands/link.js.test.cjs
  148. +194 −194 tap-snapshots/test/lib/commands/ls.js.test.cjs
  149. +69 −92 tap-snapshots/test/lib/commands/outdated.js.test.cjs
  150. +1 −2 tap-snapshots/test/lib/commands/profile.js.test.cjs
  151. +22 −22 tap-snapshots/test/lib/commands/query.js.test.cjs
  152. +0 −1 tap-snapshots/test/lib/commands/stars.js.test.cjs
  153. +7 −8 tap-snapshots/test/lib/commands/team.js.test.cjs
  154. +91 −28 tap-snapshots/test/lib/docs.js.test.cjs
  155. +40 −49 tap-snapshots/test/lib/utils/error-message.js.test.cjs
  156. +13 −13 tap-snapshots/test/lib/utils/exit-handler.js.test.cjs
  157. +1 −1 tap-snapshots/test/lib/utils/log-file.js.test.cjs
  158. +219 −219 tap-snapshots/test/lib/utils/reify-output.js.test.cjs
  159. +4 −2 test/bin/npm-cli.js
  160. +35 −37 test/bin/npx-cli.js
  161. +27 −3 test/fixtures/clean-snapshot.js
  162. +36 −0 test/fixtures/merge-conflict.json
  163. +30 −4 test/fixtures/mock-globals.js
  164. +193 −160 test/fixtures/mock-npm.js
  165. +2 −4 test/fixtures/sandbox.js
  166. +27 −0 test/fixtures/tmock.js
  167. +9 −23 test/index.js
  168. +113 −88 test/lib/arborist-cmd.js
  169. +12 −31 test/lib/cli.js
  170. +14 −35 test/lib/commands/audit.js
  171. +67 −75 test/lib/commands/bugs.js
  172. +24 −0 test/lib/commands/ci.js
  173. +1 −7 test/lib/commands/config.js
  174. +16 −0 test/lib/commands/deprecate.js
  175. +784 −907 test/lib/commands/diff.js
  176. +158 −178 test/lib/commands/dist-tag.js
  177. +94 −78 test/lib/commands/docs.js
  178. +20 −20 test/lib/commands/doctor.js
  179. +4 −4 test/lib/commands/edit.js
  180. +0 −9 test/lib/commands/exec.js
  181. +183 −233 test/lib/commands/explain.js
  182. +91 −261 test/lib/commands/explore.js
  183. +376 −324 test/lib/commands/fund.js
  184. +52 −93 test/lib/commands/help-search.js
  185. +150 −270 test/lib/commands/help.js
  186. +192 −227 test/lib/commands/hook.js
  187. +211 −310 test/lib/commands/init.js
  188. +194 −167 test/lib/commands/install.js
  189. +228 −316 test/lib/commands/link.js
  190. +3 −2 test/lib/commands/ll.js
  191. +87 −168 test/lib/commands/logout.js
  192. +3,250 −2,890 test/lib/commands/ls.js
  193. +140 −202 test/lib/commands/org.js
  194. +286 −324 test/lib/commands/outdated.js
  195. +16 −22 test/lib/commands/owner.js
  196. +0 −16 test/lib/commands/pack.js
  197. +204 −179 test/lib/commands/pkg.js
  198. +299 −395 test/lib/commands/profile.js
  199. +1 −1 test/lib/commands/prune.js
  200. +12 −81 test/lib/commands/publish.js
  201. +7 −25 test/lib/commands/query.js
  202. +105 −126 test/lib/commands/rebuild.js
  203. +54 −56 test/lib/commands/repo.js
  204. +2 −2 test/lib/commands/restart.js
  205. +393 −368 test/lib/commands/run-script.js
  206. +44 −55 test/lib/commands/set.js
  207. +51 −54 test/lib/commands/stars.js
  208. +2 −2 test/lib/commands/start.js
  209. +2 −2 test/lib/commands/stop.js
  210. +162 −132 test/lib/commands/team.js
  211. +2 −2 test/lib/commands/test.js
  212. +180 −572 test/lib/commands/token.js
  213. +139 −159 test/lib/commands/uninstall.js
  214. +35 −5 test/lib/commands/unpublish.js
  215. +59 −142 test/lib/commands/update.js
  216. +223 −266 test/lib/commands/version.js
  217. +95 −101 test/lib/commands/view.js
  218. +1 −1 test/lib/docs.js
  219. +12 −2 test/lib/fixtures/mock-globals.js
  220. +12 −11 test/lib/lifecycle-cmd.js
  221. +24 −11 test/lib/load-all-commands.js
  222. +12 −46 test/lib/npm.js
  223. +73 −63 test/lib/utils/audit-error.js
  224. +1 −2 test/lib/utils/completion/installed-deep.js
  225. +3 −4 test/lib/utils/completion/installed-shallow.js
  226. +12 −2 test/lib/utils/config/definitions.js
  227. +4 −3 test/lib/utils/display.js
  228. +78 −118 test/lib/utils/error-message.js
  229. +33 −28 test/lib/utils/exit-handler.js
  230. +3 −8 test/lib/utils/explain-dep.js
  231. +11 −9 test/lib/utils/log-file.js
  232. +2 −1 test/lib/utils/log-shim.js
  233. +9 −10 test/lib/utils/open-url-prompt.js
  234. +2 −1 test/lib/utils/open-url.js
  235. +74 −85 test/lib/utils/otplease.js
  236. +2 −1 test/lib/utils/pulse-till-done.js
  237. +2 −1 test/lib/utils/read-user-info.js
  238. +5 −3 test/lib/utils/reify-finish.js
  239. +75 −156 test/lib/utils/reify-output.js
  240. +2 −1 test/lib/utils/tar.js
  241. +2 −1 test/lib/utils/timers.js
  242. +3 −9 test/lib/utils/update-notifier.js
  243. +2 −1 test/lib/utils/web-auth.js
  244. +30 −0 workspaces/arborist/CHANGELOG.md
  245. +4 −1 workspaces/arborist/lib/arborist/build-ideal-tree.js
  246. +1 −0 workspaces/arborist/lib/arborist/index.js
  247. +453 −0 workspaces/arborist/lib/arborist/isolated-reifier.js
  248. +2 −2 workspaces/arborist/lib/arborist/load-virtual.js
  249. +4 −18 workspaces/arborist/lib/arborist/load-workspaces.js
  250. +10 −1 workspaces/arborist/lib/arborist/rebuild.js
  251. +98 −86 workspaces/arborist/lib/arborist/reify.js
  252. +3 −1 workspaces/arborist/lib/link.js
  253. +2 −0 workspaces/arborist/lib/node.js
  254. +1 −1 workspaces/arborist/lib/override-resolves.js
  255. +28 −1 workspaces/arborist/lib/override-set.js
  256. +2 −1 workspaces/arborist/lib/place-dep.js
  257. +0 −1 workspaces/arborist/map.js
  258. +10 −9 workspaces/arborist/package.json
  259. +3 −154 workspaces/arborist/tap-snapshots/test/arborist/reify.js.test.cjs
  260. +6 −0 workspaces/arborist/tap-snapshots/test/link.js.test.cjs
  261. +290 −0 workspaces/arborist/tap-snapshots/test/node.js.test.cjs
  262. +58 −0 workspaces/arborist/test/arborist/reify.js
  263. +203 −0 workspaces/arborist/test/fixtures/isolated-nock.js
  264. +1,574 −0 workspaces/arborist/test/isolated-mode.js
  265. +108 −0 workspaces/arborist/test/override-set.js
  266. +18 −0 workspaces/config/CHANGELOG.md
  267. +33 −21 workspaces/config/lib/index.js
  268. +5 −5 workspaces/config/package.json
  269. +12 −0 workspaces/config/tap-snapshots/test/index.js.test.cjs
  270. +43 −19 workspaces/config/test/index.js
  271. +7 −0 workspaces/libnpmaccess/CHANGELOG.md
  272. +3 −3 workspaces/libnpmaccess/package.json
  273. +21 −0 workspaces/libnpmdiff/CHANGELOG.md
  274. +5 −5 workspaces/libnpmdiff/package.json
  275. +21 −0 workspaces/libnpmexec/CHANGELOG.md
  276. +6 −6 workspaces/libnpmexec/package.json
  277. +20 −0 workspaces/libnpmfund/CHANGELOG.md
  278. +4 −4 workspaces/libnpmfund/package.json
  279. +7 −0 workspaces/libnpmhook/CHANGELOG.md
  280. +3 −3 workspaces/libnpmhook/package.json
  281. +7 −0 workspaces/libnpmorg/CHANGELOG.md
  282. +3 −3 workspaces/libnpmorg/package.json
  283. +21 −0 workspaces/libnpmpack/CHANGELOG.md
  284. +5 −5 workspaces/libnpmpack/package.json
  285. +7 −0 workspaces/libnpmpublish/CHANGELOG.md
  286. +4 −4 workspaces/libnpmpublish/package.json
  287. BIN workspaces/libnpmpublish/test/fixtures/npmcli-libnpmpublish-test-1.0.0.tgz
  288. +0 −12 workspaces/libnpmpublish/test/fixtures/tnock.js
  289. +0 −6 workspaces/libnpmpublish/test/index.js
  290. +174 −210 workspaces/libnpmpublish/test/publish.js
  291. +133 −257 workspaces/libnpmpublish/test/unpublish.js
  292. +7 −0 workspaces/libnpmsearch/CHANGELOG.md
  293. +3 −3 workspaces/libnpmsearch/package.json
  294. +7 −0 workspaces/libnpmteam/CHANGELOG.md
  295. +3 −3 workspaces/libnpmteam/package.json
  296. +7 −0 workspaces/libnpmversion/CHANGELOG.md
  297. +3 −3 workspaces/libnpmversion/package.json
11 changes: 1 addition & 10 deletions .eslintrc.local.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
{
"rules": {
"no-shadow": "off",
"no-console": "error"
},
"overrides": [{
"files": [
"test/**"
],
"rules": {
"no-console": "off"
}
}]
}
}
Loading