Socket
Socket
Sign inDemoInstall

type

Package Overview
Dependencies
0
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

2.7.2

Diff

Changelog

Source

2.7.2 (2022-08-05)

Maintenance Improvements

  • TS: Improve ensure options handling (#8) (4a54066) (Marco)
medikoo
published 2.7.1 •

Changelog

Source

2.7.1 (2022-08-04)

Maintenance Improvements

  • TS: Fix support for isOptional in ensure options (#7) (320f89b) (Marco)
medikoo
published 2.7.0 •

Changelog

Source

2.7.0 (2022-08-03)

Features

  • BigInt.coerce and BigInt.ensure (e49ad78)
medikoo
published 2.6.1 •

Changelog

Source

2.6.1 (2022-07-29)

Maintenance Improvements

medikoo
published 2.6.0 •

Changelog

Source

2.6.0 (2022-02-02)

Features

  • constructor validation utils (74b99bb)
medikoo
published 2.5.0 •

Changelog

Source

2.5.0 (2021-03-08)

Features

  • errorCode option for ensure* utils (777a1f2)
medikoo
published 2.4.0 •

Changelog

Source

2.4.0 (2021-03-08)

Features

  • set/is and set/ensure utils (083ec23)
medikoo
published 2.3.0 •

Changelog

Source

2.3.0 (2021-02-16)

Features

  • map/is and map/ensure utils (aafd1cb)
medikoo
published 2.2.0 •

Changelog

Source

2.2.0 (2021-02-11)

Features

  • Support ensureItem option in array/ensure (8f74973)
medikoo
published 2.1.0 •

Changelog

Source

2.1.0 (2020-08-21)

Features

  • ensure util for cumulated input validation (814c5a8)
  • Provide an alternative error message with options.name (c7751c0)
  • Support %n (meaningful name) token in error message resolver (b0f374e)
  • Support min validation for natural numbers (e703512)
  • Support custom Error constructors (c6ecb90)

Bug Fixes

  • Fix typo in error message (2735533)
2Next
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