From f5392e3c8f4fd8c384a5df9904590db8213040b7 Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Mon, 14 Feb 2022 16:06:23 -0800 Subject: [PATCH] Bump ansi_up (#18190) --- package.json | 2 +- remote/package.json | 2 +- remote/web/package.json | 2 +- remote/web/yarn.lock | 8 ++++---- remote/yarn.lock | 8 ++++---- .../services/notebook/browser/outputs/renderers.ts | 1 - yarn.lock | 8 ++++---- 7 files changed, 15 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index 223afe4b38..303e7947d1 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "@vscode/sqlite3": "4.0.12", "@vscode/vscode-languagedetection": "1.0.18", "angular2-grid": "2.0.6", - "ansi_up": "^3.0.0", + "ansi_up": "^5.1.0", "applicationinsights": "1.0.8", "azdataGraph": "github:Microsoft/azdataGraph#0.0.14", "chart.js": "^2.9.4", diff --git a/remote/package.json b/remote/package.json index 4c4a5f58b4..14d705ae6b 100644 --- a/remote/package.json +++ b/remote/package.json @@ -15,7 +15,7 @@ "@vscode/vscode-languagedetection": "1.0.18", "applicationinsights": "1.0.8", "angular2-grid": "2.0.6", - "ansi_up": "^3.0.0", + "ansi_up": "^5.1.0", "azdataGraph": "github:Microsoft/azdataGraph#0.0.14", "chart.js": "^2.9.4", "chokidar": "3.5.2", diff --git a/remote/web/package.json b/remote/web/package.json index 10078d9481..5bd63f3268 100644 --- a/remote/web/package.json +++ b/remote/web/package.json @@ -14,7 +14,7 @@ "@microsoft/applicationinsights-web": "^2.6.4", "@vscode/vscode-languagedetection": "1.0.18", "angular2-grid": "2.0.6", - "ansi_up": "^3.0.0", + "ansi_up": "^5.1.0", "azdataGraph": "github:Microsoft/azdataGraph#0.0.14", "chart.js": "^2.9.4", "gridstack": "^3.1.3", diff --git a/remote/web/yarn.lock b/remote/web/yarn.lock index 342ba29ee7..99a07ada5a 100644 --- a/remote/web/yarn.lock +++ b/remote/web/yarn.lock @@ -140,10 +140,10 @@ ansi-styles@^3.2.1: dependencies: color-convert "^1.9.0" -ansi_up@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/ansi_up/-/ansi_up-3.0.0.tgz#27f45d8f457d9ceff59e4ea03c8e6f13c1a303e8" - integrity sha1-J/Rdj0V9nO/1nk6gPI5vE8GjA+g= +ansi_up@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/ansi_up/-/ansi_up-5.1.0.tgz#9cf10e6d359bb434bdcfab5ae4c3abfe1617b6db" + integrity sha512-3wwu+nJCKBVBwOCurm0uv91lMoVkhFB+3qZQz3U11AmAdDJ4tkw1sNPWJQcVxMVYwe0pGEALOjSBOxdxNc+pNQ== array-uniq@^1.0.2: version "1.0.3" diff --git a/remote/yarn.lock b/remote/yarn.lock index d5ec23bb21..1b5e3a7d53 100644 --- a/remote/yarn.lock +++ b/remote/yarn.lock @@ -171,10 +171,10 @@ ansi-styles@^3.2.1: dependencies: color-convert "^1.9.0" -ansi_up@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/ansi_up/-/ansi_up-3.0.0.tgz#27f45d8f457d9ceff59e4ea03c8e6f13c1a303e8" - integrity sha1-J/Rdj0V9nO/1nk6gPI5vE8GjA+g= +ansi_up@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/ansi_up/-/ansi_up-5.1.0.tgz#9cf10e6d359bb434bdcfab5ae4c3abfe1617b6db" + integrity sha512-3wwu+nJCKBVBwOCurm0uv91lMoVkhFB+3qZQz3U11AmAdDJ4tkw1sNPWJQcVxMVYwe0pGEALOjSBOxdxNc+pNQ== anymatch@~3.1.2: version "3.1.2" diff --git a/src/sql/workbench/services/notebook/browser/outputs/renderers.ts b/src/sql/workbench/services/notebook/browser/outputs/renderers.ts index 867787fe83..946d7ef198 100644 --- a/src/sql/workbench/services/notebook/browser/outputs/renderers.ts +++ b/src/sql/workbench/services/notebook/browser/outputs/renderers.ts @@ -393,7 +393,6 @@ export function renderText(options: renderText.IRenderOptions): Promise { let { host, source } = options; const ansiUp = new AnsiUp(); - ansiUp.escape_for_html = true; ansiUp.use_classes = true; // Create the HTML content. diff --git a/yarn.lock b/yarn.lock index 976e943ef4..a17fe5ce13 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1484,10 +1484,10 @@ ansi-wrap@0.1.0, ansi-wrap@^0.1.0: resolved "https://registry.yarnpkg.com/ansi-wrap/-/ansi-wrap-0.1.0.tgz#a82250ddb0015e9a27ca82e82ea603bbfa45efaf" integrity sha1-qCJQ3bABXponyoLoLqYDu/pF768= -ansi_up@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/ansi_up/-/ansi_up-3.0.0.tgz#27f45d8f457d9ceff59e4ea03c8e6f13c1a303e8" - integrity sha1-J/Rdj0V9nO/1nk6gPI5vE8GjA+g= +ansi_up@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/ansi_up/-/ansi_up-5.1.0.tgz#9cf10e6d359bb434bdcfab5ae4c3abfe1617b6db" + integrity sha512-3wwu+nJCKBVBwOCurm0uv91lMoVkhFB+3qZQz3U11AmAdDJ4tkw1sNPWJQcVxMVYwe0pGEALOjSBOxdxNc+pNQ== any-promise@^1.1.0: version "1.3.0"