From 11be446056769f0e9631758ebd2986dd63272975 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 16 Jul 2024 07:57:37 -0700 Subject: [PATCH] build(deps): update dependency tslib to v2 (#9659) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [tslib](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/tslib)) | [`2.6.2` -> `2.6.3`](https://renovatebot.com/diffs/npm/tslib/1.14.1/2.6.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/tslib/2.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/tslib/2.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/tslib/1.14.1/2.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tslib/1.14.1/2.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
Microsoft/tslib (tslib) ### [`v2.6.3`](https://togithub.com/microsoft/tslib/releases/tag/v2.6.3) [Compare Source](https://togithub.com/Microsoft/tslib/compare/v2.6.2...v2.6.3) #### What's Changed - 'await using' normative changes by [@​rbuckton](https://togithub.com/rbuckton) in [https://github.com/microsoft/tslib/pull/258](https://togithub.com/microsoft/tslib/pull/258) **Full Changelog**: https://github.com/microsoft/tslib/compare/v2.6.2...v2.6.3 ### [`v2.6.2`](https://togithub.com/microsoft/tslib/releases/tag/v2.6.2): tslib 2.6.2 [Compare Source](https://togithub.com/Microsoft/tslib/compare/v2.6.1...v2.6.2) #### What's Changed - Fix path to `exports["module"]["types"]` by [@​andrewbranch](https://togithub.com/andrewbranch) in [https://github.com/microsoft/tslib/pull/217](https://togithub.com/microsoft/tslib/pull/217) **Full Changelog**: https://github.com/microsoft/tslib/compare/v2.6.1...v2.6.2 ### [`v2.6.1`](https://togithub.com/microsoft/tslib/releases/tag/v2.6.1): tslib 2.6.1 [Compare Source](https://togithub.com/Microsoft/tslib/compare/2.6.0...v2.6.1) #### What's Changed - Allow functions as values in \__addDisposableResource by [@​rbuckton](https://togithub.com/rbuckton) in [https://github.com/microsoft/tslib/pull/215](https://togithub.com/microsoft/tslib/pull/215) - Stop using es6 syntax in the es6 file by [@​andrewbranch](https://togithub.com/andrewbranch) in [https://github.com/microsoft/tslib/pull/216](https://togithub.com/microsoft/tslib/pull/216) **Full Changelog**: https://github.com/microsoft/tslib/compare/2.6.0...v2.6.1 ### [`v2.6.0`](https://togithub.com/microsoft/tslib/releases/tag/2.6.0): tslib 2.6.0 [Compare Source](https://togithub.com/Microsoft/tslib/compare/v2.5.3...2.6.0) #### What's Changed - Add helpers for `using` and `await using` by [@​rbuckton](https://togithub.com/rbuckton) in [https://github.com/microsoft/tslib/pull/213](https://togithub.com/microsoft/tslib/pull/213) **Full Changelog**: https://github.com/microsoft/tslib/compare/v2.5.3...2.6.0 ### [`v2.5.3`](https://togithub.com/microsoft/tslib/releases/tag/v2.5.3): tslib 2.5.3 [Compare Source](https://togithub.com/Microsoft/tslib/compare/2.5.2...v2.5.3) #### What's Changed - Do not reference tslib.es6.js from package.json exports by [@​andrewbranch](https://togithub.com/andrewbranch) in [https://github.com/microsoft/tslib/pull/208](https://togithub.com/microsoft/tslib/pull/208) **Full Changelog**: https://github.com/microsoft/tslib/compare/2.5.2...v2.5.3 ### [`v2.5.2`](https://togithub.com/microsoft/tslib/releases/tag/2.5.2): tslib 2.5.2 [Compare Source](https://togithub.com/Microsoft/tslib/compare/2.5.1...2.5.2) This release [explicitly re-exports helpers](https://togithub.com/microsoft/tslib/pull/204) to work around TypeScript's incomplete symbol resolution for tslib. ### [`v2.5.1`](https://togithub.com/microsoft/tslib/releases/tag/2.5.1): tslib 2.5.1 [Compare Source](https://togithub.com/Microsoft/tslib/compare/2.5.0...2.5.1) This release of tslib provides fixes for two issues. First, [it reverses the order of `init` hooks provided by decorators](https://togithub.com/microsoft/tslib/pull/202) to correctly reflect proposed behavior. Second, it [corrects the `exports` field of tslib's `package.json` and provides accurate declaration files](https://togithub.com/microsoft/tslib/pull/202) so that it may be consumed under the `node16` and `bundler` settings for `moduleResolution.` ### [`v2.5.0`](https://togithub.com/microsoft/tslib/releases/tag/2.5.0): tslib 2.5.0 [Compare Source](https://togithub.com/Microsoft/tslib/compare/2.4.1...2.5.0) #### What's New - Fix asyncDelegator reporting done too early by [@​apendua](https://togithub.com/apendua) in [https://github.com/microsoft/tslib/pull/187](https://togithub.com/microsoft/tslib/pull/187) - Add support for TypeScript 5.0's `__esDecorate` and related helpers by [@​rbuckton](https://togithub.com/rbuckton) in [https://github.com/microsoft/tslib/pull/193](https://togithub.com/microsoft/tslib/pull/193) **Full Changelog**: https://github.com/microsoft/tslib/compare/2.4.1...2.5.0 ### [`v2.4.1`](https://togithub.com/microsoft/tslib/releases/tag/2.4.1): tslib 2.4.1 [Compare Source](https://togithub.com/Microsoft/tslib/compare/2.4.0...2.4.1) This release contains [fixes for early `return`s and `throw`s invoked on generators](https://togithub.com/microsoft/tslib/pull/186). ### [`v2.4.0`](https://togithub.com/microsoft/tslib/releases/tag/2.4.0): tslib 2.4.0 [Compare Source](https://togithub.com/Microsoft/tslib/compare/2.3.1...2.4.0) This release includes the `__classPrivateFieldIn` helper as well as an update to `__createBinding` to reduce indirection between multiple re-exports. ### [`v2.3.1`](https://togithub.com/microsoft/tslib/releases/tag/2.3.1): tslib 2.3.1 [Compare Source](https://togithub.com/Microsoft/tslib/compare/2.3.0...2.3.1) This release updates the `__spreadArray` helper for TypeScript 4.4 to correctly operate on collections that are not "concat-spreadable" such as the DOM's `NodeList`s and `HTMLCollection`s. ### [`v2.3.0`](https://togithub.com/microsoft/tslib/releases/tag/2.3.0): tslib 2.3.0 [Compare Source](https://togithub.com/Microsoft/tslib/compare/2.2.0...2.3.0) This release updates tslib to use TypeScript 4.4's upcoming `__spreadArray` helper which correctly preserves sparse array inputs (e.g. arrays containing "missing" elements like `[1, 2, , 4]`). This new version of `__spreadArray` is backwards-compatible and is often also faster. See [https://github.com/microsoft/tslib/pull/151](https://togithub.com/microsoft/tslib/pull/151) for more details. ### [`v2.2.0`](https://togithub.com/microsoft/tslib/releases/tag/2.2.0): tslib 2.2.0 [Compare Source](https://togithub.com/Microsoft/tslib/compare/2.1.0...2.2.0) This release supports TypeScript 4.3's new functionality for ECMAScript private methods and accessors, and private static class members. It does so by expanding the scope of `__classPrivateFieldGet` and `__classPrivateFieldSet`. See [https://github.com/microsoft/tslib/pull/146](https://togithub.com/microsoft/tslib/pull/146) for more details. ### [`v2.1.0`](https://togithub.com/microsoft/tslib/releases/tag/2.1.0): tslib 2.1.0 [Compare Source](https://togithub.com/Microsoft/tslib/compare/2.0.3...2.1.0) This release adds a new `__spreadArray` helper which avoids side-effects compared to the now-deprecated `__spreadArrays` and `__spread` helpers. See [https://github.com/microsoft/tslib/pull/133](https://togithub.com/microsoft/tslib/pull/133) for more details. This release also provides a more-specific error message when extending from a type which is not a function and not null. See [https://github.com/microsoft/tslib/pull/138](https://togithub.com/microsoft/tslib/pull/138) for more details. ### [`v2.0.3`](https://togithub.com/microsoft/tslib/releases/tag/2.0.3): Webpack 5 Compatibility - 2.x [Compare Source](https://togithub.com/Microsoft/tslib/compare/2.0.2...2.0.3) Full discussion in the [webpack issue](https://togithub.com/webpack/webpack/issues/11613) ### [`v2.0.2`](https://togithub.com/microsoft/tslib/releases/tag/2.0.2): ES Module Support [Compare Source](https://togithub.com/Microsoft/tslib/compare/2.0.1...2.0.2) This release adds support for using tslib in Node using esmodule imports, further context in [#​126](https://togithub.com/Microsoft/tslib/issues/126) and the related issues. ### [`v2.0.1`](https://togithub.com/microsoft/tslib/releases/tag/2.0.1): Minor release for TS 4.0 [Compare Source](https://togithub.com/Microsoft/tslib/compare/2.0.0...2.0.1) 1. Use Object.prototype.hasOwnProperty.call. 2. Skip default when iterating exports in \__importStar. 3. Shorter parameter name in \__exportStar. ### [`v2.0.0`](https://togithub.com/microsoft/tslib/releases/tag/2.0.0): tslib 2.0.0 [Compare Source](https://togithub.com/Microsoft/tslib/compare/v1.14.1...2.0.0) This release changes `__exportStar` and `__importStar` to use `__createBinding` which is incompatible with versions of TypeScript older than 3.9 (i.e. 3.8 and below).
--- - [ ] If you want to rebase/retry this PR, check this box Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 18 +++++++++++++----- .../calcite-components-angular/package.json | 2 +- .../projects/component-library/package.json | 2 +- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index d29d8f43849..c879bfc18b3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29378,7 +29378,8 @@ }, "node_modules/tslib": { "version": "1.14.1", - "license": "0BSD" + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/tsutils": { "version": "3.21.0", @@ -32779,7 +32780,7 @@ "@angular/platform-browser-dynamic": "18.0.3", "@angular/router": "18.0.3", "rxjs": "7.8.1", - "tslib": "2.6.2", + "tslib": "2.6.3", "zone.js": "0.14.7" }, "devDependencies": { @@ -33002,6 +33003,12 @@ } } }, + "packages/calcite-components-angular/node_modules/@angular-devkit/build-angular/node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "dev": true + }, "packages/calcite-components-angular/node_modules/@angular-devkit/core": { "version": "18.0.4", "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-18.0.4.tgz", @@ -34160,8 +34167,9 @@ } }, "packages/calcite-components-angular/node_modules/tslib": { - "version": "2.6.2", - "license": "0BSD" + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz", + "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==" }, "packages/calcite-components-angular/node_modules/tuf-js": { "version": "2.2.1", @@ -34745,7 +34753,7 @@ "license": "SEE LICENSE.md", "dependencies": { "@esri/calcite-components": "^2.11.0-next.10", - "tslib": "2.6.2" + "tslib": "2.6.3" }, "peerDependencies": { "@angular/common": ">=16.0.0", diff --git a/packages/calcite-components-angular/package.json b/packages/calcite-components-angular/package.json index 2bbebfa4bdc..bc6547a201c 100644 --- a/packages/calcite-components-angular/package.json +++ b/packages/calcite-components-angular/package.json @@ -20,7 +20,7 @@ "@angular/platform-browser-dynamic": "18.0.3", "@angular/router": "18.0.3", "rxjs": "7.8.1", - "tslib": "2.6.2", + "tslib": "2.6.3", "zone.js": "0.14.7" }, "devDependencies": { diff --git a/packages/calcite-components-angular/projects/component-library/package.json b/packages/calcite-components-angular/projects/component-library/package.json index 4b49260f7fa..0573beb6458 100644 --- a/packages/calcite-components-angular/projects/component-library/package.json +++ b/packages/calcite-components-angular/projects/component-library/package.json @@ -18,7 +18,7 @@ "sideEffects": false, "dependencies": { "@esri/calcite-components": "^2.11.0-next.10", - "tslib": "2.6.2" + "tslib": "2.6.3" }, "peerDependencies": { "@angular/common": ">=16.0.0",