Skip to content

Commit

Permalink
v3.34.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alangpierce committed Jul 19, 2023
1 parent 4bd800b commit 4caa80c
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 13 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
@@ -1,3 +1,11 @@
# 3.34.0 (2023-07-19)

* Add CLI options for all remaining Sucrase options, e.g. `--disable-es-transforms` for
`disableESTransforms`. (<<-ArS, Alan Pierce) ([#670], [#812])
* Add `SUCRASE_OPTIONS` environment variable for configuring `sucrase/register`, `sucrase-node`,
and any programmatic require hook usages. The value must be a valid JSON object of Sucrase
options that will be merged with the usual options. ([#813])

# 3.33.0 (2023-07-14)

* Add an option `keepUnusedImports` that disables all automatic import/export
Expand Down Expand Up @@ -485,6 +493,7 @@
[#532]: https://github.com/alangpierce/sucrase/pull/532
[#533]: https://github.com/alangpierce/sucrase/pull/533
[#537]: https://github.com/alangpierce/sucrase/pull/537
[#540]: https://github.com/alangpierce/sucrase/pull/540
[#556]: https://github.com/alangpierce/sucrase/pull/556
[#564]: https://github.com/alangpierce/sucrase/pull/564
[#567]: https://github.com/alangpierce/sucrase/pull/567
Expand All @@ -493,7 +502,6 @@
[#574]: https://github.com/alangpierce/sucrase/pull/574
[#575]: https://github.com/alangpierce/sucrase/pull/575
[#593]: https://github.com/alangpierce/sucrase/pull/593
[#540]: https://github.com/alangpierce/sucrase/pull/540
[#604]: https://github.com/alangpierce/sucrase/pull/604
[#610]: https://github.com/alangpierce/sucrase/pull/610
[#614]: https://github.com/alangpierce/sucrase/pull/614
Expand All @@ -512,6 +520,7 @@
[#656]: https://github.com/alangpierce/sucrase/pull/656
[#657]: https://github.com/alangpierce/sucrase/pull/657
[#658]: https://github.com/alangpierce/sucrase/pull/658
[#670]: https://github.com/alangpierce/sucrase/pull/670
[#673]: https://github.com/alangpierce/sucrase/pull/673
[#684]: https://github.com/alangpierce/sucrase/pull/684
[#698]: https://github.com/alangpierce/sucrase/pull/698
Expand Down Expand Up @@ -550,3 +559,5 @@
[#809]: https://github.com/alangpierce/sucrase/pull/809
[#810]: https://github.com/alangpierce/sucrase/pull/810
[#811]: https://github.com/alangpierce/sucrase/pull/811
[#812]: https://github.com/alangpierce/sucrase/pull/812
[#813]: https://github.com/alangpierce/sucrase/pull/813
4 changes: 2 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "sucrase",
"version": "3.33.0",
"version": "3.34.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 @@ -66,7 +66,7 @@
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^2.8.8",
"sucrase": "^3.33.0",
"sucrase": "^3.34.0",
"test262-harness": "^10.0.0",
"ts-interface-builder": "^0.3.3",
"typescript": "~5.0"
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Expand Up @@ -29,7 +29,7 @@ export type {Options, SourceMapOptions, Transform};

export function getVersion(): string {
/* istanbul ignore next */
return "3.33.0";
return "3.34.0";
}

export function transform(code: string, options: Options): TransformResult {
Expand Down
2 changes: 1 addition & 1 deletion website/package.json
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.33.0",
"sucrase": "^3.34.0",
"typescript": "^5.1.6",
"url-loader": "^2.2.0",
"webpack": "^5.73.0",
Expand Down
8 changes: 4 additions & 4 deletions website/yarn.lock
Expand Up @@ -5779,10 +5779,10 @@ style-loader@^1.0.0:
loader-utils "^2.0.0"
schema-utils "^2.7.0"

sucrase@^3.33.0:
version "3.33.0"
resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.33.0.tgz#092c8d2f99a191f2cd9f1fdd52113772f4241f6e"
integrity sha512-ARGC7vbufOHfpvyGcZZXFaXCMZ9A4fffOGC5ucOW7+WHDGlAe8LJdf3Jts1sWhDeiI1RSWrKy5Hodl+JWGdW2A==
sucrase@^3.34.0:
version "3.34.0"
resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.34.0.tgz#1e0e2d8fcf07f8b9c3569067d92fbd8690fb576f"
integrity sha512-70/LQEZ07TEcxiU2dz51FKaE6hCTWC6vr7FOk3Gr0U60C3shtAN+H+BFr9XlYe5xqf3RA8nrc+VIwzCfnxuXJw==
dependencies:
"@jridgewell/gen-mapping" "^0.3.2"
commander "^4.0.0"
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -2860,10 +2860,10 @@ stubs@^3.0.0:
resolved "https://registry.yarnpkg.com/stubs/-/stubs-3.0.0.tgz#e8d2ba1fa9c90570303c030b6900f7d5f89abe5b"
integrity sha512-PdHt7hHUJKxvTCgbKX9C1V/ftOcjJQgz8BZwNfV5c4B6dcGqlpelTbJ999jBGZ2jYiPAwcX5dP6oBwVlBlUbxw==

sucrase@^3.33.0:
version "3.33.0"
resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.33.0.tgz#092c8d2f99a191f2cd9f1fdd52113772f4241f6e"
integrity sha512-ARGC7vbufOHfpvyGcZZXFaXCMZ9A4fffOGC5ucOW7+WHDGlAe8LJdf3Jts1sWhDeiI1RSWrKy5Hodl+JWGdW2A==
sucrase@^3.34.0:
version "3.34.0"
resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.34.0.tgz#1e0e2d8fcf07f8b9c3569067d92fbd8690fb576f"
integrity sha512-70/LQEZ07TEcxiU2dz51FKaE6hCTWC6vr7FOk3Gr0U60C3shtAN+H+BFr9XlYe5xqf3RA8nrc+VIwzCfnxuXJw==
dependencies:
"@jridgewell/gen-mapping" "^0.3.2"
commander "^4.0.0"
Expand Down

0 comments on commit 4caa80c

Please sign in to comment.