Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

libnpmdiff

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libnpmdiff - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

8

CHANGELOG.md
# Changelog
## 2.0.3
- fix name of options sent by the npm cli
## 2.0.2
- fix matching basename file filter
## 2.0.1

@@ -4,0 +12,0 @@

4

lib/format-diff.js

@@ -73,4 +73,4 @@ const EOL = '\n'

{
context: opts.diffContext === 0 ? 0 : opts.diffContext || 3,
ignoreWhitespace: opts.diffIgnoreWhitespace,
context: opts.diffUnified === 0 ? 0 : opts.diffUnified || 3,
ignoreWhitespace: opts.diffIgnoreAllSpace,
}

@@ -77,0 +77,0 @@ ).replace(

{
"name": "libnpmdiff",
"version": "2.0.2",
"version": "2.0.3",
"description": "The registry diff",

@@ -5,0 +5,0 @@ "repository": "https://github.com/npm/libnpmdiff",

@@ -81,5 +81,5 @@ # libnpmdiff

- `tagVersionPrefix <Sring>`: What prefix should be used to define version numbers. Defaults to `v`
- `diffContext <Number>`: How many lines of code to print before/after each diff. Defaults to `3`.
- `diffUnified <Number>`: How many lines of code to print before/after each diff. Defaults to `3`.
- `diffFiles <Array<String>>`: If set only prints patches for the files listed in this array (also accepts globs). Defaults to `undefined`.
- `diffIgnoreWhitespace <Boolean>`: Whether or not should ignore changes in whitespace (very useful to avoid indentation changes extra diff lines). Defaults to `false`.
- `diffIgnoreAllSpace <Boolean>`: Whether or not should ignore changes in whitespace (very useful to avoid indentation changes extra diff lines). Defaults to `false`.
- `diffNameOnly <Boolean>`: Prints only file names and no patch diffs. Defaults to `false`.

@@ -86,0 +86,0 @@ - `diffNoPrefix <Boolean>`: If true then skips printing any prefixes in filenames. Defaults to `false`.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc