Skip to content

Commit

Permalink
Revert "3.0.0 (#20)" (#23)
Browse files Browse the repository at this point in the history
This reverts commit 545c215.

The previous release PR for 3.0.0 wasn't generated by manually
triggering the `create-release-pr` workflow, resulting in a failure to
publish.
  • Loading branch information
MajorLift authored Jun 3, 2024
1 parent 545c215 commit 3eb8b63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.0.0]

### Added

- Newly exports the following types: `AnyStruct`, `EnumSchema`, `InferStructTuple`, `IsExactMatch`, `IsMatch`, `IsRecord`, `IsTuple`, `ObjectSchema`, `OmitBy`, `Optionalize`, `PickBy`, `Simplify`, `UnionToIntersection` ([#18](https://github.com/MetaMask/superstruct/pull/18))

### Fixed

- **BREAKING:** Expose separate build entry points and type declarations for CommonJS and ESM via package manifest `exports` ([#18](https://github.com/MetaMask/superstruct/pull/18)).
- Newly exports the following types: `AnyStruct`, `EnumSchema`, `InferStructTuple`, `IsExactMatch`, `IsMatch`, `IsRecord`, `IsTuple`, `ObjectSchema`, `OmitBy`, `Optionalize`, `PickBy`, `Simplify`, `UnionToIntersection`.

## [2.0.0]

Expand Down Expand Up @@ -623,8 +617,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Initial release.

[Unreleased]: https://github.com/MetaMask/superstruct/compare/v3.0.0...HEAD
[3.0.0]: https://github.com/MetaMask/superstruct/compare/v2.0.0...v3.0.0
[Unreleased]: https://github.com/MetaMask/superstruct/compare/v2.0.0...HEAD
[2.0.0]: https://github.com/MetaMask/superstruct/compare/v1.0.0...v2.0.0
[1.0.0]: https://github.com/MetaMask/superstruct/compare/v0.16.0...v1.0.0
[0.16.0]: https://github.com/MetaMask/superstruct/compare/v0.15.0...v0.16.0
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/superstruct",
"version": "3.0.0",
"version": "2.0.0",
"description": "A simple and composable way to validate data in JavaScript (and TypeScript).",
"keywords": [
"api",
Expand Down

0 comments on commit 3eb8b63

Please sign in to comment.