From 2e8f021ddf241b88a30ca68be6f1616ffa73396d Mon Sep 17 00:00:00 2001 From: Kendall Garner <17521368+kgarner7@users.noreply.github.com> Date: Fri, 8 Apr 2022 18:24:13 -0400 Subject: [PATCH] Fix MacOS compilation, remove last vulnerable package - typescript has been held to v < 4.6 to make @types/verror (dmg license < dmg builder < electron builder) - remove extract-text-webpack-plugin: unused? - in Login.tsx, make defaultChecked for legacyAuth actually a boolean --- package.json | 3 +- src/components/settings/Login.tsx | 2 +- yarn.lock | 74 +++++-------------------------- 3 files changed, 12 insertions(+), 67 deletions(-) diff --git a/package.json b/package.json index 20ed255..0d4e7a9 100644 --- a/package.json +++ b/package.json @@ -228,7 +228,6 @@ "eslint-plugin-promise": "^4.2.1", "eslint-plugin-react": "^7.20.6", "eslint-plugin-react-hooks": "^4.0.8", - "extract-text-webpack-plugin": "^3.0.2", "file-loader": "^6.0.0", "husky": "^4.2.5", "identity-obj-proxy": "^3.0.0", @@ -247,7 +246,7 @@ "style-loader": "^2.0.0", "terser-webpack-plugin": "^5.0.3", "tsc-silent": "^1.2.1", - "typescript": "^4.0.5", + "typescript": "^4.0.5 < 4.6.0", "url-loader": "^4.1.0", "webpack": "^5.5.1", "webpack-bundle-analyzer": "^4.1.0", diff --git a/src/components/settings/Login.tsx b/src/components/settings/Login.tsx index 817014e..113dfad 100644 --- a/src/components/settings/Login.tsx +++ b/src/components/settings/Login.tsx @@ -183,7 +183,7 @@ const Login = () => { =0.6.2 <2.0.0", source-map-js@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" @@ -11986,7 +11935,12 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@^4.0.5, typescript@^4.2.4: +"typescript@^4.0.5 < 4.6.0": + version "4.5.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.5.tgz#d8c953832d28924a9e3d37c73d729c846c5896f3" + integrity sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA== + +typescript@^4.2.4: version "4.6.3" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.3.tgz#eefeafa6afdd31d725584c67a0eaba80f6fc6c6c" integrity sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw== @@ -12451,14 +12405,6 @@ webpack-merge@^5.4.0, webpack-merge@^5.7.3: clone-deep "^4.0.1" wildcard "^2.0.0" -webpack-sources@^1.0.1: - version "1.4.3" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.4.3.tgz#eedd8ec0b928fbf1cbfe994e22d2d890f330a933" - integrity sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ== - dependencies: - source-list-map "^2.0.0" - source-map "~0.6.1" - webpack-sources@^3.2.3: version "3.2.3" resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde"