Target es2020

This commit is contained in:
Simon Warta 2022-12-07 21:04:04 +01:00
parent ef79d443b0
commit 776d1c9d15
5 changed files with 11 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -3,7 +3,7 @@
"esModuleInterop": true,
"module": "commonjs",
"moduleResolution": "node",
"target": "es2018",
"target": "es2020",
"noUnusedLocals": false,
"noImplicitAny": false
}

View File

@ -4,7 +4,7 @@
"baseUrl": ".",
"outDir": "build",
"rootDir": "src",
"lib": ["es2018", "dom"]
"lib": ["es2020", "dom"]
},
"include": ["src/**/*"]
}

View File

@ -4,8 +4,8 @@
"declaration": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"lib": ["es2018"],
"target": "es2018",
"lib": ["es2020"],
"target": "es2020",
"module": "commonjs",
"moduleResolution": "node",
"newLine": "LF",