@dotenvx/dotenvx 1.13.0 → 1.13.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,26 +2,42 @@
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.13.0...main)
5
+ ## [Unreleased](https://github.com/dotenvx/dotenvx/compare/v1.13.1...main)
6
+
7
+ ## 1.13.1
8
+
9
+ ### Added
10
+
11
+ * expose `logger` and `setLogLevel` to `lib/main.js` - `const = { logger, setLogLevel } = require('@dotenvx/dotenvx')` ([#368](https://github.com/dotenvx/dotenvx/pull/368))
6
12
 
7
13
  ## 1.13.0
8
14
 
15
+ ### Changed
16
+
9
17
  * move `ls` to core commands ([#367](https://github.com/dotenvx/dotenvx/pull/367))
10
18
 
11
19
  ## 1.12.1
12
20
 
21
+ ### Changed
22
+
13
23
  * return without quotations for `dotenvx get --format shell` ([#366](https://github.com/dotenvx/dotenvx/pull/366))
14
24
 
15
25
  ## 1.12.0
16
26
 
27
+ ### Added
28
+
17
29
  * add `dotenvx get --format shell` option ([#363](https://github.com/dotenvx/dotenvx/pull/363))
18
30
 
19
31
  ## 1.11.5
20
32
 
33
+ ### Changed
34
+
21
35
  * revert `tinyexec` for `execa` - to support usage in bun
22
36
 
23
37
  ## 1.11.4
24
38
 
39
+ ### Changed
40
+
25
41
  * bump `tinyexec` and add postrelease-bunx check ([#362](https://github.com/dotenvx/dotenvx/pull/362))
26
42
 
27
43
  ## 1.11.3
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.13.0",
2
+ "version": "1.13.1",
3
3
  "name": "@dotenvx/dotenvx",
4
4
  "description": "a better dotenv–from the creator of `dotenv`",
5
5
  "author": "@motdotla",
package/src/lib/main.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // @ts-check
2
2
  const path = require('path')
3
- const { logger } = require('./../shared/logger')
3
+ const { setLogLevel, logger } = require('./../shared/logger')
4
4
  const dotenv = require('dotenv')
5
5
 
6
6
  // services
@@ -15,7 +15,6 @@ const Genexample = require('./services/genexample')
15
15
  // helpers
16
16
  const conventions = require('./helpers/conventions')
17
17
  const dotenvOptionPaths = require('./helpers/dotenvOptionPaths')
18
- const { setLogLevel } = require('../shared/logger')
19
18
 
20
19
  // proxies to dotenv
21
20
 
@@ -219,5 +218,8 @@ module.exports = {
219
218
  ls,
220
219
  get,
221
220
  set,
222
- genexample
221
+ genexample,
222
+ // expose for libs depending on @dotenvx/dotenvx
223
+ setLogLevel,
224
+ logger
223
225
  }