File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import path from 'node:path';
22import { promises as fs } from 'node:fs' ;
33
44import semver from 'semver' ;
5- import replace from 'replace-in-file' ;
5+ import { replaceInFile } from 'replace-in-file' ;
66
77import { getMergedConfig } from './config.js' ;
88import { 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 : / R E P L A C E M E / g,
433433 to : `v${ newVersion } `
Original file line number Diff line number Diff line change 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" ,
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}
You can’t perform that action at this time.
0 commit comments