solid-js 1.8.20 → 1.8.21

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "solid-js",
3
3
  "description": "A declarative JavaScript library for building user interfaces.",
4
- "version": "1.8.20",
4
+ "version": "1.8.21",
5
5
  "author": "Ryan Carniato",
6
6
  "license": "MIT",
7
7
  "homepage": "https://solidjs.com",
package/web/dist/dev.cjs CHANGED
@@ -262,11 +262,11 @@ function assign(node, props, isSVG, skipChildren, prevProps = {}, skipRef = fals
262
262
  }
263
263
  }
264
264
  function hydrate$1(code, element, options = {}) {
265
+ if (globalThis._$HY.done) return render(code, element, [...element.childNodes], options);
265
266
  solidJs.sharedConfig.completed = globalThis._$HY.completed;
266
267
  solidJs.sharedConfig.events = globalThis._$HY.events;
267
268
  solidJs.sharedConfig.load = id => globalThis._$HY.r[id];
268
269
  solidJs.sharedConfig.has = id => id in globalThis._$HY.r;
269
- solidJs.sharedConfig.done = globalThis._$HY.done;
270
270
  solidJs.sharedConfig.gather = root => gatherHydratable(element, root);
271
271
  solidJs.sharedConfig.registry = new Map();
272
272
  solidJs.sharedConfig.context = {
package/web/dist/dev.js CHANGED
@@ -721,11 +721,11 @@ function assign(node, props, isSVG, skipChildren, prevProps = {}, skipRef = fals
721
721
  }
722
722
  }
723
723
  function hydrate$1(code, element, options = {}) {
724
+ if (globalThis._$HY.done) return render(code, element, [...element.childNodes], options);
724
725
  sharedConfig.completed = globalThis._$HY.completed;
725
726
  sharedConfig.events = globalThis._$HY.events;
726
727
  sharedConfig.load = id => globalThis._$HY.r[id];
727
728
  sharedConfig.has = id => id in globalThis._$HY.r;
728
- sharedConfig.done = globalThis._$HY.done;
729
729
  sharedConfig.gather = root => gatherHydratable(element, root);
730
730
  sharedConfig.registry = new Map();
731
731
  sharedConfig.context = {
package/web/dist/web.cjs CHANGED
@@ -258,11 +258,11 @@ function assign(node, props, isSVG, skipChildren, prevProps = {}, skipRef = fals
258
258
  }
259
259
  }
260
260
  function hydrate$1(code, element, options = {}) {
261
+ if (globalThis._$HY.done) return render(code, element, [...element.childNodes], options);
261
262
  solidJs.sharedConfig.completed = globalThis._$HY.completed;
262
263
  solidJs.sharedConfig.events = globalThis._$HY.events;
263
264
  solidJs.sharedConfig.load = id => globalThis._$HY.r[id];
264
265
  solidJs.sharedConfig.has = id => id in globalThis._$HY.r;
265
- solidJs.sharedConfig.done = globalThis._$HY.done;
266
266
  solidJs.sharedConfig.gather = root => gatherHydratable(element, root);
267
267
  solidJs.sharedConfig.registry = new Map();
268
268
  solidJs.sharedConfig.context = {
package/web/dist/web.js CHANGED
@@ -711,11 +711,11 @@ function assign(node, props, isSVG, skipChildren, prevProps = {}, skipRef = fals
711
711
  }
712
712
  }
713
713
  function hydrate$1(code, element, options = {}) {
714
+ if (globalThis._$HY.done) return render(code, element, [...element.childNodes], options);
714
715
  sharedConfig.completed = globalThis._$HY.completed;
715
716
  sharedConfig.events = globalThis._$HY.events;
716
717
  sharedConfig.load = id => globalThis._$HY.r[id];
717
718
  sharedConfig.has = id => id in globalThis._$HY.r;
718
- sharedConfig.done = globalThis._$HY.done;
719
719
  sharedConfig.gather = root => gatherHydratable(element, root);
720
720
  sharedConfig.registry = new Map();
721
721
  sharedConfig.context = {