Skip to content

Commit

Permalink
Fix bundling issue for old TypeScript versions
Browse files Browse the repository at this point in the history
Co-authored-by: Robin Chow <[email protected]>
  • Loading branch information
nvie and robinchow committed Feb 24, 2023
1 parent 0cd1d99 commit 6eeab18
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## v2.0.3 (not released yet)

- Fix bundling issue where TypeScript types would not get picked up correctly in old
TypeScript versions. Thanks, @robinchow!

- ![](./docs/assets/tiny-ts-logo.png) Fix TypeScript types for `Result` type to allow
implicit-undefineds.

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "decoders",
"version": "2.0.2",
"version": "2.0.3",
"description": "Elegant and battle-tested validation library for type-safe input data (for TypeScript and Flow)",
"license": "MIT",
"repository": {
Expand All @@ -14,6 +14,7 @@
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"scripts": {
"actually-prepublish": "echo \"\\n\\nPlease run \\`bin/publish.sh <options>\\` instead.\\n\\n\" && exit 2",
"build": "./bin/build.sh",
Expand Down Expand Up @@ -128,7 +129,6 @@
"itertools": "^1.7.1",
"jest": "^28.1.1",
"prettier": "^2.7.1",
"prettier-plugin-package": "^1.3.0",
"rimraf": "^3.0.2",
"typescript": "^4.7.4"
},
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4275,11 +4275,6 @@ prelude-ls@^1.2.1:
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==

prettier-plugin-package@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/prettier-plugin-package/-/prettier-plugin-package-1.3.0.tgz#b42d12eda16b67c9fcf95054d799fe3f542aef54"
integrity sha512-KPNHR/Jm2zTevBp1SnjzMnooO1BOQW2bixVbOp8flOJoW+dxdDwEncObfsKZdkjwrv6AIH4oWqm5EO/etDmK9Q==

prettier@^1.19.1:
version "1.19.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
Expand Down

0 comments on commit 6eeab18

Please sign in to comment.