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

@wordpress/dom

Package Overview
Dependencies
Maintainers
12
Versions
190
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wordpress/dom - npm Package Compare versions

Comparing version 2.5.2 to 2.6.0

4

build-module/focusable.js

@@ -1,3 +0,1 @@

import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
/**

@@ -66,3 +64,3 @@ * References:

var elements = context.querySelectorAll(SELECTOR);
return _toConsumableArray(elements).filter(function (element) {
return Array.from(elements).filter(function (element) {
if (!isVisible(element)) {

@@ -69,0 +67,0 @@ return false;

"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {

@@ -10,4 +8,2 @@ value: true

var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
/**

@@ -76,3 +72,3 @@ * References:

var elements = context.querySelectorAll(SELECTOR);
return (0, _toConsumableArray2.default)(elements).filter(function (element) {
return Array.from(elements).filter(function (element) {
if (!isVisible(element)) {

@@ -79,0 +75,0 @@ return false;

{
"name": "@wordpress/dom",
"version": "2.5.2",
"version": "2.6.0",
"description": "DOM utilities module for WordPress.",

@@ -32,3 +32,3 @@ "author": "The WordPress Contributors",

},
"gitHead": "707754784420a7089ae31ec4d6c756ce9af9c782"
"gitHead": "52bfe7deb90fe2b6df7f1a0a92f89cc69462a491"
}

@@ -79,3 +79,3 @@ /**

return [ ...elements ].filter( ( element ) => {
return Array.from( elements ).filter( ( element ) => {
if ( ! isVisible( element ) ) {

@@ -82,0 +82,0 @@ return false;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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