silgi 0.8.52 → 0.8.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/index.mjs +1 -1
- package/dist/core/index.mjs +1 -1
- package/dist/meta/index.d.mts +1 -1
- package/dist/meta/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/_chunks/index.mjs
CHANGED
package/dist/core/index.mjs
CHANGED
|
@@ -241,7 +241,7 @@ ${this.stack}`;
|
|
|
241
241
|
};
|
|
242
242
|
}
|
|
243
243
|
static isError(error) {
|
|
244
|
-
return error instanceof SilgiError;
|
|
244
|
+
return error instanceof SilgiError || typeof error === "object" && error !== null && "name" in error && error.name === "SilgiError";
|
|
245
245
|
}
|
|
246
246
|
static from(error) {
|
|
247
247
|
if (error instanceof SilgiError) {
|
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED