@fluent/core
Advanced tools
@@ -11,4 +11,6 @@ "use strict"; | ||
| this.environment = new environment_1.Environment(); | ||
| const scriptName = process.mainModule && process.mainModule.filename ? | ||
| process.mainModule.filename : process.argv[1]; | ||
| this.environment.name = environmentName || this.environment.name; | ||
| this.environment.rootPath = Path.dirname(process.argv[1]); | ||
| this.environment.rootPath = Path.dirname(scriptName); | ||
| this.serviceCollection.addSingleton(environment_1.Environment, this.environment); | ||
@@ -15,0 +17,0 @@ this.configuration = configuration_1.Configuration.readFromFile(Path.join(this.environment.rootPath, `configuration.${this.environment.name}.json`)); |
+9
-3
| { | ||
| "name": "@fluent/core", | ||
| "version": "1.0.0", | ||
| "version": "1.0.1", | ||
| "description": "Fluent - core component", | ||
@@ -17,10 +17,16 @@ "main": "build/index.js", | ||
| "author": "Eugen Melnychenko", | ||
| "repository" : { | ||
| "type" : "git", | ||
| "url" : "https://github.com/emelnychenko/fluent" | ||
| }, | ||
| "dependencies": { | ||
| "@fluent/di": "^1.0.1", | ||
| "reflect-metadata": "^0.1.12" | ||
| }, | ||
| "peerDependencies": { | ||
| "@fluent/di": "1.0.*" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/node": "^9.3.0", | ||
| "typescript": "^2.6.2" | ||
| "typescript": "2.6.*" | ||
| } | ||
| } |
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 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 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
8933
2.95%222
0.91%3
-25%- Removed