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

@santi100/assertion-lib

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@santi100/assertion-lib - npm Package Versions

2

2.0.2

Diff

Changelog

Source

Version 2.0.2

  • Fixed circular dependency bug with assertTypeOf and assertOneOf.
santi100
published 2.0.1 •

Changelog

Source

Version 2.0.1

  • Added assertMatch and assertDefined.
santi100
published 2.0.0 •

Changelog

Source

Version 2.0.0 (MAJOR VERSION; BREAKING CHANGES!)

  • DELETED assertType.
  • Replaced assertOneOf's shallow parameter with comparator to remove reliance on @santi100/equal-lib.
  • Modified module system to use export = for all individual module files, whilst keeping compatibility.
santi100
published 1.0.8 •

Changelog

Source

Version 1.0.8

  • Added assertInstanceOf, assertMaxExclusive and assertMinExclusive.
  • Modified randomFromArray to make sure TypeScript enforces there's at least one element in the input array.
santi100
published 1.0.7 •

Changelog

Source

Version 1.0.7

  • Modified assertMax, assertMin and assertRange to throw RangeErrors instead of TypeErrors.
  • Added assertArray.
santi100
published 1.0.6 •

Changelog

Source

Version 1.0.6

  • Added assertTypeOf, assertOneOf, assertInteger, assertMin, assertMax and assertRange.
santi100
published 1.0.5 •

santi100
published 1.0.4 •

santi100
published 1.0.3 •

santi100
published 1.0.2 •

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