Socket
Socket
Sign inDemoInstall

when-conditional

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

when-conditional - npm Package Compare versions

Comparing version 1.0.1 to 1.0.3

test/test.js

2

package.json
{
"name": "when-conditional",
"version": "1.0.1",
"version": "1.0.3",
"description": "A simple little asyncronous if check and conditional method",

@@ -5,0 +5,0 @@ "main": "when.js",

@@ -5,3 +5,3 @@ function when(condition, code){

} else {
process.nextTick(function(){
setImmediate(function(){
when(condition, code);

@@ -12,2 +12,2 @@ });

module.exports = exports = when;
module.exports = exports = when;
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc