From e46828aa10b8f3af5a675b1221fa4e68f31b410b Mon Sep 17 00:00:00 2001 From: Karl Becker Date: Tue, 12 Sep 2023 09:01:39 -0500 Subject: [PATCH] Update karma to version that's compatible with Node 18, and a few other karma-related packages --- .vscode/settings.json | 22 ++++++++++++++++++++++ karma.conf.js | 1 + package.json | 10 +++++----- 3 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..c4abb75c --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,22 @@ +{ + "workbench.colorCustomizations": { + "activityBar.activeBackground": "#1f6fd0", + "activityBar.background": "#1f6fd0", + "activityBar.foreground": "#e7e7e7", + "activityBar.inactiveForeground": "#e7e7e799", + "activityBarBadge.background": "#ee90bb", + "activityBarBadge.foreground": "#15202b", + "commandCenter.border": "#e7e7e799", + "sash.hoverBorder": "#1f6fd0", + "statusBar.background": "#1857a4", + "statusBar.foreground": "#e7e7e7", + "statusBarItem.hoverBackground": "#1f6fd0", + "statusBarItem.remoteBackground": "#1857a4", + "statusBarItem.remoteForeground": "#e7e7e7", + "tab.activeBorder": "#1f6fd0", + "titleBar.activeBackground": "#1857a4", + "titleBar.activeForeground": "#e7e7e7", + "titleBar.inactiveBackground": "#1857a499", + "titleBar.inactiveForeground": "#e7e7e799" + } +} diff --git a/karma.conf.js b/karma.conf.js index c9ec406a..b36c2a28 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -9,6 +9,7 @@ module.exports = function(config) { frameworks: ['jasmine'], // list of files / patterns to load in the browser + // More info here: https://karma-runner.github.io/6.4/config/files.html files: [ 'node_modules/jquery/dist/jquery.js', 'node_modules/angular/angular.js', diff --git a/package.json b/package.json index 3279333b..35a2cb4c 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,8 @@ "version": "1.8.3", "description": "Primo, Summon, and 360 Core adapter to augment journal results with custom BrowZine API data.", "engines": { - "node": "16.16.0", - "npm": "8.11.0" + "node": "18.16.0", + "npm": "9.5.1" }, "scripts": { "server": "http-server --cors -p 8080", @@ -34,10 +34,10 @@ "jasmine-ajax": "^3.3.1", "jasmine-core": "2.8.0", "jquery": "^3.3.1", - "karma": "1.7.1", - "karma-jasmine": "1.1.0", + "karma": "6.4.2", + "karma-jasmine": "5.1.0", "karma-mocha-reporter": "^2.2.4", - "karma-chrome-launcher": "2.2.0", + "karma-chrome-launcher": "3.2.0", "ngrok": "^2.2.21", "recursive-replace": "^1.0.1" }