mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 13:47:12 +00:00
Target es2020
This commit is contained in:
parent
ef79d443b0
commit
776d1c9d15
@ -6,6 +6,12 @@ and this project adheres to
|
|||||||
|
|
||||||
## [Unreleased]
|
## [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
|
## [0.29.5] - 2022-12-07
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -89,7 +89,7 @@ Currently the codebase supports the following runtime environments:
|
|||||||
[Edge Spartan](https://en.wikipedia.org/wiki/Microsoft_Edge#Development))
|
[Edge Spartan](https://en.wikipedia.org/wiki/Microsoft_Edge#Development))
|
||||||
3. Browser extensions (Chromium/Firefox)
|
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.
|
implement certain cryptographic functions.
|
||||||
|
|
||||||
We're happy to adjust this list according to users' needs as long as you don't
|
We're happy to adjust this list according to users' needs as long as you don't
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"target": "es2018",
|
"target": "es2020",
|
||||||
"noUnusedLocals": false,
|
"noUnusedLocals": false,
|
||||||
"noImplicitAny": false
|
"noImplicitAny": false
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"outDir": "build",
|
"outDir": "build",
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"lib": ["es2018", "dom"]
|
"lib": ["es2020", "dom"]
|
||||||
},
|
},
|
||||||
"include": ["src/**/*"]
|
"include": ["src/**/*"]
|
||||||
}
|
}
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
"declaration": true,
|
"declaration": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"lib": ["es2018"],
|
"lib": ["es2020"],
|
||||||
"target": "es2018",
|
"target": "es2020",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"newLine": "LF",
|
"newLine": "LF",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user