@mirasen/chessboard 1.5.0 → 1.5.2
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/CHANGELOG.md +18 -0
- package/dist/runtime/lifecycle.js +2 -2
- package/package.json +21 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @mirasen/chessboard
|
|
2
2
|
|
|
3
|
+
## 1.5.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- bb9e1af: Fix extension event listener cleanup by unmounting extensions before destroying the input adapter.
|
|
8
|
+
- fa5f9d7: dependabot: dependency updates for PR #139
|
|
9
|
+
- 68eee00: dependabot: dependency updates for PR #141
|
|
10
|
+
- 530f01c: dependabot: dependency updates for PR #144
|
|
11
|
+
- 6e8859c: dependabot: dependency updates for PR #145
|
|
12
|
+
|
|
13
|
+
## 1.5.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 389a732: chore: update deps
|
|
18
|
+
- 0dfb7a3: dependabot: dependency updates for PR #137
|
|
19
|
+
- a95ffa0: dependabot: dependency updates for PR #138
|
|
20
|
+
|
|
3
21
|
## 1.5.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
@@ -32,13 +32,13 @@ export function runtimeMount(state, container) {
|
|
|
32
32
|
export function runtimeUnmount(state) {
|
|
33
33
|
runtimeValidateIsMounted(state);
|
|
34
34
|
assert(state.inputAdapter !== null, 'Input adapter should be initialized when mounted');
|
|
35
|
-
state.inputAdapter.destroy();
|
|
36
|
-
state.inputAdapter = null;
|
|
37
35
|
if (state.resizeObserver) {
|
|
38
36
|
state.resizeObserver.disconnect();
|
|
39
37
|
state.resizeObserver = null;
|
|
40
38
|
}
|
|
41
39
|
state.renderSystem.unmount();
|
|
40
|
+
state.inputAdapter.destroy();
|
|
41
|
+
state.inputAdapter = null;
|
|
42
42
|
state.extensionSystem.onUnmount();
|
|
43
43
|
}
|
|
44
44
|
export function runtimeDestroy(state) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirasen/chessboard",
|
|
3
3
|
"description": "Production-grade framework-agnostic TypeScript chessboard platform with real chess interaction built in.",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Mirasen"
|
|
@@ -82,31 +82,31 @@
|
|
|
82
82
|
"!benchmarks"
|
|
83
83
|
],
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@changesets/cli": "^3.0.
|
|
86
|
-
"@eslint/compat": "^2.
|
|
85
|
+
"@changesets/cli": "^3.0.3",
|
|
86
|
+
"@eslint/compat": "^2.1.1",
|
|
87
87
|
"@eslint/js": "^10.0.1",
|
|
88
|
-
"@types/node": "^26.
|
|
89
|
-
"@vitest/coverage-v8": "^
|
|
88
|
+
"@types/node": "^26.6.5",
|
|
89
|
+
"@vitest/coverage-v8": "^5.0.5",
|
|
90
90
|
"chess.js": "^1.4.0",
|
|
91
|
-
"eslint": "^10.0
|
|
92
|
-
"eslint-config-prettier": "^10.1.
|
|
93
|
-
"globals": "^17.
|
|
94
|
-
"jsdom": "^30.
|
|
95
|
-
"prettier": "^3.
|
|
96
|
-
"publint": "^0.3.
|
|
97
|
-
"rimraf": "^6.
|
|
91
|
+
"eslint": "^10.13.0",
|
|
92
|
+
"eslint-config-prettier": "^10.1.8",
|
|
93
|
+
"globals": "^17.13.0",
|
|
94
|
+
"jsdom": "^30.1.3",
|
|
95
|
+
"prettier": "^3.9.10",
|
|
96
|
+
"publint": "^0.3.25",
|
|
97
|
+
"rimraf": "^6.1.3",
|
|
98
98
|
"serve": "^14.2.6",
|
|
99
99
|
"typescript": "^6.0.3",
|
|
100
|
-
"typescript-eslint": "^8.
|
|
101
|
-
"vitest": "^
|
|
100
|
+
"typescript-eslint": "^8.72.0",
|
|
101
|
+
"vitest": "^5.0.0"
|
|
102
102
|
},
|
|
103
103
|
"engines": {
|
|
104
|
-
"node": ">=
|
|
104
|
+
"node": ">=22"
|
|
105
105
|
},
|
|
106
106
|
"dependencies": {
|
|
107
|
-
"@ktarmyshov/assert": "^0.1.
|
|
108
|
-
"es-toolkit": "^1.
|
|
109
|
-
"type-fest": "^5.
|
|
107
|
+
"@ktarmyshov/assert": "^0.1.15",
|
|
108
|
+
"es-toolkit": "^1.52.0",
|
|
109
|
+
"type-fest": "^5.10.0"
|
|
110
110
|
},
|
|
111
111
|
"peerDependencies": {
|
|
112
112
|
"chess.js": "^1.4.0"
|
|
@@ -115,5 +115,8 @@
|
|
|
115
115
|
"chess.js": {
|
|
116
116
|
"optional": true
|
|
117
117
|
}
|
|
118
|
+
},
|
|
119
|
+
"allowScripts": {
|
|
120
|
+
"fsevents": true
|
|
118
121
|
}
|
|
119
122
|
}
|