Comparing version 1.0.0-alpha.49 to 1.0.0-alpha.50
@@ -6,2 +6,13 @@ # Change Log | ||
# [1.0.0-alpha.50](https://github.com/axe312ger/sqip/compare/sqip@1.0.0-alpha.49...sqip@1.0.0-alpha.50) (2024-03-22) | ||
### Bug Fixes | ||
* avoid multiple instances of svgdom/svg.js ([71108f3](https://github.com/axe312ger/sqip/commit/71108f34bdb344085fd0339599ef29eab3faf2a8)) | ||
# [1.0.0-alpha.49](https://github.com/axe312ger/sqip/compare/sqip@1.0.0-alpha.48...sqip@1.0.0-alpha.49) (2024-03-22) | ||
@@ -8,0 +19,0 @@ |
/// <reference types="node" /> | ||
/// <reference types="@svgdotjs/svg.js" /> | ||
import { SVG, Element } from '@svgdotjs/svg.js'; | ||
import type { Palette } from '@behold/sharp-vibrant/lib/color'; | ||
export declare const loadSVG: (svg: string) => Promise<import("@svgdotjs/svg.js").Element>; | ||
export declare const loadSVG: (svg: string) => Promise<{ | ||
svg: Element; | ||
SVG: typeof SVG; | ||
}>; | ||
export declare function isError(error: unknown): error is NodeJS.ErrnoException; | ||
@@ -6,0 +9,0 @@ export declare function locateFiles(input: string): Promise<string[]>; |
@@ -19,3 +19,3 @@ "use strict"; | ||
(0, svg_js_1.registerWindow)(window, document); | ||
return (0, svg_js_1.SVG)(svg); | ||
return { svg: (0, svg_js_1.SVG)(svg), SVG: svg_js_1.SVG }; | ||
}; | ||
@@ -22,0 +22,0 @@ exports.loadSVG = loadSVG; |
{ | ||
"name": "sqip", | ||
"version": "1.0.0-alpha.49", | ||
"version": "1.0.0-alpha.50", | ||
"description": "> TODO: description", | ||
@@ -70,3 +70,3 @@ "author": "Benedikt Rötsch <info@benedikt-roetsch.de>", | ||
}, | ||
"gitHead": "4d931fdc2317362df0821f575b2ce7d0dbcc6917" | ||
"gitHead": "70b338c0fcb592ef9a51b587e4ffcdb66ee3959b" | ||
} |
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
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
44296
523