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

joi-plus

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

joi-plus - npm Package Versions

2

1.4.0

Diff

Changelog

Source

1.4.0

Update joi to version 17.6.0 Added TypeScript support

flamehamster
published 1.3.0 •

Changelog

Source

1.3.0

Update @hapi/joi version 17.1.1 to joi version 17.4.0

flamehamster
published 1.2.2 •

Changelog

Source

1.2.2

Add decimal string validation

flamehamster
published 1.2.1 •

Changelog

Source

1.2.1

Update @hapi/joi from version 17.1.0 to 17.1.1 Removed array.inList

flamehamster
published 1.2.0 •

Changelog

Source

1.2.0

Update @hapi/joi from version 16.1.8 to 17.1.0

flamehamster
published 1.1.4 •

Changelog

Source

1.1.4

Add requirement count to password policy

  • If defined, password is required to pass the number of requirements.
  • If undefined, password is required to pass all of requirements.
flamehamster
published 1.1.3 •

Changelog

Source

1.1.3

Add contain validation

  • Joi.string().contain('abc')
  • Joi.string().contain('suffix', -1)
  • Joi.string().contain('prefix', 0)
flamehamster
published 1.1.2 •

Changelog

Source

1.1.2

Add unescape & | > | < | " | $ | / | \ | ` HTML entities with characters.

  • Joi.string().unescape()

Add sanitize string using function that takes a string as a parameter.

Joi.string().sanitize((string) => {
	...
	return string;
})
flamehamster
published 1.1.1 •

Changelog

Source

1.1.1

Fix type not defined bug in ISO 3166 alpha-2 and alpha-3 country code string validation

flamehamster
published 1.1.0 •

Changelog

Source

1.1.0

Update @hapi/joi from version 16.1.7 to 16.1.8

Add base32 string validation

  • Joi.string().base32()

Add ISO 3166 alpha-2 and alpha-3 country code string validation

  • Joi.string().countryCode('alpha-2'|'alpha-3')

Add escape <, >, &, ', ", /, \ and ` with HTML entities.

  • Joi.string().escape()
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