diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-07-08 09:21:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-08 12:51:39 +0530 |
commit | 4817b83394bc901c02d619f16d74cfbc3a5d294c (patch) | |
tree | 019e83ebaacfb0d15627c3405478be8d683af180 /.babelrc | |
parent | Including the '@meetfranz' node modules in the packed artefact (since its cau... (diff) | |
download | ferdium-app-4817b83394bc901c02d619f16d74cfbc3a5d294c.tar.gz ferdium-app-4817b83394bc901c02d619f16d74cfbc3a5d294c.tar.zst ferdium-app-4817b83394bc901c02d619f16d74cfbc3a5d294c.zip |
chore: run security audit on node modules (#1621)
- changed electron target for @babel/preset-env from 4 to 13
- added .prettierrc.js with conforming settings to current code style
- upgraded gulp-sass to v5 to fix CVE and adapted code to breaking changes
- refreshed package-lock.json of packages/forms and packages/ui
- upgraded normalize-url to fix CVE
- removed unnecessary @types/color-convert
- fixed ToggleComponent breaking tsc compilation
Diffstat (limited to '.babelrc')
-rw-r--r-- | .babelrc | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -4,7 +4,7 @@ | |||
4 | "@babel/preset-env", | 4 | "@babel/preset-env", |
5 | { | 5 | { |
6 | "targets": { | 6 | "targets": { |
7 | "electron": 4 | 7 | "electron": 13 |
8 | } | 8 | } |
9 | } | 9 | } |
10 | ], | 10 | ], |
@@ -26,11 +26,14 @@ | |||
26 | ], | 26 | ], |
27 | "@babel/proposal-throw-expressions", | 27 | "@babel/proposal-throw-expressions", |
28 | "@babel/syntax-dynamic-import", | 28 | "@babel/syntax-dynamic-import", |
29 | ["react-intl", { | 29 | [ |
30 | "messagesDir": "./src/i18n/messages/", | 30 | "react-intl", |
31 | "enforceDescriptions": false, | 31 | { |
32 | "extractSourceLocation": true | 32 | "messagesDir": "./src/i18n/messages/", |
33 | }], | 33 | "enforceDescriptions": false, |
34 | "extractSourceLocation": true | ||
35 | } | ||
36 | ], | ||
34 | [ | 37 | [ |
35 | "@babel/plugin-proposal-private-methods", | 38 | "@babel/plugin-proposal-private-methods", |
36 | { | 39 | { |