Skip to content

Commit 71f2820

Browse files
authored
chore: update dependencies (#829)
- Update the `replace-in-file` dependency and the `c8` development dependency to their new major versions. - Update all the other dependencies and development dependencies to their latest versions.
1 parent 30b816b commit 71f2820

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

lib/prepare_release.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import path from 'node:path';
22
import { promises as fs } from 'node:fs';
33

44
import semver from 'semver';
5-
import replace from 'replace-in-file';
5+
import { replaceInFile } from 'replace-in-file';
66

77
import { getMergedConfig } from './config.js';
88
import { runAsync, runSync } from './run.js';
@@ -427,7 +427,7 @@ export default class ReleasePreparation {
427427
async updateREPLACEMEs() {
428428
const { newVersion } = this;
429429

430-
await replace({
430+
await replaceInFile({
431431
files: 'doc/api/*.md',
432432
from: /REPLACEME/g,
433433
to: `v${newVersion}`

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
],
3535
"license": "MIT",
3636
"dependencies": {
37-
"@listr2/prompt-adapter-enquirer": "^2.0.8",
38-
"@node-core/caritat": "^1.3.1",
37+
"@listr2/prompt-adapter-enquirer": "^2.0.10",
38+
"@node-core/caritat": "^1.6.0",
3939
"@pkgjs/nv": "^0.2.2",
4040
"branch-diff": "^3.0.4",
4141
"chalk": "^5.3.0",
@@ -44,26 +44,26 @@
4444
"clipboardy": "^4.0.0",
4545
"core-validate-commit": "^4.0.0",
4646
"figures": "^6.1.0",
47-
"ghauth": "^6.0.4",
48-
"inquirer": "^9.2.22",
47+
"ghauth": "^6.0.5",
48+
"inquirer": "^9.3.2",
4949
"js-yaml": "^4.1.0",
50-
"listr2": "^8.2.1",
50+
"listr2": "^8.2.3",
5151
"lodash": "^4.17.21",
5252
"log-symbols": "^6.0.0",
5353
"ora": "^8.0.1",
54-
"replace-in-file": "^7.1.0",
55-
"undici": "^6.18.0",
54+
"replace-in-file": "^8.0.2",
55+
"undici": "^6.19.2",
5656
"which": "^4.0.0",
5757
"yargs": "^17.7.2"
5858
},
5959
"devDependencies": {
6060
"@reporters/github": "^1.7.0",
61-
"c8": "^9.1.0",
61+
"c8": "^10.1.2",
6262
"eslint": "^8.57.0",
6363
"eslint-config-standard": "^17.1.0",
6464
"eslint-plugin-import": "^2.29.1",
6565
"eslint-plugin-n": "^16.6.2",
66-
"eslint-plugin-promise": "^6.1.1",
66+
"eslint-plugin-promise": "^6.4.0",
6767
"sinon": "^18.0.0"
6868
}
6969
}

0 commit comments

Comments
 (0)