@next2d/player 1.16.0 → 1.17.0

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.
Files changed (2) hide show
  1. package/index.js +2 -15
  2. package/package.json +27 -26
package/index.js CHANGED
@@ -1,37 +1,24 @@
1
1
  "use strict";
2
- import { $currentPlayer, $initialize, $isSafari, $rendererWorker } from "@next2d/util";
2
+ import { $currentPlayer, $initialize } from "@next2d/util";
3
3
  import { Next2D } from "@next2d/core";
4
4
  if (!("next2d" in window)) {
5
- console.log("%c Next2D Player %c 1.16.0 %c https://next2d.app", "color: #fff; background: #5f5f5f", "color: #fff; background: #4bc729", "");
5
+ console.log("%c Next2D Player %c 1.17.0 %c https://next2d.app", "color: #fff; background: #5f5f5f", "color: #fff; background: #4bc729", "");
6
6
  window.next2d = new Next2D([new Promise((resolve) => {
7
7
  if (document.readyState === "loading") {
8
8
  const initialize = () => {
9
9
  window.removeEventListener("DOMContentLoaded", initialize);
10
10
  $initialize()
11
11
  .then(() => {
12
- if ($rendererWorker) {
13
- $rendererWorker.postMessage({
14
- "command": "setSafari",
15
- "isSafari": $isSafari
16
- });
17
- }
18
12
  $currentPlayer()
19
13
  ._$initializeCanvas();
20
14
  resolve();
21
15
  });
22
16
  };
23
- // @ts-ignore
24
17
  window.addEventListener("DOMContentLoaded", initialize);
25
18
  }
26
19
  else {
27
20
  $initialize()
28
21
  .then(() => {
29
- if ($rendererWorker) {
30
- $rendererWorker.postMessage({
31
- "command": "setSafari",
32
- "isSafari": $isSafari
33
- });
34
- }
35
22
  $currentPlayer()
36
23
  ._$initializeCanvas();
37
24
  resolve();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next2d/player",
3
- "version": "1.16.0",
3
+ "version": "1.17.0",
4
4
  "description": "Experience the fast and beautiful anti-aliased rendering of WebGL. You can create rich, interactive graphics, cross-platform applications and games without worrying about browser or device compatibility.",
5
5
  "author": "Toshiyuki Ienaga<ienaga@tvon.jp> (https://github.com/ienaga/)",
6
6
  "license": "MIT",
@@ -32,38 +32,39 @@
32
32
  "url": "https://github.com/sponsors/Next2D"
33
33
  },
34
34
  "dependencies": {
35
- "@next2d/core": "1.16.0",
36
- "@next2d/display": "1.16.0",
37
- "@next2d/events": "1.16.0",
38
- "@next2d/filters": "1.16.0",
39
- "@next2d/geom": "1.16.0",
40
- "@next2d/interface": "1.16.0",
41
- "@next2d/media": "1.16.0",
42
- "@next2d/net": "1.16.0",
43
- "@next2d/share": "1.16.0",
44
- "@next2d/text": "1.16.0",
45
- "@next2d/ui": "1.16.0",
46
- "@next2d/util": "1.16.0",
47
- "@next2d/webgl": "1.16.0"
35
+ "@next2d/core": "1.17.0",
36
+ "@next2d/display": "1.17.0",
37
+ "@next2d/events": "1.17.0",
38
+ "@next2d/filters": "1.17.0",
39
+ "@next2d/geom": "1.17.0",
40
+ "@next2d/interface": "1.17.0",
41
+ "@next2d/media": "1.17.0",
42
+ "@next2d/net": "1.17.0",
43
+ "@next2d/share": "1.17.0",
44
+ "@next2d/text": "1.17.0",
45
+ "@next2d/ui": "1.17.0",
46
+ "@next2d/util": "1.17.0",
47
+ "@next2d/webgl": "1.17.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@babel/core": "^7.22.5",
51
- "@babel/plugin-transform-modules-commonjs": "^7.22.5",
52
- "@babel/preset-env": "^7.22.5",
50
+ "@babel/core": "^7.22.11",
51
+ "@babel/plugin-transform-modules-commonjs": "^7.22.11",
52
+ "@babel/preset-env": "^7.22.10",
53
53
  "@next2d/jsdoc-template": "^1.0.7",
54
- "@types/jest": "^29.5.2",
55
- "@typescript-eslint/eslint-plugin": "^5.60.0",
56
- "@typescript-eslint/parser": "^5.60.0",
57
- "eslint": "^8.43.0",
54
+ "@types/jest": "^29.5.4",
55
+ "@typescript-eslint/eslint-plugin": "^6.4.1",
56
+ "@typescript-eslint/parser": "^6.4.1",
57
+ "eslint": "^8.48.0",
58
58
  "eslint-webpack-plugin": "^4.0.1",
59
59
  "fflate": "^0.8.0",
60
- "jest": "^29.5.0",
60
+ "htmlparser2": "^9.0.0",
61
+ "jest": "^29.6.4",
61
62
  "jsdoc": "^4.0.2",
62
- "ts-jest": "^29.1.0",
63
- "ts-loader": "^9.4.3",
63
+ "ts-jest": "^29.1.1",
64
+ "ts-loader": "^9.4.4",
64
65
  "ts-node": "^10.9.1",
65
- "typescript": "^5.1.3",
66
- "webpack": "^5.88.0",
66
+ "typescript": "^5.2.2",
67
+ "webpack": "^5.88.2",
67
68
  "webpack-cli": "^5.1.4",
68
69
  "webpack-dev-server": "^4.15.1"
69
70
  }