@r74tech/docusaurus-plugin-panzoom 2.4.0 → 2.4.4

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 CHANGED
@@ -1,3 +1,32 @@
1
+ ## [2.4.4](https://github.com/r74tech/docusaurus-plugin-panzoom/compare/v2.4.3...v2.4.4) (2026-09-10)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **ci:** 公開時にOIDC対応のnpmを使用 ([#38](https://github.com/r74tech/docusaurus-plugin-panzoom/issues/38)) ([e289c30](https://github.com/r74tech/docusaurus-plugin-panzoom/commit/e289c301822c45e0777e66760008c466d75dfab0))
7
+
8
+ ## [2.4.3](https://github.com/r74tech/docusaurus-plugin-panzoom/compare/v2.4.2...v2.4.3) (2026-09-10)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **docs:** ドキュメントビルドのwebpack互換性を修正 ([2eb13b9](https://github.com/r74tech/docusaurus-plugin-panzoom/commit/2eb13b994e2d4db3a4e48966f6f25c166349d2ae))
14
+
15
+ ## [2.4.2](https://github.com/r74tech/docusaurus-plugin-panzoom/compare/v2.4.1...v2.4.2) (2026-02-08)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * npm CLIを最新版に更新(OIDC trusted publishing対応) ([93e241b](https://github.com/r74tech/docusaurus-plugin-panzoom/commit/93e241b8113ce187ac6ec5f4ccf196844b2ac1b5))
21
+
22
+ ## [2.4.1](https://github.com/r74tech/docusaurus-plugin-panzoom/compare/v2.4.0...v2.4.1) (2026-02-08)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * CIのNode.jsバージョンを22に更新 ([21d9a57](https://github.com/r74tech/docusaurus-plugin-panzoom/commit/21d9a57a26716a4e07e994fbbbdb74e2044d0e08))
28
+ * OIDC trusted publishingの設定を修正 ([31764e1](https://github.com/r74tech/docusaurus-plugin-panzoom/commit/31764e10638d9b89715cadf173ba90f7f18d50c2))
29
+
1
30
  # [2.4.0](https://github.com/r74tech/docusaurus-plugin-panzoom/compare/v2.3.0...v2.4.0) (2025-07-19)
2
31
 
3
32
 
package/dist/PanZoom.js CHANGED
@@ -9,6 +9,7 @@ const zoom_in_1 = __importDefault(require("./img/zoom-in"));
9
9
  const zoom_out_1 = __importDefault(require("./img/zoom-out"));
10
10
  const zoom_reset_1 = __importDefault(require("./img/zoom-reset"));
11
11
  require("./styles/panzoom.css");
12
+ // eslint-disable-next-line @typescript-eslint/no-require-imports
12
13
  const config = require('@generated/docusaurus.config').default;
13
14
  const { themeConfig } = config;
14
15
  const { zoom } = themeConfig;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.validatedThemeConfig = exports.PanZoomPlugin = void 0;
3
+ exports.PanZoomPlugin = void 0;
4
+ exports.validatedThemeConfig = validatedThemeConfig;
4
5
  const utils_validation_1 = require("@docusaurus/utils-validation");
5
6
  const PanzoomPluginOptions_1 = require("./PanzoomPluginOptions");
6
7
  const path_1 = require("path");
@@ -10,7 +11,7 @@ const path_1 = require("path");
10
11
  * @param options
11
12
  * @returns
12
13
  */
13
- const PanZoomPlugin = (context, options) => {
14
+ const PanZoomPlugin = (_context, _options) => {
14
15
  return {
15
16
  name: 'docusaurus-plugin-panzoom',
16
17
  getClientModules() {
@@ -47,4 +48,3 @@ function validatedThemeConfig(data) {
47
48
  const validated = validate(panZoomValidator, themeConfig);
48
49
  return validated;
49
50
  }
50
- exports.validatedThemeConfig = validatedThemeConfig;
@@ -7,4 +7,4 @@ var PanZoomPluginToolbarPosition;
7
7
  PanZoomPluginToolbarPosition["TopLeft"] = "top-left";
8
8
  PanZoomPluginToolbarPosition["BottomRight"] = "bottom-right";
9
9
  PanZoomPluginToolbarPosition["BottomLeft"] = "bottom-left";
10
- })(PanZoomPluginToolbarPosition = exports.PanZoomPluginToolbarPosition || (exports.PanZoomPluginToolbarPosition = {}));
10
+ })(PanZoomPluginToolbarPosition || (exports.PanZoomPluginToolbarPosition = PanZoomPluginToolbarPosition = {}));
package/eslint.config.mjs CHANGED
@@ -6,7 +6,7 @@ import prettierPlugin from 'eslint-plugin-prettier';
6
6
 
7
7
  export default [
8
8
  {
9
- files: ['src/**/*.{ts,css}'],
9
+ files: ['src/**/*.ts'],
10
10
  ignores: ['**/dist/**', '**/node_modules/**'],
11
11
  languageOptions: {
12
12
  ecmaVersion: 2020,
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@r74tech/docusaurus-plugin-panzoom",
3
- "version": "2.4.0",
3
+ "version": "2.4.4",
4
+ "packageManager": "pnpm@11.24.0",
4
5
  "description": "A plugin to enable the panzoom component on SVG and other elements",
5
6
  "main": "dist/index.js",
6
7
  "types": "dist/index.d.ts",
@@ -10,7 +11,8 @@
10
11
  "PanZoom"
11
12
  ],
12
13
  "publishConfig": {
13
- "access": "public"
14
+ "access": "public",
15
+ "provenance": true
14
16
  },
15
17
  "author": "r74tech",
16
18
  "license": "MIT",
@@ -23,34 +25,34 @@
23
25
  "format": "prettier --write --no-error-on-unmatched-pattern 'src/**/*.{ts,css}' --config ./.prettierrc"
24
26
  },
25
27
  "dependencies": {
26
- "@docusaurus/utils-validation": "^3.7.0",
27
- "@panzoom/panzoom": "^4.6.0"
28
+ "@docusaurus/utils-validation": "^3.10.2",
29
+ "@panzoom/panzoom": "^4.6.2"
28
30
  },
29
31
  "devDependencies": {
30
- "@docusaurus/types": "^3.7.0",
31
- "@eslint/compat": "^1.2.3",
32
- "@eslint/js": "^9.14.0",
32
+ "@docusaurus/types": "^3.10.2",
33
+ "@eslint/compat": "^1.4.1",
34
+ "@eslint/js": "^9.39.5",
33
35
  "@semantic-release/changelog": "^6.0.3",
34
- "@semantic-release/commit-analyzer": "^9.0.2",
36
+ "@semantic-release/commit-analyzer": "^13.0.1",
35
37
  "@semantic-release/git": "^10.0.1",
36
- "@semantic-release/github": "^11.0.1",
37
- "@semantic-release/npm": "^12.0.1",
38
- "@semantic-release/release-notes-generator": "^10.0.3",
39
- "@tsconfig/docusaurus": "^1.0.7",
40
- "@types/node": "^22.14.0",
41
- "@typescript-eslint/eslint-plugin": "^8.36.0",
42
- "@typescript-eslint/parser": "^8.13.0",
43
- "eslint": "^9.14.0",
44
- "eslint-config-prettier": "^9.1.0",
45
- "eslint-plugin-prettier": "^5.5.1",
46
- "globals": "^15.12.0",
47
- "lint-staged": "^15.2.10",
48
- "prettier": "^3.3.3",
38
+ "@semantic-release/github": "^12.0.9",
39
+ "@semantic-release/npm": "^13.1.5",
40
+ "@semantic-release/release-notes-generator": "^14.1.1",
41
+ "@tsconfig/docusaurus": "^2.0.9",
42
+ "@types/node": "^25.9.6",
43
+ "@typescript-eslint/eslint-plugin": "^8.70.0",
44
+ "@typescript-eslint/parser": "^8.70.0",
45
+ "eslint": "^9.39.5",
46
+ "eslint-config-prettier": "^10.1.8",
47
+ "eslint-plugin-prettier": "^5.5.6",
48
+ "globals": "^15.15.0",
49
+ "lint-staged": "^16.4.0",
50
+ "prettier": "^3.9.6",
49
51
  "react": "^18.3.1",
50
52
  "react-dom": "^18.3.1",
51
- "semantic-release": "^24.2.3",
52
- "typescript": "^4.9.5",
53
- "typescript-eslint": "^8.13.0"
53
+ "semantic-release": "^25.0.9",
54
+ "typescript": "^5.9.3",
55
+ "typescript-eslint": "^8.70.0"
54
56
  },
55
57
  "release": {
56
58
  "plugins": [
@@ -71,7 +73,7 @@
71
73
  "assets": [
72
74
  "CHANGELOG.md",
73
75
  "package.json",
74
- "package-lock.json"
76
+ "pnpm-lock.yaml"
75
77
  ],
76
78
  "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
77
79
  }
@@ -0,0 +1,4 @@
1
+ autoInstallPeers: true
2
+ minimumReleaseAgeExclude:
3
+ - '@types/node@25.9.6'
4
+ strictPeerDependencies: false