Socket
Socket
Sign inDemoInstall

@rollup/wasm-node

Package Overview
Dependencies
Maintainers
4
Versions
82
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.1.3 to 4.1.4

4

dist/es/getLogFilter.js
/*
@license
Rollup.js v4.1.3
Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
Rollup.js v4.1.4
Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048

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

/*
@license
Rollup.js v4.1.3
Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
Rollup.js v4.1.4
Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048

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

/*
@license
Rollup.js v4.1.3
Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
Rollup.js v4.1.4
Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048

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

/*
@license
Rollup.js v4.1.3
Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
Rollup.js v4.1.4
Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048

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

/*
@license
Rollup.js v4.1.3
Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
Rollup.js v4.1.4
Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048

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

/*
@license
Rollup.js v4.1.3
Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
Rollup.js v4.1.4
Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048

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

/*
@license
Rollup.js v4.1.3
Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
Rollup.js v4.1.4
Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048

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

/*
@license
Rollup.js v4.1.3
Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
Rollup.js v4.1.4
Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048

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

/*
@license
Rollup.js v4.1.3
Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
Rollup.js v4.1.4
Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048

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

/*
@license
Rollup.js v4.1.3
Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
Rollup.js v4.1.4
Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048

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

/*
@license
Rollup.js v4.1.3
Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
Rollup.js v4.1.4
Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048

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

/*
@license
Rollup.js v4.1.3
Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
Rollup.js v4.1.4
Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048

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

@@ -108,6 +108,2 @@ let imports = {};

function isLikeNone(x) {
return x === undefined || x === null;
}
let cachedInt32Memory0 = null;

@@ -122,76 +118,2 @@

let cachedFloat64Memory0 = null;
function getFloat64Memory0() {
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
}
return cachedFloat64Memory0;
}
function debugString(val) {
// primitive types
const type = typeof val;
if (type == 'number' || type == 'boolean' || val == null) {
return `${val}`;
}
if (type == 'string') {
return `"${val}"`;
}
if (type == 'symbol') {
const description = val.description;
if (description == null) {
return 'Symbol';
} else {
return `Symbol(${description})`;
}
}
if (type == 'function') {
const name = val.name;
if (typeof name == 'string' && name.length > 0) {
return `Function(${name})`;
} else {
return 'Function';
}
}
// objects
if (Array.isArray(val)) {
const length = val.length;
let debug = '[';
if (length > 0) {
debug += debugString(val[0]);
}
for(let i = 1; i < length; i++) {
debug += ', ' + debugString(val[i]);
}
debug += ']';
return debug;
}
// Test for built-in
const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
let className;
if (builtInMatches.length > 1) {
className = builtInMatches[1];
} else {
// Failed to match the standard '[object ClassName]'
return toString.call(val);
}
if (className == 'Object') {
// we're a user defined class or Object
// JSON.stringify avoids problems with cycles, and is generally much
// easier than looping through ownProperties of `val`.
try {
return 'Object(' + JSON.stringify(val) + ')';
} catch (_) {
return 'Object';
}
}
// errors
if (val instanceof Error) {
return `${val.name}: ${val.message}\n${val.stack}`;
}
// TODO we could test for more things here, like `Set`s and `Map`s.
return className;
}
function getArrayU8FromWasm0(ptr, len) {

@@ -243,25 +165,2 @@ ptr = ptr >>> 0;

/**
* @param {string} query
* @param {any} opts
* @returns {any}
*/
module.exports.browserslist = function(query, opts) {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
const ptr0 = passStringToWasm0(query, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;
wasm.browserslist(retptr, ptr0, len0, addHeapObject(opts));
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
var r2 = getInt32Memory0()[retptr / 4 + 2];
if (r2) {
throw takeObject(r1);
}
return takeObject(r0);
} finally {
wasm.__wbindgen_add_to_stack_pointer(16);
}
};
function handleError(f, args) {

@@ -279,22 +178,7 @@ try {

module.exports.__wbindgen_error_new = function(arg0, arg1) {
const ret = new Error(getStringFromWasm0(arg0, arg1));
module.exports.__wbg_crypto_c48a774b022d20ac = function(arg0) {
const ret = getObject(arg0).crypto;
return addHeapObject(ret);
};
module.exports.__wbindgen_boolean_get = function(arg0) {
const v = getObject(arg0);
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
return ret;
};
module.exports.__wbindgen_string_get = function(arg0, arg1) {
const obj = getObject(arg1);
const ret = typeof(obj) === 'string' ? obj : undefined;
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
var len1 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len1;
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
};
module.exports.__wbindgen_is_object = function(arg0) {

@@ -306,49 +190,2 @@ const val = getObject(arg0);

module.exports.__wbindgen_is_undefined = function(arg0) {
const ret = getObject(arg0) === undefined;
return ret;
};
module.exports.__wbindgen_in = function(arg0, arg1) {
const ret = getObject(arg0) in getObject(arg1);
return ret;
};
module.exports.__wbindgen_string_new = function(arg0, arg1) {
const ret = getStringFromWasm0(arg0, arg1);
return addHeapObject(ret);
};
module.exports.__wbindgen_object_clone_ref = function(arg0) {
const ret = getObject(arg0);
return addHeapObject(ret);
};
module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
const ret = getObject(arg0) == getObject(arg1);
return ret;
};
module.exports.__wbindgen_number_get = function(arg0, arg1) {
const obj = getObject(arg1);
const ret = typeof(obj) === 'number' ? obj : undefined;
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
};
module.exports.__wbindgen_number_new = function(arg0) {
const ret = arg0;
return addHeapObject(ret);
};
module.exports.__wbg_getwithrefkey_15c62c2b8546208d = function(arg0, arg1) {
const ret = getObject(arg0)[getObject(arg1)];
return addHeapObject(ret);
};
module.exports.__wbg_crypto_c48a774b022d20ac = function(arg0) {
const ret = getObject(arg0).crypto;
return addHeapObject(ret);
};
module.exports.__wbg_process_298734cf255a885d = function(arg0) {

@@ -389,2 +226,7 @@ const ret = getObject(arg0).process;

module.exports.__wbindgen_string_new = function(arg0, arg1) {
const ret = getStringFromWasm0(arg0, arg1);
return addHeapObject(ret);
};
module.exports.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {

@@ -398,7 +240,2 @@ getObject(arg0).randomFillSync(takeObject(arg1));

module.exports.__wbg_new_898a68150f225f2e = function() {
const ret = new Array();
return addHeapObject(ret);
};
module.exports.__wbg_newnoargs_581967eacc0e2604 = function(arg0, arg1) {

@@ -409,7 +246,2 @@ const ret = new Function(getStringFromWasm0(arg0, arg1));

module.exports.__wbg_get_97b561fb56f034b5 = function() { return handleError(function (arg0, arg1) {
const ret = Reflect.get(getObject(arg0), getObject(arg1));
return addHeapObject(ret);
}, arguments) };
module.exports.__wbg_call_cb65541d95d71282 = function() { return handleError(function (arg0, arg1) {

@@ -420,2 +252,7 @@ const ret = getObject(arg0).call(getObject(arg1));

module.exports.__wbindgen_object_clone_ref = function(arg0) {
const ret = getObject(arg0);
return addHeapObject(ret);
};
module.exports.__wbg_self_1ff1d729e9aae938 = function() { return handleError(function () {

@@ -441,14 +278,4 @@ const ret = self.self;

module.exports.__wbg_set_502d29070ea18557 = function(arg0, arg1, arg2) {
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
};
module.exports.__wbg_instanceof_ArrayBuffer_39ac22089b74fddb = function(arg0) {
let result;
try {
result = getObject(arg0) instanceof ArrayBuffer;
} catch {
result = false;
}
const ret = result;
module.exports.__wbindgen_is_undefined = function(arg0) {
const ret = getObject(arg0) === undefined;
return ret;

@@ -462,22 +289,2 @@ };

module.exports.__wbg_getTime_5e2054f832d82ec9 = function(arg0) {
const ret = getObject(arg0).getTime();
return ret;
};
module.exports.__wbg_getTimezoneOffset_8aee3445f323973e = function(arg0) {
const ret = getObject(arg0).getTimezoneOffset();
return ret;
};
module.exports.__wbg_new_cd59bfc8881f487b = function(arg0) {
const ret = new Date(getObject(arg0));
return addHeapObject(ret);
};
module.exports.__wbg_new0_c0be7df4b6bd481f = function() {
const ret = new Date();
return addHeapObject(ret);
};
module.exports.__wbg_buffer_085ec1f694018c4f = function(arg0) {

@@ -507,13 +314,2 @@ const ret = getObject(arg0).buffer;

module.exports.__wbg_instanceof_Uint8Array_d8d9cb2b8e8ac1d4 = function(arg0) {
let result;
try {
result = getObject(arg0) instanceof Uint8Array;
} catch {
result = false;
}
const ret = result;
return ret;
};
module.exports.__wbg_newwithlength_e5d69174d6984cd7 = function(arg0) {

@@ -529,10 +325,2 @@ const ret = new Uint8Array(arg0 >>> 0);

module.exports.__wbindgen_debug_string = function(arg0, arg1) {
const ret = debugString(getObject(arg1));
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len1;
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
};
module.exports.__wbindgen_throw = function(arg0, arg1) {

@@ -539,0 +327,0 @@ throw new Error(getStringFromWasm0(arg0, arg1));

{
"name": "@rollup/wasm-node",
"version": "4.1.3",
"version": "4.1.4",
"description": "Next-generation ES module bundler with Node wasm",

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

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

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