| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -24,7 +24,7 @@ folder and use the `name` property. | |||
| 24 | 24 | ||
| 25 | 25 | #### `browser` | |
| 26 | 26 | ||
| 27 | - * Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"` | ||
| 27 | + * Default: macOS: `"open"`, Windows: `"start"`, Others: `"xdg-open"` | ||
| 28 | 28 | * Type: null, Boolean, or String | |
| 29 | 29 | ||
| 30 | 30 | The browser that is called by npm commands to open websites. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -24,7 +24,7 @@ package names at once. If no package name is provided, it will search for a | |||
| 24 | 24 | ||
| 25 | 25 | #### `browser` | |
| 26 | 26 | ||
| 27 | - * Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"` | ||
| 27 | + * Default: macOS: `"open"`, Windows: `"start"`, Others: `"xdg-open"` | ||
| 28 | 28 | * Type: null, Boolean, or String | |
| 29 | 29 | ||
| 30 | 30 | The browser that is called by npm commands to open websites. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -81,7 +81,7 @@ Not supported by all npm commands. | |||
| 81 | 81 | ||
| 82 | 82 | #### `browser` | |
| 83 | 83 | ||
| 84 | - * Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"` | ||
| 84 | + * Default: macOS: `"open"`, Windows: `"start"`, Others: `"xdg-open"` | ||
| 85 | 85 | * Type: null, Boolean, or String | |
| 86 | 86 | ||
| 87 | 87 | The browser that is called by npm commands to open websites. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -231,6 +231,23 @@ submitted. | |||
| 231 | 231 | ||
| 232 | 232 | ||
| 233 | 233 | ||
| 234 | + #### `before` | ||
| 235 | + | ||
| 236 | + * Default: null | ||
| 237 | + * Type: null or Date | ||
| 238 | + | ||
| 239 | + If passed to `npm install`, will rebuild the npm tree such that only | ||
| 240 | + versions that were available **on or before** the given date are installed. | ||
| 241 | + If there are no versions available for the current set of dependencies, the | ||
| 242 | + command will error. | ||
| 243 | + | ||
| 244 | + If the requested version is a `dist-tag` and the given tag does not pass the | ||
| 245 | + `--before` filter, the most recent version less than or equal to that tag | ||
| 246 | + will be used. For example, `foo@latest` might install `foo@1.2` even though | ||
| 247 | + `latest` is `2.0`. | ||
| 248 | + | ||
| 249 | + | ||
| 250 | + | ||
| 234 | 251 | #### `bin-links` | |
| 235 | 252 | ||
| 236 | 253 | * Default: true | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -619,6 +619,23 @@ submitted. | |||
| 619 | 619 | ||
| 620 | 620 | ||
| 621 | 621 | ||
| 622 | + #### `before` | ||
| 623 | + | ||
| 624 | + * Default: null | ||
| 625 | + * Type: null or Date | ||
| 626 | + | ||
| 627 | + If passed to `npm install`, will rebuild the npm tree such that only | ||
| 628 | + versions that were available **on or before** the given date are installed. | ||
| 629 | + If there are no versions available for the current set of dependencies, the | ||
| 630 | + command will error. | ||
| 631 | + | ||
| 632 | + If the requested version is a `dist-tag` and the given tag does not pass the | ||
| 633 | + `--before` filter, the most recent version less than or equal to that tag | ||
| 634 | + will be used. For example, `foo@latest` might install `foo@1.2` even though | ||
| 635 | + `latest` is `2.0`. | ||
| 636 | + | ||
| 637 | + | ||
| 638 | + | ||
| 622 | 639 | #### `bin-links` | |
| 623 | 640 | ||
| 624 | 641 | * Default: true | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,7 +27,7 @@ packages will *also* show the paths to the specified packages. For | |||
| 27 | 27 | example, running `npm ls promzard` in npm's source tree will show: | |
| 28 | 28 | ||
| 29 | 29 | ```bash | |
| 30 | - npm@11.4.2 /path/to/npm | ||
| 30 | + npm@11.5.1 /path/to/npm | ||
| 31 | 31 | └─┬ init-package-json@0.0.4 | |
| 32 | 32 | └── promzard@0.1.5 | |
| 33 | 33 | ``` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -169,6 +169,23 @@ brand new workspace within the project. | |||
| 169 | 169 | ||
| 170 | 170 | This value is not exported to the environment for child processes. | |
| 171 | 171 | ||
| 172 | + #### `before` | ||
| 173 | + | ||
| 174 | + * Default: null | ||
| 175 | + * Type: null or Date | ||
| 176 | + | ||
| 177 | + If passed to `npm install`, will rebuild the npm tree such that only | ||
| 178 | + versions that were available **on or before** the given date are installed. | ||
| 179 | + If there are no versions available for the current set of dependencies, the | ||
| 180 | + command will error. | ||
| 181 | + | ||
| 182 | + If the requested version is a `dist-tag` and the given tag does not pass the | ||
| 183 | + `--before` filter, the most recent version less than or equal to that tag | ||
| 184 | + will be used. For example, `foo@latest` might install `foo@1.2` even though | ||
| 185 | + `latest` is `2.0`. | ||
| 186 | + | ||
| 187 | + | ||
| 188 | + | ||
| 172 | 189 | ### See Also | |
| 173 | 190 | ||
| 174 | 191 | * [package spec](/using-npm/package-spec) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,7 +22,7 @@ provided, it will search for a `package.json` in the current folder and use the | |||
| 22 | 22 | ||
| 23 | 23 | #### `browser` | |
| 24 | 24 | ||
| 25 | - * Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"` | ||
| 25 | + * Default: macOS: `"open"`, Windows: `"start"`, Others: `"xdg-open"` | ||
| 26 | 26 | * Type: null, Boolean, or String | |
| 27 | 27 | ||
| 28 | 28 | The browser that is called by npm commands to open websites. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -332,6 +332,23 @@ submitted. | |||
| 332 | 332 | ||
| 333 | 333 | ||
| 334 | 334 | ||
| 335 | + #### `before` | ||
| 336 | + | ||
| 337 | + * Default: null | ||
| 338 | + * Type: null or Date | ||
| 339 | + | ||
| 340 | + If passed to `npm install`, will rebuild the npm tree such that only | ||
| 341 | + versions that were available **on or before** the given date are installed. | ||
| 342 | + If there are no versions available for the current set of dependencies, the | ||
| 343 | + command will error. | ||
| 344 | + | ||
| 345 | + If the requested version is a `dist-tag` and the given tag does not pass the | ||
| 346 | + `--before` filter, the most recent version less than or equal to that tag | ||
| 347 | + will be used. For example, `foo@latest` might install `foo@1.2` even though | ||
| 348 | + `latest` is `2.0`. | ||
| 349 | + | ||
| 350 | + | ||
| 351 | + | ||
| 335 | 352 | #### `bin-links` | |
| 336 | 353 | ||
| 337 | 354 | * Default: true | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,7 +14,7 @@ Note: This command is unaware of workspaces. | |||
| 14 | 14 | ||
| 15 | 15 | ### Version | |
| 16 | 16 | ||
| 17 | - 11.4.2 | ||
| 17 | + 11.5.1 | ||
| 18 | 18 | ||
| 19 | 19 | ### Description | |
| 20 | 20 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments