@karmaniverous/get-dotenv 4.5.1 → 4.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32463,14 +32463,14 @@ const getDotenvCliOptions2Options = ({ paths, pathsDelimiter, pathsDelimiterPatt
32463
32463
  ..._.omit(rest, ['debug', 'scripts']),
32464
32464
  paths: paths?.split(pathsDelimiterPattern
32465
32465
  ? RegExp(pathsDelimiterPattern)
32466
- : pathsDelimiter ?? ' ') ?? [],
32466
+ : (pathsDelimiter ?? ' ')) ?? [],
32467
32467
  vars: _.fromPairs(vars
32468
32468
  ?.split(varsDelimiterPattern
32469
32469
  ? RegExp(varsDelimiterPattern)
32470
- : varsDelimiter ?? ' ')
32470
+ : (varsDelimiter ?? ' '))
32471
32471
  .map((v) => v.split(varsAssignorPattern
32472
32472
  ? RegExp(varsAssignorPattern)
32473
- : varsAssignor ?? '='))),
32473
+ : (varsAssignor ?? '=')))),
32474
32474
  });
32475
32475
  const resolveGetDotenvOptions = async (customOptions) => {
32476
32476
  const localPkgDir = await packageDirectory();
@@ -33035,7 +33035,7 @@ const getDotenv = async (options = {}) => {
33035
33035
 
33036
33036
  const resolveCommand = (scripts, command) => (scripts && _.isObject(scripts[command])
33037
33037
  ? scripts[command].cmd
33038
- : scripts?.[command] ?? command);
33038
+ : (scripts?.[command] ?? command));
33039
33039
  const resolveShell = (scripts, command, shell) => scripts && _.isObject(scripts[command])
33040
33040
  ? // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
33041
33041
  scripts[command].shell
package/dist/index.cjs CHANGED
@@ -32464,14 +32464,14 @@ const getDotenvCliOptions2Options = ({ paths, pathsDelimiter, pathsDelimiterPatt
32464
32464
  ..._.omit(rest, ['debug', 'scripts']),
32465
32465
  paths: paths?.split(pathsDelimiterPattern
32466
32466
  ? RegExp(pathsDelimiterPattern)
32467
- : pathsDelimiter ?? ' ') ?? [],
32467
+ : (pathsDelimiter ?? ' ')) ?? [],
32468
32468
  vars: _.fromPairs(vars
32469
32469
  ?.split(varsDelimiterPattern
32470
32470
  ? RegExp(varsDelimiterPattern)
32471
- : varsDelimiter ?? ' ')
32471
+ : (varsDelimiter ?? ' '))
32472
32472
  .map((v) => v.split(varsAssignorPattern
32473
32473
  ? RegExp(varsAssignorPattern)
32474
- : varsAssignor ?? '='))),
32474
+ : (varsAssignor ?? '=')))),
32475
32475
  });
32476
32476
  const resolveGetDotenvOptions = async (customOptions) => {
32477
32477
  const localPkgDir = await packageDirectory();
@@ -33036,7 +33036,7 @@ const getDotenv = async (options = {}) => {
33036
33036
 
33037
33037
  const resolveCommand = (scripts, command) => (scripts && _.isObject(scripts[command])
33038
33038
  ? scripts[command].cmd
33039
- : scripts?.[command] ?? command);
33039
+ : (scripts?.[command] ?? command));
33040
33040
  const resolveShell = (scripts, command, shell) => scripts && _.isObject(scripts[command])
33041
33041
  ? // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
33042
33042
  scripts[command].shell
package/dist/index.mjs CHANGED
@@ -32462,14 +32462,14 @@ const getDotenvCliOptions2Options = ({ paths, pathsDelimiter, pathsDelimiterPatt
32462
32462
  ..._.omit(rest, ['debug', 'scripts']),
32463
32463
  paths: paths?.split(pathsDelimiterPattern
32464
32464
  ? RegExp(pathsDelimiterPattern)
32465
- : pathsDelimiter ?? ' ') ?? [],
32465
+ : (pathsDelimiter ?? ' ')) ?? [],
32466
32466
  vars: _.fromPairs(vars
32467
32467
  ?.split(varsDelimiterPattern
32468
32468
  ? RegExp(varsDelimiterPattern)
32469
- : varsDelimiter ?? ' ')
32469
+ : (varsDelimiter ?? ' '))
32470
32470
  .map((v) => v.split(varsAssignorPattern
32471
32471
  ? RegExp(varsAssignorPattern)
32472
- : varsAssignor ?? '='))),
32472
+ : (varsAssignor ?? '=')))),
32473
32473
  });
32474
32474
  const resolveGetDotenvOptions = async (customOptions) => {
32475
32475
  const localPkgDir = await packageDirectory();
@@ -33034,7 +33034,7 @@ const getDotenv = async (options = {}) => {
33034
33034
 
33035
33035
  const resolveCommand = (scripts, command) => (scripts && _.isObject(scripts[command])
33036
33036
  ? scripts[command].cmd
33037
- : scripts?.[command] ?? command);
33037
+ : (scripts?.[command] ?? command));
33038
33038
  const resolveShell = (scripts, command, shell) => scripts && _.isObject(scripts[command])
33039
33039
  ? // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
33040
33040
  scripts[command].shell
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "description": "Process dotenv files in an arbitrary location & optionally populate environment variables.",
21
21
  "devDependencies": {
22
22
  "@commander-js/extra-typings": "^12.1.0",
23
- "@eslint/js": "^9.6.0",
23
+ "@eslint/js": "^9.7.0",
24
24
  "@rollup/plugin-alias": "^5.1.0",
25
25
  "@rollup/plugin-commonjs": "^26.0.1",
26
26
  "@rollup/plugin-json": "^6.1.0",
@@ -32,9 +32,9 @@
32
32
  "@types/eslint-config-prettier": "^6.11.3",
33
33
  "@types/eslint-plugin-mocha": "^10.4.0",
34
34
  "@types/fs-extra": "^11.0.4",
35
- "@types/lodash": "^4.17.6",
35
+ "@types/lodash": "^4.17.7",
36
36
  "@types/mocha": "^10.0.7",
37
- "@types/node": "^20.14.9",
37
+ "@types/node": "^20.14.11",
38
38
  "auto-changelog": "^2.4.0",
39
39
  "chai": "^5.1.1",
40
40
  "cross-env": "^7.0.3",
@@ -45,20 +45,20 @@
45
45
  "eslint-plugin-tsdoc": "^0.2.17",
46
46
  "fs-extra": "^11.2.0",
47
47
  "jsdom-global": "^3.0.2",
48
- "knip": "^5.23.3",
49
- "lefthook": "^1.6.18",
48
+ "knip": "^5.26.0",
49
+ "lefthook": "^1.7.2",
50
50
  "mocha": "^10.6.0",
51
51
  "nyc": "^17.0.0",
52
- "prettier": "^3.3.2",
53
- "release-it": "^17.4.1",
54
- "rimraf": "^5.0.7",
55
- "rollup": "^4.18.0",
52
+ "prettier": "^3.3.3",
53
+ "release-it": "^17.6.0",
54
+ "rimraf": "^5.0.9",
55
+ "rollup": "^4.18.1",
56
56
  "rollup-plugin-dts": "^6.1.1",
57
57
  "source-map-support": "^0.5.21",
58
58
  "ts-node": "^10.9.2",
59
59
  "tslib": "^2.6.3",
60
60
  "typescript": "^5.5.3",
61
- "typescript-eslint": "^7.15.0"
61
+ "typescript-eslint": "^7.16.1"
62
62
  },
63
63
  "exports": {
64
64
  ".": {
@@ -135,5 +135,5 @@
135
135
  },
136
136
  "type": "module",
137
137
  "types": "dist/index.d.ts",
138
- "version": "4.5.1"
138
+ "version": "4.5.2"
139
139
  }