Skip to content

Commit b805957

Browse files
committed
chore(javascript): Release 0.13.1
Signed-off-by: Dmitry Dygalo <[email protected]>
1 parent b82ff29 commit b805957

File tree

18 files changed

+59
-56
lines changed

18 files changed

+59
-56
lines changed

bindings/javascript/CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [Unreleased]
44

5+
## [0.13.1] - 2024-03-12
6+
57
### Added
68

79
- Packages for `aarch64-linux-android` & `arm-linux-androideabi`. [#336](https://github.com/Stranger6667/css-inline/issues/336)
@@ -38,6 +40,7 @@
3840

3941
- Initial public release
4042

41-
[Unreleased]: https://github.com/Stranger6667/css-inline/compare/javascript-v0.13.0...HEAD
43+
[Unreleased]: https://github.com/Stranger6667/css-inline/compare/javascript-v0.13.1...HEAD
44+
[0.13.1]: https://github.com/Stranger6667/css-inline/compare/javascript-v0.13.0...javascript-v0.13.1
4245
[0.13.0]: https://github.com/Stranger6667/css-inline/compare/javascript-v0.12.1...javascript-v0.13.0
4346
[0.12.1]: https://github.com/Stranger6667/css-inline/compare/javascript-v0.12.0...javascript-v0.12.1

bindings/javascript/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "css-inline-js"
3-
version = "0.13.0"
3+
version = "0.13.1"
44
authors = ["Dmitry Dygalo <[email protected]>"]
55
edition = "2021"
66
readme = "README.md"

bindings/javascript/npm/android-arm-eabi/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@css-inline/css-inline-android-arm-eabi",
3-
"version": "0.13.0",
3+
"version": "0.13.1",
44
"description": "High-performance library for inlining CSS into HTML 'style' attributes",
55
"keywords": [
66
"css",

bindings/javascript/npm/android-arm64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@css-inline/css-inline-android-arm64",
3-
"version": "0.13.0",
3+
"version": "0.13.1",
44
"description": "High-performance library for inlining CSS into HTML 'style' attributes",
55
"keywords": [
66
"css",

bindings/javascript/npm/darwin-arm64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@css-inline/css-inline-darwin-arm64",
3-
"version": "0.13.0",
3+
"version": "0.13.1",
44
"description": "High-performance library for inlining CSS into HTML 'style' attributes",
55
"keywords": [
66
"css",

bindings/javascript/npm/darwin-x64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@css-inline/css-inline-darwin-x64",
3-
"version": "0.13.0",
3+
"version": "0.13.1",
44
"description": "High-performance library for inlining CSS into HTML 'style' attributes",
55
"keywords": [
66
"css",

bindings/javascript/npm/linux-arm-gnueabihf/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@css-inline/css-inline-linux-arm-gnueabihf",
3-
"version": "0.13.0",
3+
"version": "0.13.1",
44
"description": "High-performance library for inlining CSS into HTML 'style' attributes",
55
"keywords": [
66
"css",

bindings/javascript/npm/linux-arm64-gnu/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@css-inline/css-inline-linux-arm64-gnu",
3-
"version": "0.13.0",
3+
"version": "0.13.1",
44
"description": "High-performance library for inlining CSS into HTML 'style' attributes",
55
"keywords": [
66
"css",

bindings/javascript/npm/linux-arm64-musl/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@css-inline/css-inline-linux-arm64-musl",
3-
"version": "0.13.0",
3+
"version": "0.13.1",
44
"description": "High-performance library for inlining CSS into HTML 'style' attributes",
55
"keywords": [
66
"css",

bindings/javascript/npm/linux-x64-gnu/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@css-inline/css-inline-linux-x64-gnu",
3-
"version": "0.13.0",
3+
"version": "0.13.1",
44
"description": "High-performance library for inlining CSS into HTML 'style' attributes",
55
"keywords": [
66
"css",

bindings/javascript/npm/linux-x64-musl/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@css-inline/css-inline-linux-x64-musl",
3-
"version": "0.13.0",
3+
"version": "0.13.1",
44
"description": "High-performance library for inlining CSS into HTML 'style' attributes",
55
"keywords": [
66
"css",

bindings/javascript/npm/win32-x64-msvc/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@css-inline/css-inline-win32-x64-msvc",
3-
"version": "0.13.0",
3+
"version": "0.13.1",
44
"description": "High-performance library for inlining CSS into HTML 'style' attributes",
55
"keywords": [
66
"css",

bindings/javascript/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@css-inline/css-inline",
3-
"version": "0.13.0",
3+
"version": "0.13.1",
44
"description": "High-performance library for inlining CSS into HTML 'style' attributes",
55
"main": "index.js",
66
"repository": "https://github.com/Stranger6667/css-inline",

bindings/javascript/wasm/index.js

+20-20
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,6 @@ heap.push(void 0, null, true, false);
3333
function getObject(idx) {
3434
return heap[idx];
3535
}
36-
var heap_next = heap.length;
37-
function dropObject(idx) {
38-
if (idx < 132)
39-
return;
40-
heap[idx] = heap_next;
41-
heap_next = idx;
42-
}
43-
function takeObject(idx) {
44-
const ret = getObject(idx);
45-
dropObject(idx);
46-
return ret;
47-
}
4836
var WASM_VECTOR_LEN = 0;
4937
var cachedUint8Memory0 = null;
5038
function getUint8Memory0() {
@@ -116,6 +104,7 @@ function getStringFromWasm0(ptr, len) {
116104
ptr = ptr >>> 0;
117105
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
118106
}
107+
var heap_next = heap.length;
119108
function addHeapObject(obj) {
120109
if (heap_next === heap.length)
121110
heap.push(heap.length + 1);
@@ -124,6 +113,17 @@ function addHeapObject(obj) {
124113
heap[idx] = obj;
125114
return idx;
126115
}
116+
function dropObject(idx) {
117+
if (idx < 132)
118+
return;
119+
heap[idx] = heap_next;
120+
heap_next = idx;
121+
}
122+
function takeObject(idx) {
123+
const ret = getObject(idx);
124+
dropObject(idx);
125+
return ret;
126+
}
127127
var cachedFloat64Memory0 = null;
128128
function getFloat64Memory0() {
129129
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
@@ -261,14 +261,6 @@ function __wbg_get_imports() {
261261
const ret = getObject(arg0) === void 0;
262262
return ret;
263263
};
264-
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
265-
takeObject(arg0);
266-
};
267-
imports.wbg.__wbindgen_boolean_get = function(arg0) {
268-
const v = getObject(arg0);
269-
const ret = typeof v === "boolean" ? v ? 1 : 0 : 2;
270-
return ret;
271-
};
272264
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
273265
const obj = getObject(arg1);
274266
const ret = typeof obj === "string" ? obj : void 0;
@@ -277,6 +269,11 @@ function __wbg_get_imports() {
277269
getInt32Memory0()[arg0 / 4 + 1] = len1;
278270
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
279271
};
272+
imports.wbg.__wbindgen_boolean_get = function(arg0) {
273+
const v = getObject(arg0);
274+
const ret = typeof v === "boolean" ? v ? 1 : 0 : 2;
275+
return ret;
276+
};
280277
imports.wbg.__wbindgen_is_object = function(arg0) {
281278
const val = getObject(arg0);
282279
const ret = typeof val === "object" && val !== null;
@@ -325,6 +322,9 @@ function __wbg_get_imports() {
325322
imports.wbg.__wbg_set_2357bf09366ee480 = function(arg0, arg1, arg2) {
326323
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
327324
};
325+
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
326+
takeObject(arg0);
327+
};
328328
imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
329329
const ret = new Error(getStringFromWasm0(arg0, arg1));
330330
return addHeapObject(ret);

bindings/javascript/wasm/index.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)