@dotenvx/dotenvx 1.16.0 → 1.16.1

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.16.0...main)
5
+ ## [Unreleased](https://github.com/dotenvx/dotenvx/compare/v1.16.1...main)
6
+
7
+ ## 1.16.1
8
+
9
+ ### Changed
10
+
11
+ * suppress stderr using `options.stdio` ([#391](https://github.com/dotenvx/dotenvx/pull/391))
6
12
 
7
13
  ## 1.16.0
8
14
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.16.0",
2
+ "version": "1.16.1",
3
3
  "name": "@dotenvx/dotenvx",
4
4
  "description": "a better dotenv–from the creator of `dotenv`",
5
5
  "author": "@motdotla",
@@ -286,7 +286,7 @@ class Run {
286
286
  } catch (_e) {
287
287
  try {
288
288
  // if installed as binary cli
289
- privateKey = childProcess.execSync(`dotenvx-pro keypair ${privateKeyName} -f ${envFilepath} 2>/dev/null`).toString().trim()
289
+ privateKey = childProcess.execSync(`dotenvx-pro keypair ${privateKeyName} -f ${envFilepath}`, { stdio: ['pipe', 'pipe', 'ignore'] }).toString().trim()
290
290
  } catch (_e) {
291
291
  // fallback to local KeyPair - smart enough to handle process.env, .env.keys, etc
292
292
  privateKey = new Keypair(envFilepath, privateKeyName).run()