@dotenvx/dotenvx-ops 0.29.2 → 0.29.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.29.2...main)
5
+ [Unreleased](https://github.com/dotenvx/dotenvx-ops/compare/v0.29.3...main)
6
+
7
+ ## [0.29.3](https://github.com/dotenvx/dotenvx-ops/compare/v0.29.2...v0.29.3) (2026-01-07)
8
+
9
+ ### Changed
10
+
11
+ * Patch `sha256File` method signature
6
12
 
7
13
  ## [0.29.2](https://github.com/dotenvx/dotenvx-ops/compare/v0.29.1...v0.29.2) (2026-01-07)
8
14
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.29.2",
2
+ "version": "0.29.3",
3
3
  "name": "@dotenvx/dotenvx-ops",
4
4
  "description": "production grade dotenvx–with operational primitives",
5
5
  "author": "@motdotla",
@@ -8,7 +8,6 @@ const clipboardy = require('./../../lib/helpers/clipboardy')
8
8
  const confirm = require('./../../lib/helpers/confirm')
9
9
  const formatCode = require('./../../lib/helpers/formatCode')
10
10
  const truncate = require('./../../lib/helpers/truncate')
11
- const sha256File = require('./../../lib/helpers/sha256File')
12
11
 
13
12
  const LoggedIn = require('./../../lib/services/loggedIn')
14
13
  const Login = require('./../../lib/services/login')
@@ -64,7 +63,7 @@ async function backup () {
64
63
 
65
64
  // write .env.x
66
65
  if (projectEnvXFileNeedsWrite) {
67
- logger.debug(`writing .env.x`)
66
+ logger.debug('writing .env.x')
68
67
  fs.writeFileSync('.env.x', projectEnvXSrc, 'utf8')
69
68
  }
70
69
 
@@ -43,7 +43,7 @@ class PostBackup {
43
43
  device_public_key: devicePublicKey,
44
44
  encoded,
45
45
  dotenvx_project_id: dotenvxProjectId,
46
- org: org,
46
+ org,
47
47
  backedup_at: backedupAt,
48
48
  pwd,
49
49
  git_url: gitUrl,
@@ -1,7 +1,7 @@
1
1
  const fs = require('fs')
2
2
  const crypto = require('crypto')
3
3
 
4
- function sha256File (word, count) {
4
+ function sha256File (filepath) {
5
5
  const buf = fs.readFileSync(filepath)
6
6
  return crypto.createHash('sha256').update(buf).digest('hex')
7
7
  }