@dotenvx/dotenvx 1.57.1 → 1.57.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.
package/CHANGELOG.md CHANGED
@@ -2,7 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
- [Unreleased](https://github.com/dotenvx/dotenvx/compare/v1.57.1...main)
5
+ [Unreleased](https://github.com/dotenvx/dotenvx/compare/v1.57.2...main)
6
+
7
+ ## [1.57.2](https://github.com/dotenvx/dotenvx/compare/v1.57.1...v1.57.2) (2026-03-22)
8
+
9
+ ### Changes
10
+
11
+ * Ran `npm audit` to update package-lock.json ([#763](https://github.com/dotenvx/dotenvx/pull/763))
6
12
 
7
13
  ## [1.57.1](https://github.com/dotenvx/dotenvx/compare/v1.57.0...v1.57.1) (2026-03-21)
8
14
 
package/README.md CHANGED
@@ -42,7 +42,6 @@ dotenvx help
42
42
   
43
43
 
44
44
  </details>
45
-
46
45
  <details><summary>with curl 🌐</summary><br>
47
46
 
48
47
  ```sh
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.57.1",
2
+ "version": "1.57.2",
3
3
  "name": "@dotenvx/dotenvx",
4
4
  "description": "a secure dotenv–from the creator of `dotenv`",
5
5
  "author": "@motdotla",
@@ -1,25 +1,9 @@
1
1
  const path = require('path')
2
- const fs = require('fs')
3
2
  const childProcess = require('child_process')
4
3
  const { logger } = require('../../shared/logger')
5
4
 
6
5
  function installCommandForOps () {
7
- const userAgent = process.env.npm_config_user_agent || ''
8
- if (userAgent.startsWith('pnpm/')) return 'pnpm add -g @dotenvx/dotenvx-ops'
9
- if (userAgent.startsWith('yarn/')) return 'yarn global add @dotenvx/dotenvx-ops'
10
- if (userAgent.startsWith('npm/')) return 'npm i -g @dotenvx/dotenvx-ops'
11
-
12
- const cwd = process.cwd()
13
- if (fs.existsSync(path.join(cwd, 'pnpm-lock.yaml'))) return 'pnpm add -g @dotenvx/dotenvx-ops'
14
- if (fs.existsSync(path.join(cwd, 'yarn.lock'))) return 'yarn global add @dotenvx/dotenvx-ops'
15
- if (
16
- fs.existsSync(path.join(cwd, 'package-lock.json')) ||
17
- fs.existsSync(path.join(cwd, 'npm-shrinkwrap.json'))
18
- ) return 'npm i -g @dotenvx/dotenvx-ops'
19
-
20
- if (fs.existsSync(path.join(cwd, 'package.json'))) return 'npm i -g @dotenvx/dotenvx-ops'
21
-
22
- return 'curl -sfS https://dotenvx.sh/ops | sh'
6
+ return 'npm i -g @dotenvx/dotenvx-ops'
23
7
  }
24
8
 
25
9
  function opsBanner (installCommand) {