Skip to content

Commit

Permalink
Chore: Enable node 20 (#626)
Browse files Browse the repository at this point in the history
* Allow Node 20

* Remove unnecessary core-js package
  • Loading branch information
chawes13 authored Nov 30, 2023
1 parent a4628a3 commit bd1d293
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.12.1
v20
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@launchpadlab/lp-components",
"version": "9.2.2",
"version": "9.3.0",
"engines": {
"node": "^18.12"
"node": "^18.12 || ^20.0"
},
"description": "Our Components",
"main": "lib/index.js",
Expand Down Expand Up @@ -77,7 +77,6 @@
"babel-loader": "^9.1.0",
"bourbon": "^7.2.0",
"bourbon-neat": "^4.0.0",
"core-js": "^3.21.1",
"css-loader": "^6.7.2",
"documentation": "^14.0.2",
"eslint": "^8.46.0",
Expand Down
2 changes: 0 additions & 2 deletions test/setup.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Required since lp-hoc > lp-requests uses async/await
import 'core-js/stable'
import 'regenerator-runtime/runtime.js'

// Mock browser canvas
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5174,7 +5174,7 @@ core-js-pure@^3.23.3:
resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.32.1.tgz#5775b88f9062885f67b6d7edce59984e89d276f3"
integrity sha512-f52QZwkFVDPf7UEQZGHKx6NYxsxmVGJe5DIvbzOdRMJlmT6yv0KDjR8rmy3ngr/t5wU54c7Sp/qIJH0ppbhVpQ==

core-js@^3.0.4, core-js@^3.21.1, core-js@^3.6.5, core-js@^3.8.2:
core-js@^3.0.4, core-js@^3.6.5, core-js@^3.8.2:
version "3.32.1"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.32.1.tgz#a7d8736a3ed9dd05940c3c4ff32c591bb735be77"
integrity sha512-lqufgNn9NLnESg5mQeYsxQP5w7wrViSj0jr/kv6ECQiByzQkrn1MKvV0L3acttpDqfQrHLwr2KCMgX5b8X+lyQ==
Expand Down

0 comments on commit bd1d293

Please sign in to comment.