@nweb/core
Advanced tools
+1
-1
@@ -109,3 +109,3 @@ "use strict"; | ||
| \\_/ \\_/\\_/ \\___| |_.__/ | ||
| ${process.env.version} | ||
| ${process.env.npm_package_version} | ||
| `; | ||
@@ -112,0 +112,0 @@ console.log(logo); |
+0
-9
@@ -70,11 +70,2 @@ "use strict"; | ||
| }; | ||
| const vwebModules = {}; | ||
| let packageJson = (() => { | ||
| let json = path.resolve('.') + '/package.json'; | ||
| if (fs_1.default.existsSync(json)) | ||
| return require(json); | ||
| return {}; | ||
| })(); | ||
| let { version = '1.0.0' } = packageJson; | ||
| process.env.version = version; | ||
| const parsePattern = (pattern) => { | ||
@@ -81,0 +72,0 @@ return (Array.isArray(pattern) ? pattern : [pattern]).map((item) => { |
+1
-1
| { | ||
| "name": "@nweb/core", | ||
| "version": "1.1.11", | ||
| "version": "1.1.12", | ||
| "description": "web核心组件", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index", |
Sorry, the diff of this file is not supported yet
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
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
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
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
23
-8%145542
-0.17%4224
-0.21%