A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/npm/cli/commit/7f66f0ae8fb84f567fe83a9a5738d06c7fe8fb54 below:

add better hint for `before` and clean up description · npm/cli@7f66f0a · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+11

-10

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+11

-10

lines changed Original file line number Diff line number Diff line change

@@ -263,9 +263,9 @@ config is given, this value will always be set to \`legacy\`.

263 263

* Type: null or Date

264 264 265 265

If passed to \`npm install\`, will rebuild the npm tree such that only

266 -

versions that were available **on or before** the \`--before\` time get

267 -

installed. If there's no versions available for the current set of direct

268 -

dependencies, the command will error.

266 +

versions that were available **on or before** the given date are installed.

267 +

If there are no versions available for the current set of dependencies, the

268 +

command will error.

269 269 270 270

If the requested version is a \`dist-tag\` and the given tag does not pass the

271 271

\`--before\` filter, the most recent version less than or equal to that tag

@@ -3302,7 +3302,7 @@ Options:

3302 3302

[--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]

3303 3303

[--include <prod|dev|optional|peer> [--include <prod|dev|optional|peer> ...]]

3304 3304

[--strict-peer-deps] [--prefer-dedupe] [--no-package-lock] [--package-lock-only]

3305 -

[--foreground-scripts] [--ignore-scripts] [--no-audit] [--before <before>]

3305 +

[--foreground-scripts] [--ignore-scripts] [--no-audit] [--before <date>]

3306 3306

[--no-bin-links] [--no-fund] [--dry-run] [--cpu <cpu>] [--os <os>]

3307 3307

[--libc <libc>]

3308 3308

[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]

@@ -3402,7 +3402,7 @@ Options:

3402 3402

[--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]

3403 3403

[--include <prod|dev|optional|peer> [--include <prod|dev|optional|peer> ...]]

3404 3404

[--strict-peer-deps] [--prefer-dedupe] [--no-package-lock] [--package-lock-only]

3405 -

[--foreground-scripts] [--ignore-scripts] [--no-audit] [--before <before>]

3405 +

[--foreground-scripts] [--ignore-scripts] [--no-audit] [--before <date>]

3406 3406

[--no-bin-links] [--no-fund] [--dry-run] [--cpu <cpu>] [--os <os>]

3407 3407

[--libc <libc>]

3408 3408

[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]

@@ -3680,7 +3680,7 @@ npm outdated [<package-spec> ...]

3680 3680

Options:

3681 3681

[-a|--all] [--json] [-l|--long] [-p|--parseable] [-g|--global]

3682 3682

[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]

3683 -

[--before <before>]

3683 +

[--before <date>]

3684 3684 3685 3685

Run "npm help outdated" for more info

3686 3686

@@ -4440,7 +4440,7 @@ Options:

4440 4440

[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]

4441 4441

[--include <prod|dev|optional|peer> [--include <prod|dev|optional|peer> ...]]

4442 4442

[--strict-peer-deps] [--no-package-lock] [--foreground-scripts]

4443 -

[--ignore-scripts] [--no-audit] [--before <before>] [--no-bin-links] [--no-fund]

4443 +

[--ignore-scripts] [--no-audit] [--before <date>] [--no-bin-links] [--no-fund]

4444 4444

[--dry-run]

4445 4445

[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]

4446 4446

[--workspaces] [--include-workspace-root] [--install-links]

Original file line number Diff line number Diff line change

@@ -230,12 +230,13 @@ const definitions = {

230 230

}),

231 231

before: new Definition('before', {

232 232

default: null,

233 +

hint: '<date>',

233 234

type: [null, Date],

234 235

description: `

235 236

If passed to \`npm install\`, will rebuild the npm tree such that only

236 -

versions that were available **on or before** the \`--before\` time get

237 -

installed. If there's no versions available for the current set of

238 -

direct dependencies, the command will error.

237 +

versions that were available **on or before** the given date are

238 +

installed. If there are no versions available for the current set of

239 +

dependencies, the command will error.

239 240 240 241

If the requested version is a \`dist-tag\` and the given tag does not

241 242

pass the \`--before\` filter, the most recent version less than or equal

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4