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

@thi.ng/text-format

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/text-format - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

8

ansi.d.ts

@@ -27,3 +27,5 @@ import type { StringFormat } from "./api.js";

* This mode is intended for image displays, e.g. using thi.ng/pixel and
* {@link imageRaw}. Also see {@link format556} and {@link format565_8bit}.
* thi.ng/text-canvas
* [`imageRaw()`](https://docs.thi.ng/umbrella/text-canvas/functions/imageRaw.html).
* Also see {@link format565} and {@link format565_8bit}.
*

@@ -45,3 +47,3 @@ * https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit

* Takes _normalized_ RGB values ([0..1] range) and converts them into an RGB565
* value for later use with {@link FMT_ANSI565} or {@link FMT_HTML_565}. Does
* value for later use with {@link FMT_ANSI565} or {@link FMT_HTML565}. Does
* NOT perform clipping!

@@ -56,3 +58,3 @@ *

* Converts RGB (8bit channels) into a 16bit RGB565 value for later use with
* {@link FMT_ANSI565} or {@link FMT_HTML_565}. Does NOT perform clipping!
* {@link FMT_ANSI565} or {@link FMT_HTML565}. Does NOT perform clipping!
*

@@ -59,0 +61,0 @@ * @param r -

# Change Log
- **Last updated**: 2024-01-23T15:58:27Z
- **Last updated**: 2024-01-26T18:03:04Z
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)

@@ -5,0 +5,0 @@

{
"name": "@thi.ng/text-format",
"version": "2.0.4",
"version": "2.0.5",
"description": "Customizable color text formatting with presets for ANSI & HTML",

@@ -38,5 +38,5 @@ "type": "module",

"dependencies": {
"@thi.ng/api": "^8.9.17",
"@thi.ng/hex": "^2.3.29",
"@thi.ng/memoize": "^3.1.51"
"@thi.ng/api": "^8.9.18",
"@thi.ng/hex": "^2.3.30",
"@thi.ng/memoize": "^3.1.52"
},

@@ -107,3 +107,3 @@ "devDependencies": {

},
"gitHead": "417b5a7ea7bd54a3b4f086fe0fc2ce8e8933c9b2\n"
"gitHead": "7426e2ae6fca5482c6eaf649872296fc89955374\n"
}
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