Commit 29ff7462 authored by smartcontracts's avatar smartcontracts Committed by GitHub

fix: revert es target back to 2017 (#2786)

We accidentally bumped the es target to 2022 when it should've remained
at 2017.
Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent 0a5ca8bf
---
'@eth-optimism/integration-tests': patch
'@eth-optimism/hardhat-node': patch
'@eth-optimism/common-ts': patch
'@eth-optimism/contracts': patch
'@eth-optimism/contracts-bedrock': patch
'@eth-optimism/contracts-governance': patch
'@eth-optimism/contracts-periphery': patch
'@eth-optimism/core-utils': patch
'@eth-optimism/data-transport-layer': patch
'@eth-optimism/drippie-mon': patch
'@eth-optimism/fault-detector': patch
'@eth-optimism/hardhat-deploy-config': patch
'@eth-optimism/integration-tests-bedrock': patch
'@eth-optimism/message-relayer': patch
'@eth-optimism/replica-healthcheck': patch
'@eth-optimism/sdk': patch
'@eth-optimism/teleportr': patch
---
Revert es target back to 2017
......@@ -24,12 +24,10 @@ const codes = {
yellow: '\x1b[1;33m',
}
export const color = Object.fromEntries(
Object.entries(codes).map(([k]) => [
k,
(msg: string) => `${codes[k]}${msg}${codes.reset}`,
])
)
export const color = Object.entries(codes).reduce((obj, [k]) => {
obj[k] = (msg: string) => `${codes[k]}${msg}${codes.reset}`
return obj
}, {}) as any
// helper for finding the right artifact from the deployed name
const locateArtifact = (name: string) => {
......
{
"compilerOptions": {
"module": "commonjs",
"target": "es2022",
"target": "es2017",
"sourceMap": true,
"esModuleInterop": true,
"composite": true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment