@valbuild/server 0.55.1 → 0.56.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.
@@ -1013,7 +1013,7 @@ export const IS_DEV = false;2
|
|
1013
1013
|
}
|
1014
1014
|
if (modulePath.startsWith("react/jsx-runtime")) {
|
1015
1015
|
return {
|
1016
|
-
value: "export const jsx = () => { throw Error(`Cannot use 'jsx' in this type of file`) }; export default new Proxy({}, { get() { return () => { throw new Error(`Cannot import 'react' in this file`) } } } )"
|
1016
|
+
value: "export const jsx = () => { throw Error(`Cannot use 'jsx' in this type of file`) }; export default new Proxy({}, { get() { return () => { throw new Error(`Cannot import 'react' in this file`) } } } ); export const jsxs = () => { throw Error(`Cannot use 'jsxs' in this type of file`) };"
|
1017
1017
|
};
|
1018
1018
|
}
|
1019
1019
|
if (modulePath.startsWith("react")) {
|
@@ -1013,7 +1013,7 @@ export const IS_DEV = false;2
|
|
1013
1013
|
}
|
1014
1014
|
if (modulePath.startsWith("react/jsx-runtime")) {
|
1015
1015
|
return {
|
1016
|
-
value: "export const jsx = () => { throw Error(`Cannot use 'jsx' in this type of file`) }; export default new Proxy({}, { get() { return () => { throw new Error(`Cannot import 'react' in this file`) } } } )"
|
1016
|
+
value: "export const jsx = () => { throw Error(`Cannot use 'jsx' in this type of file`) }; export default new Proxy({}, { get() { return () => { throw new Error(`Cannot import 'react' in this file`) } } } ); export const jsxs = () => { throw Error(`Cannot use 'jsxs' in this type of file`) };"
|
1017
1017
|
};
|
1018
1018
|
}
|
1019
1019
|
if (modulePath.startsWith("react")) {
|
@@ -983,7 +983,7 @@ export const IS_DEV = false;2
|
|
983
983
|
}
|
984
984
|
if (modulePath.startsWith("react/jsx-runtime")) {
|
985
985
|
return {
|
986
|
-
value: "export const jsx = () => { throw Error(`Cannot use 'jsx' in this type of file`) }; export default new Proxy({}, { get() { return () => { throw new Error(`Cannot import 'react' in this file`) } } } )"
|
986
|
+
value: "export const jsx = () => { throw Error(`Cannot use 'jsx' in this type of file`) }; export default new Proxy({}, { get() { return () => { throw new Error(`Cannot import 'react' in this file`) } } } ); export const jsxs = () => { throw Error(`Cannot use 'jsxs' in this type of file`) };"
|
987
987
|
};
|
988
988
|
}
|
989
989
|
if (modulePath.startsWith("react")) {
|
package/package.json
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
"./package.json": "./package.json"
|
13
13
|
},
|
14
14
|
"types": "dist/valbuild-server.cjs.d.ts",
|
15
|
-
"version": "0.
|
15
|
+
"version": "0.56.0",
|
16
16
|
"scripts": {
|
17
17
|
"typecheck": "tsc --noEmit",
|
18
18
|
"test": "jest",
|
@@ -24,9 +24,9 @@
|
|
24
24
|
"concurrently": "^7.6.0"
|
25
25
|
},
|
26
26
|
"dependencies": {
|
27
|
-
"@valbuild/core": "~0.
|
28
|
-
"@valbuild/shared": "~0.
|
29
|
-
"@valbuild/ui": "~0.
|
27
|
+
"@valbuild/core": "~0.56.0",
|
28
|
+
"@valbuild/shared": "~0.56.0",
|
29
|
+
"@valbuild/ui": "~0.56.0",
|
30
30
|
"express": "^4.18.2",
|
31
31
|
"image-size": "^1.0.2",
|
32
32
|
"queue": "^6.0.2",
|