🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@cwasm/jpeg-turbo

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cwasm/jpeg-turbo - npm Package Compare versions

Comparing version

to
0.1.3

4

index.js

@@ -16,2 +16,4 @@ /* global WebAssembly */

const stubs = {
environ_sizes_get () { return 0 },
environ_get () { throw new Error('Syscall environ_get not implemented') },
proc_exit () { throw new Error('Syscall proc_exit not implemented') },

@@ -25,3 +27,3 @@ fd_close () { throw new Error('Syscall fd_close not implemented') },

const wasmModule = new WebAssembly.Module(code)
const instance = new WebAssembly.Instance(wasmModule, { env, wasi_unstable: stubs })
const instance = new WebAssembly.Instance(wasmModule, { env, wasi_snapshot_preview1: stubs })

@@ -28,0 +30,0 @@ exports.decode = function (input) {

{
"name": "@cwasm/jpeg-turbo",
"version": "0.1.2",
"version": "0.1.3",
"repository": "LinusU/cwasm-jpeg-turbo",

@@ -20,6 +20,6 @@ "license": "MIT",

"lodepng": "^2.0.0",
"mocha": "^6.2.2",
"standard": "^14.3.1",
"ts-readme-generator": "^0.2.0"
"mocha": "^7.1.1",
"standard": "^14.3.3",
"ts-readme-generator": "^0.4.2"
}
}

Sorry, the diff of this file is not supported yet