@vpmedia/phaser 1.1.7 → 1.1.8

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/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  @vpmedia/phaser
2
2
  ===============
3
3
 
4
- [![npm version](https://badge.fury.io/js/@vpmedia%2Fphaser.svg?v=1.1.7)](https://badge.fury.io/js/@vpmedia%2Fphaser)
4
+ [![npm version](https://badge.fury.io/js/@vpmedia%2Fphaser.svg?v=1.1.8)](https://badge.fury.io/js/@vpmedia%2Fphaser)
5
5
  [![Node.js CI](https://github.com/vpmedia/phaser/actions/workflows/node.js.yml/badge.svg)](https://github.com/vpmedia/phaser/actions/workflows/node.js.yml)
6
6
 
7
7
  @vpmedia/phaser is the modern ECMAScript port of the popular Phaser game engine v2.6.2.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vpmedia/phaser",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "@vpmedia/phaser is the modern ECMAScript port of the popular Phaser game engine v2.6.2",
5
5
  "author": "Andras Csizmadia <andras@vpmedia.hu> (www.vpmedia.hu)",
6
6
  "license": "MIT",
@@ -17,10 +17,10 @@
17
17
  ],
18
18
  "main": "./src/index.js",
19
19
  "devDependencies": {
20
- "eslint": "^8.29.0",
20
+ "eslint": "^8.30.0",
21
21
  "eslint-config-prettier": "^8.5.0",
22
22
  "eslint-plugin-import": "^2.26.0",
23
- "eslint-plugin-jest": "^27.1.6",
23
+ "eslint-plugin-jest": "^27.1.7",
24
24
  "eslint-plugin-jsdoc": "^39.6.4",
25
25
  "eslint-plugin-prettier": "^4.2.1",
26
26
  "husky": "^8.0.2",
@@ -36,7 +36,7 @@
36
36
  "lint-staged": "lint-staged"
37
37
  },
38
38
  "engines": {
39
- "npm": ">=7.0.0",
40
- "node": ">=16.0.0"
39
+ "npm": ">=8.0.0",
40
+ "node": ">=18.0.0"
41
41
  }
42
42
  }
@@ -498,7 +498,7 @@ export default class {
498
498
  this.audioSprite(file.key, file.audioURL, file.jsonURL, file.jsonData);
499
499
  break;
500
500
  case "bitmapFont":
501
- this.bitmapFont(file.key, file.textureURL, file.atlasURL, file.atlasData, file.xSpacing, file.ySpacing);
501
+ this.bitmapFont(file.key, file.textureURL, file.fontDataURL ? file.fontDataURL : file.atlasURL, file.atlasData, file.xSpacing, file.ySpacing);
502
502
  break;
503
503
  case "atlas":
504
504
  this.atlas(file.key, file.textureURL, file.atlasURL, file.atlasData, TEXTURE_ATLAS_JSON_HASH);