@dotenvx/dotenvx-ops 0.30.2 → 0.30.3

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-ops/compare/v0.30.2...main)
5
+ [Unreleased](https://github.com/dotenvx/dotenvx-ops/compare/v0.30.3...main)
6
+
7
+ ## [0.30.3](https://github.com/dotenvx/dotenvx-ops/compare/v0.30.2...v0.30.3) (2026-01-17)
8
+
9
+ ### Changed
10
+
11
+ * Switch to `console.log` ([#21](https://github.com/dotenvx/dotenvx-ops/pull/21) [dotenvx#386](https://github.com/dotenvx/dotenvx/issues/386))
6
12
 
7
13
  ## [0.30.2](https://github.com/dotenvx/dotenvx-ops/compare/v0.30.1...v0.30.2) (2026-01-13)
8
14
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.30.2",
2
+ "version": "0.30.3",
3
3
  "name": "@dotenvx/dotenvx-ops",
4
4
  "description": "production grade dotenvx–with operational primitives",
5
5
  "author": "@motdotla",
@@ -12,7 +12,7 @@ async function get (uri) {
12
12
 
13
13
  try {
14
14
  const value = await main.get(uri, { hostname, token })
15
- process.stdout.write(value)
15
+ console.log(value)
16
16
  } catch (error) {
17
17
  if (error.message) {
18
18
  logger.error(error.message)
@@ -10,7 +10,7 @@ function device () {
10
10
  const sesh = new Session()
11
11
  const devicePublicKey = sesh.devicePublicKey()
12
12
  if (devicePublicKey && devicePublicKey.length > 1) {
13
- process.stdout.write(smartMask(devicePublicKey, options.unmask, 11))
13
+ console.log(smartMask(devicePublicKey, options.unmask, 11))
14
14
  } else {
15
15
  logger.error('missing device. Try generating one with [dotenvx-ops login].')
16
16
  process.exit(1)
@@ -6,7 +6,7 @@ function hostname () {
6
6
  const sesh = new Session()
7
7
  const _hostname = sesh.hostname()
8
8
  if (_hostname && _hostname.length > 1) {
9
- process.stdout.write(_hostname)
9
+ console.log(_hostname)
10
10
  } else {
11
11
  logger.error('missing hostname. Try running [dotenvx-ops login].')
12
12
  process.exit(1)
@@ -7,7 +7,7 @@ function path () {
7
7
  const sesh = new Session()
8
8
  const path = sesh.path()
9
9
  if (path && path.length > 1) {
10
- process.stdout.write(path)
10
+ console.log(path)
11
11
  } else {
12
12
  logger.error('missing path. Try generating one with [dotenvx-ops login].')
13
13
  process.exit(1)
@@ -10,7 +10,7 @@ function token () {
10
10
  const sesh = new Session()
11
11
  const token = sesh.token()
12
12
  if (token && token.length > 1) {
13
- process.stdout.write(smartMask(token, options.unmask, 11))
13
+ console.log(smartMask(token, options.unmask, 11))
14
14
  } else {
15
15
  logger.error('missing token. Try generating one with [dotenvx-ops login].')
16
16
  process.exit(1)
@@ -8,7 +8,7 @@ async function username () {
8
8
  const username = sesh.username()
9
9
 
10
10
  if (username) {
11
- process.stdout.write(username)
11
+ console.log(username)
12
12
  } else {
13
13
  logger.error('login required. Try running [dotenvx-pro login].')
14
14
  process.exit(1)
@@ -7,7 +7,7 @@ async function status () {
7
7
  logger.debug(`options: ${JSON.stringify(options)}`)
8
8
 
9
9
  const { status } = new Status().run()
10
- process.stdout.write(status)
10
+ console.log(status)
11
11
  }
12
12
 
13
13
  module.exports = status