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

parse-ingredient

Package Overview
Dependencies
Maintainers
0
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-ingredient - npm Package Versions

2

1.2.1

Diff

Changelog

Source

[v1.2.1] - 2024-07-06

Fixed

  • [#20] Several missing alternate abbreviations were added.
jakeboone02
published 1.2.0 •

Changelog

Source

[v1.2.0] - 2024-01-18

Added

  • [#18] New option ignoreUOMs, an array of strings that will not be considered units of measure.
jakeboone02
published 1.1.1 •

Changelog

Source

[v1.1.1] - 2024-01-15

Fixed

  • Corrected links in package.json to distributed type definition files.
jakeboone02
published 1.1.0 •

Changelog

Source

[v1.1.0] - 2023-12-01

Changed

  • [#14] compactStringArray has been removed. (array.filter(Boolean) is functionally equivalent to compactStringArray(array).)

Added

  • [#14] If no quantity is detected at the beginning of an ingredient line, the end of the line will be scanned for quantity/range and unit of measure.
jakeboone02
published 1.1.0-beta.0 •

jakeboone02
published 1.0.1 •

Changelog

Source

[v1.0.1] - 2023-07-26

Changed

  • compactArray is now compactStringArray and only works for arrays of actual strings.

Fixed

  • Properly handles CRLF line endings.
  • Minor performance improvements.
jakeboone02
published 1.0.0 •

Changelog

Source

[v1.0.0] - 2023-06-18

Changed

  • [#8] Upgrade numeric-quantity to v2.0.0.
jakeboone02
published 0.6.0 •

Changelog

Source

[v0.6.0] - 2022-10-15

Changed

  • Added "or" as range indicator/separator.

Added

  • [#7] Alternate tablespoon UOM.
jakeboone02
published 0.5.0 •

Changelog

Source

[v0.5.0] - 2022-04-16

Changed

  • Removed redundant UOM versions and renamed to alternates.

Added

  • additionalUOMs and allowLeadingOf options.
  • Additional units of measure.
jakeboone02
published 0.4.0 •

Changelog

Source

[v0.4.0] - 2021-08-23

Fixed

  • Updated dependencies.
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