Skip to content

Commit

Permalink
chore: remove duplicate word (#2502)
Browse files Browse the repository at this point in the history
  • Loading branch information
Abirdcfly authored Aug 31, 2022
1 parent 324a390 commit 28ccdc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@ This release fixes a minor issue with the previous release: I had to rename the

* Add support for TypeScript's `moduleSuffixes` field from TypeScript 4.7

The upcoming version of TypeScript adds the `moduleSuffixes` field to `tsconfig.json` that introduces more rules to import path resolution. Setting `moduleSuffixes` to `[".ios", ".native", ""]` will try to look at the the relative files `./foo.ios.ts`, `./foo.native.ts`, and finally `./foo.ts` for an import path of `./foo`. Note that the empty string `""` in `moduleSuffixes` is necessary for TypeScript to also look-up `./foo.ts`. This was announced in the [TypeScript 4.7 beta blog post](https://devblogs.microsoft.com/typescript/announcing-typescript-4-7-beta/#resolution-customization-with-modulesuffixes).
The upcoming version of TypeScript adds the `moduleSuffixes` field to `tsconfig.json` that introduces more rules to import path resolution. Setting `moduleSuffixes` to `[".ios", ".native", ""]` will try to look at the relative files `./foo.ios.ts`, `./foo.native.ts`, and finally `./foo.ts` for an import path of `./foo`. Note that the empty string `""` in `moduleSuffixes` is necessary for TypeScript to also look-up `./foo.ts`. This was announced in the [TypeScript 4.7 beta blog post](https://devblogs.microsoft.com/typescript/announcing-typescript-4-7-beta/#resolution-customization-with-modulesuffixes).

* Match the new ASI behavior from TypeScript nightly builds ([#2188](https:/evanw/esbuild/pull/2188))

Expand Down Expand Up @@ -11874,7 +11874,7 @@ Note that you can also just use `--strict` to enable strictness for all transfor

* Error messages now use `sourcefile` ([#131](https:/evanw/esbuild/issues/131))

Errors from transform API calls now use `sourcefile` as the the original file name if present. Previously the file name in error messages was always `/input.js`.
Errors from transform API calls now use `sourcefile` as the original file name if present. Previously the file name in error messages was always `/input.js`.

## 0.4.14

Expand Down
2 changes: 1 addition & 1 deletion internal/js_parser/js_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -16493,7 +16493,7 @@ func (p *parser) toAST(before, parts, after []js_ast.Part, hashbang string, dire
// export let bar = c
//
// This is a smaller version of the general import/export scanning loop above.
// We only want to repeat the the code that eliminates TypeScript import-equals
// We only want to repeat the code that eliminates TypeScript import-equals
// statements, not the other code in the loop above.
for keptImportEquals && removedImportEquals {
keptImportEquals = false
Expand Down

0 comments on commit 28ccdc9

Please sign in to comment.