| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -727,3 +727,6 @@ Jake Champion <me@jakechampion.name> | |||
| 727 | 727 | takenspc <taken.spc@gmail.com> | |
| 728 | 728 | iraj <irajtaghlidi@gmail.com> | |
| 729 | 729 | Michele Azzolari <michele@azzolari.it> | |
| 730 | + foxxyz <foxxyz@gmail.com> | ||
| 731 | + Dr <dr@dr.run> | ||
| 732 | + Jan Tojnar <jtojnar@gmail.com> | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,59 @@ | |||
| 1 | + ## 7.0.8 (2020-11-03) | ||
| 2 | + | ||
| 3 | + ### DOCUMENTATION | ||
| 4 | + | ||
| 5 | + * [`052e977b9`](https://github.com/npm/cli/commit/052e977b9d071e1b3654976881d10cd3ddcba788) | ||
| 6 | + [#1822](https://github.com/npm/cli/issues/1822) | ||
| 7 | + [#1247](https://github.com/npm/cli/issues/1247) | ||
| 8 | + add section on peerDependenciesMeta field in package.json | ||
| 9 | + ([@foxxyz](https://github.com/foxxyz)) | ||
| 10 | + * [`52d32d175`](https://github.com/npm/cli/commit/52d32d1758c5ebc58944a1e8d98d57e30048e527) | ||
| 11 | + [#1970](https://github.com/npm/cli/issues/1970) | ||
| 12 | + match npm-exec.md -p usage with lib/exec.js | ||
| 13 | + ([@dr-js](https://github.com/dr-js)) | ||
| 14 | + * [`48ee8d01e`](https://github.com/npm/cli/commit/48ee8d01edd11ed6186c483e1169ff4d2070b963) | ||
| 15 | + [#2096](https://github.com/npm/cli/issues/2096) | ||
| 16 | + Fix RFC links in changelog | ||
| 17 | + ([@jtojnar](https://github.com/jtojnar)) | ||
| 18 | + | ||
| 19 | + | ||
| 20 | + ### BUG FIXES | ||
| 21 | + | ||
| 22 | + * [`6cd3cd08a`](https://github.com/npm/cli/commit/6cd3cd08af56445e13757cac3af87f3e7d54ed27) | ||
| 23 | + Support *all* conf keys in publishConfig | ||
| 24 | + * [`a1f9be8a7`](https://github.com/npm/cli/commit/a1f9be8a7f9b7a3a813fc3e5e705bc982470b0e2) | ||
| 25 | + [#2074](https://github.com/npm/cli/issues/2074) | ||
| 26 | + Support publishing any kind of spec, not just directories | ||
| 27 | + | ||
| 28 | + ### DEPENDENCIES | ||
| 29 | + | ||
| 30 | + * [`545382df6`](https://github.com/npm/cli/commit/545382df62e3014f3e51d7034e52498fb2b01a37) | ||
| 31 | + `libnpmpublish@4.0.0`: | ||
| 32 | + * Support publishing things other than folders | ||
| 33 | + * [`7d88f1719`](https://github.com/npm/cli/commit/7d88f17197e3c8cca9b277378d6f9b054b1b7886) | ||
| 34 | + `npm-registry-fetch@9.0.0` | ||
| 35 | + * [`823b40a4e`](https://github.com/npm/cli/commit/823b40a4e9c6ef76388af6fe01a3624f6f7675be) | ||
| 36 | + `pacote@11.1.12` | ||
| 37 | + * [`90bf57826`](https://github.com/npm/cli/commit/90bf57826edf2f78ddf8deb0793115ead8a8b556) | ||
| 38 | + `npm-profile@5.0.2` | ||
| 39 | + * [`e5a413577`](https://github.com/npm/cli/commit/e5a4135770d13cf114fac439167637181f87d824) | ||
| 40 | + `libnpmteam@2.0.2` | ||
| 41 | + * [`fc5aa7b4a`](https://github.com/npm/cli/commit/fc5aa7b4ad45cb65893f734e1229a6720f7966e5) | ||
| 42 | + `libnpmsearch@3.0.1` | ||
| 43 | + * [`9fc1dee13`](https://github.com/npm/cli/commit/9fc1dee138ca33ecdbd57e63142b27c60cf88f9b) | ||
| 44 | + `libnpmorg@2.0.1` | ||
| 45 | + * [`0ea870ec5`](https://github.com/npm/cli/commit/0ea870ec5d2be1d44f050ad8bc24ed936cc45fde) | ||
| 46 | + `libnpmhook@6.0.1` | ||
| 47 | + * [`32fd744ea`](https://github.com/npm/cli/commit/32fd744ea745f297f0be79a80955f077a57c4ac7) | ||
| 48 | + `libnpmaccess@4.0.1` | ||
| 49 | + * [`fc76f3d9f`](https://github.com/npm/cli/commit/fc76f3d9fcf19e65a9373ab3d9068c4326d2f782) | ||
| 50 | + `@npmcli/arborist@1.0.8` | ||
| 51 | + * Fix `cannot read property 'description' of undefined` in `npm ls` | ||
| 52 | + when `package-lock.json` is corrupted | ||
| 53 | + * Do not allow peerDependencies to be nested under dependents in any | ||
| 54 | + circumstances | ||
| 55 | + * Always resolve peerDependencies in `--prefer-dedupe` mode | ||
| 56 | + | ||
| 1 | 57 | ## 7.0.7 (2020-10-30) | |
| 2 | 58 | ||
| 3 | 59 | ### BUG FIXES | |
@@ -602,7 +658,7 @@ | |||
| 602 | 658 | sources ([@ruyadorno](https://github.com/ruyadorno)) | |
| 603 | 659 | * [`3a63ecb6f`](https://github.com/npm/cli/commit/3a63ecb6f6a0b235660f73a3ffa329b1f131b0c3) | |
| 604 | 660 | [#1718](https://github.com/npm/cli/pull/1718) | |
| 605 | - [RFC-0029](https://github.com/npm/rfcs/blob/latest/accepted/0029-add-ability-to-skip-hooks.md) | ||
| 661 | + [RFC-0029](https://github.com/npm/rfcs/blob/latest/implemented/0029-add-ability-to-skip-hooks.md) | ||
| 606 | 662 | add ability to skip pre/post hooks to `npm run-script` by using | |
| 607 | 663 | `--ignore-scripts` ([@ruyadorno](https://github.com/ruyadorno)) | |
| 608 | 664 | ||
@@ -829,7 +885,7 @@ Now on to the list of **BREAKING CHANGES**! | |||
| 829 | 885 | ### Programmatic Usage | |
| 830 | 886 | ||
| 831 | 887 | - [RFC | |
| 832 | - 20](https://github.com/npm/rfcs/blob/latest/accepted/0020-npm-option-handling.md) | ||
| 888 | + 20](https://github.com/npm/rfcs/blob/latest/implemented/0020-npm-option-handling.md) | ||
| 833 | 889 | The CLI and its dependencies no longer use the `figgy-pudding` library | |
| 834 | 890 | for configs. Configuration is done using a flat plain old JavaScript | |
| 835 | 891 | object. | |
@@ -859,7 +915,7 @@ The environment for lifecycle scripts (eg, build scripts, `npm test`, etc.) | |||
| 859 | 915 | has changed. | |
| 860 | 916 | ||
| 861 | 917 | - [RFC | |
| 862 | - 21](https://github.com/npm/rfcs/blob/latest/accepted/0021-reduce-lifecycle-script-environment.md) | ||
| 918 | + 21](https://github.com/npm/rfcs/blob/latest/implemented/0021-reduce-lifecycle-script-environment.md) | ||
| 863 | 919 | Environment no longer includes `npm_package_*` fields, or `npm_config_*` | |
| 864 | 920 | fields for default configs. `npm_package_json`, `npm_package_integrity`, | |
| 865 | 921 | `npm_package_resolved`, and `npm_command` environment variables added. | |
@@ -868,13 +924,13 @@ has changed. | |||
| 868 | 924 | release](https://github.com/npm/rfcs/pull/183)) | |
| 869 | 925 | ||
| 870 | 926 | - [RFC | |
| 871 | - 22](https://github.com/npm/rfcs/blob/latest/accepted/0022-quieter-install-scripts.md) | ||
| 927 | + 22](https://github.com/npm/rfcs/blob/latest/implemented/0022-quieter-install-scripts.md) | ||
| 872 | 928 | Scripts run during the normal course of installation are silenced unless | |
| 873 | 929 | they exit in error (ie, with a signal or non-zero exit status code), and | |
| 874 | 930 | are for a non-optional dependency. | |
| 875 | 931 | ||
| 876 | 932 | - [RFC | |
| 877 | - 24](https://github.com/npm/rfcs/blob/latest/accepted/0024-npm-run-traverse-directory-tree.md) | ||
| 933 | + 24](https://github.com/npm/rfcs/blob/latest/implemented/0024-npm-run-traverse-directory-tree.md) | ||
| 878 | 934 | `PATH` environment variable includes all `node_modules/.bin` folders, | |
| 879 | 935 | even if found outside of an existing `node_modules` folder hierarchy. | |
| 880 | 936 | ||
@@ -924,7 +980,7 @@ We do intend to continue supporting the `npx` that npm ships; just not the | |||
| 924 | 980 | ### Files On Disk | |
| 925 | 981 | ||
| 926 | 982 | - [RFC | |
| 927 | - 13](https://github.com/npm/rfcs/blob/latest/accepted/0013-no-package-json-_fields.md) | ||
| 983 | + 13](https://github.com/npm/rfcs/blob/latest/implemented/0013-no-package-json-_fields.md) | ||
| 928 | 984 | Installed `package.json` files no longer are mutated to include extra | |
| 929 | 985 | metadata. (This extra metadata is stored in the lockfile.) | |
| 930 | 986 | - `package-lock.json` is updated to a newer format, using | |
@@ -940,7 +996,7 @@ These changes affect `install`, `ci`, `install-test`, `install-ci-test`, | |||
| 940 | 996 | `update`, `prune`, `dedupe`, `uninstall`, `link`, and `audit fix`. | |
| 941 | 997 | ||
| 942 | 998 | - [RFC | |
| 943 | - 25](https://github.com/npm/rfcs/blob/latest/accepted/0025-install-peer-deps.md) | ||
| 999 | + 25](https://github.com/npm/rfcs/blob/latest/implemented/0025-install-peer-deps.md) | ||
| 944 | 1000 | `peerDependencies` are installed by default. This behavior can be | |
| 945 | 1001 | disabled by setting the `legacy-peer-deps` configuration flag. | |
| 946 | 1002 | ||
@@ -951,7 +1007,7 @@ These changes affect `install`, `ci`, `install-test`, `install-ci-test`, | |||
| 951 | 1007 | of correctness. Use the `--legacy-peer-deps` config flag if impacted. | |
| 952 | 1008 | ||
| 953 | 1009 | - [RFC | |
| 954 | - 23](https://github.com/npm/rfcs/blob/latest/accepted/0023-acceptDependencies.md) | ||
| 1010 | + 23](https://github.com/npm/rfcs/blob/latest/implemented/0023-acceptDependencies.md) | ||
| 955 | 1011 | Support for `acceptDependencies` is added. This can result in dependency | |
| 956 | 1012 | resolutions that previous versions of npm will incorrectly flag as invalid. | |
| 957 | 1013 | ||
@@ -973,23 +1029,23 @@ These changes affect `install`, `ci`, `install-test`, `install-ci-test`, | |||
| 973 | 1029 | ### Workspaces | |
| 974 | 1030 | ||
| 975 | 1031 | - [RFC | |
| 976 | - 26](https://github.com/npm/rfcs/blob/latest/accepted/0026-workspaces.md) | ||
| 1032 | + 26](https://github.com/npm/rfcs/blob/latest/implemented/0026-workspaces.md) | ||
| 977 | 1033 | First phase of `workspaces` support is added. This changes npm's | |
| 978 | 1034 | behavior when a root project's `package.json` file contains a | |
| 979 | 1035 | `workspaces` field. | |
| 980 | 1036 | ||
| 981 | 1037 | ### `npm update` | |
| 982 | 1038 | ||
| 983 | 1039 | - [RFC | |
| 984 | - 19](https://github.com/npm/rfcs/blob/latest/accepted/0019-remove-update-depth-option.md) | ||
| 1040 | + 19](https://github.com/npm/rfcs/blob/latest/implemented/0019-remove-update-depth-option.md) | ||
| 985 | 1041 | Update all dependencies when `npm update` is run without any arguments. | |
| 986 | 1042 | As it is no longer relevant, `--depth` config flag removed from `npm | |
| 987 | 1043 | update`. | |
| 988 | 1044 | ||
| 989 | 1045 | ### `npm outdated` | |
| 990 | 1046 | ||
| 991 | 1047 | - [RFC | |
| 992 | - 27](https://github.com/npm/rfcs/blob/latest/accepted/0027-remove-depth-outdated.md) | ||
| 1048 | + 27](https://github.com/npm/rfcs/blob/latest/implemented/0027-remove-depth-outdated.md) | ||
| 993 | 1049 | Remove `--depth` config from `npm outdated`. Only top-level dependencies | |
| 994 | 1050 | are shown, unless `--all` config option is set. | |
| 995 | 1051 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,5 @@ | |||
| 1 | - if not defined npm_config_node_gyp ( | ||
| 2 | - node "%~dp0\..\..\node_modules\node-gyp\bin\node-gyp.js" %* | ||
| 3 | - ) else ( | ||
| 1 | + if not defined npm_config_node_gyp ( | ||
| 2 | + node "%~dp0\..\..\node_modules\node-gyp\bin\node-gyp.js" %* | ||
| 3 | + ) else ( | ||
| 4 | 4 | node "%npm_config_node_gyp%" %* | |
| 5 | - ) | ||
| 5 | + ) | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,19 +1,19 @@ | |||
| 1 | - :: Created by npm, please don't edit manually. | ||
| 2 | - @ECHO OFF | ||
| 3 | - | ||
| 4 | - SETLOCAL | ||
| 5 | - | ||
| 6 | - SET "NODE_EXE=%~dp0\node.exe" | ||
| 7 | - IF NOT EXIST "%NODE_EXE%" ( | ||
| 8 | - SET "NODE_EXE=node" | ||
| 9 | - ) | ||
| 10 | - | ||
| 11 | - SET "NPM_CLI_JS=%~dp0\node_modules\npm\bin\npm-cli.js" | ||
| 12 | - FOR /F "delims=" %%F IN ('CALL "%NODE_EXE%" "%NPM_CLI_JS%" prefix -g') DO ( | ||
| 13 | - SET "NPM_PREFIX_NPM_CLI_JS=%%F\node_modules\npm\bin\npm-cli.js" | ||
| 14 | - ) | ||
| 15 | - IF EXIST "%NPM_PREFIX_NPM_CLI_JS%" ( | ||
| 16 | - SET "NPM_CLI_JS=%NPM_PREFIX_NPM_CLI_JS%" | ||
| 17 | - ) | ||
| 18 | - | ||
| 19 | - "%NODE_EXE%" "%NPM_CLI_JS%" %* | ||
| 1 | + :: Created by npm, please don't edit manually. | ||
| 2 | + @ECHO OFF | ||
| 3 | + | ||
| 4 | + SETLOCAL | ||
| 5 | + | ||
| 6 | + SET "NODE_EXE=%~dp0\node.exe" | ||
| 7 | + IF NOT EXIST "%NODE_EXE%" ( | ||
| 8 | + SET "NODE_EXE=node" | ||
| 9 | + ) | ||
| 10 | + | ||
| 11 | + SET "NPM_CLI_JS=%~dp0\node_modules\npm\bin\npm-cli.js" | ||
| 12 | + FOR /F "delims=" %%F IN ('CALL "%NODE_EXE%" "%NPM_CLI_JS%" prefix -g') DO ( | ||
| 13 | + SET "NPM_PREFIX_NPM_CLI_JS=%%F\node_modules\npm\bin\npm-cli.js" | ||
| 14 | + ) | ||
| 15 | + IF EXIST "%NPM_PREFIX_NPM_CLI_JS%" ( | ||
| 16 | + SET "NPM_CLI_JS=%NPM_PREFIX_NPM_CLI_JS%" | ||
| 17 | + ) | ||
| 18 | + | ||
| 19 | + "%NODE_EXE%" "%NPM_CLI_JS%" %* | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,20 +1,20 @@ | |||
| 1 | - :: Created by npm, please don't edit manually. | ||
| 2 | - @ECHO OFF | ||
| 3 | - | ||
| 4 | - SETLOCAL | ||
| 5 | - | ||
| 6 | - SET "NODE_EXE=%~dp0\node.exe" | ||
| 7 | - IF NOT EXIST "%NODE_EXE%" ( | ||
| 8 | - SET "NODE_EXE=node" | ||
| 9 | - ) | ||
| 10 | - | ||
| 11 | - SET "NPM_CLI_JS=%~dp0\node_modules\npm\bin\npm-cli.js" | ||
| 12 | - SET "NPX_CLI_JS=%~dp0\node_modules\npm\bin\npx-cli.js" | ||
| 13 | - FOR /F "delims=" %%F IN ('CALL "%NODE_EXE%" "%NPM_CLI_JS%" prefix -g') DO ( | ||
| 14 | - SET "NPM_PREFIX_NPX_CLI_JS=%%F\node_modules\npm\bin\npx-cli.js" | ||
| 15 | - ) | ||
| 16 | - IF EXIST "%NPM_PREFIX_NPX_CLI_JS%" ( | ||
| 17 | - SET "NPX_CLI_JS=%NPM_PREFIX_NPX_CLI_JS%" | ||
| 18 | - ) | ||
| 19 | - | ||
| 20 | - "%NODE_EXE%" "%NPX_CLI_JS%" %* | ||
| 1 | + :: Created by npm, please don't edit manually. | ||
| 2 | + @ECHO OFF | ||
| 3 | + | ||
| 4 | + SETLOCAL | ||
| 5 | + | ||
| 6 | + SET "NODE_EXE=%~dp0\node.exe" | ||
| 7 | + IF NOT EXIST "%NODE_EXE%" ( | ||
| 8 | + SET "NODE_EXE=node" | ||
| 9 | + ) | ||
| 10 | + | ||
| 11 | + SET "NPM_CLI_JS=%~dp0\node_modules\npm\bin\npm-cli.js" | ||
| 12 | + SET "NPX_CLI_JS=%~dp0\node_modules\npm\bin\npx-cli.js" | ||
| 13 | + FOR /F "delims=" %%F IN ('CALL "%NODE_EXE%" "%NPM_CLI_JS%" prefix -g') DO ( | ||
| 14 | + SET "NPM_PREFIX_NPX_CLI_JS=%%F\node_modules\npm\bin\npx-cli.js" | ||
| 15 | + ) | ||
| 16 | + IF EXIST "%NPM_PREFIX_NPX_CLI_JS%" ( | ||
| 17 | + SET "NPX_CLI_JS=%NPM_PREFIX_NPX_CLI_JS%" | ||
| 18 | + ) | ||
| 19 | + | ||
| 20 | + "%NODE_EXE%" "%NPX_CLI_JS%" %* | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1935,7 +1935,7 @@ helpful when community members go over our code and help clean it up, too! | |||
| 1935 | 1935 | * [`9e5b76140`](https://github.com/npm/npm/commit/9e5b76140ffdb7dcd12aa402793644213fb8c5d7) | |
| 1936 | 1936 | [#17411](https://github.com/npm/npm/pull/17411) | |
| 1937 | 1937 | Convert all callback-style `move` usage to use Promises. | |
| 1938 | - ([@vramana](https://github.com/vramana)) | ||
| 1938 | + ([@vramana](https://github.com/vramana)) | ||
| 1939 | 1939 | * [`0711c08f7`](https://github.com/npm/npm/commit/0711c08f779ac641ec42ecc96f604c8861008b28) | |
| 1940 | 1940 | [#17394](https://github.com/npm/npm/pull/17394) | |
| 1941 | 1941 | Remove unused argument in `deepSortObject`. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,8 +25,8 @@ npm completion >> ~/.zshrc | |||
| 25 | 25 | ``` | |
| 26 | 26 | ||
| 27 | 27 | You may of course also pipe the output of `npm completion` to a file | |
| 28 | - such as `/usr/local/etc/bash_completion.d/npm` or | ||
| 29 | - `/etc/bash_completion.d/npm` if you have a system that will read | ||
| 28 | + such as `/usr/local/etc/bash_completion.d/npm` or | ||
| 29 | + `/etc/bash_completion.d/npm` if you have a system that will read | ||
| 30 | 30 | that file for you. | |
| 31 | 31 | ||
| 32 | 32 | When `COMP_CWORD`, `COMP_LINE`, and `COMP_POINT` are defined in the | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,8 +25,8 @@ npm deprecate my-thing@"< 0.2.3" "critical bug fixed in v0.2.3" | |||
| 25 | 25 | Note that you must be the package owner to deprecate something. See the | |
| 26 | 26 | `owner` and `adduser` help topics. | |
| 27 | 27 | ||
| 28 | - To un-deprecate a package, specify an empty string (`""`) for the `message` | ||
| 29 | - argument. Note that you must use double quotes with no space between them to | ||
| 28 | + To un-deprecate a package, specify an empty string (`""`) for the `message` | ||
| 29 | + argument. Note that you must use double quotes with no space between them to | ||
| 30 | 30 | format an empty string. | |
| 31 | 31 | ||
| 32 | 32 | ### See Also | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -30,9 +30,9 @@ This command allows you to run an arbitrary command from an npm package | |||
| 30 | 30 | (either one installed locally, or fetched remotely), in a similar context | |
| 31 | 31 | as running it via `npm run`. | |
| 32 | 32 | ||
| 33 | - Whatever packages are specified by the `--package` or `-p` option will be | ||
| 33 | + Whatever packages are specified by the `--package` option will be | ||
| 34 | 34 | provided in the `PATH` of the executed command, along with any locally | |
| 35 | - installed package executables. The `--package` or `-p` option may be | ||
| 35 | + installed package executables. The `--package` option may be | ||
| 36 | 36 | specified multiple times, to execute the supplied command in an environment | |
| 37 | 37 | where all specified packages are available. | |
| 38 | 38 | ||
@@ -48,7 +48,7 @@ only be considered a match if they have the exact same name and version as | |||
| 48 | 48 | the local dependency. | |
| 49 | 49 | ||
| 50 | 50 | If no `-c` or `--call` option is provided, then the positional arguments | |
| 51 | - are used to generate the command string. If no `-p` or `--package` options | ||
| 51 | + are used to generate the command string. If no `--package` options | ||
| 52 | 52 | are provided, then npm will attempt to determine the executable name from | |
| 53 | 53 | the package specifier provided as the first positional argument according | |
| 54 | 54 | to the following heuristic: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -46,7 +46,7 @@ you're using a non-npmjs registry. | |||
| 46 | 46 | | updated | 2017-10-02T21:29:45.922Z | | |
| 47 | 47 | +-----------------+---------------------------+ | |
| 48 | 48 | ``` | |
| 49 | - | ||
| 49 | + | ||
| 50 | 50 | * `npm profile set <property> <value>`: | |
| 51 | 51 | Set the value of a profile property. You can set the following properties this way: | |
| 52 | 52 | email, fullname, homepage, freenode, twitter, github | |
| Back | FazBrowse Home | New Git URL |
0 commit comments