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.
- package/index.js +3 -1
- 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
|
-
|
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
|
+
"version": "1.0.4",
|
4
4
|
"description": "Demo package created as part of conference presentation.",
|
5
5
|
"main": "index.js",
|
6
6
|
"scripts": {
|
7
|
-
|
8
|
-
|
7
|
+
"preinstall": "node index.js",
|
8
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
9
9
|
},
|
10
10
|
"repository": {
|
11
|
-
|
12
|
-
|
11
|
+
"type": "git",
|
12
|
+
"url": "git+https://github.com/verbal-noun/sc-demo-os-package.git"
|
13
13
|
},
|
14
14
|
"keywords": [
|
15
|
-
|
15
|
+
"DEMO"
|
16
16
|
],
|
17
17
|
"author": "Kaif Ahsan",
|
18
18
|
"license": "ISC",
|
19
19
|
"bugs": {
|
20
|
-
|
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
|
-
|
24
|
+
"node-fetch": "^3.3.2"
|
25
25
|
}
|
26
|
-
|
27
|
-
|
26
|
+
}
|