@worldsibu/convector-core-model
Advanced tools
Comparing version 1.3.9-0-alpha.f9e11059 to 1.3.10-0-alpha.74462599
@@ -36,10 +36,5 @@ "use strict"; | ||
model = new type(content); | ||
if (storageOptions && storageOptions.enforceType) { | ||
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 ((content && model) && content.type !== new type('').type) { | ||
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); | ||
} | ||
return [2, model]; | ||
@@ -46,0 +41,0 @@ } |
{ | ||
"name": "@worldsibu/convector-core-model", | ||
"version": "1.3.9-0-alpha.f9e11059", | ||
"version": "1.3.10-0-alpha.74462599", | ||
"description": "Convector Model base class", | ||
@@ -53,4 +53,4 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@worldsibu/convector-core-errors": "1.3.9-0-alpha.f9e11059", | ||
"@worldsibu/convector-core-storage": "1.3.9-0-alpha.f9e11059", | ||
"@worldsibu/convector-core-errors": "1.3.10-0-alpha.74462599", | ||
"@worldsibu/convector-core-storage": "1.3.10-0-alpha.74462599", | ||
"tslib": "^1.9.0", | ||
@@ -57,0 +57,0 @@ "window-or-global": "^1.0.1", |
Sorry, the diff of this file is not supported yet
43435
430
+ Added@worldsibu/convector-core-errors@1.3.10-0-alpha.74462599(transitive)
+ Added@worldsibu/convector-core-storage@1.3.10-0-alpha.74462599(transitive)
- Removed@types/cls-hooked@4.3.8(transitive)
- Removed@types/node@20.12.8(transitive)
- Removed@worldsibu/convector-core-errors@1.3.9-0-alpha.f9e11059(transitive)
- Removed@worldsibu/convector-core-storage@1.3.9-0-alpha.f9e11059(transitive)
- Removedundici-types@5.26.5(transitive)
Updated@worldsibu/convector-core-errors@1.3.10-0-alpha.74462599
Updated@worldsibu/convector-core-storage@1.3.10-0-alpha.74462599