Skip to content
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

perf(analyze): Compile WebAssembly upon module load #2727

Merged
merged 4 commits into from
Jan 14, 2025
Merged

Conversation

e-moran
Copy link
Contributor

@e-moran e-moran commented Jan 6, 2025

This change will pre-compile the Wasm files for long-running process when the analyze-wasm module is loaded.

By keeping the Promise results of the compilation as variables at the top of the module, we no longer need a module cache map.

@e-moran e-moran requested a review from blaine-arcjet January 6, 2025 16:52
@e-moran e-moran requested a review from a team as a code owner January 6, 2025 16:52
Copy link

trunk-io bot commented Jan 6, 2025

😎 Merged successfully - details.

analyze/index.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@blaine-arcjet blaine-arcjet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The cache is not needed since a promise caches indefinitely.

analyze-wasm/index.ts Outdated Show resolved Hide resolved
analyze-wasm/index.ts Outdated Show resolved Hide resolved
analyze-wasm/index.ts Outdated Show resolved Hide resolved
analyze-wasm/index.ts Outdated Show resolved Hide resolved
analyze/index.ts Outdated Show resolved Hide resolved
arcjet/index.ts Outdated Show resolved Hide resolved
arcjet/index.ts Outdated Show resolved Hide resolved
analyze/index.ts Outdated Show resolved Hide resolved
analyze/index.ts Outdated Show resolved Hide resolved
@blaine-arcjet blaine-arcjet changed the title perf: prewarm wasm perf(analyze): Compile WebAssembly upon module load Jan 14, 2025
@blaine-arcjet blaine-arcjet linked an issue Jan 14, 2025 that may be closed by this pull request
Copy link
Contributor

@blaine-arcjet blaine-arcjet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cleaned up the code as per my previous review.

@trunk-io trunk-io bot merged commit 489f1c6 into main Jan 14, 2025
31 checks passed
@trunk-io trunk-io bot deleted the eoin/wasm-prewarm branch January 14, 2025 19:19
trunk-io bot pushed a commit that referenced this pull request Jan 15, 2025
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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider pre-warming WebAssembly modules
2 participants