mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 20:38:55 +00:00
chore: forward v1.38.2 release commit to main (#21236)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
This commit is contained in:
parent
9534e6e113
commit
21e6a76519
2
.github/workflows/ci.generate.ts
vendored
2
.github/workflows/ci.generate.ts
vendored
@ -5,7 +5,7 @@ import * as yaml from "https://deno.land/std@0.173.0/encoding/yaml.ts";
|
||||
// Bump this number when you want to purge the cache.
|
||||
// Note: the tools/release/01_bump_crate_versions.ts script will update this version
|
||||
// automatically via regex, so ensure that this line maintains this format.
|
||||
const cacheVersion = 58;
|
||||
const cacheVersion = 59;
|
||||
|
||||
const Runners = (() => {
|
||||
const ubuntuRunner = "ubuntu-22.04";
|
||||
|
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -315,8 +315,8 @@ jobs:
|
||||
path: |-
|
||||
~/.cargo/registry/index
|
||||
~/.cargo/registry/cache
|
||||
key: '58-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}'
|
||||
restore-keys: '58-cargo-home-${{ matrix.os }}'
|
||||
key: '59-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}'
|
||||
restore-keys: '59-cargo-home-${{ matrix.os }}'
|
||||
if: '!(github.event_name == ''pull_request'' && matrix.skip_pr)'
|
||||
- name: Restore cache build output (PR)
|
||||
uses: actions/cache/restore@v3
|
||||
@ -328,7 +328,7 @@ jobs:
|
||||
!./target/*/*.zip
|
||||
!./target/*/*.tar.gz
|
||||
key: never_saved
|
||||
restore-keys: '58-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-'
|
||||
restore-keys: '59-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-'
|
||||
- name: Apply and update mtime cache
|
||||
if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (!startsWith(github.ref, ''refs/tags/''))'
|
||||
uses: ./.github/mtime_cache
|
||||
@ -609,7 +609,7 @@ jobs:
|
||||
!./target/*/gn_out
|
||||
!./target/*/*.zip
|
||||
!./target/*/*.tar.gz
|
||||
key: '58-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}'
|
||||
key: '59-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}'
|
||||
publish-canary:
|
||||
name: publish canary
|
||||
runs-on: ubuntu-22.04
|
||||
|
48
Cargo.lock
generated
48
Cargo.lock
generated
@ -870,7 +870,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno"
|
||||
version = "1.38.1"
|
||||
version = "1.38.2"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"base32",
|
||||
@ -1010,7 +1010,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_bench_util"
|
||||
version = "0.117.0"
|
||||
version = "0.118.0"
|
||||
dependencies = [
|
||||
"bencher",
|
||||
"deno_core",
|
||||
@ -1020,7 +1020,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_broadcast_channel"
|
||||
version = "0.117.0"
|
||||
version = "0.118.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"deno_core",
|
||||
@ -1030,7 +1030,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_cache"
|
||||
version = "0.55.0"
|
||||
version = "0.56.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"deno_core",
|
||||
@ -1077,7 +1077,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_console"
|
||||
version = "0.123.0"
|
||||
version = "0.124.0"
|
||||
dependencies = [
|
||||
"deno_core",
|
||||
]
|
||||
@ -1109,7 +1109,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_cron"
|
||||
version = "0.3.0"
|
||||
version = "0.4.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-trait",
|
||||
@ -1122,7 +1122,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_crypto"
|
||||
version = "0.137.0"
|
||||
version = "0.138.0"
|
||||
dependencies = [
|
||||
"aes",
|
||||
"aes-gcm",
|
||||
@ -1195,7 +1195,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_fetch"
|
||||
version = "0.147.0"
|
||||
version = "0.148.0"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"data-url",
|
||||
@ -1211,7 +1211,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_ffi"
|
||||
version = "0.110.0"
|
||||
version = "0.111.0"
|
||||
dependencies = [
|
||||
"deno_core",
|
||||
"dlopen2",
|
||||
@ -1227,7 +1227,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_fs"
|
||||
version = "0.33.0"
|
||||
version = "0.34.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"deno_core",
|
||||
@ -1269,7 +1269,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_http"
|
||||
version = "0.118.0"
|
||||
version = "0.119.0"
|
||||
dependencies = [
|
||||
"async-compression",
|
||||
"async-trait",
|
||||
@ -1306,7 +1306,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_io"
|
||||
version = "0.33.0"
|
||||
version = "0.34.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"deno_core",
|
||||
@ -1319,7 +1319,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_kv"
|
||||
version = "0.31.0"
|
||||
version = "0.32.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-trait",
|
||||
@ -1391,7 +1391,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_napi"
|
||||
version = "0.53.0"
|
||||
version = "0.54.0"
|
||||
dependencies = [
|
||||
"deno_core",
|
||||
"libloading",
|
||||
@ -1412,7 +1412,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_net"
|
||||
version = "0.115.0"
|
||||
version = "0.116.0"
|
||||
dependencies = [
|
||||
"deno_core",
|
||||
"deno_tls",
|
||||
@ -1429,7 +1429,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_node"
|
||||
version = "0.60.0"
|
||||
version = "0.61.0"
|
||||
dependencies = [
|
||||
"aead-gcm-stream",
|
||||
"aes",
|
||||
@ -1524,7 +1524,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_runtime"
|
||||
version = "0.131.0"
|
||||
version = "0.132.0"
|
||||
dependencies = [
|
||||
"console_static_text",
|
||||
"deno_ast",
|
||||
@ -1610,7 +1610,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_tls"
|
||||
version = "0.110.0"
|
||||
version = "0.111.0"
|
||||
dependencies = [
|
||||
"deno_core",
|
||||
"deno_native_certs",
|
||||
@ -1642,7 +1642,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_url"
|
||||
version = "0.123.0"
|
||||
version = "0.124.0"
|
||||
dependencies = [
|
||||
"deno_bench_util",
|
||||
"deno_core",
|
||||
@ -1653,7 +1653,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_web"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"base64-simd",
|
||||
@ -1674,7 +1674,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_webidl"
|
||||
version = "0.123.0"
|
||||
version = "0.124.0"
|
||||
dependencies = [
|
||||
"deno_bench_util",
|
||||
"deno_core",
|
||||
@ -1682,7 +1682,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_websocket"
|
||||
version = "0.128.0"
|
||||
version = "0.129.0"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"deno_core",
|
||||
@ -1700,7 +1700,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno_webstorage"
|
||||
version = "0.118.0"
|
||||
version = "0.119.0"
|
||||
dependencies = [
|
||||
"deno_core",
|
||||
"deno_web",
|
||||
@ -3363,7 +3363,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "napi_sym"
|
||||
version = "0.53.0"
|
||||
version = "0.54.0"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
46
Cargo.toml
46
Cargo.toml
@ -42,9 +42,9 @@ repository = "https://github.com/denoland/deno"
|
||||
deno_ast = { version = "0.31.5", features = ["transpiling"] }
|
||||
deno_core = { version = "0.230.0" }
|
||||
|
||||
deno_runtime = { version = "0.131.0", path = "./runtime" }
|
||||
napi_sym = { version = "0.53.0", path = "./cli/napi/sym" }
|
||||
deno_bench_util = { version = "0.117.0", path = "./bench_util" }
|
||||
deno_runtime = { version = "0.132.0", path = "./runtime" }
|
||||
napi_sym = { version = "0.54.0", path = "./cli/napi/sym" }
|
||||
deno_bench_util = { version = "0.118.0", path = "./bench_util" }
|
||||
test_util = { path = "./test_util" }
|
||||
deno_lockfile = "0.17.2"
|
||||
deno_media_type = { version = "0.1.1", features = ["module_specifier"] }
|
||||
@ -55,26 +55,26 @@ denokv_sqlite = { default-features = false, version = "0.2.1" }
|
||||
denokv_remote = "0.2.3"
|
||||
|
||||
# exts
|
||||
deno_broadcast_channel = { version = "0.117.0", path = "./ext/broadcast_channel" }
|
||||
deno_cache = { version = "0.55.0", path = "./ext/cache" }
|
||||
deno_console = { version = "0.123.0", path = "./ext/console" }
|
||||
deno_cron = { version = "0.3.0", path = "./ext/cron" }
|
||||
deno_crypto = { version = "0.137.0", path = "./ext/crypto" }
|
||||
deno_fetch = { version = "0.147.0", path = "./ext/fetch" }
|
||||
deno_ffi = { version = "0.110.0", path = "./ext/ffi" }
|
||||
deno_fs = { version = "0.33.0", path = "./ext/fs" }
|
||||
deno_http = { version = "0.118.0", path = "./ext/http" }
|
||||
deno_io = { version = "0.33.0", path = "./ext/io" }
|
||||
deno_net = { version = "0.115.0", path = "./ext/net" }
|
||||
deno_node = { version = "0.60.0", path = "./ext/node" }
|
||||
deno_kv = { version = "0.31.0", path = "./ext/kv" }
|
||||
deno_tls = { version = "0.110.0", path = "./ext/tls" }
|
||||
deno_url = { version = "0.123.0", path = "./ext/url" }
|
||||
deno_web = { version = "0.154.0", path = "./ext/web" }
|
||||
deno_webidl = { version = "0.123.0", path = "./ext/webidl" }
|
||||
deno_websocket = { version = "0.128.0", path = "./ext/websocket" }
|
||||
deno_webstorage = { version = "0.118.0", path = "./ext/webstorage" }
|
||||
deno_napi = { version = "0.53.0", path = "./ext/napi" }
|
||||
deno_broadcast_channel = { version = "0.118.0", path = "./ext/broadcast_channel" }
|
||||
deno_cache = { version = "0.56.0", path = "./ext/cache" }
|
||||
deno_console = { version = "0.124.0", path = "./ext/console" }
|
||||
deno_cron = { version = "0.4.0", path = "./ext/cron" }
|
||||
deno_crypto = { version = "0.138.0", path = "./ext/crypto" }
|
||||
deno_fetch = { version = "0.148.0", path = "./ext/fetch" }
|
||||
deno_ffi = { version = "0.111.0", path = "./ext/ffi" }
|
||||
deno_fs = { version = "0.34.0", path = "./ext/fs" }
|
||||
deno_http = { version = "0.119.0", path = "./ext/http" }
|
||||
deno_io = { version = "0.34.0", path = "./ext/io" }
|
||||
deno_net = { version = "0.116.0", path = "./ext/net" }
|
||||
deno_node = { version = "0.61.0", path = "./ext/node" }
|
||||
deno_kv = { version = "0.32.0", path = "./ext/kv" }
|
||||
deno_tls = { version = "0.111.0", path = "./ext/tls" }
|
||||
deno_url = { version = "0.124.0", path = "./ext/url" }
|
||||
deno_web = { version = "0.155.0", path = "./ext/web" }
|
||||
deno_webidl = { version = "0.124.0", path = "./ext/webidl" }
|
||||
deno_websocket = { version = "0.129.0", path = "./ext/websocket" }
|
||||
deno_webstorage = { version = "0.119.0", path = "./ext/webstorage" }
|
||||
deno_napi = { version = "0.54.0", path = "./ext/napi" }
|
||||
|
||||
aes = "=0.8.3"
|
||||
anyhow = "1.0.57"
|
||||
|
26
Releases.md
26
Releases.md
@ -6,6 +6,32 @@ https://github.com/denoland/deno/releases
|
||||
We also have one-line install commands at:
|
||||
https://github.com/denoland/deno_install
|
||||
|
||||
### 1.38.2 / 2023.11.17
|
||||
|
||||
- feat(ext/web): add `AbortSignal.any()` (#21087)
|
||||
- feat(lsp): upgrade check on init and notification (#21105)
|
||||
- fix(cli): Allow executable name start with digit (#21214)
|
||||
- fix(doc): issue discovering re-exports of re-exports sometimes (#21223)
|
||||
- fix(ext/node): Re-enable alloc max size test (#21059)
|
||||
- fix(ext/node): add APIs perf_hook.performance (#21192)
|
||||
- fix(ext/node): implement process.geteuid (#21151)
|
||||
- fix(ext/web): Prevent TextDecoderStream resource leak on stream cancellation
|
||||
(#21074)
|
||||
- fix(ext/web): webstorage has trap for symbol (#21090)
|
||||
- fix(install): should work with non-existent relative root (#21161)
|
||||
- fix(lsp): update tsconfig after refreshing settings on init (#21170)
|
||||
- fix(node/http): export globalAgent (#21081)
|
||||
- fix(npm): support cjs entrypoint in node_modules folder (#21224)
|
||||
- fix(runtime): fix Deno.noColor when stdout is not tty (#21208)
|
||||
- fix: improve `deno doc --lint` error messages (#21156)
|
||||
- fix: use short git hash for deno version (#21218)
|
||||
- perf(cli): strace mode for ops (undocumented) (#21131)
|
||||
- perf(ext/http): Object pooling for HttpRecord and HeaderMap (#20809)
|
||||
- perf: lazy bootstrap options - first pass (#21164)
|
||||
- perf: move jupyter esm out of main snapshot (#21163)
|
||||
- perf: snapshot runtime ops (#21127)
|
||||
- perf: static bootstrap options in snapshot (#21213)
|
||||
|
||||
### 1.38.1 / 2023.11.10
|
||||
|
||||
- feat(ext/kv): increase checks limit (#21055)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_bench_util"
|
||||
version = "0.117.0"
|
||||
version = "0.118.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno"
|
||||
version = "1.38.1"
|
||||
version = "1.38.2"
|
||||
authors.workspace = true
|
||||
default-run = "deno"
|
||||
edition.workspace = true
|
||||
|
@ -2,4 +2,4 @@
|
||||
|
||||
// WARNING: Ensure this is the only deno_std version reference as this
|
||||
// is automatically updated by the version bump workflow.
|
||||
pub const CURRENT_STD_URL_STR: &str = "https://deno.land/std@0.206.0/";
|
||||
pub const CURRENT_STD_URL_STR: &str = "https://deno.land/std@0.207.0/";
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "napi_sym"
|
||||
version = "0.53.0"
|
||||
version = "0.54.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_broadcast_channel"
|
||||
version = "0.117.0"
|
||||
version = "0.118.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
2
ext/cache/Cargo.toml
vendored
2
ext/cache/Cargo.toml
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_cache"
|
||||
version = "0.55.0"
|
||||
version = "0.56.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_console"
|
||||
version = "0.123.0"
|
||||
version = "0.124.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_cron"
|
||||
version = "0.3.0"
|
||||
version = "0.4.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_crypto"
|
||||
version = "0.137.0"
|
||||
version = "0.138.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_fetch"
|
||||
version = "0.147.0"
|
||||
version = "0.148.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_ffi"
|
||||
version = "0.110.0"
|
||||
version = "0.111.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_fs"
|
||||
version = "0.33.0"
|
||||
version = "0.34.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_http"
|
||||
version = "0.118.0"
|
||||
version = "0.119.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_io"
|
||||
version = "0.33.0"
|
||||
version = "0.34.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_kv"
|
||||
version = "0.31.0"
|
||||
version = "0.32.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_napi"
|
||||
version = "0.53.0"
|
||||
version = "0.54.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_net"
|
||||
version = "0.115.0"
|
||||
version = "0.116.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_node"
|
||||
version = "0.60.0"
|
||||
version = "0.61.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_tls"
|
||||
version = "0.110.0"
|
||||
version = "0.111.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_url"
|
||||
version = "0.123.0"
|
||||
version = "0.124.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_web"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
@ -19,7 +19,7 @@ base64-simd = "0.8"
|
||||
bytes.workspace = true
|
||||
deno_core.workspace = true
|
||||
encoding_rs.workspace = true
|
||||
flate2.workspace = true
|
||||
flate2 = { workspace = true, features = ["default"] }
|
||||
futures.workspace = true
|
||||
serde = "1.0.149"
|
||||
tokio.workspace = true
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_webidl"
|
||||
version = "0.123.0"
|
||||
version = "0.124.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_websocket"
|
||||
version = "0.128.0"
|
||||
version = "0.129.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_webstorage"
|
||||
version = "0.118.0"
|
||||
version = "0.119.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno_runtime"
|
||||
version = "0.131.0"
|
||||
version = "0.132.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
@ -62,6 +62,7 @@ deno_websocket.workspace = true
|
||||
deno_webstorage.workspace = true
|
||||
deno_napi.workspace = true
|
||||
flate2 = { workspace = true, features = ["default"] }
|
||||
serde.workspace = true
|
||||
|
||||
[target.'cfg(windows)'.build-dependencies]
|
||||
winres.workspace = true
|
||||
|
@ -13,13 +13,34 @@ mod startup_snapshot {
|
||||
use super::*;
|
||||
use deno_cache::SqliteBackedCache;
|
||||
use deno_core::error::AnyError;
|
||||
use deno_core::op2;
|
||||
use deno_core::snapshot_util::*;
|
||||
use deno_core::Extension;
|
||||
use deno_core::OpState;
|
||||
use deno_http::DefaultHttpPropertyExtractor;
|
||||
use shared::maybe_transpile_source;
|
||||
use shared::runtime;
|
||||
use std::path::Path;
|
||||
|
||||
// Keep in sync with `runtime/ops/bootstrap.rs`
|
||||
#[derive(serde::Serialize, Default)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct SnapshotOptions {
|
||||
pub deno_version: String,
|
||||
pub ts_version: String,
|
||||
pub v8_version: &'static str,
|
||||
pub target: String,
|
||||
}
|
||||
|
||||
// TODO(@littledivy): Remove this once we get rid of deno_runtime snapshots.
|
||||
#[op2]
|
||||
#[serde]
|
||||
pub fn op_snapshot_options(_: &mut OpState) -> SnapshotOptions {
|
||||
SnapshotOptions::default()
|
||||
}
|
||||
|
||||
deno_core::extension!(snapshot, ops = [op_snapshot_options],);
|
||||
|
||||
#[derive(Clone)]
|
||||
struct Permissions;
|
||||
|
||||
@ -232,6 +253,7 @@ mod startup_snapshot {
|
||||
deno_fs::deno_fs::init_ops_and_esm::<Permissions>(fs.clone()),
|
||||
deno_node::deno_node::init_ops_and_esm::<Permissions>(None, fs),
|
||||
runtime::init_ops_and_esm(),
|
||||
snapshot::init_ops_and_esm(),
|
||||
];
|
||||
|
||||
for extension in &mut extensions {
|
||||
|
Loading…
Reference in New Issue
Block a user