UNPKG

next-csrf

Version:

CSRF mitigation library for Next.js

16 lines (14 loc) 457 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); // Firefox allows *any* value and treats invalid values like tabindex="-1" // @browser-issue Gecko https://bugzilla.mozilla.org/show_bug.cgi?id=1128054 exports.default = { element: 'div', mutate: function mutate(element) { element.setAttribute('tabindex', 'invalid-value'); } }; module.exports = exports['default']; //# sourceMappingURL=focus-invalid-tabindex.js.map