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

policeman

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

policeman - npm Package Versions

0.2.5

Diff

Changelog

Source

0.2.5

  • isMinLength can handle undefined
michalzalecki
published 0.2.4 •

Changelog

Source

0.2.4

  • Update Email Regexp
michalzalecki
published 0.2.3 •

Changelog

Source

0.2.3

  • Target ES5
michalzalecki
published 0.2.2 •

Changelog

Source

0.2.2

  • Improve example in README
michalzalecki
published 0.2.1 •

Changelog

Source

0.2.1

  • Fix #1
  • Add example to the README.md
michalzalecki
published 0.2.0 •

Changelog

Source

0.2.0

  • Errors format corresponds to validation format (more)
  • Direct validators import i.e. import { isEmail } from "policeman"
  • Rename maxLength and minLength to isMaxLength and isMinLength
  • Add isEqualLength validator
michalzalecki
published 0.1.0 •

Changelog

Source

0.1.0

  • Allow for filtering schema entries
  • Add isEmail, isMatching and isPassing validators
michalzalecki
published 0.0.1 •

michalzalecki
published 0.0.0 •

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