Socket
Socket
Sign inDemoInstall

a11y-focus-scope

Package Overview
Dependencies
2
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.2 to 1.1.3

6

index.js

@@ -5,2 +5,3 @@ 'use strict';

var focusin = require('focusin');
var polyfilled = false;

@@ -10,3 +11,6 @@ function init(element) {

// lazily polyfill focusin for firefox
focusin.polyfill();
if (!polyfilled) {
focusin.polyfill();
polyfilled = true;
}

@@ -13,0 +17,0 @@ function focus() {

2

package.json
{
"name": "a11y-focus-scope",
"version": "1.1.2",
"version": "1.1.3",
"description": "Accessibility util for scoping focus to an element.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc