@matfsw/docusaurus-plantuml-plugin 1.1.1 → 1.1.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +32 -1
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -7,6 +7,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.1.2]
11
+
12
+ ### Fixed
13
+
14
+ - De-flaked the zoom test suite. `data-plantuml-status="ready"` is written during the render
15
+ commit, but `useZoomPan` attaches its listeners and writes the initial transform from
16
+ *passive* effects that React flushes afterwards. The shared `renderReady()` helper returned on
17
+ the attribute alone, so a test could act on the viewport in between — a dispatched wheel event
18
+ found no listener, and a zoom set before the reset effect ran was immediately overwritten.
19
+ Both surfaced on CI as a scale stuck at 1, and one of them failed the `1.1.1` release build.
20
+ The helper now also waits for the hook's inline transform, which only the hook ever writes.
21
+
22
+ ### Changed
23
+
24
+ - Development dependencies: `vitest` and `@vitest/coverage-v8` `3` → `4`, and
25
+ `@testing-library/jest-dom` `6` → `7`. No product code changed; all 433 tests and the
26
+ coverage report pass unchanged.
27
+
28
+ - `.github/dependabot.yml` now ignores the majors that are blocked upstream rather than merely
29
+ unreviewed, each with the reason and the condition for revisiting. Left un-ignored they
30
+ produced a grouped pull request that could never go green, which hid the updates that *were*
31
+ takeable:
32
+ - **TypeScript 7** — typescript-eslint refuses to run against it
33
+ ([typescript-eslint#10940](https://github.com/typescript-eslint/typescript-eslint/issues/10940)).
34
+ - **ESLint 10** — `eslint-plugin-react@7.37.5`, the latest release, still caps its peer range
35
+ at `^9.7`.
36
+ - **eslint-plugin-react-hooks 7** — its React Compiler rules flag 15 places in `useZoomPan`
37
+ that are the deliberate design recorded in
38
+ [ADR 0003](docs/adr/0003-zoom-container-transform.md).
39
+
10
40
  ## [1.1.1]
11
41
 
12
42
  ### Security
@@ -217,7 +247,8 @@ Initial release.
217
247
  opt-out.
218
248
  - Plugin option validation that rejects unknown keys and out-of-range values at build time.
219
249
 
220
- [Unreleased]: https://github.com/matf/docusaurus-plantuml-plugin/compare/v1.1.1...HEAD
250
+ [Unreleased]: https://github.com/matf/docusaurus-plantuml-plugin/compare/v1.1.2...HEAD
251
+ [1.1.2]: https://github.com/matf/docusaurus-plantuml-plugin/compare/v1.1.1...v1.1.2
221
252
  [1.1.1]: https://github.com/matf/docusaurus-plantuml-plugin/compare/v1.1.0...v1.1.1
222
253
  [1.1.0]: https://github.com/matf/docusaurus-plantuml-plugin/compare/v1.0.3...v1.1.0
223
254
  [1.0.3]: https://github.com/matf/docusaurus-plantuml-plugin/compare/v1.0.2...v1.0.3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matfsw/docusaurus-plantuml-plugin",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Render PlantUML diagrams in Docusaurus 3 entirely in the browser - no Java, no PlantUML server, no CDN.",
5
5
  "keywords": [
6
6
  "docusaurus",
@@ -85,17 +85,17 @@
85
85
  "@docusaurus/theme-classic": "^3.9.2",
86
86
  "@docusaurus/tsconfig": "^3.9.2",
87
87
  "@docusaurus/types": "^3.9.2",
88
- "@eslint/js": "^9.39.1",
88
+ "@eslint/js": "^9.39.5",
89
89
  "@playwright/test": "^1.57.0",
90
90
  "@testing-library/dom": "^10.4.1",
91
- "@testing-library/jest-dom": "^6.9.1",
91
+ "@testing-library/jest-dom": "^7.0.0",
92
92
  "@testing-library/react": "^16.3.0",
93
93
  "@testing-library/user-event": "^14.6.1",
94
94
  "@types/node": "^26.1.2",
95
95
  "@types/react": "^19.2.18",
96
96
  "@types/react-dom": "^19.2.4",
97
- "@vitest/coverage-v8": "^3.2.4",
98
- "eslint": "^9.39.1",
97
+ "@vitest/coverage-v8": "^4.1.10",
98
+ "eslint": "^9.39.5",
99
99
  "eslint-config-prettier": "^10.1.8",
100
100
  "eslint-plugin-react": "^7.37.5",
101
101
  "eslint-plugin-react-hooks": "^5.2.0",
@@ -107,7 +107,7 @@
107
107
  "tsup": "^8.5.0",
108
108
  "typescript": "~5.9.3",
109
109
  "typescript-eslint": "^8.46.4",
110
- "vitest": "^3.2.4"
110
+ "vitest": "^4.1.10"
111
111
  },
112
112
  "overrides": {
113
113
  "serialize-javascript": "^7.0.7",