🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
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
1.0.4

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

### [1.0.4](https://github.com/tobua/skip-local-postinstall/compare/v1.0.3...v1.0.4) (2020-11-02)
### [1.0.3](https://github.com/tobua/skip-local-postinstall/compare/v1.0.2...v1.0.3) (2020-11-01)

@@ -7,0 +9,0 @@

module.exports = () => {
const { INIT_CWD, PWD } = process.env
console.log('skip-local-postinstall', PWD, process.cwd(), INIT_CWD)
if (!INIT_CWD || INIT_CWD === PWD || INIT_CWD.indexOf(PWD) === 0) {

@@ -5,0 +7,0 @@ console.info(`Skipping 'postinstall' on local install`)

{
"name": "skip-local-postinstall",
"description": "Skips postinstall when installed locally.",
"version": "1.0.3",
"version": "1.0.4",
"repository": "github:tobua/skip-local-postinstall",

@@ -10,2 +10,5 @@ "scripts": {

},
"padua": {
"source": true
},
"main": "./index.js",

@@ -25,3 +28,7 @@ "source": "./index.js",

"rules": {
"no-console": 0
"no-console": 0,
"import/extensions": [
2,
"always"
]
}

@@ -28,0 +35,0 @@ },