Compare commits

..

118 commits
v2.9.1 ... main

Author SHA1 Message Date
marocchino
5060d4700a
Merge pull request #1622 from marocchino/dependabot/npm_and_yarn/biomejs/biome-2.3.4
build(deps-dev): Bump @biomejs/biome from 2.2.4 to 2.3.4
2025-11-11 18:41:34 +09:00
dependabot[bot]
6c08a17c18
build(deps-dev): Bump @biomejs/biome from 2.2.4 to 2.3.4
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.2.4 to 2.3.4.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.3.4/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.3.4
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-05 20:01:28 +00:00
marocchino
fd19551a2a
Merge pull request #1585 from marocchino/dependabot/npm_and_yarn/vite-7.1.5
build(deps): Bump vite from 6.3.5 to 7.1.5
2025-09-21 15:21:37 +09:00
marocchino
62c9bf942d
Merge pull request #1591 from marocchino/dependabot/npm_and_yarn/types/node-24.5.2
build(deps-dev): Bump @types/node from 24.3.0 to 24.5.2
2025-09-21 15:21:16 +09:00
dependabot[bot]
8719b0fae6
build(deps-dev): Bump @types/node from 24.3.0 to 24.5.2
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.3.0 to 24.5.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.5.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-18 20:01:27 +00:00
marocchino
a071bc9e79
Merge pull request #1586 from marocchino/dependabot/npm_and_yarn/biomejs/biome-2.2.4
build(deps-dev): Bump @biomejs/biome from 2.2.2 to 2.2.4
2025-09-11 12:11:59 +09:00
dependabot[bot]
f1e6f4c9d1
build(deps-dev): Bump @biomejs/biome from 2.2.2 to 2.2.4
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.2.2 to 2.2.4.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.2.4/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.2.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-10 20:01:31 +00:00
dependabot[bot]
1f1faa9bfb
build(deps): Bump vite from 6.3.5 to 7.1.5
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.3.5 to 7.1.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.1.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 7.1.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-10 02:00:42 +00:00
marocchino
11dd26c196
Merge pull request #1582 from marocchino/dependabot/npm_and_yarn/biomejs/biome-2.2.2
build(deps-dev): Bump @biomejs/biome from 2.2.0 to 2.2.2
2025-08-29 15:58:09 +09:00
dependabot[bot]
7ea52a04ba
build(deps-dev): Bump @biomejs/biome from 2.2.0 to 2.2.2
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.2.0 to 2.2.2.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.2.2/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.2.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-26 11:28:44 +00:00
marocchino
9c40848920
Merge pull request #1581 from marocchino/dependabot/npm_and_yarn/types/node-24.3.0
build(deps-dev): Bump @types/node from 24.2.1 to 24.3.0
2025-08-17 11:53:46 +09:00
dependabot[bot]
b75bcb3b4d
build(deps-dev): Bump @types/node from 24.2.1 to 24.3.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.2.1 to 24.3.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-15 20:48:09 +00:00
marocchino
8ac02941f2
Merge pull request #1580 from marocchino/dependabot/npm_and_yarn/biomejs/biome-2.2.0
build(deps-dev): Bump @biomejs/biome from 2.1.4 to 2.2.0
2025-08-15 12:56:21 +09:00
dependabot[bot]
862829ff7f
build(deps-dev): Bump @biomejs/biome from 2.1.4 to 2.2.0
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.1.4 to 2.2.0.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.2.0/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-14 20:40:28 +00:00
marocchino
6b2e3507a7
Merge pull request #1576 from marocchino/dependabot/github_actions/actions/checkout-5
build(deps): Bump actions/checkout from 4 to 5
2025-08-14 16:56:06 +09:00
dependabot[bot]
8512a4c98b
build(deps): Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 04:54:18 +00:00
marocchino
64e3ffec43
Merge pull request #1575 from marocchino/dependabot/npm_and_yarn/types/node-24.2.1
build(deps-dev): Bump @types/node from 24.2.0 to 24.2.1
2025-08-11 08:10:38 +09:00
dependabot[bot]
df6f56addc
build(deps-dev): Bump @types/node from 24.2.0 to 24.2.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.2.0 to 24.2.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.2.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-09 20:57:50 +00:00
marocchino
35cd516fad
Merge pull request #1574 from marocchino/dependabot/npm_and_yarn/biomejs/biome-2.1.4
build(deps-dev): Bump @biomejs/biome from 2.1.3 to 2.1.4
2025-08-10 05:56:28 +09:00
dependabot[bot]
10cd405f3b
build(deps-dev): Bump @biomejs/biome from 2.1.3 to 2.1.4
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.1.4/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.1.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-07 20:33:17 +00:00
marocchino
3ace774a11
Merge pull request #1573 from marocchino/dependabot/npm_and_yarn/types/node-24.2.0
build(deps-dev): Bump @types/node from 24.1.0 to 24.2.0
2025-08-05 21:12:35 +09:00
dependabot[bot]
7f95f155b2
build(deps-dev): Bump @types/node from 24.1.0 to 24.2.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.1.0 to 24.2.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-05 03:40:54 +00:00
marocchino
9745255517
Merge pull request #1572 from marocchino/dependabot/npm_and_yarn/typescript-5.9.2
build(deps-dev): Bump typescript from 5.8.3 to 5.9.2
2025-08-04 19:20:45 +09:00
dependabot[bot]
e0c4431039
build(deps-dev): Bump typescript from 5.8.3 to 5.9.2
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.8.3 to 5.9.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.8.3...v5.9.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 5.9.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-31 20:35:26 +00:00
marocchino
4e6a58dde8
Merge pull request #1571 from marocchino/dependabot/npm_and_yarn/biomejs/biome-2.1.3
build(deps-dev): Bump @biomejs/biome from 2.1.2 to 2.1.3
2025-07-30 13:39:47 +09:00
dependabot[bot]
521f58f1c3
build(deps-dev): Bump @biomejs/biome from 2.1.2 to 2.1.3
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.1.3/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.1.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-29 20:27:05 +00:00
marocchino
2cdbc7bc07
Merge pull request #1568 from marocchino/dependabot/npm_and_yarn/types/node-24.1.0
build(deps-dev): Bump @types/node from 24.0.14 to 24.1.0
2025-07-24 06:24:07 +09:00
dependabot[bot]
17b35a04bd
build(deps-dev): Bump @types/node from 24.0.14 to 24.1.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.0.14 to 24.1.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-22 20:14:27 +00:00
marocchino
348e2622a2
Merge pull request #1567 from marocchino/dependabot/npm_and_yarn/biomejs/biome-2.1.2
build(deps-dev): Bump @biomejs/biome from 2.1.1 to 2.1.2
2025-07-19 11:18:35 +09:00
dependabot[bot]
9966eda730
build(deps-dev): Bump @biomejs/biome from 2.1.1 to 2.1.2
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.1.2/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.1.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-18 06:21:08 +00:00
marocchino
28d58c4b5a
Merge pull request #1565 from marocchino/dependabot/npm_and_yarn/types/node-24.0.14
build(deps-dev): Bump @types/node from 24.0.13 to 24.0.14
2025-07-18 15:17:39 +09:00
marocchino
773744901b
📦️ Build 2025-07-17 11:36:47 +09:00
dependabot[bot]
08207e50cb
build(deps-dev): Bump @types/node from 24.0.13 to 24.0.14
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.0.13 to 24.0.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.0.14
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-15 20:20:41 +00:00
marocchino
8b423c6fac
Merge pull request #1564 from marocchino/dependabot/npm_and_yarn/types/node-24.0.13
build(deps-dev): Bump @types/node from 24.0.12 to 24.0.13
2025-07-12 05:42:36 +09:00
dependabot[bot]
3ac8a744e4
build(deps-dev): Bump @types/node from 24.0.12 to 24.0.13
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.0.12 to 24.0.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.0.13
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-10 20:17:31 +00:00
marocchino
e430cfc2fc
Merge pull request #1563 from marocchino/dependabot/npm_and_yarn/types/node-24.0.12
build(deps-dev): Bump @types/node from 24.0.11 to 24.0.12
2025-07-10 13:40:42 +09:00
dependabot[bot]
99f9378b47
build(deps-dev): Bump @types/node from 24.0.11 to 24.0.12
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.0.11 to 24.0.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.0.12
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-09 20:44:28 +00:00
marocchino
2216b3aa26
Merge pull request #1562 from marocchino/dependabot/npm_and_yarn/biomejs/biome-2.1.1
build(deps-dev): Bump @biomejs/biome from 2.0.4 to 2.1.1
2025-07-10 04:20:57 +09:00
dependabot[bot]
482d7fd7d6
build(deps-dev): Bump @biomejs/biome from 2.0.4 to 2.1.1
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.0.4 to 2.1.1.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.1.1/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.1.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-09 19:19:37 +00:00
marocchino
c2da581914
Merge pull request #1561 from marocchino/dependabot/npm_and_yarn/types/node-24.0.11
build(deps-dev): Bump @types/node from 24.0.3 to 24.0.11
2025-07-10 04:18:14 +09:00
dependabot[bot]
76f84622bc
build(deps-dev): Bump @types/node from 24.0.3 to 24.0.11
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.0.3 to 24.0.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.0.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-08 20:33:24 +00:00
marocchino
246151aa30
⬆️ Update biome 2025-06-22 09:15:12 +09:00
marocchino
eb0a404705
Merge pull request #1554 from marocchino/dependabot/npm_and_yarn/biomejs/biome-2.0.2
build(deps-dev): Bump @biomejs/biome from 2.0.0 to 2.0.2
2025-06-22 09:12:58 +09:00
dependabot[bot]
436d8efa4c
build(deps-dev): Bump @biomejs/biome from 2.0.0 to 2.0.2
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/HEAD/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.0.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-20 20:22:09 +00:00
marocchino
d2ad0de260
📦️ Build 2025-06-20 12:05:52 +09:00
marocchino
c6b90f93cb
Merge pull request #1553 from marocchino/dependabot/npm_and_yarn/brace-expansion-1.1.12
build(deps): Bump brace-expansion from 1.1.11 to 1.1.12
2025-06-20 12:05:22 +09:00
marocchino
20665dd134
Merge pull request #1550 from marocchino/dependabot/npm_and_yarn/types/node-24.0.3
build(deps-dev): Bump @types/node from 22.15.30 to 24.0.3
2025-06-20 12:05:06 +09:00
dependabot[bot]
8a03a65ab9
build(deps): Bump brace-expansion from 1.1.11 to 1.1.12
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/1.1.11...v1.1.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-20 03:03:23 +00:00
dependabot[bot]
8d4420ab75
build(deps-dev): Bump @types/node from 22.15.30 to 24.0.3
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.30 to 24.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-20 03:03:18 +00:00
marocchino
14ca6a4b49
📦️ Build 2025-06-20 12:01:24 +09:00
marocchino
283f17cccc
🔧 Update biome setting 2025-06-20 12:00:27 +09:00
marocchino
0607099d6a
Merge pull request #1552 from marocchino/dependabot/npm_and_yarn/vitest-3.2.4
build(deps-dev): Bump vitest from 3.2.2 to 3.2.4
2025-06-20 06:17:47 +09:00
marocchino
9bff39e005
Merge pull request #1551 from marocchino/dependabot/npm_and_yarn/biomejs/biome-2.0.0
build(deps-dev): Bump @biomejs/biome from 1.9.4 to 2.0.0
2025-06-20 06:17:26 +09:00
dependabot[bot]
f02e40f8ac
build(deps-dev): Bump vitest from 3.2.2 to 3.2.4
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.2.2 to 3.2.4.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.2.4/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 3.2.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-17 20:17:49 +00:00
dependabot[bot]
797883c7cc
build(deps-dev): Bump @biomejs/biome from 1.9.4 to 2.0.0
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 1.9.4 to 2.0.0.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.0.0/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-17 20:17:36 +00:00
marocchino
a168248bf4
Merge pull request #1546 from marocchino/dependabot/npm_and_yarn/types/node-22.15.30
build(deps-dev): Bump @types/node from 22.15.29 to 22.15.30
2025-06-10 03:39:34 +09:00
marocchino
813b89b687
Merge pull request #1545 from marocchino/dependabot/npm_and_yarn/vitest-3.2.2
build(deps-dev): Bump vitest from 3.2.1 to 3.2.2
2025-06-10 03:39:21 +09:00
dependabot[bot]
da6e6f78b7
build(deps-dev): Bump @types/node from 22.15.29 to 22.15.30
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.29 to 22.15.30.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.30
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-05 20:51:58 +00:00
dependabot[bot]
aa90be19b3
build(deps-dev): Bump vitest from 3.2.1 to 3.2.2
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.2.2/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 3.2.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-05 20:51:51 +00:00
marocchino
513087bc4f
Merge pull request #1544 from marocchino/dependabot/npm_and_yarn/vitest-3.2.1
build(deps-dev): Bump vitest from 3.2.0 to 3.2.1
2025-06-04 13:14:58 +09:00
dependabot[bot]
1419e402bb
build(deps-dev): Bump vitest from 3.2.0 to 3.2.1
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.2.1/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 3.2.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-03 20:52:20 +00:00
marocchino
0db00dfb01
Merge pull request #1543 from marocchino/dependabot/npm_and_yarn/vitest-3.2.0
build(deps-dev): Bump vitest from 3.1.4 to 3.2.0
2025-06-03 12:08:12 +09:00
marocchino
d5ecf98649
Merge pull request #1542 from marocchino/dependabot/npm_and_yarn/types/node-22.15.29
build(deps-dev): Bump @types/node from 22.15.21 to 22.15.29
2025-06-03 12:08:00 +09:00
dependabot[bot]
69f7b3174f
build(deps-dev): Bump vitest from 3.1.4 to 3.2.0
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.1.4 to 3.2.0.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.2.0/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 3.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-02 20:54:26 +00:00
dependabot[bot]
78718f94d6
build(deps-dev): Bump @types/node from 22.15.21 to 22.15.29
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.21 to 22.15.29.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.29
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-30 20:04:50 +00:00
marocchino
9429b3bc0f
Merge pull request #1539 from marocchino/dependabot/npm_and_yarn/types/node-22.15.21
build(deps-dev): Bump @types/node from 22.15.19 to 22.15.21
2025-05-26 05:17:43 +09:00
dependabot[bot]
f35cc7b22e
build(deps-dev): Bump @types/node from 22.15.19 to 22.15.21
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.19 to 22.15.21.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.21
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-21 20:15:44 +00:00
marocchino
cd90ead742
Merge pull request #1537 from marocchino/dependabot/npm_and_yarn/types/node-22.15.19
build(deps-dev): Bump @types/node from 22.15.18 to 22.15.19
2025-05-20 13:35:49 +09:00
marocchino
0df83a7c62
Merge pull request #1536 from marocchino/dependabot/npm_and_yarn/vitest-3.1.4
build(deps-dev): Bump vitest from 3.1.3 to 3.1.4
2025-05-20 13:35:42 +09:00
dependabot[bot]
e8c7f253b4
build(deps-dev): Bump @types/node from 22.15.18 to 22.15.19
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.18 to 22.15.19.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.19
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 20:25:41 +00:00
dependabot[bot]
ddfea1aff0
build(deps-dev): Bump vitest from 3.1.3 to 3.1.4
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.1.4/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 3.1.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 20:25:28 +00:00
marocchino
754747fca7
Merge pull request #1535 from marocchino/dependabot/npm_and_yarn/types/node-22.15.18
build(deps-dev): Bump @types/node from 22.15.17 to 22.15.18
2025-05-15 10:18:53 +09:00
dependabot[bot]
487e475c40
build(deps-dev): Bump @types/node from 22.15.17 to 22.15.18
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.17 to 22.15.18.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.18
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-14 20:29:36 +00:00
marocchino
45705bf499
Merge pull request #1533 from marocchino/dependabot/npm_and_yarn/types/node-22.15.17
build(deps-dev): Bump @types/node from 22.15.15 to 22.15.17
2025-05-15 00:37:28 +09:00
dependabot[bot]
49898e67b8
build(deps-dev): Bump @types/node from 22.15.15 to 22.15.17
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.15 to 22.15.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.17
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-08 20:53:33 +00:00
marocchino
4fd9ae4d9b
Merge pull request #1532 from marocchino/dependabot/npm_and_yarn/types/node-22.15.15
build(deps-dev): Bump @types/node from 22.15.6 to 22.15.15
2025-05-08 08:22:01 +09:00
marocchino
f7c6602941
Merge pull request #1531 from marocchino/dependabot/npm_and_yarn/actions/github-6.0.1
build(deps): Bump @actions/github from 6.0.0 to 6.0.1
2025-05-08 08:21:50 +09:00
dependabot[bot]
d2061ba45b
build(deps-dev): Bump @types/node from 22.15.6 to 22.15.15
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.6 to 22.15.15.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.15
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-07 20:35:48 +00:00
dependabot[bot]
ce4aee291a
build(deps): Bump @actions/github from 6.0.0 to 6.0.1
Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github) from 6.0.0 to 6.0.1.
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/github/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/github)

---
updated-dependencies:
- dependency-name: "@actions/github"
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-07 20:35:38 +00:00
marocchino
885e744192
Merge pull request #1529 from marocchino/dependabot/npm_and_yarn/types/node-22.15.6
build(deps-dev): Bump @types/node from 22.15.3 to 22.15.6
2025-05-06 09:40:09 +09:00
marocchino
52e5976aed
Merge pull request #1528 from marocchino/dependabot/npm_and_yarn/vitest-3.1.3
build(deps-dev): Bump vitest from 3.1.2 to 3.1.3
2025-05-06 09:39:57 +09:00
dependabot[bot]
813ebceea4
build(deps-dev): Bump @types/node from 22.15.3 to 22.15.6
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.3 to 22.15.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 21:10:02 +00:00
dependabot[bot]
9a2b56befc
build(deps-dev): Bump vitest from 3.1.2 to 3.1.3
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.1.3/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 3.1.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 20:55:58 +00:00
marocchino
e6d24883ad
Merge pull request #1527 from marocchino/dependabot/npm_and_yarn/vite-6.3.4
build(deps): Bump vite from 6.2.6 to 6.3.4
2025-05-01 22:24:28 +09:00
marocchino
983d440620
Merge pull request #1526 from marocchino/dependabot/npm_and_yarn/types/node-22.15.3
build(deps-dev): Bump @types/node from 22.15.2 to 22.15.3
2025-05-01 22:24:09 +09:00
dependabot[bot]
cc9d2d7967
build(deps): Bump vite from 6.2.6 to 6.3.4
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.6 to 6.3.4.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-30 19:37:07 +00:00
dependabot[bot]
5b241ae39e
build(deps-dev): Bump @types/node from 22.15.2 to 22.15.3
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.2 to 22.15.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-28 21:28:54 +00:00
marocchino
f7b3b9766a
Merge pull request #1525 from marocchino/dependabot/npm_and_yarn/types/node-22.15.2
build(deps-dev): Bump @types/node from 22.14.1 to 22.15.2
2025-04-27 10:20:08 +09:00
marocchino
6a6c10452a
Merge pull request #1523 from marocchino/dependabot/npm_and_yarn/vitest-3.1.2
build(deps-dev): Bump vitest from 3.1.1 to 3.1.2
2025-04-27 10:20:00 +09:00
dependabot[bot]
1d9bd96cc2
build(deps-dev): Bump @types/node from 22.14.1 to 22.15.2
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.14.1 to 22.15.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-25 20:31:21 +00:00
dependabot[bot]
51afe4c253
build(deps-dev): Bump vitest from 3.1.1 to 3.1.2
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.1.2/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 3.1.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-21 20:46:18 +00:00
marocchino
baa7203ed6
Merge pull request #1522 from marocchino/dependabot/npm_and_yarn/types/node-22.14.1
build(deps-dev): Bump @types/node from 22.14.0 to 22.14.1
2025-04-16 03:59:57 +09:00
dependabot[bot]
984890f228
build(deps-dev): Bump @types/node from 22.14.0 to 22.14.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.14.0 to 22.14.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.14.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 20:18:21 +00:00
marocchino
46530777f2
Merge pull request #1521 from marocchino/dependabot/npm_and_yarn/vitest-3.1.1
build(deps-dev): Bump vitest from 1.6.1 to 3.1.1
2025-04-13 08:09:18 +09:00
dependabot[bot]
74dc329c07
build(deps-dev): Bump vitest from 1.6.1 to 3.1.1
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 1.6.1 to 3.1.1.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.1.1/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 3.1.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-11 20:51:45 +00:00
marocchino
f6fe57d669
Merge pull request #1520 from marocchino/update-jest-config
Use vitest instead of jest
2025-04-11 07:36:08 +09:00
marocchino
91b5bf387e
👷 Fix descriptor 2025-04-11 07:35:16 +09:00
marocchino
faaf52818d
jest to vitest 2025-04-11 07:17:55 +09:00
marocchino
e39079643f
🔧 Update lint option 2025-04-11 06:51:34 +09:00
marocchino
1b19b68425
Merge pull request #1519 from marocchino/update-jest-config
🔧 Update jest config
2025-04-09 22:09:43 +09:00
marocchino
1125c50abd
🔧 Update jest config 2025-04-09 22:07:55 +09:00
marocchino
05d9fdbad3
Merge pull request #1518 from marocchino/update-ts-config
🔧 Update ts config
2025-04-09 21:58:59 +09:00
marocchino
0dbe58c83e
🔧 Update ts config 2025-04-09 21:56:19 +09:00
marocchino
67d0dec7b0
📦️ Build 2025-04-09 21:43:44 +09:00
marocchino
e0c6a281ea
⬆️ Update ts deps 2025-04-09 21:43:10 +09:00
marocchino
a1aa389b82
Merge pull request #1493 from marocchino/dependabot/npm_and_yarn/octokit/plugin-paginate-rest-9.2.2
build(deps): Bump @octokit/plugin-paginate-rest from 9.1.2 to 9.2.2
2025-04-09 21:40:23 +09:00
dependabot[bot]
e956b6a9c6
build(deps): Bump @octokit/plugin-paginate-rest from 9.1.2 to 9.2.2
Bumps [@octokit/plugin-paginate-rest](https://github.com/octokit/plugin-paginate-rest.js) from 9.1.2 to 9.2.2.
- [Release notes](https://github.com/octokit/plugin-paginate-rest.js/releases)
- [Commits](https://github.com/octokit/plugin-paginate-rest.js/compare/v9.1.2...v9.2.2)

---
updated-dependencies:
- dependency-name: "@octokit/plugin-paginate-rest"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 12:38:45 +00:00
marocchino
f17f0d5f43
Merge pull request #1494 from marocchino/dependabot/npm_and_yarn/octokit/request-8.4.1
build(deps): Bump @octokit/request from 8.1.4 to 8.4.1
2025-04-09 21:37:34 +09:00
marocchino
f3acd22208
Merge pull request #1490 from marocchino/dependabot/npm_and_yarn/octokit/request-error-5.1.1
build(deps): Bump @octokit/request-error from 5.0.1 to 5.1.1
2025-04-09 21:37:14 +09:00
dependabot[bot]
00a29bb28d
build(deps): Bump @octokit/request-error from 5.0.1 to 5.1.1
Bumps [@octokit/request-error](https://github.com/octokit/request-error.js) from 5.0.1 to 5.1.1.
- [Release notes](https://github.com/octokit/request-error.js/releases)
- [Commits](https://github.com/octokit/request-error.js/compare/v5.0.1...v5.1.1)

---
updated-dependencies:
- dependency-name: "@octokit/request-error"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 12:35:07 +00:00
dependabot[bot]
285599a999
build(deps): Bump @octokit/request from 8.1.4 to 8.4.1
Bumps [@octokit/request](https://github.com/octokit/request.js) from 8.1.4 to 8.4.1.
- [Release notes](https://github.com/octokit/request.js/releases)
- [Commits](https://github.com/octokit/request.js/compare/v8.1.4...v8.4.1)

---
updated-dependencies:
- dependency-name: "@octokit/request"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 12:34:36 +00:00
marocchino
cd2bb47676
Merge pull request #1515 from marocchino/dependabot/npm_and_yarn/types/node-22.14.0
build(deps-dev): Bump @types/node from 22.10.7 to 22.14.0
2025-04-09 21:33:16 +09:00
marocchino
6057416b97
Merge pull request #1476 from marocchino/dependabot/npm_and_yarn/undici-5.28.5
build(deps): Bump undici from 5.28.4 to 5.28.5
2025-04-09 21:32:05 +09:00
dependabot[bot]
7a6decbd29
build(deps): Bump undici from 5.28.4 to 5.28.5
Bumps [undici](https://github.com/nodejs/undici) from 5.28.4 to 5.28.5.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.28.4...v5.28.5)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 12:30:57 +00:00
dependabot[bot]
343ce8195b
build(deps-dev): Bump @types/node from 22.10.7 to 22.14.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.10.7 to 22.14.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 12:30:34 +00:00
marocchino
cb92881573
Merge pull request #1517 from marocchino/update-deps
Update deps
2025-04-09 21:28:54 +09:00
marocchino
cce8920b20
Migrate to biome 2025-04-09 21:26:34 +09:00
marocchino
e24be28b0d
update @octokit/graphql-schema 2025-04-09 20:50:46 +09:00
20 changed files with 3321 additions and 6775 deletions

View file

@ -1,4 +0,0 @@
dist/
lib/
node_modules/
jest.config.js

View file

@ -1,59 +0,0 @@
{
"root": true,
"plugins": ["jest", "@typescript-eslint"],
"extends": ["plugin:github/recommended"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module",
"project": "./tsconfig.json"
},
"rules": {
"eslint-comments/no-use": "off",
"import/no-namespace": "off",
"i18n-text/no-en": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/explicit-member-accessibility": [
"error",
{"accessibility": "no-public"}
],
"@typescript-eslint/no-require-imports": "error",
"@typescript-eslint/array-type": "error",
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/ban-ts-comment": "error",
"camelcase": "off",
"@typescript-eslint/consistent-type-assertions": "error",
"@typescript-eslint/explicit-function-return-type": [
"error",
{"allowExpressions": true}
],
"@typescript-eslint/no-array-constructor": "error",
"@typescript-eslint/no-empty-interface": "error",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-extraneous-class": "error",
"@typescript-eslint/no-for-in-array": "error",
"@typescript-eslint/no-inferrable-types": "error",
"@typescript-eslint/no-misused-new": "error",
"@typescript-eslint/no-namespace": "error",
"@typescript-eslint/no-non-null-assertion": "warn",
"@typescript-eslint/no-unnecessary-qualifier": "error",
"@typescript-eslint/no-unnecessary-type-assertion": "error",
"@typescript-eslint/no-useless-constructor": "error",
"@typescript-eslint/no-var-requires": "error",
"@typescript-eslint/prefer-for-of": "warn",
"@typescript-eslint/prefer-function-type": "warn",
"@typescript-eslint/prefer-includes": "error",
"@typescript-eslint/prefer-string-starts-ends-with": "error",
"@typescript-eslint/promise-function-async": "error",
"@typescript-eslint/require-array-sort-compare": "error",
"@typescript-eslint/restrict-plus-operands": "error",
"semi": "off",
"@typescript-eslint/unbound-method": "error"
},
"env": {
"node": true,
"es6": true,
"jest/globals": true
}
}

View file

@ -11,15 +11,14 @@ jobs:
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- run: yarn install
- run: |
set -o pipefail
mkdir -p ./pr
echo ${{ github.event.number }} | tee ./pr/number
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
echo "all_result<<$EOF" >> "$GITHUB_ENV"
yarn all >> "$GITHUB_ENV" 2&>1 || true # proceed even if yarn fails
yarn all >> "$GITHUB_ENV" 2>&1 || true # proceed even if yarn fails
echo >> "$GITHUB_ENV" # yarn all doesn't necessarily produce a newline
echo "$EOF" >> "$GITHUB_ENV"
id: all
@ -29,9 +28,9 @@ jobs:
header: All
message: |
<details open>
<summary>output of yarn all</summary>
<summary>Output of yarn all</summary>
```
```shell
${{ env.all_result }}
```
</details>
@ -43,3 +42,7 @@ jobs:
hide_details: true
message: |
The build is over.
- name: Lint
run: npm run lint
- name: Format Check
run: npm run format-check

View file

@ -1,3 +0,0 @@
dist/
lib/
node_modules/

View file

@ -1,9 +0,0 @@
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"trailingComma": "none",
"bracketSpacing": false,
"arrowParens": "avoid"
}

View file

@ -1,5 +1,6 @@
import {getOctokit} from "@actions/github"
import * as core from "@actions/core"
import { vi, describe, it, expect, beforeEach } from 'vitest'
import {
createComment,
@ -11,8 +12,8 @@ import {
commentsEqual
} from "../src/comment"
jest.mock("@actions/core", () => ({
warning: jest.fn()
vi.mock("@actions/core", () => ({
warning: vi.fn()
}))
const repo = {
@ -68,7 +69,7 @@ it("findPreviousComment", async () => {
}
]
const octokit = getOctokit("github-token")
jest.spyOn(octokit, "graphql").mockResolvedValue({
vi.spyOn(octokit, "graphql").mockResolvedValue({
viewer: authenticatedBotUser,
repository: {
pullRequest: {
@ -90,12 +91,8 @@ it("findPreviousComment", async () => {
} as any)
expect(await findPreviousComment(octokit, repo, 123, "")).toBe(comment)
expect(await findPreviousComment(octokit, repo, 123, "TypeA")).toBe(
commentWithCustomHeader
)
expect(await findPreviousComment(octokit, repo, 123, "LegacyComment")).toBe(
headerFirstComment
)
expect(await findPreviousComment(octokit, repo, 123, "TypeA")).toBe(commentWithCustomHeader)
expect(await findPreviousComment(octokit, repo, 123, "LegacyComment")).toBe(headerFirstComment)
expect(octokit.graphql).toBeCalledWith(expect.any(String), {
after: null,
number: 123,
@ -108,22 +105,18 @@ describe("updateComment", () => {
const octokit = getOctokit("github-token")
beforeEach(() => {
jest.spyOn<any, string>(octokit, "graphql").mockResolvedValue("")
vi.spyOn(octokit, "graphql").mockResolvedValue("")
})
it("with comment body", async () => {
expect(
await updateComment(octokit, "456", "hello there", "")
).toBeUndefined()
expect(await updateComment(octokit, "456", "hello there", "")).toBeUndefined()
expect(octokit.graphql).toBeCalledWith(expect.any(String), {
input: {
id: "456",
body: "hello there\n<!-- Sticky Pull Request Comment -->"
}
})
expect(
await updateComment(octokit, "456", "hello there", "TypeA")
).toBeUndefined()
expect(await updateComment(octokit, "456", "hello there", "TypeA")).toBeUndefined()
expect(octokit.graphql).toBeCalledWith(expect.any(String), {
input: {
id: "456",
@ -158,24 +151,21 @@ describe("createComment", () => {
const octokit = getOctokit("github-token")
beforeEach(() => {
jest
.spyOn<any, string>(octokit.rest.issues, "createComment")
.mockResolvedValue("<return value>")
vi.spyOn(octokit.rest.issues, "createComment")
.mockResolvedValue({ data: "<return value>" } as any)
})
it("with comment body or previousBody", async () => {
expect(await createComment(octokit, repo, 456, "hello there", "")).toEqual(
"<return value>"
)
expect(await createComment(octokit, repo, 456, "hello there", "")).toEqual({ data: "<return value>" })
expect(octokit.rest.issues.createComment).toBeCalledWith({
issue_number: 456,
owner: "marocchino",
repo: "sticky-pull-request-comment",
body: "hello there\n<!-- Sticky Pull Request Comment -->"
})
expect(
await createComment(octokit, repo, 456, "hello there", "TypeA")
).toEqual("<return value>")
expect(await createComment(octokit, repo, 456, "hello there", "TypeA")).toEqual(
{ data: "<return value>" }
)
expect(octokit.rest.issues.createComment).toBeCalledWith({
issue_number: 456,
owner: "marocchino",
@ -193,7 +183,7 @@ describe("createComment", () => {
it("deleteComment", async () => {
const octokit = getOctokit("github-token")
jest.spyOn(octokit, "graphql").mockReturnValue(undefined as any)
vi.spyOn(octokit, "graphql").mockReturnValue(undefined as any)
expect(await deleteComment(octokit, "456")).toBeUndefined()
expect(octokit.graphql).toBeCalledWith(expect.any(String), {
id: "456"
@ -203,7 +193,7 @@ it("deleteComment", async () => {
it("minimizeComment", async () => {
const octokit = getOctokit("github-token")
jest.spyOn(octokit, "graphql").mockReturnValue(undefined as any)
vi.spyOn(octokit, "graphql").mockReturnValue(undefined as any)
expect(await minimizeComment(octokit, "456", "OUTDATED")).toBeUndefined()
expect(octokit.graphql).toBeCalledWith(expect.any(String), {
input: {
@ -236,7 +226,7 @@ describe("getBodyOf", () => {
</details>
<!-- Sticky Pull Request CommentTypeA -->
`
test.each`
it.each`
append | hideDetails | previous | expected
${false} | ${false} | ${detailsPrevious} | ${undefined}
${true} | ${false} | ${nullPrevious} | ${undefined}
@ -253,7 +243,7 @@ describe("getBodyOf", () => {
})
describe("commentsEqual", () => {
test.each([
it.each([
{
body: "body",
previous: "body\n<!-- Sticky Pull Request Commentheader -->",

View file

@ -1,4 +1,28 @@
import { beforeEach, afterEach, test, expect, vi, describe } from 'vitest'
const mockConfig = {
pullRequestNumber: 123,
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
append: false,
recreate: false,
deleteOldComment: false,
hideOldComment: false,
hideAndRecreate: false,
hideClassify: "OUTDATED",
hideDetails: false,
githubToken: "some-token",
ignoreEmpty: false,
skipUnchanged: false,
getBody: vi.fn().mockResolvedValue("")
}
vi.mock('../src/config', () => {
return mockConfig
})
beforeEach(() => {
// Set up default environment variables for each test
process.env["GITHUB_REPOSITORY"] = "marocchino/stick-pull-request-comment"
process.env["INPUT_NUMBER"] = "123"
process.env["INPUT_APPEND"] = "false"
@ -14,10 +38,26 @@ beforeEach(() => {
process.env["INPUT_IGNORE_EMPTY"] = "false"
process.env["INPUT_SKIP_UNCHANGED"] = "false"
process.env["INPUT_FOLLOW_SYMBOLIC_LINKS"] = "false"
// 모킹된 값 초기화
mockConfig.pullRequestNumber = 123
mockConfig.repo = {owner: "marocchino", repo: "stick-pull-request-comment"}
mockConfig.header = ""
mockConfig.append = false
mockConfig.recreate = false
mockConfig.deleteOldComment = false
mockConfig.hideOldComment = false
mockConfig.hideAndRecreate = false
mockConfig.hideClassify = "OUTDATED"
mockConfig.hideDetails = false
mockConfig.githubToken = "some-token"
mockConfig.ignoreEmpty = false
mockConfig.skipUnchanged = false
mockConfig.getBody.mockResolvedValue("")
})
afterEach(() => {
jest.resetModules()
vi.resetModules()
delete process.env["GITHUB_REPOSITORY"]
delete process.env["INPUT_OWNER"]
delete process.env["INPUT_REPO"]
@ -43,7 +83,11 @@ afterEach(() => {
test("repo", async () => {
process.env["INPUT_OWNER"] = "jin"
process.env["INPUT_REPO"] = "other"
expect(require("../src/config")).toMatchObject({
mockConfig.repo = {owner: "jin", repo: "other"}
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "jin", repo: "other"},
header: "",
@ -58,11 +102,15 @@ test("repo", async () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
test("header", async () => {
process.env["INPUT_HEADER"] = "header"
expect(require("../src/config")).toMatchObject({
mockConfig.header = "header"
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "header",
@ -77,11 +125,15 @@ test("header", async () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
test("append", async () => {
process.env["INPUT_APPEND"] = "true"
expect(require("../src/config")).toMatchObject({
mockConfig.append = true
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -96,11 +148,15 @@ test("append", async () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
test("recreate", async () => {
process.env["INPUT_RECREATE"] = "true"
expect(require("../src/config")).toMatchObject({
mockConfig.recreate = true
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -115,11 +171,15 @@ test("recreate", async () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
test("delete", async () => {
process.env["INPUT_DELETE"] = "true"
expect(require("../src/config")).toMatchObject({
mockConfig.deleteOldComment = true
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -134,11 +194,15 @@ test("delete", async () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
test("hideOldComment", async () => {
process.env["INPUT_HIDE"] = "true"
expect(require("../src/config")).toMatchObject({
mockConfig.hideOldComment = true
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -153,11 +217,15 @@ test("hideOldComment", async () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
test("hideAndRecreate", async () => {
process.env["INPUT_HIDE_AND_RECREATE"] = "true"
expect(require("../src/config")).toMatchObject({
mockConfig.hideAndRecreate = true
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -172,11 +240,15 @@ test("hideAndRecreate", async () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
test("hideClassify", async () => {
process.env["INPUT_HIDE_CLASSIFY"] = "OFF_TOPIC"
expect(require("../src/config")).toMatchObject({
mockConfig.hideClassify = "OFF_TOPIC"
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -191,11 +263,15 @@ test("hideClassify", async () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
test("hideDetails", async () => {
process.env["INPUT_HIDE_DETAILS"] = "true"
expect(require("../src/config")).toMatchObject({
mockConfig.hideDetails = true
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -210,12 +286,16 @@ test("hideDetails", async () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
describe("path", () => {
test("when exists return content of a file", async () => {
process.env["INPUT_PATH"] = "./__tests__/assets/result"
expect(require("../src/config")).toMatchObject({
mockConfig.getBody.mockResolvedValue("hi there\n")
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -230,12 +310,15 @@ describe("path", () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("hi there\n")
expect(await config.getBody()).toEqual("hi there\n")
})
test("glob match files", async () => {
process.env["INPUT_PATH"] = "./__tests__/assets/*"
expect(require("../src/config")).toMatchObject({
mockConfig.getBody.mockResolvedValue("hi there\n\nhey there\n")
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -250,14 +333,15 @@ describe("path", () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual(
"hi there\n\nhey there\n"
)
expect(await config.getBody()).toEqual("hi there\n\nhey there\n")
})
test("when not exists return null string", async () => {
process.env["INPUT_PATH"] = "./__tests__/assets/not_exists"
expect(require("../src/config")).toMatchObject({
mockConfig.getBody.mockResolvedValue("")
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -272,13 +356,16 @@ describe("path", () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
})
test("message", async () => {
process.env["INPUT_MESSAGE"] = "hello there"
expect(require("../src/config")).toMatchObject({
mockConfig.getBody.mockResolvedValue("hello there")
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -293,12 +380,15 @@ test("message", async () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("hello there")
expect(await config.getBody()).toEqual("hello there")
})
test("ignore_empty", async () => {
process.env["INPUT_IGNORE_EMPTY"] = "true"
expect(require("../src/config")).toMatchObject({
mockConfig.ignoreEmpty = true
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -313,12 +403,15 @@ test("ignore_empty", async () => {
ignoreEmpty: true,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
test("skip_unchanged", async () => {
process.env["INPUT_SKIP_UNCHANGED"] = "true"
expect(require("../src/config")).toMatchObject({
mockConfig.skipUnchanged = true
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -333,5 +426,5 @@ test("skip_unchanged", async () => {
ignoreEmpty: false,
skipUnchanged: true
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})

33
biome.json Normal file
View file

@ -0,0 +1,33 @@
{
"$schema": "https://biomejs.dev/schemas/2.0.4/schema.json",
"files": {
"includes": ["src/**/*.ts"]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 100
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
},
"includes": ["vitest.config.ts", "src/**/*.ts", "__tests__/**/*.ts"]
},
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"semicolons": "asNeeded",
"arrowParentheses": "asNeeded",
"bracketSameLine": false,
"quoteStyle": "double",
"bracketSpacing": false
},
"globals": ["jest"]
}
}

4259
dist/index.js generated vendored

File diff suppressed because it is too large Load diff

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

25
dist/licenses.txt generated vendored
View file

@ -573,31 +573,6 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
is-plain-object
MIT
The MIT License (MIT)
Copyright (c) 2014-2017, Jon Schlinkert.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
minimatch
ISC
The ISC License

View file

@ -1,10 +0,0 @@
module.exports = {
clearMocks: true,
moduleFileExtensions: ['js', 'ts'],
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
transform: {
'^.+\\.ts$': 'ts-jest'
},
verbose: true
}

View file

@ -6,12 +6,15 @@
"main": "lib/main.js",
"scripts": {
"build": "tsc",
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"lint": "eslint src/**/*.ts",
"format": "biome format --write .",
"format-check": "biome format --write .",
"lint": "biome check .",
"lint:fix": "biome check --apply .",
"package": "ncc build --source-map --license licenses.txt",
"test": "jest",
"build_test": "tsc && jest",
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"build_test": "tsc && vitest run",
"all": "yarn build && yarn format && yarn lint && yarn package && yarn test"
},
"repository": {
@ -27,24 +30,16 @@
"license": "MIT",
"dependencies": {
"@actions/core": "^1.11.1",
"@actions/github": "^6.0.0",
"@actions/github": "^6.0.1",
"@actions/glob": "^0.5.0",
"@octokit/graphql-schema": "^14.52.0"
"@octokit/graphql-schema": "^15.26.0"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^22.10.7",
"@typescript-eslint/parser": "^8.20.0",
"@biomejs/biome": "2.3.4",
"@types/node": "^24.5.2",
"@vercel/ncc": "^0.38.3",
"eslint": "^8.56.0",
"eslint-plugin-github": "^5.1.5",
"eslint-plugin-jest": "^28.11.0",
"eslint-plugin-prettier": "^5.2.2",
"jest": "^29.7.0",
"jest-circus": "^29.7.0",
"js-yaml": "^4.1.0",
"prettier": "3.4.2",
"ts-jest": "^29.2.5",
"typescript": "^5.7.3"
"typescript": "^5.9.2",
"vitest": "^3.2.4"
}
}

View file

@ -1,17 +1,17 @@
import * as core from "@actions/core"
import {
import type {GitHub} from "@actions/github/lib/utils"
import type {
IssueComment,
ReportedContentClassifiers,
Repository,
User
User,
} from "@octokit/graphql-schema"
import {GitHub} from "@actions/github/lib/utils"
type CreateCommentResponse = Awaited<
ReturnType<InstanceType<typeof GitHub>["rest"]["issues"]["createComment"]>
>
function headerComment(header: String): string {
function headerComment(header: string): string {
return `<!-- Sticky Pull Request Comment${header} -->`
}
@ -30,7 +30,7 @@ export async function findPreviousComment(
repo: string
},
number: number,
header: string
header: string,
): Promise<IssueComment | undefined> {
let after = null
let hasNextPage = true
@ -60,7 +60,7 @@ export async function findPreviousComment(
}
}
`,
{...repo, after, number}
{...repo, after, number},
)
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
const viewer = data.viewer as User
@ -70,14 +70,13 @@ export async function findPreviousComment(
(node: IssueComment | null | undefined) =>
node?.author?.login === viewer.login.replace("[bot]", "") &&
!node?.isMinimized &&
node?.body?.includes(h)
node?.body?.includes(h),
)
if (target) {
return target
}
after = repository.pullRequest?.comments?.pageInfo?.endCursor
hasNextPage =
repository.pullRequest?.comments?.pageInfo?.hasNextPage ?? false
hasNextPage = repository.pullRequest?.comments?.pageInfo?.hasNextPage ?? false
}
return undefined
}
@ -87,14 +86,11 @@ export async function updateComment(
id: string,
body: string,
header: string,
previousBody?: string
previousBody?: string,
): Promise<void> {
if (!body && !previousBody)
return core.warning("Comment body cannot be blank")
if (!body && !previousBody) return core.warning("Comment body cannot be blank")
const rawPreviousBody: String = previousBody
? bodyWithoutHeader(previousBody, header)
: ""
const rawPreviousBody: string = previousBody ? bodyWithoutHeader(previousBody, header) : ""
await octokit.graphql(
`
@ -112,9 +108,9 @@ export async function updateComment(
id,
body: previousBody
? bodyWithHeader(`${rawPreviousBody}\n${body}`, header)
: bodyWithHeader(body, header)
}
}
: bodyWithHeader(body, header),
},
},
)
}
export async function createComment(
@ -126,7 +122,7 @@ export async function createComment(
issue_number: number,
body: string,
header: string,
previousBody?: string
previousBody?: string,
): Promise<CreateCommentResponse | undefined> {
if (!body && !previousBody) {
core.warning("Comment body cannot be blank")
@ -136,14 +132,12 @@ export async function createComment(
return await octokit.rest.issues.createComment({
...repo,
issue_number,
body: previousBody
? `${previousBody}\n${body}`
: bodyWithHeader(body, header)
body: previousBody ? `${previousBody}\n${body}` : bodyWithHeader(body, header),
})
}
export async function deleteComment(
octokit: InstanceType<typeof GitHub>,
id: string
id: string,
): Promise<void> {
await octokit.graphql(
`
@ -153,13 +147,13 @@ export async function deleteComment(
}
}
`,
{id}
{id},
)
}
export async function minimizeComment(
octokit: InstanceType<typeof GitHub>,
subjectId: string,
classifier: ReportedContentClassifiers
classifier: ReportedContentClassifiers,
): Promise<void> {
await octokit.graphql(
`
@ -169,31 +163,27 @@ export async function minimizeComment(
}
}
`,
{input: {subjectId, classifier}}
{input: {subjectId, classifier}},
)
}
export function getBodyOf(
previous: {body: string},
previous: {body?: string},
append: boolean,
hideDetails: boolean
hideDetails: boolean,
): string | undefined {
if (!append) {
return undefined
}
if (!hideDetails) {
if (!hideDetails || !previous.body) {
return previous.body
}
return previous.body?.replace(/(<details.*?)\s*\bopen\b(.*>)/g, "$1$2")
return previous.body.replace(/(<details.*?)\s*\bopen\b(.*>)/g, "$1$2")
}
export function commentsEqual(
body: string,
previous: string,
header: string
): boolean {
export function commentsEqual(body: string, previous: string | undefined, header: string): boolean {
const newBody = bodyWithHeader(body, header)
return newBody === previous
}

View file

@ -1,63 +1,60 @@
import {readFileSync} from "node:fs"
import * as core from "@actions/core"
import {ReportedContentClassifiers} from "@octokit/graphql-schema"
import {context} from "@actions/github"
import {readFileSync} from "fs"
import {create} from "@actions/glob"
import type {ReportedContentClassifiers} from "@octokit/graphql-schema"
export const pullRequestNumber =
context?.payload?.pull_request?.number ||
+core.getInput("number", {required: false})
context?.payload?.pull_request?.number || +core.getInput("number", {required: false})
export const repo = buildRepo()
export const header = core.getInput("header", {required: false})
export const append = core.getBooleanInput("append", {required: true})
export const hideDetails = core.getBooleanInput("hide_details", {
required: true
required: true,
})
export const recreate = core.getBooleanInput("recreate", {required: true})
export const hideAndRecreate = core.getBooleanInput("hide_and_recreate", {
required: true
required: true,
})
export const hideClassify = core.getInput("hide_classify", {
required: true
required: true,
}) as ReportedContentClassifiers
export const deleteOldComment = core.getBooleanInput("delete", {required: true})
export const onlyCreateComment = core.getBooleanInput("only_create", {
required: true
required: true,
})
export const onlyUpdateComment = core.getBooleanInput("only_update", {
required: true
required: true,
})
export const skipUnchanged = core.getBooleanInput("skip_unchanged", {
required: true
required: true,
})
export const hideOldComment = core.getBooleanInput("hide", {required: true})
export const githubToken = core.getInput("GITHUB_TOKEN", {required: true})
export const ignoreEmpty = core.getBooleanInput("ignore_empty", {
required: true
required: true,
})
function buildRepo(): {repo: string; owner: string} {
return {
owner: core.getInput("owner", {required: false}) || context.repo.owner,
repo: core.getInput("repo", {required: false}) || context.repo.repo
repo: core.getInput("repo", {required: false}) || context.repo.repo,
}
}
export async function getBody(): Promise<string> {
const pathInput = core.getMultilineInput("path", {required: false})
const followSymbolicLinks = core.getBooleanInput("follow_symbolic_links", {
required: true
required: true,
})
if (pathInput && pathInput.length > 0) {
try {
const globber = await create(pathInput.join("\n"), {
followSymbolicLinks,
matchDirectories: false
matchDirectories: false,
})
return (await globber.glob())
.map(path => readFileSync(path, "utf-8"))
.join("\n")
return (await globber.glob()).map(path => readFileSync(path, "utf-8")).join("\n")
} catch (error) {
if (error instanceof Error) {
core.setFailed(error.message)

View file

@ -1,35 +1,35 @@
import * as core from "@actions/core"
import * as github from "@actions/github"
import {
append,
getBody,
deleteOldComment,
githubToken,
header,
hideAndRecreate,
hideClassify,
hideDetails,
hideOldComment,
pullRequestNumber,
recreate,
repo,
ignoreEmpty,
skipUnchanged,
onlyCreateComment,
onlyUpdateComment
} from "./config"
import {
commentsEqual,
createComment,
deleteComment,
findPreviousComment,
getBodyOf,
minimizeComment,
updateComment,
commentsEqual
} from "./comment"
import {
append,
deleteOldComment,
getBody,
githubToken,
header,
hideAndRecreate,
hideClassify,
hideDetails,
hideOldComment,
ignoreEmpty,
onlyCreateComment,
onlyUpdateComment,
pullRequestNumber,
recreate,
repo,
skipUnchanged,
} from "./config"
async function run(): Promise<undefined> {
if (isNaN(pullRequestNumber) || pullRequestNumber < 1) {
if (Number.isNaN(pullRequestNumber) || pullRequestNumber < 1) {
core.info("no pull request numbers given: skip step")
return
}
@ -59,12 +59,7 @@ async function run(): Promise<undefined> {
}
const octokit = github.getOctokit(githubToken)
const previous = await findPreviousComment(
octokit,
repo,
pullRequestNumber,
header
)
const previous = await findPreviousComment(octokit, repo, pullRequestNumber, header)
core.setOutput("previous_comment_id", previous?.id)
@ -79,13 +74,7 @@ async function run(): Promise<undefined> {
if (onlyUpdateComment) {
return
}
const created = await createComment(
octokit,
repo,
pullRequestNumber,
body,
header
)
const created = await createComment(octokit, repo, pullRequestNumber, body, header)
core.setOutput("created_comment_id", created?.data.id)
return
}
@ -101,12 +90,12 @@ async function run(): Promise<undefined> {
return
}
if (skipUnchanged && commentsEqual(body, previous.body, header)) {
if (skipUnchanged && commentsEqual(body, previous.body || "", header)) {
// don't recreate or update if the message is unchanged
return
}
const previousBody = getBodyOf(previous, append, hideDetails)
const previousBody = getBodyOf({body: previous.body || ""}, append, hideDetails)
if (recreate) {
await deleteComment(octokit, previous.id)
const created = await createComment(
@ -115,7 +104,7 @@ async function run(): Promise<undefined> {
pullRequestNumber,
body,
header,
previousBody
previousBody,
)
core.setOutput("created_comment_id", created?.data.id)
return
@ -123,13 +112,7 @@ async function run(): Promise<undefined> {
if (hideAndRecreate) {
await minimizeComment(octokit, previous.id, hideClassify)
const created = await createComment(
octokit,
repo,
pullRequestNumber,
body,
header
)
const created = await createComment(octokit, repo, pullRequestNumber, body, header)
core.setOutput("created_comment_id", created?.data.id)
return
}

View file

@ -1,12 +1,25 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"target": "es6" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
"outDir": "./lib" /* Redirect output structure to the directory. */,
"rootDir": "./src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */,
"strict": true /* Enable all strict type-checking options. */,
"noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"allowSyntheticDefaultImports": true,
"declaration": false,
"declarationMap": false,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"lib": ["ES2022"],
"module": "NodeNext",
"moduleResolution": "NodeNext",
"newLine": "lf",
"noImplicitAny": true,
"noUnusedLocals": true,
"noUnusedParameters": false,
"pretty": true,
"resolveJsonModule": true,
"strict": true,
"strictNullChecks": true,
"target": "ES2022",
"outDir": "./lib",
"rootDir": "./src"
},
"exclude": ["node_modules", "**/*.test.ts"]
"exclude": ["node_modules", "**/*.test.ts", "vitest.config.ts"]
}

21
vitest.config.ts Normal file
View file

@ -0,0 +1,21 @@
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
clearMocks: true,
coverage: {
provider: 'v8',
reporter: ['json', 'lcov', 'text', 'clover'],
exclude: ['/node_modules/'],
},
environment: 'node',
include: ['**/__tests__/**/*.test.ts'],
globals: true,
testTimeout: 10000,
poolOptions: {
threads: {
maxThreads: 10,
},
},
},
});

View file

@ -1,15 +0,0 @@
module.exports = function(wallaby) {
return {
files: ["src/**/*.js?(x)", "!src/**/*.spec.ts?(x)"],
tests: ["__tests__/**/*.test.ts?(x)"],
env: {
type: "node",
runner: "node"
},
testFramework: "jest",
debug: true
};
};

5214
yarn.lock

File diff suppressed because it is too large Load diff