pentonville 1.0.535 → 1.0.536
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/array.js +3 -3
- package/package.json +5 -5
package/lib/array.js
CHANGED
@@ -28,8 +28,8 @@ var isVisible = function isVisible(computedStyle) {
|
|
28
28
|
var toNumber = function toNumber(value) {
|
29
29
|
return parseInt(value, 10);
|
30
30
|
};
|
31
|
-
var
|
32
|
-
return isVisible(getComputedStyle(element)) ? element !== parentElement ?
|
31
|
+
var _getVisibilityFromComputedStyle = function getVisibilityFromComputedStyle(element, parentElement) {
|
32
|
+
return isVisible(getComputedStyle(element)) ? element !== parentElement ? _getVisibilityFromComputedStyle(element.parentElement, parentElement) : true : false;
|
33
33
|
};
|
34
34
|
|
35
35
|
/*
|
@@ -39,7 +39,7 @@ var getVisibilityFromComputedStyle = function getVisibilityFromComputedStyle(ele
|
|
39
39
|
*/
|
40
40
|
var filter = exports.filter = function filter(e) {
|
41
41
|
var p = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document.documentElement;
|
42
|
-
return
|
42
|
+
return _getVisibilityFromComputedStyle(e, p);
|
43
43
|
};
|
44
44
|
|
45
45
|
/*
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "pentonville",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.536",
|
4
4
|
"description": "Pentonville",
|
5
5
|
"keywords": [
|
6
6
|
"Pentonville",
|
@@ -37,18 +37,18 @@
|
|
37
37
|
"devDependencies": {
|
38
38
|
"@babel/cli": "^7.24.8",
|
39
39
|
"@babel/core": "^7.24.9",
|
40
|
-
"@babel/eslint-parser": "^7.
|
41
|
-
"@babel/preset-env": "^7.
|
40
|
+
"@babel/eslint-parser": "^7.25.0",
|
41
|
+
"@babel/preset-env": "^7.25.0",
|
42
42
|
"@babel/preset-react": "^7.24.7",
|
43
43
|
"@babel/register": "^7.24.6",
|
44
|
-
"@sequencemedia/hooks": "^1.0.
|
44
|
+
"@sequencemedia/hooks": "^1.0.507",
|
45
45
|
"babel-plugin-module-resolver": "^5.0.2",
|
46
46
|
"core-js": "^3.37.1",
|
47
47
|
"eslint": "8.57.0",
|
48
48
|
"eslint-config-standard": "^17.1.0",
|
49
49
|
"eslint-import-resolver-babel-module": "^5.3.2",
|
50
50
|
"eslint-plugin-react": "^7.35.0",
|
51
|
-
"husky": "^9.1.
|
51
|
+
"husky": "^9.1.3",
|
52
52
|
"prop-types": "15.7.2",
|
53
53
|
"react": "16.14.0",
|
54
54
|
"react-dom": "16.14.0"
|