Socket
Socket
Sign inDemoInstall

moddle

Package Overview
Dependencies
1
Maintainers
9
Versions
41
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.0-exp.0 to 7.0.0-exp.1

17

dist/index.esm.js

@@ -755,11 +755,16 @@ import { forEach, bind, pick, assign, isString, isObject } from 'min-dash';

const strict = model.config.strict === true;
const strict = model.config.strict;
if (strict) {
throw new TypeError(`unknown property <${ name }> on <${ target.$type }>`);
if (typeof strict !== 'undefined') {
const error = new TypeError(`unknown property <${ name }> on <${ target.$type }>`);
if (strict) {
throw error;
} else {
// eslint-disable-next-line no-undef
typeof console !== 'undefined' && console.warn(error);
}
}
// eslint-disable-next-line no-undef
typeof console !== 'undefined' && console.warn(`unknown property <${ name }> on <${ target.$type }>`);
return null;

@@ -766,0 +771,0 @@ };

{
"name": "moddle",
"version": "7.0.0-exp.0",
"version": "7.0.0-exp.1",
"description": "A library for importing meta-model based file formats into JS",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc