js 2.7.0 → 2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/js/version.rb +1 -1
- data/wit/js-runtime.wit +2 -2
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f322c0e5d521f68cd2b3f105afecd8b93b7372a3320df538a7fed9c124e6c53
|
4
|
+
data.tar.gz: 8286d36e16bc367780fed3f12e9189b3cbaf79945e7768e0718bea3529fdc528
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cb9831474ab99228f8c38634ee6e3bfed2e6b1cc48e414267826cb37d5ba0b8d2a8d9d57b39b3075c4c96ecefaf28aa762cf332dcfd2a4992e872ed423593a5
|
7
|
+
data.tar.gz: 35b2224562bd4c50894419a454bfc165af4be9d63c2a636f2f311ad16b466b0e717d4e9004faa9d74ff9d6f0d17a2c2904452cf130a8e80cced40c806b47bc10
|
data/lib/js/version.rb
CHANGED
data/wit/js-runtime.wit
CHANGED
@@ -14,7 +14,7 @@ interface js-runtime {
|
|
14
14
|
instance-of: func(value: borrow<js-abi-value>, klass: borrow<js-abi-value>) -> bool;
|
15
15
|
global-this: func() -> js-abi-value;
|
16
16
|
int-to-js-number: func(value: s32) -> js-abi-value;
|
17
|
-
float-to-js-number: func(value:
|
17
|
+
float-to-js-number: func(value: f64) -> js-abi-value;
|
18
18
|
string-to-js-string: func(value: string) -> js-abi-value;
|
19
19
|
bool-to-js-bool: func(value: bool) -> js-abi-value;
|
20
20
|
proc-to-js-function: func() -> js-abi-value;
|
@@ -23,7 +23,7 @@ interface js-runtime {
|
|
23
23
|
js-value-to-string: func(value: borrow<js-abi-value>) -> string;
|
24
24
|
|
25
25
|
variant raw-integer {
|
26
|
-
as-float(
|
26
|
+
as-float(f64),
|
27
27
|
bignum(string),
|
28
28
|
}
|
29
29
|
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: js
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.
|
4
|
+
version: 2.7.1
|
5
5
|
platform: ruby
|
6
|
-
original_platform: ''
|
7
6
|
authors:
|
8
7
|
- Yuta Saito
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-23 00:00:00.000000000 Z
|
12
11
|
dependencies: []
|
13
12
|
description: JavaScript bindings for ruby.wasm. This gem provides a way to use JavaScript
|
14
13
|
functionalities from Ruby through WebAssembly.
|