npm-check-updates 17.0.6 → 17.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -251,7 +251,7 @@ Options that take no arguments can be negated by prefixing them with `--no-`, e.
251
251
  </tr>
252
252
  <tr>
253
253
  <td><a href="#format">--format &lt;value&gt;</a></td>
254
- <td>Modify the output formatting or show additional information. Specify one or more comma-delimited values: group, ownerChanged, repo, time, lines. (default: [])</td>
254
+ <td>Modify the output formatting or show additional information. Specify one or more comma-delimited values: group, ownerChanged, repo, time, lines, installedVersion. (default: [])</td>
255
255
  </tr>
256
256
  <tr>
257
257
  <td>-g, --global</td>
@@ -544,6 +544,7 @@ Modify the output formatting or show additional information. Specify one or more
544
544
  <tr><td>repo</td><td>Infers and displays links to the package's source code repository. Requires packages to be installed.</td></tr>
545
545
  <tr><td>time</td><td>Shows the publish time of each upgrade.</td></tr>
546
546
  <tr><td>lines</td><td>Prints name@version on separate lines. Useful for piping to npm install.</td></tr>
547
+ <tr><td>installedVersion</td><td>Prints the exact current version number instead of a range.</td></tr>
547
548
  </table>
548
549
 
549
550
  ## groupFunction
package/build/index.d.ts CHANGED
@@ -36,6 +36,7 @@ declare interface PackageFile {
36
36
  workspaces?: string[] | {
37
37
  packages: string[];
38
38
  };
39
+ version?: string;
39
40
  }
40
41
 
41
42
  /** Represents the repository field in package.json. */
@@ -118,7 +119,7 @@ export declare interface RunOptions {
118
119
  filterResults?: FilterResultsFunction;
119
120
  /** Filter on package version using comma-or-space-delimited list, /regex/, or predicate function. Run "ncu --help --filterVersion" for details. */
120
121
  filterVersion?: string | RegExp | (string | RegExp)[] | FilterFunction;
121
- /** Modify the output formatting or show additional information. Specify one or more comma-delimited values: group, ownerChanged, repo, time, lines. Run "ncu --help --format" for details. */
122
+ /** Modify the output formatting or show additional information. Specify one or more comma-delimited values: group, ownerChanged, repo, time, lines, installedVersion. Run "ncu --help --format" for details. */
122
123
  format?: string[];
123
124
  /** Check global packages instead of in the current project. */
124
125
  global?: boolean;