-
Notifications
You must be signed in to change notification settings - Fork 21
fix(types): remove need for dom.iterable
, dom
, lib
#5047
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
Conversation
😎 Merged successfully - details. |
dom.iterable
dom
, libdom.iterable
, dom
, lib
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.
This is slick! I need to think about it some more before approval but had a question about the lib check in the meantime.
This commit changes our code to work with `@types/node` `18` through to the `24`, with and without `dom`, `dom.iterable`. Things *should* work in other runtimes, with the correct types for them, but that is difficult to verify as we use Node so much in our build to make sure things work. It’s been about 5 year of no movement on adding WebAssembly types to Node (<https://redirect.github.com/microsoft/TypeScript-DOM-lib-generator/issues/826>). We do not expose these types to users, so we can also inline the small API surface we need. The types of `Headers` are a bit different in undici (used in `@types/node`) and the DOM. I don’t know why. I refactored the code, to use properties instead of functions, and to call super methods through `Headers.prototype.*.call`. An esoteric difference. Someone subclassing and overwriting our types would have to do it similarly slightly differently too. But well, they should not use `ArcjetHeaders` if they are going to overwrite things, they could use `Headers` just as well. The changes *except* for `Headers` do not turn up in generated `.d.ts` files, so should not affect users. Closes GH-16.
TypeScript generates an import to `undici-types` if it infers things. However, we do not want to depend on that. We want users to choose whether they get `Headers` and such from whatever place.
c585146
to
df157fa
Compare
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
I am not entirely sure why the |
Automatically generated with [Release Please](https://github.com/googleapis/release-please). --- <details><summary>@arcjet/analyze: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/analyze-v1.0.0-beta.11) (2025-09-03) ### 🚀 New Features * add filter rule ([#4802](https://github.com/arcjet/arcjet-js/issues/4802)) ([40953e1](https://github.com/arcjet/arcjet-js/commit/40953e1c704eea2765a6cb8231a781df547af90c)) ### 📝 Documentation * add JSDocs to exposed API in 10 utilities ([#4741](https://github.com/arcjet/arcjet-js/issues/4741)) ([f836ea2](https://github.com/arcjet/arcjet-js/commit/f836ea2533cf4726a7cacd3462ea1770801e9889)) ### 🧹 Miscellaneous Chores * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/analyze-wasm bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/protocol bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/analyze-wasm: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/analyze-wasm-v1.0.0-beta.11) (2025-09-03) ### 🚀 New Features * add filter rule ([#4802](https://github.com/arcjet/arcjet-js/issues/4802)) ([40953e1](https://github.com/arcjet/arcjet-js/commit/40953e1c704eea2765a6cb8231a781df547af90c)) ### 🪲 Bug Fixes * **types:** remove need for `dom.iterable`, `dom`, lib ([#5047](https://github.com/arcjet/arcjet-js/issues/5047)) ([fba8564](https://github.com/arcjet/arcjet-js/commit/fba85640bd24f1ab2906b1e43159d9e8dc89fd37)) ### 📝 Documentation * **analyze-wasm:** add JSDocs ([#4996](https://github.com/arcjet/arcjet-js/issues/4996)) ([e7a4ba6](https://github.com/arcjet/arcjet-js/commit/e7a4ba6193d63a2b1d95e19eec22f264e86b7c18)) ### 🧹 Miscellaneous Chores * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/astro: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/astro-v1.0.0-beta.11) (2025-09-03) ### 🚀 New Features * add filter rule ([#4802](https://github.com/arcjet/arcjet-js/issues/4802)) ([40953e1](https://github.com/arcjet/arcjet-js/commit/40953e1c704eea2765a6cb8231a781df547af90c)) ### 📝 Documentation * **astro:** add JSDocs ([#5015](https://github.com/arcjet/arcjet-js/issues/5015)) ([131e781](https://github.com/arcjet/arcjet-js/commit/131e7814b2ff0cc8ce76e3b2236b581f28efbf9a)) ### 🧹 Miscellaneous Chores * **headers:** expose named export, deprecate default ([#4860](https://github.com/arcjet/arcjet-js/issues/4860)) ([8d716b9](https://github.com/arcjet/arcjet-js/commit/8d716b99430470a842f2648092736098abdaab66)) * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### ⌨️ Code Refactoring * **ip:** rename identifiers to match other casing ([#4723](https://github.com/arcjet/arcjet-js/issues/4723)) ([4cbd844](https://github.com/arcjet/arcjet-js/commit/4cbd84471216eee6183a686774897bc7ce95f348)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/headers bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/ip bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/logger bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/protocol bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/transport bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * arcjet bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/body: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/body-v1.0.0-beta.11) (2025-09-03) ### 📝 Documentation * add info on derivative works to license sections ([#4654](https://github.com/arcjet/arcjet-js/issues/4654)) ([d427c39](https://github.com/arcjet/arcjet-js/commit/d427c394098b4dfde8756a7d8ab25eb291b278a0)) * add JSDocs to exposed API in 10 utilities ([#4741](https://github.com/arcjet/arcjet-js/issues/4741)) ([f836ea2](https://github.com/arcjet/arcjet-js/commit/f836ea2533cf4726a7cacd3462ea1770801e9889)) ### 🧹 Miscellaneous Chores * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/bun: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/bun-v1.0.0-beta.11) (2025-09-03) ### 🪲 Bug Fixes * **types:** remove need for `dom.iterable`, `dom`, lib ([#5047](https://github.com/arcjet/arcjet-js/issues/5047)) ([fba8564](https://github.com/arcjet/arcjet-js/commit/fba85640bd24f1ab2906b1e43159d9e8dc89fd37)) ### 📝 Documentation * **bun:** add JSDocs ([#5018](https://github.com/arcjet/arcjet-js/issues/5018)) ([a9e946a](https://github.com/arcjet/arcjet-js/commit/a9e946aac2b59a87431cc19de0d6d6b48a4b1a79)) ### 🧹 Miscellaneous Chores * **headers:** expose named export, deprecate default ([#4860](https://github.com/arcjet/arcjet-js/issues/4860)) ([8d716b9](https://github.com/arcjet/arcjet-js/commit/8d716b99430470a842f2648092736098abdaab66)) * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### ⌨️ Code Refactoring * **ip:** rename identifiers to match other casing ([#4723](https://github.com/arcjet/arcjet-js/issues/4723)) ([4cbd844](https://github.com/arcjet/arcjet-js/commit/4cbd84471216eee6183a686774897bc7ce95f348)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/headers bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/ip bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/logger bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/protocol bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/transport bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * arcjet bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/cache: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/cache-v1.0.0-beta.11) (2025-09-03) ### 📝 Documentation * add JSDocs to exposed API in 10 utilities ([#4741](https://github.com/arcjet/arcjet-js/issues/4741)) ([f836ea2](https://github.com/arcjet/arcjet-js/commit/f836ea2533cf4726a7cacd3462ea1770801e9889)) ### 🧹 Miscellaneous Chores * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/decorate: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/decorate-v1.0.0-beta.11) (2025-09-03) ### 📝 Documentation * add JSDocs to exposed API in 10 utilities ([#4741](https://github.com/arcjet/arcjet-js/issues/4741)) ([f836ea2](https://github.com/arcjet/arcjet-js/commit/f836ea2533cf4726a7cacd3462ea1770801e9889)) ### 🧹 Miscellaneous Chores * **decorate:** add type errors for invalid values ([#4865](https://github.com/arcjet/arcjet-js/issues/4865)) ([0f73483](https://github.com/arcjet/arcjet-js/commit/0f73483b8e8430af9d327a880a363b54bf4ef2fe)) * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/protocol bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/sprintf bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/deno: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/deno-v1.0.0-beta.11) (2025-09-03) ### 📝 Documentation * **deno:** add JSDocs ([#5031](https://github.com/arcjet/arcjet-js/issues/5031)) ([18a2700](https://github.com/arcjet/arcjet-js/commit/18a27006f2934d9716edf8fd892bf988ed5e74c7)) ### 🧹 Miscellaneous Chores * **headers:** expose named export, deprecate default ([#4860](https://github.com/arcjet/arcjet-js/issues/4860)) ([8d716b9](https://github.com/arcjet/arcjet-js/commit/8d716b99430470a842f2648092736098abdaab66)) * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### ⌨️ Code Refactoring * **ip:** rename identifiers to match other casing ([#4723](https://github.com/arcjet/arcjet-js/issues/4723)) ([4cbd844](https://github.com/arcjet/arcjet-js/commit/4cbd84471216eee6183a686774897bc7ce95f348)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/headers bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/ip bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/logger bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/protocol bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/transport bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * arcjet bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/duration: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/duration-v1.0.0-beta.11) (2025-09-03) ### 📝 Documentation * add info on derivative works to license sections ([#4654](https://github.com/arcjet/arcjet-js/issues/4654)) ([d427c39](https://github.com/arcjet/arcjet-js/commit/d427c394098b4dfde8756a7d8ab25eb291b278a0)) * add JSDocs to exposed API in 10 utilities ([#4741](https://github.com/arcjet/arcjet-js/issues/4741)) ([f836ea2](https://github.com/arcjet/arcjet-js/commit/f836ea2533cf4726a7cacd3462ea1770801e9889)) ### 🧹 Miscellaneous Chores * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/env: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/env-v1.0.0-beta.11) (2025-09-03) ### ⚠ BREAKING CHANGES * **env:** remove support for explicit port on orb ([#4988](https://github.com/arcjet/arcjet-js/issues/4988)) ### 🚀 New Features * **env:** Support trailing slashes on ARCJET_BASE_URL ([#5035](https://github.com/arcjet/arcjet-js/issues/5035)) ([db1a4ac](https://github.com/arcjet/arcjet-js/commit/db1a4ac2fd713db1f9b03825eb81ea1199fdaa4a)) ### 🪲 Bug Fixes * **env:** remove support for explicit port on orb ([#4988](https://github.com/arcjet/arcjet-js/issues/4988)) ([3e601d7](https://github.com/arcjet/arcjet-js/commit/3e601d7929c5e3a13160a9c61925465887a80a7b)) ### 📝 Documentation * add JSDocs to exposed API in 10 utilities ([#4741](https://github.com/arcjet/arcjet-js/issues/4741)) ([f836ea2](https://github.com/arcjet/arcjet-js/commit/f836ea2533cf4726a7cacd3462ea1770801e9889)) ### 🧹 Miscellaneous Chores * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/eslint-config: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/eslint-config-v1.0.0-beta.11) (2025-09-03) ### 📝 Documentation * add JSDocs to exposed API in 10 utilities ([#4741](https://github.com/arcjet/arcjet-js/issues/4741)) ([f836ea2](https://github.com/arcjet/arcjet-js/commit/f836ea2533cf4726a7cacd3462ea1770801e9889)) </details> <details><summary>@arcjet/fastify: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/fastify-v1.0.0-beta.11) (2025-09-03) ### 📝 Documentation * **fastify:** refactor JSDocs ([#5032](https://github.com/arcjet/arcjet-js/issues/5032)) ([9c7405f](https://github.com/arcjet/arcjet-js/commit/9c7405f4db86353758e4b4e17fc360aff7e512f5)) ### 🧹 Miscellaneous Chores * **headers:** expose named export, deprecate default ([#4860](https://github.com/arcjet/arcjet-js/issues/4860)) ([8d716b9](https://github.com/arcjet/arcjet-js/commit/8d716b99430470a842f2648092736098abdaab66)) * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/headers bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/ip bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/logger bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/protocol bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/transport bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * arcjet bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/headers: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/headers-v1.0.0-beta.11) (2025-09-03) ### 🪲 Bug Fixes * **types:** remove need for `dom.iterable`, `dom`, lib ([#5047](https://github.com/arcjet/arcjet-js/issues/5047)) ([fba8564](https://github.com/arcjet/arcjet-js/commit/fba85640bd24f1ab2906b1e43159d9e8dc89fd37)) ### 📝 Documentation * add JSDocs to exposed API in 10 utilities ([#4741](https://github.com/arcjet/arcjet-js/issues/4741)) ([f836ea2](https://github.com/arcjet/arcjet-js/commit/f836ea2533cf4726a7cacd3462ea1770801e9889)) ### 🧹 Miscellaneous Chores * **headers:** expose named export, deprecate default ([#4860](https://github.com/arcjet/arcjet-js/issues/4860)) ([8d716b9](https://github.com/arcjet/arcjet-js/commit/8d716b99430470a842f2648092736098abdaab66)) * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/inspect: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/inspect-v1.0.0-beta.11) (2025-09-03) ### 📝 Documentation * add JSDocs to exposed API in 10 utilities ([#4741](https://github.com/arcjet/arcjet-js/issues/4741)) ([f836ea2](https://github.com/arcjet/arcjet-js/commit/f836ea2533cf4726a7cacd3462ea1770801e9889)) ### 🧹 Miscellaneous Chores * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/protocol bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/ip: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/ip-v1.0.0-beta.11) (2025-09-03) ### 🚀 New Features * **ip:** expose `Cidr` type ([#4877](https://github.com/arcjet/arcjet-js/issues/4877)) ([96674f4](https://github.com/arcjet/arcjet-js/commit/96674f447e4f79d0592453f548bdb706ac30b49a)) ### 📝 Documentation * add info on derivative works to license sections ([#4654](https://github.com/arcjet/arcjet-js/issues/4654)) ([d427c39](https://github.com/arcjet/arcjet-js/commit/d427c394098b4dfde8756a7d8ab25eb291b278a0)) * add JSDocs to exposed API in 10 utilities ([#4741](https://github.com/arcjet/arcjet-js/issues/4741)) ([f836ea2](https://github.com/arcjet/arcjet-js/commit/f836ea2533cf4726a7cacd3462ea1770801e9889)) ### 🧹 Miscellaneous Chores * **ip:** expose named export, deprecate default ([#4876](https://github.com/arcjet/arcjet-js/issues/4876)) ([fcb83a3](https://github.com/arcjet/arcjet-js/commit/fcb83a304e1b9ba16b788e7a1209a61af2193f94)) * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### ⌨️ Code Refactoring * **ip:** rename identifiers to match other casing ([#4723](https://github.com/arcjet/arcjet-js/issues/4723)) ([4cbd844](https://github.com/arcjet/arcjet-js/commit/4cbd84471216eee6183a686774897bc7ce95f348)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/logger: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/logger-v1.0.0-beta.11) (2025-09-03) ### 📝 Documentation * **logger:** add JSDocs ([#4839](https://github.com/arcjet/arcjet-js/issues/4839)) ([107c145](https://github.com/arcjet/arcjet-js/commit/107c1455cc2ae36bbc75909097a50c67a4e67129)) ### 🧹 Miscellaneous Chores * **logger:** rename `LoggerOptions` to `Options` ([#4874](https://github.com/arcjet/arcjet-js/issues/4874)) ([78962de](https://github.com/arcjet/arcjet-js/commit/78962de6ef97485f1aa8c24fabbfb70cab414fee)) * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### ⌨️ Code Refactoring * **logger:** replace abbreviations with words ([#4853](https://github.com/arcjet/arcjet-js/issues/4853)) ([de963dc](https://github.com/arcjet/arcjet-js/commit/de963dc45df4ecbd4fe15127ca945f1934466ba0)) * **logger:** use more specific type than `unknown` ([#4873](https://github.com/arcjet/arcjet-js/issues/4873)) ([5025378](https://github.com/arcjet/arcjet-js/commit/5025378577b40a2c6dad9a41929bca94aedf6a4b)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/sprintf bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/nest: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/nest-v1.0.0-beta.11) (2025-09-03) ### 📝 Documentation * **nest:** add JSDocs ([#5034](https://github.com/arcjet/arcjet-js/issues/5034)) ([0ff6b3f](https://github.com/arcjet/arcjet-js/commit/0ff6b3fc1b74943d8e08e56678646c4ef2785d1b)) ### 🧹 Miscellaneous Chores * **headers:** expose named export, deprecate default ([#4860](https://github.com/arcjet/arcjet-js/issues/4860)) ([8d716b9](https://github.com/arcjet/arcjet-js/commit/8d716b99430470a842f2648092736098abdaab66)) * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### ⌨️ Code Refactoring * **ip:** rename identifiers to match other casing ([#4723](https://github.com/arcjet/arcjet-js/issues/4723)) ([4cbd844](https://github.com/arcjet/arcjet-js/commit/4cbd84471216eee6183a686774897bc7ce95f348)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/headers bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/ip bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/logger bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/protocol bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/transport bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/body bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * arcjet bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/next: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/next-v1.0.0-beta.11) (2025-09-03) ### 📝 Documentation * **next:** refactor JSDocs ([#5038](https://github.com/arcjet/arcjet-js/issues/5038)) ([fc61a27](https://github.com/arcjet/arcjet-js/commit/fc61a279906c789a6d5cb7bab12a4cd6135f103a)) ### 🧹 Miscellaneous Chores * **headers:** expose named export, deprecate default ([#4860](https://github.com/arcjet/arcjet-js/issues/4860)) ([8d716b9](https://github.com/arcjet/arcjet-js/commit/8d716b99430470a842f2648092736098abdaab66)) * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### ⌨️ Code Refactoring * **ip:** rename identifiers to match other casing ([#4723](https://github.com/arcjet/arcjet-js/issues/4723)) ([4cbd844](https://github.com/arcjet/arcjet-js/commit/4cbd84471216eee6183a686774897bc7ce95f348)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/headers bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/ip bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/logger bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/protocol bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/transport bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * arcjet bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/node: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/node-v1.0.0-beta.11) (2025-09-03) ### 📝 Documentation * **node:** add JSDocs ([#5039](https://github.com/arcjet/arcjet-js/issues/5039)) ([309738a](https://github.com/arcjet/arcjet-js/commit/309738ac009d3986d27ba34e30dc23604f4e6aba)) ### 🧹 Miscellaneous Chores * **headers:** expose named export, deprecate default ([#4860](https://github.com/arcjet/arcjet-js/issues/4860)) ([8d716b9](https://github.com/arcjet/arcjet-js/commit/8d716b99430470a842f2648092736098abdaab66)) * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### ⌨️ Code Refactoring * **ip:** rename identifiers to match other casing ([#4723](https://github.com/arcjet/arcjet-js/issues/4723)) ([4cbd844](https://github.com/arcjet/arcjet-js/commit/4cbd84471216eee6183a686774897bc7ce95f348)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/headers bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/ip bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/logger bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/protocol bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/transport bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/body bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * arcjet bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/protocol: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/protocol-v1.0.0-beta.11) (2025-09-03) ### ⚠ BREAKING CHANGES * **protocol:** remove enum-like objects ([#5053](https://github.com/arcjet/arcjet-js/issues/5053)) ### 🚀 New Features * add filter rule ([#4802](https://github.com/arcjet/arcjet-js/issues/4802)) ([40953e1](https://github.com/arcjet/arcjet-js/commit/40953e1c704eea2765a6cb8231a781df547af90c)) ### 🪲 Bug Fixes * **protocol:** Remove change that disjoined IP details and assertions ([#4859](https://github.com/arcjet/arcjet-js/issues/4859)) ([#4913](https://github.com/arcjet/arcjet-js/issues/4913)) ([3304e9c](https://github.com/arcjet/arcjet-js/commit/3304e9c4280cf616f6a7f6466b8088e796425e53)) ### 📝 Documentation * **protocol:** add JSDocs ([#4851](https://github.com/arcjet/arcjet-js/issues/4851)) ([c1021e9](https://github.com/arcjet/arcjet-js/commit/c1021e9b6319297d718f2926fcccab2a28a91a93)) ### 🧹 Miscellaneous Chores * **protocol:** add `hasAsn`, deprecate `hasASN` ([#4889](https://github.com/arcjet/arcjet-js/issues/4889)) ([4990e80](https://github.com/arcjet/arcjet-js/commit/4990e8084ae193c20955e76abe7a1619eac82a80)) * **protocol:** remove enum-like objects ([#5053](https://github.com/arcjet/arcjet-js/issues/5053)) ([cc76e1c](https://github.com/arcjet/arcjet-js/commit/cc76e1cf778e8d6d69a3023d61164908d39299ce)) * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### ⌨️ Code Refactoring * **protocol:** remove unneeded type utility ([#4859](https://github.com/arcjet/arcjet-js/issues/4859)) ([0a638ae](https://github.com/arcjet/arcjet-js/commit/0a638ae8e2d680fbe3c33556f3011f4ad733f5ad)) ### 📚 Tests * **protocol:** add type guard tests for `ArcjetIpDetails` ([#4888](https://github.com/arcjet/arcjet-js/issues/4888)) ([98072bc](https://github.com/arcjet/arcjet-js/commit/98072bcb146f99f6983f9fe4dbe225b3c7e3fe82)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/cache bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/redact: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/redact-v1.0.0-beta.11) (2025-09-03) ### ⚠ BREAKING CHANGES * **redact:** improve types around custom entities ([#4883](https://github.com/arcjet/arcjet-js/issues/4883)) ### 🪲 Bug Fixes * **types:** remove need for `dom.iterable`, `dom`, lib ([#5047](https://github.com/arcjet/arcjet-js/issues/5047)) ([fba8564](https://github.com/arcjet/arcjet-js/commit/fba85640bd24f1ab2906b1e43159d9e8dc89fd37)) ### 📝 Documentation * **redact:** add JSDocs ([#4843](https://github.com/arcjet/arcjet-js/issues/4843)) ([b6b14bb](https://github.com/arcjet/arcjet-js/commit/b6b14bb5e5b161d334a1fcd6eb6ed7f565c49f24)) ### 🧹 Miscellaneous Chores * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### ⌨️ Code Refactoring * **redact:** improve types around custom entities ([#4883](https://github.com/arcjet/arcjet-js/issues/4883)) ([0b09945](https://github.com/arcjet/arcjet-js/commit/0b0994591a2e344c5102089cf83cf0613d506cfe)) * **redact:** remove repetition in code ([#4881](https://github.com/arcjet/arcjet-js/issues/4881)) ([191ccb7](https://github.com/arcjet/arcjet-js/commit/191ccb7105e6cc6f8e949ff56163dba0758c5d79)) * **redact:** reuse exposed types ([#4856](https://github.com/arcjet/arcjet-js/issues/4856)) ([2380307](https://github.com/arcjet/arcjet-js/commit/2380307a7b82ed1a9dc4c3bb3167475a9cfe12eb)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/redact-wasm bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/redact-wasm: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/redact-wasm-v1.0.0-beta.11) (2025-09-03) ### 🪲 Bug Fixes * **types:** remove need for `dom.iterable`, `dom`, lib ([#5047](https://github.com/arcjet/arcjet-js/issues/5047)) ([fba8564](https://github.com/arcjet/arcjet-js/commit/fba85640bd24f1ab2906b1e43159d9e8dc89fd37)) ### 📝 Documentation * **redact-wasm:** add JSDocs ([#4844](https://github.com/arcjet/arcjet-js/issues/4844)) ([e187ff8](https://github.com/arcjet/arcjet-js/commit/e187ff855e1f4873957b131f747bd7cb876ee25a)) ### 🧹 Miscellaneous Chores * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### ⌨️ Code Refactoring * **redact:** reuse exposed types ([#4856](https://github.com/arcjet/arcjet-js/issues/4856)) ([2380307](https://github.com/arcjet/arcjet-js/commit/2380307a7b82ed1a9dc4c3bb3167475a9cfe12eb)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/remix: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/remix-v1.0.0-beta.11) (2025-09-03) ### 📝 Documentation * **remix:** add JSDocs ([#5049](https://github.com/arcjet/arcjet-js/issues/5049)) ([4a9efcf](https://github.com/arcjet/arcjet-js/commit/4a9efcf377364b20a930f4a4ce7a1b2172fc296d)) ### 🧹 Miscellaneous Chores * **headers:** expose named export, deprecate default ([#4860](https://github.com/arcjet/arcjet-js/issues/4860)) ([8d716b9](https://github.com/arcjet/arcjet-js/commit/8d716b99430470a842f2648092736098abdaab66)) * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### ⌨️ Code Refactoring * **ip:** rename identifiers to match other casing ([#4723](https://github.com/arcjet/arcjet-js/issues/4723)) ([4cbd844](https://github.com/arcjet/arcjet-js/commit/4cbd84471216eee6183a686774897bc7ce95f348)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/headers bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/ip bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/logger bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/protocol bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/transport bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * arcjet bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/rollup-config: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/rollup-config-v1.0.0-beta.11) (2025-09-03) ### 📝 Documentation * **rollup-config:** add JSDocs ([#4845](https://github.com/arcjet/arcjet-js/issues/4845)) ([3b5b477](https://github.com/arcjet/arcjet-js/commit/3b5b477f6087e3374c778a0749e5cb5c798e5908)) ### 🧹 Miscellaneous Chores * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/runtime: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/runtime-v1.0.0-beta.11) (2025-09-03) ### 🪲 Bug Fixes * **types:** remove need for `dom.iterable`, `dom`, lib ([#5047](https://github.com/arcjet/arcjet-js/issues/5047)) ([fba8564](https://github.com/arcjet/arcjet-js/commit/fba85640bd24f1ab2906b1e43159d9e8dc89fd37)) ### 📝 Documentation * add info on derivative works to license sections ([#4654](https://github.com/arcjet/arcjet-js/issues/4654)) ([d427c39](https://github.com/arcjet/arcjet-js/commit/d427c394098b4dfde8756a7d8ab25eb291b278a0)) * **runtime:** add JSDocs ([#4846](https://github.com/arcjet/arcjet-js/issues/4846)) ([a740694](https://github.com/arcjet/arcjet-js/commit/a7406942dbeed93304e0724228e745040ee93822)) ### 🧹 Miscellaneous Chores * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/sprintf: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/sprintf-v1.0.0-beta.11) (2025-09-03) ### 📝 Documentation * add info on derivative works to license sections ([#4654](https://github.com/arcjet/arcjet-js/issues/4654)) ([d427c39](https://github.com/arcjet/arcjet-js/commit/d427c394098b4dfde8756a7d8ab25eb291b278a0)) * **sprintf:** add JSDocs ([#4847](https://github.com/arcjet/arcjet-js/issues/4847)) ([a5b5084](https://github.com/arcjet/arcjet-js/commit/a5b50840f13ee03371166fa2655a54180d30aacc)) * **sprintf:** add JSDocs ([#4848](https://github.com/arcjet/arcjet-js/issues/4848)) ([d9b0adb](https://github.com/arcjet/arcjet-js/commit/d9b0adb94c243cf5894f64005ad722ad4264145d)) ### 🧹 Miscellaneous Chores * **sprintf:** expose named export, deprecate default ([#4875](https://github.com/arcjet/arcjet-js/issues/4875)) ([a2624b4](https://github.com/arcjet/arcjet-js/commit/a2624b4998e2e9d05e83b417411eb3cddfcab18b)) * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### ⌨️ Code Refactoring * **sprintf:** replace abbreviations with words ([#4857](https://github.com/arcjet/arcjet-js/issues/4857)) ([13bac85](https://github.com/arcjet/arcjet-js/commit/13bac85d164ca6b86e78bd8cded03403abb087bc)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/stable-hash: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/stable-hash-v1.0.0-beta.11) (2025-09-03) ### 🪲 Bug Fixes * **types:** remove need for `dom.iterable`, `dom`, lib ([#5047](https://github.com/arcjet/arcjet-js/issues/5047)) ([fba8564](https://github.com/arcjet/arcjet-js/commit/fba85640bd24f1ab2906b1e43159d9e8dc89fd37)) ### 📝 Documentation * **sprintf:** add JSDocs ([#4848](https://github.com/arcjet/arcjet-js/issues/4848)) ([d9b0adb](https://github.com/arcjet/arcjet-js/commit/d9b0adb94c243cf5894f64005ad722ad4264145d)) * **stable-hash:** add derivative work to readme ([#4858](https://github.com/arcjet/arcjet-js/issues/4858)) ([b693f2b](https://github.com/arcjet/arcjet-js/commit/b693f2b7125076edc19a15b58e5e8f0a8d226175)) ### 🧹 Miscellaneous Chores * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/sveltekit: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/sveltekit-v1.0.0-beta.11) (2025-09-03) ### 📝 Documentation * **sveltekit:** add JSDocs ([#5050](https://github.com/arcjet/arcjet-js/issues/5050)) ([8077f9c](https://github.com/arcjet/arcjet-js/commit/8077f9cd7b77f46e9a6d0e318404a94b70ae7151)) ### 🧹 Miscellaneous Chores * **headers:** expose named export, deprecate default ([#4860](https://github.com/arcjet/arcjet-js/issues/4860)) ([8d716b9](https://github.com/arcjet/arcjet-js/commit/8d716b99430470a842f2648092736098abdaab66)) * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### ⌨️ Code Refactoring * **ip:** rename identifiers to match other casing ([#4723](https://github.com/arcjet/arcjet-js/issues/4723)) ([4cbd844](https://github.com/arcjet/arcjet-js/commit/4cbd84471216eee6183a686774897bc7ce95f348)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/headers bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/ip bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/logger bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/protocol bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/transport bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * arcjet bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@arcjet/transport: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@arcjet/transport-v1.0.0-beta.11) (2025-09-03) ### 📝 Documentation * **transport:** add JSDocs ([#4849](https://github.com/arcjet/arcjet-js/issues/4849)) ([a59390b](https://github.com/arcjet/arcjet-js/commit/a59390be6c248d641f910fe4ed4a72f8119fe1f1)) ### 🧹 Miscellaneous Chores * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@nosecone/next: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@nosecone/next-v1.0.0-beta.11) (2025-09-03) ### 🪲 Bug Fixes * **types:** remove need for `dom.iterable`, `dom`, lib ([#5047](https://github.com/arcjet/arcjet-js/issues/5047)) ([fba8564](https://github.com/arcjet/arcjet-js/commit/fba85640bd24f1ab2906b1e43159d9e8dc89fd37)) ### 📝 Documentation * **nosecone-next:** add JSDocs ([#4841](https://github.com/arcjet/arcjet-js/issues/4841)) ([689ea3c](https://github.com/arcjet/arcjet-js/commit/689ea3c94ef75d574466190c5938a016932801bc)) ### 🧹 Miscellaneous Chores * **nosecone-next:** expose named export, deprecate default ([#4879](https://github.com/arcjet/arcjet-js/issues/4879)) ([605e647](https://github.com/arcjet/arcjet-js/commit/605e647fbc721e841bf037fe59f47a6089ec7f37)) * **nosecone:** expose `Options`, deprecate `NoseconeOptions` ([#4855](https://github.com/arcjet/arcjet-js/issues/4855)) ([c504315](https://github.com/arcjet/arcjet-js/commit/c5043154836c04d3106be333c418682212b9602f)) * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### Dependencies * The following workspace dependencies were updated * dependencies * nosecone bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>@nosecone/sveltekit: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...@nosecone/sveltekit-v1.0.0-beta.11) (2025-09-03) ### 📝 Documentation * **nosecone-sveltekit:** add JSDocs ([#4842](https://github.com/arcjet/arcjet-js/issues/4842)) ([de708af](https://github.com/arcjet/arcjet-js/commit/de708af03090b2c6f299067719d3e038d4e44063)) ### 🧹 Miscellaneous Chores * **nosecone-sveltekit:** expose named export, deprecate default ([#4880](https://github.com/arcjet/arcjet-js/issues/4880)) ([d0e9aaf](https://github.com/arcjet/arcjet-js/commit/d0e9aaf83c7b3fc2609ade169af4641308d8c513)) * **nosecone:** expose `Options`, deprecate `NoseconeOptions` ([#4855](https://github.com/arcjet/arcjet-js/issues/4855)) ([c504315](https://github.com/arcjet/arcjet-js/commit/c5043154836c04d3106be333c418682212b9602f)) * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### Dependencies * The following workspace dependencies were updated * dependencies * nosecone bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>arcjet: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...arcjet-v1.0.0-beta.11) (2025-09-03) ### ⚠ BREAKING CHANGES * **protocol:** remove enum-like objects ([#5053](https://github.com/arcjet/arcjet-js/issues/5053)) ### 🚀 New Features * add filter rule ([#4802](https://github.com/arcjet/arcjet-js/issues/4802)) ([40953e1](https://github.com/arcjet/arcjet-js/commit/40953e1c704eea2765a6cb8231a781df547af90c)) ### 📝 Documentation * **arcjet:** add JSDocs ([#4997](https://github.com/arcjet/arcjet-js/issues/4997)) ([de57d5e](https://github.com/arcjet/arcjet-js/commit/de57d5e68864b620c2b9e76c97866565e602afb6)) ### 🧹 Miscellaneous Chores * **headers:** expose named export, deprecate default ([#4860](https://github.com/arcjet/arcjet-js/issues/4860)) ([8d716b9](https://github.com/arcjet/arcjet-js/commit/8d716b99430470a842f2648092736098abdaab66)) * **protocol:** remove enum-like objects ([#5053](https://github.com/arcjet/arcjet-js/issues/5053)) ([cc76e1c](https://github.com/arcjet/arcjet-js/commit/cc76e1cf778e8d6d69a3023d61164908d39299ce)) * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/analyze bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/cache bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/duration bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/headers bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/protocol bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/runtime bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/stable-hash bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> <details><summary>1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...v1.0.0-beta.11) (2025-09-03) ### ⚠ BREAKING CHANGES * **redact:** improve types around custom entities ([#4883](https://github.com/arcjet/arcjet-js/issues/4883)) * **protocol:** remove enum-like objects ([#5053](https://github.com/arcjet/arcjet-js/issues/5053)) * **env:** remove support for explicit port on orb ([#4988](https://github.com/arcjet/arcjet-js/issues/4988)) ### 🚀 New Features * add filter rule ([#4802](https://github.com/arcjet/arcjet-js/issues/4802)) ([40953e1](https://github.com/arcjet/arcjet-js/commit/40953e1c704eea2765a6cb8231a781df547af90c)) * **env:** Support trailing slashes on ARCJET_BASE_URL ([#5035](https://github.com/arcjet/arcjet-js/issues/5035)) ([db1a4ac](https://github.com/arcjet/arcjet-js/commit/db1a4ac2fd713db1f9b03825eb81ea1199fdaa4a)) * **ip:** expose `Cidr` type ([#4877](https://github.com/arcjet/arcjet-js/issues/4877)) ([96674f4](https://github.com/arcjet/arcjet-js/commit/96674f447e4f79d0592453f548bdb706ac30b49a)) ### 🪲 Bug Fixes * **env:** remove support for explicit port on orb ([#4988](https://github.com/arcjet/arcjet-js/issues/4988)) ([3e601d7](https://github.com/arcjet/arcjet-js/commit/3e601d7929c5e3a13160a9c61925465887a80a7b)) * **protocol:** Remove change that disjoined IP details and assertions ([#4859](https://github.com/arcjet/arcjet-js/issues/4859)) ([#4913](https://github.com/arcjet/arcjet-js/issues/4913)) ([3304e9c](https://github.com/arcjet/arcjet-js/commit/3304e9c4280cf616f6a7f6466b8088e796425e53)) * **types:** remove need for `dom.iterable`, `dom`, lib ([#5047](https://github.com/arcjet/arcjet-js/issues/5047)) ([fba8564](https://github.com/arcjet/arcjet-js/commit/fba85640bd24f1ab2906b1e43159d9e8dc89fd37)) ### 📝 Documentation * add info on derivative works to license sections ([#4654](https://github.com/arcjet/arcjet-js/issues/4654)) ([d427c39](https://github.com/arcjet/arcjet-js/commit/d427c394098b4dfde8756a7d8ab25eb291b278a0)) * add JSDocs to exposed API in 10 utilities ([#4741](https://github.com/arcjet/arcjet-js/issues/4741)) ([f836ea2](https://github.com/arcjet/arcjet-js/commit/f836ea2533cf4726a7cacd3462ea1770801e9889)) * **analyze-wasm:** add JSDocs ([#4996](https://github.com/arcjet/arcjet-js/issues/4996)) ([e7a4ba6](https://github.com/arcjet/arcjet-js/commit/e7a4ba6193d63a2b1d95e19eec22f264e86b7c18)) * **arcjet:** add JSDocs ([#4997](https://github.com/arcjet/arcjet-js/issues/4997)) ([de57d5e](https://github.com/arcjet/arcjet-js/commit/de57d5e68864b620c2b9e76c97866565e602afb6)) * **astro:** add JSDocs ([#5015](https://github.com/arcjet/arcjet-js/issues/5015)) ([131e781](https://github.com/arcjet/arcjet-js/commit/131e7814b2ff0cc8ce76e3b2236b581f28efbf9a)) * **bun:** add JSDocs ([#5018](https://github.com/arcjet/arcjet-js/issues/5018)) ([a9e946a](https://github.com/arcjet/arcjet-js/commit/a9e946aac2b59a87431cc19de0d6d6b48a4b1a79)) * **deno:** add JSDocs ([#5031](https://github.com/arcjet/arcjet-js/issues/5031)) ([18a2700](https://github.com/arcjet/arcjet-js/commit/18a27006f2934d9716edf8fd892bf988ed5e74c7)) * **examples:** remove unneeded port from steps ([#4987](https://github.com/arcjet/arcjet-js/issues/4987)) ([a908b16](https://github.com/arcjet/arcjet-js/commit/a908b162aa6f7578d469b569e8bf156927ad178a)) * **fastify:** refactor JSDocs ([#5032](https://github.com/arcjet/arcjet-js/issues/5032)) ([9c7405f](https://github.com/arcjet/arcjet-js/commit/9c7405f4db86353758e4b4e17fc360aff7e512f5)) * **logger:** add JSDocs ([#4839](https://github.com/arcjet/arcjet-js/issues/4839)) ([107c145](https://github.com/arcjet/arcjet-js/commit/107c1455cc2ae36bbc75909097a50c67a4e67129)) * **nest:** add JSDocs ([#5034](https://github.com/arcjet/arcjet-js/issues/5034)) ([0ff6b3f](https://github.com/arcjet/arcjet-js/commit/0ff6b3fc1b74943d8e08e56678646c4ef2785d1b)) * **next:** refactor JSDocs ([#5038](https://github.com/arcjet/arcjet-js/issues/5038)) ([fc61a27](https://github.com/arcjet/arcjet-js/commit/fc61a279906c789a6d5cb7bab12a4cd6135f103a)) * **node:** add JSDocs ([#5039](https://github.com/arcjet/arcjet-js/issues/5039)) ([309738a](https://github.com/arcjet/arcjet-js/commit/309738ac009d3986d27ba34e30dc23604f4e6aba)) * **nosecone-next:** add JSDocs ([#4841](https://github.com/arcjet/arcjet-js/issues/4841)) ([689ea3c](https://github.com/arcjet/arcjet-js/commit/689ea3c94ef75d574466190c5938a016932801bc)) * **nosecone-sveltekit:** add JSDocs ([#4842](https://github.com/arcjet/arcjet-js/issues/4842)) ([de708af](https://github.com/arcjet/arcjet-js/commit/de708af03090b2c6f299067719d3e038d4e44063)) * **nosecone:** add derivative works to readme ([#4854](https://github.com/arcjet/arcjet-js/issues/4854)) ([73f2bcb](https://github.com/arcjet/arcjet-js/commit/73f2bcb87faca426938d5186287321be6e3f8915)) * **nosecone:** add JSDocs ([#4840](https://github.com/arcjet/arcjet-js/issues/4840)) ([ead53e5](https://github.com/arcjet/arcjet-js/commit/ead53e510ecb93ded2400557333868eed63875bb)) * **protocol:** add JSDocs ([#4851](https://github.com/arcjet/arcjet-js/issues/4851)) ([c1021e9](https://github.com/arcjet/arcjet-js/commit/c1021e9b6319297d718f2926fcccab2a28a91a93)) * **readme:** fix list of example apps ([#4891](https://github.com/arcjet/arcjet-js/issues/4891)) ([36ea1ca](https://github.com/arcjet/arcjet-js/commit/36ea1ca0f3adfb05f99f7856b3101d2b7c326075)) * **readme:** fix list of quick start guides ([#4890](https://github.com/arcjet/arcjet-js/issues/4890)) ([e90d6e4](https://github.com/arcjet/arcjet-js/commit/e90d6e4c51848da17b3d082e757563149704a2a0)) * **redact-wasm:** add JSDocs ([#4844](https://github.com/arcjet/arcjet-js/issues/4844)) ([e187ff8](https://github.com/arcjet/arcjet-js/commit/e187ff855e1f4873957b131f747bd7cb876ee25a)) * **redact:** add JSDocs ([#4843](https://github.com/arcjet/arcjet-js/issues/4843)) ([b6b14bb](https://github.com/arcjet/arcjet-js/commit/b6b14bb5e5b161d334a1fcd6eb6ed7f565c49f24)) * **remix:** add JSDocs ([#5049](https://github.com/arcjet/arcjet-js/issues/5049)) ([4a9efcf](https://github.com/arcjet/arcjet-js/commit/4a9efcf377364b20a930f4a4ce7a1b2172fc296d)) * **rollup-config:** add JSDocs ([#4845](https://github.com/arcjet/arcjet-js/issues/4845)) ([3b5b477](https://github.com/arcjet/arcjet-js/commit/3b5b477f6087e3374c778a0749e5cb5c798e5908)) * **runtime:** add JSDocs ([#4846](https://github.com/arcjet/arcjet-js/issues/4846)) ([a740694](https://github.com/arcjet/arcjet-js/commit/a7406942dbeed93304e0724228e745040ee93822)) * **sprintf:** add JSDocs ([#4847](https://github.com/arcjet/arcjet-js/issues/4847)) ([a5b5084](https://github.com/arcjet/arcjet-js/commit/a5b50840f13ee03371166fa2655a54180d30aacc)) * **sprintf:** add JSDocs ([#4848](https://github.com/arcjet/arcjet-js/issues/4848)) ([d9b0adb](https://github.com/arcjet/arcjet-js/commit/d9b0adb94c243cf5894f64005ad722ad4264145d)) * **stable-hash:** add derivative work to readme ([#4858](https://github.com/arcjet/arcjet-js/issues/4858)) ([b693f2b](https://github.com/arcjet/arcjet-js/commit/b693f2b7125076edc19a15b58e5e8f0a8d226175)) * **sveltekit:** add JSDocs ([#5050](https://github.com/arcjet/arcjet-js/issues/5050)) ([8077f9c](https://github.com/arcjet/arcjet-js/commit/8077f9cd7b77f46e9a6d0e318404a94b70ae7151)) * **transport:** add JSDocs ([#4849](https://github.com/arcjet/arcjet-js/issues/4849)) ([a59390b](https://github.com/arcjet/arcjet-js/commit/a59390be6c248d641f910fe4ed4a72f8119fe1f1)) ### 🧹 Miscellaneous Chores * **decorate:** add type errors for invalid values ([#4865](https://github.com/arcjet/arcjet-js/issues/4865)) ([0f73483](https://github.com/arcjet/arcjet-js/commit/0f73483b8e8430af9d327a880a363b54bf4ef2fe)) * **example:** Update Gatsby overrides ([#5036](https://github.com/arcjet/arcjet-js/issues/5036)) ([fd0b115](https://github.com/arcjet/arcjet-js/commit/fd0b11576083691e73669a571458205f9a93f95c)) * **headers:** expose named export, deprecate default ([#4860](https://github.com/arcjet/arcjet-js/issues/4860)) ([8d716b9](https://github.com/arcjet/arcjet-js/commit/8d716b99430470a842f2648092736098abdaab66)) * **ip:** expose named export, deprecate default ([#4876](https://github.com/arcjet/arcjet-js/issues/4876)) ([fcb83a3](https://github.com/arcjet/arcjet-js/commit/fcb83a304e1b9ba16b788e7a1209a61af2193f94)) * **logger:** rename `LoggerOptions` to `Options` ([#4874](https://github.com/arcjet/arcjet-js/issues/4874)) ([78962de](https://github.com/arcjet/arcjet-js/commit/78962de6ef97485f1aa8c24fabbfb70cab414fee)) * normalize `package-lock.json` ([#4794](https://github.com/arcjet/arcjet-js/issues/4794)) ([e17962b](https://github.com/arcjet/arcjet-js/commit/e17962be6f229186817001ff5a4f7f7d78c31e47)) * **nosecone-next:** expose named export, deprecate default ([#4879](https://github.com/arcjet/arcjet-js/issues/4879)) ([605e647](https://github.com/arcjet/arcjet-js/commit/605e647fbc721e841bf037fe59f47a6089ec7f37)) * **nosecone-sveltekit:** expose named export, deprecate default ([#4880](https://github.com/arcjet/arcjet-js/issues/4880)) ([d0e9aaf](https://github.com/arcjet/arcjet-js/commit/d0e9aaf83c7b3fc2609ade169af4641308d8c513)) * **nosecone:** expose `Options`, deprecate `NoseconeOptions` ([#4855](https://github.com/arcjet/arcjet-js/issues/4855)) ([c504315](https://github.com/arcjet/arcjet-js/commit/c5043154836c04d3106be333c418682212b9602f)) * **nosecone:** expose named export, deprecate default ([#4878](https://github.com/arcjet/arcjet-js/issues/4878)) ([e7607de](https://github.com/arcjet/arcjet-js/commit/e7607de8dd79f12ec28f0a50a7fb835955520365)) * **protocol:** add `hasAsn`, deprecate `hasASN` ([#4889](https://github.com/arcjet/arcjet-js/issues/4889)) ([4990e80](https://github.com/arcjet/arcjet-js/commit/4990e8084ae193c20955e76abe7a1619eac82a80)) * **protocol:** remove enum-like objects ([#5053](https://github.com/arcjet/arcjet-js/issues/5053)) ([cc76e1c](https://github.com/arcjet/arcjet-js/commit/cc76e1cf778e8d6d69a3023d61164908d39299ce)) * **sprintf:** expose named export, deprecate default ([#4875](https://github.com/arcjet/arcjet-js/issues/4875)) ([a2624b4](https://github.com/arcjet/arcjet-js/commit/a2624b4998e2e9d05e83b417411eb3cddfcab18b)) * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### ⌨️ Code Refactoring * **ip:** rename identifiers to match other casing ([#4723](https://github.com/arcjet/arcjet-js/issues/4723)) ([4cbd844](https://github.com/arcjet/arcjet-js/commit/4cbd84471216eee6183a686774897bc7ce95f348)) * **logger:** replace abbreviations with words ([#4853](https://github.com/arcjet/arcjet-js/issues/4853)) ([de963dc](https://github.com/arcjet/arcjet-js/commit/de963dc45df4ecbd4fe15127ca945f1934466ba0)) * **logger:** use more specific type than `unknown` ([#4873](https://github.com/arcjet/arcjet-js/issues/4873)) ([5025378](https://github.com/arcjet/arcjet-js/commit/5025378577b40a2c6dad9a41929bca94aedf6a4b)) * **protocol:** remove unneeded type utility ([#4859](https://github.com/arcjet/arcjet-js/issues/4859)) ([0a638ae](https://github.com/arcjet/arcjet-js/commit/0a638ae8e2d680fbe3c33556f3011f4ad733f5ad)) * **redact:** improve types around custom entities ([#4883](https://github.com/arcjet/arcjet-js/issues/4883)) ([0b09945](https://github.com/arcjet/arcjet-js/commit/0b0994591a2e344c5102089cf83cf0613d506cfe)) * **redact:** remove repetition in code ([#4881](https://github.com/arcjet/arcjet-js/issues/4881)) ([191ccb7](https://github.com/arcjet/arcjet-js/commit/191ccb7105e6cc6f8e949ff56163dba0758c5d79)) * **redact:** reuse exposed types ([#4856](https://github.com/arcjet/arcjet-js/issues/4856)) ([2380307](https://github.com/arcjet/arcjet-js/commit/2380307a7b82ed1a9dc4c3bb3167475a9cfe12eb)) * **sprintf:** replace abbreviations with words ([#4857](https://github.com/arcjet/arcjet-js/issues/4857)) ([13bac85](https://github.com/arcjet/arcjet-js/commit/13bac85d164ca6b86e78bd8cded03403abb087bc)) ### 📚 Tests * **protocol:** add type guard tests for `ArcjetIpDetails` ([#4888](https://github.com/arcjet/arcjet-js/issues/4888)) ([98072bc](https://github.com/arcjet/arcjet-js/commit/98072bcb146f99f6983f9fe4dbe225b3c7e3fe82)) ### ✅ Continuous Integration * lock actions to shas ([#4971](https://github.com/arcjet/arcjet-js/issues/4971)) ([5efd131](https://github.com/arcjet/arcjet-js/commit/5efd1311852a347f03c8a6e6ee127dfa79b53da4)) </details> <details><summary>nosecone: 1.0.0-beta.11</summary> ## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...nosecone-v1.0.0-beta.11) (2025-09-03) ### 🪲 Bug Fixes * **types:** remove need for `dom.iterable`, `dom`, lib ([#5047](https://github.com/arcjet/arcjet-js/issues/5047)) ([fba8564](https://github.com/arcjet/arcjet-js/commit/fba85640bd24f1ab2906b1e43159d9e8dc89fd37)) ### 📝 Documentation * **nosecone:** add derivative works to readme ([#4854](https://github.com/arcjet/arcjet-js/issues/4854)) ([73f2bcb](https://github.com/arcjet/arcjet-js/commit/73f2bcb87faca426938d5186287321be6e3f8915)) * **nosecone:** add JSDocs ([#4840](https://github.com/arcjet/arcjet-js/issues/4840)) ([ead53e5](https://github.com/arcjet/arcjet-js/commit/ead53e510ecb93ded2400557333868eed63875bb)) ### 🧹 Miscellaneous Chores * **nosecone:** expose `Options`, deprecate `NoseconeOptions` ([#4855](https://github.com/arcjet/arcjet-js/issues/4855)) ([c504315](https://github.com/arcjet/arcjet-js/commit/c5043154836c04d3106be333c418682212b9602f)) * **nosecone:** expose named export, deprecate default ([#4878](https://github.com/arcjet/arcjet-js/issues/4878)) ([e7607de](https://github.com/arcjet/arcjet-js/commit/e7607de8dd79f12ec28f0a50a7fb835955520365)) * **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 * @arcjet/rollup-config bumped from 1.0.0-beta.10 to 1.0.0-beta.11 </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This commit changes our code to work with
@types/node
18
through to the24
, with and withoutdom
,dom.iterable
. Things should work in other runtimes, with the correct types for them, but that is difficult to verify as we use Node so much in our build to make sure things work.It’s been about 5 year of no movement on adding WebAssembly types to Node (https://redirect.github.com/microsoft/TypeScript-DOM-lib-generator/issues/826). We do not expose these types to users, so we can also inline the small API surface we need.
The types of
Headers
are a bit different in undici (used in@types/node
) and the DOM. I don’t know why. I refactored the code, to use properties instead of functions, and to call super methods throughHeaders.prototype.*.call
. An esoteric difference. Someone subclassing and overwriting our types would have to do it similarly slightly differently too. But well, they should not useArcjetHeaders
if they are going to overwrite things, they could useHeaders
just as well.The changes except for
Headers
do not turn up in generated.d.ts
files, so should not affect users.Importantly, there is a weird typescript thing (bug?) which will generate
import('undici-types).Headers
orimport('undici-types).Response
or so if return types are inferred.This was noticeable in
nosecone
andnosecone-next
.That’s bad because we want users to choose where
Headers
,Response
, etcetera are defined.The simple solution is to write return types.
I do believe that libraries (not apps) should have explicit return types, as explicit contracts for what the API is, so I think that’s good anyway.
Closes GH-16.