Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@rollup/wasm-node

Package Overview
Dependencies
Maintainers
4
Versions
196
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rollup/wasm-node - npm Package Compare versions

Comparing version
4.55.1
to
4.55.2
+2
-2
dist/es/getLogFilter.js
/*
@license
Rollup.js v4.55.1
Mon, 05 Jan 2026 10:23:35 GMT - commit 299cc46f3059a72b1e37b80c688a6d88c6c5f3fd
Rollup.js v4.55.2
Mon, 19 Jan 2026 10:12:51 GMT - commit bd293ba3739e20b00a520e2a77acbb2377c76732

@@ -6,0 +6,0 @@ https://github.com/rollup/rollup

/*
@license
Rollup.js v4.55.1
Mon, 05 Jan 2026 10:23:35 GMT - commit 299cc46f3059a72b1e37b80c688a6d88c6c5f3fd
Rollup.js v4.55.2
Mon, 19 Jan 2026 10:12:51 GMT - commit bd293ba3739e20b00a520e2a77acbb2377c76732

@@ -6,0 +6,0 @@ https://github.com/rollup/rollup

/*
@license
Rollup.js v4.55.1
Mon, 05 Jan 2026 10:23:35 GMT - commit 299cc46f3059a72b1e37b80c688a6d88c6c5f3fd
Rollup.js v4.55.2
Mon, 19 Jan 2026 10:12:51 GMT - commit bd293ba3739e20b00a520e2a77acbb2377c76732

@@ -6,0 +6,0 @@ https://github.com/rollup/rollup

/*
@license
Rollup.js v4.55.1
Mon, 05 Jan 2026 10:23:35 GMT - commit 299cc46f3059a72b1e37b80c688a6d88c6c5f3fd
Rollup.js v4.55.2
Mon, 19 Jan 2026 10:12:51 GMT - commit bd293ba3739e20b00a520e2a77acbb2377c76732

@@ -6,0 +6,0 @@ https://github.com/rollup/rollup

/*
@license
Rollup.js v4.55.1
Mon, 05 Jan 2026 10:23:35 GMT - commit 299cc46f3059a72b1e37b80c688a6d88c6c5f3fd
Rollup.js v4.55.2
Mon, 19 Jan 2026 10:12:51 GMT - commit bd293ba3739e20b00a520e2a77acbb2377c76732

@@ -6,0 +6,0 @@ https://github.com/rollup/rollup

/*
@license
Rollup.js v4.55.1
Mon, 05 Jan 2026 10:23:35 GMT - commit 299cc46f3059a72b1e37b80c688a6d88c6c5f3fd
Rollup.js v4.55.2
Mon, 19 Jan 2026 10:12:51 GMT - commit bd293ba3739e20b00a520e2a77acbb2377c76732

@@ -6,0 +6,0 @@ https://github.com/rollup/rollup

/*
@license
Rollup.js v4.55.1
Mon, 05 Jan 2026 10:23:35 GMT - commit 299cc46f3059a72b1e37b80c688a6d88c6c5f3fd
Rollup.js v4.55.2
Mon, 19 Jan 2026 10:12:51 GMT - commit bd293ba3739e20b00a520e2a77acbb2377c76732

@@ -6,0 +6,0 @@ https://github.com/rollup/rollup

/*
@license
Rollup.js v4.55.1
Mon, 05 Jan 2026 10:23:35 GMT - commit 299cc46f3059a72b1e37b80c688a6d88c6c5f3fd
Rollup.js v4.55.2
Mon, 19 Jan 2026 10:12:51 GMT - commit bd293ba3739e20b00a520e2a77acbb2377c76732

@@ -6,0 +6,0 @@ https://github.com/rollup/rollup

/*
@license
Rollup.js v4.55.1
Mon, 05 Jan 2026 10:23:35 GMT - commit 299cc46f3059a72b1e37b80c688a6d88c6c5f3fd
Rollup.js v4.55.2
Mon, 19 Jan 2026 10:12:51 GMT - commit bd293ba3739e20b00a520e2a77acbb2377c76732

@@ -6,0 +6,0 @@ https://github.com/rollup/rollup

/*
@license
Rollup.js v4.55.1
Mon, 05 Jan 2026 10:23:35 GMT - commit 299cc46f3059a72b1e37b80c688a6d88c6c5f3fd
Rollup.js v4.55.2
Mon, 19 Jan 2026 10:12:51 GMT - commit bd293ba3739e20b00a520e2a77acbb2377c76732

@@ -6,0 +6,0 @@ https://github.com/rollup/rollup

/*
@license
Rollup.js v4.55.1
Mon, 05 Jan 2026 10:23:35 GMT - commit 299cc46f3059a72b1e37b80c688a6d88c6c5f3fd
Rollup.js v4.55.2
Mon, 19 Jan 2026 10:12:51 GMT - commit bd293ba3739e20b00a520e2a77acbb2377c76732

@@ -6,0 +6,0 @@ https://github.com/rollup/rollup

@@ -0,5 +1,137 @@

/* @ts-self-types="./bindings_wasm.d.ts" */
let imports = {};
imports['__wbindgen_placeholder__'] = module.exports;
/**
* @param {string} code
* @param {boolean} allow_return_outside_function
* @param {boolean} jsx
* @returns {Uint8Array}
*/
function parse(code, allow_return_outside_function, jsx) {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
const ptr0 = passStringToWasm0(code, wasm.__wbindgen_export2, wasm.__wbindgen_export3);
const len0 = WASM_VECTOR_LEN;
wasm.parse(retptr, ptr0, len0, allow_return_outside_function, jsx);
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
var v2 = getArrayU8FromWasm0(r0, r1).slice();
wasm.__wbindgen_export(r0, r1 * 1, 1);
return v2;
} finally {
wasm.__wbindgen_add_to_stack_pointer(16);
}
}
exports.parse = parse;
/**
* @param {Uint8Array} input
* @returns {string}
*/
function xxhashBase16(input) {
let deferred1_0;
let deferred1_1;
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.xxhashBase16(retptr, addHeapObject(input));
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
deferred1_0 = r0;
deferred1_1 = r1;
return getStringFromWasm0(r0, r1);
} finally {
wasm.__wbindgen_add_to_stack_pointer(16);
wasm.__wbindgen_export(deferred1_0, deferred1_1, 1);
}
}
exports.xxhashBase16 = xxhashBase16;
/**
* @param {Uint8Array} input
* @returns {string}
*/
function xxhashBase36(input) {
let deferred1_0;
let deferred1_1;
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.xxhashBase36(retptr, addHeapObject(input));
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
deferred1_0 = r0;
deferred1_1 = r1;
return getStringFromWasm0(r0, r1);
} finally {
wasm.__wbindgen_add_to_stack_pointer(16);
wasm.__wbindgen_export(deferred1_0, deferred1_1, 1);
}
}
exports.xxhashBase36 = xxhashBase36;
/**
* @param {Uint8Array} input
* @returns {string}
*/
function xxhashBase64Url(input) {
let deferred1_0;
let deferred1_1;
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.xxhashBase64Url(retptr, addHeapObject(input));
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
deferred1_0 = r0;
deferred1_1 = r1;
return getStringFromWasm0(r0, r1);
} finally {
wasm.__wbindgen_add_to_stack_pointer(16);
wasm.__wbindgen_export(deferred1_0, deferred1_1, 1);
}
}
exports.xxhashBase64Url = xxhashBase64Url;
function __wbg_get_imports() {
const import0 = {
__proto__: null,
__wbg___wbindgen_throw_be289d5034ed271b: function(arg0, arg1) {
throw new Error(getStringFromWasm0(arg0, arg1));
},
__wbg_error_7534b8e9a36f1ab4: function(arg0, arg1) {
let deferred0_0;
let deferred0_1;
try {
deferred0_0 = arg0;
deferred0_1 = arg1;
console.error(getStringFromWasm0(arg0, arg1));
} finally {
wasm.__wbindgen_export(deferred0_0, deferred0_1, 1);
}
},
__wbg_length_32ed9a279acd054c: function(arg0) {
const ret = getObject(arg0).length;
return ret;
},
__wbg_new_8a6f238a6ece86ea: function() {
const ret = new Error();
return addHeapObject(ret);
},
__wbg_prototypesetcall_bdcdcc5842e4d77d: function(arg0, arg1, arg2) {
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
},
__wbg_stack_0ed75d68575b0f3c: function(arg0, arg1) {
const ret = getObject(arg1).stack;
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export2, wasm.__wbindgen_export3);
const len1 = WASM_VECTOR_LEN;
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
},
__wbindgen_object_drop_ref: function(arg0) {
takeObject(arg0);
},
};
return {
__proto__: null,
"./bindings_wasm_bg.js": import0,
};
}
function addHeapObject(obj) {

@@ -112,3 +244,3 @@ if (heap_next === heap.length) heap.push(heap.length + 1);

};
}
};
}

@@ -118,136 +250,5 @@

/**
* @param {string} code
* @param {boolean} allow_return_outside_function
* @param {boolean} jsx
* @returns {Uint8Array}
*/
function parse(code, allow_return_outside_function, jsx) {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
const ptr0 = passStringToWasm0(code, wasm.__wbindgen_export2, wasm.__wbindgen_export3);
const len0 = WASM_VECTOR_LEN;
wasm.parse(retptr, ptr0, len0, allow_return_outside_function, jsx);
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
var v2 = getArrayU8FromWasm0(r0, r1).slice();
wasm.__wbindgen_export(r0, r1 * 1, 1);
return v2;
} finally {
wasm.__wbindgen_add_to_stack_pointer(16);
}
}
exports.parse = parse;
/**
* @param {Uint8Array} input
* @returns {string}
*/
function xxhashBase16(input) {
let deferred1_0;
let deferred1_1;
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.xxhashBase16(retptr, addHeapObject(input));
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
deferred1_0 = r0;
deferred1_1 = r1;
return getStringFromWasm0(r0, r1);
} finally {
wasm.__wbindgen_add_to_stack_pointer(16);
wasm.__wbindgen_export(deferred1_0, deferred1_1, 1);
}
}
exports.xxhashBase16 = xxhashBase16;
/**
* @param {Uint8Array} input
* @returns {string}
*/
function xxhashBase36(input) {
let deferred1_0;
let deferred1_1;
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.xxhashBase36(retptr, addHeapObject(input));
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
deferred1_0 = r0;
deferred1_1 = r1;
return getStringFromWasm0(r0, r1);
} finally {
wasm.__wbindgen_add_to_stack_pointer(16);
wasm.__wbindgen_export(deferred1_0, deferred1_1, 1);
}
}
exports.xxhashBase36 = xxhashBase36;
/**
* @param {Uint8Array} input
* @returns {string}
*/
function xxhashBase64Url(input) {
let deferred1_0;
let deferred1_1;
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.xxhashBase64Url(retptr, addHeapObject(input));
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
deferred1_0 = r0;
deferred1_1 = r1;
return getStringFromWasm0(r0, r1);
} finally {
wasm.__wbindgen_add_to_stack_pointer(16);
wasm.__wbindgen_export(deferred1_0, deferred1_1, 1);
}
}
exports.xxhashBase64Url = xxhashBase64Url;
exports.__wbg___wbindgen_throw_dd24417ed36fc46e = function(arg0, arg1) {
throw new Error(getStringFromWasm0(arg0, arg1));
};
exports.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
let deferred0_0;
let deferred0_1;
try {
deferred0_0 = arg0;
deferred0_1 = arg1;
console.error(getStringFromWasm0(arg0, arg1));
} finally {
wasm.__wbindgen_export(deferred0_0, deferred0_1, 1);
}
};
exports.__wbg_length_22ac23eaec9d8053 = function(arg0) {
const ret = getObject(arg0).length;
return ret;
};
exports.__wbg_new_8a6f238a6ece86ea = function() {
const ret = new Error();
return addHeapObject(ret);
};
exports.__wbg_prototypesetcall_dfe9b766cdc1f1fd = function(arg0, arg1, arg2) {
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
};
exports.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
const ret = getObject(arg1).stack;
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export2, wasm.__wbindgen_export3);
const len1 = WASM_VECTOR_LEN;
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
};
exports.__wbindgen_object_drop_ref = function(arg0) {
takeObject(arg0);
};
const wasmPath = `${__dirname}/bindings_wasm_bg.wasm`;
const wasmBytes = require('fs').readFileSync(wasmPath);
const wasmModule = new WebAssembly.Module(wasmBytes);
const wasm = exports.__wasm = new WebAssembly.Instance(wasmModule, imports).exports;
const wasm = new WebAssembly.Instance(wasmModule, __wbg_get_imports()).exports;
{
"name": "@rollup/wasm-node",
"version": "4.55.1",
"version": "4.55.2",
"description": "Next-generation ES module bundler with Node wasm",

@@ -41,5 +41,5 @@ "main": "dist/rollup.js",

"@codemirror/language": "^6.12.1",
"@codemirror/search": "^6.5.11",
"@codemirror/search": "^6.6.0",
"@codemirror/state": "^6.5.3",
"@codemirror/view": "^6.39.8",
"@codemirror/view": "^6.39.10",
"@eslint/js": "^9.39.2",

@@ -59,9 +59,9 @@ "@inquirer/prompts": "^7.10.1",

"@rollup/pluginutils": "^5.3.0",
"@shikijs/vitepress-twoslash": "^3.20.0",
"@shikijs/vitepress-twoslash": "^3.21.0",
"@types/mocha": "^10.0.10",
"@types/node": "^20.19.27",
"@types/node": "^20.19.28",
"@types/picomatch": "^4.0.2",
"@types/semver": "^7.7.1",
"@types/yargs-parser": "^21.0.3",
"@vue/language-server": "^3.2.1",
"@vue/language-server": "^3.2.2",
"acorn": "^8.15.0",

@@ -88,3 +88,3 @@ "acorn-import-assertions": "^1.9.0",

"github-api": "^3.4.0",
"globals": "^16.5.0",
"globals": "^17.0.0",
"husky": "^9.1.7",

@@ -109,3 +109,3 @@ "is-reference": "^3.0.3",

"requirejs": "^2.3.8",
"rollup": "^4.54.0",
"rollup": "^4.55.1",
"rollup-plugin-license": "^3.6.0",

@@ -121,8 +121,8 @@ "semver": "^7.7.3",

"typescript": "^5.9.3",
"typescript-eslint": "^8.51.0",
"vite": "^7.3.0",
"typescript-eslint": "^8.53.0",
"vite": "^7.3.1",
"vitepress": "^1.6.4",
"vue": "^3.5.26",
"vue-eslint-parser": "^10.2.0",
"vue-tsc": "^3.2.1",
"vue-tsc": "^3.2.2",
"wasm-pack": "^0.13.1",

@@ -129,0 +129,0 @@ "yargs-parser": "^21.1.1"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet