@wordpress/dom
Advanced tools
Comparing version 2.5.2 to 2.6.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
210855
2688