Skip to content

Commit 267ab13

Browse files
author
tvillaren
committed
Updating babel & other dependencies to fix audit issues
1 parent 3e56543 commit 267ab13

File tree

3 files changed

+4931
-6429
lines changed

3 files changed

+4931
-6429
lines changed

Diff for: .babelrc

+24-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,31 @@
11
{
2-
"presets": ["env", "stage-2"],
2+
"presets": [
3+
["@babel/preset-env", {
4+
"useBuiltIns": "entry",
5+
"corejs": "3"
6+
}]
7+
],
38
"env": {
49
"test": {
5-
"plugins": ["istanbul"]
10+
"plugins": ["istanbul",
11+
["@babel/plugin-proposal-decorators", {
12+
"legacy": true
13+
}],
14+
"@babel/plugin-proposal-function-sent",
15+
"@babel/plugin-proposal-export-namespace-from",
16+
"@babel/plugin-proposal-numeric-separator",
17+
"@babel/plugin-proposal-throw-expressions",
18+
["@babel/plugin-proposal-class-properties", {
19+
"loose": true
20+
}],
21+
["@babel/plugin-transform-runtime",
22+
{
23+
"regenerator": true
24+
}
25+
]
26+
]
627
}
728
},
829
"retainLines": true,
930
"sourceMaps": true
10-
}
31+
}

0 commit comments

Comments
 (0)