Skip to content

Commit

Permalink
v3.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alangpierce committed Jun 27, 2022
1 parent 2da78b9 commit ea15a79
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 12 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 3.22.0 (2022-06-27)

* Add support for Flow enums. ([#708], [#709])
* Fix some parser bugs when detecting arrow functions. ([#673])

# 3.21.1 (2022-06-21)

* Allow re-export after star export of same name. ([#698]) (Cameron Pitt)
Expand Down Expand Up @@ -400,5 +405,8 @@
[#656]: https://github.com/alangpierce/sucrase/pull/656
[#657]: https://github.com/alangpierce/sucrase/pull/657
[#658]: https://github.com/alangpierce/sucrase/pull/658
[#673]: https://github.com/alangpierce/sucrase/pull/673
[#684]: https://github.com/alangpierce/sucrase/pull/684
[#698]: https://github.com/alangpierce/sucrase/pull/698
[#708]: https://github.com/alangpierce/sucrase/pull/708
[#709]: https://github.com/alangpierce/sucrase/pull/709
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sucrase",
"version": "3.21.1",
"version": "3.22.0",
"description": "Super-fast alternative to Babel for when you can target modern JS runtimes",
"author": "Alan Pierce <alangpierce@gmail.com>",
"license": "MIT",
Expand Down Expand Up @@ -61,7 +61,7 @@
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"prettier": "^2.6.2",
"sucrase": "^3.21.1",
"sucrase": "^3.22.0",
"test262-harness": "^10.0.0",
"ts-interface-builder": "^0.3.3",
"typescript": "^4.7.3"
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export type SourceMapOptions = import("./Options").SourceMapOptions;
export type Transform = import("./Options").Transform;

export function getVersion(): string {
return "3.21.1";
return "3.22.0";
}

export function transform(code: string, options: Options): TransformResult {
Expand Down
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"react-monaco-editor": "^0.48.0",
"react-virtualized-auto-sizer": "^1.0.6",
"style-loader": "^1.0.0",
"sucrase": "^3.21.1",
"sucrase": "^3.22.0",
"typescript": "^4.7.4",
"url-loader": "^2.2.0",
"webpack": "^5.73.0",
Expand Down
8 changes: 4 additions & 4 deletions website/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5698,10 +5698,10 @@ style-loader@^1.0.0:
loader-utils "^2.0.0"
schema-utils "^2.7.0"

sucrase@^3.21.1:
version "3.21.1"
resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.21.1.tgz#7e29ddaca012764cf843280b00e74a843bdf790f"
integrity sha512-kxXnC9yZEav5USAu8gooZID9Ph3xqwdJxZoh+WbOWQZHTB7CHj3ANwENVMZ6mAZ9k7UtJtFxvQD9R03q3yU2YQ==
sucrase@^3.22.0:
version "3.22.0"
resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.22.0.tgz#9fd6d12b93c758a65c3b99cc3e4436274ea79d55"
integrity sha512-RZeE0UPxCjf99p4c9Sb27qRbsuZBd7TViR/q1P6TsUPYa/H2LIkaCPpio6F1nQksrynYA78KEBUnpxswZiPYcg==
dependencies:
commander "^4.0.0"
glob "7.1.6"
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2961,10 +2961,10 @@ stubs@^3.0.0:
resolved "https://registry.yarnpkg.com/stubs/-/stubs-3.0.0.tgz#e8d2ba1fa9c90570303c030b6900f7d5f89abe5b"
integrity sha1-6NK6H6nJBXAwPAMLaQD31fiavls=

sucrase@^3.21.1:
version "3.21.1"
resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.21.1.tgz#7e29ddaca012764cf843280b00e74a843bdf790f"
integrity sha512-kxXnC9yZEav5USAu8gooZID9Ph3xqwdJxZoh+WbOWQZHTB7CHj3ANwENVMZ6mAZ9k7UtJtFxvQD9R03q3yU2YQ==
sucrase@^3.22.0:
version "3.22.0"
resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.22.0.tgz#9fd6d12b93c758a65c3b99cc3e4436274ea79d55"
integrity sha512-RZeE0UPxCjf99p4c9Sb27qRbsuZBd7TViR/q1P6TsUPYa/H2LIkaCPpio6F1nQksrynYA78KEBUnpxswZiPYcg==
dependencies:
commander "^4.0.0"
glob "7.1.6"
Expand Down

0 comments on commit ea15a79

Please sign in to comment.