@dotenvx/dotenvx 1.20.0 → 1.20.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
@@ -6,6 +6,13 @@ All notable changes to this project will be documented in this file. See [standa
6
6
 
7
7
  ### Changed
8
8
 
9
+ * update [eciesjs](https://github.com/ecies/js/issues/802) ([#421](https://github.com/dotenvx/dotenvx/pull/421))
10
+ * remove default values for ts interface - no longer permitted by latest ts ([#419](https://github.com/dotenvx/dotenvx/pull/419))
11
+
12
+ ## 1.20.0
13
+
14
+ ### Changed
15
+
9
16
  * respect `process.env.DOTENV_PRIVATE_KEY` and/or `process.env.DOTENV_PUBLIC_KEY` on `set` ([#401](https://github.com/dotenvx/dotenvx/pull/401))
10
17
  * respect `process.env.DOTENV_PRIVATE_KEY` and/or `process.env.DOTENV_PUBLIC_KEY` on `encrypt` ([#411](https://github.com/dotenvx/dotenvx/pull/411))
11
18
  * respect `process.env.DOTENV_PRIVATE_KEY` on `decrypt` ([#412](https://github.com/dotenvx/dotenvx/pull/412))
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.20.0",
2
+ "version": "1.20.1",
3
3
  "name": "@dotenvx/dotenvx",
4
4
  "description": "a better dotenv–from the creator of `dotenv`",
5
5
  "author": "@motdotla",
@@ -38,7 +38,7 @@
38
38
  "dependencies": {
39
39
  "commander": "^11.1.0",
40
40
  "dotenv": "^16.4.5",
41
- "eciesjs": "^0.4.6",
41
+ "eciesjs": "^0.4.10",
42
42
  "execa": "^5.1.1",
43
43
  "fdir": "^6.2.0",
44
44
  "ignore": "^5.3.0",
package/src/lib/main.d.ts CHANGED
@@ -203,10 +203,10 @@ export function ls(
203
203
  */
204
204
  export function get(
205
205
  key?: string,
206
- envs: string[] = [],
207
- overload = false,
208
- DOTENV_KEY = '',
209
- all = false
206
+ envs?: string[],
207
+ overload?: boolean,
208
+ DOTENV_KEY?: string,
209
+ all?: boolean
210
210
  ): Record<string, string | undefined> | string | undefined;
211
211
 
212
212
  export type SetOutput = {