@spinajs/fs
Advanced tools
+1
-0
@@ -41,2 +41,3 @@ "use strict"; | ||
| async resolve() { | ||
| await super.resolve(); | ||
| if (this.Config.defaultProvider === undefined) { | ||
@@ -43,0 +44,0 @@ throw new configuration_1.InvalidConfiguration('fs default provider is not set. Please set default file provider '); |
@@ -51,2 +51,3 @@ "use strict"; | ||
| async resolve() { | ||
| await super.resolve(); | ||
| const basePath = this.Options.basePath ?? process.env.WORKSPACE_ROOT_PATH ?? process.cwd(); | ||
@@ -53,0 +54,0 @@ this.Logger.info(`Initializing file provider ${this.Options.name} with base path ${basePath}`); |
+1
-0
@@ -24,2 +24,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
| async resolve() { | ||
| await super.resolve(); | ||
| if (this.Config.defaultProvider === undefined) { | ||
@@ -26,0 +27,0 @@ throw new InvalidConfiguration('fs default provider is not set. Please set default file provider '); |
@@ -45,2 +45,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
| async resolve() { | ||
| await super.resolve(); | ||
| const basePath = this.Options.basePath ?? process.env.WORKSPACE_ROOT_PATH ?? process.cwd(); | ||
@@ -47,0 +48,0 @@ this.Logger.info(`Initializing file provider ${this.Options.name} with base path ${basePath}`); |
+4
-4
| { | ||
| "name": "@spinajs/fs", | ||
| "version": "2.0.434", | ||
| "version": "2.0.435", | ||
| "description": "wrapper for file operations", | ||
@@ -54,5 +54,5 @@ "main": "lib/cjs/index.js", | ||
| "dependencies": { | ||
| "@spinajs/exceptions": "2.0.434", | ||
| "@spinajs/log-common": "2.0.434", | ||
| "@spinajs/util": "2.0.434", | ||
| "@spinajs/exceptions": "2.0.435", | ||
| "@spinajs/log-common": "2.0.435", | ||
| "@spinajs/util": "2.0.435", | ||
| "archiver": "^5.3.1", | ||
@@ -59,0 +59,0 @@ "exiftool": "0.0.3", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
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
538451
0.05%3025
0.13%+ Added
+ Added
- Removed
- Removed
- Removed
Updated
Updated
Updated