@napi-rs/image
Advanced tools
Comparing version 1.5.1 to 1.6.0
@@ -368,3 +368,5 @@ /* tslint:disable */ | ||
constructor(input: Buffer) | ||
static fromRgbaPixels(input: Buffer | Uint8ClampedArray, width: number, height: number): Transformer | ||
/** Support CSS3 color, e.g. rgba(255, 255, 255, .8) */ | ||
static fromSvg(input: string | Buffer, background?: string | undefined | null): Transformer | ||
static fromRgbaPixels(input: Uint8Array | Uint8ClampedArray, width: number, height: number): Transformer | ||
metadata(withExif?: boolean | undefined | null, signal?: AbortSignal | undefined | null): Promise<Metadata> | ||
@@ -371,0 +373,0 @@ /** |
{ | ||
"name": "@napi-rs/image", | ||
"version": "1.5.1", | ||
"version": "1.6.0", | ||
"main": "index.js", | ||
@@ -18,3 +18,4 @@ "types": "index.d.ts", | ||
"jpg", | ||
"png" | ||
"png", | ||
"svg" | ||
], | ||
@@ -67,17 +68,17 @@ "files": [ | ||
}, | ||
"gitHead": "21d75bbe1650438b5901a51de34f1dccfc149359", | ||
"gitHead": "f28270b750e94821bdb16770bba99474c0ed83da", | ||
"optionalDependencies": { | ||
"@napi-rs/image-win32-x64-msvc": "1.5.1", | ||
"@napi-rs/image-darwin-x64": "1.5.1", | ||
"@napi-rs/image-linux-x64-gnu": "1.5.1", | ||
"@napi-rs/image-darwin-arm64": "1.5.1", | ||
"@napi-rs/image-android-arm64": "1.5.1", | ||
"@napi-rs/image-linux-arm64-gnu": "1.5.1", | ||
"@napi-rs/image-linux-arm64-musl": "1.5.1", | ||
"@napi-rs/image-linux-arm-gnueabihf": "1.5.1", | ||
"@napi-rs/image-linux-x64-musl": "1.5.1", | ||
"@napi-rs/image-freebsd-x64": "1.5.1", | ||
"@napi-rs/image-win32-ia32-msvc": "1.5.1", | ||
"@napi-rs/image-android-arm-eabi": "1.5.1" | ||
"@napi-rs/image-win32-x64-msvc": "1.6.0", | ||
"@napi-rs/image-darwin-x64": "1.6.0", | ||
"@napi-rs/image-linux-x64-gnu": "1.6.0", | ||
"@napi-rs/image-darwin-arm64": "1.6.0", | ||
"@napi-rs/image-android-arm64": "1.6.0", | ||
"@napi-rs/image-linux-arm64-gnu": "1.6.0", | ||
"@napi-rs/image-linux-arm64-musl": "1.6.0", | ||
"@napi-rs/image-linux-arm-gnueabihf": "1.6.0", | ||
"@napi-rs/image-linux-x64-musl": "1.6.0", | ||
"@napi-rs/image-freebsd-x64": "1.6.0", | ||
"@napi-rs/image-win32-ia32-msvc": "1.6.0", | ||
"@napi-rs/image-android-arm-eabi": "1.6.0" | ||
} | ||
} |
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
50189
735