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 1.0.7 to 1.1.0

hollerith.d.ts

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/strings@1.0.7...@thi.ng/strings@1.1.0) (2019-04-15)
### Features
* **strings:** add hstr() (hollerith) ([619e9ef](https://github.com/thi-ng/umbrella/commit/619e9ef))
## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/strings@1.0.6...@thi.ng/strings@1.0.7) (2019-04-02)

@@ -8,0 +19,0 @@

1

index.d.ts

@@ -6,2 +6,3 @@ export * from "./api";

export * from "./format";
export * from "./hollerith";
export * from "./pad-left";

@@ -8,0 +9,0 @@ export * from "./pad-right";

@@ -5,2 +5,3 @@ export * from "./case";

export * from "./format";
export * from "./hollerith";
export * from "./pad-left";

@@ -7,0 +8,0 @@ export * from "./pad-right";

@@ -81,2 +81,4 @@ 'use strict';

const hstr = (x) => x != null ? ((x = x.toString()), `${x.length}H${x}`) : "";
const padRight = memoize.memoizeJ((n, ch = " ") => {

@@ -225,2 +227,3 @@ const buf = repeat(ch, n);

exports.grams = grams;
exports.hstr = hstr;
exports.kebab = kebab;

@@ -227,0 +230,0 @@ exports.lower = lower;

@@ -80,2 +80,4 @@ (function (global, factory) {

const hstr = (x) => x != null ? ((x = x.toString()), `${x.length}H${x}`) : "";
const padRight = memoize.memoizeJ((n, ch = " ") => {

@@ -224,2 +226,3 @@ const buf = repeat(ch, n);

exports.grams = grams;
exports.hstr = hstr;
exports.kebab = kebab;

@@ -226,0 +229,0 @@ exports.lower = lower;

4

package.json
{
"name": "@thi.ng/strings",
"version": "1.0.7",
"version": "1.1.0",
"description": "Various string formatting & utility functions",

@@ -63,3 +63,3 @@ "module": "./index.js",

"sideEffects": false,
"gitHead": "8982b253961afbee2a63135c4ed7153c61febefb"
"gitHead": "4baddea99aaa37e43b3109f5bfdd6d2e2aedf68b"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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