bigbrother-webpack-plugin
Advanced tools
Comparing version 1.7.4 to 1.7.5
{ | ||
"name": "bigbrother-webpack-plugin", | ||
"version": "1.7.4", | ||
"version": "1.7.5", | ||
"description": "bigbrother client", | ||
@@ -47,7 +47,7 @@ "main": "lib/index.js", | ||
"mocha": "^5.2.0", | ||
"np": "^5.0.1", | ||
"rimraf": "^2.6.2", | ||
"ts-node": "^7.0.1", | ||
"tslint": "^5.11.0", | ||
"typescript": "^3.1.3", | ||
"np": "^5.0.1" | ||
"typescript": "^3.1.3" | ||
}, | ||
@@ -54,0 +54,0 @@ "lint-staged": { |
@@ -20,9 +20,15 @@ const isAliEnv = require('is-ali-env'); | ||
const { npm_config_user_agent = '' } = process.env; | ||
if (npm_config_user_agent && !npm_config_user_agent.startsWith('npminstall')) { | ||
const [agent] = npm_config_user_agent.split('/'); | ||
params = params.concat([`--by=${agent}`]); | ||
} | ||
child = spawn(bin, params, { | ||
cwd: join(__dirname, '.'), | ||
stdio: ['ignore', 'ignore', 'ignore'], | ||
detached: true, | ||
}); | ||
child.on('message', () => {}); | ||
child.on('exit', () => {}); | ||
child.on('error', () => {}); | ||
child.unref(); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35948
19
812
23