@worldsibu/convector-core-model
Advanced tools
Comparing version 1.3.10-0-alpha.74462599 to 1.3.10-0-alpha.d9c98e51
@@ -37,3 +37,8 @@ "use strict"; | ||
if ((content && model) && content.type !== new type('').type) { | ||
throw new Error("Possible ID collision, element " + id + " of type " + content.type + " is not " + new type('').type); | ||
if (storageOptions && storageOptions.enforceType) { | ||
throw new Error("Possible ID collision, element " + id + " of type " + content.type + " is not " + new type('').type); | ||
} | ||
else { | ||
console.warn("Possible ID collision, element " + id + " of type " + content.type + " is not " + new type('').type); | ||
} | ||
} | ||
@@ -40,0 +45,0 @@ return [2, model]; |
{ | ||
"name": "@worldsibu/convector-core-model", | ||
"version": "1.3.10-0-alpha.74462599", | ||
"version": "1.3.10-0-alpha.d9c98e51", | ||
"description": "Convector Model base class", | ||
@@ -53,4 +53,4 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@worldsibu/convector-core-errors": "1.3.10-0-alpha.74462599", | ||
"@worldsibu/convector-core-storage": "1.3.10-0-alpha.74462599", | ||
"@worldsibu/convector-core-errors": "1.3.10-0-alpha.d9c98e51", | ||
"@worldsibu/convector-core-storage": "1.3.10-0-alpha.d9c98e51", | ||
"tslib": "^1.9.0", | ||
@@ -57,0 +57,0 @@ "window-or-global": "^1.0.1", |
Sorry, the diff of this file is not supported yet
43933
435
+ Added@types/cls-hooked@4.3.8(transitive)
+ Added@types/node@20.12.8(transitive)
+ Added@worldsibu/convector-core-errors@1.3.10-0-alpha.d9c98e51(transitive)
+ Added@worldsibu/convector-core-storage@1.3.10-0-alpha.d9c98e51(transitive)
+ Addedundici-types@5.26.5(transitive)
- Removed@worldsibu/convector-core-errors@1.3.10-0-alpha.74462599(transitive)
- Removed@worldsibu/convector-core-storage@1.3.10-0-alpha.74462599(transitive)
Updated@worldsibu/convector-core-errors@1.3.10-0-alpha.d9c98e51
Updated@worldsibu/convector-core-storage@1.3.10-0-alpha.d9c98e51