css-inline
Advanced tools
Comparing version 0.11.0 to 0.11.1
@@ -205,2 +205,10 @@ let imports = {}; | ||
* Inline CSS styles from <style> tags to matching elements in the HTML tree and return a string. | ||
* | ||
* # Errors | ||
* | ||
* Inlining might fail for the following reasons: | ||
* - Missing stylesheet file; | ||
* - Remote stylesheet is not available; | ||
* - IO errors; | ||
* - Internal CSS selector parsing error; | ||
* @param {string} html | ||
@@ -246,2 +254,8 @@ * @param {any} options | ||
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) { | ||
@@ -256,8 +270,2 @@ const obj = getObject(arg1); | ||
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_is_object = function(arg0) { | ||
@@ -316,3 +324,3 @@ const val = getObject(arg0); | ||
module.exports.__wbg_getwithrefkey_d1f0d12f1f1b63ea = function(arg0, arg1) { | ||
module.exports.__wbg_getwithrefkey_3b3c46ba20582127 = function(arg0, arg1) { | ||
const ret = getObject(arg0)[getObject(arg1)]; | ||
@@ -322,7 +330,7 @@ return addHeapObject(ret); | ||
module.exports.__wbg_instanceof_ArrayBuffer_39ac22089b74fddb = function(arg0) { | ||
module.exports.__wbg_instanceof_ArrayBuffer_e7d53d51371448e2 = function(arg0) { | ||
let result; | ||
try { | ||
result = getObject(arg0) instanceof ArrayBuffer; | ||
} catch { | ||
} catch (_) { | ||
result = false; | ||
@@ -334,3 +342,3 @@ } | ||
module.exports.__wbg_isSafeInteger_bb8e18dd21c97288 = function(arg0) { | ||
module.exports.__wbg_isSafeInteger_f93fde0dca9820f8 = function(arg0) { | ||
const ret = Number.isSafeInteger(getObject(arg0)); | ||
@@ -340,3 +348,3 @@ return ret; | ||
module.exports.__wbg_buffer_085ec1f694018c4f = function(arg0) { | ||
module.exports.__wbg_buffer_a448f833075b71ba = function(arg0) { | ||
const ret = getObject(arg0).buffer; | ||
@@ -346,3 +354,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_new_8125e318e6245eed = function(arg0) { | ||
module.exports.__wbg_new_8f67e318f15d7254 = function(arg0) { | ||
const ret = new Uint8Array(getObject(arg0)); | ||
@@ -352,7 +360,7 @@ return addHeapObject(ret); | ||
module.exports.__wbg_instanceof_Uint8Array_d8d9cb2b8e8ac1d4 = function(arg0) { | ||
module.exports.__wbg_instanceof_Uint8Array_bced6f43aed8c1aa = function(arg0) { | ||
let result; | ||
try { | ||
result = getObject(arg0) instanceof Uint8Array; | ||
} catch { | ||
} catch (_) { | ||
result = false; | ||
@@ -364,3 +372,3 @@ } | ||
module.exports.__wbg_length_72e2208bbc0efc61 = function(arg0) { | ||
module.exports.__wbg_length_1d25fa9e4ac21ce7 = function(arg0) { | ||
const ret = getObject(arg0).length; | ||
@@ -370,3 +378,3 @@ return ret; | ||
module.exports.__wbg_set_5cf90238115182c3 = function(arg0, arg1, arg2) { | ||
module.exports.__wbg_set_2357bf09366ee480 = function(arg0, arg1, arg2) { | ||
getObject(arg0).set(getObject(arg1), arg2 >>> 0); | ||
@@ -373,0 +381,0 @@ }; |
@@ -7,3 +7,3 @@ { | ||
"description": "High-performance library for inlining CSS into HTML 'style' attributes", | ||
"version": "0.11.0", | ||
"version": "0.11.1", | ||
"license": "MIT", | ||
@@ -10,0 +10,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
353
1088937