Merge pull request #1343 from cosmos/target-es2020

Target es2020
This commit is contained in:
Simon Warta 2022-12-07 21:19:18 +01:00 committed by GitHub
commit 308499cbcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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",