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

run-async

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

run-async - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

4

index.js
'use strict';
var isPromise = require('is-promise');
function isPromise(obj) {
return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
}

@@ -5,0 +7,0 @@ /**

{
"name": "run-async",
"version": "2.4.0",
"version": "2.4.1",
"description": "Utility method to run function either synchronously or asynchronously using the common `this.async()` style.",

@@ -23,5 +23,3 @@ "main": "index.js",

"license": "MIT",
"dependencies": {
"is-promise": "^2.1.0"
},
"dependencies": {},
"devDependencies": {

@@ -28,0 +26,0 @@ "mocha": "^7.1.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