@lightningjs/blits 1.16.0 → 1.16.2
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 +14 -0
- package/package.json +2 -2
- package/src/router/router.js +8 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v1.16.2
|
|
4
|
+
|
|
5
|
+
_21 jan 2025_
|
|
6
|
+
|
|
7
|
+
- Upgraded to latest version of MSDF font generator, with fix for missing presets
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## v1.16.1
|
|
11
|
+
|
|
12
|
+
_17 jan 2025_
|
|
13
|
+
|
|
14
|
+
- Fixed issue in certain browsers caused by route query params functionality (and optimized for performance)
|
|
15
|
+
|
|
16
|
+
|
|
3
17
|
## v1.16.0
|
|
4
18
|
|
|
5
19
|
_16 jan 2025_
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightningjs/blits",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.2",
|
|
4
4
|
"description": "Blits: The Lightning 3 App Development Framework",
|
|
5
5
|
"bin": "bin/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"tape": "^5.5.0"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@lightningjs/msdf-generator": "^1.1.
|
|
52
|
+
"@lightningjs/msdf-generator": "^1.1.1",
|
|
53
53
|
"@lightningjs/renderer": "^2.8.0"
|
|
54
54
|
},
|
|
55
55
|
"repository": {
|
package/src/router/router.js
CHANGED
|
@@ -156,16 +156,20 @@ export const navigate = async function () {
|
|
|
156
156
|
holder.populate({})
|
|
157
157
|
holder.set('w', '100%')
|
|
158
158
|
holder.set('h', '100%')
|
|
159
|
+
|
|
160
|
+
const queryParamsData = {}
|
|
161
|
+
const queryParamsEntries = [...queryParams.entries()]
|
|
162
|
+
for (let i = 0; i < queryParamsEntries.length; i++) {
|
|
163
|
+
queryParamsData[queryParamsEntries[i][0]] = queryParamsEntries[i][1]
|
|
164
|
+
}
|
|
165
|
+
|
|
159
166
|
// merge props with potential route params, navigation data and route data to be injected into the component instance
|
|
160
167
|
const props = {
|
|
161
168
|
...this[symbols.props],
|
|
162
169
|
...route.params,
|
|
163
170
|
...navigationData,
|
|
164
171
|
...route.data,
|
|
165
|
-
...
|
|
166
|
-
obj[item[0]] = item[1]
|
|
167
|
-
return obj
|
|
168
|
-
}, {}),
|
|
172
|
+
...queryParamsData,
|
|
169
173
|
}
|
|
170
174
|
|
|
171
175
|
view = await route.component({ props }, holder, this)
|