@lynx-js/web-constants 0.15.2 → 0.15.3
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/CHANGELOG.md +11 -0
- package/dist/utils/generateTemplate.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @lynx-js/web-constants
|
|
2
2
|
|
|
3
|
+
## 0.15.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix: improve compatibility with legacy template ([#1337](https://github.com/lynx-family/lynx-stack/pull/1337))
|
|
8
|
+
|
|
9
|
+
avoid "object Object" error for old version rspeedy outputs
|
|
10
|
+
|
|
11
|
+
- Updated dependencies []:
|
|
12
|
+
- @lynx-js/web-worker-rpc@0.15.3
|
|
13
|
+
|
|
3
14
|
## 0.15.2
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -108,7 +108,7 @@ async function generateJavascriptUrl(obj, injectVars, injectWithBind, muteableVa
|
|
|
108
108
|
name,
|
|
109
109
|
await createJsModuleUrl(generateModuleContent(content)),
|
|
110
110
|
];
|
|
111
|
-
return Promise.all(Object.entries(obj).map(processEntry)).then(Object.fromEntries);
|
|
111
|
+
return Promise.all(Object.entries(obj).filter(([_, content]) => typeof content === 'string').map(processEntry)).then(Object.fromEntries);
|
|
112
112
|
}
|
|
113
113
|
export async function generateTemplate(template, createJsModuleUrl, templateName) {
|
|
114
114
|
if (!templateName) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/web-constants",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [],
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"**/*.css"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@lynx-js/web-worker-rpc": "0.15.
|
|
26
|
+
"@lynx-js/web-worker-rpc": "0.15.3"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@lynx-js/offscreen-document": "0.1.3"
|