Merge pull request #1151 from napi-rs/upgrade-dependencies

chore: upgrade dependencies
This commit is contained in:
LongYinan 2022-04-27 12:03:13 +08:00 committed by GitHub
commit 46e12eaa52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 485 additions and 390 deletions

View file

@ -46,7 +46,7 @@
"@types/lodash-es": "^4.17.6", "@types/lodash-es": "^4.17.6",
"clipanion": "^3.1.0", "clipanion": "^3.1.0",
"colorette": "^2.0.16", "colorette": "^2.0.16",
"core-js": "^3.21.1", "core-js": "^3.22.2",
"debug": "^4.3.4", "debug": "^4.3.4",
"env-paths": "^3.0.0", "env-paths": "^3.0.0",
"fdir": "^5.2.0", "fdir": "^5.2.0",
@ -54,8 +54,8 @@
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",
"lodash-es": "4.17.21", "lodash-es": "4.17.21",
"toml": "^3.0.0", "toml": "^3.0.0",
"tslib": "^2.3.1", "tslib": "^2.4.0",
"typanion": "^3.7.1" "typanion": "^3.8.0"
}, },
"funding": { "funding": {
"type": "github", "type": "github",

View file

@ -73,7 +73,7 @@ optional = true
version = "1" version = "1"
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
windows = { version = "0.34", features = [ windows = { version = "0.35", features = [
"Win32_System_WindowsProgramming", "Win32_System_WindowsProgramming",
"Win32_System_LibraryLoader", "Win32_System_LibraryLoader",
"Win32_Foundation", "Win32_Foundation",

View file

@ -13,7 +13,7 @@
"build-release": "node ../../cli/scripts/index.js build --js false --release" "build-release": "node ../../cli/scripts/index.js build --js false --release"
}, },
"dependencies": { "dependencies": {
"@types/lodash": "^4.14.181", "@types/lodash": "^4.14.182",
"lodash": "^4.17.21" "lodash": "^4.17.21"
} }
} }

View file

@ -8,10 +8,10 @@
"dependencies": { "dependencies": {
"colorette": "^2.0.16", "colorette": "^2.0.16",
"dockerode": "^3.3.1", "dockerode": "^3.3.1",
"pretty-bytes": "^5.6.0", "pretty-bytes": "^6.0.0",
"table": "^6.8.0" "table": "^6.8.0"
}, },
"devDependencies": { "devDependencies": {
"@types/dockerode": "^3.3.6" "@types/dockerode": "^3.3.8"
} }
} }

View file

@ -71,38 +71,38 @@
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-alias": "^3.1.9", "@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-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3", "@rollup/plugin-node-resolve": "^13.2.1",
"@rollup/plugin-replace": "^4.0.0", "@rollup/plugin-replace": "^4.0.0",
"@taplo/cli": "^0.3.2", "@taplo/cli": "^0.3.2",
"@types/debug": "^4.1.7", "@types/debug": "^4.1.7",
"@types/lodash-es": "^4.17.6", "@types/lodash-es": "^4.17.6",
"@types/node": "^17.0.23", "@types/node": "^17.0.27",
"@types/sinon": "^10.0.11", "@types/sinon": "^10.0.11",
"@typescript-eslint/eslint-plugin": "^5.17.0", "@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.17.0", "@typescript-eslint/parser": "^5.21.0",
"ava": "^4.1.0", "ava": "^4.2.0",
"benny": "^3.7.1", "benny": "^3.7.1",
"c8": "^7.11.0", "c8": "^7.11.2",
"colorette": "^2.0.16", "colorette": "^2.0.16",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"esbuild": "^0.14.29", "esbuild": "^0.14.38",
"eslint": "^8.12.0", "eslint": "^8.14.0",
"eslint-config-prettier": "^8.5.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", "eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4", "husky": "^7.0.4",
"lerna": "^4.0.0", "lerna": "^4.0.0",
"lint-staged": "^12.3.7", "lint-staged": "^12.4.1",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"prettier": "^2.6.1", "prettier": "^2.6.2",
"rollup": "^2.70.1", "rollup": "^2.70.2",
"shx": "^0.3.4", "shx": "^0.3.4",
"sinon": "^13.0.1", "sinon": "^13.0.2",
"source-map-support": "^0.5.21", "source-map-support": "^0.5.21",
"ts-node": "^10.7.0", "ts-node": "^10.7.0",
"tslib": "^2.3.1", "tslib": "^2.4.0",
"typescript": "^4.6.3" "typescript": "^4.6.3"
}, },
"packageManager": "yarn@3.2.0" "packageManager": "yarn@3.2.0"

View file

@ -49,15 +49,20 @@ export default {
NAPI_VERSION, NAPI_VERSION,
NAPI_DERIVE_VERSION, NAPI_DERIVE_VERSION,
NAPI_BUILD_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:path': 'path',
'node:os': 'os', 'node:os': 'os',
'node:process': 'process', 'node:process': 'process',
'node:tty': 'tty',
preventAssignment: true, preventAssignment: true,
}), }),
alias({ alias({
entries: [{ find: 'readable-stream', replacement: 'stream' }], entries: [{ find: 'readable-stream', replacement: 'stream' }],
}), }),
nodeResolve({ preferBuiltins: true }), nodeResolve({
preferBuiltins: true,
exportConditions: ['node', 'default', 'module', 'export'],
}),
commonjs(), commonjs(),
json(), json(),
], ],

824
yarn.lock

File diff suppressed because it is too large Load diff