solid-js 1.3.0-rc.4 → 1.3.0
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/dev.cjs +2 -2
- package/dist/dev.js +2 -2
- package/dist/server.cjs +1 -1
- package/dist/server.js +1 -1
- package/dist/solid.cjs +2 -2
- package/dist/solid.js +2 -2
- package/package.json +2 -2
- package/types/jsx.d.ts +1 -0
package/dist/dev.cjs
CHANGED
|
@@ -131,7 +131,7 @@ function nextHydrateContext() {
|
|
|
131
131
|
|
|
132
132
|
const equalFn = (a, b) => a === b;
|
|
133
133
|
const $PROXY = Symbol("solid-proxy");
|
|
134
|
-
const $DEVCOMP = Symbol(
|
|
134
|
+
const $DEVCOMP = Symbol("solid-dev-component");
|
|
135
135
|
const signalOptions = {
|
|
136
136
|
equals: equalFn
|
|
137
137
|
};
|
|
@@ -949,7 +949,7 @@ function handleError(err) {
|
|
|
949
949
|
fns.forEach(f => f(err));
|
|
950
950
|
}
|
|
951
951
|
function lookup(owner, key) {
|
|
952
|
-
return owner && (owner.context && owner.context[key]
|
|
952
|
+
return owner && (owner.context && owner.context[key] !== undefined ? owner.context[key] : owner.owner && lookup(owner.owner, key));
|
|
953
953
|
}
|
|
954
954
|
function resolveChildren(children) {
|
|
955
955
|
if (typeof children === "function" && !children.length) return resolveChildren(children());
|
package/dist/dev.js
CHANGED
|
@@ -127,7 +127,7 @@ function nextHydrateContext() {
|
|
|
127
127
|
|
|
128
128
|
const equalFn = (a, b) => a === b;
|
|
129
129
|
const $PROXY = Symbol("solid-proxy");
|
|
130
|
-
const $DEVCOMP = Symbol(
|
|
130
|
+
const $DEVCOMP = Symbol("solid-dev-component");
|
|
131
131
|
const signalOptions = {
|
|
132
132
|
equals: equalFn
|
|
133
133
|
};
|
|
@@ -945,7 +945,7 @@ function handleError(err) {
|
|
|
945
945
|
fns.forEach(f => f(err));
|
|
946
946
|
}
|
|
947
947
|
function lookup(owner, key) {
|
|
948
|
-
return owner && (owner.context && owner.context[key]
|
|
948
|
+
return owner && (owner.context && owner.context[key] !== undefined ? owner.context[key] : owner.owner && lookup(owner.owner, key));
|
|
949
949
|
}
|
|
950
950
|
function resolveChildren(children) {
|
|
951
951
|
if (typeof children === "function" && !children.length) return resolveChildren(children());
|
package/dist/server.cjs
CHANGED
|
@@ -136,7 +136,7 @@ function runWithOwner(o, fn) {
|
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
function lookup(owner, key) {
|
|
139
|
-
return owner && (owner.context && owner.context[key]
|
|
139
|
+
return owner && (owner.context && owner.context[key] !== undefined ? owner.context[key] : owner.owner && lookup(owner.owner, key));
|
|
140
140
|
}
|
|
141
141
|
function resolveChildren(children) {
|
|
142
142
|
if (typeof children === "function" && !children.length) return resolveChildren(children());
|
package/dist/server.js
CHANGED
|
@@ -132,7 +132,7 @@ function runWithOwner(o, fn) {
|
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
function lookup(owner, key) {
|
|
135
|
-
return owner && (owner.context && owner.context[key]
|
|
135
|
+
return owner && (owner.context && owner.context[key] !== undefined ? owner.context[key] : owner.owner && lookup(owner.owner, key));
|
|
136
136
|
}
|
|
137
137
|
function resolveChildren(children) {
|
|
138
138
|
if (typeof children === "function" && !children.length) return resolveChildren(children());
|
package/dist/solid.cjs
CHANGED
|
@@ -131,7 +131,7 @@ function nextHydrateContext() {
|
|
|
131
131
|
|
|
132
132
|
const equalFn = (a, b) => a === b;
|
|
133
133
|
const $PROXY = Symbol("solid-proxy");
|
|
134
|
-
const $DEVCOMP = Symbol(
|
|
134
|
+
const $DEVCOMP = Symbol("solid-dev-component");
|
|
135
135
|
const signalOptions = {
|
|
136
136
|
equals: equalFn
|
|
137
137
|
};
|
|
@@ -891,7 +891,7 @@ function handleError(err) {
|
|
|
891
891
|
fns.forEach(f => f(err));
|
|
892
892
|
}
|
|
893
893
|
function lookup(owner, key) {
|
|
894
|
-
return owner && (owner.context && owner.context[key]
|
|
894
|
+
return owner && (owner.context && owner.context[key] !== undefined ? owner.context[key] : owner.owner && lookup(owner.owner, key));
|
|
895
895
|
}
|
|
896
896
|
function resolveChildren(children) {
|
|
897
897
|
if (typeof children === "function" && !children.length) return resolveChildren(children());
|
package/dist/solid.js
CHANGED
|
@@ -127,7 +127,7 @@ function nextHydrateContext() {
|
|
|
127
127
|
|
|
128
128
|
const equalFn = (a, b) => a === b;
|
|
129
129
|
const $PROXY = Symbol("solid-proxy");
|
|
130
|
-
const $DEVCOMP = Symbol(
|
|
130
|
+
const $DEVCOMP = Symbol("solid-dev-component");
|
|
131
131
|
const signalOptions = {
|
|
132
132
|
equals: equalFn
|
|
133
133
|
};
|
|
@@ -887,7 +887,7 @@ function handleError(err) {
|
|
|
887
887
|
fns.forEach(f => f(err));
|
|
888
888
|
}
|
|
889
889
|
function lookup(owner, key) {
|
|
890
|
-
return owner && (owner.context && owner.context[key]
|
|
890
|
+
return owner && (owner.context && owner.context[key] !== undefined ? owner.context[key] : owner.owner && lookup(owner.owner, key));
|
|
891
891
|
}
|
|
892
892
|
function resolveChildren(children) {
|
|
893
893
|
if (typeof children === "function" && !children.length) return resolveChildren(children());
|
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.3.0
|
|
4
|
+
"version": "1.3.0",
|
|
5
5
|
"author": "Ryan Carniato",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://solidjs.com",
|
|
@@ -144,5 +144,5 @@
|
|
|
144
144
|
"compiler",
|
|
145
145
|
"performance"
|
|
146
146
|
],
|
|
147
|
-
"gitHead": "
|
|
147
|
+
"gitHead": "9525e859cc86e444e2c8f043af218043e719b964"
|
|
148
148
|
}
|
package/types/jsx.d.ts
CHANGED