Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ansi2

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ansi2 - npm Package Compare versions

Comparing version 0.1.14 to 0.1.15

63

dist/wasm/index.d.ts

@@ -0,1 +1,3 @@

/* tslint:disable */
/* eslint-disable */
/**

@@ -11,17 +13,3 @@ * @param {string} s

*/
export function to_svg(s: string, theme: Readonly<{
Vscode: 0;
"0": "Vscode";
Ubuntu: 1;
"1": "Ubuntu";
Vga: 2;
"2": "Vga";
Xterm: 3;
"3": "Xterm";
}>, width?: number | undefined, font?: string | undefined, mode?: Readonly<{
Dark: 0;
"0": "Dark";
Light: 1;
"1": "Light";
}> | undefined, light_bg?: string | undefined, dark_bg?: string | undefined): string;
export function to_svg(s: string, theme: Theme, width?: number, font?: string, mode?: Mode, light_bg?: string, dark_bg?: string): string;
/**

@@ -37,17 +25,3 @@ * @param {string} s

*/
export function to_html(s: string, theme: Readonly<{
Vscode: 0;
"0": "Vscode";
Ubuntu: 1;
"1": "Ubuntu";
Vga: 2;
"2": "Vga";
Xterm: 3;
"3": "Xterm";
}>, width?: number | undefined, font?: string | undefined, mode?: Readonly<{
Dark: 0;
"0": "Dark";
Light: 1;
"1": "Light";
}> | undefined, light_bg?: string | undefined, dark_bg?: string | undefined): string;
export function to_html(s: string, theme: Theme, width?: number, font?: string, mode?: Mode, light_bg?: string, dark_bg?: string): string;
/**

@@ -58,18 +32,13 @@ * @param {string} s

*/
export function to_text(s: string, width?: number | undefined): string;
export const Mode: Readonly<{
Dark: 0;
"0": "Dark";
Light: 1;
"1": "Light";
}>;
export const Theme: Readonly<{
Vscode: 0;
"0": "Vscode";
Ubuntu: 1;
"1": "Ubuntu";
Vga: 2;
"2": "Vga";
Xterm: 3;
"3": "Xterm";
}>;
export function to_text(s: string, width?: number): string;
export enum Mode {
Dark = 0,
Light = 1,
}
export enum Theme {
Vscode = 0,
Ubuntu = 1,
Vga = 2,
Xterm = 3,
}
{
"name": "ansi2",
"version": "0.1.14",
"version": "0.1.15",
"description": "ansi2",

@@ -19,3 +19,5 @@ "main": "dist/index.js",

},
"keywords": [],
"keywords": [
"ansi"
],
"dependencies": {

@@ -26,4 +28,6 @@ "commander": "12.1.0",

"scripts": {
"copy:wasm": "cp ./src-ts/wasm ./dist -r",
"build:lib": "tsc",
"build:cli": "esbuild ./src-ts/cli.ts --bundle --outdir=./dist --platform=node",
"build": "pnpm run build:wasm && pnpm run build:inline && tsc && pnpm run build:cli",
"build": "pnpm run build:wasm && pnpm run build:inline && pnpm run build:lib && pnpm run build:cli && pnpm run copy:wasm",
"build:wasm": "wasm-pack build --target=web --out-dir ./web --release",

@@ -30,0 +34,0 @@ "build:inline": " wasm-pack-inline ./web -d ./src-ts/wasm --name index"

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc