Browse Source

chore: update dependency open to v9 (#41765)

* Revert "Revert "chore(deps): update dependency open to v9 (#41714)" (#41723)"

This reverts commit 6761292bbd.

* scripts: use open#esm in changelog script

* fix: revert some changes
pull/41780/head
vagusX 2 years ago
committed by GitHub
parent
commit
0991bf3fe9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      package.json
  2. 3
      scripts/print-changelog.js

2
package.json

@ -246,7 +246,7 @@
"lz-string": "^1.4.4",
"mockdate": "^3.0.0",
"node-notifier": "^10.0.1",
"open": "^8.4.2",
"open": "^9.0.0",
"prettier": "^2.3.2",
"prettier-plugin-jsdoc": "^0.4.2",
"pretty-format": "^29.0.0",

3
scripts/print-changelog.js

@ -4,7 +4,6 @@ const { spawn } = require('child_process');
const jsdom = require('jsdom');
const jQuery = require('jquery');
const fetch = require('isomorphic-fetch');
const open = require('open');
const fs = require('fs-extra');
const path = require('path');
const simpleGit = require('simple-git');
@ -277,6 +276,8 @@ async function printLog() {
});
console.log(chalk.green('Start changelog preview editor...'));
const { default: open } = await import('open');
setTimeout(() => {
open('http://localhost:2893/');
}, 1000);

Loading…
Cancel
Save