build(deps): bump the root-deps group with 36 updates - #39
Conversation
|
@dependabot rebase |
|
Looks like this PR is already up-to-date with main! If you'd still like to recreate it from scratch, overwriting any edits, you can request |
Bumps the root-deps group with 36 updates: | Package | From | To | | --- | --- | --- | | [@angular/compiler](https://github.com/angular/angular/tree/HEAD/packages/compiler) | `19.2.22` | `21.2.15` | | [@angular/core](https://github.com/angular/angular/tree/HEAD/packages/core) | `19.2.22` | `21.2.15` | | [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) | `13.1.0` | `21.0.2` | | [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) | `13.1.0` | `21.0.2` | | [@commitlint/config-lerna-scopes](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-lerna-scopes) | `13.1.0` | `21.0.2` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `7.18.0` | `8.60.1` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `7.18.0` | `8.60.1` | | [esbuild](https://github.com/evanw/esbuild) | `0.25.0` | `0.28.0` | | [eslint](https://github.com/eslint/eslint) | `8.57.1` | `10.4.1` | | [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) | `9.1.2` | `10.1.8` | | [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) | `5.5.5` | `5.5.6` | | [format-package](https://github.com/camacho/format-package) | `6.1.0` | `7.0.0` | | [husky](https://github.com/typicode/husky) | `7.0.1` | `9.1.7` | | [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) | `29.7.0` | `30.4.2` | | [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) | `29.5.14` | `30.0.0` | | [lint-staged](https://github.com/lint-staged/lint-staged) | `11.1.2` | `17.0.7` | | [pinst](https://github.com/typicode/pinst) | `2.1.6` | `3.0.0` | | [ts-jest](https://github.com/kulshekhar/ts-jest) | `29.4.9` | `29.4.11` | | [typescript](https://github.com/microsoft/TypeScript) | `5.7.3` | `6.0.3` | | [axios](https://github.com/axios/axios) | `1.16.0` | `1.16.1` | | [crypto-hash](https://github.com/sindresorhus/crypto-hash) | `1.3.0` | `4.0.1` | | [object-to-formdata](https://github.com/therealparmesh/object-to-formdata) | `4.1.0` | `4.5.1` | | [zod](https://github.com/colinhacks/zod) | `3.25.76` | `4.4.3` | | [os-name](https://github.com/sindresorhus/os-name) | `4.0.1` | `7.0.0` | | [@angular-devkit/build-angular](https://github.com/angular/angular-cli) | `19.2.25` | `21.2.13` | | [@angular/cli](https://github.com/angular/angular-cli) | `19.2.25` | `21.2.13` | | [@angular/compiler-cli](https://github.com/angular/angular/tree/HEAD/packages/compiler-cli) | `19.2.22` | `21.2.15` | | [ng-packagr](https://github.com/ng-packagr/ng-packagr) | `19.2.2` | `21.2.5` | | [zone.js](https://github.com/angular/angular/tree/HEAD/packages/zone.js) | `0.15.1` | `0.16.2` | | [react](https://github.com/facebook/react/tree/HEAD/packages/react) | `18.3.1` | `19.2.7` | | [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `18.3.3` | `19.2.16` | | [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) | `18.3.1` | `19.2.7` | | [@stencil/core](https://github.com/stenciljs/core) | `4.43.4` | `4.43.5` | | [@stencil/react-output-target](https://github.com/stenciljs/output-targets) | `0.5.3` | `1.5.3` | | [@stencil/vue-output-target](https://github.com/stenciljs/output-targets) | `0.8.8` | `0.13.2` | | [vue](https://github.com/vuejs/core) | `3.4.30` | `3.5.35` | Updates `@angular/compiler` from 19.2.22 to 21.2.15 - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/v21.2.15/packages/compiler) Updates `@angular/core` from 19.2.22 to 21.2.15 - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/v21.2.15/packages/core) Updates `@commitlint/cli` from 13.1.0 to 21.0.2 - [Release notes](https://github.com/conventional-changelog/commitlint/releases) - [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/commitlint/commits/v21.0.2/@commitlint/cli) Updates `@commitlint/config-conventional` from 13.1.0 to 21.0.2 - [Release notes](https://github.com/conventional-changelog/commitlint/releases) - [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/commitlint/commits/v21.0.2/@commitlint/config-conventional) Updates `@commitlint/config-lerna-scopes` from 13.1.0 to 21.0.2 - [Release notes](https://github.com/conventional-changelog/commitlint/releases) - [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-lerna-scopes/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/commitlint/commits/v21.0.2/@commitlint/config-lerna-scopes) Updates `@typescript-eslint/eslint-plugin` from 7.18.0 to 8.60.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.60.1/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 7.18.0 to 8.60.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.60.1/packages/parser) Updates `esbuild` from 0.25.0 to 0.28.0 - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2025.md) - [Commits](evanw/esbuild@v0.25.0...v0.28.0) Updates `eslint` from 8.57.1 to 10.4.1 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v8.57.1...v10.4.1) Updates `eslint-config-prettier` from 9.1.2 to 10.1.8 - [Release notes](https://github.com/prettier/eslint-config-prettier/releases) - [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/eslint-config-prettier/commits/v10.1.8) Updates `eslint-plugin-prettier` from 5.5.5 to 5.5.6 - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/main/CHANGELOG.md) - [Commits](prettier/eslint-plugin-prettier@v5.5.5...v5.5.6) Updates `format-package` from 6.1.0 to 7.0.0 - [Changelog](https://github.com/camacho/format-package/blob/main/CHANGELOG.md) - [Commits](https://github.com/camacho/format-package/commits) Updates `husky` from 7.0.1 to 9.1.7 - [Release notes](https://github.com/typicode/husky/releases) - [Commits](typicode/husky@v7.0.1...v9.1.7) Updates `jest` from 29.7.0 to 30.4.2 - [Release notes](https://github.com/jestjs/jest/releases) - [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/jestjs/jest/commits/v30.4.2/packages/jest) Updates `@types/jest` from 29.5.14 to 30.0.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest) Updates `lint-staged` from 11.1.2 to 17.0.7 - [Release notes](https://github.com/lint-staged/lint-staged/releases) - [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md) - [Commits](lint-staged/lint-staged@v11.1.2...v17.0.7) Updates `pinst` from 2.1.6 to 3.0.0 - [Release notes](https://github.com/typicode/pinst/releases) - [Commits](typicode/pinst@v2.1.6...v3.0.0) Updates `ts-jest` from 29.4.9 to 29.4.11 - [Release notes](https://github.com/kulshekhar/ts-jest/releases) - [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md) - [Commits](kulshekhar/ts-jest@v29.4.9...v29.4.11) Updates `typescript` from 5.7.3 to 6.0.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v5.7.3...v6.0.3) Updates `axios` from 1.16.0 to 1.16.1 - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.16.0...v1.16.1) Updates `crypto-hash` from 1.3.0 to 4.0.1 - [Release notes](https://github.com/sindresorhus/crypto-hash/releases) - [Commits](sindresorhus/crypto-hash@v1.3.0...v4.0.1) Updates `object-to-formdata` from 4.1.0 to 4.5.1 - [Commits](https://github.com/therealparmesh/object-to-formdata/commits) Updates `zod` from 3.25.76 to 4.4.3 - [Release notes](https://github.com/colinhacks/zod/releases) - [Commits](colinhacks/zod@v3.25.76...v4.4.3) Updates `os-name` from 4.0.1 to 7.0.0 - [Release notes](https://github.com/sindresorhus/os-name/releases) - [Commits](sindresorhus/os-name@v4.0.1...v7.0.0) Updates `@angular-devkit/build-angular` from 19.2.25 to 21.2.13 - [Release notes](https://github.com/angular/angular-cli/releases) - [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md) - [Commits](angular/angular-cli@v19.2.25...v21.2.13) Updates `@angular/cli` from 19.2.25 to 21.2.13 - [Release notes](https://github.com/angular/angular-cli/releases) - [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md) - [Commits](angular/angular-cli@v19.2.25...v21.2.13) Updates `@angular/compiler-cli` from 19.2.22 to 21.2.15 - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/v21.2.15/packages/compiler-cli) Updates `ng-packagr` from 19.2.2 to 21.2.5 - [Release notes](https://github.com/ng-packagr/ng-packagr/releases) - [Changelog](https://github.com/ng-packagr/ng-packagr/blob/21.2.5/CHANGELOG.md) - [Commits](ng-packagr/ng-packagr@19.2.2...21.2.5) Updates `zone.js` from 0.15.1 to 0.16.2 - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/main/packages/zone.js/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/zone.js-0.16.2/packages/zone.js) Updates `react` from 18.3.1 to 19.2.7 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.7/packages/react) Updates `@types/react` from 18.3.3 to 19.2.16 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Updates `react-dom` from 18.3.1 to 19.2.7 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.7/packages/react-dom) Updates `@stencil/core` from 4.43.4 to 4.43.5 - [Release notes](https://github.com/stenciljs/core/releases) - [Changelog](https://github.com/stenciljs/core/blob/main/CHANGELOG.md) - [Commits](stenciljs/core@v4.43.4...v4.43.5) Updates `@stencil/react-output-target` from 0.5.3 to 1.5.3 - [Release notes](https://github.com/stenciljs/output-targets/releases) - [Changelog](https://github.com/stenciljs/output-targets/blob/main/CHANGELOG.md) - [Commits](https://github.com/stenciljs/output-targets/commits) Updates `@stencil/vue-output-target` from 0.8.8 to 0.13.2 - [Release notes](https://github.com/stenciljs/output-targets/releases) - [Changelog](https://github.com/stenciljs/output-targets/blob/main/CHANGELOG.md) - [Commits](https://github.com/stenciljs/output-targets/compare/@stencil/vue-output-target@0.8.8...@stencil/vue-output-target@0.13.2) Updates `vue` from 3.4.30 to 3.5.35 - [Release notes](https://github.com/vuejs/core/releases) - [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md) - [Commits](vuejs/core@v3.4.30...v3.5.35) --- updated-dependencies: - dependency-name: "@angular/compiler" dependency-version: 21.2.15 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: "@angular/core" dependency-version: 21.2.15 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: "@commitlint/cli" dependency-version: 21.0.2 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: "@commitlint/config-conventional" dependency-version: 21.0.2 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: "@commitlint/config-lerna-scopes" dependency-version: 21.0.2 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.60.1 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: "@typescript-eslint/parser" dependency-version: 8.60.1 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: esbuild dependency-version: 0.28.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: root-deps - dependency-name: eslint dependency-version: 10.4.1 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: eslint-config-prettier dependency-version: 10.1.8 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: eslint-plugin-prettier dependency-version: 5.5.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: root-deps - dependency-name: format-package dependency-version: 7.0.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: husky dependency-version: 9.1.7 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: jest dependency-version: 30.4.2 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: "@types/jest" dependency-version: 30.0.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: lint-staged dependency-version: 17.0.7 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: pinst dependency-version: 3.0.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: ts-jest dependency-version: 29.4.11 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: root-deps - dependency-name: typescript dependency-version: 6.0.3 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: axios dependency-version: 1.16.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: root-deps - dependency-name: crypto-hash dependency-version: 4.0.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: root-deps - dependency-name: object-to-formdata dependency-version: 4.5.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: root-deps - dependency-name: zod dependency-version: 4.4.3 dependency-type: direct:production update-type: version-update:semver-major dependency-group: root-deps - dependency-name: os-name dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: root-deps - dependency-name: "@angular-devkit/build-angular" dependency-version: 21.2.13 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: "@angular/cli" dependency-version: 21.2.13 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: "@angular/compiler-cli" dependency-version: 21.2.15 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: ng-packagr dependency-version: 21.2.5 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: zone.js dependency-version: 0.16.2 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: root-deps - dependency-name: react dependency-version: 19.2.7 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: "@types/react" dependency-version: 19.2.16 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: react-dom dependency-version: 19.2.7 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: "@stencil/core" dependency-version: 4.43.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: root-deps - dependency-name: "@stencil/react-output-target" dependency-version: 1.5.3 dependency-type: direct:development update-type: version-update:semver-major dependency-group: root-deps - dependency-name: "@stencil/vue-output-target" dependency-version: 0.13.2 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: root-deps - dependency-name: vue dependency-version: 3.5.35 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: root-deps ... Signed-off-by: dependabot[bot] <support@github.com>
ce6ff49 to
eeca25c
Compare
|
@coderabbitai review |
✅ Action performedReview finished.
|
📝 WalkthroughWalkthroughThis PR modernizes the Mifiel JavaScript monorepo tooling stack: ESLint migrates to flat config format, TypeScript 6 compatibility is established, major dependencies (Jest, Angular, Stencil targets) are upgraded, API client libraries gain improved dependency handling and stricter validation, and widget component generation is refactored with simplified Yarn and Husky configuration. ChangesTooling & Configuration Modernization
API Client Library Improvements
Widget Components & Stencil Configuration
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 4
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
packages/api-client/src/Document/Document.spec.ts (1)
85-87:⚠️ Potential issue | 🟡 Minor | ⚡ Quick winPreserve the Buffer slice in this
Uint8Arraytest case.Line 86 builds the typed array with
new Uint8Array(file.buffer), which dropsfile.byteOffsetandfile.byteLength. On pooled Node buffers that can include unrelated bytes, so this assertion becomes flaky even thoughDocument.getHash()correctly respects view boundaries inpackages/api-client/src/Document/Document.tsLines 35-40.Suggested fix
- const hash = await Document.getHash(new Uint8Array(file.buffer)); + const hash = await Document.getHash( + new Uint8Array(file.buffer, file.byteOffset, file.byteLength) + );🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@packages/api-client/src/Document/Document.spec.ts` around lines 85 - 87, The test creates a Uint8Array with new Uint8Array(file.buffer) which ignores file.byteOffset/byteLength and makes the hash assertion flaky on pooled Node Buffers; update the test that calls Document.getHash to construct the typed view that preserves the original slice (use the buffer + byteOffset/byteLength or create the Uint8Array from the slice) so the exact bytes fed to Document.getHash match the original file view; this touches the spec around Document.getHash and should ensure the test uses file.byteOffset and file.byteLength when building the Uint8Array.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@package.json`:
- Around line 45-54: The ts-jest devDependency is pinned to 29.2.5 which does
not support Jest 30 + TypeScript 6; update the ts-jest entry in package.json
(the "ts-jest" dependency) to a version that officially supports Jest 30 and TS6
(e.g., bump to >=29.4.0) or alternatively align Jest/TypeScript to a supported
range; then run install and verify tests/CI transforms to ensure the new ts-jest
version works with the existing jest and typescript versions.
In `@packages/widget-angular/package.json`:
- Around line 48-57: The widget-angular package currently depends on
"typescript": "~6.0.3" which is incompatible with Angular 21; update the
typescript entry in packages/widget-angular/package.json to a 5.9.x range that
satisfies Angular 21 (e.g., set typescript to "~5.9.0" or the semver range
">=5.9.0 <6.0.0"), then reinstall/update the lockfile so the workspace resolves
the wrapper to TS 5.9.x (also ensure the root workspace resolution or root
package.json does not force 6.x); after changing the typescript field, run your
install and verify ng-packagr/ng build for the widget-angular package succeeds.
In `@packages/widget-stencil/scripts/patch-angular-proxies.cjs`:
- Around line 8-18: The patchFile helper currently silently skips when a file or
regex replacement is a no-op; change it to fail fast: in patchFile, after
computing next = mutator(src) if next === src throw a descriptive Error (include
filePath and that the expected replacement pattern was not found) instead of
warning/returning, and keep the existing write behavior when the file changed;
also update the other usages in this script (the calls covered by lines ~21-53)
to handle or propagate that exception as appropriate so missing patches are
explicit failures.
In `@tsconfig.json`:
- Line 27: The base tsconfig currently sets the "ignoreDeprecations" escape
hatch which silences TS6 deprecation diagnostics for all inheritors; remove
"ignoreDeprecations": "6.0" from the shared base tsconfig and either (a) update
the deprecated compiler options in the base so no packages need the escape
hatch, or (b) move the "ignoreDeprecations": "6.0" entry into only the specific
leaf tsconfig(s) that still require it so the suppression is scoped rather than
global.
---
Outside diff comments:
In `@packages/api-client/src/Document/Document.spec.ts`:
- Around line 85-87: The test creates a Uint8Array with new
Uint8Array(file.buffer) which ignores file.byteOffset/byteLength and makes the
hash assertion flaky on pooled Node Buffers; update the test that calls
Document.getHash to construct the typed view that preserves the original slice
(use the buffer + byteOffset/byteLength or create the Uint8Array from the slice)
so the exact bytes fed to Document.getHash match the original file view; this
touches the spec around Document.getHash and should ensure the test uses
file.byteOffset and file.byteLength when building the Uint8Array.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 93e9a4a5-1692-4799-8843-5af937b9f4ce
⛔ Files ignored due to path filters (1)
yarn.lockis excluded by!**/yarn.lock,!**/*.lock
📒 Files selected for processing (49)
.eslintignore.eslintrc.js.github/workflows/ci.yml.github/workflows/publish.yml.husky/commit-msg.husky/pre-commit.yarnrc.ymlcommitlint.config.jseslint.config.jsmise.tomlpackage.jsonpackages/api-client-auth/jest.config.jspackages/api-client-auth/package.jsonpackages/api-client-auth/src/Config/Config.spec.tspackages/api-client-auth/src/Service/Service.spec.tspackages/api-client-auth/src/Service/Service.tspackages/api-client-auth/src/headers/headers.tspackages/api-client-auth/src/interceptors/hmac-auth-interceptor/hmac-auth-interceptor.spec.tspackages/api-client-auth/tsconfig.prod.jsonpackages/api-client/jest.config.jspackages/api-client/package.jsonpackages/api-client/src/Certificate/Certificate.spec.tspackages/api-client/src/Document/Document.spec.tspackages/api-client/src/Document/Document.tspackages/api-client/src/Document/document.types.tspackages/api-client/src/Model/Model.spec.tspackages/api-client/src/Template/Template.spec.tspackages/api-client/src/Template/template.types.tspackages/api-client/src/User/User.spec.tspackages/api-client/tsconfig.prod.jsonpackages/models/package.jsonpackages/models/src/response/DocumentResponse.tspackages/widget-angular/.eslintrc.jspackages/widget-angular/package.jsonpackages/widget-angular/tsconfig.jsonpackages/widget-react/.eslintrc.jspackages/widget-react/lib/components/stencil-generated/components.tspackages/widget-react/lib/components/stencil-generated/index.tspackages/widget-react/package.jsonpackages/widget-react/tsconfig.jsonpackages/widget-stencil/.eslintrc.jspackages/widget-stencil/package.jsonpackages/widget-stencil/scripts/patch-angular-proxies.cjspackages/widget-stencil/stencil.config.tspackages/widget-stencil/tsconfig.jsonpackages/widget-vue/.eslintrc.jspackages/widget-vue/lib/components.tspackages/widget-vue/tsconfig.jsontsconfig.json
💤 Files with no reviewable changes (13)
- packages/api-client-auth/tsconfig.prod.json
- packages/widget-angular/.eslintrc.js
- .eslintrc.js
- .eslintignore
- packages/widget-stencil/.eslintrc.js
- packages/api-client/tsconfig.prod.json
- .husky/commit-msg
- packages/api-client/jest.config.js
- packages/widget-react/.eslintrc.js
- packages/widget-vue/.eslintrc.js
- packages/api-client-auth/jest.config.js
- packages/widget-stencil/tsconfig.json
- packages/api-client-auth/src/Service/Service.ts
| "jest": "^30.4.2", | ||
| "lerna": "9.0.7", | ||
| "lint-staged": "11.1.2", | ||
| "pinst": "2.1.6", | ||
| "lint-staged": "17.0.7", | ||
| "pinst": "3.0.0", | ||
| "prettier": "^3.3.3", | ||
| "rimraf": "^6.0.1", | ||
| "rxjs": "~7.8.1", | ||
| "ts-jest": "^29.2.5", | ||
| "typescript": "~5.7.3" | ||
| "typescript": "~6.0.3", | ||
| "typescript-eslint": "^8.60.1" |
There was a problem hiding this comment.
🧩 Analysis chain
🌐 Web query:
For ts-jest 29.2.5, what Jest major versions and TypeScript versions are officially supported? Does it support Jest 30.x and TypeScript 6.0.x?
💡 Result:
For ts-jest version 29.2.5, the supported versions are as follows: Jest: Officially, ts-jest 29.2.5 requires Jest 29 [1]. It does not officially support Jest 30.x. Support for Jest 30 was introduced in later versions of ts-jest (starting with version 29.4.0) [2][3]. TypeScript: The ts-jest 29.x line generally supports TypeScript versions >=4.3 and <7 [2]. Specifically, version 29.2.5 was tested against various 5.x releases, including 5.4 and 5.5 [4][5]. It does not have explicit official support for TypeScript 6.0.x, as that version was not available at the time of its release. In summary, ts-jest 29.2.5 is designed for the Jest 29 ecosystem and does not officially support Jest 30.x or TypeScript 6.0.x [1][2]. Users requiring support for newer major versions should upgrade to a later version of ts-jest [2][3].
Citations:
- 1: https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md
- 2: https://registry.npmjs.org/ts-jest
- 3: [Feature]: Upgrade to Jest 30 kulshekhar/ts-jest#4891
- 4: kulshekhar/ts-jest@v29.1.2...v29.2.5
- 5: kulshekhar/ts-jest@v29.1.1...v29.2.5
🌐 Web query:
ts-jest 29.2.5 TypeScript 6.0 compatibility officially supported
💡 Result:
As of June 3, 2026, ts-jest version 29.2.5 does not officially support TypeScript 6.0. While ts-jest has added support for TypeScript 6.0 in its repository [1][2], this support is not included in version 29.2.5, which was published on August 23, 2024 [3][4], well before the release of TypeScript 6.0 in March 2026 [5][6]. The official peer dependency requirement for ts-jest version 29.2.5 specifies typescript as >=4.3 <6 [7]. To gain support for TypeScript 6.0, you must update to a later version of ts-jest that includes the necessary compatibility changes (e.g., commit eda517d [1] and subsequent patches [2]).
Citations:
- 1: kulshekhar/ts-jest@eda517d
- 2: kulshekhar/ts-jest@3941818
- 3: https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md
- 4: kulshekhar/ts-jest@v29.2.4...v29.2.5
- 5: https://github.com/microsoft/TypeScript/releases/tag/v6.0.2
- 6: https://visualstudiomagazine.com/articles/2026/03/23/typescript-6-0-ships-as-final-javascript-based-release-clears-path-for-go-native-7-0.aspx
- 7: https://registry.npmjs.org/ts-jest
🌐 Web query:
ts-jest Jest 30 support introduced in which version (e.g., 29.4.0) and official statement
💡 Result:
Support for Jest 30 was introduced in ts-jest version 29.4.0, which was released on June 11, 2025 [1]. The official statement and technical details regarding this support were documented in the project's CHANGELOG [1] and accompanying pull request [2]. The release updated peer dependencies to allow compatibility with Jest 30 while maintaining support for Jest 29 [1][2][3]. The project maintainers noted that because Jest 30 did not fundamentally impact the existing ts-jest codebase, they were able to support both major versions of Jest within the 29.x release line [2].
Citations:
- 1: https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md
- 2: feat: support Jest 30 kulshekhar/ts-jest#4872
- 3: https://registry.npmjs.org/ts-jest
Bump ts-jest—ts-jest@29.2.5 isn’t officially compatible with Jest 30 + TypeScript 6
ts-jest 29.2.5 requires typescript >=4.3 <6 and Jest 30 support was added later (starting in ts-jest@29.4.0). With jest@^30.4.2 and typescript@~6.0.3, this combo is outside official support and can break test transforms in CI. Update ts-jest to a version that supports both (or pin Jest/TypeScript to supported ranges).
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@package.json` around lines 45 - 54, The ts-jest devDependency is pinned to
29.2.5 which does not support Jest 30 + TypeScript 6; update the ts-jest entry
in package.json (the "ts-jest" dependency) to a version that officially supports
Jest 30 and TS6 (e.g., bump to >=29.4.0) or alternatively align Jest/TypeScript
to a supported range; then run install and verify tests/CI transforms to ensure
the new ts-jest version works with the existing jest and typescript versions.
| "@angular-devkit/build-angular": "^21.2.13", | ||
| "@angular/cli": "^21.2.13", | ||
| "@angular/compiler": "^21.2.15", | ||
| "@angular/compiler-cli": "^21.2.15", | ||
| "@angular/core": "^21.2.15", | ||
| "ng-packagr": "^21.2.5", | ||
| "rxjs": "~7.8.1", | ||
| "tslib": "^2.8.1", | ||
| "typescript": "~5.7.3", | ||
| "zone.js": "~0.15.0" | ||
| "typescript": "~6.0.3", | ||
| "zone.js": "~0.16.2" |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
FILE="packages/widget-angular/package.json"
if [ ! -f "$FILE" ]; then
echo "Missing $FILE"
exit 1
fi
echo "---- $FILE (relevant lines) ----"
nl -ba "$FILE" | sed -n '35,80p'
echo
echo "---- grep typescript/angular versions ----"
rg -n '"typescript"|`@angular/`|ng-packagr' "$FILE" || true
echo
echo "---- check if repo pins TS elsewhere (workspace root package.json) ----"
ROOT="package.json"
if [ -f "$ROOT" ]; then
nl -ba "$ROOT" | sed -n '1,120p' | cat
rg -n '"typescript"|`@angular/`|ng-packagr' "$ROOT" || true
fi
echo
echo "---- check for other references to typescript version in packages ----"
rg -n '"typescript"\s*:\s*"[~^]' packages -S --glob 'package.json' --max-count 50 || trueRepository: Mifiel/mifiel-js
Length of output: 186
🌐 Web query:
Angular 21 TypeScript compatibility table <6.0.0 Angular 21 ng-packagr
💡 Result:
Angular 21 requires TypeScript version 5.9.0 or higher, and strictly less than 6.0.0 (>=5.9.0 <6.0.0) [1][2][3]. Regarding ng-packagr, version 21.x of ng-packagr is designed to support Angular 21 [4][5]. It enforces the same TypeScript compatibility requirement as the framework itself, specifically requiring TypeScript version >=5.9.0 and <6.0.0 [6]. Summary of compatibility for Angular 21: - TypeScript: >=5.9.0 <6.0.0 [1][2][3] - ng-packagr: 21.x [4][5] (with its own TypeScript requirement of >=5.9.0 <6.0.0) [6] Projects using Angular 21 must ensure their TypeScript version falls within the specified range to maintain build compatibility [7]. Use of versions older than 5.9 is not supported in Angular 21 and will result in build failures [8][5].
Citations:
- 1: https://angular.dev/reference/versions
- 2: https://marmo.dev/angular-typescript-node
- 3: https://angular.schule/blog/2025-11-angular21/
- 4: ng-packagr/ng-packagr@20.3.2...21.0.0
- 5: https://github.com/ng-packagr/ng-packagr/releases/tag/21.0.0
- 6: https://registry.npmjs.org/ng-packagr
- 7: https://pocketlantern.dev/briefs/angular-16-minimum-typescript-4-9-requirement
- 8: https://github.com/angular/angular/blob/87a3a92141725b080472cde11dd206a1ded72dc4/CHANGELOG.md
🌐 Web query:
site:angular.dev reference versions Angular 21 TypeScript 6.0
💡 Result:
As of June 3, 2026, the current status of the referenced versions is as follows: Angular 21: Angular v21 was officially released on November 19, 2025 [1][2]. It introduced several stable features, including the Angular CLI's MCP server for AI-powered workflows, support for Vitest as the default test runner, and the removal of zone.js by default in new applications [2]. TypeScript 6.0: As of June 2026, TypeScript 6.0 has not been released. Angular maintains a consistent update cycle that tracks compatible versions of TypeScript [1], and current Angular development utilizes versions supported by the ecosystem as of mid-2026. TypeScript 5.4 was explicitly highlighted in earlier Angular releases [3], and future Angular updates continue to adopt newer TypeScript versions as they become available [1]. There is no formal "Angular 21 TypeScript 6.0" release; these version numbers do not correspond to a single, released product combination. Angular v21 reached its end of active support on May 19, 2026 [1], and the framework has since moved forward to newer releases (with v22.0 released in the week of June 1, 2026) [1].
Citations:
- 1: https://angular.dev/reference/releases
- 2: https://blog.angular.dev/announcing-angular-v21-57946c34f14b
- 3: https://blog.angular.dev/angular-v18-is-now-available-e79d5ac0affe
🏁 Script executed:
#!/bin/bash
set -euo pipefail
FILE="packages/widget-angular/package.json"
echo "---- file exists ----"
test -f "$FILE" && echo "Found $FILE" || { echo "Missing $FILE"; exit 1; }
echo "---- packages/widget-angular/package.json lines 40-70 (with line numbers) ----"
python3 - <<'PY'
path = "packages/widget-angular/package.json"
start, end = 40, 70
with open(path, "r", encoding="utf-8") as f:
for i, line in enumerate(f, start=1):
if start <= i <= end:
print(f"{i:4d}: {line.rstrip()}")
if i > end:
break
PY
echo
echo "---- extract relevant dependency version fields ----"
python3 - <<'PY'
import json
path = "packages/widget-angular/package.json"
with open(path, "r", encoding="utf-8") as f:
data = json.load(f)
for k in [
"typescript",
"`@angular/cli`",
"`@angular-devkit/build-angular`",
"`@angular/core`",
"`@angular/compiler`",
"`@angular/compiler-cli`",
"ng-packagr",
]:
v = None
for section in ("dependencies", "devDependencies"):
if isinstance(data.get(section), dict) and k in data[section]:
v = data[section][k]
break
print(f"{k}: {v}")
PY
echo
echo "---- check root package.json for typescript pins ----"
if [ -f "package.json" ]; then
python3 - <<'PY'
import json
with open("package.json","r",encoding="utf-8") as f:
data=json.load(f)
for section in ("dependencies","devDependencies","peerDependencies"):
if isinstance(data.get(section), dict) and "typescript" in data[section]:
print(f"{section}.typescript: {data[section]['typescript']}")
PY
fi
echo
echo "---- search other package.json files for typescript pins (first 50 matches) ----"
rg -n '"typescript"\s*:\s*"[~^]' packages --glob 'package.json' --max-count 50 || trueRepository: Mifiel/mifiel-js
Length of output: 1384
🌐 Web query:
TypeScript 6.0.3 npm published
💡 Result:
TypeScript version 6.0.3 was published to the npm registry on April 16, 2026 [1][2][3]. This release served as a stable update following the TypeScript 6.0 major release [3][4]. TypeScript 6.0, released on March 23, 2026, was a significant transition version [5][6]. It was the final compiler and language service implementation based on the JavaScript codebase, designed to prepare the ecosystem for TypeScript 7.0—a rewrite of the compiler in Go [7][6]. Key changes in the 6.0 series included enabling strict mode by default, setting the default module target to esnext, and defaulting the target compilation to ES2025 [7]. As of June 3, 2026, version 6.0.3 remains the current stable release [2][8].
Citations:
- 1: https://registry.npmjs.org/typescript
- 2: https://npmx.dev/package/typescript/v/*
- 3: https://github.com/microsoft/TypeScript/releases/tag/v6.0.3
- 4: https://newreleases.io/project/npm/typescript/release/6.0.3
- 5: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-6-0.html
- 6: https://en.wikipedia.org/wiki/TypeScript
- 7: https://mungomash.com/software/typescript/versions/
- 8: https://releaserun.com/typescript-releases/
🌐 Web query:
https://angular.dev/reference/versions Angular 21 TypeScript supported range
💡 Result:
For Angular version 21, the supported TypeScript version range is >=5.9.0 and <6.0.0 [1][2][3]. Angular 21 explicitly requires a minimum of TypeScript 5.9.0, dropping support for all previous versions, including 5.8 [4][5][6]. The official Angular version compatibility documentation confirms this requirement for the entire Angular 21.x release line [1].
Citations:
- 1: https://angular.dev/reference/versions
- 2: https://pocketlantern.dev/briefs/angular-16-minimum-typescript-4-9-requirement
- 3: https://angular.schule/blog/2025-11-angular21/
- 4: https://github.com/angular/angular/blob/34e1fe235f39eb2d556486f89a19b77e935927b3/CHANGELOG.md
- 5: https://github.com/angular/angular/blob/87a3a92141725b080472cde11dd206a1ded72dc4/CHANGELOG.md
- 6: https://github.com/angular/angular/blob/9a9f4e7f932bc12d6c3314ff2c826ad0d10951c9/CHANGELOG.md
Pin packages/widget-angular to TypeScript 5.9.x (Angular 21 requires <6.0.0)
packages/widget-angular/package.json sets typescript: "~6.0.3", but Angular 21’s supported range is >=5.9.0 <6.0.0, so ng build/ng-packagr for this wrapper can fail. Your repo also pins TS ~6.0.3 at the root, so ensure the Angular wrapper actually resolves to TS 5.9.x (e.g., via the wrapper-local dependency and/or workspace resolution strategy).
Suggested change
- "typescript": "~6.0.3",
+ "typescript": "~5.9.3",📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| "@angular-devkit/build-angular": "^21.2.13", | |
| "@angular/cli": "^21.2.13", | |
| "@angular/compiler": "^21.2.15", | |
| "@angular/compiler-cli": "^21.2.15", | |
| "@angular/core": "^21.2.15", | |
| "ng-packagr": "^21.2.5", | |
| "rxjs": "~7.8.1", | |
| "tslib": "^2.8.1", | |
| "typescript": "~5.7.3", | |
| "zone.js": "~0.15.0" | |
| "typescript": "~6.0.3", | |
| "zone.js": "~0.16.2" | |
| "`@angular-devkit/build-angular`": "^21.2.13", | |
| "`@angular/cli`": "^21.2.13", | |
| "`@angular/compiler`": "^21.2.15", | |
| "`@angular/compiler-cli`": "^21.2.15", | |
| "`@angular/core`": "^21.2.15", | |
| "ng-packagr": "^21.2.5", | |
| "rxjs": "~7.8.1", | |
| "tslib": "^2.8.1", | |
| "typescript": "~5.9.3", | |
| "zone.js": "~0.16.2" |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@packages/widget-angular/package.json` around lines 48 - 57, The
widget-angular package currently depends on "typescript": "~6.0.3" which is
incompatible with Angular 21; update the typescript entry in
packages/widget-angular/package.json to a 5.9.x range that satisfies Angular 21
(e.g., set typescript to "~5.9.0" or the semver range ">=5.9.0 <6.0.0"), then
reinstall/update the lockfile so the workspace resolves the wrapper to TS 5.9.x
(also ensure the root workspace resolution or root package.json does not force
6.x); after changing the typescript field, run your install and verify
ng-packagr/ng build for the widget-angular package succeeds.
| function patchFile(filePath, mutator) { | ||
| if (!fs.existsSync(filePath)) { | ||
| console.warn(`patch skipped, file not found: ${filePath}`); | ||
| return; | ||
| } | ||
| const src = fs.readFileSync(filePath, 'utf8'); | ||
| const next = mutator(src); | ||
| if (next !== src) { | ||
| fs.writeFileSync(filePath, next, 'utf8'); | ||
| } | ||
| } |
There was a problem hiding this comment.
Fail fast when an expected patch does not apply.
patchFile currently treats regex no-ops as success. If Stencil output changes, the build can continue with unpatched proxies and break downstream package builds later. Make expected replacements explicit and throw when a required pattern is missing.
Suggested hardening
function patchFile(filePath, mutator) {
if (!fs.existsSync(filePath)) {
console.warn(`patch skipped, file not found: ${filePath}`);
return;
}
const src = fs.readFileSync(filePath, 'utf8');
- const next = mutator(src);
+ const next = mutator(src);
if (next !== src) {
fs.writeFileSync(filePath, next, 'utf8');
}
}
+
+function replaceOrThrow(src, pattern, replacement, label) {
+ if (!pattern.test(src)) {
+ throw new Error(`Patch pattern not found for ${label}`);
+ }
+ return src.replace(pattern, replacement);
+}
const angularTarget = path.join(__dirname, '../../widget-angular/src/lib/stencil-generated/components.ts');
patchFile(angularTarget, src => {
- let next = src.replace(
+ let next = replaceOrThrow(
+ src,
/@Output\(\) signError = new EventEmitter<CustomEvent<any>>\(\);\n\s*`@Output`\(\) signError = new EventEmitter<CustomEvent<any>>\(\);/,
'`@Output`() signError = new EventEmitter<CustomEvent<any>>();',
+ 'angular signError dedupe',
);
- next = next.replace(
+ next = replaceOrThrow(
+ next,
/@Output\(\) signSuccess = new EventEmitter<CustomEvent<any>>\(\);\n\s*`@Output`\(\) signSuccess = new EventEmitter<CustomEvent<any>>\(\);/,
'`@Output`() signSuccess = new EventEmitter<CustomEvent<any>>();',
+ 'angular signSuccess dedupe',
);
return next;
});Also applies to: 21-53
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@packages/widget-stencil/scripts/patch-angular-proxies.cjs` around lines 8 -
18, The patchFile helper currently silently skips when a file or regex
replacement is a no-op; change it to fail fast: in patchFile, after computing
next = mutator(src) if next === src throw a descriptive Error (include filePath
and that the expected replacement pattern was not found) instead of
warning/returning, and keep the existing write behavior when the file changed;
also update the other usages in this script (the calls covered by lines ~21-53)
to handle or propagate that exception as appropriate so missing patches are
explicit failures.
| // "noEmit": true, /* Do not emit outputs. */ | ||
| "importHelpers": true /* Import emit helpers from 'tslib'. */, | ||
| "downlevelIteration": true /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */, | ||
| "ignoreDeprecations": "6.0", |
There was a problem hiding this comment.
🧩 Analysis chain
🌐 Web query:
In TypeScript 6.0, which tsconfig compiler options are deprecated or require ignoreDeprecations, and is putting "ignoreDeprecations": "6.0" in a shared base tsconfig recommended?
💡 Result:
In TypeScript 6.0, several compiler options were deprecated as part of a transition to newer standards and improved performance [1][2][3]. These deprecated options will stop functioning entirely in TypeScript 7.0 [1][2][4]. Key deprecated options include: - baseUrl [1][3] - moduleResolution: node10 and classic [1][3] - target: es5 [1][3] - Various module targets: amd, umd, systemjs, and none [5][3] - Other options such as outFile, downlevelIteration, and support for using module in place of namespace [3] To temporarily suppress the resulting deprecation warnings, you can add "ignoreDeprecations": "6.0" to your tsconfig.json [1][6][7]. Regarding the recommendation for using "ignoreDeprecations": "6.0" in a shared base tsconfig: It is generally not recommended as a permanent solution [6][8][9]. While many developers and libraries use it as a short-term "escape hatch" to maintain compatibility while migrating complex projects (such as monorepos) [10][11][12], it is explicitly intended only as a transitional aid [1][6][4]. Because "ignoreDeprecations" itself will not be supported in TypeScript 7.0, relying on it in a base config simply defers necessary migration work to a future, potentially more urgent, upgrade cycle [1][8][9][12]. The best practice is to address the underlying deprecations (e.g., migrating paths, updating target versions, or adjusting module resolution) as soon as possible [1][2][6].
Citations:
- 1: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-6-0.html
- 2: https://devblogs.microsoft.com/typescript/announcing-typescript-6-0-rc/
- 3: TypeScript 6.0 Iteration Plan microsoft/TypeScript#63085
- 4: https://devblogs.microsoft.com/typescript/announcing-typescript-6-0/
- 5: 6.0 Deprecation List microsoft/TypeScript#54500
- 6: https://gist.github.com/nicolo-ribaudo/3d2e80da28f84ee30b77d53e1693378f
- 7: https://blog.logrocket.com/typescript-v6-migration-guide/
- 8: https://truesolvers.com/articles/typescript-60-breaking-changes-what-breaks-and-what-already-helps
- 9: https://iamradan.com/blog/typescript-6-migration-that-looked-clean-until-baseurl/
- 10: fix(create-docusaurus): fix support for TypeScript 6.0 + fix our CI facebook/docusaurus#11843
- 11: Upgrade Nx Repository to TypeScript 6.0 nrwl/nx#35206
- 12: https://devcheolu.com/en/posts/V2GjwLwAhunM7hcUcsMg
Avoid ignoreDeprecations escape hatch in the shared base tsconfig
"ignoreDeprecations": "6.0" in tsconfig.json (line 27) suppresses TS 6 deprecation diagnostics for every package inheriting this base config. Since ignoreDeprecations is intended as a temporary migration aid (not a long-term/base-level setting), either fix the specific deprecated compiler options causing the warnings, or scope this setting only to the narrow leaf configs that still need it.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@tsconfig.json` at line 27, The base tsconfig currently sets the
"ignoreDeprecations" escape hatch which silences TS6 deprecation diagnostics for
all inheritors; remove "ignoreDeprecations": "6.0" from the shared base tsconfig
and either (a) update the deprecated compiler options in the base so no packages
need the escape hatch, or (b) move the "ignoreDeprecations": "6.0" entry into
only the specific leaf tsconfig(s) that still require it so the suppression is
scoped rather than global.
alejandro25262
left a comment
There was a problem hiding this comment.
se ve bien pero no se si es necesario contemplar los cambios que pide coderabit
Bumps the root-deps group with 36 updates:
19.2.2221.2.1519.2.2221.2.1513.1.021.0.213.1.021.0.213.1.021.0.27.18.08.60.17.18.08.60.10.25.00.28.08.57.110.4.19.1.210.1.85.5.55.5.66.1.07.0.07.0.19.1.729.7.030.4.229.5.1430.0.011.1.217.0.72.1.63.0.029.4.929.4.115.7.36.0.31.16.01.16.11.3.04.0.14.1.04.5.13.25.764.4.34.0.17.0.019.2.2521.2.1319.2.2521.2.1319.2.2221.2.1519.2.221.2.50.15.10.16.218.3.119.2.718.3.319.2.1618.3.119.2.74.43.44.43.50.5.31.5.30.8.80.13.23.4.303.5.35Updates
@angular/compilerfrom 19.2.22 to 21.2.15Release notes
Sourced from @angular/compiler's releases.
... (truncated)
Changelog
Sourced from @angular/compiler's changelog.
... (truncated)
Commits
eb1cbbffix(compiler): prevent namespaced SVG <style> elements from being stripped29ceeffdocs: fix typos in source code comments782e015fix(compiler): strip namespaced SVG script elements during template compilati...ff12fe5fix(core): normalize tag names in runtime i18n attribute security context loo...0b07f47fix(compiler): normalize tag names with custom namespaces in DomElementSchema...cc1378dfix(compiler): sanitize dynamic href and xlink:href bindings on SVG a element...daaf329fix(core): support prefix-insensitive DOM schema lookups and compile-time i18...68282dffix(compiler): strip namespaced SVG script elements during template compilation6652ec0refactor(core): align namespaced attribute validation and security schema con...baf92datest: remove invalid css that was causing issues with the postcss parserUpdates
@angular/corefrom 19.2.22 to 21.2.15Release notes
Sourced from @angular/core's releases.
... (truncated)
Changelog
Sourced from @angular/core's changelog.
... (truncated)
Commits
29ceeffdocs: fix typos in source code comments251c8f2test(core): remove obsolete SVG script sanitization translation test (#68925)dada86efix(core): synchronize core sanitization schema with compiler (#68925)782e015fix(compiler): strip namespaced SVG script elements during template compilati...ff12fe5fix(core): normalize tag names in runtime i18n attribute security context loo...0b07f47fix(compiler): normalize tag names with custom namespaces in DomElementSchema...cc1378dfix(compiler): sanitize dynamic href and xlink:href bindings on SVG a element...daaf329fix(core): support prefix-insensitive DOM schema lookups and compile-time i18...1d6e71ddocs: clarify ngDoCheck invocation behavior with OnPush strategy49113acfix(core): visit ICU expressions in signal migration schematicsUpdates
@commitlint/clifrom 13.1.0 to 21.0.2Release notes
Sourced from @commitlint/cli's releases.
... (truncated)
Changelog
Sourced from @commitlint/cli's changelog.
... (truncated)
Commits
8069048v21.0.2121005efix: disallow same commit hash for --from and --to (#4773)db8d7d6v21.0.11329a25chore: migrate to pnpm (#4762)db39968chore: pre pnpm cleanup (#4759)6099ae5chore: replace eslint with oxlint (#4756)f081a8ev21.0.040d7e36feat!: show input from a new line (#4727)44c3174chore: update dependency yargs to v18 #4432 (#4686)ac01464chore: replace dependencies with Node 22 built-ins (#4681)Updates
@commitlint/config-conventionalfrom 13.1.0 to 21.0.2Release notes
Sourced from @commitlint/config-conventional's releases.
... (truncated)
Changelog
Sourced from @commitlint/config-conventional's changelog.
... (truncated)
Commits
8069048v21.0.2db8d7d6v21.0.11329a25chore: migrate to pnpm (#4762)6099ae5chore: replace eslint with oxlint (#4756)f081a8ev21.0.044c3174chore: update dependency yargs to v18 #4432 (#4686)ac2b3f4chore!: minimum node version v22 (#4679)31e959av20.5.3a7918e9v20.5.002d7245v20.4.4Updates
@commitlint/config-lerna-scopesfrom 13.1.0 to 21.0.2Release notes
Sourced from @commitlint/config-lerna-scopes's releases.
... (truncated)
Changelog
Sourced from @commitlint/config-lerna-scopes's changelog.
... (truncated)
Commits
8069048v21.0.2db8d7d6v21.0.11329a25chore: migrate to pnpm (#4762)6099ae5chore: replace eslint with oxlint (#4756)f081a8ev21.0.040d7e36feat!: show input from a new line (#4727)44c3174chore: update dependency yargs to v18 #4432 (#4686)ac01464chore: replace dependencies with Node 22 built-ins (#4681)ac2b3f4chore!: minimum node version v22 (#4679)a746981v20.4.3Updates
@typescript-eslint/eslint-pluginfrom 7.18.0 to 8.60.1Release notes
Sourced from @typescript-eslint/eslint-plugin's releases.