From dfa7ead5a06b9955c167a396416321de070c7e69 Mon Sep 17 00:00:00 2001 From: Dogus Atasoy Date: Tue, 28 Jan 2025 18:18:28 +0100 Subject: [PATCH] fixed: disabled auto linkify for pure link texts --- .../bugfix-5ad182a1-df86-4b08-b7ae-d409fdf2d690.json | 4 ++++ plugins/amazonq/mynah-ui/package-lock.json | 8 ++++---- plugins/amazonq/mynah-ui/package.json | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 .changes/next-release/bugfix-5ad182a1-df86-4b08-b7ae-d409fdf2d690.json diff --git a/.changes/next-release/bugfix-5ad182a1-df86-4b08-b7ae-d409fdf2d690.json b/.changes/next-release/bugfix-5ad182a1-df86-4b08-b7ae-d409fdf2d690.json new file mode 100644 index 00000000000..acb4e37e43f --- /dev/null +++ b/.changes/next-release/bugfix-5ad182a1-df86-4b08-b7ae-d409fdf2d690.json @@ -0,0 +1,4 @@ +{ + "type" : "bugfix", + "description" : "fix(amazonq): For security reasons, disabled auto linkify for link texts coming in markdown other than [TEXT](URL) format" +} \ No newline at end of file diff --git a/plugins/amazonq/mynah-ui/package-lock.json b/plugins/amazonq/mynah-ui/package-lock.json index 5afb892b2ca..731c775f8fa 100644 --- a/plugins/amazonq/mynah-ui/package-lock.json +++ b/plugins/amazonq/mynah-ui/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@aws/mynah-ui-chat": "npm:@aws/mynah-ui@4.21.5", + "@aws/mynah-ui-chat": "npm:@aws/mynah-ui@4.21.6", "@types/node": "^14.18.5", "fs-extra": "^10.0.1", "sanitize-html": "^2.12.1", @@ -57,9 +57,9 @@ }, "node_modules/@aws/mynah-ui-chat": { "name": "@aws/mynah-ui", - "version": "4.21.5", - "resolved": "https://registry.npmjs.org/@aws/mynah-ui/-/mynah-ui-4.21.5.tgz", - "integrity": "sha512-Ge7/XADBx/Phm9k2pVgjtYRoB5UOsNcTwZ0VOsWOc2JBGblEIasiT4pNNfHGKgMkLf79AKYUKRSH5IAuQRKpaQ==", + "version": "4.21.6", + "resolved": "https://registry.npmjs.org/@aws/mynah-ui/-/mynah-ui-4.21.6.tgz", + "integrity": "sha512-SpWY997696aMDPwbiBqwkBXUCrguDQsJ3RukmgafjAlQuBJAQTIaVAj4GfsEwuTLOsBNR7CJIj9XxhtDo7PvJQ==", "hasInstallScript": true, "license": "Apache License 2.0", "dependencies": { diff --git a/plugins/amazonq/mynah-ui/package.json b/plugins/amazonq/mynah-ui/package.json index de0cdff328b..7da0399d0a3 100644 --- a/plugins/amazonq/mynah-ui/package.json +++ b/plugins/amazonq/mynah-ui/package.json @@ -12,7 +12,7 @@ "lintfix": "eslint -c .eslintrc.js --fix --ext .ts ." }, "dependencies": { - "@aws/mynah-ui-chat": "npm:@aws/mynah-ui@4.21.5", + "@aws/mynah-ui-chat": "npm:@aws/mynah-ui@4.21.6", "@types/node": "^14.18.5", "fs-extra": "^10.0.1", "sanitize-html": "^2.12.1",