From 77cf10aed140b1b2b59763b5b25951abf36b7433 Mon Sep 17 00:00:00 2001 From: Richard Li <742829+rli@users.noreply.github.com> Date: Wed, 20 Nov 2024 13:24:05 -0800 Subject: [PATCH] fix weird mynah package.json declaration (#5109) --- plugins/amazonq/mynah-ui/package-lock.json | 49 ++++------------------ plugins/amazonq/mynah-ui/package.json | 3 +- 2 files changed, 8 insertions(+), 44 deletions(-) diff --git a/plugins/amazonq/mynah-ui/package-lock.json b/plugins/amazonq/mynah-ui/package-lock.json index 18f4767d9e..37e7bd7efc 100644 --- a/plugins/amazonq/mynah-ui/package-lock.json +++ b/plugins/amazonq/mynah-ui/package-lock.json @@ -9,8 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@aws/mynah-ui": "^4.18.1", - "@aws/mynah-ui-chat": "npm:@aws/mynah-ui@4.15.9", + "@aws/mynah-ui-chat": "npm:@aws/mynah-ui@4.18.1", "@types/node": "^14.18.5", "fs-extra": "^10.0.1", "sanitize-html": "^2.12.1", @@ -56,7 +55,8 @@ "web-tree-sitter": "^0.20.7" } }, - "node_modules/@aws/mynah-ui": { + "node_modules/@aws/mynah-ui-chat": { + "name": "@aws/mynah-ui", "version": "4.18.1", "resolved": "https://registry.npmjs.org/@aws/mynah-ui/-/mynah-ui-4.18.1.tgz", "integrity": "sha512-531FL5509O081eWIk0P0reQhGTm/ZaXhRu6FLNqMvAKySPtJyyxee0ieeGAR8h5CVI75learQbXJEGJC6XibAA==", @@ -79,42 +79,6 @@ "unescape-html": "^1.1.0" } }, - "node_modules/@aws/mynah-ui-chat": { - "name": "@aws/mynah-ui", - "version": "4.15.9", - "resolved": "https://registry.npmjs.org/@aws/mynah-ui/-/mynah-ui-4.15.9.tgz", - "integrity": "sha512-iiXEoQ30hugmk+28NVYUwuOwYVJM+zvHQT+rqs+f54mhGkjPIUpQc58L/w7ChCggUY3kXQEp/4lCQsocuSWJkw==", - "hasInstallScript": true, - "license": "Apache License 2.0", - "dependencies": { - "escape-html": "^1.0.3", - "just-clone": "^6.2.0", - "marked": "^12.0.2", - "prismjs": "1.29.0", - "sanitize-html": "^2.12.1", - "unescape-html": "^1.1.0" - }, - "peerDependencies": { - "escape-html": "^1.0.3", - "just-clone": "^6.2.0", - "marked": "^12.0.2", - "prismjs": "1.29.0", - "sanitize-html": "^2.12.1", - "unescape-html": "^1.1.0" - } - }, - "node_modules/@aws/mynah-ui/node_modules/marked": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/marked/-/marked-14.1.4.tgz", - "integrity": "sha512-vkVZ8ONmUdPnjCKc5uTRvmkRbx4EAi2OkTOXmfTDhZz3OFqMNBM1oTTWwTr4HY4uAEojhzPf+Fy8F1DWa3Sndg==", - "license": "MIT", - "bin": { - "marked": "bin/marked.js" - }, - "engines": { - "node": ">= 18" - } - }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", @@ -2324,9 +2288,10 @@ "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==" }, "node_modules/marked": { - "version": "12.0.2", - "resolved": "https://registry.npmjs.org/marked/-/marked-12.0.2.tgz", - "integrity": "sha512-qXUm7e/YKFoqFPYPa3Ukg9xlI5cyAtGmyEIzMfW//m6kXwCy2Ps9DYf5ioijFKQ8qyuscrHoY04iJGctu2Kg0Q==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/marked/-/marked-14.1.4.tgz", + "integrity": "sha512-vkVZ8ONmUdPnjCKc5uTRvmkRbx4EAi2OkTOXmfTDhZz3OFqMNBM1oTTWwTr4HY4uAEojhzPf+Fy8F1DWa3Sndg==", + "license": "MIT", "bin": { "marked": "bin/marked.js" }, diff --git a/plugins/amazonq/mynah-ui/package.json b/plugins/amazonq/mynah-ui/package.json index 80b7bd66a5..edb7db6624 100644 --- a/plugins/amazonq/mynah-ui/package.json +++ b/plugins/amazonq/mynah-ui/package.json @@ -12,8 +12,7 @@ "lintfix": "eslint -c .eslintrc.js --fix --ext .ts ." }, "dependencies": { - "@aws/mynah-ui": "^4.18.1", - "@aws/mynah-ui-chat": "npm:@aws/mynah-ui@4.15.9", + "@aws/mynah-ui-chat": "npm:@aws/mynah-ui@4.18.1", "@types/node": "^14.18.5", "fs-extra": "^10.0.1", "sanitize-html": "^2.12.1",