Socket
Socket
Sign inDemoInstall

@hapi/hoek

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hapi/hoek - npm Package Compare versions

Comparing version 8.4.0 to 8.5.0

lib/isPromise.js

13

lib/index.d.ts

@@ -0,1 +1,4 @@

/// <reference types="node" />
/**

@@ -445,2 +448,12 @@ * Performs a deep comparison of the two values including support for circular dependencies, prototype, and enumerable properties.

/**
* Determines if an object is a promise.
*
* @param promise - the object tested.
*
* @returns true if the object is a promise, otherwise false.
*/
export function isPromise(promise: any): boolean;
export namespace ts {

@@ -447,0 +460,0 @@

1

lib/index.js

@@ -22,2 +22,3 @@ 'use strict';

intersect: require('./intersect'),
isPromise: require('./isPromise'),
merge: require('./merge'),

@@ -24,0 +25,0 @@ once: require('./once'),

2

package.json
{
"name": "@hapi/hoek",
"description": "General purpose node utilities",
"version": "8.4.0",
"version": "8.5.0",
"repository": "git://github.com/hapijs/hoek",

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

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