install-module-linked
Advanced tools
@@ -19,5 +19,3 @@ "use strict"; | ||
| function homedir() { | ||
| if (hasHomedir) { | ||
| return _os.default.homedir(); | ||
| } | ||
| if (hasHomedir) return _os.default.homedir(); | ||
| var home = require('homedir-polyfill'); | ||
@@ -24,0 +22,0 @@ return home(); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"sources":["/Users/kevin/Dev/OpenSource/node/install-module-linked/src/compat.ts"],"sourcesContent":["import os from 'os';\n\nconst hasHomedir = typeof os.homedir === 'function';\n\nexport function homedir(): string {\n if (hasHomedir) {\n return os.homedir();\n }\n const home = require('homedir-polyfill');\n return home();\n}\n"],"names":["homedir","hasHomedir","os","home","require"],"mappings":";;;;+BAIgBA;;;eAAAA;;;yDAJD;;;;;;AAEf,IAAMC,aAAa,OAAOC,WAAE,CAACF,OAAO,KAAK;AAElC,SAASA;IACd,IAAIC,YAAY;QACd,OAAOC,WAAE,CAACF,OAAO;IACnB;IACA,IAAMG,OAAOC,QAAQ;IACrB,OAAOD;AACT"} | ||
| {"version":3,"sources":["/Users/kevin/Dev/OpenSource/node/install-module-linked/src/compat.ts"],"sourcesContent":["import os from 'os';\n\nconst hasHomedir = typeof os.homedir === 'function';\nexport function homedir(): string {\n if (hasHomedir) return os.homedir();\n const home = require('homedir-polyfill');\n return home();\n}\n"],"names":["homedir","hasHomedir","os","home","require"],"mappings":";;;;+BAGgBA;;;eAAAA;;;yDAHD;;;;;;AAEf,IAAMC,aAAa,OAAOC,WAAE,CAACF,OAAO,KAAK;AAClC,SAASA;IACd,IAAIC,YAAY,OAAOC,WAAE,CAACF,OAAO;IACjC,IAAMG,OAAOC,QAAQ;IACrB,OAAOD;AACT"} |
| import os from 'os'; | ||
| const hasHomedir = typeof os.homedir === 'function'; | ||
| export function homedir() { | ||
| if (hasHomedir) { | ||
| return os.homedir(); | ||
| } | ||
| if (hasHomedir) return os.homedir(); | ||
| const home = require('homedir-polyfill'); | ||
| return home(); | ||
| } |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"sources":["/Users/kevin/Dev/OpenSource/node/install-module-linked/src/compat.ts"],"sourcesContent":["import os from 'os';\n\nconst hasHomedir = typeof os.homedir === 'function';\n\nexport function homedir(): string {\n if (hasHomedir) {\n return os.homedir();\n }\n const home = require('homedir-polyfill');\n return home();\n}\n"],"names":["os","hasHomedir","homedir","home","require"],"mappings":"AAAA,OAAOA,QAAQ,KAAK;AAEpB,MAAMC,aAAa,OAAOD,GAAGE,OAAO,KAAK;AAEzC,OAAO,SAASA;IACd,IAAID,YAAY;QACd,OAAOD,GAAGE,OAAO;IACnB;IACA,MAAMC,OAAOC,QAAQ;IACrB,OAAOD;AACT"} | ||
| {"version":3,"sources":["/Users/kevin/Dev/OpenSource/node/install-module-linked/src/compat.ts"],"sourcesContent":["import os from 'os';\n\nconst hasHomedir = typeof os.homedir === 'function';\nexport function homedir(): string {\n if (hasHomedir) return os.homedir();\n const home = require('homedir-polyfill');\n return home();\n}\n"],"names":["os","hasHomedir","homedir","home","require"],"mappings":"AAAA,OAAOA,QAAQ,KAAK;AAEpB,MAAMC,aAAa,OAAOD,GAAGE,OAAO,KAAK;AACzC,OAAO,SAASA;IACd,IAAID,YAAY,OAAOD,GAAGE,OAAO;IACjC,MAAMC,OAAOC,QAAQ;IACrB,OAAOD;AACT"} |
+7
-7
| { | ||
| "name": "install-module-linked", | ||
| "version": "1.3.16", | ||
| "version": "1.3.17", | ||
| "description": "Installs and symlinks a module into node_modules", | ||
@@ -53,5 +53,5 @@ "keywords": [ | ||
| "dependencies": { | ||
| "cross-spawn-cb": "^2.4.13", | ||
| "exit-compat": "^1.0.3", | ||
| "fs-remove-compat": "^0.2.3", | ||
| "cross-spawn-cb": "^2.4.14", | ||
| "exit-compat": "^1.0.4", | ||
| "fs-remove-compat": "^0.2.4", | ||
| "function-exec-sync": "^1.5.5", | ||
@@ -68,7 +68,7 @@ "getopts-compat": "^2.2.6", | ||
| "@types/mocha": "^10.0.10", | ||
| "@types/node": "^25.0.1", | ||
| "node-version-use": "^2.1.5", | ||
| "@types/node": "^25.0.2", | ||
| "node-version-use": "^2.1.7", | ||
| "pinkie-promise": "^2.0.1", | ||
| "ts-dev-stack": "^1.21.3", | ||
| "tsds-config": "^0.2.1" | ||
| "tsds-config": "^0.2.2" | ||
| }, | ||
@@ -75,0 +75,0 @@ "engines": { |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances 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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances 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
107305
-0.07%1054
-0.38%Updated
Updated
Updated