You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

node-webpmux

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-webpmux - npm Package Compare versions

Comparing version
3.1.9
to
3.2.0
COPYING.LESSER

Sorry, the diff of this file is not supported yet

+16
-0
/*
node-webpmux - NodeJS module for interacting with WebP images
Copyright (C) 2023 ApeironTsuka
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
*/
/*
This file contains examples for how to do some common/basic things.

@@ -3,0 +19,0 @@ It will *not* execute. This is on purpose.

+16
-0

@@ -0,1 +1,17 @@

/*
node-webpmux - NodeJS module for interacting with WebP images
Copyright (C) 2023 ApeironTsuka
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
*/
let fs = {};

@@ -2,0 +18,0 @@ if (typeof window === 'undefined') {

@@ -0,1 +1,17 @@

/*
node-webpmux - NodeJS module for interacting with WebP images
Copyright (C) 2023 ApeironTsuka
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
*/
const libwebpF = require('./libwebp/libwebp.js');

@@ -2,0 +18,0 @@ const ranges = {

@@ -0,1 +1,16 @@

/*
node-webpmux - NodeJS module for interacting with WebP images
Copyright (C) 2023 ApeironTsuka
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
*/
#include <stdlib.h>

@@ -2,0 +17,0 @@ #include <stdio.h>

+2
-2
{
"name": "node-webpmux",
"version": "3.1.9",
"version": "3.2.0",
"description": "A pure Javascript/WebAssembly re-implementation of webpmux",

@@ -14,3 +14,3 @@ "main": "webp.js",

"author": "ApeironTsuka",
"license": "ISC",
"license": "LGPL-3.0-or-later",
"bugs": {

@@ -17,0 +17,0 @@ "url": "https://github.com/ApeironTsuka/node-webpmux/issues"

@@ -0,1 +1,17 @@

/*
node-webpmux - NodeJS module for interacting with WebP images
Copyright (C) 2023 ApeironTsuka
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
*/
const IO = require('./io.js');

@@ -2,0 +18,0 @@ const nullByte = Buffer.alloc(1);

@@ -319,6 +319,6 @@ # node-webpmux

[get/set]ImageData and [get/set]FrameData are powered by Google's official libwebp library obtained from the [GitHub mirror](https://github.com/webmproject/libwebp).<br />
Commit 05c46984 was the latest at the time of compilation.<br />
Commit 89c5b91 was the latest at the time of compilation.<br />
This library was compiled with Emscripten with the command `emcc -O3 -s WASM=1 -s MODULARIZE -s EXPORTED_RUNTIME_METHODS='[cwrap]' -s ALLOW_MEMORY_GROWTH=1 -s EXPORT_NAME=LibWebP -DHAVE_CONFIG_H -I libwebp binding.cpp libwebp/src/{dec,dsp,demux,enc,mux,utils}/*.c libwebp/sharpyuv/*.c --bind -o libwebp.js`.<br />
binding.cpp is a shim I wrote to bridge the needed parts together and can be found in the libwebp/ directory.
libwebp.mjs, found in the root, is the Javascript interface to it.
libwebp.js, found in the root, is the Javascript interface to it.

@@ -325,0 +325,0 @@ At present, the only options for encoding are setting the lossless preset, quality, method, and exact flag.<br />

+16
-0

@@ -0,1 +1,17 @@

/*
node-webpmux - NodeJS module for interacting with WebP images
Copyright (C) 2023 ApeironTsuka
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
*/
// For more information on the WebP format, see https://developers.google.com/speed/webp/docs/riff_container

@@ -2,0 +18,0 @@ const { WebPReader, WebPWriter } = require('./parser.js');

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet