Reverted dist files, package-lock and types

This commit is contained in:
Krzysztof Głogocki 2022-04-07 12:14:52 +02:00
parent b014837aae
commit 20216d0476
10 changed files with 12710 additions and 12771 deletions

View file

@ -4871,8 +4871,7 @@ var File = new Class({
// On iOS, Capacitor often runs on a capacitor:// protocol, meaning local files are served from capacitor:// rather than file:// // On iOS, Capacitor often runs on a capacitor:// protocol, meaning local files are served from capacitor:// rather than file://
// See: https://github.com/photonstorm/phaser/issues/5685 // See: https://github.com/photonstorm/phaser/issues/5685
var localSchemes = [ 'file://', 'capacitor://', this.loader.systems.game.config.loaderLocalScheme ]; var isLocalFile = xhr.responseURL && (xhr.responseURL.indexOf('file://') === 0 || xhr.responseURL.indexOf('capacitor://') === 0);
var isLocalFile = xhr.responseURL && localSchemes.some(function (scheme) { return xhr.responseURL.indexOf(scheme) === 0; });
var localFileOk = (isLocalFile && event.target.status === 0); var localFileOk = (isLocalFile && event.target.status === 0);
@ -71881,11 +71880,6 @@ var Config = new Class({
*/ */
this.loaderWithCredentials = GetValue(config, 'loader.withCredentials', false); this.loaderWithCredentials = GetValue(config, 'loader.withCredentials', false);
/**
* @const {string} Phaser.Core.Config#loaderLocalScheme - Optional local scheme definition.
*/
this.loaderLocalScheme = GetValue(config, 'loader.localScheme', '');
/* /*
* Allows `plugins` property to either be an array, in which case it just replaces * Allows `plugins` property to either be an array, in which case it just replaces
* the default plugins like previously, or a config object. * the default plugins like previously, or a config object.

File diff suppressed because one or more lines are too long

View file

@ -5415,8 +5415,7 @@ var File = new Class({
// On iOS, Capacitor often runs on a capacitor:// protocol, meaning local files are served from capacitor:// rather than file:// // On iOS, Capacitor often runs on a capacitor:// protocol, meaning local files are served from capacitor:// rather than file://
// See: https://github.com/photonstorm/phaser/issues/5685 // See: https://github.com/photonstorm/phaser/issues/5685
var localSchemes = [ 'file://', 'capacitor://', this.loader.systems.game.config.loaderLocalScheme ]; var isLocalFile = xhr.responseURL && (xhr.responseURL.indexOf('file://') === 0 || xhr.responseURL.indexOf('capacitor://') === 0);
var isLocalFile = xhr.responseURL && localSchemes.some(function (scheme) { return xhr.responseURL.indexOf(scheme) === 0; });
var localFileOk = (isLocalFile && event.target.status === 0); var localFileOk = (isLocalFile && event.target.status === 0);
@ -79631,11 +79630,6 @@ var Config = new Class({
*/ */
this.loaderWithCredentials = GetValue(config, 'loader.withCredentials', false); this.loaderWithCredentials = GetValue(config, 'loader.withCredentials', false);
/**
* @const {string} Phaser.Core.Config#loaderLocalScheme - Optional local scheme definition.
*/
this.loaderLocalScheme = GetValue(config, 'loader.localScheme', '');
/* /*
* Allows `plugins` property to either be an array, in which case it just replaces * Allows `plugins` property to either be an array, in which case it just replaces
* the default plugins like previously, or a config object. * the default plugins like previously, or a config object.

File diff suppressed because one or more lines are too long

8
dist/phaser-ie9.js vendored
View file

@ -4871,8 +4871,7 @@ var File = new Class({
// On iOS, Capacitor often runs on a capacitor:// protocol, meaning local files are served from capacitor:// rather than file:// // On iOS, Capacitor often runs on a capacitor:// protocol, meaning local files are served from capacitor:// rather than file://
// See: https://github.com/photonstorm/phaser/issues/5685 // See: https://github.com/photonstorm/phaser/issues/5685
var localSchemes = [ 'file://', 'capacitor://', this.loader.systems.game.config.loaderLocalScheme ]; var isLocalFile = xhr.responseURL && (xhr.responseURL.indexOf('file://') === 0 || xhr.responseURL.indexOf('capacitor://') === 0);
var isLocalFile = xhr.responseURL && localSchemes.some(function (scheme) { return xhr.responseURL.indexOf(scheme) === 0; });
var localFileOk = (isLocalFile && event.target.status === 0); var localFileOk = (isLocalFile && event.target.status === 0);
@ -77069,11 +77068,6 @@ var Config = new Class({
*/ */
this.loaderWithCredentials = GetValue(config, 'loader.withCredentials', false); this.loaderWithCredentials = GetValue(config, 'loader.withCredentials', false);
/**
* @const {string} Phaser.Core.Config#loaderLocalScheme - Optional local scheme definition.
*/
this.loaderLocalScheme = GetValue(config, 'loader.localScheme', '');
/* /*
* Allows `plugins` property to either be an array, in which case it just replaces * Allows `plugins` property to either be an array, in which case it just replaces
* the default plugins like previously, or a config object. * the default plugins like previously, or a config object.

File diff suppressed because one or more lines are too long

8
dist/phaser.js vendored
View file

@ -4871,8 +4871,7 @@ var File = new Class({
// On iOS, Capacitor often runs on a capacitor:// protocol, meaning local files are served from capacitor:// rather than file:// // On iOS, Capacitor often runs on a capacitor:// protocol, meaning local files are served from capacitor:// rather than file://
// See: https://github.com/photonstorm/phaser/issues/5685 // See: https://github.com/photonstorm/phaser/issues/5685
var localSchemes = [ 'file://', 'capacitor://', this.loader.systems.game.config.loaderLocalScheme ]; var isLocalFile = xhr.responseURL && (xhr.responseURL.indexOf('file://') === 0 || xhr.responseURL.indexOf('capacitor://') === 0);
var isLocalFile = xhr.responseURL && localSchemes.some(function (scheme) { return xhr.responseURL.indexOf(scheme) === 0; });
var localFileOk = (isLocalFile && event.target.status === 0); var localFileOk = (isLocalFile && event.target.status === 0);
@ -77069,11 +77068,6 @@ var Config = new Class({
*/ */
this.loaderWithCredentials = GetValue(config, 'loader.withCredentials', false); this.loaderWithCredentials = GetValue(config, 'loader.withCredentials', false);
/**
* @const {string} Phaser.Core.Config#loaderLocalScheme - Optional local scheme definition.
*/
this.loaderLocalScheme = GetValue(config, 'loader.localScheme', '');
/* /*
* Allows `plugins` property to either be an array, in which case it just replaces * Allows `plugins` property to either be an array, in which case it just replaces
* the default plugins like previously, or a config object. * the default plugins like previously, or a config object.

2
dist/phaser.min.js vendored

File diff suppressed because one or more lines are too long

32
package-lock.json generated
View file

@ -1,6 +1,6 @@
{ {
"name": "phaser", "name": "phaser",
"version": "3.55.2", "version": "3.53.0",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
@ -692,16 +692,6 @@
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"bindings": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
"integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
"dev": true,
"optional": true,
"requires": {
"file-uri-to-path": "1.0.0"
}
},
"bluebird": { "bluebird": {
"version": "3.7.2", "version": "3.7.2",
"resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz",
@ -2077,13 +2067,6 @@
"flat-cache": "^2.0.1" "flat-cache": "^2.0.1"
} }
}, },
"file-uri-to-path": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
"integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
"dev": true,
"optional": true
},
"fill-range": { "fill-range": {
"version": "4.0.0", "version": "4.0.0",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",
@ -3253,13 +3236,6 @@
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
"dev": true "dev": true
}, },
"nan": {
"version": "2.15.0",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz",
"integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==",
"dev": true,
"optional": true
},
"nanomatch": { "nanomatch": {
"version": "1.2.13", "version": "1.2.13",
"resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",
@ -5051,11 +5027,7 @@
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz",
"integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==",
"dev": true, "dev": true,
"optional": true, "optional": true
"requires": {
"bindings": "^1.5.0",
"nan": "^2.12.1"
}
}, },
"glob-parent": { "glob-parent": {
"version": "3.1.0", "version": "3.1.0",

25057
types/phaser.d.ts vendored

File diff suppressed because it is too large Load diff