Skip to content

Commit

Permalink
fixed minimatch version to support Nodejs 18
Browse files Browse the repository at this point in the history
  • Loading branch information
cenfun committed Jul 17, 2024
1 parent 2d71aca commit dbf6708
Show file tree
Hide file tree
Showing 7 changed files with 64 additions and 116 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## Changelog

- 2.9.3
- fixed `minimatch` version to support Nodejs 18

- 2.9.2
- supported indexed sourcemaps (#57)

Expand Down
157 changes: 46 additions & 111 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"istanbul-lib-report": "^3.0.1",
"istanbul-reports": "^3.1.7",
"lz-utils": "^2.0.2",
"minimatch": "^10.0.1",
"minimatch": "9.0.5",
"monocart-code-viewer": "^1.1.4",
"monocart-formatter": "^3.0.0",
"monocart-locator": "^1.0.2",
Expand All @@ -109,4 +109,4 @@
"tsx": "^4.16.2",
"ws": "^8.18.0"
}
}
}
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
},
"devDependencies": {
"async-tick": "^1.0.0",
"vine-ui": "^3.1.15"
"vine-ui": "^3.1.16"
}
}
4 changes: 4 additions & 0 deletions packages/vendor/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import parseCss from 'postcss/lib/parse';

import WebSocket from 'ws';

import { minimatch } from 'minimatch';

import { findUpSync } from 'find-up';

import supportsColor from 'supports-color';
Expand All @@ -16,6 +18,8 @@ export {

WebSocket,

minimatch,

findUpSync,

supportsColor
Expand Down
6 changes: 6 additions & 0 deletions scripts/conf.cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ module.exports = {
enable: 'lint + build'
},

outdate: {
exclude: [
'minimatch'
]
},

build: {

vendors: ['common', 'app'],
Expand Down
4 changes: 2 additions & 2 deletions test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"koa-static-resolver": "^1.0.6",
"mocha": "^10.6.0",
"open": "^10.1.0",
"playwright": "^1.45.1",
"puppeteer": "^22.13.0",
"playwright": "^1.45.2",
"puppeteer": "^22.13.1",
"rollup": "^4.18.1",
"swc-loader": "^0.2.6",
"ts-loader": "^9.5.1",
Expand Down

0 comments on commit dbf6708

Please sign in to comment.