From 331449ad2b16dfe26896d82d6fdc1c64743196ef Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 20 Nov 2024 05:02:42 +0000 Subject: [PATCH] chore: version packages (beta) --- .changeset/pre.json | 1 + packages/type-plus/CHANGELOG.md | 13 +++++++++++++ packages/type-plus/package.json | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 3fbd82422..c579339d7 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -24,6 +24,7 @@ "metal-buckets-stare", "moody-badgers-refuse", "nice-forks-hide", + "polite-games-guess", "purple-countries-decide", "quick-grapes-travel", "red-plums-look", diff --git a/packages/type-plus/CHANGELOG.md b/packages/type-plus/CHANGELOG.md index 61fbfe233..8b40811f0 100644 --- a/packages/type-plus/CHANGELOG.md +++ b/packages/type-plus/CHANGELOG.md @@ -1,5 +1,18 @@ ## [4.18.1](https://github.com/unional/type-plus/compare/v4.18.0...v4.18.1) (2022-12-09) +## 8.0.0-beta.7 + +### Patch Changes + +- 20ded29: Use `fn.apply` instead of spread. + It has better performance and function that are already bound continue to work as expected. + + ```ts + const bindFn = fn.bind(This); + + bindFn.apply(null, args); // `this` is not affected + ``` + ## 8.0.0-beta.6 ### Minor Changes diff --git a/packages/type-plus/package.json b/packages/type-plus/package.json index 0d3060e03..559ae01bf 100644 --- a/packages/type-plus/package.json +++ b/packages/type-plus/package.json @@ -1,6 +1,6 @@ { "name": "type-plus", - "version": "8.0.0-beta.6", + "version": "8.0.0-beta.7", "description": "Provides additional types for TypeScript.", "keywords": [ "assert",