From 5e4b5edac9f01b54bad8cf25b89ce04b1ff7a4ba Mon Sep 17 00:00:00 2001 From: Phil Barber Date: Sun, 20 Oct 2024 22:09:44 -0400 Subject: [PATCH] Fixes a high vulnerability. Also updates the docker base image in the test app. --- package-lock.json | 16 ++++++++-------- package.json | 5 +++-- test-app/docker-compose.yaml | 2 +- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6e4678a..f168e87 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,7 @@ "fast-xml-parser": "4.4.1", "marklogic": "3.3.1", "merge-options": "3.0.4", + "path-to-regexp": "6.3.0", "ts-loader": "9.5.1", "vscode-languageclient": "7.0.0", "xml2js": "0.6.2" @@ -3545,10 +3546,10 @@ } }, "node_modules/path-to-regexp": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.1.tgz", - "integrity": "sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==", - "dev": true + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz", + "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==", + "license": "MIT" }, "node_modules/path-type": { "version": "4.0.0", @@ -7609,10 +7610,9 @@ } }, "path-to-regexp": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.1.tgz", - "integrity": "sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==", - "dev": true + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz", + "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==" }, "path-type": { "version": "4.0.0", diff --git a/package.json b/package.json index 7e6c31b..e7cfb9d 100644 --- a/package.json +++ b/package.json @@ -157,7 +157,7 @@ "runtime": "node", "configurationAttributes": { "launch": { - "required": [], + "required": [ ], "properties": { "path": { "type": "string", @@ -248,7 +248,7 @@ } } ], - "variables": {} + "variables": { } }, { "type": "xquery-ml", @@ -649,6 +649,7 @@ "fast-xml-parser": "4.4.1", "marklogic": "3.3.1", "merge-options": "3.0.4", + "path-to-regexp": "6.3.0", "ts-loader": "9.5.1", "vscode-languageclient": "7.0.0", "xml2js": "0.6.2" diff --git a/test-app/docker-compose.yaml b/test-app/docker-compose.yaml index b07887c..e537706 100644 --- a/test-app/docker-compose.yaml +++ b/test-app/docker-compose.yaml @@ -4,7 +4,7 @@ name: mlxprs services: marklogic: - image: "marklogicdb/marklogic-db:11.1.0-centos-1.1.0" + image: "progressofficial/marklogic-db:latest" platform: linux/amd64 environment: - INSTALL_CONVERTERS=true