Skip to content

Commit

Permalink
dependencies - move ansi_up to 6.0.2. Closes #3741
Browse files Browse the repository at this point in the history
  • Loading branch information
cscheid committed Feb 13, 2024
1 parent dcbe74f commit 0581a15
Show file tree
Hide file tree
Showing 8 changed files with 458 additions and 456 deletions.
13 changes: 6 additions & 7 deletions src/core/ansi-colors.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
/*
* ansi-colors.ts
*
* Copyright (C) 2020-2022 Posit Software, PBC
*
*/
* ansi-colors.ts
*
* Copyright (C) 2020-2022 Posit Software, PBC
*/

import ansiUp from "ansi_up";
import { AnsiUp } from "ansi_up";
import { Element, parseHtml } from "./deno-dom.ts";

export function hasAnsiEscapeCodes(str: string) {
Expand All @@ -14,7 +13,7 @@ export function hasAnsiEscapeCodes(str: string) {
}

export async function convertToHtmlSpans(str: string) {
const a = new ansiUp();
const a = new AnsiUp();
a.use_classes = true;
const html = a.ansi_to_html(str);

Expand Down
8 changes: 4 additions & 4 deletions src/dev_import_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"media_types/": "./vendor/deno.land/x/[email protected]/",
"dayjs/": "./vendor/cdn.skypack.dev/[email protected]/",
"moment-guess": "./vendor/cdn.skypack.dev/[email protected]",
"ansi_up": "./vendor/cdn.skypack.dev/ansi_up@v5.1.0.js",
"ansi_up": "./vendor/cdn.skypack.dev/ansi_up@v6.0.2.js",
"lodash/": "./vendor/cdn.skypack.dev/[email protected]/",
"acorn-class-fields": "./vendor/cdn.skypack.dev/[email protected]",
"acorn/acorn": "./vendor/cdn.skypack.dev/[email protected]",
Expand All @@ -58,10 +58,10 @@
"https://dev.jspm.io/": "./vendor/../resources/vendor/dev-jspm-io/",
"https://dev.jspm.io/[email protected]": "./vendor/../resources/vendor/dev-jspm-io/[email protected]",
"puppeteer/": "./vendor/../resources/vendor/deno-land/x/puppeteer@9-0-2/",
"cliffy/command/mod.ts": "./vendor/deno.land/x/[email protected]/command/mod.ts",
"log/mod.ts": "./vendor/deno.land/[email protected]/log/mod.ts",
"path/mod.ts": "./vendor/deno.land/[email protected]/path/mod.ts",
"streams/write_all.ts": "./vendor/deno.land/[email protected]/streams/write_all.ts",
"cliffy/command/mod.ts": "./vendor/deno.land/x/[email protected]/command/mod.ts",
"path/mod.ts": "./vendor/deno.land/[email protected]/path/mod.ts",
"semver/mod.ts": "./vendor/deno.land/x/[email protected]/mod.ts",
"fs/mod.ts": "./vendor/deno.land/[email protected]/fs/mod.ts",
"yaml/mod.ts": "./vendor/deno.land/[email protected]/yaml/mod.ts",
Expand Down Expand Up @@ -288,7 +288,7 @@
"/-/@observablehq/[email protected]/dist=es2019,mode=imports/optimized/@observablehq/parser.js": "./vendor/cdn.skypack.dev/-/@observablehq/[email protected]/dist=es2019,mode=imports/optimized/@observablehq/parser.js",
"/-/[email protected]/dist=es2019,mode=imports/optimized/acorn-class-fields.js": "./vendor/cdn.skypack.dev/-/[email protected]/dist=es2019,mode=imports/optimized/acorn-class-fields.js",
"/-/[email protected]/dist=es2019,mode=imports/optimized/acorn-walk.js": "./vendor/cdn.skypack.dev/-/[email protected]/dist=es2019,mode=imports/optimized/acorn-walk.js",
"/-/ansi_up@v5.1.0-ifIRWFhqTFJbTEKi2tZH/dist=es2019,mode=imports/optimized/ansi_up.js": "./vendor/cdn.skypack.dev/-/ansi_up@v5.1.0-ifIRWFhqTFJbTEKi2tZH/dist=es2019,mode=imports/optimized/ansi_up.js",
"/-/ansi_up@v6.0.2-g4dqbE85eEEqdCLbVzfu/dist=es2019,mode=imports/optimized/ansi_up.js": "./vendor/cdn.skypack.dev/-/ansi_up@v6.0.2-g4dqbE85eEEqdCLbVzfu/dist=es2019,mode=imports/optimized/ansi_up.js",
"/-/[email protected]/dist=es2019,mode=imports/optimized/binary-search-bounds.js": "./vendor/cdn.skypack.dev/-/[email protected]/dist=es2019,mode=imports/optimized/binary-search-bounds.js",
"/-/[email protected]/dist=es2019,mode=imports/optimized/blueimp-md5.js": "./vendor/cdn.skypack.dev/-/[email protected]/dist=es2019,mode=imports/optimized/blueimp-md5.js",
"/-/[email protected]/dist=es2019,mode=imports/optimized/dayjs.js": "./vendor/cdn.skypack.dev/-/[email protected]/dist=es2019,mode=imports/optimized/dayjs.js",
Expand Down
2 changes: 1 addition & 1 deletion src/import_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"media_types/": "https://deno.land/x/[email protected]/",
"dayjs/": "https://cdn.skypack.dev/[email protected]/",
"moment-guess": "https://cdn.skypack.dev/[email protected]",
"ansi_up": "https://cdn.skypack.dev/ansi_up@v5.1.0",
"ansi_up": "https://cdn.skypack.dev/ansi_up@v6.0.2",
"lodash/": "https://cdn.skypack.dev/[email protected]/",
"acorn-class-fields": "https://cdn.skypack.dev/[email protected]",
"acorn/acorn": "https://cdn.skypack.dev/[email protected]",
Expand Down

This file was deleted.

Large diffs are not rendered by default.

16 changes: 0 additions & 16 deletions src/vendor/cdn.skypack.dev/[email protected]

This file was deleted.

16 changes: 16 additions & 0 deletions src/vendor/cdn.skypack.dev/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/*
* Skypack CDN - [email protected]
*
* Learn more:
* 📙 Package Documentation: https://www.skypack.dev/view/ansi_up
* 📘 Skypack Documentation: https://www.skypack.dev/docs
*
* Pinned URL: (Optimized for Production)
* ▶️ Normal: https://cdn.skypack.dev/pin/[email protected]/mode=imports/optimized/ansi_up.js
* ⏩ Minified: https://cdn.skypack.dev/pin/[email protected]/mode=imports,min/optimized/ansi_up.js
*
*/

// Browser-Optimized Imports (Don't directly import the URLs below in your application!)
export * from '/-/[email protected]/dist=es2019,mode=imports/optimized/ansi_up.js';
export {default} from '/-/[email protected]/dist=es2019,mode=imports/optimized/ansi_up.js';
8 changes: 4 additions & 4 deletions src/vendor/import_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"https://dev.jspm.io/": "../resources/vendor/dev-jspm-io/",
"https://deno.land/x/[email protected]/": "../resources/vendor/deno-land/x/cache@0-2-12/",
"https://deno.land/[email protected]/hash/": "../resources/vendor/deno-land/std@0-91-0/hash/",
"cliffy/command/mod.ts": "./deno.land/x/[email protected]/command/mod.ts",
"log/mod.ts": "./deno.land/[email protected]/log/mod.ts",
"streams/write_all.ts": "./deno.land/[email protected]/streams/write_all.ts",
"cliffy/command/mod.ts": "./deno.land/x/[email protected]/command/mod.ts",
"acorn/walk": "./cdn.skypack.dev/[email protected]",
"acorn/acorn": "./cdn.skypack.dev/[email protected]",
"acorn-class-fields": "./cdn.skypack.dev/[email protected]",
"path/mod.ts": "./deno.land/[email protected]/path/mod.ts",
"streams/write_all.ts": "./deno.land/[email protected]/streams/write_all.ts",
"semver/mod.ts": "./deno.land/x/[email protected]/mod.ts",
"fs/mod.ts": "./deno.land/[email protected]/fs/mod.ts",
"yaml/mod.ts": "./deno.land/[email protected]/yaml/mod.ts",
Expand All @@ -28,7 +28,7 @@
"fs/expand_glob.ts": "./deno.land/[email protected]/fs/expand_glob.ts",
"fs/exists.ts": "./deno.land/[email protected]/fs/exists.ts",
"fs/_util.ts": "./deno.land/[email protected]/fs/_util.ts",
"ansi_up": "./cdn.skypack.dev/ansi_up@v5.1.0.js",
"ansi_up": "./cdn.skypack.dev/ansi_up@v6.0.2.js",
"cliffy/ansi/mod.ts": "./deno.land/x/[email protected]/ansi/mod.ts",
"streams/read_all.ts": "./deno.land/[email protected]/streams/read_all.ts",
"fs/walk.ts": "./deno.land/[email protected]/fs/walk.ts",
Expand Down Expand Up @@ -175,7 +175,7 @@
"/-/@observablehq/[email protected]/dist=es2019,mode=imports/optimized/@observablehq/parser.js": "./cdn.skypack.dev/-/@observablehq/[email protected]/dist=es2019,mode=imports/optimized/@observablehq/parser.js",
"/-/[email protected]/dist=es2019,mode=imports/optimized/acorn-class-fields.js": "./cdn.skypack.dev/-/[email protected]/dist=es2019,mode=imports/optimized/acorn-class-fields.js",
"/-/[email protected]/dist=es2019,mode=imports/optimized/acorn-walk.js": "./cdn.skypack.dev/-/[email protected]/dist=es2019,mode=imports/optimized/acorn-walk.js",
"/-/ansi_up@v5.1.0-ifIRWFhqTFJbTEKi2tZH/dist=es2019,mode=imports/optimized/ansi_up.js": "./cdn.skypack.dev/-/ansi_up@v5.1.0-ifIRWFhqTFJbTEKi2tZH/dist=es2019,mode=imports/optimized/ansi_up.js",
"/-/ansi_up@v6.0.2-g4dqbE85eEEqdCLbVzfu/dist=es2019,mode=imports/optimized/ansi_up.js": "./cdn.skypack.dev/-/ansi_up@v6.0.2-g4dqbE85eEEqdCLbVzfu/dist=es2019,mode=imports/optimized/ansi_up.js",
"/-/[email protected]/dist=es2019,mode=imports/optimized/binary-search-bounds.js": "./cdn.skypack.dev/-/[email protected]/dist=es2019,mode=imports/optimized/binary-search-bounds.js",
"/-/[email protected]/dist=es2019,mode=imports/optimized/blueimp-md5.js": "./cdn.skypack.dev/-/[email protected]/dist=es2019,mode=imports/optimized/blueimp-md5.js",
"/-/[email protected]/dist=es2019,mode=imports/optimized/dayjs.js": "./cdn.skypack.dev/-/[email protected]/dist=es2019,mode=imports/optimized/dayjs.js",
Expand Down

0 comments on commit 0581a15

Please sign in to comment.