@napi-rs/image
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -58,3 +58,3 @@ /* tslint:disable */ | ||
*/ | ||
Yuv400 = 3 | ||
Yuv400 = 3, | ||
} | ||
@@ -71,3 +71,7 @@ export interface JpegCompressOptions { | ||
export function compressJpegSync(input: Buffer, options?: JpegCompressOptions | undefined | null): Buffer | ||
export function compressJpeg(input: Buffer, options?: JpegCompressOptions | undefined | null, signal?: AbortSignal | undefined | null): Promise<Buffer> | ||
export function compressJpeg( | ||
input: Buffer, | ||
options?: JpegCompressOptions | undefined | null, | ||
signal?: AbortSignal | undefined | null, | ||
): Promise<Buffer> | ||
export const enum CompressionType { | ||
@@ -83,3 +87,3 @@ /** Default compression level */ | ||
/** Run-length encoding compression */ | ||
Rle = 4 | ||
Rle = 4, | ||
} | ||
@@ -104,3 +108,3 @@ export const enum FilterType { | ||
*/ | ||
Adaptive = 5 | ||
Adaptive = 5, | ||
} | ||
@@ -158,3 +162,7 @@ export interface PngEncodeOptions { | ||
export function losslessCompressPngSync(input: Buffer, options?: PNGLosslessOptions | undefined | null): Buffer | ||
export function losslessCompressPng(input: Buffer, options?: PNGLosslessOptions | undefined | null, signal?: AbortSignal | undefined | null): Promise<Buffer> | ||
export function losslessCompressPng( | ||
input: Buffer, | ||
options?: PNGLosslessOptions | undefined | null, | ||
signal?: AbortSignal | undefined | null, | ||
): Promise<Buffer> | ||
export interface PngQuantOptions { | ||
@@ -178,3 +186,7 @@ /** default is 70 */ | ||
export function pngQuantizeSync(input: Buffer, options?: PngQuantOptions | undefined | null): Buffer | ||
export function pngQuantize(input: Buffer, options?: PngQuantOptions | undefined | null, signal?: AbortSignal | undefined | null): Promise<Buffer> | ||
export function pngQuantize( | ||
input: Buffer, | ||
options?: PngQuantOptions | undefined | null, | ||
signal?: AbortSignal | undefined | null, | ||
): Promise<Buffer> | ||
export const enum Orientation { | ||
@@ -189,3 +201,3 @@ /** Normal */ | ||
MirrorHorizontalAndRotate90Cw = 7, | ||
Rotate270Cw = 8 | ||
Rotate270Cw = 8, | ||
} | ||
@@ -270,3 +282,3 @@ /** | ||
/** Lanczos with window 3 */ | ||
Lanczos3 = 4 | ||
Lanczos3 = 4, | ||
} | ||
@@ -293,3 +305,3 @@ export const enum JsColorType { | ||
/** Pixel is 32-bit float RGBA */ | ||
Rgba32F = 9 | ||
Rgba32F = 9, | ||
} | ||
@@ -296,0 +308,0 @@ export interface Metadata { |
{ | ||
"name": "@napi-rs/image", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"main": "index.js", | ||
@@ -59,21 +59,21 @@ "types": "index.d.ts", | ||
"format:rs": "cargo fmt --all", | ||
"prepublishOnly": "napi prepublish -t npm", | ||
"prepublishOnly": "napi prepublish", | ||
"version": "napi version" | ||
}, | ||
"repository": "git@github.com:Brooooooklyn/Image.git", | ||
"gitHead": "0aa7effa90873c50d9cd418b873fde5b07d670d6", | ||
"gitHead": "e61083611a6e16e07b38eaefee8d2537c93efe2c", | ||
"optionalDependencies": { | ||
"@napi-rs/image-win32-x64-msvc": "1.1.0", | ||
"@napi-rs/image-darwin-x64": "1.1.0", | ||
"@napi-rs/image-linux-x64-gnu": "1.1.0", | ||
"@napi-rs/image-darwin-arm64": "1.1.0", | ||
"@napi-rs/image-android-arm64": "1.1.0", | ||
"@napi-rs/image-linux-arm64-gnu": "1.1.0", | ||
"@napi-rs/image-linux-arm64-musl": "1.1.0", | ||
"@napi-rs/image-linux-arm-gnueabihf": "1.1.0", | ||
"@napi-rs/image-linux-x64-musl": "1.1.0", | ||
"@napi-rs/image-freebsd-x64": "1.1.0", | ||
"@napi-rs/image-win32-ia32-msvc": "1.1.0", | ||
"@napi-rs/image-android-arm-eabi": "1.1.0" | ||
"@napi-rs/image-win32-x64-msvc": "1.1.1", | ||
"@napi-rs/image-darwin-x64": "1.1.1", | ||
"@napi-rs/image-linux-x64-gnu": "1.1.1", | ||
"@napi-rs/image-darwin-arm64": "1.1.1", | ||
"@napi-rs/image-android-arm64": "1.1.1", | ||
"@napi-rs/image-linux-arm64-gnu": "1.1.1", | ||
"@napi-rs/image-linux-arm64-musl": "1.1.1", | ||
"@napi-rs/image-linux-arm-gnueabihf": "1.1.1", | ||
"@napi-rs/image-linux-x64-musl": "1.1.1", | ||
"@napi-rs/image-freebsd-x64": "1.1.1", | ||
"@napi-rs/image-win32-ia32-msvc": "1.1.1", | ||
"@napi-rs/image-android-arm-eabi": "1.1.1" | ||
} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
46633
643
0