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

afformative

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

afformative - npm Package Versions

2

0.6.3

Diff

Changelog

Source

0.6.3 [2022-02-26]

Added

  • The "comparable" primitive suggestion.
    • This suggestion should be used by all components which rely on formatter logic for sorting.
    • Passing the "comparable" suggestion to a formatter will automatically pass "primitive" as well.
  • The "as-icon" and "with-icon" suggestions.
    • Intended as a replacement for the ambiguous "icon" suggestion, which has been deprecated.
wafflepie
published 0.6.2 •

Changelog

Source

0.6.2 [2021-05-14]

Added

  • It's now possible to use TypeScript to define data context constraints of formatters.
wafflepie
published 0.6.1 •

Changelog

Source

0.6.1 [2021-05-09]

Changed

  • @babel/runtime was added as a dependency.
wafflepie
published 0.6.0 •

Changelog

Source

0.6.0 [2021-03-27]

Added

  • TypeScript typings.
  • Explicit support for passing arbitrary data to formatters: data context.
  • The Formatter.formatAsPrimitive method was added to replace calling Formatter.format without any suggestions.

Changed

  • Using formatters as React components is now deprecated. Prefer using the Formatter.format method in all cases.
  • The "primitive" suggestion is no longer passed automatically when using the Formatter.format method.
  • The format definition passed to makeFormatter and Formatter.wrap is no longer called with a single suggestionTools argument, but rather with usageSuggestions and dataContext.

Removed

  • The SUGGESTIONS export. Instead, pass suggestions directly as strings.
  • All non-development dependencies, including React.
wafflepie
published 0.6.0-alpha.3 •

wafflepie
published 0.6.0-alpha.2 •

wafflepie
published 0.6.0-alpha.1 •

wafflepie
published 0.6.0-alpha.0 •

wafflepie
published 0.5.2 •

Changelog

Source

0.5.2 [2020-06-29]

Changed

  • Documentation has been updated.
wafflepie
published 0.5.1 •

Changelog

Source

0.5.1 [2020-06-26]

Added

  • Formatter.wrap now adds the static Formatter.innerFormatter property for debugging.
2
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