@prosopo/dotenv 3.0.25 → 3.0.27

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @prosopo/dotenv
2
2
 
3
+ ## 3.0.27
4
+ ### Patch Changes
5
+
6
+ - 8ce9205: Change engine requirements
7
+ - b6e98b2: Run npm audit
8
+ - Updated dependencies [8ce9205]
9
+ - Updated dependencies [df79c03]
10
+ - Updated dependencies [b6e98b2]
11
+ - @prosopo/common@3.1.22
12
+ - @prosopo/config@3.1.22
13
+
14
+ ## 3.0.26
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [c9d8fdf]
18
+ - Updated dependencies [b8185a4]
19
+ - @prosopo/common@3.1.21
20
+ - @prosopo/config@3.1.21
21
+
3
22
  ## 3.0.25
4
23
  ### Patch Changes
5
24
 
package/dist/cjs/env.cjs CHANGED
@@ -5,11 +5,12 @@ const path = require("node:path");
5
5
  const node_url = require("node:url");
6
6
  const common = require("@prosopo/common");
7
7
  const dotenv = require("dotenv");
8
- const __filename$1 = node_url.fileURLToPath(module);
8
+ var _documentCurrentScript = typeof document !== "undefined" ? document.currentScript : null;
9
+ const __filename$1 = node_url.fileURLToPath(typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("env.cjs", document.baseURI).href);
9
10
  const __dirname$1 = path.dirname(__filename$1);
10
11
  const logger = common.getLogger(
11
12
  common.parseLogLevel(process.env.PROSOPO_LOG_LEVEL, common.LogLevel.enum.info),
12
- module
13
+ typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("env.cjs", document.baseURI).href
13
14
  );
14
15
  function getEnv() {
15
16
  if (process.env.NODE_ENV) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/dotenv",
3
- "version": "3.0.25",
3
+ "version": "3.0.27",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {
@@ -14,8 +14,8 @@
14
14
  "license": "Apache-2.0",
15
15
  "private": false,
16
16
  "engines": {
17
- "node": "20",
18
- "npm": "10.8.2"
17
+ "node": ">=v20.0.0",
18
+ "npm": ">=10.6.0"
19
19
  },
20
20
  "scripts": {
21
21
  "clean": "del-cli --verbose dist tsconfig.tsbuildinfo",
@@ -27,21 +27,21 @@
27
27
  },
28
28
  "type": "module",
29
29
  "dependencies": {
30
- "@prosopo/common": "3.1.20",
31
- "@prosopo/config": "3.1.20",
30
+ "@prosopo/common": "3.1.22",
31
+ "@prosopo/config": "3.1.22",
32
32
  "dotenv": "16.4.5"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/node": "22.10.2",
36
- "@vitest/coverage-v8": "3.0.9",
36
+ "@vitest/coverage-v8": "3.2.4",
37
37
  "concurrently": "9.0.1",
38
38
  "del-cli": "6.0.0",
39
39
  "npm-run-all": "4.1.5",
40
40
  "tslib": "2.7.0",
41
41
  "tsx": "4.20.3",
42
42
  "typescript": "5.6.2",
43
- "vite": "6.3.5",
44
- "vitest": "3.0.9"
43
+ "vite": "6.4.1",
44
+ "vitest": "3.2.4"
45
45
  },
46
46
  "repository": {
47
47
  "type": "git",