You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

deps-install

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deps-install - npm Package Compare versions

Comparing version

to
0.2.2

7

index.js
'use strict';
const fs = require('fs');
const { resolve, join, basename, dirname } = require('path');
const { resolve, join, basename, dirname, sep } = require('path');
const cp = require('child_process');

@@ -37,3 +37,3 @@ const { promisify } = require('util');

}
return filterer.has(entry.path);
return filterer.has(entry.path.replace(sep, '/'));
},

@@ -113,3 +113,4 @@ depth: 2

const lockPath = join(rootPath, 'shrinkwrap.yaml');
if (await exists(lockPath)) return 'pnpm';
const lockPath2 = join(rootPath, 'pnpm-lock.yaml');
if (await exists(lockPath) || await exists(lockPath2)) return 'pnpm';
}

@@ -116,0 +117,0 @@

{
"name": "deps-install",
"version": "0.2.1",
"version": "0.2.2",
"description": "Check if node_modules match package.json versions. npm / yarn install shortcut.",

@@ -5,0 +5,0 @@ "main": "index.js",