🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@socketsecurity/registry

Package Overview
Dependencies
Maintainers
2
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@socketsecurity/registry - npm Package Compare versions

Comparing version

to
1.0.175

14

lib/packages.js

@@ -35,2 +35,5 @@ 'use strict'

const identSymbol = Symbol.for('indent')
const newlineSymbol = Symbol.for('newline')
let _cacache

@@ -190,11 +193,16 @@ /*@__NO_SIDE_EFFECTS__*/

const {
[Symbol.for('indent')]: indent,
[Symbol.for('newline')]: newline,
[identSymbol]: indent,
[newlineSymbol]: newline,
...rest
} = this.content
const content = sort ? packageSort(rest) : rest
const {
[identSymbol]: _indent,
[newlineSymbol]: _newline,
...origContent
} = this._readFileJson
if (
ignoreWhitespace &&
getUtil().isDeepStrictEqual(content, this._readFileJson)
getUtil().isDeepStrictEqual(content, origContent)
) {

@@ -201,0 +209,0 @@ return false

{
"name": "@socketsecurity/registry",
"version": "1.0.174",
"version": "1.0.175",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Socket.dev registry helpers methods and metadata",