Skip to content

Commit de5df2a

Browse files
authored
fix release script esm error on node 20 (#5368)
* use old version of dependency instead of vendoring
1 parent 3bff850 commit de5df2a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
"@msgpack/msgpack": "^3.0.0-beta3",
126126
"@stylistic/eslint-plugin-js": "^3.0.1",
127127
"@types/node": "^16.0.0",
128-
"application-config-path": "^1.0.0",
128+
"application-config-path": "^0.1.1",
129129
"autocannon": "^4.5.2",
130130
"aws-sdk": "^2.1446.0",
131131
"axios": "^1.8.2",

scripts/release/helpers/requirements.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
const { join } = require('path')
66
const { existsSync, readFileSync } = require('fs')
7-
const { default: getApplicationConfigPath } = require('application-config-path')
7+
const getApplicationConfigPath = require('application-config-path')
88
const { capture, fatal, run } = require('./terminal')
99

1010
// Check that the `git` CLI is installed.

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,10 +1084,10 @@ append-transform@^2.0.0:
10841084
dependencies:
10851085
default-require-extensions "^3.0.0"
10861086

1087-
application-config-path@^1.0.0:
1088-
version "1.0.0"
1089-
resolved "https://registry.yarnpkg.com/application-config-path/-/application-config-path-1.0.0.tgz#9c25b8c00ac9a342db27275abd3f38c67bbe5a05"
1090-
integrity sha512-6ZDlLTlfqrTybVzZJDpX2K2ZufqyMyiTbOG06GpxmkmczFgTN+YYRGcTcMCXv/F5P5SrZijVjzzpPUE9BvheLg==
1087+
application-config-path@^0.1.1:
1088+
version "0.1.1"
1089+
resolved "https://registry.yarnpkg.com/application-config-path/-/application-config-path-0.1.1.tgz#8b5ac64ff6afdd9bd70ce69f6f64b6998f5f756e"
1090+
integrity sha512-zy9cHePtMP0YhwG+CfHm0bgwdnga2X3gZexpdCwEj//dpb+TKajtiC8REEUJUSq6Ab4f9cgNy2l8ObXzCXFkEw==
10911091

10921092
archy@^1.0.0:
10931093
version "1.0.0"

0 commit comments

Comments
 (0)