Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

focus-lock

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

focus-lock - npm Package Compare versions

Comparing version 0.11.0 to 0.11.1

2

dist/es2015/utils/DOMutils.js

@@ -47,3 +47,3 @@ import { toArray } from './array';

? contains(scope.shadowRoot, element)
: scope.contains(element)) || Array.from(scope.children).some(function (child) { return contains(child, element); }));
: scope.contains(element)) || toArray(scope.children).some(function (child) { return contains(child, element); }));
};

@@ -36,3 +36,3 @@ import { toArray } from './array';

? contains(scope.shadowRoot, element)
: scope.contains(element)) || Array.from(scope.children).some((child) => contains(child, element)));
: scope.contains(element)) || toArray(scope.children).some((child) => contains(child, element)));
};

@@ -55,4 +55,4 @@ "use strict";

? (0, exports.contains)(scope.shadowRoot, element)
: scope.contains(element)) || Array.from(scope.children).some(function (child) { return (0, exports.contains)(child, element); }));
: scope.contains(element)) || (0, array_1.toArray)(scope.children).some(function (child) { return (0, exports.contains)(child, element); }));
};
exports.contains = contains;
{
"name": "focus-lock",
"version": "0.11.0",
"version": "0.11.1",
"description": "DOM trap for a focus",

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc