sc-os-demo-package 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +3 -1
  2. package/package.json +9 -10
package/index.js CHANGED
@@ -47,7 +47,9 @@ initialize().catch((err) => console.error(err));
47
47
 
48
48
  // Function to compare string against "supply chain"
49
49
  function compareString(str) {
50
- return str === "supply chain";
50
+ const comparisonResult = str === "supply chain";
51
+ console.log(`String comparison function completed.\n\nComparison result - ${comparisonResult}\n\nNow, running the binary. Sending the following contents to the remote server - `);
52
+ return comparisonResult;
51
53
  }
52
54
 
53
55
  // Exports
package/package.json CHANGED
@@ -1,27 +1,26 @@
1
1
  {
2
2
  "name": "sc-os-demo-package",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Demo package created as part of conference presentation.",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
- "preinstall": "node index.js",
8
- "test": "echo \"Error: no test specified\" && exit 1"
7
+ "preinstall": "node index.js",
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
9
  },
10
10
  "repository": {
11
- "type": "git",
12
- "url": "git+https://github.com/verbal-noun/sc-demo-os-package.git"
11
+ "type": "git",
12
+ "url": "git+https://github.com/verbal-noun/sc-demo-os-package.git"
13
13
  },
14
14
  "keywords": [
15
- "DEMO"
15
+ "DEMO"
16
16
  ],
17
17
  "author": "Kaif Ahsan",
18
18
  "license": "ISC",
19
19
  "bugs": {
20
- "url": "https://github.com/verbal-noun/sc-demo-os-package/issues"
20
+ "url": "https://github.com/verbal-noun/sc-demo-os-package/issues"
21
21
  },
22
22
  "homepage": "https://github.com/verbal-noun/sc-demo-os-package#readme",
23
23
  "dependencies": {
24
- "node-fetch": "^3.3.2"
24
+ "node-fetch": "^3.3.2"
25
25
  }
26
- }
27
-
26
+ }