From 8d366ac65a15b1850ca48b507c21c4a7b77ec3e7 Mon Sep 17 00:00:00 2001 From: ifycode Date: Wed, 26 May 2021 01:59:32 -0800 Subject: [PATCH 1/2] Remove unused dependencies from package.json --- package.json | 9 --------- 1 file changed, 9 deletions(-) diff --git a/package.json b/package.json index 60ae166480..9a735a510e 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,6 @@ "eslint": "^6.7.1", "fancy-log": "^1.3.3", "file-loader": "^5.0.2", - "fs-walk": "0.0.2", "gulp": "^4.0.2", "gulp-eslint": "^6.0.0", "gulp-gzip": "^1.4.2", @@ -59,7 +58,6 @@ "imports-loader": "^0.8.0", "is-url": "^1.2.4", "jasmine-core": "^3.5.0", - "json-loader": "^0.5.7", "karma": "^4.4.1", "karma-chrome-launcher": "^3.1.0", "karma-coverage": "^2.0.1", @@ -74,17 +72,12 @@ "mini-css-extract-plugin": "^0.9.0", "minimist": "^1.2.0", "ng-annotate-loader": "0.6.1", - "node-fetch": "^2.6.0", - "node-libs-browser": "^2.0.1", "node-sass": "^4.13.0", "optimize-css-assets-webpack-plugin": "^5.0.3", - "phantomjs-prebuilt": "^2.1.16", "pre-commit": "^1.1.2", "protractor": "^5.4.2", - "raw-loader": "^4.0.0", "resolve-url-loader": "^3.1.1", "sass-loader": "^8.0.0", - "style-loader": "^1.1.2", "supports-color": "^3.1.2", "svg-url-loader": "^3.0.3", "terser-webpack-plugin": "^4.2.2", @@ -122,13 +115,11 @@ "leaflet.markercluster": "1.0.5", "libphonenumber-js": "^1.0.24", "moment": "2.19.3", - "moment-timezone": "^0.5.4", "ng-showdown": "^1.1.0", "ngGeolocation": "rjmackay/ngGeolocation", "ngtweet": "^1.0.0", "nvd3": "^1.8.4", "raven-js": "^3.26.3", - "socket.io-client": "2.0.3", "sortablejs": "1.10.0", "underscore": "^1.7.0", "ushahidi-platform-pattern-library": "5.0.3-pre-donations", From 7682082644a101b0e3619e4f5553d89d1a916c41 Mon Sep 17 00:00:00 2001 From: ifycode Date: Mon, 31 May 2021 02:08:24 -0800 Subject: [PATCH 2/2] Remove @uirouter/visualizer - unused dependency --- app/app.js | 7 ------- package.json | 1 - 2 files changed, 8 deletions(-) diff --git a/app/app.js b/app/app.js index d7d77d1837..2ccc8424c3 100644 --- a/app/app.js +++ b/app/app.js @@ -156,13 +156,6 @@ angular.module('app', .factory('Flatpickr', function () { return require('flatpickr').default; }) - // inject the router instance into a `run` block by name - //.run(['$uiRouter', '$trace', '$location', function ($uiRouter, $trace, $location) { - // // * uncomment this to enable the visualizer * - // let Visualizer = require('@uirouter/visualizer').Visualizer; - // let pluginInstance = $uiRouter.plugin(Visualizer); - // $trace.enable('TRANSITION'); - // }]) .factory('UshahidiSdk', function () { return UshahidiSdk; }) diff --git a/package.json b/package.json index 9a735a510e..5c7fc1d853 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,6 @@ "eslint" ], "devDependencies": { - "@uirouter/visualizer": "^5.0.0", "angular-mocks": "^1.5.6", "ansi-colors": "^4.1.1", "babel-core": "^6.7.7",