diff --git a/.bazelrc b/.bazelrc index 1af235a7860..5b3ed95f267 100644 --- a/.bazelrc +++ b/.bazelrc @@ -21,7 +21,7 @@ build:windows --remote_download_all build --//src/workerd/io:enable_experimental_webgpu=True # Avoid generating duplicate runfile trees. This will become the default in a future bazel version. -build --legacy_external_runfiles=false +build --nolegacy_external_runfiles # Flip this early to avoid breaking compatibility once it becomes the default. build --incompatible_disallow_empty_glob diff --git a/WORKSPACE b/WORKSPACE index 966a1b3c546..85097ed2cd1 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -65,15 +65,14 @@ http_archive( ], sha256 = "ab9aae38a11b931f35d8d1c6d62826d215579892e6ffbf89f20bdce106a9c8c5", strip_prefix = "sqlite-src-3440000", - type = "zip", url = "https://sqlite.org/2023/sqlite-src-3440000.zip", ) http_archive( name = "rules_python", - integrity = "sha256-SRLO1w3BoqjkuGzsIzsZLKBT6CvHLYd7mOEmFW6PIo0=", - strip_prefix = "rules_python-0.32.2", - url = "https://github.com/bazelbuild/rules_python/releases/download/0.32.2/rules_python-0.32.2.tar.gz", + integrity = "sha256-d4quqz5s/VbWgcifXBDXrWv40vGnLeneVbIwgbLTFhg=", + strip_prefix = "rules_python-0.34.0", + url = "https://github.com/bazelbuild/rules_python/releases/download/0.34.0/rules_python-0.34.0.tar.gz", ) load("@rules_python//python:repositories.bzl", "py_repositories", "python_register_toolchains") @@ -102,8 +101,6 @@ http_archive( http_archive( name = "ada-url", build_file = "//:build/BUILD.ada-url", - patch_args = ["-p1"], - patches = [], sha256 = "20b09948cf58362abe4de20b8e709d5041477fb798350fd1a02cde6aad121e08", type = "zip", url = "https://github.com/ada-url/ada/releases/download/v2.9.0/singleheader.zip", @@ -112,8 +109,6 @@ http_archive( http_archive( name = "simdutf", build_file = "//:build/BUILD.simdutf", - patch_args = ["-p1"], - patches = [], sha256 = "7867c118a11bb7ccaea0f999a28684b06040027506b424b706146cc912b80ff6", type = "zip", url = "https://github.com/simdutf/simdutf/releases/download/v5.2.8/singleheader.zip", @@ -123,7 +118,6 @@ http_archive( name = "pyodide", build_file = "//:build/BUILD.pyodide", sha256 = "fbda450a64093a8d246c872bb901ee172a57fe594c9f35bba61f36807c73300d", - type = "tar.bz2", urls = ["https://github.com/pyodide/pyodide/releases/download/0.26.0a2/pyodide-core-0.26.0a2.tar.bz2"], ) @@ -131,7 +125,6 @@ http_archive( name = "pyodide_packages", build_file = "//:build/BUILD.pyodide_packages", sha256 = "c4a4e0c1cb658a39abc0435cc07df902e5a2ecffc091e0528b96b0c295e309ea", - type = "zip", urls = ["https://github.com/dom96/pyodide_packages/releases/download/just-stdlib/pyodide_packages.tar.zip"], ) @@ -367,7 +360,9 @@ rules_rust_dependencies() rust_register_toolchains( edition = "2021", - versions = ["1.75.0"], # LLVM 17 + versions = ["1.77.0"], # LLVM 17 + # Rust registers wasm targets by default which we don't need, workerd is only built for its native platform. + extra_target_triples = [], ) load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies") @@ -390,23 +385,23 @@ rust_analyzer_dependencies() # Fetch rules_nodejs before aspect_rules_js, otherwise we'll get an outdated rules_nodejs version. http_archive( name = "rules_nodejs", - integrity = "sha256-PoNpJWrWMZeVnSJTxHOp3MV8KEHRdhkOWbkdJdT+nmc=", - strip_prefix = "rules_nodejs-6.1.1", - url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.1.1/rules_nodejs-v6.1.1.tar.gz", + integrity = "sha256-h8YXHFvntpU41Gldne0priYmxe12qa3u3ON7Y8c772c=", + strip_prefix = "rules_nodejs-6.2.0", + url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.2.0/rules_nodejs-v6.2.0.tar.gz", ) http_archive( name = "aspect_rules_js", - sha256 = "eaa18e412822eacf2a98b62630ba0e8d638c6468917ea35bcd5ffb4b12c59fdf", - strip_prefix = "rules_js-1.42.0", - url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v1.42.0.tar.gz", + integrity = "sha256-/GiHCR7jJDZh+1Mv0yRCMLbhk8IlZqA4yf10jKaPuIA=", + strip_prefix = "rules_js-1.42.3", + url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v1.42.3.tar.gz", ) http_archive( name = "aspect_rules_ts", - sha256 = "c77f0dfa78c407893806491223c1264c289074feefbf706721743a3556fa7cea", - strip_prefix = "rules_ts-2.2.0", - url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v2.2.0.tar.gz", + integrity = "sha256-9ppkUrEp052bBfPf+LEFcYW7GVtNrwz/QZmI3nV8bDE=", + strip_prefix = "rules_ts-2.4.2", + url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v2.4.2.tar.gz", ) load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies") @@ -422,7 +417,7 @@ nodejs_register_toolchains( # "WORKERS_MIRROR_URL/https://nodejs.org/dist/v{version}/{filename}", "https://nodejs.org/dist/v{version}/{filename}", ], - node_version = "20.13.1", + node_version = "20.14.0", ) load("@aspect_rules_ts//ts:repositories.bzl", "rules_ts_dependencies", TS_LATEST_VERSION = "LATEST_TYPESCRIPT_VERSION") diff --git a/package.json b/package.json index 79dcc1af586..88ce2c2c2b9 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "dependencies": { "capnp-ts": "^0.7.0", "prettier": "^3.2.5", - "typescript": "~5.4.5" + "typescript": "~5.5.3" }, "devDependencies": { "@bazel/bazelisk": "~1.19.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7d37cfe8ff8..94c815f72de 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,8 +15,8 @@ dependencies: specifier: ^3.2.5 version: 3.2.5 typescript: - specifier: ~5.4.5 - version: 5.4.5 + specifier: ~5.5.3 + version: 5.5.3 devDependencies: '@bazel/bazelisk': @@ -33,10 +33,10 @@ devDependencies: version: 2.7.1 '@typescript-eslint/eslint-plugin': specifier: ^7.3.1 - version: 7.3.1(@typescript-eslint/parser@7.3.1)(eslint@8.57.0)(typescript@5.4.5) + version: 7.3.1(@typescript-eslint/parser@7.3.1)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': specifier: ^7.3.1 - version: 7.3.1(eslint@8.57.0)(typescript@5.4.5) + version: 7.3.1(eslint@8.57.0)(typescript@5.5.3) capnpc-ts: specifier: ^0.7.0 version: 0.7.0 @@ -204,7 +204,7 @@ packages: resolution: {integrity: sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==} dev: true - /@typescript-eslint/eslint-plugin@7.3.1(@typescript-eslint/parser@7.3.1)(eslint@8.57.0)(typescript@5.4.5): + /@typescript-eslint/eslint-plugin@7.3.1(@typescript-eslint/parser@7.3.1)(eslint@8.57.0)(typescript@5.5.3): resolution: {integrity: sha512-STEDMVQGww5lhCuNXVSQfbfuNII5E08QWkvAw5Qwf+bj2WT+JkG1uc+5/vXA3AOYMDHVOSpL+9rcbEUiHIm2dw==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: @@ -216,10 +216,10 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 7.3.1(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.3.1(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/scope-manager': 7.3.1 - '@typescript-eslint/type-utils': 7.3.1(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/utils': 7.3.1(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/type-utils': 7.3.1(eslint@8.57.0)(typescript@5.5.3) + '@typescript-eslint/utils': 7.3.1(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/visitor-keys': 7.3.1 debug: 4.3.4 eslint: 8.57.0 @@ -227,13 +227,13 @@ packages: ignore: 5.3.1 natural-compare: 1.4.0 semver: 7.6.0 - ts-api-utils: 1.3.0(typescript@5.4.5) - typescript: 5.4.5 + ts-api-utils: 1.3.0(typescript@5.5.3) + typescript: 5.5.3 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser@7.3.1(eslint@8.57.0)(typescript@5.4.5): + /@typescript-eslint/parser@7.3.1(eslint@8.57.0)(typescript@5.5.3): resolution: {integrity: sha512-Rq49+pq7viTRCH48XAbTA+wdLRrB/3sRq4Lpk0oGDm0VmnjBrAOVXH/Laalmwsv2VpekiEfVFwJYVk6/e8uvQw==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: @@ -245,11 +245,11 @@ packages: dependencies: '@typescript-eslint/scope-manager': 7.3.1 '@typescript-eslint/types': 7.3.1 - '@typescript-eslint/typescript-estree': 7.3.1(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 7.3.1(typescript@5.5.3) '@typescript-eslint/visitor-keys': 7.3.1 debug: 4.3.4 eslint: 8.57.0 - typescript: 5.4.5 + typescript: 5.5.3 transitivePeerDependencies: - supports-color dev: true @@ -262,7 +262,7 @@ packages: '@typescript-eslint/visitor-keys': 7.3.1 dev: true - /@typescript-eslint/type-utils@7.3.1(eslint@8.57.0)(typescript@5.4.5): + /@typescript-eslint/type-utils@7.3.1(eslint@8.57.0)(typescript@5.5.3): resolution: {integrity: sha512-iFhaysxFsMDQlzJn+vr3OrxN8NmdQkHks4WaqD4QBnt5hsq234wcYdyQ9uquzJJIDAj5W4wQne3yEsYA6OmXGw==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: @@ -272,12 +272,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 7.3.1(typescript@5.4.5) - '@typescript-eslint/utils': 7.3.1(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 7.3.1(typescript@5.5.3) + '@typescript-eslint/utils': 7.3.1(eslint@8.57.0)(typescript@5.5.3) debug: 4.3.4 eslint: 8.57.0 - ts-api-utils: 1.3.0(typescript@5.4.5) - typescript: 5.4.5 + ts-api-utils: 1.3.0(typescript@5.5.3) + typescript: 5.5.3 transitivePeerDependencies: - supports-color dev: true @@ -287,7 +287,7 @@ packages: engines: {node: ^18.18.0 || >=20.0.0} dev: true - /@typescript-eslint/typescript-estree@7.3.1(typescript@5.4.5): + /@typescript-eslint/typescript-estree@7.3.1(typescript@5.5.3): resolution: {integrity: sha512-tLpuqM46LVkduWP7JO7yVoWshpJuJzxDOPYIVWUUZbW+4dBpgGeUdl/fQkhuV0A8eGnphYw3pp8d2EnvPOfxmQ==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: @@ -303,13 +303,13 @@ packages: is-glob: 4.0.3 minimatch: 9.0.3 semver: 7.6.0 - ts-api-utils: 1.3.0(typescript@5.4.5) - typescript: 5.4.5 + ts-api-utils: 1.3.0(typescript@5.5.3) + typescript: 5.5.3 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/utils@7.3.1(eslint@8.57.0)(typescript@5.4.5): + /@typescript-eslint/utils@7.3.1(eslint@8.57.0)(typescript@5.5.3): resolution: {integrity: sha512-jIERm/6bYQ9HkynYlNZvXpzmXWZGhMbrOvq3jJzOSOlKXsVjrrolzWBjDW6/TvT5Q3WqaN4EkmcfdQwi9tDjBQ==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: @@ -320,7 +320,7 @@ packages: '@types/semver': 7.5.8 '@typescript-eslint/scope-manager': 7.3.1 '@typescript-eslint/types': 7.3.1 - '@typescript-eslint/typescript-estree': 7.3.1(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 7.3.1(typescript@5.5.3) eslint: 8.57.0 semver: 7.6.0 transitivePeerDependencies: @@ -1064,7 +1064,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 7.3.1(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.3.1(eslint@8.57.0)(typescript@5.5.3) debug: 3.2.7 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 @@ -1082,7 +1082,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 7.3.1(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.3.1(eslint@8.57.0)(typescript@5.5.3) array-includes: 3.1.7 array.prototype.findlastindex: 1.2.5 array.prototype.flat: 1.3.2 @@ -2088,13 +2088,13 @@ packages: is-number: 7.0.0 dev: true - /ts-api-utils@1.3.0(typescript@5.4.5): + /ts-api-utils@1.3.0(typescript@5.5.3): resolution: {integrity: sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==} engines: {node: '>=16'} peerDependencies: typescript: '>=4.2.0' dependencies: - typescript: 5.4.5 + typescript: 5.5.3 dev: true /tsconfig-paths@3.15.0: @@ -2175,8 +2175,8 @@ packages: hasBin: true dev: true - /typescript@5.4.5: - resolution: {integrity: sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==} + /typescript@5.5.3: + resolution: {integrity: sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==} engines: {node: '>=14.17'} hasBin: true diff --git a/rust-deps/crates/BUILD.ahash-0.8.11.bazel b/rust-deps/crates/BUILD.ahash-0.8.11.bazel index 029267e746f..a1e642df5fa 100644 --- a/rust-deps/crates/BUILD.ahash-0.8.11.bazel +++ b/rust-deps/crates/BUILD.ahash-0.8.11.bazel @@ -45,7 +45,7 @@ rust_library( deps = [ "@crates_vendor__ahash-0.8.11//:build_script_build", "@crates_vendor__cfg-if-1.0.0//:cfg_if", - "@crates_vendor__zerocopy-0.7.34//:zerocopy", + "@crates_vendor__zerocopy-0.7.35//:zerocopy", ] + select({ "@rules_rust//rust/platform:aarch64-apple-darwin": [ "@crates_vendor__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) diff --git a/rust-deps/crates/BUILD.bazel b/rust-deps/crates/BUILD.bazel index ec404d63dec..5a7015d3df4 100644 --- a/rust-deps/crates/BUILD.bazel +++ b/rust-deps/crates/BUILD.bazel @@ -63,12 +63,12 @@ alias( alias( name = "serde", - actual = "@crates_vendor__serde-1.0.203//:serde", + actual = "@crates_vendor__serde-1.0.204//:serde", tags = ["manual"], ) alias( name = "serde_json", - actual = "@crates_vendor__serde_json-1.0.118//:serde_json", + actual = "@crates_vendor__serde_json-1.0.120//:serde_json", tags = ["manual"], ) diff --git a/rust-deps/crates/BUILD.cc-1.0.100.bazel b/rust-deps/crates/BUILD.cc-1.1.3.bazel similarity index 97% rename from rust-deps/crates/BUILD.cc-1.0.100.bazel rename to rust-deps/crates/BUILD.cc-1.1.3.bazel index bb791c54b83..7d9e3f8a3ef 100644 --- a/rust-deps/crates/BUILD.cc-1.0.100.bazel +++ b/rust-deps/crates/BUILD.cc-1.1.3.bazel @@ -40,5 +40,5 @@ rust_library( "noclippy", "norustfmt", ], - version = "1.0.100", + version = "1.1.3", ) diff --git a/rust-deps/crates/BUILD.clang-ast-0.1.25.bazel b/rust-deps/crates/BUILD.clang-ast-0.1.25.bazel index bac81ab2dc5..6126a43b475 100644 --- a/rust-deps/crates/BUILD.clang-ast-0.1.25.bazel +++ b/rust-deps/crates/BUILD.clang-ast-0.1.25.bazel @@ -43,6 +43,6 @@ rust_library( version = "0.1.25", deps = [ "@crates_vendor__rustc-hash-2.0.0//:rustc_hash", - "@crates_vendor__serde-1.0.203//:serde", + "@crates_vendor__serde-1.0.204//:serde", ], ) diff --git a/rust-deps/crates/BUILD.cssparser-macros-0.6.1.bazel b/rust-deps/crates/BUILD.cssparser-macros-0.6.1.bazel index ae425de0b81..02665247f21 100644 --- a/rust-deps/crates/BUILD.cssparser-macros-0.6.1.bazel +++ b/rust-deps/crates/BUILD.cssparser-macros-0.6.1.bazel @@ -43,6 +43,6 @@ rust_proc_macro( version = "0.6.1", deps = [ "@crates_vendor__quote-1.0.36//:quote", - "@crates_vendor__syn-2.0.68//:syn", + "@crates_vendor__syn-2.0.71//:syn", ], ) diff --git a/rust-deps/crates/BUILD.derive_more-0.99.18.bazel b/rust-deps/crates/BUILD.derive_more-0.99.18.bazel index 9293e0d9ddb..28adbc79117 100644 --- a/rust-deps/crates/BUILD.derive_more-0.99.18.bazel +++ b/rust-deps/crates/BUILD.derive_more-0.99.18.bazel @@ -73,6 +73,6 @@ rust_proc_macro( "@crates_vendor__convert_case-0.4.0//:convert_case", "@crates_vendor__proc-macro2-1.0.86//:proc_macro2", "@crates_vendor__quote-1.0.36//:quote", - "@crates_vendor__syn-2.0.68//:syn", + "@crates_vendor__syn-2.0.71//:syn", ], ) diff --git a/rust-deps/crates/BUILD.log-0.4.21.bazel b/rust-deps/crates/BUILD.log-0.4.22.bazel similarity index 97% rename from rust-deps/crates/BUILD.log-0.4.21.bazel rename to rust-deps/crates/BUILD.log-0.4.22.bazel index 035dfb88888..815b2ac7610 100644 --- a/rust-deps/crates/BUILD.log-0.4.21.bazel +++ b/rust-deps/crates/BUILD.log-0.4.22.bazel @@ -40,5 +40,5 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.4.21", + version = "0.4.22", ) diff --git a/rust-deps/crates/BUILD.lol_html-1.2.1.bazel b/rust-deps/crates/BUILD.lol_html-1.2.1.bazel index 13b452f008d..7cc4050faac 100644 --- a/rust-deps/crates/BUILD.lol_html-1.2.1.bazel +++ b/rust-deps/crates/BUILD.lol_html-1.2.1.bazel @@ -52,6 +52,6 @@ rust_library( "@crates_vendor__memchr-2.7.4//:memchr", "@crates_vendor__mime-0.3.17//:mime", "@crates_vendor__selectors-0.22.0//:selectors", - "@crates_vendor__thiserror-1.0.61//:thiserror", + "@crates_vendor__thiserror-1.0.62//:thiserror", ], ) diff --git a/rust-deps/crates/BUILD.lolhtml-1.1.1.bazel b/rust-deps/crates/BUILD.lolhtml-1.1.1.bazel index 55877b3704e..3ebff69e4a9 100644 --- a/rust-deps/crates/BUILD.lolhtml-1.1.1.bazel +++ b/rust-deps/crates/BUILD.lolhtml-1.1.1.bazel @@ -45,6 +45,6 @@ rust_library( "@crates_vendor__encoding_rs-0.8.34//:encoding_rs", "@crates_vendor__libc-0.2.155//:libc", "@crates_vendor__lol_html-1.2.1//:lol_html", - "@crates_vendor__thiserror-1.0.61//:thiserror", + "@crates_vendor__thiserror-1.0.62//:thiserror", ], ) diff --git a/rust-deps/crates/BUILD.selectors-0.22.0.bazel b/rust-deps/crates/BUILD.selectors-0.22.0.bazel index 757d068e9fd..5de07f2ddeb 100644 --- a/rust-deps/crates/BUILD.selectors-0.22.0.bazel +++ b/rust-deps/crates/BUILD.selectors-0.22.0.bazel @@ -49,7 +49,7 @@ rust_library( "@crates_vendor__bitflags-1.3.2//:bitflags", "@crates_vendor__cssparser-0.27.2//:cssparser", "@crates_vendor__fxhash-0.2.1//:fxhash", - "@crates_vendor__log-0.4.21//:log", + "@crates_vendor__log-0.4.22//:log", "@crates_vendor__matches-0.1.10//:matches", "@crates_vendor__phf-0.8.0//:phf", "@crates_vendor__precomputed-hash-0.1.1//:precomputed_hash", diff --git a/rust-deps/crates/BUILD.serde-1.0.203.bazel b/rust-deps/crates/BUILD.serde-1.0.204.bazel similarity index 92% rename from rust-deps/crates/BUILD.serde-1.0.203.bazel rename to rust-deps/crates/BUILD.serde-1.0.204.bazel index 571e3393afe..20cccb27204 100644 --- a/rust-deps/crates/BUILD.serde-1.0.203.bazel +++ b/rust-deps/crates/BUILD.serde-1.0.204.bazel @@ -38,7 +38,7 @@ rust_library( crate_root = "src/lib.rs", edition = "2018", proc_macro_deps = [ - "@crates_vendor__serde_derive-1.0.203//:serde_derive", + "@crates_vendor__serde_derive-1.0.204//:serde_derive", ], rustc_flags = [ "--cap-lints=allow", @@ -50,9 +50,9 @@ rust_library( "noclippy", "norustfmt", ], - version = "1.0.203", + version = "1.0.204", deps = [ - "@crates_vendor__serde-1.0.203//:build_script_build", + "@crates_vendor__serde-1.0.204//:build_script_build", ], ) @@ -94,7 +94,7 @@ cargo_build_script( "noclippy", "norustfmt", ], - version = "1.0.203", + version = "1.0.204", visibility = ["//visibility:private"], ) diff --git a/rust-deps/crates/BUILD.serde_derive-1.0.203.bazel b/rust-deps/crates/BUILD.serde_derive-1.0.204.bazel similarity index 94% rename from rust-deps/crates/BUILD.serde_derive-1.0.203.bazel rename to rust-deps/crates/BUILD.serde_derive-1.0.204.bazel index a72c157f153..ce2d7f88721 100644 --- a/rust-deps/crates/BUILD.serde_derive-1.0.203.bazel +++ b/rust-deps/crates/BUILD.serde_derive-1.0.204.bazel @@ -43,10 +43,10 @@ rust_proc_macro( "noclippy", "norustfmt", ], - version = "1.0.203", + version = "1.0.204", deps = [ "@crates_vendor__proc-macro2-1.0.86//:proc_macro2", "@crates_vendor__quote-1.0.36//:quote", - "@crates_vendor__syn-2.0.68//:syn", + "@crates_vendor__syn-2.0.71//:syn", ], ) diff --git a/rust-deps/crates/BUILD.serde_json-1.0.118.bazel b/rust-deps/crates/BUILD.serde_json-1.0.120.bazel similarity index 93% rename from rust-deps/crates/BUILD.serde_json-1.0.118.bazel rename to rust-deps/crates/BUILD.serde_json-1.0.120.bazel index a1b85ea29dd..18024f2f2e4 100644 --- a/rust-deps/crates/BUILD.serde_json-1.0.118.bazel +++ b/rust-deps/crates/BUILD.serde_json-1.0.120.bazel @@ -45,12 +45,12 @@ rust_library( "noclippy", "norustfmt", ], - version = "1.0.118", + version = "1.0.120", deps = [ "@crates_vendor__itoa-1.0.11//:itoa", "@crates_vendor__ryu-1.0.18//:ryu", - "@crates_vendor__serde-1.0.203//:serde", - "@crates_vendor__serde_json-1.0.118//:build_script_build", + "@crates_vendor__serde-1.0.204//:serde", + "@crates_vendor__serde_json-1.0.120//:build_script_build", ], ) @@ -90,7 +90,7 @@ cargo_build_script( "noclippy", "norustfmt", ], - version = "1.0.118", + version = "1.0.120", visibility = ["//visibility:private"], ) diff --git a/rust-deps/crates/BUILD.syn-2.0.68.bazel b/rust-deps/crates/BUILD.syn-2.0.71.bazel similarity index 98% rename from rust-deps/crates/BUILD.syn-2.0.68.bazel rename to rust-deps/crates/BUILD.syn-2.0.71.bazel index 46126de4803..b59e92dc41e 100644 --- a/rust-deps/crates/BUILD.syn-2.0.68.bazel +++ b/rust-deps/crates/BUILD.syn-2.0.71.bazel @@ -50,7 +50,7 @@ rust_library( "noclippy", "norustfmt", ], - version = "2.0.68", + version = "2.0.71", deps = [ "@crates_vendor__proc-macro2-1.0.86//:proc_macro2", "@crates_vendor__quote-1.0.36//:quote", diff --git a/rust-deps/crates/BUILD.thiserror-1.0.61.bazel b/rust-deps/crates/BUILD.thiserror-1.0.62.bazel similarity index 92% rename from rust-deps/crates/BUILD.thiserror-1.0.61.bazel rename to rust-deps/crates/BUILD.thiserror-1.0.62.bazel index c7c2d224110..da6c75605ec 100644 --- a/rust-deps/crates/BUILD.thiserror-1.0.61.bazel +++ b/rust-deps/crates/BUILD.thiserror-1.0.62.bazel @@ -32,7 +32,7 @@ rust_library( crate_root = "src/lib.rs", edition = "2021", proc_macro_deps = [ - "@crates_vendor__thiserror-impl-1.0.61//:thiserror_impl", + "@crates_vendor__thiserror-impl-1.0.62//:thiserror_impl", ], rustc_flags = [ "--cap-lints=allow", @@ -44,9 +44,9 @@ rust_library( "noclippy", "norustfmt", ], - version = "1.0.61", + version = "1.0.62", deps = [ - "@crates_vendor__thiserror-1.0.61//:build_script_build", + "@crates_vendor__thiserror-1.0.62//:build_script_build", ], ) @@ -82,7 +82,7 @@ cargo_build_script( "noclippy", "norustfmt", ], - version = "1.0.61", + version = "1.0.62", visibility = ["//visibility:private"], ) diff --git a/rust-deps/crates/BUILD.thiserror-impl-1.0.61.bazel b/rust-deps/crates/BUILD.thiserror-impl-1.0.62.bazel similarity index 94% rename from rust-deps/crates/BUILD.thiserror-impl-1.0.61.bazel rename to rust-deps/crates/BUILD.thiserror-impl-1.0.62.bazel index 62931c90205..bcdb6759e65 100644 --- a/rust-deps/crates/BUILD.thiserror-impl-1.0.61.bazel +++ b/rust-deps/crates/BUILD.thiserror-impl-1.0.62.bazel @@ -40,10 +40,10 @@ rust_proc_macro( "noclippy", "norustfmt", ], - version = "1.0.61", + version = "1.0.62", deps = [ "@crates_vendor__proc-macro2-1.0.86//:proc_macro2", "@crates_vendor__quote-1.0.36//:quote", - "@crates_vendor__syn-2.0.68//:syn", + "@crates_vendor__syn-2.0.71//:syn", ], ) diff --git a/rust-deps/crates/BUILD.zerocopy-0.7.34.bazel b/rust-deps/crates/BUILD.zerocopy-0.7.35.bazel similarity index 97% rename from rust-deps/crates/BUILD.zerocopy-0.7.34.bazel rename to rust-deps/crates/BUILD.zerocopy-0.7.35.bazel index a211757a0bd..1ce54a15150 100644 --- a/rust-deps/crates/BUILD.zerocopy-0.7.34.bazel +++ b/rust-deps/crates/BUILD.zerocopy-0.7.35.bazel @@ -43,5 +43,5 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.7.34", + version = "0.7.35", ) diff --git a/rust-deps/crates/BUILD.zerocopy-derive-0.7.34.bazel b/rust-deps/crates/BUILD.zerocopy-derive-0.7.35.bazel similarity index 94% rename from rust-deps/crates/BUILD.zerocopy-derive-0.7.34.bazel rename to rust-deps/crates/BUILD.zerocopy-derive-0.7.35.bazel index 6a7c3f00166..2eef91ae5a0 100644 --- a/rust-deps/crates/BUILD.zerocopy-derive-0.7.34.bazel +++ b/rust-deps/crates/BUILD.zerocopy-derive-0.7.35.bazel @@ -40,10 +40,10 @@ rust_proc_macro( "noclippy", "norustfmt", ], - version = "0.7.34", + version = "0.7.35", deps = [ "@crates_vendor__proc-macro2-1.0.86//:proc_macro2", "@crates_vendor__quote-1.0.36//:quote", - "@crates_vendor__syn-2.0.68//:syn", + "@crates_vendor__syn-2.0.71//:syn", ], ) diff --git a/rust-deps/crates/defs.bzl b/rust-deps/crates/defs.bzl index 1fca03d6e13..80d9a50b4aa 100644 --- a/rust-deps/crates/defs.bzl +++ b/rust-deps/crates/defs.bzl @@ -301,8 +301,8 @@ _NORMAL_DEPENDENCIES = { "flate2": Label("@crates_vendor__flate2-1.0.30//:flate2"), "lolhtml": Label("@crates_vendor__lolhtml-1.1.1//:lolhtml"), "pico-args": Label("@crates_vendor__pico-args-0.5.0//:pico_args"), - "serde": Label("@crates_vendor__serde-1.0.203//:serde"), - "serde_json": Label("@crates_vendor__serde_json-1.0.118//:serde_json"), + "serde": Label("@crates_vendor__serde-1.0.204//:serde"), + "serde_json": Label("@crates_vendor__serde_json-1.0.120//:serde_json"), }, }, } @@ -448,12 +448,12 @@ def crate_repositories(): maybe( http_archive, - name = "crates_vendor__cc-1.0.100", - sha256 = "c891175c3fb232128f48de6590095e59198bbeb8620c310be349bfc3afd12c7b", + name = "crates_vendor__cc-1.1.3", + sha256 = "18e2d530f35b40a84124146478cd16f34225306a8441998836466a2e2961c950", type = "tar.gz", - urls = ["https://static.crates.io/crates/cc/1.0.100/download"], - strip_prefix = "cc-1.0.100", - build_file = Label("@workerd//rust-deps/crates:BUILD.cc-1.0.100.bazel"), + urls = ["https://static.crates.io/crates/cc/1.1.3/download"], + strip_prefix = "cc-1.1.3", + build_file = Label("@workerd//rust-deps/crates:BUILD.cc-1.1.3.bazel"), ) maybe( @@ -648,12 +648,12 @@ def crate_repositories(): maybe( http_archive, - name = "crates_vendor__log-0.4.21", - sha256 = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c", + name = "crates_vendor__log-0.4.22", + sha256 = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24", type = "tar.gz", - urls = ["https://static.crates.io/crates/log/0.4.21/download"], - strip_prefix = "log-0.4.21", - build_file = Label("@workerd//rust-deps/crates:BUILD.log-0.4.21.bazel"), + urls = ["https://static.crates.io/crates/log/0.4.22/download"], + strip_prefix = "log-0.4.22", + build_file = Label("@workerd//rust-deps/crates:BUILD.log-0.4.22.bazel"), ) maybe( @@ -947,32 +947,32 @@ def crate_repositories(): maybe( http_archive, - name = "crates_vendor__serde-1.0.203", - sha256 = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094", + name = "crates_vendor__serde-1.0.204", + sha256 = "bc76f558e0cbb2a839d37354c575f1dc3fdc6546b5be373ba43d95f231bf7c12", type = "tar.gz", - urls = ["https://static.crates.io/crates/serde/1.0.203/download"], - strip_prefix = "serde-1.0.203", - build_file = Label("@workerd//rust-deps/crates:BUILD.serde-1.0.203.bazel"), + urls = ["https://static.crates.io/crates/serde/1.0.204/download"], + strip_prefix = "serde-1.0.204", + build_file = Label("@workerd//rust-deps/crates:BUILD.serde-1.0.204.bazel"), ) maybe( http_archive, - name = "crates_vendor__serde_derive-1.0.203", - sha256 = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba", + name = "crates_vendor__serde_derive-1.0.204", + sha256 = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222", type = "tar.gz", - urls = ["https://static.crates.io/crates/serde_derive/1.0.203/download"], - strip_prefix = "serde_derive-1.0.203", - build_file = Label("@workerd//rust-deps/crates:BUILD.serde_derive-1.0.203.bazel"), + urls = ["https://static.crates.io/crates/serde_derive/1.0.204/download"], + strip_prefix = "serde_derive-1.0.204", + build_file = Label("@workerd//rust-deps/crates:BUILD.serde_derive-1.0.204.bazel"), ) maybe( http_archive, - name = "crates_vendor__serde_json-1.0.118", - sha256 = "d947f6b3163d8857ea16c4fa0dd4840d52f3041039a85decd46867eb1abef2e4", + name = "crates_vendor__serde_json-1.0.120", + sha256 = "4e0d21c9a8cae1235ad58a00c11cb40d4b1e5c784f1ef2c537876ed6ffd8b7c5", type = "tar.gz", - urls = ["https://static.crates.io/crates/serde_json/1.0.118/download"], - strip_prefix = "serde_json-1.0.118", - build_file = Label("@workerd//rust-deps/crates:BUILD.serde_json-1.0.118.bazel"), + urls = ["https://static.crates.io/crates/serde_json/1.0.120/download"], + strip_prefix = "serde_json-1.0.120", + build_file = Label("@workerd//rust-deps/crates:BUILD.serde_json-1.0.120.bazel"), ) maybe( @@ -1027,12 +1027,12 @@ def crate_repositories(): maybe( http_archive, - name = "crates_vendor__syn-2.0.68", - sha256 = "901fa70d88b9d6c98022e23b4136f9f3e54e4662c3bc1bd1d84a42a9a0f0c1e9", + name = "crates_vendor__syn-2.0.71", + sha256 = "b146dcf730474b4bcd16c311627b31ede9ab149045db4d6088b3becaea046462", type = "tar.gz", - urls = ["https://static.crates.io/crates/syn/2.0.68/download"], - strip_prefix = "syn-2.0.68", - build_file = Label("@workerd//rust-deps/crates:BUILD.syn-2.0.68.bazel"), + urls = ["https://static.crates.io/crates/syn/2.0.71/download"], + strip_prefix = "syn-2.0.71", + build_file = Label("@workerd//rust-deps/crates:BUILD.syn-2.0.71.bazel"), ) maybe( @@ -1047,22 +1047,22 @@ def crate_repositories(): maybe( http_archive, - name = "crates_vendor__thiserror-1.0.61", - sha256 = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709", + name = "crates_vendor__thiserror-1.0.62", + sha256 = "f2675633b1499176c2dff06b0856a27976a8f9d436737b4cf4f312d4d91d8bbb", type = "tar.gz", - urls = ["https://static.crates.io/crates/thiserror/1.0.61/download"], - strip_prefix = "thiserror-1.0.61", - build_file = Label("@workerd//rust-deps/crates:BUILD.thiserror-1.0.61.bazel"), + urls = ["https://static.crates.io/crates/thiserror/1.0.62/download"], + strip_prefix = "thiserror-1.0.62", + build_file = Label("@workerd//rust-deps/crates:BUILD.thiserror-1.0.62.bazel"), ) maybe( http_archive, - name = "crates_vendor__thiserror-impl-1.0.61", - sha256 = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533", + name = "crates_vendor__thiserror-impl-1.0.62", + sha256 = "d20468752b09f49e909e55a5d338caa8bedf615594e9d80bc4c565d30faf798c", type = "tar.gz", - urls = ["https://static.crates.io/crates/thiserror-impl/1.0.61/download"], - strip_prefix = "thiserror-impl-1.0.61", - build_file = Label("@workerd//rust-deps/crates:BUILD.thiserror-impl-1.0.61.bazel"), + urls = ["https://static.crates.io/crates/thiserror-impl/1.0.62/download"], + strip_prefix = "thiserror-impl-1.0.62", + build_file = Label("@workerd//rust-deps/crates:BUILD.thiserror-impl-1.0.62.bazel"), ) maybe( @@ -1097,22 +1097,22 @@ def crate_repositories(): maybe( http_archive, - name = "crates_vendor__zerocopy-0.7.34", - sha256 = "ae87e3fcd617500e5d106f0380cf7b77f3c6092aae37191433159dda23cfb087", + name = "crates_vendor__zerocopy-0.7.35", + sha256 = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0", type = "tar.gz", - urls = ["https://static.crates.io/crates/zerocopy/0.7.34/download"], - strip_prefix = "zerocopy-0.7.34", - build_file = Label("@workerd//rust-deps/crates:BUILD.zerocopy-0.7.34.bazel"), + urls = ["https://static.crates.io/crates/zerocopy/0.7.35/download"], + strip_prefix = "zerocopy-0.7.35", + build_file = Label("@workerd//rust-deps/crates:BUILD.zerocopy-0.7.35.bazel"), ) maybe( http_archive, - name = "crates_vendor__zerocopy-derive-0.7.34", - sha256 = "15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b", + name = "crates_vendor__zerocopy-derive-0.7.35", + sha256 = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e", type = "tar.gz", - urls = ["https://static.crates.io/crates/zerocopy-derive/0.7.34/download"], - strip_prefix = "zerocopy-derive-0.7.34", - build_file = Label("@workerd//rust-deps/crates:BUILD.zerocopy-derive-0.7.34.bazel"), + urls = ["https://static.crates.io/crates/zerocopy-derive/0.7.35/download"], + strip_prefix = "zerocopy-derive-0.7.35", + build_file = Label("@workerd//rust-deps/crates:BUILD.zerocopy-derive-0.7.35.bazel"), ) return [ @@ -1121,6 +1121,6 @@ def crate_repositories(): struct(repo = "crates_vendor__flate2-1.0.30", is_dev_dep = False), struct(repo = "crates_vendor__lolhtml-1.1.1", is_dev_dep = False), struct(repo = "crates_vendor__pico-args-0.5.0", is_dev_dep = False), - struct(repo = "crates_vendor__serde-1.0.203", is_dev_dep = False), - struct(repo = "crates_vendor__serde_json-1.0.118", is_dev_dep = False), + struct(repo = "crates_vendor__serde-1.0.204", is_dev_dep = False), + struct(repo = "crates_vendor__serde_json-1.0.120", is_dev_dep = False), ] diff --git a/types/test/index.spec.ts b/types/test/index.spec.ts index efb692c0238..f8cb81f0b33 100644 --- a/types/test/index.spec.ts +++ b/types/test/index.spec.ts @@ -174,6 +174,7 @@ declare abstract class WorkerGlobalScope extends EventTarget {} /** * This ServiceWorker API interface represents the global execution context of a service worker. + * Available only in secure contexts. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope) */