diff --git a/server/shim/pixi/constants.js b/server/shim/pixi/constants.js new file mode 100644 index 0000000..aff4fab --- /dev/null +++ b/server/shim/pixi/constants.js @@ -0,0 +1,40 @@ +export const BLEND_MODES = { + NORMAL: 0, + ADD: 1, + MULTIPLY: 2, + SCREEN: 3, + OVERLAY: 4, + DARKEN: 5, + LIGHTEN: 6, + COLOR_DODGE: 7, + COLOR_BURN: 8, + HARD_LIGHT: 9, + SOFT_LIGHT: 10, + DIFFERENCE: 11, + EXCLUSION: 12, + HUE: 13, + SATURATION: 14, + COLOR: 15, + LUMINOSITY: 16, + NORMAL_NPM: 17, + ADD_NPM: 18, + SCREEN_NPM: 19, + NONE: 20, + + SRC_OVER: 0, + SRC_IN: 21, + SRC_OUT: 22, + SRC_ATOP: 23, + DST_OVER: 24, + DST_IN: 25, + DST_OUT: 26, + DST_ATOP: 27, + ERASE: 26, + SUBTRACT: 28, + XOR: 29, +}; + +export const SCALE_MODES = { + NEAREST: 0, + LINEAR: 1, +}; diff --git a/server/shim/pixi/core.js b/server/shim/pixi/core.js new file mode 100644 index 0000000..c4b4ac7 --- /dev/null +++ b/server/shim/pixi/core.js @@ -0,0 +1,13 @@ +export class BaseRenderer {} +export class BaseTexture {} +export class BatchRenderer {} +export class Filter {} +export class Renderer { + + static registerPlugin() {} + +} +export class RenderTexture {} +export class Texture {} + +export const defaultFilterVertex = ''; diff --git a/server/shim/pixi/display.js b/server/shim/pixi/display.js new file mode 100644 index 0000000..11e8a24 --- /dev/null +++ b/server/shim/pixi/display.js @@ -0,0 +1 @@ +export class Container {} diff --git a/server/shim/pixi/graphics.js b/server/shim/pixi/graphics.js new file mode 100644 index 0000000..e69de29 diff --git a/server/shim/pixi/settings/index.js b/server/shim/pixi/settings/index.js new file mode 100644 index 0000000..272a366 --- /dev/null +++ b/server/shim/pixi/settings/index.js @@ -0,0 +1,4 @@ +import {settings} from './settings'; +export {settings}; + +export const isMobile = settings.isMobile; diff --git a/server/shim/pixi/settings/settings.js b/server/shim/pixi/settings/settings.js new file mode 100644 index 0000000..9ad92d6 --- /dev/null +++ b/server/shim/pixi/settings/settings.js @@ -0,0 +1,6 @@ +export const settings = { + isMobile: { + android: {}, + apple: {}, + }, +}; \ No newline at end of file diff --git a/webpack.server.config.js b/webpack.server.config.js index 1dcfc27..0a6480c 100644 --- a/webpack.server.config.js +++ b/webpack.server.config.js @@ -25,13 +25,29 @@ if (process.argv.find((arg) => '--hot' === arg)) { } config.externals = [ nodeExternals({ - whitelist: /(?:@avocado|webpack\/hot\/signal)/, + whitelist: /(?:@avocado|@pixi|webpack\/hot\/signal)/, }), ]; -// Babel config file. +const pixiPackages = [ + 'constants', + 'core', + 'display', + 'graphics', + 'settings', +]; +pixiPackages.forEach((pixiPackage) => { + config.resolve.alias[`@pixi/${pixiPackage}`] = path.join( + __dirname, + 'server', + 'shim', + 'pixi', + pixiPackage, + ); +}); config.module.rules[0].use.options.configFile = path.resolve( __dirname, 'babel.server.config.js' ); +// Include server files when scanning. config.module.rules[1].use.options.paths.push( path.resolve(__dirname, 'server'), ); diff --git a/yarn.lock b/yarn.lock index b8ffa77..eaba2a5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -34,19 +34,19 @@ lodash.without "4.4.0" "@avocado/graphics@1.x": - version "1.0.6" - resolved "https://npm.i12e.cha0s.io/@avocado%2fgraphics/-/graphics-1.0.6.tgz#62fe6f0f5b10b16b9364ff1f64cc30983c3d998e" - integrity sha512-EEmruUv0LzP/DVDtl3mAGQPsnrcuXE3SyXH7epHoNMUNwyV5ebmVGSw29fqBrxNWPTkIam5jyxm6dJ4WprCCsA== + version "1.0.8" + resolved "https://npm.i12e.cha0s.io/@avocado%2fgraphics/-/graphics-1.0.8.tgz#9af092ba97cd069c67fd85550b873f8b575d3352" + integrity sha512-Gi6Yp3WacoBZZor72rton+C7pKW84+TIvuot7cXiZWb9ti/dzzT1qcP5a5WochYwj7Dhfe9wxk+dgxECLzsJ3g== dependencies: "@avocado/core" "1.x" "@avocado/math" "1.x" "@avocado/resource" "1.x" - "@pixi/filter-advanced-bloom" "2.7.0" + "@pixi/filter-advanced-bloom" "3.0.3" debug "3.1.0" immutable "4.0.0-rc.12" - pixi.js "4.8.6" + pixi.js "5.1.5" + proton-js "3.1.2" three "0.103.0" - three.proton.js "0.1.5" web-animations-js "2.3.1" "@avocado/input@1.x": @@ -792,17 +792,334 @@ lodash "^4.17.11" to-fast-properties "^2.0.0" -"@pixi/filter-advanced-bloom@2.7.0": - version "2.7.0" - resolved "https://npm.i12e.cha0s.io/@pixi%2ffilter-advanced-bloom/-/filter-advanced-bloom-2.7.0.tgz#c031b4ffb7508ce418220fb9418afe55fcef1e7a" - integrity sha512-aMfSH3zOC7q2GWCvn2CXT/UIGBqUdMtidNneCBMggOnXGuGYU/an2mBNstxl68db76+RBuPvBpqbVBsLIJULXA== +"@pixi/accessibility@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2faccessibility/-/accessibility-5.1.5.tgz#3f916fd46aee051bb6a5434f507cefc063f24235" + integrity sha512-xHgcVN6sDqqpkcgk+yJ5s6tCf7ZW2YZVop7bQL9avuJaP6I/0mbwUN3evWonQ4QNO6SF8V/QXOc3ZmEdkYILPA== dependencies: - "@pixi/filter-kawase-blur" "^2.7.0" + "@pixi/core" "^5.1.5" + "@pixi/display" "^5.1.3" + "@pixi/utils" "^5.1.3" -"@pixi/filter-kawase-blur@^2.7.0": - version "2.7.0" - resolved "https://npm.i12e.cha0s.io/@pixi%2ffilter-kawase-blur/-/filter-kawase-blur-2.7.0.tgz#8c0ff0b84f7c4fadf9721cb0909670a458d7e6c6" - integrity sha512-OVXCK4S4R7oxQVK1zfibuwfTbrDEsmT81vxo6avQ2l5dp4Lr9AMJX7mER1d7iPsVl2WP7CpG8Vhm3h1hAZRGYQ== +"@pixi/app@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2fapp/-/app-5.1.5.tgz#fefcb2efdb2959a6523150f1d99020ce6aac80b4" + integrity sha512-BxcNAulUXVkTpOqS5gjorO2d3+wksmBfn0VFGdiq7Elbv3v0s8wCwGOlOSMJoAjYSPXz8H8t3dw8NHxqxpI53A== + dependencies: + "@pixi/core" "^5.1.5" + "@pixi/display" "^5.1.3" + +"@pixi/constants@^5.1.0": + version "5.1.0" + resolved "https://npm.i12e.cha0s.io/@pixi%2fconstants/-/constants-5.1.0.tgz#663192a3d72cbbca1c40a94a7e1004fbf9ab664a" + integrity sha512-86cogDvjF9yNvmxeizwkIhA0Kl2z3gUSWMf2daYx903dzyje7fwkzRrKLnqDUn6vSAxRXiska0DMJhwYsIC29w== + +"@pixi/core@^5.0.0-X", "@pixi/core@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2fcore/-/core-5.1.5.tgz#4ae6d798fc587a9561c9053b02e520c0e4611302" + integrity sha512-pt7JTgRyGyOm1VNGhYqAjdIggQ5SjGpctLEBFwPlZDOTeEjJ85NADwCvN/E9ToIW7Gv/1urrNKsoVGlADcV6vw== + dependencies: + "@pixi/constants" "^5.1.0" + "@pixi/display" "^5.1.3" + "@pixi/math" "^5.1.0" + "@pixi/runner" "^5.1.1" + "@pixi/settings" "^5.1.3" + "@pixi/ticker" "^5.1.3" + "@pixi/utils" "^5.1.3" + +"@pixi/display@^5.1.3": + version "5.1.3" + resolved "https://npm.i12e.cha0s.io/@pixi%2fdisplay/-/display-5.1.3.tgz#da1f2337dda529aefb4d7d07e0452149daff1439" + integrity sha512-zQJfwH9tSilEfpajVJKM2bavIXBFMokscXyFIdokBSjLQL22mgEyR0mHZ3u6OECUa0PEVUA64eePv6KmPZ+bJQ== + dependencies: + "@pixi/math" "^5.1.0" + "@pixi/settings" "^5.1.3" + "@pixi/utils" "^5.1.3" + +"@pixi/extract@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2fextract/-/extract-5.1.5.tgz#cce1b8eadb6a5bee57035da62db5cd10558ac911" + integrity sha512-sn13RxtWpqZq05K9IJxF/00ddMsiDlpQAwEwA8fQIsMSbt6lBTm1fa0u/nZqQjRhJk72Q+41h4LXEhZEMMowAg== + dependencies: + "@pixi/core" "^5.1.5" + "@pixi/math" "^5.1.0" + "@pixi/utils" "^5.1.3" + +"@pixi/filter-advanced-bloom@3.0.3": + version "3.0.3" + resolved "https://npm.i12e.cha0s.io/@pixi%2ffilter-advanced-bloom/-/filter-advanced-bloom-3.0.3.tgz#8aa522a88c9db0fd89b765c942d29ed1d1c94f0b" + integrity sha512-+xKL0W65tKPuzzmuD9nuiDIs7z/Mv/o/VHGwwlyNtaVYVqDu0VDklfPurPZftCq0nSNR7kkDA1yyDFBunJ20Ew== + dependencies: + "@pixi/core" "^5.0.0-X" + "@pixi/filter-kawase-blur" "^3.0.3" + "@pixi/settings" "^5.0.0-X" + +"@pixi/filter-alpha@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2ffilter-alpha/-/filter-alpha-5.1.5.tgz#a6d089e6b0e113023263d814c73321fce47db040" + integrity sha512-Jb5e7lybvMOXjdTOEN883h2N5Qe5rLNdTmPxOoK43RR+LQMk8D/Iw3zWpQ1oIwpJFiUkgwn0CmO5YaK6STh34w== + dependencies: + "@pixi/core" "^5.1.5" + +"@pixi/filter-blur@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2ffilter-blur/-/filter-blur-5.1.5.tgz#6e3560434bbd19350ea1b00733c2215d0eb517c4" + integrity sha512-9eSJtg8kLwKrNnJmg2c1vlOcP0PYhvZdUk97D2+HrE0j1BZTJ2OxHb26UJSiMU0kBCUomtuFvCiNtFT2GCWbjg== + dependencies: + "@pixi/core" "^5.1.5" + "@pixi/settings" "^5.1.3" + +"@pixi/filter-color-matrix@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2ffilter-color-matrix/-/filter-color-matrix-5.1.5.tgz#c4b0f05345a35fda5887e3aa1f28b641db1e84a4" + integrity sha512-zhg8FE22WA7sH1mhvjjSaWav7BXFbU63usdh9pVNv2Hd7cuDtO9x8aLy+RqGozqENfYHzRUlTdKrNdl5QEbYMg== + dependencies: + "@pixi/core" "^5.1.5" + +"@pixi/filter-displacement@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2ffilter-displacement/-/filter-displacement-5.1.5.tgz#4db92fe7e3593fcc8ab1be3611dfdb0b8e620e5e" + integrity sha512-/ZzlTT+jFQTwg57jj6kl4lH+0Z3iwtp+tDXdYcusNDe44hZn9Wd+IzZkS/LCeay40cY4JPRrXznVwlZ6AiBsHQ== + dependencies: + "@pixi/core" "^5.1.5" + "@pixi/math" "^5.1.0" + +"@pixi/filter-fxaa@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2ffilter-fxaa/-/filter-fxaa-5.1.5.tgz#22115d26cf8a6469b87ef64d6af44d58a9026e83" + integrity sha512-Zg2pSBpb0pxJozWraNrHUC97C3gSjK+NSaMGBN6NpfaGcn+/xaZjFBwwYDeTpHAw6IDV+3Ln+z7D5h9pPEliKg== + dependencies: + "@pixi/core" "^5.1.5" + +"@pixi/filter-kawase-blur@^3.0.3": + version "3.0.3" + resolved "https://npm.i12e.cha0s.io/@pixi%2ffilter-kawase-blur/-/filter-kawase-blur-3.0.3.tgz#55b933264c8d79fc157f403013f6c1a4faca7915" + integrity sha512-a/37+3RI3/z+TJCi6EDdWgec/mePCEo8aNrnVVXACp6HCRfWl1OwWSiRUTjarnGtgz0qhWch7UzxKvkuHwjZag== + dependencies: + "@pixi/core" "^5.0.0-X" + "@pixi/math" "^5.0.0-X" + +"@pixi/filter-noise@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2ffilter-noise/-/filter-noise-5.1.5.tgz#f505e7eec3daa9b285efec31516b3314a9e740bf" + integrity sha512-/HGr9dxvBVc+qRJ/JU/6ZHz3BshnUwCTgEfQtxJmo2I6lqn9cWoiL4q+iKk9QkGmLtLNip77zc0KveYN01eh/g== + dependencies: + "@pixi/core" "^5.1.5" + +"@pixi/graphics@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2fgraphics/-/graphics-5.1.5.tgz#736aaf076ef5a89f7d32edc09ce99c6c909c162b" + integrity sha512-u9uq/6ylS5oRCsWaTi0uOCuAimAvaXJ57ATKT/nylHRXv+GfbPoMJAHpqTWx8HojK7P6PBUJCenPa0BFVcq9gg== + dependencies: + "@pixi/constants" "^5.1.0" + "@pixi/core" "^5.1.5" + "@pixi/display" "^5.1.3" + "@pixi/math" "^5.1.0" + "@pixi/sprite" "^5.1.5" + "@pixi/utils" "^5.1.3" + +"@pixi/interaction@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2finteraction/-/interaction-5.1.5.tgz#e2dfcccafcfb34aa0998752e81f67aa0176b4786" + integrity sha512-N8SONgHZZuDLPAL3LvfMTfgRsD6084KJA9VbwJ6Ujvm95NwSInNC2HRB6uXsSYTC4I1bMcRhot3CjZkB5BEURA== + dependencies: + "@pixi/core" "^5.1.5" + "@pixi/display" "^5.1.3" + "@pixi/math" "^5.1.0" + "@pixi/ticker" "^5.1.3" + "@pixi/utils" "^5.1.3" + +"@pixi/loaders@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2floaders/-/loaders-5.1.5.tgz#feaa96a1615f44ec82687fb5c1a5df257cfa89f5" + integrity sha512-jcuJMMGIr7/o8HKtVL9YzUTQQGk4K4uNQylUbhnNDFVuJcVzuBwD/TCWJ/+2Y879vBzipXdhCw7JLA4F8w6bkg== + dependencies: + "@pixi/core" "^5.1.5" + "@pixi/utils" "^5.1.3" + resource-loader "^3.0.1" + +"@pixi/math@^5.0.0-X", "@pixi/math@^5.1.0": + version "5.1.0" + resolved "https://npm.i12e.cha0s.io/@pixi%2fmath/-/math-5.1.0.tgz#7974cb98ec8d52a48825c8babd4d9a73dd47e8c5" + integrity sha512-Vf9W4SgYRRQMdSq8tFViKKKGCU3iklf0RDzd+wzp4gezOxe3m0PLB7XKwvVrP1hRjUh49zIAL9JBpYREPS1EMw== + +"@pixi/mesh-extras@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2fmesh-extras/-/mesh-extras-5.1.5.tgz#a1e681fd2076bc8e0e5f257bb9c7878a2fb7f765" + integrity sha512-aMjTD3kBf2h31ijYapapQOJIoQuO26i4pP7P4ux886FE8E48QSc3edXZzULq2Rc5ZdWMPUFYnd8AJ6F8dw/ocQ== + dependencies: + "@pixi/constants" "^5.1.0" + "@pixi/core" "^5.1.5" + "@pixi/math" "^5.1.0" + "@pixi/mesh" "^5.1.5" + "@pixi/utils" "^5.1.3" + +"@pixi/mesh@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2fmesh/-/mesh-5.1.5.tgz#230a75cab683b92e0d069abbdc06ab4affa1b19c" + integrity sha512-gWBwBkIV0Dj0nA+a/ymtv4oQOium3oiehKdhSynQZj9C+pwd3YUSJGjHWs4b+TIQxZm2RHEsSSw4gCw/Ih1cuw== + dependencies: + "@pixi/constants" "^5.1.0" + "@pixi/core" "^5.1.5" + "@pixi/display" "^5.1.3" + "@pixi/math" "^5.1.0" + "@pixi/settings" "^5.1.3" + "@pixi/utils" "^5.1.3" + +"@pixi/mixin-cache-as-bitmap@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2fmixin-cache-as-bitmap/-/mixin-cache-as-bitmap-5.1.5.tgz#50805524500a8e4ae9ab1139960875d60159a435" + integrity sha512-XRVTz5nOgj7wUFXXIixTlg+2oynNerebUwjkw11mnr+HNP3vMmt2O8ZtXEyij2VXNMuDmbYo8/O53FI+81CnAQ== + dependencies: + "@pixi/core" "^5.1.5" + "@pixi/display" "^5.1.3" + "@pixi/math" "^5.1.0" + "@pixi/settings" "^5.1.3" + "@pixi/sprite" "^5.1.5" + "@pixi/utils" "^5.1.3" + +"@pixi/mixin-get-child-by-name@^5.1.3": + version "5.1.3" + resolved "https://npm.i12e.cha0s.io/@pixi%2fmixin-get-child-by-name/-/mixin-get-child-by-name-5.1.3.tgz#e868a8ad8c6bf0202774ebf0e2214085e411303b" + integrity sha512-0nvNfcQAeND9iuzQr0AYCxINDaXQx5Kft8Fauu0T4LKbYAchO0qzuSpv7L+cD4LvKdvGQyxHHWP6u4wQ9yuKrg== + dependencies: + "@pixi/display" "^5.1.3" + +"@pixi/mixin-get-global-position@^5.1.3": + version "5.1.3" + resolved "https://npm.i12e.cha0s.io/@pixi%2fmixin-get-global-position/-/mixin-get-global-position-5.1.3.tgz#c0454389fe40b3097d8c0bd28116cf11fefd7abc" + integrity sha512-dgIUjjIDnI/wrNXt+ROWdv0syQeV5hlt/TJot/ULXw6HnBoDDmXqcKzIp38o3Ei6n2eQ0CUVbKYGd668tdk5EQ== + dependencies: + "@pixi/display" "^5.1.3" + "@pixi/math" "^5.1.0" + +"@pixi/particles@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2fparticles/-/particles-5.1.5.tgz#ff6500b587972ea0330fd74294d43b1dd5e6cd6a" + integrity sha512-eIYd1wKyuzBL/re3EuyhUjXNRe8fkqbUgpeevV2e7tIoFcyK3g3cT4E1ajTv+7IIAvj2505xRJ3dxcAxLDzd6g== + dependencies: + "@pixi/constants" "^5.1.0" + "@pixi/core" "^5.1.5" + "@pixi/display" "^5.1.3" + "@pixi/math" "^5.1.0" + "@pixi/utils" "^5.1.3" + +"@pixi/polyfill@^5.1.0": + version "5.1.0" + resolved "https://npm.i12e.cha0s.io/@pixi%2fpolyfill/-/polyfill-5.1.0.tgz#96bf2e13d348f482f82fd280da71b2b4e9c047a5" + integrity sha512-8M3nYCO0a599fsdLW7wv9SBYriMqS1QckKAkRuN2JualRuK/GjxZjm5Vcbcwc1gGONRUKZroH12CuPyTcU2HnQ== + dependencies: + es6-promise-polyfill "^1.2.0" + object-assign "^4.1.1" + +"@pixi/prepare@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2fprepare/-/prepare-5.1.5.tgz#403797ae9b9ae64b391d6d2000ac71ff392b591f" + integrity sha512-0Gq6whHFuLYy3uUVoVmRnVWMZU4Z0WSs7+BYGWrDqxlOqfuZ6ZS4SSEjzcUUvyCK8MWisEn7O3EnDRYFr+3K5g== + dependencies: + "@pixi/core" "^5.1.5" + "@pixi/display" "^5.1.3" + "@pixi/graphics" "^5.1.5" + "@pixi/settings" "^5.1.3" + "@pixi/text" "^5.1.5" + "@pixi/ticker" "^5.1.3" + +"@pixi/runner@^5.1.1": + version "5.1.1" + resolved "https://npm.i12e.cha0s.io/@pixi%2frunner/-/runner-5.1.1.tgz#dd6bb5e864851291bf96f94f394fbebb6f6368ec" + integrity sha512-cOkWsRZlEgOB4IuiUW0PvU0JDMNpNTtyLeECg4DwIDYW4uQ0033zaZFSsN0EOeX0TFkpBmaJsgEIwpmw32VU0w== + +"@pixi/settings@^5.0.0-X", "@pixi/settings@^5.1.3": + version "5.1.3" + resolved "https://npm.i12e.cha0s.io/@pixi%2fsettings/-/settings-5.1.3.tgz#c2358bd7df22c6119d6228491414feb8d41d0157" + integrity sha512-goYjVYuklNMFWFq54J7u4eYVe+qmLe6AQP+b+hF+Kskw7tSXrAVTHROqrEiqPqKSCL9umorOi6T/ZTXhk8i4Wg== + dependencies: + ismobilejs "^0.5.1" + +"@pixi/sprite-animated@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2fsprite-animated/-/sprite-animated-5.1.5.tgz#c26f02fdd73567a7676ba6877b09b687666fd8a1" + integrity sha512-jsxqmWpDpjy7BoqVFpPWNvIeJ6yePQ0/uTyvzhKZBM8ihZVFJMa1+C4IFQpQYUCp9rlZHG6og4UzAHlwceQb+A== + dependencies: + "@pixi/core" "^5.1.5" + "@pixi/sprite" "^5.1.5" + "@pixi/ticker" "^5.1.3" + +"@pixi/sprite-tiling@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2fsprite-tiling/-/sprite-tiling-5.1.5.tgz#ce111ca8d7cdaee73676f77011cf7b72d93e249a" + integrity sha512-9P0jyAA9I8hrDnN04rABxxs09Knb2AZr+Ky2yvWAUngumoMmIEbc/JtW9R8ich72uTBcl8Ax+bTz520wB36HpA== + dependencies: + "@pixi/constants" "^5.1.0" + "@pixi/core" "^5.1.5" + "@pixi/display" "^5.1.3" + "@pixi/math" "^5.1.0" + "@pixi/sprite" "^5.1.5" + "@pixi/utils" "^5.1.3" + +"@pixi/sprite@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2fsprite/-/sprite-5.1.5.tgz#7e642678fe6c03e8ceb9211760c6f7c38e5f45c0" + integrity sha512-a8M5P7xarbYMut3YKIb5I4hr94c0/VA18jV/eOhtyOKOsS5jkjul5WGssnIyR73aQp7iaNGWfh7FD+BiWCLzXQ== + dependencies: + "@pixi/constants" "^5.1.0" + "@pixi/core" "^5.1.5" + "@pixi/display" "^5.1.3" + "@pixi/math" "^5.1.0" + "@pixi/settings" "^5.1.3" + "@pixi/utils" "^5.1.3" + +"@pixi/spritesheet@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2fspritesheet/-/spritesheet-5.1.5.tgz#8ac3d09baf5349a9e2bc126984701d86dcbec03d" + integrity sha512-kZBiI/eYRKoNxOTI9h4tl13oGdCaFkH/cOI0MZ0st0Dos6clB5OJStJ19bEe/Ik1Yt7NxGCCuFLLa3WKhQ5idQ== + dependencies: + "@pixi/core" "^5.1.5" + "@pixi/loaders" "^5.1.5" + "@pixi/math" "^5.1.0" + "@pixi/utils" "^5.1.3" + +"@pixi/text-bitmap@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2ftext-bitmap/-/text-bitmap-5.1.5.tgz#5265eb54939442003fe59dfd281fa21cd0c79761" + integrity sha512-Qvnq35MdDWjW9JwJsLcVpnTX4ApW52zLMeMezuTtN+QrfsXmYXRE+SOeBERccbGmyxcM2yIKIItiqS2eFvlzRw== + dependencies: + "@pixi/core" "^5.1.5" + "@pixi/display" "^5.1.3" + "@pixi/loaders" "^5.1.5" + "@pixi/math" "^5.1.0" + "@pixi/settings" "^5.1.3" + "@pixi/sprite" "^5.1.5" + "@pixi/utils" "^5.1.3" + +"@pixi/text@^5.1.5": + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/@pixi%2ftext/-/text-5.1.5.tgz#cc60943ead035ff851b415e76696df518e62db36" + integrity sha512-8pKWuyccdWrZgvssyPUrOdn7CMeetRTpM8W51KYwU8gla6tnddMj3TaBW56dXRdtddadDc2KdGtDYPOuonHOfA== + dependencies: + "@pixi/core" "^5.1.5" + "@pixi/math" "^5.1.0" + "@pixi/settings" "^5.1.3" + "@pixi/sprite" "^5.1.5" + "@pixi/utils" "^5.1.3" + +"@pixi/ticker@^5.1.3": + version "5.1.3" + resolved "https://npm.i12e.cha0s.io/@pixi%2fticker/-/ticker-5.1.3.tgz#76369ac05022de1765398b62a1275cd6012e038d" + integrity sha512-IuJTMTfdboR6049b+HnSClGj7Lz5gObVoxuMc3flY493XAvrQk4XrBo57QDlVOdjVBiDW0gZ9DlUr1lwNFI7zQ== + dependencies: + "@pixi/settings" "^5.1.3" + +"@pixi/utils@^5.1.3": + version "5.1.3" + resolved "https://npm.i12e.cha0s.io/@pixi%2futils/-/utils-5.1.3.tgz#d5e38dabe626d3d285f92353aa29a96a727b82de" + integrity sha512-w2ULIc97p1tnAZ7L0aSClDeIpuCYrauOKbnWYG8C8zTVfHWFKAHVamvzYnVaeXw4CN9jwERK/JYY/y2VFZXHuw== + dependencies: + "@pixi/constants" "^5.1.0" + "@pixi/settings" "^5.1.3" + earcut "^2.1.5" + eventemitter3 "^3.1.0" + url "^0.11.0" "@webassemblyjs/ast@1.8.5": version "1.8.5" @@ -1348,11 +1665,6 @@ binary-extensions@^1.0.0: resolved "https://npm.i12e.cha0s.io/binary-extensions/-/binary-extensions-1.13.1.tgz#598afe54755b2868a5330d2aff9d4ebb53209b65" integrity sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw== -bit-twiddle@^1.0.2: - version "1.0.2" - resolved "https://npm.i12e.cha0s.io/bit-twiddle/-/bit-twiddle-1.0.2.tgz#0c6c1fabe2b23d17173d9a61b7b7093eb9e1769e" - integrity sha1-DGwfq+KyPRcXPZpht7cJPrnhdp4= - blob@0.0.5: version "0.0.5" resolved "https://npm.i12e.cha0s.io/blob/-/blob-0.0.5.tgz#d680eeef25f8cd91ad533f5b01eed48e64caf683" @@ -2429,10 +2741,10 @@ duplexify@^3.4.2, duplexify@^3.6.0: readable-stream "^2.0.0" stream-shift "^1.0.0" -earcut@^2.1.4: - version "2.1.5" - resolved "https://npm.i12e.cha0s.io/earcut/-/earcut-2.1.5.tgz#829280a9a3a0f5fee0529f0a47c3e4eff09b21e4" - integrity sha512-QFWC7ywTVLtvRAJTVp8ugsuuGQ5mVqNmJ1cRYeLrSHgP3nycr2RHTJob9OtM0v8ujuoKN0NY1a93J/omeTL1PA== +earcut@^2.1.5: + version "2.2.1" + resolved "https://npm.i12e.cha0s.io/earcut/-/earcut-2.2.1.tgz#3bae0b1b6fec41853b56b126f03a42a34b28f1d5" + integrity sha512-5jIMi2RB3HtGPHcYd9Yyl0cczo84y+48lgKPxMijliNQaKAHEZJbdzLmKmdxG/mCdS/YD9DQ1gihL8mxzR0F9w== ecc-jsbn@~0.1.1: version "0.1.2" @@ -2576,6 +2888,11 @@ es-to-primitive@^1.2.0: is-date-object "^1.0.1" is-symbol "^1.0.2" +es6-promise-polyfill@^1.2.0: + version "1.2.0" + resolved "https://npm.i12e.cha0s.io/es6-promise-polyfill/-/es6-promise-polyfill-1.2.0.tgz#f38925f23cb3e3e8ce6cda8ff774fcebbb090cde" + integrity sha1-84kl8jyz4+jObNqP93T867sJDN4= + escape-html@~1.0.3: version "1.0.3" resolved "https://npm.i12e.cha0s.io/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" @@ -2626,12 +2943,7 @@ event-lite@^0.1.1: resolved "https://npm.i12e.cha0s.io/event-lite/-/event-lite-0.1.2.tgz#838a3e0fdddef8cc90f128006c8e55a4e4e4c11b" integrity sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g== -eventemitter3@^2.0.0: - version "2.0.3" - resolved "https://npm.i12e.cha0s.io/eventemitter3/-/eventemitter3-2.0.3.tgz#b5e1079b59fb5e1ba2771c0a993be060a58c99ba" - integrity sha1-teEHm1n7XhuidxwKmTvgYKWMmbo= - -eventemitter3@^3.0.0: +eventemitter3@^3.0.0, eventemitter3@^3.1.0: version "3.1.2" resolved "https://npm.i12e.cha0s.io/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7" integrity sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q== @@ -4284,7 +4596,7 @@ min-document@^2.19.0: dependencies: dom-walk "^0.1.0" -mini-signals@^1.1.1: +mini-signals@^1.2.0: version "1.2.0" resolved "https://npm.i12e.cha0s.io/mini-signals/-/mini-signals-1.2.0.tgz#45b08013c5fae51a24aa1a935cd317c9ed721d74" integrity sha1-RbCAE8X65RokqhqTXNMXye1yHXQ= @@ -5065,24 +5377,45 @@ pinkie@^2.0.0: resolved "https://npm.i12e.cha0s.io/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" integrity sha1-clVrgM+g1IqXToDnckjoDtT3+HA= -pixi-gl-core@^1.1.4: - version "1.1.4" - resolved "https://npm.i12e.cha0s.io/pixi-gl-core/-/pixi-gl-core-1.1.4.tgz#8b4b5c433b31e419bc379dc565ce1b835a91b372" - integrity sha1-i0tcQzsx5Bm8N53FZc4bg1qRs3I= - -pixi.js@4.8.6: - version "4.8.6" - resolved "https://npm.i12e.cha0s.io/pixi.js/-/pixi.js-4.8.6.tgz#de15053a17674133a48fd3fe0138a4019a2f7bf1" - integrity sha512-+p6njU8rPfCN+e/KVYYQlbA8smKSauWfoBeqCskZmax9FqYYLyQwMsXnF8f6h/++xSbrIe5LxgxX7Wl8jHVvkQ== +pixi.js@5.1.5: + version "5.1.5" + resolved "https://npm.i12e.cha0s.io/pixi.js/-/pixi.js-5.1.5.tgz#96e8140652c8f53d5adde9d679d5a8f8a0ef626f" + integrity sha512-VUvM/eoOahQV1wx+wEOM7/Xw+XXdbwP3qGaANZKeJAyVvOa4ZcsSTyWHV9bAITOJFyoLhJ/h7h2QCNtvv1s/WA== dependencies: - bit-twiddle "^1.0.2" - earcut "^2.1.4" - eventemitter3 "^2.0.0" - ismobilejs "^0.5.1" - object-assign "^4.0.1" - pixi-gl-core "^1.1.4" - remove-array-items "^1.0.0" - resource-loader "^2.2.3" + "@pixi/accessibility" "^5.1.5" + "@pixi/app" "^5.1.5" + "@pixi/constants" "^5.1.0" + "@pixi/core" "^5.1.5" + "@pixi/display" "^5.1.3" + "@pixi/extract" "^5.1.5" + "@pixi/filter-alpha" "^5.1.5" + "@pixi/filter-blur" "^5.1.5" + "@pixi/filter-color-matrix" "^5.1.5" + "@pixi/filter-displacement" "^5.1.5" + "@pixi/filter-fxaa" "^5.1.5" + "@pixi/filter-noise" "^5.1.5" + "@pixi/graphics" "^5.1.5" + "@pixi/interaction" "^5.1.5" + "@pixi/loaders" "^5.1.5" + "@pixi/math" "^5.1.0" + "@pixi/mesh" "^5.1.5" + "@pixi/mesh-extras" "^5.1.5" + "@pixi/mixin-cache-as-bitmap" "^5.1.5" + "@pixi/mixin-get-child-by-name" "^5.1.3" + "@pixi/mixin-get-global-position" "^5.1.3" + "@pixi/particles" "^5.1.5" + "@pixi/polyfill" "^5.1.0" + "@pixi/prepare" "^5.1.5" + "@pixi/runner" "^5.1.1" + "@pixi/settings" "^5.1.3" + "@pixi/sprite" "^5.1.5" + "@pixi/sprite-animated" "^5.1.5" + "@pixi/sprite-tiling" "^5.1.5" + "@pixi/spritesheet" "^5.1.5" + "@pixi/text" "^5.1.5" + "@pixi/text-bitmap" "^5.1.5" + "@pixi/ticker" "^5.1.3" + "@pixi/utils" "^5.1.3" pkg-dir@^3.0.0: version "3.0.0" @@ -5247,6 +5580,11 @@ prop-types@^15.6.1, prop-types@^15.6.2: object-assign "^4.1.1" react-is "^16.8.1" +proton-js@3.1.2: + version "3.1.2" + resolved "https://npm.i12e.cha0s.io/proton-js/-/proton-js-3.1.2.tgz#dd78740ee9584b951da9b4feeb38b43f063e85b4" + integrity sha512-080ghT1uT9ntPUFo3upt4x2rHIY5FAaluzYgcHikz6dno97CgLSvJbfGpvap+4jCT6yxl4itXEr/9TTKZvA7hA== + proxy-addr@~2.0.5: version "2.0.5" resolved "https://npm.i12e.cha0s.io/proxy-addr/-/proxy-addr-2.0.5.tgz#34cbd64a2d81f4b1fd21e76f9f06c8a45299ee34" @@ -5575,11 +5913,6 @@ relateurl@0.2.x: resolved "https://npm.i12e.cha0s.io/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9" integrity sha1-VNvzd+UUQKypCkzSdGANP/LYiKk= -remove-array-items@^1.0.0: - version "1.1.1" - resolved "https://npm.i12e.cha0s.io/remove-array-items/-/remove-array-items-1.1.1.tgz#fd745ff73d0822e561ea910bf1b401fc7843e693" - integrity sha512-MXW/jtHyl5F1PZI7NbpS8SOtympdLuF20aoWJT5lELR1p/HJDd5nqW8Eu9uLh/hCRY3FgvrIT5AwDCgBODklcA== - remove-trailing-separator@^1.0.1: version "1.1.0" resolved "https://npm.i12e.cha0s.io/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" @@ -5693,12 +6026,12 @@ resolve@^1.3.2: dependencies: path-parse "^1.0.6" -resource-loader@^2.2.3: - version "2.2.4" - resolved "https://npm.i12e.cha0s.io/resource-loader/-/resource-loader-2.2.4.tgz#9bf43dba59475d56be29c796399211ce0e96fd2d" - integrity sha512-MrY0bEJN26us3h4bzJUSP0n4tFEb79lCpYBavtLjSezWCcXZMgxhSgvC9LxueuqpcxG+qPjhwFu5SQAcUNacdA== +resource-loader@^3.0.1: + version "3.0.1" + resolved "https://npm.i12e.cha0s.io/resource-loader/-/resource-loader-3.0.1.tgz#33355bb5421e2994f59454bbc7f6dbff8df06d47" + integrity sha512-fBuCRbEHdLCI1eglzQhUv9Rrdcmqkydr1r6uHE2cYHvRBrcLXeSmbE/qI/urFt8rPr/IGxir3BUwM5kUK8XoyA== dependencies: - mini-signals "^1.1.1" + mini-signals "^1.2.0" parse-uri "^1.0.0" ret@~0.1.10: @@ -6455,11 +6788,6 @@ terser@^4.0.0: source-map "~0.6.1" source-map-support "~0.5.10" -three.proton.js@0.1.5: - version "0.1.5" - resolved "https://npm.i12e.cha0s.io/three.proton.js/-/three.proton.js-0.1.5.tgz#3ae32fd9cf3b5698e3b546946e53badbda04948e" - integrity sha512-6RlDLJMzJWOWeMaBuEYIgLDeC/Tuqih4zCQ5gi5JZMR2T0N9Hebpreo+6O7eeuj3yIwRX/VnLmTgWHd92p0eQA== - three@0.103.0: version "0.103.0" resolved "https://npm.i12e.cha0s.io/three/-/three-0.103.0.tgz#63b3dbccc861caad93269618061a73dadebae71b"