publ-echo-test 0.0.219 → 0.0.220

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.
@@ -143,7 +143,10 @@ var GridItem = function (_a) {
143
143
  var hasPaddingChanged = false;
144
144
  var minWidth = Number(mutation.target.dataset.minWidth);
145
145
  var minHeight = Number(mutation.target.dataset.minHeight);
146
- console.log('minWidth', minWidth, 'minHeight', minHeight);
146
+ // If minWidth or minHeight is NaN, return early to prevent errors
147
+ if (isNaN(minWidth) || isNaN(minHeight)) {
148
+ return;
149
+ }
147
150
  var height = isSizeChanged
148
151
  ? mutation.target.parentNode.clientHeight
149
152
  : mutation.target.clientHeight;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.219",
3
+ "version": "0.0.220",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",