Skip to content

Commit

Permalink
lock json-colorizer at 2.2.2
Browse files Browse the repository at this point in the history
version 3+ imports tty which is node-only, causes failure
  • Loading branch information
crosshj committed Jan 7, 2025
1 parent fdc0e96 commit 413423a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion terminal/terminal.utils.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//NOTE: sucks that I am stuck with this instance of chalk
//import chalk2 from "https://cdn.skypack.dev/-/chalk@v2.4.2-3J9R9FJJA7NuvPxkCfFq/dist=es2020,mode=imports/optimized/chalk.js";
import chalk2 from "https://cdn.skypack.dev/chalk@2.4.2";
import colorize from 'https://cdn.skypack.dev/json-colorizer';
import colorize from 'https://cdn.skypack.dev/json-colorizer@2.2.2';
import ansiEscapes from 'https://cdn.skypack.dev/ansi-escapes';
const {
cursorHide, cursorShow,
Expand Down
2 changes: 1 addition & 1 deletion test/testlib.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import QUnit from 'https://cdn.skypack.dev/qunit';

//NOTE: sucks that I am stuck with this instance of chalk (due to json colorizer)
import chalk2 from "https://cdn.skypack.dev/-/chalk@v2.4.2-3J9R9FJJA7NuvPxkCfFq/dist=es2020,mode=imports/optimized/chalk.js";
import colorize from 'https://cdn.skypack.dev/json-colorizer';
import colorize from 'https://cdn.skypack.dev/json-colorizer@2.2.2';

import ansiEscapes from 'https://cdn.skypack.dev/ansi-escapes';

Expand Down

0 comments on commit 413423a

Please sign in to comment.