@driftengine/core 4.8.4 → 4.8.5
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.json
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "4.8.5",
|
|
4
|
+
"date": "2026-10-05",
|
|
5
|
+
"entries": [
|
|
6
|
+
{
|
|
7
|
+
"kind": "fixed",
|
|
8
|
+
"short": "A game built with the shader comment stripper compiles its lit shader on WebGL2 again, broken since 4.4.0, and ships about 60 KB less script now that the commentary really leaves.",
|
|
9
|
+
"text": "The shader comment stripper a consumer's build runs, `shaderCommentStripper` from `@driftengine/core/dist/build/shaderComments.js`, found GLSL template literals with a pattern that paired the escaped backticks quoting an identifier inside a comment. A `//` comment quoting one was cut halfway and the rest of its line reached the compiler as code, so from 4.4.0, when such a comment arrived in the lit shader's shadow code, every lit shader a consumer built with the plugin failed to compile on WebGL2 at every light budget, while WebGPU, which never meets the GLSL, hid it. Literals are read with their escapes now, and comments of both kinds in one pass, so a `/*` inside a line comment opens nothing. A strip that changes how many literals a module opens and closes is refused, and the check that a GLSL marker survived reads the code rather than the prose, which had refused a correct strip of the lit shader's own three modules. The plugin's corpus test read the top of one shaders directory, 47 of the 130 modules the plugin reaches and not the lit shader's; it reads every package's shaders now and asserts that no backtick is left in the GLSL. A production game rebuilt with the fix compiles every program on WebGL2 and ships 62 KB less gzipped JavaScript, 1,319 KB to 1,257, because the old pattern's mispairing had been leaving much of the commentary in."
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
},
|
|
2
13
|
{
|
|
3
14
|
"version": "4.8.4",
|
|
4
15
|
"date": "2026-10-05",
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@driftengine/core",
|
|
3
|
-
"version": "4.8.
|
|
3
|
+
"version": "4.8.5",
|
|
4
4
|
"description": "The runtime of DriftEngine, a WebGPU game engine with a WebGL2 fallback: renderer, loop, input, cameras, scene graph and physics",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
],
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@driftengine/drft": "4.8.
|
|
33
|
-
"@driftengine/physics": "4.8.
|
|
32
|
+
"@driftengine/drft": "4.8.5",
|
|
33
|
+
"@driftengine/physics": "4.8.5",
|
|
34
34
|
"gl-matrix": "^3.4.3"
|
|
35
35
|
},
|
|
36
36
|
"author": "Drift Technologies",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"prepack": "node ../../scripts/build.mjs @driftengine/core"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@driftengine/nav": "4.8.
|
|
71
|
-
"@driftengine/network": "4.8.
|
|
72
|
-
"@driftengine/texture": "4.8.
|
|
70
|
+
"@driftengine/nav": "4.8.5",
|
|
71
|
+
"@driftengine/network": "4.8.5",
|
|
72
|
+
"@driftengine/texture": "4.8.5"
|
|
73
73
|
}
|
|
74
74
|
}
|
|
Binary file
|