Skip to content

Commit

Permalink
feat: bump dependencies (#2254)
Browse files Browse the repository at this point in the history
Node 10 has reached end-of-life, Next.js stopped supporting it in Next 11. Since we are a Next.js library, it doesn't make sense for us to support anything lower than that either.

I also upgraded a bunch of dependencies and dropped some that weren't necessary anymore.

BREAKING CHANGE:

The lowest supported Node version is 12. (We still support IE11 in browsers, until that is not dropped by Next.js itself)
  • Loading branch information
balazsorban44 authored Jun 26, 2021
1 parent 988c991 commit 6c1a0ec
Show file tree
Hide file tree
Showing 5 changed files with 18,649 additions and 22,289 deletions.
2 changes: 1 addition & 1 deletion config/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// https://nextjs.org/docs/basic-features/supported-browsers-features

module.exports = {
presets: [["@babel/preset-env", { targets: { node: "10.13" } }]],
presets: [["@babel/preset-env", { targets: { node: "12" } }]],
plugins: [
"@babel/plugin-proposal-optional-catch-binding",
"@babel/plugin-transform-runtime",
Expand Down
1 change: 1 addition & 0 deletions config/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ module.exports = {
collectCoverageFrom: ["!client/__tests__/**"],
testMatch: ["**/*.test.js"],
coverageDirectory: "../coverage",
testEnvironment: "jsdom",
}
Loading

0 comments on commit 6c1a0ec

Please sign in to comment.