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

@toolz/allow

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@toolz/allow - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

3

package.json
{
"name": "@toolz/allow",
"version": "0.0.13",
"version": "0.0.14",
"description": "Provides validation of data types",
"keywords": [
"runtime",
"validation",

@@ -7,0 +8,0 @@ "data type",

@@ -569,3 +569,3 @@ # allow

```javascript
const myCustomErrorHandler = () => {
const myCustomErrorHandler = (value, message) => {
// do the custom error handling...

@@ -581,2 +581,6 @@ }

those features, you must use setFailureBehavior().
When the onFailure method is invoked, it will be called with two arguments:
The original value that failed validation
The message spawned by that failed validation
*/

@@ -583,0 +587,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