@deepkit/core
Advanced tools
Comparing version 1.0.1-alpha.72 to 1.0.1-alpha.74
@@ -46,3 +46,3 @@ "use strict"; | ||
exports.CustomError = CustomError; | ||
CustomError.__type = ['name', 'stack', 'message', () => "", 'constructor', '&3!&3"8P&2#:>$"0%5']; | ||
CustomError.__type = [() => Error, 'name', 'stack', 'message', () => "", 'constructor', 'P7!&3"&3#8P&2$:>%"0&5']; | ||
const __ΩClassType = ['T', 'args', 'new', '"c!PP"@2"e#!1#M']; | ||
@@ -212,3 +212,3 @@ exports.__ΩClassType = __ΩClassType; | ||
if ('function' === typeof obj) { | ||
return !obj.toString().startsWith('class '); | ||
return !obj.toString().startsWith('class ') && !obj.toString().startsWith('class{'); | ||
} | ||
@@ -215,0 +215,0 @@ return false; |
@@ -38,3 +38,3 @@ function __assignType(fn, args) { | ||
} | ||
CustomError.__type = ['name', 'stack', 'message', () => "", 'constructor', '&3!&3"8P&2#:>$"0%5']; | ||
CustomError.__type = [() => Error, 'name', 'stack', 'message', () => "", 'constructor', 'P7!&3"&3#8P&2$:>%"0&5']; | ||
const __ΩClassType = ['T', 'args', 'new', '"c!PP"@2"e#!1#M']; | ||
@@ -194,3 +194,3 @@ export { __ΩClassType as __ΩClassType }; | ||
if ('function' === typeof obj) { | ||
return !obj.toString().startsWith('class '); | ||
return !obj.toString().startsWith('class ') && !obj.toString().startsWith('class{'); | ||
} | ||
@@ -197,0 +197,0 @@ return false; |
{ | ||
"name": "@deepkit/core", | ||
"version": "1.0.1-alpha.72", | ||
"version": "1.0.1-alpha.74", | ||
"description": "Deepkit core library", | ||
@@ -43,3 +43,3 @@ "type": "commonjs", | ||
}, | ||
"gitHead": "9444890634da58eb79450d19a2992cb27e8c1e71" | ||
"gitHead": "b45ede82baf9b92917b49b50fff58efb16e3959d" | ||
} |
@@ -191,3 +191,3 @@ /* | ||
if ('function' === typeof obj) { | ||
return !obj.toString().startsWith('class '); | ||
return !obj.toString().startsWith('class ') && !obj.toString().startsWith('class{'); | ||
} | ||
@@ -194,0 +194,0 @@ |
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
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
400284