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

@applitools/utils

Package Overview
Dependencies
Maintainers
22
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/utils - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Changelog

## 1.1.2 - 2021/3/31
- fix `types.instanceOf` will immediately return `false` for non-object values
## 1.1.1 - 2021/3/25

@@ -8,0 +12,0 @@

5

dist/src/types.js

@@ -62,5 +62,4 @@ "use strict";

for (const key of keys) {
if (!Object.prototype.hasOwnProperty.call(value, key)) {
if (!(key in value))
return false;
}
}

@@ -71,2 +70,4 @@ return true;

function instanceOf(value, ctorOrName) {
if (!isObject(value))
return false;
if (!isString(ctorOrName))

@@ -73,0 +74,0 @@ return value instanceof ctorOrName;

{
"name": "@applitools/utils",
"version": "1.1.1",
"version": "1.1.2",
"keywords": [

@@ -5,0 +5,0 @@ "applitools",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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