oxlint-plugin-react-doctor 0.7.0 → 0.7.1-dev.160f84c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -9219,6 +9219,7 @@ const iframeMissingSandbox = defineRule({
9219
9219
  severity: "warn",
9220
9220
  recommendation: "Add `sandbox=\"\"` or a curated value so embedded pages cannot get full access to your site by default.",
9221
9221
  category: "Security",
9222
+ matchByOccurrence: true,
9222
9223
  create: skipNonProductionFiles((context) => ({
9223
9224
  JSXOpeningElement(node) {
9224
9225
  if (!isNodeOfType(node.name, "JSXIdentifier") || node.name.name !== "iframe") return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oxlint-plugin-react-doctor",
3
- "version": "0.7.0",
3
+ "version": "0.7.1-dev.160f84c",
4
4
  "description": "React Doctor rules for oxlint.",
5
5
  "keywords": [
6
6
  "accessibility",