Socket
Socket
Sign inDemoInstall

is-promise

Package Overview
Dependencies
0
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 4.0.0

4

index.d.ts

@@ -1,2 +0,2 @@

declare function isPromise<T, S>(obj: Promise<T> | S): obj is Promise<T>;
export default isPromise;
declare function isPromise<T, S>(obj: PromiseLike<T> | S): obj is PromiseLike<T>;
export default isPromise;
{
"name": "is-promise",
"version": "3.0.0",
"version": "4.0.0",
"description": "Test whether an object looks like a promises-a+ promise",

@@ -5,0 +5,0 @@ "main": "./index.js",

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