lightningcss-wasm
Advanced tools
Comparing version 1.17.0 to 1.17.1
@@ -49,22 +49,2 @@ | ||
function isLikeNone(x) { | ||
return x === undefined || x === null; | ||
} | ||
let cachegetFloat64Memory0 = null; | ||
function getFloat64Memory0() { | ||
if (cachegetFloat64Memory0 === null || cachegetFloat64Memory0.buffer !== wasm.memory.buffer) { | ||
cachegetFloat64Memory0 = new Float64Array(wasm.memory.buffer); | ||
} | ||
return cachegetFloat64Memory0; | ||
} | ||
let cachegetInt32Memory0 = null; | ||
function getInt32Memory0() { | ||
if (cachegetInt32Memory0 === null || cachegetInt32Memory0.buffer !== wasm.memory.buffer) { | ||
cachegetInt32Memory0 = new Int32Array(wasm.memory.buffer); | ||
} | ||
return cachegetInt32Memory0; | ||
} | ||
let WASM_VECTOR_LEN = 0; | ||
@@ -125,2 +105,22 @@ | ||
function isLikeNone(x) { | ||
return x === undefined || x === null; | ||
} | ||
let cachegetInt32Memory0 = null; | ||
function getInt32Memory0() { | ||
if (cachegetInt32Memory0 === null || cachegetInt32Memory0.buffer !== wasm.memory.buffer) { | ||
cachegetInt32Memory0 = new Int32Array(wasm.memory.buffer); | ||
} | ||
return cachegetInt32Memory0; | ||
} | ||
let cachegetFloat64Memory0 = null; | ||
function getFloat64Memory0() { | ||
if (cachegetFloat64Memory0 === null || cachegetFloat64Memory0.buffer !== wasm.memory.buffer) { | ||
cachegetFloat64Memory0 = new Float64Array(wasm.memory.buffer); | ||
} | ||
return cachegetFloat64Memory0; | ||
} | ||
function debugString(val) { | ||
@@ -309,12 +309,2 @@ // primitive types | ||
}; | ||
imports.wbg.__wbindgen_number_get = function(arg0, arg1) { | ||
const obj = getObject(arg1); | ||
var ret = typeof(obj) === 'number' ? obj : undefined; | ||
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret; | ||
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret); | ||
}; | ||
imports.wbg.__wbg_isSafeInteger_91192d88df6f12b9 = function(arg0) { | ||
var ret = Number.isSafeInteger(getObject(arg0)); | ||
return ret; | ||
}; | ||
imports.wbg.__wbindgen_boolean_get = function(arg0) { | ||
@@ -338,2 +328,12 @@ const v = getObject(arg0); | ||
}; | ||
imports.wbg.__wbindgen_number_get = function(arg0, arg1) { | ||
const obj = getObject(arg1); | ||
var ret = typeof(obj) === 'number' ? obj : undefined; | ||
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret; | ||
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret); | ||
}; | ||
imports.wbg.__wbg_isSafeInteger_91192d88df6f12b9 = function(arg0) { | ||
var ret = Number.isSafeInteger(getObject(arg0)); | ||
return ret; | ||
}; | ||
imports.wbg.__wbg_new_d3138911a89329b0 = function() { | ||
@@ -379,5 +379,5 @@ var ret = new Object(); | ||
}; | ||
imports.wbg.__wbg_new_b563cacb0bf27b31 = function() { | ||
var ret = new Map(); | ||
return addHeapObject(ret); | ||
imports.wbg.__wbg_push_a72df856079e6930 = function(arg0, arg1) { | ||
var ret = getObject(arg0).push(getObject(arg1)); | ||
return ret; | ||
}; | ||
@@ -388,5 +388,5 @@ imports.wbg.__wbindgen_number_new = function(arg0) { | ||
}; | ||
imports.wbg.__wbg_push_a72df856079e6930 = function(arg0, arg1) { | ||
var ret = getObject(arg0).push(getObject(arg1)); | ||
return ret; | ||
imports.wbg.__wbg_new_b563cacb0bf27b31 = function() { | ||
var ret = new Map(); | ||
return addHeapObject(ret); | ||
}; | ||
@@ -393,0 +393,0 @@ imports.wbg.__wbg_get_8bbb82393651dd9c = function() { return handleError(function (arg0, arg1) { |
{ | ||
"name": "lightningcss-wasm", | ||
"version": "1.17.0", | ||
"version": "1.17.1", | ||
"license": "MPL-2.0", | ||
@@ -5,0 +5,0 @@ "description": "A CSS parser, transformer, and minifier written in Rust", |
Sorry, the diff of this file is not supported yet
5142446