dotenv-mono
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -191,3 +191,3 @@ /// <reference types="node" /> | ||
*/ | ||
parse<T extends DotenvParseOutput = DotenvParseOutput>(): T; | ||
parse(src: string | Buffer): DotenvParseOutput; | ||
/** | ||
@@ -194,0 +194,0 @@ * Loads `.env` and default file contents. |
@@ -193,5 +193,4 @@ "use strict"; | ||
*/ | ||
parse() { | ||
// @ts-ignore | ||
return dotenv_1.default.parse.apply(this, Array.from(arguments)); | ||
parse(src) { | ||
return dotenv_1.default.parse(src); | ||
} | ||
@@ -198,0 +197,0 @@ /** |
{ | ||
"name": "dotenv-mono", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"main": "./dist/index.js", | ||
@@ -33,3 +33,4 @@ "module": "./dist/index.js", | ||
"tsc": "tsc", | ||
"prepare": "tsc" | ||
"prepare": "tsc", | ||
"test": "jest" | ||
}, | ||
@@ -41,2 +42,4 @@ "dependencies": { | ||
"devDependencies": { | ||
"@types/jest": "^29.2.3", | ||
"@types/mock-fs": "^4.13.1", | ||
"@types/node": "^18.11.9", | ||
@@ -50,5 +53,8 @@ "@typescript-eslint/eslint-plugin": "^5.43.0", | ||
"husky": "^8.0.2", | ||
"jest": "^29.3.1", | ||
"lint-staged": "^13.0.3", | ||
"mock-fs": "^5.2.0", | ||
"prettier": "^2.7.1", | ||
"standard-version": "^9.5.0", | ||
"ts-jest": "^29.0.3", | ||
"typescript": "^4.9.3" | ||
@@ -55,0 +61,0 @@ }, |
@@ -0,0 +0,0 @@ <div align="center"> |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67341
22
946
17
7