Socket
Socket
Sign inDemoInstall

@commodo/fields

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commodo/fields - npm Package Compare versions

Comparing version 1.1.0-next.12 to 1.1.0-next.13

7

fields/fields.js

@@ -20,2 +20,4 @@ "use strict";

var _name = require("@commodo/name");
var _withFieldDataTypeValidation = _interopRequireDefault(require("./withFieldDataTypeValidation"));

@@ -172,2 +174,7 @@

if ((0, _fields.hasFields)(value)) {
// If both received value and instanceOf has a name attached, let's compare by it.
if ((0, _name.hasName)(value) && (0, _name.hasName)(instanceOf)) {
return (0, _name.getName)(value) === (0, _name.getName)(instanceOf);
}
return value instanceof instanceOf;

@@ -174,0 +181,0 @@ }

6

package.json
{
"name": "@commodo/fields",
"version": "1.1.0-next.12",
"version": "1.1.0-next.13",
"main": "index.js",

@@ -14,6 +14,6 @@ "repository": {

"dependencies": {
"@commodo/name": "^1.2.0-next.13",
"repropose": "^1.0.2"
},
"devDependencies": {
"@commodo/name": "^1.2.0-next.12",
"ramda": "^0.25.0"

@@ -33,3 +33,3 @@ },

},
"gitHead": "d5506e8230248c10dbb469f04646b7d46c805080"
"gitHead": "6a8ccbc6f2a74bfb0f28188b1e8e8c6c7d891a27"
}

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