Skip to content

Commit

Permalink
v3.26.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alangpierce committed Sep 13, 2022
1 parent 9de9392 commit 0ae8d9b
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 12 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 3.26.0 (2022-09-12)

* Add support for the JSX automatic runtime, also known as the
[React 17 transform](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html).
It can be enabled using `jsxRuntime: true` and configured using the `production` and `jsxImportSource`
configs. ([#738], [#739], [#742], [#740])

# 3.25.0 (2022-08-01)

* Add two new options to more closely match the `module: nodenext` option from
Expand Down Expand Up @@ -455,3 +462,7 @@
[#727]: https://github.com/alangpierce/sucrase/pull/727
[#728]: https://github.com/alangpierce/sucrase/pull/728
[#732]: https://github.com/alangpierce/sucrase/pull/732
[#738]: https://github.com/alangpierce/sucrase/pull/738
[#739]: https://github.com/alangpierce/sucrase/pull/739
[#740]: https://github.com/alangpierce/sucrase/pull/740
[#742]: https://github.com/alangpierce/sucrase/pull/742
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.25.0",
"version": "3.26.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 @@ -63,7 +63,7 @@
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"prettier": "^2.6.2",
"sucrase": "^3.25.0",
"sucrase": "^3.26.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.25.0";
return "3.26.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 @@ -35,7 +35,7 @@
"react-monaco-editor": "^0.48.0",
"react-virtualized-auto-sizer": "^1.0.6",
"style-loader": "^1.0.0",
"sucrase": "^3.25.0",
"sucrase": "^3.26.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 @@ -5690,10 +5690,10 @@ style-loader@^1.0.0:
loader-utils "^2.0.0"
schema-utils "^2.7.0"

sucrase@^3.25.0:
version "3.25.0"
resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.25.0.tgz#6dffa34e614b3347877507a4380cc4f022b7b7aa"
integrity sha512-WxTtwEYXSmZArPGStGBicyRsg5TBEFhT5b7N+tF+zauImP0Acy+CoUK0/byJ8JNPK/5lbpWIVuFagI4+0l85QQ==
sucrase@^3.26.0:
version "3.26.0"
resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.26.0.tgz#a895fb26861dab2b5582d6235ced052d4f27cb68"
integrity sha512-iWWppLcRrEwHaHefYJaJP9XQdRJO+tZfy/kDZizar5Ur1IK8XN48nwMFnDupXw2uvNtjWd8I58vVH42inBT/2Q==
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 @@ -3148,10 +3148,10 @@ stubs@^3.0.0:
resolved "https://registry.yarnpkg.com/stubs/-/stubs-3.0.0.tgz#e8d2ba1fa9c90570303c030b6900f7d5f89abe5b"
integrity sha1-6NK6H6nJBXAwPAMLaQD31fiavls=

sucrase@^3.25.0:
version "3.25.0"
resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.25.0.tgz#6dffa34e614b3347877507a4380cc4f022b7b7aa"
integrity sha512-WxTtwEYXSmZArPGStGBicyRsg5TBEFhT5b7N+tF+zauImP0Acy+CoUK0/byJ8JNPK/5lbpWIVuFagI4+0l85QQ==
sucrase@^3.26.0:
version "3.26.0"
resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.26.0.tgz#a895fb26861dab2b5582d6235ced052d4f27cb68"
integrity sha512-iWWppLcRrEwHaHefYJaJP9XQdRJO+tZfy/kDZizar5Ur1IK8XN48nwMFnDupXw2uvNtjWd8I58vVH42inBT/2Q==
dependencies:
commander "^4.0.0"
glob "7.1.6"
Expand Down

0 comments on commit 0ae8d9b

Please sign in to comment.