Fix crash in GraalVM (#44176)
Refs: - https://github.com/oracle/graal/issues/5581 - https://github.com/oracle/graal/issues/5582 - https://github.com/napi-rs/napi-rs/issues/1392
This commit is contained in:
parent
7368b6f9e6
commit
38165640fd
6 changed files with 37 additions and 22 deletions
2
.github/workflows/build_test_deploy.yml
vendored
2
.github/workflows/build_test_deploy.yml
vendored
|
@ -7,7 +7,7 @@ on:
|
|||
name: Build, test, and deploy
|
||||
|
||||
env:
|
||||
NAPI_CLI_VERSION: 2.12.0
|
||||
NAPI_CLI_VERSION: 2.13.3
|
||||
TURBO_VERSION: 1.6.3
|
||||
RUST_TOOLCHAIN: nightly-2022-11-04
|
||||
PNPM_VERSION: 7.3.0
|
||||
|
|
2
.github/workflows/pull_request_stats.yml
vendored
2
.github/workflows/pull_request_stats.yml
vendored
|
@ -5,7 +5,7 @@ on:
|
|||
name: Generate Pull Request Stats
|
||||
|
||||
env:
|
||||
NAPI_CLI_VERSION: 2.12.0
|
||||
NAPI_CLI_VERSION: 2.13.3
|
||||
TURBO_VERSION: 1.6.3
|
||||
RUST_TOOLCHAIN: nightly-2022-11-04
|
||||
PNPM_VERSION: 7.3.0
|
||||
|
|
37
packages/next-swc/Cargo.lock
generated
37
packages/next-swc/Cargo.lock
generated
|
@ -461,6 +461,15 @@ version = "0.5.0"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "fb4a24b1aaf0fd0ce8b45161144d6f42cd91677fd5940fd431183eb023b3a2b8"
|
||||
|
||||
[[package]]
|
||||
name = "convert_case"
|
||||
version = "0.6.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca"
|
||||
dependencies = [
|
||||
"unicode-segmentation",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "core-foundation"
|
||||
version = "0.9.3"
|
||||
|
@ -2042,7 +2051,7 @@ version = "0.25.10"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b964a7316f3ff748c1893d59e0de29cb1cfad73222de8cf49ddce9a2e443dc18"
|
||||
dependencies = [
|
||||
"convert_case",
|
||||
"convert_case 0.5.0",
|
||||
"handlebars",
|
||||
"once_cell",
|
||||
"regex",
|
||||
|
@ -2064,9 +2073,9 @@ checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389"
|
|||
|
||||
[[package]]
|
||||
name = "napi"
|
||||
version = "2.10.1"
|
||||
version = "2.10.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "466b16c759694cb07fbb023b0bde55afcc2ae35e8c0264b070c86a3e9a18cb6c"
|
||||
checksum = "a967e17e9ba4e015a7bf9b92f90aa8dc321c6d913f6a6d2afd5b66a8ab36fc81"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"bitflags",
|
||||
|
@ -2087,11 +2096,11 @@ checksum = "882a73d9ef23e8dc2ebbffb6a6ae2ef467c0f18ac10711e4cc59c5485d41df0e"
|
|||
|
||||
[[package]]
|
||||
name = "napi-derive"
|
||||
version = "2.9.1"
|
||||
version = "2.9.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "39f3d8b02ef355898ea98f69082d9a183c8701c836942c2daf3e92364e88a0fa"
|
||||
checksum = "af4e44e34e70aa61be9036ae652e27c20db5bca80e006be0f482419f6601352a"
|
||||
dependencies = [
|
||||
"convert_case",
|
||||
"convert_case 0.6.0",
|
||||
"napi-derive-backend",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
@ -2100,11 +2109,11 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "napi-derive-backend"
|
||||
version = "1.0.38"
|
||||
version = "1.0.40"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6c35640513eb442fcbd1653a1c112fb6b2cc12b54d82f9c141f5859c721cab36"
|
||||
checksum = "17925fff04b6fa636f8e4b4608cc1a4f1360b64ac8ecbfdb7da1be1dc74f6843"
|
||||
dependencies = [
|
||||
"convert_case",
|
||||
"convert_case 0.6.0",
|
||||
"once_cell",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
@ -5445,7 +5454,7 @@ version = "0.1.0"
|
|||
source = "git+https://github.com/vercel/turbo.git?rev=c7b627c67c072b99f0d2fa578a6404db0be633c5#c7b627c67c072b99f0d2fa578a6404db0be633c5"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"convert_case",
|
||||
"convert_case 0.5.0",
|
||||
"proc-macro-error",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
@ -5733,7 +5742,7 @@ version = "1.6.3"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675"
|
||||
dependencies = [
|
||||
"cfg-if 1.0.0",
|
||||
"cfg-if 0.1.10",
|
||||
"rand",
|
||||
"static_assertions",
|
||||
]
|
||||
|
@ -5811,6 +5820,12 @@ dependencies = [
|
|||
"tinyvec",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "unicode-segmentation"
|
||||
version = "1.10.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0fdbf052a0783de01e944a6ce7a8cb939e295b1e7be835a1112c3b9a7f047a5a"
|
||||
|
||||
[[package]]
|
||||
name = "unicode-width"
|
||||
version = "0.1.10"
|
||||
|
|
|
@ -29,6 +29,6 @@
|
|||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@napi-rs/cli": "2.12.0"
|
||||
"@napi-rs/cli": "2.13.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -124,7 +124,7 @@
|
|||
"@babel/types": "7.18.0",
|
||||
"@edge-runtime/primitives": "2.0.0",
|
||||
"@hapi/accept": "5.0.2",
|
||||
"@napi-rs/cli": "2.12.0",
|
||||
"@napi-rs/cli": "2.13.3",
|
||||
"@napi-rs/triples": "1.1.0",
|
||||
"@next/polyfill-module": "13.0.8-canary.1",
|
||||
"@next/polyfill-nomodule": "13.0.8-canary.1",
|
||||
|
|
|
@ -500,7 +500,7 @@ importers:
|
|||
'@babel/types': 7.18.0
|
||||
'@edge-runtime/primitives': 2.0.0
|
||||
'@hapi/accept': 5.0.2
|
||||
'@napi-rs/cli': 2.12.0
|
||||
'@napi-rs/cli': 2.13.3
|
||||
'@napi-rs/triples': 1.1.0
|
||||
'@next/env': 13.0.8-canary.1
|
||||
'@next/polyfill-module': 13.0.8-canary.1
|
||||
|
@ -698,7 +698,7 @@ importers:
|
|||
'@babel/types': 7.18.0
|
||||
'@edge-runtime/primitives': 2.0.0
|
||||
'@hapi/accept': 5.0.2
|
||||
'@napi-rs/cli': 2.12.0
|
||||
'@napi-rs/cli': 2.13.3
|
||||
'@napi-rs/triples': 1.1.0
|
||||
'@next/polyfill-module': link:../next-polyfill-module
|
||||
'@next/polyfill-nomodule': link:../next-polyfill-nomodule
|
||||
|
@ -932,9 +932,9 @@ importers:
|
|||
|
||||
packages/next-swc:
|
||||
specifiers:
|
||||
'@napi-rs/cli': 2.12.0
|
||||
'@napi-rs/cli': 2.13.3
|
||||
devDependencies:
|
||||
'@napi-rs/cli': 2.12.0
|
||||
'@napi-rs/cli': 2.13.3
|
||||
|
||||
packages/react-dev-overlay:
|
||||
specifiers:
|
||||
|
@ -5883,8 +5883,8 @@ packages:
|
|||
glob-to-regexp: 0.3.0
|
||||
dev: true
|
||||
|
||||
/@napi-rs/cli/2.12.0:
|
||||
resolution: {integrity: sha512-DWx9jDpun9JqDBypiXKjcYMm7gEnh83bry7b6UkItpmVE3w3tNrj91fOEPKDbFQZ7EULfFt+aQBbqtUHq5oNzQ==}
|
||||
/@napi-rs/cli/2.13.3:
|
||||
resolution: {integrity: sha512-nAlbKuakQ+YHZE+M3Afih9UA1jr+gx63Gt4xHA+j2xD1NY6TjQ+QCgF9Yaj/YZIkCc2t3CZh52znFrfbU8b2bA==}
|
||||
engines: {node: '>= 10'}
|
||||
hasBin: true
|
||||
dev: true
|
||||
|
@ -24000,7 +24000,7 @@ packages:
|
|||
dev: true
|
||||
|
||||
github.com/watson/ci-info/f43f6a1cefff47fb361c88cf4b943fdbcaafe540:
|
||||
resolution: {tarball: https://codeload.github.com/watson/ci-info/tar.gz/f43f6a1cefff47fb361c88cf4b943fdbcaafe540}
|
||||
resolution: {commit: f43f6a1cefff47fb361c88cf4b943fdbcaafe540, repo: git+ssh://git@github.com/watson/ci-info.git, type: git}
|
||||
name: ci-info
|
||||
version: 2.0.0
|
||||
dev: true
|
||||
|
|
Loading…
Reference in a new issue