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

type

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

type - npm Package Versions

13

2.1.0

Diff

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)
medikoo
published 2.0.0 •

Changelog

Source

2.0.0 (2019-10-10)

Features

  • allowedKeys option for plain-object/ensure (f81e72e)
  • ensurePropertyValue option for plain-object/ensure (c5ff8fb)
  • Replace coerceItem with ensureItem option in iterable/ensure (721494f)
  • Seclude lib/resolve-error-message (12636d9)
  • Validate options.ensureItem in iterable/ensure (78da6c1)

BREAKING CHANGES

  • iterable/ensure no longer supports coerceItem option. Instead ensureItem was introduced
medikoo
published 1.2.0 •

Changelog

Source

1.2.0 (2019-09-20)

Bug Fixes

  • Improve error message so it's not confusing (97cd6b9)

Features

  • 'coerceItem' option for iterable/ensure (0818860)
medikoo
published 1.1.0 •

Changelog

Source

1.1.0 (2019-09-20)

Features

  • denyEmpty option for iterables validation (301d071)
medikoo
published 1.0.3 •

Changelog

Source

1.0.3 (2019-08-06)

Bug Fixes

  • Recognize custom built ES5 era errors (6462fac)
medikoo
published 1.0.2 •

Changelog

Source

1.0.2 (2019-08-06)

Bug Fixes

  • Recognize host errors (e.g. DOMException) (96ef399)
medikoo
published 1.0.1 •

Changelog

Source

1.0.1 (2019-04-08)

medikoo
published 1.0.0 •

Changelog

Source

1.0.0 (2019-04-05)

Bug Fixes

  • ensure 'is' functions can't crash (59ceb78)

Features

gozala
published 0.0.3 •

gozala
published 0.0.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