From 6e88ab762b6264fb39eccf5d51e5e48490586882 Mon Sep 17 00:00:00 2001 From: sverweij Date: Thu, 7 Mar 2024 21:09:01 +0100 Subject: [PATCH] build(npm): updates external dependencies Up'em just updated these outdated dependencies in package.json: dependency-cruiser 11.15.0 -> 16.2.3 devDependencies (policy: latest) eslint 8.22.0 -> 8.57.0 devDependencies (policy: latest) eslint-config-standard 17.0.0 -> 17.1.0 devDependencies (policy: latest) eslint-plugin-import 2.26.0 -> 2.29.1 devDependencies (policy: latest) eslint-plugin-promise 6.0.0 -> 6.1.1 devDependencies (policy: latest) mocha 10.0.0 -> 10.3.0 devDependencies (policy: latest) mscgenjs 6.0.2 -> 7.0.0 dependencies (policy: latest) node-localstorage 2.2.1 -> 3.0.5 devDependencies (policy: latest) sass 1.54.5 -> 1.71.1 devDependencies (policy: latest) upem 7.2.0 -> 9.0.3 devDependencies (policy: latest) webpack 5.74.0 -> 5.90.3 devDependencies (policy: latest) webpack-cli 4.10.0 -> 5.1.4 devDependencies (policy: latest) Up'em found these packages were outdated, but did not update them because of policies: chai 4.4.1 devDependencies (policy: wanted) codemirror 5.65.16 dependencies (policy: wanted) query-string 7.1.3 dependencies (policy: wanted) --- .npmrc | 2 +- package.json | 40 ++++++++++++++++++++++++-------------- src/script/utl/exporter.js | 1 - 3 files changed, 26 insertions(+), 17 deletions(-) diff --git a/.npmrc b/.npmrc index c56ad35a..a2a4cdac 100644 --- a/.npmrc +++ b/.npmrc @@ -1,3 +1,3 @@ -package-lock = false +package-lock = true save-exact = true engine-strict = true diff --git a/package.json b/package.json index efb0ebd0..dc2fc0ee 100644 --- a/package.json +++ b/package.json @@ -29,34 +29,44 @@ }, "dependencies": { "codemirror": "^5.65.8", - "mscgenjs": "6.0.2", + "mscgenjs": "7.0.0", "mscgenjs-inpage": "4.0.5", - "query-string": "7.1.1" + "query-string": "^7.1.1" }, "devDependencies": { - "chai": "4.3.6", - "dependency-cruiser": "11.15.0", - "eslint": "8.22.0", - "eslint-config-standard": "17.0.0", - "eslint-plugin-import": "2.26.0", + "chai": "^4.3.6", + "dependency-cruiser": "16.2.3", + "eslint": "8.57.0", + "eslint-config-standard": "17.1.0", + "eslint-plugin-import": "2.29.1", "eslint-plugin-node": "11.1.0", - "eslint-plugin-promise": "6.0.0", - "mocha": "10.0.0", - "node-localstorage": "2.2.1", + "eslint-plugin-promise": "6.1.1", + "mocha": "10.3.0", + "node-localstorage": "3.0.5", "npm-run-all": "4.1.5", "nyc": "15.1.0", - "sass": "1.54.5", + "sass": "1.71.1", "sw-precache": "5.2.1", - "upem": "7.3.0", - "webpack": "5.74.0", - "webpack-cli": "4.10.0" + "upem": "9.0.3", + "webpack": "5.90.3", + "webpack-cli": "5.1.4" }, "upem": { "policies": [ + { + "package": "chai", + "policy": "wanted", + "because": "chai > 4 are ESM and we aren't yet" + }, { "package": "codemirror", "policy": "wanted", "because": "there's a bit more to migrating to v6 than I want to handle right now: https://codemirror.net/docs/migration/" + }, + { + "package": "query-string", + "policy": "wanted", + "because": "query-string > 7 are ESM and we aren't yet" } ] }, @@ -123,4 +133,4 @@ "all": false }, "private": true -} +} \ No newline at end of file diff --git a/src/script/utl/exporter.js b/src/script/utl/exporter.js index a7bb8f3e..cdecacdc 100644 --- a/src/script/utl/exporter.js +++ b/src/script/utl/exporter.js @@ -1,4 +1,3 @@ - var ast2dot = require('mscgenjs/dist/cjs/render/text/ast2dot') var ast2mscgen = require('mscgenjs/dist/cjs/render/text/ast2mscgen') var ast2doxygen = require('mscgenjs/dist/cjs/render/text/ast2doxygen')