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.4.1 to 1.4.2

12

index.js

@@ -14,3 +14,4 @@ const { existsSync, readFileSync } = require('fs')

try {
return readFileSync('/usr/bin/ldd', 'utf8').includes('musl')
const lddPath = require('child_process').execSync('which ldd').toString().trim();
return readFileSync(lddPath, 'utf8').includes('musl')
} catch (e) {

@@ -105,2 +106,11 @@ return true

case 'darwin':
localFileExisted = existsSync(join(__dirname, 'image.darwin-universal.node'))
try {
if (localFileExisted) {
nativeBinding = require('./image.darwin-universal.node')
} else {
nativeBinding = require('@napi-rs/image-darwin-universal')
}
break
} catch {}
switch (arch) {

@@ -107,0 +117,0 @@ case 'x64':

30

package.json
{
"name": "@napi-rs/image",
"version": "1.4.1",
"version": "1.4.2",
"main": "index.js",

@@ -64,19 +64,19 @@ "types": "index.d.ts",

"devDependencies": {
"@napi-rs/cli": "^2.12.0"
"@napi-rs/cli": "^2.13.2"
},
"gitHead": "8359de12827f78b32551df5c4bb76f6b2d06b718",
"gitHead": "f04033cfe1195d94882bf108cdf638b9a8c023cf",
"optionalDependencies": {
"@napi-rs/image-win32-x64-msvc": "1.4.1",
"@napi-rs/image-darwin-x64": "1.4.1",
"@napi-rs/image-linux-x64-gnu": "1.4.1",
"@napi-rs/image-darwin-arm64": "1.4.1",
"@napi-rs/image-android-arm64": "1.4.1",
"@napi-rs/image-linux-arm64-gnu": "1.4.1",
"@napi-rs/image-linux-arm64-musl": "1.4.1",
"@napi-rs/image-linux-arm-gnueabihf": "1.4.1",
"@napi-rs/image-linux-x64-musl": "1.4.1",
"@napi-rs/image-freebsd-x64": "1.4.1",
"@napi-rs/image-win32-ia32-msvc": "1.4.1",
"@napi-rs/image-android-arm-eabi": "1.4.1"
"@napi-rs/image-win32-x64-msvc": "1.4.2",
"@napi-rs/image-darwin-x64": "1.4.2",
"@napi-rs/image-linux-x64-gnu": "1.4.2",
"@napi-rs/image-darwin-arm64": "1.4.2",
"@napi-rs/image-android-arm64": "1.4.2",
"@napi-rs/image-linux-arm64-gnu": "1.4.2",
"@napi-rs/image-linux-arm64-musl": "1.4.2",
"@napi-rs/image-linux-arm-gnueabihf": "1.4.2",
"@napi-rs/image-linux-x64-musl": "1.4.2",
"@napi-rs/image-freebsd-x64": "1.4.2",
"@napi-rs/image-win32-ia32-msvc": "1.4.2",
"@napi-rs/image-android-arm-eabi": "1.4.2"
}
}
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