Fix: json5@2.2.3 is now the 'latest' release according to npm instead of v1.0.2. (#299)
v2.2.2
Fix: Properties with the name __proto__ are added to objects and arrays.
(#199) This also fixes a prototype pollution vulnerability reported by
Jonathan Gregson! (#295).
v2.2.1
Fix: Removed dependence on minimist to patch CVE-2021-44906. (#266)
v2.2.0
New: Accurate and documented TypeScript declarations are now included. There is no need to install @types/json5. (#236, #244)
Fix: Properties with the name __proto__ are added to objects and arrays.
(#199) This also fixes a prototype pollution vulnerability reported by
Jonathan Gregson! (#295).
Fixed an issue in FillPathWebGL, IsoBoxWebGLRenderer and IsoTriangleWebGLRenderer functions which caused the filled versions of most Shape Game Objects to pick-up the texture of the previous object on the display list. Fix #5720 (thanks @samme)
Phaser v3.55.1
New Features
The GameObject.destroy method has a new fromScene parameter, set automatically by Phaser. Fix #5716 (thanks @rexrainbow)
The Game Object DESTROY event is now set the new fromScene boolean as the 2nd parameter, allowing you to determine what invoked the event (either user code or a Scene change). Fix #5716 (thanks @rexrainbow)
Bug Fixes
Fixed an issue with the TypeScript defs not recognising the Game Object Config properly. Fix #5713 (thanks @vforsh)
Fixed an issue in the FillPathWebGL function which caused the filled versions of the Arc, Circle, Ellipse, Polygon and Star Shapes to not render. Fix #5712 (thanks @rexrainbow)
Fixed rendering parameters in IsoBox and IsoTriangle Game Objects that stopped them from rendering correctly.
Added the missing WebGLPipelineUniformsConfig type def. Fix #5718 (thanks @PhaserEditor2D)
Phaser v3.55.0
New Features
GameObjects.DOMElement.pointerEvents is a new property that allows you to set the pointerEvents attribute on the DOM Element CSS. This is auto by default and should not be changed unless you know what you're doing.
Core.Config.domPointerEvents is a new config property set via dom: { pointerEvents } within the Game Config that allows you to set the pointerEvents css attribute on the DOM Element container.
The RenderTexture.endDraw method has a new optional boolean erase which allows you to draw all objects in the batch using a blend mode of ERASE. This has the effect of erasing any filled pixels in the objects being drawn.
All of the methods from the GraphicsPipeline have now been merged with the MultiPipeline, these include batchFillRect, batchFillTriangle, batchStrokeTriangle, batchFillPath, batchStrokePath and batchLine. The Graphics Game Object and all of the Shape Game Objects have been updated to use the new Multi Pipeline. This means that drawing Sprites and Graphics / Shapes will all batch together again. Fix #5553#5500 (thanks @venarius@roberthook823)
Updates
The types have been improved for WebGL Compressed Textures (thanks @vforsh)
Container.moveAbove is a new method that will move a Game Object above another in the same Container (thanks @rexrainbow)
Container.moveBelow is a new method that will move a Game Object below another in the same Container (thanks @rexrainbow)
List.moveAbove is a new method that will move a Game Object above another in the same List (thanks @rexrainbow)
List.moveBelow is a new method that will move a Game Object below another in the same List (thanks @rexrainbow)
The MeasureText function, as used by Text Game Objects, has had its performance enhanced by removing a duplicate image data check and also now checks for metrics properties correctly (thanks @valadaptive)
WebGLShader.setUniform1 has a new optional boolean parameter skipCheck which will force the function to set the values without checking against the previously held ones.
WebGLShader.setUniform2 has a new optional boolean parameter skipCheck which will force the function to set the values without checking against the previously held ones.
WebGLShader.setUniform3 has a new optional boolean parameter skipCheck which will force the function to set the values without checking against the previously held ones.
WebGLShader.setUniform4 has a new optional boolean parameter skipCheck which will force the function to set the values without checking against the previously held ones.
The WebGLShader.set1fv, set2fv, set3fv, set4fv, set1iv, set2iv, set3iv, set4iv, setMatrix2fv, setMatrix3fv and setMatrix4fv methods no longer try to do array comparisons when setting the uniforms, but sets them directly. Fix #5670 (thanks @telinc1)
Bug Fixes
Have reverted all of the DOM Element CSS changes back to how they were in 3.52, causing both DOM Input and Phaser Input to work together properly again. Fix #5628 (thanks @sacharobarts)
The Mesh Game Object would incorrectly cull faces if the Scene Camera scrolled. It now calculates the cull correctly, regardless of camera world position, zoom or rotation. Fix #5570 (thanks @hendrikras)
Math.ToXY will now return an empty Vector 2 if the index is out of range, where before it would return the input Vector2 (thanks @Trissolo)
The UpdateList.shutdown method will now remove the PRE_UPDATE handler from the ProcessQueue correctly (thanks @samme)
When loading a Video with a config object, it would not get the correct key value from it (thanks @mattjennings)
The GameObjectFactory.existing method will now accept Layer as a TypeScript type. Fix #5642 (thanks @michal-bures)
The Input.Pointer.event property can now be a WheelEvent as well.
Fixed an issue when loading audio files from a Phaser project wrapped in Capacitor native app shell on iOS (thanks @consolenaut)
Fixed an issue in FillPathWebGL, IsoBoxWebGLRenderer and IsoTriangleWebGLRenderer functions which caused the filled versions of most Shape Game Objects to pick-up the texture of the previous object on the display list. Fix #5720 (thanks @samme)
Version 3.55.1 - Ichika - 26th May 2021
New Features
The GameObject.destroy method has a new fromScene parameter, set automatically by Phaser. Fix #5716 (thanks @rexrainbow)
The Game Object DESTROY event is now set the new fromScene boolean as the 2nd parameter, allowing you to determine what invoked the event (either user code or a Scene change). Fix #5716 (thanks @rexrainbow)
Bug Fixes
Fixed an issue with the TypeScript defs not recognising the Game Object Config properly. Fix #5713 (thanks @vforsh)
Fixed an issue in the FillPathWebGL function which caused the filled versions of the Arc, Circle, Ellipse, Polygon and Star Shapes to not render. Fix #5712 (thanks @rexrainbow)
Fixed rendering parameters in IsoBox and IsoTriangle Game Objects that stopped them from rendering correctly.
Added the missing WebGLPipelineUniformsConfig type def. Fix #5718 (thanks @PhaserEditor2D)
Version 3.55.0 - Ichika - 24th May 2021
New Features
GameObjects.DOMElement.pointerEvents is a new property that allows you to set the pointerEvents attribute on the DOM Element CSS. This is auto by default and should not be changed unless you know what you're doing.
Core.Config.domPointerEvents is a new config property set via dom: { pointerEvents } within the Game Config that allows you to set the pointerEvents css attribute on the DOM Element container.
The RenderTexture.endDraw method has a new optional boolean erase which allows you to draw all objects in the batch using a blend mode of ERASE. This has the effect of erasing any filled pixels in the objects being drawn.
All of the methods from the GraphicsPipeline have now been merged with the MultiPipeline, these include batchFillRect, batchFillTriangle, batchStrokeTriangle, batchFillPath, batchStrokePath and batchLine. The Graphics Game Object and all of the Shape Game Objects have been updated to use the new Multi Pipeline. This means that drawing Sprites and Graphics / Shapes will all batch together again. Fix #5553#5500 (thanks @venarius@roberthook823)
Updates
The types have been improved for WebGL Compressed Textures (thanks @vforsh)
Container.moveAbove is a new method that will move a Game Object above another in the same Container (thanks @rexrainbow)
Container.moveBelow is a new method that will move a Game Object below another in the same Container (thanks @rexrainbow)
List.moveAbove is a new method that will move a Game Object above another in the same List (thanks @rexrainbow)
List.moveBelow is a new method that will move a Game Object below another in the same List (thanks @rexrainbow)
The MeasureText function, as used by Text Game Objects, has had its performance enhanced by removing a duplicate image data check and also now checks for metrics properties correctly (thanks @valadaptive)
WebGLShader.setUniform1 has a new optional boolean parameter skipCheck which will force the function to set the values without checking against the previously held ones.
WebGLShader.setUniform2 has a new optional boolean parameter skipCheck which will force the function to set the values without checking against the previously held ones.
WebGLShader.setUniform3 has a new optional boolean parameter skipCheck which will force the function to set the values without checking against the previously held ones.
WebGLShader.setUniform4 has a new optional boolean parameter skipCheck which will force the function to set the values without checking against the previously held ones.
The WebGLShader.set1fv, set2fv, set3fv, set4fv, set1iv, set2iv, set3iv, set4iv, setMatrix2fv, setMatrix3fv and setMatrix4fv methods no longer try to do array comparisons when setting the uniforms, but sets them directly. Fix #5670 (thanks @telinc1)
Bug Fixes
Have reverted all of the DOM Element CSS changes back to how they were in 3.52, causing both DOM Input and Phaser Input to work together properly again. Fix #5628 (thanks @sacharobarts)
The Mesh Game Object would incorrectly cull faces if the Scene Camera scrolled. It now calculates the cull correctly, regardless of camera world position, zoom or rotation. Fix #5570 (thanks @hendrikras)
Math.ToXY will now return an empty Vector 2 if the index is out of range, where before it would return the input Vector2 (thanks @Trissolo)
The UpdateList.shutdown method will now remove the PRE_UPDATE handler from the ProcessQueue correctly (thanks @samme)
When loading a Video with a config object, it would not get the correct key value from it (thanks @mattjennings)
removed cjs wrapper and generated types in commonjs format (export = and namespaces used in types), now you can directly use exported types (#654) (5901006)
removed cjs wrapper and generated types in commonjs format (export = and namespaces used in types), now you can directly use exported types (#654) (5901006)
Bumps json5 to 2.2.3 and updates ancestor dependencies json5, phaser, babel-loader, copy-webpack-plugin, html-loader, html-webpack-plugin, raw-loader, webpack and webpack-cli. These dependencies need to be updated together.
Updates
json5
from 2.1.3 to 2.2.3Release notes
Sourced from json5's releases.
Changelog
Sourced from json5's changelog.
Commits
c3a7524
2.2.394fd06d
docs: update CHANGELOG for v2.2.33b8cebf
docs(security): use GitHub security advisoriesf0fd9e1
docs: publish a security policy6a91a05
docs(template): bug -> bug report14f8cb1
2.2.210cc7ca
docs: update CHANGELOG for v2.2.27774c10
fix: add proto to objects and arraysedde30a
Readme: slight tweak to intro97286f8
Improve example in readmeUpdates
phaser
from 3.23.0 to 3.55.2Release notes
Sourced from phaser's releases.
... (truncated)
Changelog
Sourced from phaser's changelog.
... (truncated)
Commits
1a086fc
3.55.2 Release9cd5f56
Fixed an issue inFillPathWebGL
,IsoBoxWebGLRenderer
and `IsoTriangleWebG...7275335
3.55.1 Releasef870e33
New TS Defs55b69e5
MadefromScene
optional99db692
Update CHANGELOG.md78b9215
Added the missingWebGLPipelineUniformsConfig
type def. Fix #5718 (thanks @...5552079
Merge pull request #5717 from rexrainbow/destroy-from-scenec8cc337
3.55.15d9d543
Fixed rendering calls. Fix #5712Updates
babel-loader
from 8.1.0 to 8.3.0Release notes
Sourced from babel-loader's releases.
Commits
9bf5652
8.3.080ab7d0
Update@babel/
dependencies493ac6c
Pass external dependencies from Babel to Webpack (#971)df28fe3
Fix broken main test (#950)0b338e4
update hash method so it doesn't fail on a fips enabled machine (#939)1f98d3c
8.2.5c622868
fix: respectinputSourceMap
loader option (#896)f7982c1
8.2.44bb9e21
Use md5 hashing for OpenSSL 3 (#924)247c94b
Bump loader-utils to 2.x (#931)Maintainer changes
This version was pushed to npm by nicolo-ribaudo, a new releaser for babel-loader since your current version.
Updates
copy-webpack-plugin
from 5.1.1 to 11.0.0Release notes
Sourced from copy-webpack-plugin's releases.
... (truncated)
Changelog
Sourced from copy-webpack-plugin's changelog.
... (truncated)
Commits
f3b2c24
chore(release): 11.0.08424ca8
chore(deps): regenerate lock file (#693)675c676
build: drop node v12 (#691)a2b1f19
chore: update gitub actions (#692)238c062
chore: upgrade dependencies to the latest version (#688)e27006e
ci: remove node v17 (#687)e50d708
chore: add node 18 to workflow (#686)f1a91e6
ci: don't install webpack again (#680)64cf06f
docs: add path string to options signature (#683)4b18a6b
docs: improve readmeUpdates
html-loader
from 0.5.5 to 4.2.0Release notes
Sourced from html-loader's releases.
... (truncated)
Changelog
Sourced from html-loader's changelog.
... (truncated)
Commits
17fbef3
chore(release): 4.2.027a6caf
feat: update html minifier (#462)01905ba
chore: update commitlint action (#461)37d2073
chore: run cancel workflow on pull request (#458)7dd065c
chore: update jest to the latest version (#457)3ddf326
ci: update github workflow security permissions (#456)2457eda
chore: upgrade dependencies to the latest version (#455)3ea5738
ci: add job to cancel previous runs (#454)33cc6d0
chore: update dependencies to the latest version (#453)e81a944
ci: add GitHub token permissions for workflow (#450)Maintainer changes
This version was pushed to npm by evilebottnawi, a new releaser for html-loader since your current version.
Updates
html-webpack-plugin
from 3.2.0 to 5.5.0Changelog
Sourced from html-webpack-plugin's changelog.
... (truncated)
Commits
873d75b
chore(release): 5.5.0ddeb774
chore: update examples1e42625
feat: Support type=module via scriptLoading option7d3645b
Bump pretty-error to 4.0.0 to fix transitive vuln for ansi-regex CVE-2021-380779be779
[chore] changes actions to run on pull_requestsb7e5859
[chore] fixes CI to avoid race conditions48131d3
chore(release): 5.4.016a841a
[chore] rebuild examples3bb7c17
Update index.jse38ac97
Update index.jsMaintainer changes
This version was pushed to npm by jantimon, a new releaser for html-webpack-plugin since your current version.
Updates
raw-loader
from 2.0.0 to 4.0.2Release notes
Sourced from raw-loader's releases.
Changelog
Sourced from raw-loader's changelog.
... (truncated)
Commits
dbe458d
chore(release): 4.0.2b89d8d9
chore(deps): update (#100)30daf0d
chore(deps): remove unnecessary deps35a10f4
chore(release): 4.0.121f0ca5
chore(deps): update (#90)e76476c
chore(release): 4.0.05ec82d6
refactor: next (#88)d231710
chore(release): 3.1.06cf76b8
feat: improved validation error messages (#85)aebfd74
chore(deps): update (#84)Updates
webpack
from 4.43.0 to 5.75.0Release notes
Sourced from webpack's releases.
... (truncated)
Commits
8241da7
5.75.0a91d923
Merge pull request #16458 from webpack/bugfix/semi4608b11
Merge pull request #16457 from webpack/tooling/updatedfdd0b0
Merge pull request #16122 from AnmolBansalDEV/bug/compilationCallback23b9a1c
Merge pull request #16167 from exposir/fixts6f2c5e8
Merge pull request #16257 from alexzhang1030/calc_deterministic_verbosef7f36ad
Merge pull request #16339 from Liamolucko/wasm-i64761a542
fix semicolon position2403a36
Merge pull request #16345 from ahabhgk/fix-eval-nosourcesc18203c
update toolingUpdates
webpack-cli
from 3.3.11 to 5.0.1Release notes
Sourced from webpack-cli's releases.