From de23443dedee562276beeb2828485bb634c49f69 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 31 Aug 2024 02:04:56 +0000 Subject: [PATCH 1/2] Update dependency license-checker-rseidelsohn to v4.4.1 --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 775a8906d6..b3239d51bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -85,7 +85,7 @@ "eslint-plugin-vue-scoped-css": "2.8.1", "eslint-plugin-wc": "2.1.1", "happy-dom": "15.7.0", - "license-checker-rseidelsohn": "4.3.0", + "license-checker-rseidelsohn": "4.4.1", "markdownlint-cli": "0.41.0", "postcss-html": "1.7.0", "stylelint": "16.9.0", @@ -11314,9 +11314,9 @@ } }, "node_modules/license-checker-rseidelsohn": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/license-checker-rseidelsohn/-/license-checker-rseidelsohn-4.3.0.tgz", - "integrity": "sha512-A2LQ+3kUIG1hCJ/hh4WUvPsyhooT7o5mFhNyTean0cqH3rZeB1ZUCthxlcdgWESSqx+3DLC6J/8ghbiWRYKdUA==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/license-checker-rseidelsohn/-/license-checker-rseidelsohn-4.4.1.tgz", + "integrity": "sha512-kxpezsFXlzTBsTf+AUqnxybSgsiAeB/xMvkMNJJ2mvxDZhMuOWy8ZAWcgtY/eDyNiywKGxuASvfTz1k5f7NCmQ==", "dev": true, "license": "BSD-3-Clause", "dependencies": { diff --git a/package.json b/package.json index fd9013aea8..8fec24cede 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "eslint-plugin-vue-scoped-css": "2.8.1", "eslint-plugin-wc": "2.1.1", "happy-dom": "15.7.0", - "license-checker-rseidelsohn": "4.3.0", + "license-checker-rseidelsohn": "4.4.1", "markdownlint-cli": "0.41.0", "postcss-html": "1.7.0", "stylelint": "16.9.0", From 1530d34cffd7b3c7921ca393b32b09875b6c8e51 Mon Sep 17 00:00:00 2001 From: Gusted Date: Sat, 31 Aug 2024 06:36:03 +0200 Subject: [PATCH 2/2] chore: Fix import --- webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 09fd962c1f..ebbc51a381 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,6 +1,6 @@ import fastGlob from 'fast-glob'; import wrapAnsi from 'wrap-ansi'; -import licenseChecker from 'license-checker-rseidelsohn'; +import {init as licenseChecker} from 'license-checker-rseidelsohn'; import MiniCssExtractPlugin from 'mini-css-extract-plugin'; import MonacoWebpackPlugin from 'monaco-editor-webpack-plugin'; import {VueLoaderPlugin} from 'vue-loader'; @@ -33,7 +33,7 @@ for (const path of glob('web_src/css/themes/*.css')) { const isProduction = env.NODE_ENV !== 'development'; if (isProduction) { - licenseChecker.init({ + licenseChecker({ start: baseDirectory, production: true, onlyAllow: 'Apache-2.0; 0BSD; BSD-2-Clause; BSD-3-Clause; BlueOak-1.0.0; MIT; ISC; Unlicense; CC-BY-4.0',