New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vendure/common

Package Overview
Dependencies
Maintainers
1
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vendure/common - npm Package Compare versions

Comparing version 2.0.0-next.18 to 2.0.0-next.19

4

lib/shared-utils.js

@@ -28,3 +28,5 @@ "use strict";

function isClassInstance(item) {
return isObject(item) && item.constructor.name !== 'Object';
// Even if item is an object, it might not have a constructor as in the
// case when it is a null-prototype object, i.e. created using `Object.create(null)`.
return isObject(item) && item.constructor && item.constructor.name !== 'Object';
}

@@ -31,0 +33,0 @@ exports.isClassInstance = isClassInstance;

{
"name": "@vendure/common",
"version": "2.0.0-next.18",
"version": "2.0.0-next.19",
"main": "index.js",

@@ -25,3 +25,3 @@ "license": "MIT",

},
"gitHead": "d42d6418c7f0031ebcb378599601d97ae3067f81"
"gitHead": "ac97d6ec065a6ef145455405f00defbd1432c20d"
}

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