backfill-utils-dotenv
Advanced tools
Comparing version 3.0.1-alpha.0 to 4.0.0
export declare function loadDotenv(): void; | ||
//# sourceMappingURL=index.d.ts.map | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
var __importDefault = | ||
(this && this.__importDefault) || | ||
function(mod) { | ||
return mod && mod.__esModule ? mod : { default: mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const dotenv_1 = require("dotenv"); | ||
const findUp = require("find-up"); | ||
const find_up_1 = __importDefault(require("find-up")); | ||
function loadDotenv() { | ||
if (process.env.NODE_ENV === "test") { | ||
return; | ||
} | ||
const path = findUp.sync(".env"); | ||
if (path) { | ||
dotenv_1.config({ path }); | ||
} | ||
if (process.env.NODE_ENV === "test") { | ||
return; | ||
} | ||
const path = find_up_1.default.sync(".env"); | ||
if (path) { | ||
dotenv_1.config({ path }); | ||
} | ||
} | ||
exports.loadDotenv = loadDotenv; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxtQ0FBZ0M7QUFDaEMsa0NBQWtDO0FBRWxDLFNBQWdCLFVBQVU7SUFDeEIsSUFBSSxPQUFPLENBQUMsR0FBRyxDQUFDLFFBQVEsS0FBSyxNQUFNLEVBQUU7UUFDbkMsT0FBTztLQUNSO0lBRUQsTUFBTSxJQUFJLEdBQUcsTUFBTSxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FBQztJQUVqQyxJQUFJLElBQUksRUFBRTtRQUNSLGVBQU0sQ0FBQyxFQUFFLElBQUksRUFBRSxDQUFDLENBQUM7S0FDbEI7QUFDSCxDQUFDO0FBVkQsZ0NBVUMifQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxtQ0FBZ0M7QUFDaEMsc0RBQTZCO0FBRTdCLFNBQWdCLFVBQVU7SUFDeEIsSUFBSSxPQUFPLENBQUMsR0FBRyxDQUFDLFFBQVEsS0FBSyxNQUFNLEVBQUU7UUFDbkMsT0FBTztLQUNSO0lBRUQsTUFBTSxJQUFJLEdBQUcsaUJBQU0sQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUM7SUFFakMsSUFBSSxJQUFJLEVBQUU7UUFDUixlQUFNLENBQUMsRUFBRSxJQUFJLEVBQUUsQ0FBQyxDQUFDO0tBQ2xCO0FBQ0gsQ0FBQztBQVZELGdDQVVDIn0= |
@@ -10,3 +10,3 @@ { | ||
}, | ||
"version": "3.0.1-alpha.0", | ||
"version": "4.0.0", | ||
"main": "lib/index.js", | ||
@@ -24,6 +24,6 @@ "scripts": { | ||
"@types/dotenv": "^8.2.0", | ||
"backfill-utils-tsconfig": "^2.0.3", | ||
"backfill-utils-tsconfig": "^4.0.0", | ||
"typescript": "3.7.4" | ||
}, | ||
"gitHead": "b67874e277f5f43c7cf4aa8e4e52565593e8025b" | ||
"gitHead": "895732a868c0d856f623a2e7ce668194a9c162c0" | ||
} |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
3121
5
24