Socket
Socket
Sign inDemoInstall

@toolz/allow

Package Overview
Dependencies
4
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"name": "@toolz/allow",
"version": "1.1.0",
"version": "1.1.1",
"description": "Provides validation of data types",

@@ -5,0 +5,0 @@ "keywords": [

@@ -620,3 +620,3 @@ # allow

```javascript
allow.setFailureBehavior('warn');
allow.setFailureBehavior(allow.failureBehavior.WARN);
/*

@@ -643,3 +643,3 @@ setFailureBehavior() requires one of the following three values:

allow.setFailureBehavior('ignore');
allow.setFailureBehavior(allow.failureBehavior.IGNORE);
allow.setOnFailure(myCustomErrorHandler);

@@ -646,0 +646,0 @@ /*

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc