@planningcenter/topbar 11.2.2 → 11.2.3
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/dist/topbar.js +1 -1
- package/dist/topbar.modern.js +1 -1
- package/dist/topbar.module.js +1 -1
- package/dist/topbar.umd.js +1 -1
- package/package.json +3 -1
package/dist/topbar.js
CHANGED
|
@@ -828,7 +828,7 @@ const debounce = (func, wait) => {
|
|
|
828
828
|
};
|
|
829
829
|
};
|
|
830
830
|
function shallowCompare(a, b) {
|
|
831
|
-
return Object.keys(a).length === Object.keys(b).length && Object.entries(a).every(([key, value]) => b[key]
|
|
831
|
+
return Object.keys(a).length === Object.keys(b).length && Object.entries(a).every(([key, value]) => b[key] === value);
|
|
832
832
|
}
|
|
833
833
|
|
|
834
834
|
const useDebounce = (fn, t = 0) => {
|
package/dist/topbar.modern.js
CHANGED
|
@@ -804,7 +804,7 @@ const debounce = (func, wait) => {
|
|
|
804
804
|
};
|
|
805
805
|
};
|
|
806
806
|
function shallowCompare(a, b) {
|
|
807
|
-
return Object.keys(a).length === Object.keys(b).length && Object.entries(a).every(([key, value]) => b[key]
|
|
807
|
+
return Object.keys(a).length === Object.keys(b).length && Object.entries(a).every(([key, value]) => b[key] === value);
|
|
808
808
|
}
|
|
809
809
|
|
|
810
810
|
const useDebounce = (fn, t = 0) => {
|
package/dist/topbar.module.js
CHANGED
|
@@ -804,7 +804,7 @@ const debounce = (func, wait) => {
|
|
|
804
804
|
};
|
|
805
805
|
};
|
|
806
806
|
function shallowCompare(a, b) {
|
|
807
|
-
return Object.keys(a).length === Object.keys(b).length && Object.entries(a).every(([key, value]) => b[key]
|
|
807
|
+
return Object.keys(a).length === Object.keys(b).length && Object.entries(a).every(([key, value]) => b[key] === value);
|
|
808
808
|
}
|
|
809
809
|
|
|
810
810
|
const useDebounce = (fn, t = 0) => {
|
package/dist/topbar.umd.js
CHANGED
|
@@ -815,7 +815,7 @@
|
|
|
815
815
|
};
|
|
816
816
|
};
|
|
817
817
|
function shallowCompare(a, b) {
|
|
818
|
-
return Object.keys(a).length === Object.keys(b).length && Object.entries(a).every(([key, value]) => b[key]
|
|
818
|
+
return Object.keys(a).length === Object.keys(b).length && Object.entries(a).every(([key, value]) => b[key] === value);
|
|
819
819
|
}
|
|
820
820
|
|
|
821
821
|
const useDebounce = (fn, t = 0) => {
|
package/package.json
CHANGED
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"@rollup/plugin-json": "^6.1.0",
|
|
49
49
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
50
50
|
"@rollup/plugin-typescript": "^12.1.4",
|
|
51
|
+
"@testing-library/react": "^12",
|
|
51
52
|
"@types/jest": "^29.5.14",
|
|
52
53
|
"@types/react": "^17.0.0",
|
|
53
54
|
"@types/react-dom": "^17.0.0",
|
|
@@ -67,6 +68,7 @@
|
|
|
67
68
|
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
68
69
|
"eslint-plugin-typescript-sort-keys": "^2.1.0",
|
|
69
70
|
"jest": "^29.7.0",
|
|
71
|
+
"jest-environment-jsdom": "^29",
|
|
70
72
|
"media-typer": "^1.1.0",
|
|
71
73
|
"postcss": "^8.4.39",
|
|
72
74
|
"postcss-styled-syntax": "^0.7.1",
|
|
@@ -93,7 +95,7 @@
|
|
|
93
95
|
"browserslist": [
|
|
94
96
|
"extends @planningcenter/browserslist-config"
|
|
95
97
|
],
|
|
96
|
-
"version": "11.2.
|
|
98
|
+
"version": "11.2.3",
|
|
97
99
|
"peerDependencies": {
|
|
98
100
|
"@planningcenter/add-ons": "^6",
|
|
99
101
|
"@planningcenter/tapestry-react": "^4",
|