From 42f55cb9e223a8f8479b370e55db1fa458e731a3 Mon Sep 17 00:00:00 2001 From: Cayman Date: Tue, 8 Aug 2023 09:30:17 -0400 Subject: [PATCH 1/2] chore!: update target to es2021 --- tsconfig.build.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tsconfig.build.json b/tsconfig.build.json index 82cfb001731d..d4868d14e13a 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -1,7 +1,7 @@ { "compilerOptions": { - "target": "es2019", - "lib": ["es2020", "esnext.bigint", "es2020.string", "es2020.symbol.wellknown", "dom", "es2021.promise"], + "target": "es2021", + "lib": ["es2021", "dom"], "module": "esnext", "moduleResolution": "node", From 61620522283554a4500435fdbcba9b6d46cbba31 Mon Sep 17 00:00:00 2001 From: Cayman Date: Thu, 10 Aug 2023 10:04:53 -0400 Subject: [PATCH 2/2] chore: update ES Version badges --- README.md | 2 +- packages/api/README.md | 2 +- packages/beacon-node/README.md | 2 +- packages/cli/README.md | 2 +- packages/config/README.md | 2 +- packages/flare/README.md | 2 +- packages/light-client/README.md | 2 +- packages/logger/README.md | 2 +- packages/params/README.md | 2 +- packages/prover/README.md | 2 +- packages/reqresp/README.md | 2 +- packages/state-transition/README.md | 2 +- packages/types/README.md | 2 +- packages/utils/README.md | 2 +- packages/validator/README.md | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 9eeeb12ef43e..8dd6dd8ea698 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![Docker Image Version (latest by date)](https://img.shields.io/docker/v/chainsafe/lodestar?color=blue&label=Docker&sort=semver)](https://hub.docker.com/r/chainsafe/lodestar) [![Ethereum Consensus Spec v1.1.10](https://img.shields.io/badge/ETH%20consensus--spec-1.1.10-blue)](https://github.com/ethereum/consensus-specs/releases/tag/v1.1.10) [![codecov](https://codecov.io/gh/ChainSafe/lodestar/branch/unstable/graph/badge.svg)](https://codecov.io/gh/ChainSafe/lodestar) -![ES Version](https://img.shields.io/badge/ES-2020-yellow) +![ES Version](https://img.shields.io/badge/ES-2021-yellow) ![Node Version](https://img.shields.io/badge/node-20.x-green) [![gitpoap badge](https://public-api.gitpoap.io/v1/repo/ChainSafe/lodestar/badge)](https://www.gitpoap.io/gh/ChainSafe/lodestar) diff --git a/packages/api/README.md b/packages/api/README.md index 877e04384ee4..162ce6bfbdc1 100644 --- a/packages/api/README.md +++ b/packages/api/README.md @@ -2,7 +2,7 @@ [![Discord](https://img.shields.io/discord/593655374469660673.svg?label=Discord&logo=discord)](https://discord.gg/aMxzVcr) [![ETH Beacon APIs Spec v2.1.0](https://img.shields.io/badge/ETH%20beacon--APIs-2.1.0-blue)](https://github.com/ethereum/beacon-APIs/releases/tag/v2.1.0) -![ES Version](https://img.shields.io/badge/ES-2020-yellow) +![ES Version](https://img.shields.io/badge/ES-2021-yellow) ![Node Version](https://img.shields.io/badge/node-20.x-green) > This package is part of [ChainSafe's Lodestar](https://lodestar.chainsafe.io) project diff --git a/packages/beacon-node/README.md b/packages/beacon-node/README.md index 955cfdb0e9b6..2459cd5699be 100644 --- a/packages/beacon-node/README.md +++ b/packages/beacon-node/README.md @@ -2,7 +2,7 @@ [![Discord](https://img.shields.io/discord/593655374469660673.svg?label=Discord&logo=discord)](https://discord.gg/aMxzVcr) [![Eth Consensus Spec v1.1.10](https://img.shields.io/badge/ETH%20consensus--spec-1.1.10-blue)](https://github.com/ethereum/consensus-specs/releases/tag/v1.1.10) -![ES Version](https://img.shields.io/badge/ES-2020-yellow) +![ES Version](https://img.shields.io/badge/ES-2021-yellow) ![Node Version](https://img.shields.io/badge/node-20.x-green) > This package is part of [ChainSafe's Lodestar](https://lodestar.chainsafe.io) project diff --git a/packages/cli/README.md b/packages/cli/README.md index 5c228733fb8f..ae379a9b5d8d 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -2,7 +2,7 @@ [![Discord](https://img.shields.io/discord/593655374469660673.svg?label=Discord&logo=discord)](https://discord.gg/aMxzVcr) [![Eth Consensus Spec v1.1.10](https://img.shields.io/badge/ETH%20consensus--spec-1.1.10-blue)](https://github.com/ethereum/consensus-specs/releases/tag/v1.1.10) -![ES Version](https://img.shields.io/badge/ES-2020-yellow) +![ES Version](https://img.shields.io/badge/ES-2021-yellow) ![Node Version](https://img.shields.io/badge/node-12.x-green) > This package is part of [ChainSafe's Lodestar](https://lodestar.chainsafe.io) project diff --git a/packages/config/README.md b/packages/config/README.md index 797ffe2cda25..430a67e7e19b 100644 --- a/packages/config/README.md +++ b/packages/config/README.md @@ -3,7 +3,7 @@ [![npm](https://img.shields.io/npm/v/@lodestar/config)](https://www.npmjs.com/package/@lodestar/config) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Eth Consensus Spec v1.1.10](https://img.shields.io/badge/ETH%20consensus--spec-1.1.10-blue)](https://github.com/ethereum/consensus-specs/releases/tag/v1.1.10) -![ES Version](https://img.shields.io/badge/ES-2020-yellow) +![ES Version](https://img.shields.io/badge/ES-2021-yellow) ![Node Version](https://img.shields.io/badge/node-12.x-green) > This package is part of [ChainSafe's Lodestar](https://lodestar.chainsafe.io) project diff --git a/packages/flare/README.md b/packages/flare/README.md index 017598e16ba6..11c18802c3ee 100644 --- a/packages/flare/README.md +++ b/packages/flare/README.md @@ -3,7 +3,7 @@ [![npm](https://img.shields.io/npm/v/@lodestar/flare)](https://www.npmjs.com/package/@lodestar/flare) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Eth Consensus Spec v1.1.10](https://img.shields.io/badge/ETH%20consensus--spec-1.1.10-blue)](https://github.com/ethereum/consensus-specs/releases/tag/v1.1.10) -![ES Version](https://img.shields.io/badge/ES-2020-yellow) +![ES Version](https://img.shields.io/badge/ES-2021-yellow) ![Node Version](https://img.shields.io/badge/node-12.x-green) > This package is part of [ChainSafe's Lodestar](https://lodestar.chainsafe.io) project diff --git a/packages/light-client/README.md b/packages/light-client/README.md index 583ab61c69ae..85ebd86d3c19 100644 --- a/packages/light-client/README.md +++ b/packages/light-client/README.md @@ -2,7 +2,7 @@ [![Discord](https://img.shields.io/discord/593655374469660673.svg?label=Discord&logo=discord)](https://discord.gg/aMxzVcr) [![Eth Consensus Spec v1.1.10](https://img.shields.io/badge/ETH%20consensus--spec-1.1.10-blue)](https://github.com/ethereum/consensus-specs/releases/tag/v1.1.10) -![ES Version](https://img.shields.io/badge/ES-2020-yellow) +![ES Version](https://img.shields.io/badge/ES-2021-yellow) ![Node Version](https://img.shields.io/badge/node-16.x-green) > This package is part of [ChainSafe's Lodestar](https://lodestar.chainsafe.io) project diff --git a/packages/logger/README.md b/packages/logger/README.md index d2b182ac38f7..e53999bab177 100644 --- a/packages/logger/README.md +++ b/packages/logger/README.md @@ -1,6 +1,6 @@ # lodestar-logger -![ES Version](https://img.shields.io/badge/ES-2020-yellow) +![ES Version](https://img.shields.io/badge/ES-2021-yellow) ![Node Version](https://img.shields.io/badge/node-12.x-green) > This package is part of [ChainSafe's Lodestar](https://lodestar.chainsafe.io) project diff --git a/packages/params/README.md b/packages/params/README.md index bf4457146fbd..d1f3082edfac 100644 --- a/packages/params/README.md +++ b/packages/params/README.md @@ -3,7 +3,7 @@ [![npm](https://img.shields.io/npm/v/@lodestar/types)](https://www.npmjs.com/package/@lodestar/types) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Eth Consensus Spec v1.1.10](https://img.shields.io/badge/ETH%20consensus--spec-1.1.10-blue)](https://github.com/ethereum/consensus-specs/releases/tag/v1.1.10) -![ES Version](https://img.shields.io/badge/ES-2020-yellow) +![ES Version](https://img.shields.io/badge/ES-2021-yellow) ![Node Version](https://img.shields.io/badge/node-20.x-green) > This package is part of [ChainSafe's Lodestar](https://lodestar.chainsafe.io) project diff --git a/packages/prover/README.md b/packages/prover/README.md index 46c733c9715d..e9cf389a3cc2 100644 --- a/packages/prover/README.md +++ b/packages/prover/README.md @@ -2,7 +2,7 @@ [![Discord](https://img.shields.io/discord/593655374469660673.svg?label=Discord&logo=discord)](https://discord.gg/aMxzVcr) [![ETH Beacon APIs Spec v2.1.0](https://img.shields.io/badge/ETH%20beacon--APIs-2.1.0-blue)](https://github.com/ethereum/beacon-APIs/releases/tag/v2.1.0) -![ES Version](https://img.shields.io/badge/ES-2020-yellow) +![ES Version](https://img.shields.io/badge/ES-2021-yellow) ![Node Version](https://img.shields.io/badge/node-20.x-green) > This package is part of [ChainSafe's Lodestar](https://lodestar.chainsafe.io) project diff --git a/packages/reqresp/README.md b/packages/reqresp/README.md index a363dfc65388..993cbad5b379 100644 --- a/packages/reqresp/README.md +++ b/packages/reqresp/README.md @@ -2,7 +2,7 @@ [![Discord](https://img.shields.io/discord/593655374469660673.svg?label=Discord&logo=discord)](https://discord.gg/aMxzVcr) [![ETH Beacon APIs Spec v2.1.0](https://img.shields.io/badge/ETH%20beacon--APIs-2.1.0-blue)](https://github.com/ethereum/beacon-APIs/releases/tag/v2.1.0) -![ES Version](https://img.shields.io/badge/ES-2020-yellow) +![ES Version](https://img.shields.io/badge/ES-2021-yellow) ![Node Version](https://img.shields.io/badge/node-20.x-green) > This package is part of [ChainSafe's Lodestar](https://lodestar.chainsafe.io) project diff --git a/packages/state-transition/README.md b/packages/state-transition/README.md index 6d711619d36e..b8720c725449 100644 --- a/packages/state-transition/README.md +++ b/packages/state-transition/README.md @@ -3,7 +3,7 @@ [![npm](https://img.shields.io/npm/v/@lodestar/state-transition)](https://www.npmjs.com/package/@lodestar/state-transition) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Eth Consensus Spec v1.1.10](https://img.shields.io/badge/ETH%20consensus--spec-1.1.10-blue)](https://github.com/ethereum/consensus-specs/releases/tag/v1.1.10) -![ES Version](https://img.shields.io/badge/ES-2020-yellow) +![ES Version](https://img.shields.io/badge/ES-2021-yellow) ![Node Version](https://img.shields.io/badge/8.x-green) > This package is part of [ChainSafe's Lodestar](https://lodestar.chainsafe.io) project diff --git a/packages/types/README.md b/packages/types/README.md index 9cd1f020a44d..d21815072466 100644 --- a/packages/types/README.md +++ b/packages/types/README.md @@ -3,7 +3,7 @@ [![npm](https://img.shields.io/npm/v/@lodestar/types)](https://www.npmjs.com/package/@lodestar/types) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Eth Consensus Spec v1.1.10](https://img.shields.io/badge/ETH%20consensus--spec-1.1.10-blue)](https://github.com/ethereum/consensus-specs/releases/tag/v1.1.10) -![ES Version](https://img.shields.io/badge/ES-2020-yellow) +![ES Version](https://img.shields.io/badge/ES-2021-yellow) ![Node Version](https://img.shields.io/badge/node-20.x-green) > This package is part of [ChainSafe's Lodestar](https://lodestar.chainsafe.io) project diff --git a/packages/utils/README.md b/packages/utils/README.md index db127fc6e179..129d4b22bcf0 100644 --- a/packages/utils/README.md +++ b/packages/utils/README.md @@ -1,6 +1,6 @@ # lodestar-utils -![ES Version](https://img.shields.io/badge/ES-2020-yellow) +![ES Version](https://img.shields.io/badge/ES-2021-yellow) ![Node Version](https://img.shields.io/badge/node-12.x-green) > This package is part of [ChainSafe's Lodestar](https://lodestar.chainsafe.io) project diff --git a/packages/validator/README.md b/packages/validator/README.md index d9ae22a01f04..584f7ee3f559 100644 --- a/packages/validator/README.md +++ b/packages/validator/README.md @@ -2,7 +2,7 @@ [![Discord](https://img.shields.io/discord/593655374469660673.svg?label=Discord&logo=discord)](https://discord.gg/aMxzVcr) [![Eth Consensus Spec v1.1.10](https://img.shields.io/badge/ETH%20consensus--spec-1.1.10-blue)](https://github.com/ethereum/consensus-specs/releases/tag/v1.1.10) -![ES Version](https://img.shields.io/badge/ES-2020-yellow) +![ES Version](https://img.shields.io/badge/ES-2021-yellow) ![Node Version](https://img.shields.io/badge/node-20.x-green) > This package is part of [ChainSafe's Lodestar](https://lodestar.chainsafe.io) project