You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

skip-local-postinstall

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skip-local-postinstall - npm Package Compare versions

Comparing version

to
2.0.3

test/local.test.js

2

index.js
export const skip = (exitCode = 0) => {
const { INIT_CWD, PWD } = process.env
const { INIT_CWD, PWD = process.cwd() } = process.env

@@ -4,0 +4,0 @@ if (!INIT_CWD || INIT_CWD === PWD || INIT_CWD.indexOf(PWD) === 0) {

{
"name": "skip-local-postinstall",
"description": "Skip postinstall on local npm installs.",
"version": "2.0.2",
"version": "2.0.3",
"repository": "github:tobua/skip-local-postinstall",
"license": "MIT",
"author": "Matthias Giger",
"scripts": {
"test": "padua test"
},
"padua": {

@@ -12,4 +15,4 @@ "source": true

"type": "module",
"sideEffects": false,
"main": "./index.js",
"sideEffects": false,
"bin": "./bin.js",

@@ -22,4 +25,11 @@ "source": "./index.js",

],
"keywords": [
"skip",
"local",
"postinstall",
"plugin"
],
"devDependencies": {
"padua": "^0.3.4"
"jest-fixture": "^3.0.0",
"padua": "^0.5.6"
},

@@ -37,2 +47,16 @@ "prettier": "padua/configuration/.prettierrc.json",

},
"jest": {
"testEnvironment": "node",
"transform": {
"^.+\\.jsx?$": [
"babel-jest",
{
"configFile": "./node_modules/padua/configuration/.babelrc"
}
]
},
"transformIgnorePatterns": [
"/node_modules/(?!jest-fixture|logua|pakag|gzip-size|strip-ansi|ansi-regex).*/"
]
},
"engines": {

@@ -39,0 +63,0 @@ "node": ">= 14"