New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@thi.ng/strings

Package Overview
Dependencies
Maintainers
1
Versions
206
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.9.4 to 3.9.5

2

CHANGELOG.md
# Change Log
- **Last updated**: 2025-01-29T16:25:48Z
- **Last updated**: 2025-02-13T16:03:11Z
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)

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

/**
* @remarks
* References:
*
* - https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references

@@ -5,0 +6,0 @@ * - https://www.w3.org/TR/xml-entity-names/byalpha.html

@@ -8,3 +8,4 @@ export declare const ESCAPES: Record<string, string>;

* @remarks
* - Well-known low-ASCII control chars will be escaped using simple `\`, e.g.
*
* - Well-known low-ASCII control chars will be escaped using backslash, e.g.
* 0x0a => `\n`

@@ -11,0 +12,0 @@ * - Non-BMP chars will be escaped using `\Uxxxxxxxx`

@@ -7,2 +7,3 @@ import type { Stringer } from "./api.js";

* References:
*
* - https://en.wikipedia.org/wiki/Hollerith_constant

@@ -9,0 +10,0 @@ * - https://en.wikipedia.org/wiki/IGES#File_format

{
"name": "@thi.ng/strings",
"version": "3.9.4",
"version": "3.9.5",
"description": "Various string formatting & utility functions",

@@ -42,10 +42,10 @@ "type": "module",

"dependencies": {
"@thi.ng/api": "^8.11.19",
"@thi.ng/errors": "^2.5.25",
"@thi.ng/hex": "^2.3.63",
"@thi.ng/memoize": "^4.0.9"
"@thi.ng/api": "^8.11.20",
"@thi.ng/errors": "^2.5.26",
"@thi.ng/hex": "^2.3.64",
"@thi.ng/memoize": "^4.0.10"
},
"devDependencies": {
"esbuild": "^0.24.2",
"typedoc": "^0.27.6",
"esbuild": "^0.25.0",
"typedoc": "^0.27.7",
"typescript": "^5.7.3"

@@ -214,3 +214,3 @@ },

},
"gitHead": "fc1d498e8d4b690db873c30cc594352a804e7a65\n"
"gitHead": "9a0b33253fef092aaf301decf6ecd54317874d4c\n"
}
/**
* Yields iterator of characters [`from`..`to`] (inclusive). Uses
* Yields iterator of characters in the closed `[from,to]` interval. Uses
* reverse ordering if `to` < `from`.

@@ -4,0 +4,0 @@ *

@@ -9,3 +9,3 @@ /**

* Non-transducer version of
* [`utf8Decode()`](https://docs.thi.ng/umbrella/transducers-binary/functions/utf8Decode.html).
* [`utf8Decode`](https://docs.thi.ng/umbrella/transducers-binary/functions/utf8Decode.html).
* Decodes `num` bytes from `start` index in given byte buffer. In Firefox this

@@ -21,3 +21,3 @@ * is much faster than using the `TextDecoder` API.

* Non-transducer version of
* [`utf8Encode()`](https://docs.thi.ng/umbrella/transducers-binary/functions/utf8Encode.html).
* [`utf8Encode`](https://docs.thi.ng/umbrella/transducers-binary/functions/utf8Encode.html).
*

@@ -32,2 +32,3 @@ * @remarks

* Based on:
*
* - https://github.com/thi-ng/umbrella/blob/main/packages/transducers-binary/src/utf8.ts

@@ -34,0 +35,0 @@ * - https://gist.github.com/pascaldekloe/62546103a1576803dade9269ccf76330

/**
* Same as [`uuid()`](https://docs.thi.ng/umbrella/hex/functions/uuid.html).
* Same as [`uuid`](https://docs.thi.ng/umbrella/hex/functions/uuid.html).
* Returns UUID formatted string of given byte array from optional start index

@@ -8,4 +8,4 @@ * `i` (default: 0). Array must have min. length

* @remarks
* Use [`uuid()`](https://docs.thi.ng/umbrella/uuid/functions/uuid.html) to
* also generate an UUID from scratch (rather than just format one).
* Use [`uuid`](https://docs.thi.ng/umbrella/uuid/functions/uuid.html) to also
* generate an UUID from scratch (rather than just format one).
*

@@ -12,0 +12,0 @@ * @param id -

@@ -6,9 +6,9 @@ import type { Stringer } from "./api.js";

*
* @size - vector size (optimized for size 1-4)
* @prec - precision (see {@link float}) or existing number formatter
* @delim - delimiter (default: `,`)
* @pre - prefix (default: `[`)
* @post - prefix (default: `]`)
* @param size - vector size (optimized for size 1-4)
* @param prec - precision (see {@link float}) or existing number formatter
* @param delim - delimiter (default: `,`)
* @param pre - prefix (default: `[`)
* @param post - prefix (default: `]`)
*/
export declare const vector: (size: number, prec?: number | Stringer<number>, delim?: string, pre?: string, post?: string) => Stringer<ArrayLike<number>>;
//# sourceMappingURL=vector.d.ts.map

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

*
* @see {@link wordWrap} for main user facing alternative.
* See {@link wordWrap} for main user facing alternative.
*

@@ -42,3 +42,3 @@ * @param line -

*
* @see {@link wordWrap} for main user facing alternative.
* See {@link wordWrap} for main user facing alternative.
*

@@ -45,0 +45,0 @@ * @param lines -

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