-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore!: refactor wasm loading for analyze #1832
Conversation
😎 Merged successfully - details. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't want this logic only available via rules. The linked issue says we need to create an @arcjet/analyze-wasm
package.
@blaine-arcjet Just to clarify before I make the changes. You're proposing we have an |
Correct. I expect that |
Great! I'll update this PR to do that then. |
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
@e-moran one thing I wanted to flag here is that I didn't see a sibling PR to change the build scripts in our analyze packages. We'll want both of them submitted before we merge this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still needs some cleanup. I also expressed some thoughts on how we could reduce some more boilerplate.
Co-authored-by: blaine-arcjet <[email protected]>
Co-authored-by: blaine-arcjet <[email protected]>
…js into eoin/refactor-wasm-loader
Automatically generated with [Release Please](https://github.com/googleapis/release-please). --- <details><summary>@arcjet/analyze: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/analyze-v1.0.0-beta.1) (2025-01-15) ### ⚠ BREAKING CHANGES * refactor wasm loading for analyze ([#1832](#1832)) ### 🚀 New Features * support `allow` or `deny` config in validateEmail & deprecate `block` config ([#2661](#2661)) ([890afcd](890afcd)), closes [#1834](#1834) ### 🧹 Miscellaneous Chores * refactor wasm loading for analyze ([#1832](#1832)) ([02e4435](02e4435)), closes [#1448](#1448) * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/analyze-wasm bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/protocol bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/analyze-wasm: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/analyze-wasm-v1.0.0-beta.1) (2025-01-15) ### ⚠ BREAKING CHANGES * Correctly handle urlencoded data when tokenizing characters ([#2863](#2863)) * refactor wasm loading for analyze ([#1832](#1832)) ### 🚀 New Features * support `allow` or `deny` config in validateEmail & deprecate `block` config ([#2661](#2661)) ([890afcd](890afcd)), closes [#1834](#1834) ### 🪲 Bug Fixes * Correctly handle urlencoded data when tokenizing characters ([#2863](#2863)) ([fa93290](fa93290)) ### 🏎️ Performance Improvements * **analyze:** Compile WebAssembly upon module load ([#2727](#2727)) ([489f1c6](489f1c6)) ### 🧹 Miscellaneous Chores * refactor wasm loading for analyze ([#1832](#1832)) ([02e4435](02e4435)), closes [#1448](#1448) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/body: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/body-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/bun: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/bun-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/headers bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/ip bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/logger bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/protocol bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/transport bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * arcjet bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/decorate: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/decorate-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/protocol bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/sprintf bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/deno: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/deno-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/headers bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/ip bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/logger bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/protocol bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/transport bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * arcjet bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/duration: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/duration-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/env: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/env-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/eslint-config: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/eslint-config-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * **@arcjet/eslint-config:** Synchronize arcjet-js versions </details> <details><summary>@arcjet/headers: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/headers-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/ip: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/ip-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/logger: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/logger-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/sprintf bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/nest: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/nest-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/headers bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/ip bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/logger bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/protocol bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/transport bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/body bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * arcjet bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/next: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/next-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/headers bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/ip bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/logger bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/protocol bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/transport bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * arcjet bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/node: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/node-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/headers bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/ip bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/logger bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/protocol bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/transport bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/body bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * arcjet bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/protocol: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/protocol-v1.0.0-beta.1) (2025-01-15) ### ⚠ BREAKING CHANGES * **protocol:** Improve deprecation message on enum-like field usage ([#2855](#2855)) ### 🚀 New Features * support `allow` or `deny` config in validateEmail & deprecate `block` config ([#2661](#2661)) ([890afcd](890afcd)), closes [#1834](#1834) ### 🪲 Bug Fixes * **protocol:** Improve deprecation message on enum-like field usage ([#2855](#2855)) ([6512258](6512258)) * **protocol:** Include `cookies` and `query` fields on reports ([#2777](#2777)) ([cff2e3a](cff2e3a)) ### 🧹 Miscellaneous Chores * Deprecate Arcjet enum-like objects ([#2684](#2684)) ([7d9ac4f](7d9ac4f)), closes [#2621](#2621) * **protocol:** Opt out of Buf & ConnectRPC v2 changes ([#2473](#2473)) ([06b5b21](06b5b21)) * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/redact: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/redact-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/redact-wasm bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/redact-wasm: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/redact-wasm-v1.0.0-beta.1) (2025-01-15) ### ⚠ BREAKING CHANGES * **redact:** Correctly handle urlencoded data when tokenizing characters ([#2864](#2864)) ### 🪲 Bug Fixes * **redact:** Correctly handle urlencoded data when tokenizing characters ([#2864](#2864)) ([fbed883](fbed883)) ### 🧹 Miscellaneous Chores * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/remix: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/remix-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/headers bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/ip bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/logger bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/protocol bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/transport bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * arcjet bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/rollup-config: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/rollup-config-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/runtime: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/runtime-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * **runtime:** Replace Jest with Node test harness ([#2565](#2565)) ([ec60fe2](ec60fe2)), closes [#9](#9) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/sprintf: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/sprintf-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/sveltekit: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/sveltekit-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/headers bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/ip bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/logger bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/protocol bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/transport bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * arcjet bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/transport: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/transport-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@arcjet/tsconfig: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@arcjet/tsconfig-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * **@arcjet/tsconfig:** Synchronize arcjet-js versions </details> <details><summary>@nosecone/next: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@nosecone/next-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * **@nosecone/next:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * nosecone bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>@nosecone/sveltekit: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.34...@nosecone/sveltekit-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * **@nosecone/sveltekit:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * nosecone bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>arcjet: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](v1.0.0-alpha.34...arcjet-v1.0.0-beta.1) (2025-01-15) ### ⚠ BREAKING CHANGES * **protocol:** Improve deprecation message on enum-like field usage ([#2855](#2855)) ### 🚀 New Features * Export more option types ([#2752](#2752)) ([89a9f77](89a9f77)), closes [#2751](#2751) * support `allow` or `deny` config in validateEmail & deprecate `block` config ([#2661](#2661)) ([890afcd](890afcd)), closes [#1834](#1834) ### 🪲 Bug Fixes * **protocol:** Improve deprecation message on enum-like field usage ([#2855](#2855)) ([6512258](6512258)) ### 🧹 Miscellaneous Chores * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/analyze bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/duration bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/headers bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/protocol bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/runtime bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> <details><summary>1.0.0-beta.1</summary> ## [1.0.0-beta.1](v1.0.0-alpha.34...v1.0.0-beta.1) (2025-01-15) ### ⚠ BREAKING CHANGES * **redact:** Correctly handle urlencoded data when tokenizing characters ([#2864](#2864)) * Correctly handle urlencoded data when tokenizing characters ([#2863](#2863)) * **protocol:** Improve deprecation message on enum-like field usage ([#2855](#2855)) * refactor wasm loading for analyze ([#1832](#1832)) ### 🚀 New Features * Export more option types ([#2752](#2752)) ([89a9f77](89a9f77)), closes [#2751](#2751) * support `allow` or `deny` config in validateEmail & deprecate `block` config ([#2661](#2661)) ([890afcd](890afcd)), closes [#1834](#1834) ### 🪲 Bug Fixes * Correctly handle urlencoded data when tokenizing characters ([#2863](#2863)) ([fa93290](fa93290)) * **protocol:** Improve deprecation message on enum-like field usage ([#2855](#2855)) ([6512258](6512258)) * **protocol:** Include `cookies` and `query` fields on reports ([#2777](#2777)) ([cff2e3a](cff2e3a)) * **redact:** Correctly handle urlencoded data when tokenizing characters ([#2864](#2864)) ([fbed883](fbed883)) ### 🏎️ Performance Improvements * **analyze:** Compile WebAssembly upon module load ([#2727](#2727)) ([489f1c6](489f1c6)) ### 🧹 Miscellaneous Chores * Deprecate Arcjet enum-like objects ([#2684](#2684)) ([7d9ac4f](7d9ac4f)), closes [#2621](#2621) * **examples:** Add Auth.js chained middleware example using Nosecone ([#2640](#2640)) ([d9774cc](d9774cc)) * **examples:** Restrict React to v18 in Next 14 example ([#2778](#2778)) ([50cde21](50cde21)) * **protocol:** Opt out of Buf & ConnectRPC v2 changes ([#2473](#2473)) ([06b5b21](06b5b21)) * refactor wasm loading for analyze ([#1832](#1832)) ([02e4435](02e4435)), closes [#1448](#1448) * **runtime:** Replace Jest with Node test harness ([#2565](#2565)) ([ec60fe2](ec60fe2)), closes [#9](#9) * Switch most test harnesses to node:test ([#2479](#2479)) ([8a71bbc](8a71bbc)) </details> <details><summary>nosecone: 1.0.0-beta.1</summary> ## [1.0.0-beta.1](v1.0.0-alpha.34...nosecone-v1.0.0-beta.1) (2025-01-15) ### 🧹 Miscellaneous Chores * **nosecone:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/rollup-config bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 * @arcjet/tsconfig bumped from 1.0.0-alpha.34 to 1.0.0-beta.1 </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Refactors wasm loading so that the
analyze
package only exports an initialisation function. This greately reduces the amount of code duplication, because we don't need functions per-wasm function per-runtime.Closes #1448