Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@napi-rs/image

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@napi-rs/image - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

30

index.d.ts

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc