From fd1ce8196de913d0068323e43c8a19dcab330ae2 Mon Sep 17 00:00:00 2001 From: duriancrepe Date: Mon, 3 Jan 2022 22:23:07 -0800 Subject: [PATCH] Add console dependency to fix compile error --- package-lock.json | 11 +++++++++++ package.json | 5 ++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 12afe127..2a8055b8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,7 @@ "@types/node": "^12.20.10", "@types/react": "^17.0.3", "@types/react-dom": "^17.0.3", + "console": "^0.7.2", "google-protobuf": "^3.0.0", "grpc-web": "^1.2.1", "react": "^17.0.2", @@ -5896,6 +5897,11 @@ "node": ">=0.8" } }, + "node_modules/console": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/console/-/console-0.7.2.tgz", + "integrity": "sha1-+aQzEkkpFZG3v5v/qOIFNW8gqfA=" + }, "node_modules/console-browserify": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz", @@ -25821,6 +25827,11 @@ "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz", "integrity": "sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg==" }, + "console": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/console/-/console-0.7.2.tgz", + "integrity": "sha1-+aQzEkkpFZG3v5v/qOIFNW8gqfA=" + }, "console-browserify": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz", diff --git a/package.json b/package.json index c211dfa3..7fc4f98c 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "@types/node": "^12.20.10", "@types/react": "^17.0.3", "@types/react-dom": "^17.0.3", + "console": "^0.7.2", "google-protobuf": "^3.0.0", "grpc-web": "^1.2.1", "react": "^17.0.2", @@ -31,7 +32,9 @@ "react-app", "react-app/jest" ], - "ignorePatterns": ["**/*_pb.js"] + "ignorePatterns": [ + "**/*_pb.js" + ] }, "browserslist": { "production": [