diff --git a/.claude/rules/typescript.md b/.claude/rules/typescript.md index b624773..b328d67 100644 --- a/.claude/rules/typescript.md +++ b/.claude/rules/typescript.md @@ -1,9 +1,11 @@ --- + paths: - - "**/*.ts" - - "**/*.ts" - - "**/*.mts" - - "**/*.tsx" +- "**/*.ts" +- "**/*.ts" +- "**/*.mts" +- "**/*.tsx" + --- # TypeScript Guidelines @@ -57,29 +59,25 @@ Follow these TypeScript best practices when writing code to ensure type safety a ```typescript interface Task { - id: string; - content: string; - isCompleted: boolean; - dueDate?: Date; - labels: string[]; + id: string + content: string + isCompleted: boolean + dueDate?: Date + labels: string[] } type TaskAction = - | { type: 'ADD_TASK'; payload: Omit } - | { type: 'COMPLETE_TASK'; payload: string } - | { type: 'DELETE_TASK'; payload: string } - | { type: 'UPDATE_TASK'; payload: { id: string; content: string } }; + | { type: 'ADD_TASK'; payload: Omit } + | { type: 'COMPLETE_TASK'; payload: string } + | { type: 'DELETE_TASK'; payload: string } + | { type: 'UPDATE_TASK'; payload: { id: string; content: string } } ``` ### Good: Generic function ```typescript -function filterItems( - items: T[], - property: K, - value: T[K] -): T[] { - return items.filter(item => item[property] === value); +function filterItems(items: T[], property: K, value: T[K]): T[] { + return items.filter((item) => item[property] === value) } ``` @@ -87,13 +85,13 @@ function filterItems( ```typescript function isTask(value: unknown): value is Task { - return ( - typeof value === 'object' && - value !== null && - 'id' in value && - 'content' in value && - 'isCompleted' in value - ); + return ( + typeof value === 'object' && + value !== null && + 'id' in value && + 'content' in value && + 'isCompleted' in value + ) } ``` @@ -101,9 +99,9 @@ function isTask(value: unknown): value is Task { ```typescript interface UserSettings { - readonly id: string; - theme: 'light' | 'dark'; - notifications: boolean; + readonly id: string + theme: 'light' | 'dark' + notifications: boolean } ``` @@ -112,7 +110,7 @@ interface UserSettings { ```typescript // Don't do this function processData(data: any) { - return data.map(item => item.value); + return data.map((item) => item.value) } ``` @@ -121,7 +119,7 @@ function processData(data: any) { ```typescript // Don't do this function calculateTotal(items) { - return items.reduce((total, item) => total + item.price, 0); + return items.reduce((total, item) => total + item.price, 0) } ``` @@ -130,12 +128,12 @@ function calculateTotal(items) { ```typescript // Don't do this - use interface for extensible objects type User = { - id: string; - name: string; + id: string + name: string } type AdminUser = User & { - permissions: string[]; + permissions: string[] } ``` @@ -144,7 +142,7 @@ type AdminUser = User & { ```typescript // Don't do this - use discriminated unions type Action = { - type: string; - payload: any; + type: string + payload: any } ``` diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0171cf0..e4a4615 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -51,7 +51,7 @@ jobs: cache: npm node-version-file: .node-version registry-url: https://npm.pkg.github.com/ - scope: '@doist' + scope: "@doist" - name: Publish package to GitHub Packages registry run: npm publish diff --git a/CHANGELOG.md b/CHANGELOG.md index d2ac037..df7179c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,46 +2,41 @@ ## [1.1.3](https://github.com/Doist/interaction-trace/compare/interaction-trace-v1.1.2...interaction-trace-v1.1.3) (2026-09-30) - ### Bug Fixes -* Update Help Center links to canonical paths ([#200](https://github.com/Doist/interaction-trace/issues/200)) ([eea4007](https://github.com/Doist/interaction-trace/commit/eea40073c1be08c431bb7268dde6616f36bd10a7)) +- Update Help Center links to canonical paths ([#200](https://github.com/Doist/interaction-trace/issues/200)) ([eea4007](https://github.com/Doist/interaction-trace/commit/eea40073c1be08c431bb7268dde6616f36bd10a7)) ## [1.1.2](https://github.com/Doist/interaction-trace/compare/interaction-trace-v1.1.1...interaction-trace-v1.1.2) (2026-04-04) - ### Bug Fixes -* **security:** add --no flag to npm exec in pre-commit hook ([#81](https://github.com/Doist/interaction-trace/issues/81)) ([20ea4fb](https://github.com/Doist/interaction-trace/commit/20ea4fb81c3de975d4f55519e05875c7e570a8c7)) +- **security:** add --no flag to npm exec in pre-commit hook ([#81](https://github.com/Doist/interaction-trace/issues/81)) ([20ea4fb](https://github.com/Doist/interaction-trace/commit/20ea4fb81c3de975d4f55519e05875c7e570a8c7)) ## [1.1.1](https://github.com/Doist/interaction-trace/compare/interaction-trace-v1.1.0...interaction-trace-v1.1.1) (2026-04-04) - ### Bug Fixes -* **security:** replace npx with npm exec in pre-commit hook ([#79](https://github.com/Doist/interaction-trace/issues/79)) ([09d513e](https://github.com/Doist/interaction-trace/commit/09d513ea840958af9c68fa1687715da73b623af9)) +- **security:** replace npx with npm exec in pre-commit hook ([#79](https://github.com/Doist/interaction-trace/issues/79)) ([09d513e](https://github.com/Doist/interaction-trace/commit/09d513ea840958af9c68fa1687715da73b623af9)) ## [1.1.0](https://github.com/Doist/interaction-trace/compare/interaction-trace-v1.0.0...interaction-trace-v1.1.0) (2026-02-06) - ### Features -* allow isEnabled() to return undefined to defer to sampleRate ([#26](https://github.com/Doist/interaction-trace/issues/26)) ([7691707](https://github.com/Doist/interaction-trace/commit/7691707d2defb39a050c7228d180c5d26988d967)) +- allow isEnabled() to return undefined to defer to sampleRate ([#26](https://github.com/Doist/interaction-trace/issues/26)) ([7691707](https://github.com/Doist/interaction-trace/commit/7691707d2defb39a050c7228d180c5d26988d967)) ## 1.0.0 (2026-02-06) - ### Features -* add core interaction trace monitoring implementation ([#8](https://github.com/Doist/interaction-trace/issues/8)) ([9435478](https://github.com/Doist/interaction-trace/commit/943547839054c1f26abfa3ada7219f9904f2ee37)) -* add core types for interaction trace library ([#7](https://github.com/Doist/interaction-trace/issues/7)) ([dc8016b](https://github.com/Doist/interaction-trace/commit/dc8016bcd722e9d197ab9c9de2e345d3bd05f1fc)) -* add release-please and npm publish workflows ([#21](https://github.com/Doist/interaction-trace/issues/21)) ([d118523](https://github.com/Doist/interaction-trace/commit/d118523f56f1812004375d781cdb481324072d7f)) -* **react:** implement useInteractionTrace hook with pre-typed API ([#14](https://github.com/Doist/interaction-trace/issues/14)) ([dca346d](https://github.com/Doist/interaction-trace/commit/dca346d64a458acda8e8014891edc4817318eda0)) -* **types:** support pre-typed APIs via signInteractionTrace.withTypes() ([#11](https://github.com/Doist/interaction-trace/issues/11)) ([c191fe0](https://github.com/Doist/interaction-trace/commit/c191fe06cf463e26d5c30161bd20facebd2374b5)) +- add core interaction trace monitoring implementation ([#8](https://github.com/Doist/interaction-trace/issues/8)) ([9435478](https://github.com/Doist/interaction-trace/commit/943547839054c1f26abfa3ada7219f9904f2ee37)) +- add core types for interaction trace library ([#7](https://github.com/Doist/interaction-trace/issues/7)) ([dc8016b](https://github.com/Doist/interaction-trace/commit/dc8016bcd722e9d197ab9c9de2e345d3bd05f1fc)) +- add release-please and npm publish workflows ([#21](https://github.com/Doist/interaction-trace/issues/21)) ([d118523](https://github.com/Doist/interaction-trace/commit/d118523f56f1812004375d781cdb481324072d7f)) +- **react:** implement useInteractionTrace hook with pre-typed API ([#14](https://github.com/Doist/interaction-trace/issues/14)) ([dca346d](https://github.com/Doist/interaction-trace/commit/dca346d64a458acda8e8014891edc4817318eda0)) +- **types:** support pre-typed APIs via signInteractionTrace.withTypes() ([#11](https://github.com/Doist/interaction-trace/issues/11)) ([c191fe0](https://github.com/Doist/interaction-trace/commit/c191fe06cf463e26d5c30161bd20facebd2374b5)) ### Bug Fixes -* add legacy resolution fields for moduleResolution "node" and Jest ([#24](https://github.com/Doist/interaction-trace/issues/24)) ([6bb3d69](https://github.com/Doist/interaction-trace/commit/6bb3d694e13a8a1d5873bdaf5997e0de62216187)) +- add legacy resolution fields for moduleResolution "node" and Jest ([#24](https://github.com/Doist/interaction-trace/issues/24)) ([6bb3d69](https://github.com/Doist/interaction-trace/commit/6bb3d694e13a8a1d5873bdaf5997e0de62216187)) ## Changelog diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 119cd31..00b72f0 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -9,7 +9,6 @@ We pledge to act and interact in ways that contribute to an open, welcoming, div ## Our Standards Examples of behavior that contributes to a positive environment for our community include: - - Demonstrating empathy and kindness toward other people - Being respectful of differing opinions, viewpoints, and experiences - Giving and gracefully accepting constructive feedback @@ -17,7 +16,6 @@ Examples of behavior that contributes to a positive environment for our communit - Focusing on what is best not just for us as individuals, but for the overall community Examples of unacceptable behavior include: - - The use of sexualized language or imagery, and sexual attention or advances of any kind - Trolling, insulting or derogatory comments, and personal or political attacks - Public or private harassment diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 943f37e..639e245 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -27,7 +27,6 @@ If you intend to change the public API, or make any non-trivial changes to the i ## Your First Pull Request Working on your first Pull Request? You can learn how from this free video series: - - [How to Contribute to an Open Source Project on GitHub](https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github) If you decide to fix an issue, please be sure to check the comment thread in case somebody is already working on a fix. If nobody is working on it at the moment, please leave a comment stating that you intend to work on it so other people don't accidentally duplicate your effort. @@ -35,7 +34,6 @@ If you decide to fix an issue, please be sure to check the comment thread in cas ## Project Setup Before you can contribute to the codebase, you will need to fork the interaction-trace repository, and the following steps will help you hit the ground running: - 1. Fork the repository (click the Fork button at the top right of [this page](https://github.com/Doist/interaction-trace)); 2. Clone your fork locally; @@ -50,7 +48,6 @@ cd interaction-trace ## Development Workflow After cloning interaction-trace and installing all dependencies, several commands are at your disposal: - - `npm run build`: Builds the `@doist/interaction-trace` package for publishing to [npm](https://www.npmjs.com/); - `npm run check`: Validates code quality and types with Biome and TypeScript; - `npm run fix`: Automatically fixes linting issues with Biome; @@ -66,7 +63,6 @@ The release process for interaction-trace is automated with [release-please](htt Pull requests are actively monitored, and only need the approval of one or more core team members. We will review your pull request and either merge it, request changes to it, or close it with an explanation. Before submitting a pull request, please take the following into consideration: - - Fork [the repository](https://github.com/Doist/interaction-trace) and create your branch from `main`; - Follow the [Commit Message Guidelines](#commit-message-guidelines) below; - Add tests for code that should be tested (like bug fixes); @@ -78,7 +74,6 @@ Before submitting a pull request, please take the following into consideration: #### Atomic Commits If possible, make [atomic commits](https://en.wikipedia.org/wiki/Atomic_commit), which means: - - A commit should not mix whitespace and/or code style changes with functional code changes; - A commit should contain exactly one self-contained functional change; - A commit should not create an inconsistent state (e.g., test errors, linting errors, partial fix, etc.). diff --git a/README.md b/README.md index f149ea8..04ecb37 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,8 @@ const cleanup = initInteractionTraceMonitor({ enrollment: { sampleRate: 10, // 10% of sessions isEnabled: () => { - if (user.isInternal) return true // force enable for internal users - return undefined // everyone else: use sampleRate + if (user.isInternal) return true // force enable for internal users + return undefined // everyone else: use sampleRate }, }, abortSignal: controller.signal, // Optional: auto-cleanup when aborted @@ -64,9 +64,9 @@ type MyTraces = { const signAppTrace = signInteractionTrace.withTypes() -signAppTrace('open modal', { modalId: 'settings' }) // ✅ Works -signAppTrace('opne modal', { modalId: 'settings' }) // ❌ Error: typo caught -signAppTrace('open modal', { formId: 'x' }) // ❌ Error: wrong details +signAppTrace('open modal', { modalId: 'settings' }) // ✅ Works +signAppTrace('opne modal', { modalId: 'settings' }) // ❌ Error: typo caught +signAppTrace('open modal', { formId: 'x' }) // ❌ Error: wrong details ``` ### React Integration @@ -102,11 +102,11 @@ function SettingsModal() { ### Enrollment Options -| Option | Type | Description | -|--------|------|-------------| -| `sampleRate` | `number` | Percentage of sessions to enroll (0-100) | -| `persistKey` | `string` | sessionStorage key for enrollment state. Default: `'interaction-trace-enrolled'` | -| `isEnabled` | `() => boolean \| undefined` | Override function. `true`/`false` override sampling, `undefined` defers to `sampleRate` | +| Option | Type | Description | +| ------------ | ---------------------------- | --------------------------------------------------------------------------------------- | +| `sampleRate` | `number` | Percentage of sessions to enroll (0-100) | +| `persistKey` | `string` | sessionStorage key for enrollment state. Default: `'interaction-trace-enrolled'` | +| `isEnabled` | `() => boolean \| undefined` | Override function. `true`/`false` override sampling, `undefined` defers to `sampleRate` | ### Reporter Interface @@ -114,16 +114,16 @@ The reporter receives a `TraceReport` object: ```typescript type TraceReport = { - id: string // Unique trace ID (crypto.randomUUID()) - duration: number // Total LoAF duration (ms) - inp: number | undefined // INP value if captured (ms) + id: string // Unique trace ID (crypto.randomUUID()) + duration: number // Total LoAF duration (ms) + inp: number | undefined // INP value if captured (ms) details: { - name: string // Trace name from signInteractionTrace() - [key: string]: unknown // Additional details + name: string // Trace name from signInteractionTrace() + [key: string]: unknown // Additional details } device: { - memoryGB: string // Bucketed: "0.25-2", "3-7", "8-plus", or "unknown" - cpuCores: string // Bucketed: "1-8", "9-16", "17-plus" + memoryGB: string // Bucketed: "0.25-2", "3-7", "8-plus", or "unknown" + cpuCores: string // Bucketed: "1-8", "9-16", "17-plus" } } ``` diff --git a/package-lock.json b/package-lock.json index fca7c03..8736e32 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.1.3", "license": "MIT", "devDependencies": { - "@biomejs/biome": "2.5.15", + "@biomejs/biome": "2.6.2", "@doist/tsconfig": "2.0.1", "@rollup/plugin-node-resolve": "16.0.3", "@rollup/plugin-typescript": "12.3.1", @@ -72,9 +72,9 @@ } }, "node_modules/@biomejs/biome": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.5.15.tgz", - "integrity": "sha512-WZTW4slm/pdkh92K6t/3aEN++44JD1PQ7squ7RCMLI1flHGl43DVOIGXvCjHiZgBMO1V4uYxoFNtqrIA4qGuIQ==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.6.2.tgz", + "integrity": "sha512-JLTFAFF9vfJcWwLhwuL4ZHflLg+XfTEC4IUnAlJRX1cMRt57++Xd1Ysb9Fdmlh9YUrvyCXfPEHjjEIqKJGdPKw==", "dev": true, "license": "MIT OR Apache-2.0", "bin": { @@ -88,20 +88,56 @@ "url": "https://opencollective.com/biome" }, "optionalDependencies": { - "@biomejs/cli-darwin-arm64": "2.5.15", - "@biomejs/cli-darwin-x64": "2.5.15", - "@biomejs/cli-linux-arm64": "2.5.15", - "@biomejs/cli-linux-arm64-musl": "2.5.15", - "@biomejs/cli-linux-x64": "2.5.15", - "@biomejs/cli-linux-x64-musl": "2.5.15", - "@biomejs/cli-win32-arm64": "2.5.15", - "@biomejs/cli-win32-x64": "2.5.15" + "@biomejs/cli-android-arm64": "2.6.2", + "@biomejs/cli-android-x64": "2.6.2", + "@biomejs/cli-darwin-arm64": "2.6.2", + "@biomejs/cli-darwin-x64": "2.6.2", + "@biomejs/cli-linux-arm64": "2.6.2", + "@biomejs/cli-linux-arm64-musl": "2.6.2", + "@biomejs/cli-linux-x64": "2.6.2", + "@biomejs/cli-linux-x64-musl": "2.6.2", + "@biomejs/cli-win32-arm64": "2.6.2", + "@biomejs/cli-win32-x64": "2.6.2" + } + }, + "node_modules/@biomejs/cli-android-arm64": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-android-arm64/-/cli-android-arm64-2.6.2.tgz", + "integrity": "sha512-dMpdpH7zFEL5FxuIA9LJW+RoNyC3oeDB7PJyjqVVwtMNoKB5uo8OZYmrVSBikn71txzYwy/3xga7UME6bJQZ6A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT OR Apache-2.0", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-android-x64": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-android-x64/-/cli-android-x64-2.6.2.tgz", + "integrity": "sha512-XCwEhPBGYzuRA502dRkCcQ+5cefQwuxQR7f9wa4do92dvIcuBL6VMLMFB/fL9hlpZ4dGSfHdpGFSIDlp52mg0A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT OR Apache-2.0", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.21.3" } }, "node_modules/@biomejs/cli-darwin-arm64": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.5.15.tgz", - "integrity": "sha512-BZVzFhJ/mUvTLMYbc9x6el0o2Uv5zP7bACYyhFb6fSc1giroXm7PL0a5KqMJ9F+/BnkYRjagD/ROSDVOZ6eapg==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.6.2.tgz", + "integrity": "sha512-rpXtabRgyZNz3aCjd/cRoSZGYi92R9eAXdUUe1sigIsRDyfMwgThaa98Yxt1fiZ7mxquqkAyIHIo08N/e1ToBA==", "cpu": [ "arm64" ], @@ -116,9 +152,9 @@ } }, "node_modules/@biomejs/cli-darwin-x64": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.5.15.tgz", - "integrity": "sha512-V5Kw63V+fVGNFhFrizDxMbGXAzZCh8kYzJpy3GI6gTapWDg7bZK9oYC9CbVgQSEdTnupz0U5Efz8Ev+5vdBBXw==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.6.2.tgz", + "integrity": "sha512-7GGzlm1GxUKoQ9CNV8tQZ+XXad4sz+v+uzNsWlhaGjsnZqUOVBw1OmAMpG3uNV/Mr0UrCpRJvSK0qvfuqSQOjg==", "cpu": [ "x64" ], @@ -133,9 +169,9 @@ } }, "node_modules/@biomejs/cli-linux-arm64": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.5.15.tgz", - "integrity": "sha512-XaG7P7eeSLYETD3K9grfB0mQmpLQZjygdbsxekWBJAg4am79fGAtRpfRyNnTvXB2fZFNnJZG3nXm7HBat0+VUw==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.6.2.tgz", + "integrity": "sha512-Qs4CofCE8MdkjZFfEjswh2NAcbyQ7IVYtGSzQBvLqFlla/CSXroGbktUFndWG/kVSTywadauzAspYWtSfqAc2g==", "cpu": [ "arm64" ], @@ -153,9 +189,9 @@ } }, "node_modules/@biomejs/cli-linux-arm64-musl": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.5.15.tgz", - "integrity": "sha512-tGzZUTcJCV7tj5Adh/Gn6nR4MycqA3iohq2LEcrarAgRBkU0h0OKd2UzCRkOsOYOuUGaUJb4YmqRqyy2feGGSw==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.6.2.tgz", + "integrity": "sha512-I+FYCLVSmR3cYfKcQ+KNeLOZ5w0wRd9fQFlw3JbSvy7bkegvTqdHaBRRcJzHQB/1ldldTLIcG21ka6X2cTWmJw==", "cpu": [ "arm64" ], @@ -173,9 +209,9 @@ } }, "node_modules/@biomejs/cli-linux-x64": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.5.15.tgz", - "integrity": "sha512-xE4iEW/3LqlYj9GFgGrFsFSH51dEEpUbYWBfeOv0q87WkUDxK2o/HhreSb7qMJqck70RVM6Lg96hgedcAYcOkA==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.6.2.tgz", + "integrity": "sha512-FJKsb95418139xDdbv9XnNJsIIwvsgR21Of0aE9B9U+nQlOtRq5gJl2ps0jZUmYBxTaOlP9BKo8N+Ff8+Rui1g==", "cpu": [ "x64" ], @@ -193,9 +229,9 @@ } }, "node_modules/@biomejs/cli-linux-x64-musl": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.5.15.tgz", - "integrity": "sha512-IlxUcyxilVGPsE008x13pWdkTbU3nQpP2i9b5UrbOYj6goBkKsRX1XB7yJLcV+O1H9LBchIIm4adOaVLZBX0ZQ==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.6.2.tgz", + "integrity": "sha512-wnjEXAK2pDd2j8r9gKI3L+44sIxjkYzS5aHmD1+K57RNJ3sFyT4n22NH6QFPqqeVdRBxN54H3kckUUCrFKCcJw==", "cpu": [ "x64" ], @@ -213,9 +249,9 @@ } }, "node_modules/@biomejs/cli-win32-arm64": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.5.15.tgz", - "integrity": "sha512-2kPKzhNlm8C+Ru3GcO0Me2ODkCBLrVOUNuyi84RJyWDVKAA4+Kjj3jMjL938lF6BRfvltC4vB2nPY9SvN51Ovg==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.6.2.tgz", + "integrity": "sha512-/PEOo6evlgrQOfKhMNtC/4Gk8ai3hySXXEtjUzCqZe/4iAbMdqelpp7qvZEDyLxlZS+BjOMQFpq2gXI/BPaAqw==", "cpu": [ "arm64" ], @@ -230,9 +266,9 @@ } }, "node_modules/@biomejs/cli-win32-x64": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.5.15.tgz", - "integrity": "sha512-yAzh4UqEImV6Hcy0zjUqNfJAsUhoD64FBQCdTG8Md/Z2wQeVP/ZmJ3XRYAs1g8J9fjTFyl2fCtc5FB5til47+g==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.6.2.tgz", + "integrity": "sha512-FVlWD+mDDz8nN5LWKRWUhhb7wKIK0VE3oXQvQBX7Fwwj00CvqMVhMyiz1iz8O5aZGmnkhFlKSwJPrUvMh5prQw==", "cpu": [ "x64" ], diff --git a/package.json b/package.json index 3961a1c..fbeba7f 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ } }, "devDependencies": { - "@biomejs/biome": "2.5.15", + "@biomejs/biome": "2.6.2", "@doist/tsconfig": "2.0.1", "@rollup/plugin-node-resolve": "16.0.3", "@rollup/plugin-typescript": "12.3.1",