Socket
Socket
Sign inDemoInstall

sprintf-kit

Package Overview
Dependencies
9
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

2.0.1

Diff

Changelog

Source

2.0.1 (2021-06-24)

Bug Fixes

  • Fix support for %% escape (324777a)

<a name="2.0.0"></a>

medikoo
published 2.0.0 •

Changelog

Source

2.0.0 (2018-10-02)

Features

  • for simplicity represent flags as string (299ffa3)
  • in parts expose substitutions values with meta data (c06a929)
  • rename getResolver into getPartsResolver (6270025)
  • seclude formatParts util (3b40e25)
  • support literal modifier resolution within resolver (8f5353e)

BREAKING CHANGES

  • parts.substitutions instead of array of substitution values now exposes array of meta data where substitutionMeta.value exposes substitution value, and substitutionMeta.placeholder exposes placeholder meta data
  • Parse exposes flags now as string and not array, so e.g. ["+", " "] is now exposed as "+ "
  • get-resolver.js module is renamed to get-parts-resolver.js

<a name="1.5.0"></a>

medikoo
published 1.5.0 •

Changelog

Source

1.5.0 (2018-09-28)

Features

<a name="1.4.0"></a>

medikoo
published 1.4.0 •

Changelog

Source

1.4.0 (2018-08-03)

Features

  • support literal decorator (305278c)

<a name="1.3.0"></a>

medikoo
published 1.3.0 •

Changelog

Source

1.3.0 (2018-06-05)

Bug Fixes

  • fix handling of non JSON serializable values (12543a4)

Features

  • more consise invalid value tokens (ad92ddd)

<a name="1.2.1"></a>

medikoo
published 1.2.1 •

Changelog

Source

1.2.1 (2018-06-01)

Bug Fixes

  • improve error messages readability (af86a9a)

<a name="1.2.0"></a>

medikoo
published 1.2.0 •

Changelog

Source

1.2.0 (2018-06-01)

Features

  • allow skipping format string argument (adc537c)

<a name="1.1.0"></a>

medikoo
published 1.1.0 •

Changelog

Source

1.1.0 (2018-05-30)

Bug Fixes

Features

<a name="1.0.0"></a>

medikoo
published 1.0.0 •

Changelog

Source

1.0.0 (2018-04-09)

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc