Merge pull request #1151 from napi-rs/upgrade-dependencies
chore: upgrade dependencies
This commit is contained in:
commit
46e12eaa52
7 changed files with 485 additions and 390 deletions
|
@ -46,7 +46,7 @@
|
|||
"@types/lodash-es": "^4.17.6",
|
||||
"clipanion": "^3.1.0",
|
||||
"colorette": "^2.0.16",
|
||||
"core-js": "^3.21.1",
|
||||
"core-js": "^3.22.2",
|
||||
"debug": "^4.3.4",
|
||||
"env-paths": "^3.0.0",
|
||||
"fdir": "^5.2.0",
|
||||
|
@ -54,8 +54,8 @@
|
|||
"js-yaml": "^4.1.0",
|
||||
"lodash-es": "4.17.21",
|
||||
"toml": "^3.0.0",
|
||||
"tslib": "^2.3.1",
|
||||
"typanion": "^3.7.1"
|
||||
"tslib": "^2.4.0",
|
||||
"typanion": "^3.8.0"
|
||||
},
|
||||
"funding": {
|
||||
"type": "github",
|
||||
|
|
|
@ -73,7 +73,7 @@ optional = true
|
|||
version = "1"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
windows = { version = "0.34", features = [
|
||||
windows = { version = "0.35", features = [
|
||||
"Win32_System_WindowsProgramming",
|
||||
"Win32_System_LibraryLoader",
|
||||
"Win32_Foundation",
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"build-release": "node ../../cli/scripts/index.js build --js false --release"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/lodash": "^4.14.181",
|
||||
"@types/lodash": "^4.14.182",
|
||||
"lodash": "^4.17.21"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
"dependencies": {
|
||||
"colorette": "^2.0.16",
|
||||
"dockerode": "^3.3.1",
|
||||
"pretty-bytes": "^5.6.0",
|
||||
"pretty-bytes": "^6.0.0",
|
||||
"table": "^6.8.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/dockerode": "^3.3.6"
|
||||
"@types/dockerode": "^3.3.8"
|
||||
}
|
||||
}
|
||||
|
|
30
package.json
30
package.json
|
@ -71,38 +71,38 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-alias": "^3.1.9",
|
||||
"@rollup/plugin-commonjs": "^21.0.3",
|
||||
"@rollup/plugin-commonjs": "^22.0.0",
|
||||
"@rollup/plugin-json": "^4.1.0",
|
||||
"@rollup/plugin-node-resolve": "^13.1.3",
|
||||
"@rollup/plugin-node-resolve": "^13.2.1",
|
||||
"@rollup/plugin-replace": "^4.0.0",
|
||||
"@taplo/cli": "^0.3.2",
|
||||
"@types/debug": "^4.1.7",
|
||||
"@types/lodash-es": "^4.17.6",
|
||||
"@types/node": "^17.0.23",
|
||||
"@types/node": "^17.0.27",
|
||||
"@types/sinon": "^10.0.11",
|
||||
"@typescript-eslint/eslint-plugin": "^5.17.0",
|
||||
"@typescript-eslint/parser": "^5.17.0",
|
||||
"ava": "^4.1.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.21.0",
|
||||
"@typescript-eslint/parser": "^5.21.0",
|
||||
"ava": "^4.2.0",
|
||||
"benny": "^3.7.1",
|
||||
"c8": "^7.11.0",
|
||||
"c8": "^7.11.2",
|
||||
"colorette": "^2.0.16",
|
||||
"cross-env": "^7.0.3",
|
||||
"esbuild": "^0.14.29",
|
||||
"eslint": "^8.12.0",
|
||||
"esbuild": "^0.14.38",
|
||||
"eslint": "^8.14.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-import": "^2.25.4",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"husky": "^7.0.4",
|
||||
"lerna": "^4.0.0",
|
||||
"lint-staged": "^12.3.7",
|
||||
"lint-staged": "^12.4.1",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"prettier": "^2.6.1",
|
||||
"rollup": "^2.70.1",
|
||||
"prettier": "^2.6.2",
|
||||
"rollup": "^2.70.2",
|
||||
"shx": "^0.3.4",
|
||||
"sinon": "^13.0.1",
|
||||
"sinon": "^13.0.2",
|
||||
"source-map-support": "^0.5.21",
|
||||
"ts-node": "^10.7.0",
|
||||
"tslib": "^2.3.1",
|
||||
"tslib": "^2.4.0",
|
||||
"typescript": "^4.6.3"
|
||||
},
|
||||
"packageManager": "yarn@3.2.0"
|
||||
|
|
|
@ -49,15 +49,20 @@ export default {
|
|||
NAPI_VERSION,
|
||||
NAPI_DERIVE_VERSION,
|
||||
NAPI_BUILD_VERSION,
|
||||
// Do not external `node:xx` because we need to replace it with `xx` to compatible with `node@12`
|
||||
'node:path': 'path',
|
||||
'node:os': 'os',
|
||||
'node:process': 'process',
|
||||
'node:tty': 'tty',
|
||||
preventAssignment: true,
|
||||
}),
|
||||
alias({
|
||||
entries: [{ find: 'readable-stream', replacement: 'stream' }],
|
||||
}),
|
||||
nodeResolve({ preferBuiltins: true }),
|
||||
nodeResolve({
|
||||
preferBuiltins: true,
|
||||
exportConditions: ['node', 'default', 'module', 'export'],
|
||||
}),
|
||||
commonjs(),
|
||||
json(),
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue