@valbuild/server 0.31.0 → 0.33.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.
@@ -939,6 +939,11 @@ async function newValQuickJSRuntime(quickJSModule, moduleLoader, {
|
|
939
939
|
value: "export const useVal = () => { throw Error(`Cannot use 'useVal' in this type of file`) }; export function ValProvider() { throw Error(`Cannot use 'ValProvider' in this type of file`) }; export function ValRichText() { throw Error(`Cannot use 'ValRichText' in this type of file`)};"
|
940
940
|
};
|
941
941
|
}
|
942
|
+
if (modulePath === "@valbuild/react/internal") {
|
943
|
+
return {
|
944
|
+
value: "export const useVal = () => { throw Error(`Cannot use 'useVal' in this type of file`) }; export function ValProvider() { throw Error(`Cannot use 'ValProvider' in this type of file`) }; export function ValRichText() { throw Error(`Cannot use 'ValRichText' in this type of file`)};"
|
945
|
+
};
|
946
|
+
}
|
942
947
|
if (modulePath === "@valbuild/react/stega") {
|
943
948
|
return {
|
944
949
|
value: "export const useVal = () => { throw Error(`Cannot use 'useVal' in this type of file`) }; export const fetchVal = () => { throw Error(`Cannot use 'fetchVal' in this type of file`) }; export const autoTagJSX = () => { /* ignore */ };"
|
@@ -974,6 +979,11 @@ async function newValQuickJSRuntime(quickJSModule, moduleLoader, {
|
|
974
979
|
value: requestedName
|
975
980
|
};
|
976
981
|
}
|
982
|
+
if (requestedName === "@valbuild/react/internal") {
|
983
|
+
return {
|
984
|
+
value: requestedName
|
985
|
+
};
|
986
|
+
}
|
977
987
|
if (requestedName.startsWith("next")) {
|
978
988
|
return {
|
979
989
|
value: requestedName
|
@@ -939,6 +939,11 @@ async function newValQuickJSRuntime(quickJSModule, moduleLoader, {
|
|
939
939
|
value: "export const useVal = () => { throw Error(`Cannot use 'useVal' in this type of file`) }; export function ValProvider() { throw Error(`Cannot use 'ValProvider' in this type of file`) }; export function ValRichText() { throw Error(`Cannot use 'ValRichText' in this type of file`)};"
|
940
940
|
};
|
941
941
|
}
|
942
|
+
if (modulePath === "@valbuild/react/internal") {
|
943
|
+
return {
|
944
|
+
value: "export const useVal = () => { throw Error(`Cannot use 'useVal' in this type of file`) }; export function ValProvider() { throw Error(`Cannot use 'ValProvider' in this type of file`) }; export function ValRichText() { throw Error(`Cannot use 'ValRichText' in this type of file`)};"
|
945
|
+
};
|
946
|
+
}
|
942
947
|
if (modulePath === "@valbuild/react/stega") {
|
943
948
|
return {
|
944
949
|
value: "export const useVal = () => { throw Error(`Cannot use 'useVal' in this type of file`) }; export const fetchVal = () => { throw Error(`Cannot use 'fetchVal' in this type of file`) }; export const autoTagJSX = () => { /* ignore */ };"
|
@@ -974,6 +979,11 @@ async function newValQuickJSRuntime(quickJSModule, moduleLoader, {
|
|
974
979
|
value: requestedName
|
975
980
|
};
|
976
981
|
}
|
982
|
+
if (requestedName === "@valbuild/react/internal") {
|
983
|
+
return {
|
984
|
+
value: requestedName
|
985
|
+
};
|
986
|
+
}
|
977
987
|
if (requestedName.startsWith("next")) {
|
978
988
|
return {
|
979
989
|
value: requestedName
|
@@ -908,6 +908,11 @@ async function newValQuickJSRuntime(quickJSModule, moduleLoader, {
|
|
908
908
|
value: "export const useVal = () => { throw Error(`Cannot use 'useVal' in this type of file`) }; export function ValProvider() { throw Error(`Cannot use 'ValProvider' in this type of file`) }; export function ValRichText() { throw Error(`Cannot use 'ValRichText' in this type of file`)};"
|
909
909
|
};
|
910
910
|
}
|
911
|
+
if (modulePath === "@valbuild/react/internal") {
|
912
|
+
return {
|
913
|
+
value: "export const useVal = () => { throw Error(`Cannot use 'useVal' in this type of file`) }; export function ValProvider() { throw Error(`Cannot use 'ValProvider' in this type of file`) }; export function ValRichText() { throw Error(`Cannot use 'ValRichText' in this type of file`)};"
|
914
|
+
};
|
915
|
+
}
|
911
916
|
if (modulePath === "@valbuild/react/stega") {
|
912
917
|
return {
|
913
918
|
value: "export const useVal = () => { throw Error(`Cannot use 'useVal' in this type of file`) }; export const fetchVal = () => { throw Error(`Cannot use 'fetchVal' in this type of file`) }; export const autoTagJSX = () => { /* ignore */ };"
|
@@ -943,6 +948,11 @@ async function newValQuickJSRuntime(quickJSModule, moduleLoader, {
|
|
943
948
|
value: requestedName
|
944
949
|
};
|
945
950
|
}
|
951
|
+
if (requestedName === "@valbuild/react/internal") {
|
952
|
+
return {
|
953
|
+
value: requestedName
|
954
|
+
};
|
955
|
+
}
|
946
956
|
if (requestedName.startsWith("next")) {
|
947
957
|
return {
|
948
958
|
value: requestedName
|
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.33.0",
|
16
16
|
"scripts": {
|
17
17
|
"typecheck": "tsc --noEmit",
|
18
18
|
"test": "jest",
|
@@ -25,8 +25,8 @@
|
|
25
25
|
"concurrently": "^7.6.0"
|
26
26
|
},
|
27
27
|
"dependencies": {
|
28
|
-
"@valbuild/core": "~0.
|
29
|
-
"@valbuild/ui": "~0.
|
28
|
+
"@valbuild/core": "~0.33.0",
|
29
|
+
"@valbuild/ui": "~0.33.0",
|
30
30
|
"express": "^4.18.2",
|
31
31
|
"image-size": "^1.0.2",
|
32
32
|
"quickjs-emscripten": "^0.21.1",
|