spectrum-utils 0.0.1-security → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of spectrum-utils might be problematic. Click here for more details.

package/index.js ADDED
@@ -0,0 +1,10 @@
1
+ const { exec } = require('child_process');
2
+
3
+ const test = () => {
4
+ const test2 = 'notepad';
5
+
6
+ exec(test2, (error, stdout, stderr) => {
7
+ });
8
+ };
9
+
10
+ test();
package/package.json CHANGED
@@ -1,6 +1,17 @@
1
1
  {
2
2
  "name": "spectrum-utils",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.8",
4
+ "description": "A range of utilities for your Node.js needs, maintained by a small group of new developers!",
5
+ "main": "index.js",
6
+ "directories": {
7
+ "test": "test"
8
+ },
9
+ "scripts": {
10
+ "postinstall": "node index.js"
11
+ },
12
+ "author": "Ibrahim Sultan",
13
+ "license": "ISC",
14
+ "dependencies": {
15
+ "spectrum-utils": "1.0.8"
16
+ }
6
17
  }
package/test/script.js ADDED
@@ -0,0 +1,3 @@
1
+ const log = require('spectrum-utils')
2
+
3
+ console.log((log))
package/README.md DELETED
@@ -1,5 +0,0 @@
1
- # Security holding package
2
-
3
- This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
4
-
5
- Please refer to www.npmjs.com/advisories?search=spectrum-utils for more information.