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';
2
2
import { promises as fs } from 'node:fs' ;
3
3
4
4
import semver from 'semver' ;
5
- import replace from 'replace-in-file' ;
5
+ import { replaceInFile } from 'replace-in-file' ;
6
6
7
7
import { getMergedConfig } from './config.js' ;
8
8
import { runAsync , runSync } from './run.js' ;
@@ -427,7 +427,7 @@ export default class ReleasePreparation {
427
427
async updateREPLACEMEs ( ) {
428
428
const { newVersion } = this ;
429
429
430
- await replace ( {
430
+ await replaceInFile ( {
431
431
files : 'doc/api/*.md' ,
432
432
from : / R E P L A C E M E / g,
433
433
to : `v${ newVersion } `
Original file line number Diff line number Diff line change 34
34
],
35
35
"license" : " MIT" ,
36
36
"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 " ,
39
39
"@pkgjs/nv" : " ^0.2.2" ,
40
40
"branch-diff" : " ^3.0.4" ,
41
41
"chalk" : " ^5.3.0" ,
44
44
"clipboardy" : " ^4.0.0" ,
45
45
"core-validate-commit" : " ^4.0.0" ,
46
46
"figures" : " ^6.1.0" ,
47
- "ghauth" : " ^6.0.4 " ,
48
- "inquirer" : " ^9.2.22 " ,
47
+ "ghauth" : " ^6.0.5 " ,
48
+ "inquirer" : " ^9.3.2 " ,
49
49
"js-yaml" : " ^4.1.0" ,
50
- "listr2" : " ^8.2.1 " ,
50
+ "listr2" : " ^8.2.3 " ,
51
51
"lodash" : " ^4.17.21" ,
52
52
"log-symbols" : " ^6.0.0" ,
53
53
"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 " ,
56
56
"which" : " ^4.0.0" ,
57
57
"yargs" : " ^17.7.2"
58
58
},
59
59
"devDependencies" : {
60
60
"@reporters/github" : " ^1.7.0" ,
61
- "c8" : " ^9 .1.0 " ,
61
+ "c8" : " ^10 .1.2 " ,
62
62
"eslint" : " ^8.57.0" ,
63
63
"eslint-config-standard" : " ^17.1.0" ,
64
64
"eslint-plugin-import" : " ^2.29.1" ,
65
65
"eslint-plugin-n" : " ^16.6.2" ,
66
- "eslint-plugin-promise" : " ^6.1.1 " ,
66
+ "eslint-plugin-promise" : " ^6.4.0 " ,
67
67
"sinon" : " ^18.0.0"
68
68
}
69
69
}
You can’t perform that action at this time.
0 commit comments