From 5d9cb9173997b296db7bc056405a16aa4f48f129 Mon Sep 17 00:00:00 2001 From: Ronan Jouchet Date: Fri, 16 Jul 2021 18:50:45 -0400 Subject: [PATCH] Fix 'npm install'-time warning about outdated companion DT types ``` npm WARN deprecated @types/loglevel@1.6.3: This is a stub types definition. loglevel provides its own type definitions, so you do not need this installed. npm WARN deprecated @types/electron-packager@15.0.1: This is a stub types definition. electron-packager provides its own type definitions, so you do not need this installed. ``` Also, add `@types/debug` necessary to fix build, as already done by @TheCleric in https://github.com/nativefier/nativefier/pull/1230/files Also, for all deps, bump minimum version to current version --- app/package.json | 4 ++-- package.json | 27 +++++++++++++-------------- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/app/package.json b/app/package.json index 64e6b94..df17262 100644 --- a/app/package.json +++ b/app/package.json @@ -12,7 +12,7 @@ ], "scripts": {}, "dependencies": { - "electron-context-menu": "^3.1.0", + "electron-context-menu": "^3.1.1", "electron-dl": "^3.2.1", "electron-squirrel-startup": "^1.0.0", "electron-window-state": "^5.0.3", @@ -20,6 +20,6 @@ "source-map-support": "^0.5.19" }, "devDependencies": { - "electron": "^12.0.11" + "electron": "^12.0.15" } } diff --git a/package.json b/package.json index d22f964..2cfedb2 100644 --- a/package.json +++ b/package.json @@ -66,25 +66,24 @@ "yargs": "^17.0.1" }, "devDependencies": { - "@types/electron-packager": "^15.0.1", + "@types/debug": "^4.1.6", "@types/hasbin": "^1.2.0", - "@types/jest": "^26.0.23", - "@types/loglevel": "^1.6.3", - "@types/ncp": "^2.0.4", - "@types/node": "^12.20.15", - "@types/page-icon": "^0.3.3", - "@types/tmp": "^0.2.0", - "@typescript-eslint/eslint-plugin": "^4.27.0", - "@typescript-eslint/parser": "^4.27.0", - "eslint": "^7.28.0", + "@types/jest": "^26.0.24", + "@types/ncp": "^2.0.5", + "@types/node": "^12.20.16", + "@types/page-icon": "^0.3.4", + "@types/tmp": "^0.2.1", + "@typescript-eslint/eslint-plugin": "^4.28.3", + "@typescript-eslint/parser": "^4.28.3", + "eslint": "^7.30.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^3.4.0", - "jest": "^27.0.4", - "prettier": "^2.3.1", + "jest": "^27.0.6", + "prettier": "^2.3.2", "rimraf": "^3.0.2", "ts-loader": "^9.2.3", - "typescript": "^4.3.2", - "webpack": "^5.38.1", + "typescript": "^4.3.5", + "webpack": "^5.45.1", "webpack-cli": "^4.7.2" }, "jest_COMMENTS": {