npm-install-scripts-test 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of npm-install-scripts-test might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/README.md +1 -0
  2. package/index.js +1 -0
  3. package/package.json +19 -0
package/README.md ADDED
@@ -0,0 +1 @@
1
+ Testing how script get executed on `npm i`, `npm ci`.
package/index.js ADDED
@@ -0,0 +1 @@
1
+ console.log('Running arbitrary malicious code because you asked for it.');
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "npm-install-scripts-test",
3
+ "version": "1.0.2",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "preinstall": "echo \"Running arbitrary malicious code deep in your dep tree via preinstall ...\"; touch preinstall.done",
9
+ "install": "echo \"Running arbitrary malicious code deep in your dep tree via install ...\"; touch install.done",
10
+ "postinstall": "echo \"Running arbitrary malicious code deep in your dep tree via postinstall ...\"; touch postinstall.done",
11
+ "prepublish": "echo \"Running arbitrary malicious code deep in your dep tree via prepublish ...\"",
12
+ "preprepare": "echo \"Running arbitrary malicious code deep in your dep tree via preprepare ...\"",
13
+ "prepare": "echo \"Running arbitrary malicious code deep in your dep tree via prepare ...\"",
14
+ "postprepare": "echo \"Running arbitrary malicious code deep in your dep tree via postprepare ...\""
15
+ },
16
+ "keywords": [],
17
+ "author": "",
18
+ "license": "ISC"
19
+ }