system-clock
Advanced tools
Sorry, the diff of this file is too big to display
+8
-2
@@ -1,2 +0,8 @@ | ||
| const systemClock = require('./build/Release/system-clock.node') | ||
| module.exports = systemClock | ||
| // const systemClock = require("./build/Release/system-clock.node"); | ||
| // module.exports = systemClock; | ||
| // Will load a compiled build if present or a prebuild. | ||
| // If no build if found it will throw an exception | ||
| const binding = require("node-gyp-build")(__dirname); | ||
| module.exports = binding; |
+7
-3
| { | ||
| "name": "system-clock", | ||
| "version": "1.0.1", | ||
| "version": "1.0.2", | ||
| "description": "set system time, date and zone in os Windows", | ||
@@ -9,2 +9,4 @@ "repository": "https://github.com/sid-max1996/system-clock.git", | ||
| "scripts": { | ||
| "install": "node-gyp-build", | ||
| "prebuild": "prebuildify --napi", | ||
| "build": "node-gyp rebuild", | ||
@@ -16,7 +18,9 @@ "clean": "node-gyp clean" | ||
| "devDependencies": { | ||
| "node-gyp": "^5.0.3" | ||
| "node-gyp": "^9.3.0", | ||
| "prebuildify": "^6.0.1" | ||
| }, | ||
| "dependencies": { | ||
| "node-addon-api": "^1.7.1" | ||
| "node-addon-api": "^1.7.1", | ||
| "node-gyp-build": "^4.8.4" | ||
| } | ||
| } |
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
107787
2575.94%8
14.29%6
200%2
100%2
100%2
100%3
50%+ Added
+ Added