From f1c7e7538cac89b306de592e20992b6faaa9d81d Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 3 Apr 2025 15:39:40 +0000 Subject: [PATCH 1/2] 3.2.1 --- CHANGELOG.md | 9 ++++++++- package.json | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9cfd3628..80790cfb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.2.1] + +### Uncategorized + +- Fix `ExactOptionalize` changing `never` to `undefined` ([#35](https://github.com/MetaMask/superstruct/pull/35)) + ## [3.2.0] ### Added @@ -637,7 +643,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release. -[Unreleased]: https://github.com/MetaMask/superstruct/compare/v3.2.0...HEAD +[Unreleased]: https://github.com/MetaMask/superstruct/compare/v3.2.1...HEAD +[3.2.1]: https://github.com/MetaMask/superstruct/compare/v3.2.0...v3.2.1 [3.2.0]: https://github.com/MetaMask/superstruct/compare/v3.1.0...v3.2.0 [3.1.0]: https://github.com/MetaMask/superstruct/compare/v3.0.0...v3.1.0 [3.0.0]: https://github.com/MetaMask/superstruct/compare/v2.0.0...v3.0.0 diff --git a/package.json b/package.json index d3f0f7e3..872544f9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/superstruct", - "version": "3.2.0", + "version": "3.2.1", "description": "A simple and composable way to validate data in JavaScript (and TypeScript).", "keywords": [ "api", From e2c0ea03fe650700efc413d255a582b7d210eecb Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Thu, 3 Apr 2025 17:44:09 +0200 Subject: [PATCH 2/2] Update changelog for version 3.2.1 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 80790cfb..b09525d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [3.2.1] -### Uncategorized +### Fixed - Fix `ExactOptionalize` changing `never` to `undefined` ([#35](https://github.com/MetaMask/superstruct/pull/35))