module-alias
Advanced tools
+15
-0
@@ -52,1 +52,16 @@ // ESM entry point for module-alias | ||
| } | ||
| // Default export for compatibility with: import moduleAlias from 'module-alias' | ||
| import { init } from './esm-loader.mjs' | ||
| function moduleAlias(options) { | ||
| ensureHooks() | ||
| init(options) | ||
| } | ||
| moduleAlias.addAlias = addAlias | ||
| moduleAlias.addAliases = addAliases | ||
| moduleAlias.addPath = addPath | ||
| moduleAlias.reset = reset | ||
| export default moduleAlias |
+2
-2
| { | ||
| "name": "module-alias", | ||
| "description": "Create aliases of directories and register custom module paths", | ||
| "version": "2.3.3", | ||
| "version": "2.3.4", | ||
| "author": { | ||
@@ -58,3 +58,3 @@ "name": "Nick Gavrilov", | ||
| "chai": "^3.5.0", | ||
| "hello-world-classic": "ilearnio/hello-world-classic", | ||
| "hello-world-classic": "github:ilearnio/hello-world-classic", | ||
| "husky": "^3.0.2", | ||
@@ -61,0 +61,0 @@ "mocha": "^2.4.5", |
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 2 instances in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
25065
1.41%427
2.64%4
33.33%