solid-js 1.6.13 → 1.6.14

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.6.13",
4
+ "version": "1.6.14",
5
5
  "author": "Ryan Carniato",
6
6
  "license": "MIT",
7
7
  "homepage": "https://solidjs.com",
@@ -279,7 +279,7 @@ function renderToString(code, options = {}) {
279
279
  }
280
280
  };
281
281
  let html = solidJs.createRoot(d => {
282
- resolveSSRNode(escape(code()));
282
+ const r = resolveSSRNode(escape(code()));
283
283
  d();
284
284
  return r;
285
285
  });
@@ -278,7 +278,7 @@ function renderToString(code, options = {}) {
278
278
  }
279
279
  };
280
280
  let html = createRoot(d => {
281
- resolveSSRNode(escape(code()));
281
+ const r = resolveSSRNode(escape(code()));
282
282
  d();
283
283
  return r;
284
284
  });