Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Target es2020 #1343

Merged
merged 1 commit into from
Dec 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ and this project adheres to

## [Unreleased]

### Changed

- all: The TypeScript compilation target is now ES2020 ([#1002]).

[#1002]: https://github.com/cosmos/cosmjs/issues/1002

## [0.29.5] - 2022-12-07

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Currently the codebase supports the following runtime environments:
[Edge Spartan](https://en.wikipedia.org/wiki/Microsoft_Edge#Development))
3. Browser extensions (Chromium/Firefox)

Our current JavaScript target standard is ES2018. We use WebAssembly to
Our current JavaScript target standard is ES2020. We use WebAssembly to
implement certain cryptographic functions.

We're happy to adjust this list according to users' needs as long as you don't
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/tsconfig_repl.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"esModuleInterop": true,
"module": "commonjs",
"moduleResolution": "node",
"target": "es2018",
"target": "es2020",
"noUnusedLocals": false,
"noImplicitAny": false
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger-amino/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"baseUrl": ".",
"outDir": "build",
"rootDir": "src",
"lib": ["es2018", "dom"]
"lib": ["es2020", "dom"]
},
"include": ["src/**/*"]
}
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"declaration": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"lib": ["es2018"],
"target": "es2018",
"lib": ["es2020"],
"target": "es2020",
"module": "commonjs",
"moduleResolution": "node",
"newLine": "LF",
Expand Down