-
Notifications
You must be signed in to change notification settings - Fork 10
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
Remove ability to construct multiple rules with one constructor #1397
Comments
This was referenced Aug 23, 2024
trunk-io bot
pushed a commit
that referenced
this issue
Oct 1, 2024
Automatically generated with [Release Please](https://github.com/googleapis/release-please). --- <details><summary>@arcjet/analyze: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/analyze-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **analyze:** Update well known bots ([#1784](#1784)) ([52f1ee3](52f1ee3)) * Update WebAssembly modules ([#1721](#1721)) ([2dbb9eb](2dbb9eb)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/protocol bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/body: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/body-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/body:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/bun: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/bun-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/bun:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/headers bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/ip bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/logger bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/protocol bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/transport bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * arcjet bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/decorate: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/decorate-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/decorate:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/protocol bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/sprintf bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/deno: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/deno-v1.0.0-alpha.27) (2024-10-01) ### 🚀 New Features * Add Deno adapter ([#1782](#1782)) ([fdfcaf3](fdfcaf3)), closes [#758](#758) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/headers bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/ip bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/logger bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/protocol bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/transport bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * arcjet bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/duration: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/duration-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/duration:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/env: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/env-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/env:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/eslint-config: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/eslint-config-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/eslint-config:** Synchronize arcjet-js versions </details> <details><summary>@arcjet/headers: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/headers-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/headers:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/ip: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/ip-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/ip:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/logger: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/logger-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/logger:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/sprintf bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/nest: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/nest-v1.0.0-alpha.27) (2024-10-01) ### 🚀 New Features * Add NestJS adapter ([#1776](#1776)) ([4e52453](4e52453)), closes [#781](#781) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/headers bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/ip bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/logger bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/protocol bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/transport bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/body bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * arcjet bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/next: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/next-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/next:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/headers bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/ip bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/logger bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/protocol bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/transport bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * arcjet bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/node: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/node-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/node:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/headers bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/ip bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/logger bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/protocol bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/transport bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/body bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * arcjet bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/protocol: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/protocol-v1.0.0-alpha.27) (2024-10-01) ### 🚀 New Features * Add Deno adapter ([#1782](#1782)) ([fdfcaf3](fdfcaf3)), closes [#758](#758) * Add NestJS adapter ([#1776](#1776)) ([4e52453](4e52453)), closes [#781](#781) ### 🪲 Bug Fixes * **protocol:** Ensure relative imports have extensions ([#1722](#1722)) ([73928c8](73928c8)), closes [#1720](#1720) ### 🧹 Miscellaneous Chores * **analyze:** Update well known bots ([#1784](#1784)) ([52f1ee3](52f1ee3)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/redact: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/redact-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/redact:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/redact-wasm bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/redact-wasm: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/redact-wasm-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * Update WebAssembly modules ([#1721](#1721)) ([2dbb9eb](2dbb9eb)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/rollup-config: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/rollup-config-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/rollup-config:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/runtime: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/runtime-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/runtime:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/sprintf: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/sprintf-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/sprintf:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/sveltekit: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/sveltekit-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/sveltekit:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/headers bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/ip bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/logger bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/protocol bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/transport bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * arcjet bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/transport: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/transport-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/transport:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/tsconfig: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/tsconfig-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/tsconfig:** Synchronize arcjet-js versions </details> <details><summary>arcjet: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](v1.0.0-alpha.26...arcjet-v1.0.0-alpha.27) (2024-10-01) ### ⚠ BREAKING CHANGES * Add options validation for all rules ([#1785](#1785)) * Only produce 1 rule per constructor ([#1783](#1783)) ### 🧹 Miscellaneous Chores * Add options validation for all rules ([#1785](#1785)) ([c3a248e](c3a248e)), closes [#992](#992) * Only produce 1 rule per constructor ([#1783](#1783)) ([8d79e63](8d79e63)), closes [#1397](#1397) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/analyze bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/duration bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/headers bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/protocol bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/runtime bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](v1.0.0-alpha.26...v1.0.0-alpha.27) (2024-10-01) ### ⚠ BREAKING CHANGES * Add options validation for all rules ([#1785](#1785)) * Only produce 1 rule per constructor ([#1783](#1783)) ### 🚀 New Features * Add Deno adapter ([#1782](#1782)) ([fdfcaf3](fdfcaf3)), closes [#758](#758) * Add NestJS adapter ([#1776](#1776)) ([4e52453](4e52453)), closes [#781](#781) ### 🪲 Bug Fixes * **protocol:** Ensure relative imports have extensions ([#1722](#1722)) ([73928c8](73928c8)), closes [#1720](#1720) ### 🧹 Miscellaneous Chores * Add options validation for all rules ([#1785](#1785)) ([c3a248e](c3a248e)), closes [#992](#992) * **analyze:** Update well known bots ([#1784](#1784)) ([52f1ee3](52f1ee3)) * Only produce 1 rule per constructor ([#1783](#1783)) ([8d79e63](8d79e63)), closes [#1397](#1397) * Update WebAssembly modules ([#1721](#1721)) ([2dbb9eb](2dbb9eb)) </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
Currently, all of our rules are designed to iterate over all options arguments and generate an array of rules. For example:
This feature was added after some feedback from the team that they wanted to construct multiple rules with one constructor; however, the same can be achieved with the following example:
Supporting the first example is a place for bugs to sneak in because we might not be accessing the right options (such as highlighted in #1300 (comment)) and it has become less useful for some rules that do type inference. For example, you can't construct multiple
sensitiveInfo
rules withdetect
functions having different type signatures due to said inference.Additionally, I don't believe this feature is documented anywhere and we always demonstrate using the rule constructor to build a single rule.
Note: This is different than "Products" and only applies to multiple arguments passed to a single "Primitive" constructor. "Products" still need to return an array of multiple rules, as they generally combine multiple rules configured together.
The text was updated successfully, but these errors were encountered: