Skip to content

Commit 33086eb

Browse files
authored
Merge pull request #7 from pvelosome/dev
fix(babel): update babel to support node 20
2 parents bfe7cd1 + 52194f2 commit 33086eb

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

.babelrc

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
{
22
"presets": [
3-
"@babel/preset-env"
3+
[
4+
"@babel/preset-env",
5+
{
6+
"targets": {
7+
"node": "20"
8+
}
9+
}
10+
]
411
],
512
"plugins": [
613
"@babel/plugin-proposal-object-rest-spread",
@@ -12,4 +19,4 @@
1219
}
1320
]
1421
]
15-
}
22+
}

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@
4646
},
4747
"homepage": "https://github.com/mindedge/vue-api-query#readme",
4848
"devDependencies": {
49-
"@babel/cli": "^7.8.4",
50-
"@babel/core": "^7.9.0",
51-
"@babel/node": "^7.8.7",
52-
"@babel/plugin-proposal-object-rest-spread": "^7.9.5",
53-
"@babel/plugin-transform-async-to-generator": "^7.8.3",
54-
"@babel/plugin-transform-runtime": "^7.9.0",
55-
"@babel/preset-env": "^7.9.5",
56-
"@babel/runtime": "^7.9.2",
49+
"@babel/cli": "^7.25.9",
50+
"@babel/core": "^7.26.0",
51+
"@babel/node": "^7.26.0",
52+
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
53+
"@babel/plugin-transform-async-to-generator": "^7.25.9",
54+
"@babel/plugin-transform-runtime": "^7.25.9",
55+
"@babel/preset-env": "^7.26.0",
56+
"@babel/runtime": "^7.26.0",
5757
"axios": "^0.21.1",
5858
"axios-mock-adapter": "^1.18.1",
5959
"babel-eslint": "^10.1.0",

0 commit comments

Comments
 (0)