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 microsoft/tslib#151 for more details.
tslib 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 microsoft/tslib#146 for more details.
tslib 2.1.0
This release adds a new __spreadArray helper which avoids side-effects compared to the now-deprecated __spreadArrays and __spread helpers. See microsoft/tslib#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 microsoft/tslib#138 for more details.
This release adds support for using tslib in Node using esmodule imports, further context in #126 and the related issues.
Minor release for TS 4.0
Use Object.prototype.hasOwnProperty.call.
Skip default when iterating exports in __importStar.
Shorter parameter name in __exportStar.
tslib 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).
This release adds support for using tslib in Node using esmodule imports, further context in microsoft/tslib#126 and the related issues.
tslib 1.13.0
This release reverts breaking changes in tslib that were not compatible with versions of TypeScript prior to 3.9. The behavior slightly diverges from that of TypeScript 3.9, but generally is compatible with previous versions of TypeScript-authored code.
The new behavior of TypeScript 3.9 will be available in tslib 2.0.0.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot will not automatically merge this PR because it includes a major update to a production dependency.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps tslib from 1.12.0 to 2.3.0.
Release notes
Sourced from tslib's releases.
Commits
0b93014
Bump version to 2.3.0.1f2daa7
Update __spreadArray helper (#151)4f0f29b
Merge pull request #142 from microsoft/orta-deploy-docsf7eea49
Bump version to 2.2.0.145fdc0
update private class element helpers (#2) (#146)be5f805
Update README.md54a056a
Merge pull request #141 from microsoft/bumpVersion-2.1.0e7a1155
Bump version to 2.1.0.88a77b8
Update tslib to support new __spreadArray helper (#133)cff487d
Ported runtime TypeError for non-function, non-null __extends (#138)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot will not automatically merge this PR because it includes a major update to a production dependency.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)