moddle-xml
Advanced tools
Comparing version 10.0.0 to 11.0.0-exp.0
@@ -350,3 +350,5 @@ import { forEach, assign, find, isString, findIndex, filter, has } from 'min-dash'; | ||
} else | ||
if (name !== 'xmlns') { | ||
if (name === 'xmlns') { | ||
name = ':' + name; | ||
} else { | ||
propNameNs = parseNameNS(name, descriptor.ns.prefix); | ||
@@ -1416,8 +1418,9 @@ | ||
} catch (e) { | ||
/* global console */ | ||
console.warn( | ||
'missing namespace information for ', | ||
attr.name, '=', attr.value, 'on', element, | ||
e); | ||
// eslint-disable-next-line no-undef | ||
typeof console !== 'undefined' && console.warn( | ||
`missing namespace information for <${ | ||
attr.name | ||
}=${ attr.value }> on`, element, e | ||
); | ||
} | ||
@@ -1424,0 +1427,0 @@ }); |
{ | ||
"name": "moddle-xml", | ||
"version": "10.0.0", | ||
"version": "11.0.0-exp.0", | ||
"description": "XML import/export for documents described with moddle", | ||
@@ -59,5 +59,5 @@ "scripts": { | ||
"min-dash": "^4.0.0", | ||
"moddle": "^6.0.0", | ||
"moddle": "^7.0.0-exp.0", | ||
"saxen": "^8.1.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
353493
10492
2
+ Addedmoddle@7.0.0(transitive)
- Removedmoddle@6.2.3(transitive)
Updatedmoddle@^7.0.0-exp.0