Socket
Socket
Sign inDemoInstall

@thi.ng/strings

Package Overview
Dependencies
Maintainers
1
Versions
191
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/strings - npm Package Compare versions

Comparing version 3.7.8 to 3.7.9

2

CHANGELOG.md
# 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/strings",
"version": "3.7.8",
"version": "3.7.9",
"description": "Various string formatting & utility functions",

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

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

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

},
"gitHead": "417b5a7ea7bd54a3b4f086fe0fc2ce8e8933c9b2\n"
"gitHead": "7426e2ae6fca5482c6eaf649872296fc89955374\n"
}

@@ -145,3 +145,3 @@ <!-- This file is generated - DO NOT EDIT! -->

Package sizes (brotli'd, pre-treeshake): ESM: 5.43 KB
Package sizes (brotli'd, pre-treeshake): ESM: 5.44 KB

@@ -148,0 +148,0 @@ ## Dependencies

import type { Stringer } from "./api.js";
type UnitDefs = [number, string, number?][];
export type UnitDefs = [number, string, number?][];
export declare const units: (exp: UnitDefs, base: string, prec?: number) => Stringer<number>;

@@ -10,3 +10,2 @@ export declare const bits: Stringer<number>;

export declare const unitless: Stringer<number>;
export {};
//# sourceMappingURL=units.d.ts.map

@@ -5,7 +5,5 @@ import type { IWordSplit, WordWrapOpts } from "./api.js";

* wrapper of individual word and the _logical_ line length (rather than the
* actualy string width).
*
* @internal
* actually string width).
*/
declare class Line {
export declare class Line {
n: number;

@@ -58,3 +56,2 @@ w: string[];

export declare const wordWrap: (str: string, opts: Partial<WordWrapOpts>) => string;
export {};
//# sourceMappingURL=word-wrap.d.ts.map

@@ -86,2 +86,3 @@ import { lengthAnsi } from "./ansi.js";

export {
Line,
SPLIT_ANSI,

@@ -88,0 +89,0 @@ SPLIT_PLAIN,

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