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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d1b57fff57e9b1d6aed9140e88a797b65da7687b3b4748f2dd726ea4b0213d01
4
- data.tar.gz: 5ea827d038b9889813ddff8008e7bec5647cab70e21d8d5a62ff1339eba24298
3
+ metadata.gz: 6f322c0e5d521f68cd2b3f105afecd8b93b7372a3320df538a7fed9c124e6c53
4
+ data.tar.gz: 8286d36e16bc367780fed3f12e9189b3cbaf79945e7768e0718bea3529fdc528
5
5
  SHA512:
6
- metadata.gz: afa993c1f8f9355619007b659bbf73ffc68a4b90a64a0a5bebb0a8e8ba3cec0e6ae732a82e881d7efd409016d97c076ce94f6e2775e4f23c285cc2c78d450157
7
- data.tar.gz: 0ba5eb01ecb6ed18e94d7bb80c1b4f87adca1a03d807c436bf1248ddc848ce45ca49e78410c59ca7890c87cdba53edda935d14bc8b6866ec160beab71d494c65
6
+ metadata.gz: 1cb9831474ab99228f8c38634ee6e3bfed2e6b1cc48e414267826cb37d5ba0b8d2a8d9d57b39b3075c4c96ecefaf28aa762cf332dcfd2a4992e872ed423593a5
7
+ data.tar.gz: 35b2224562bd4c50894419a454bfc165af4be9d63c2a636f2f311ad16b466b0e717d4e9004faa9d74ff9d6f0d17a2c2904452cf130a8e80cced40c806b47bc10
data/lib/js/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module JS
2
- VERSION = "2.7.0"
2
+ VERSION = "2.7.1"
3
3
  end
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: float64) -> js-abi-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(float64),
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.0
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: 2024-11-11 00:00:00.000000000 Z
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.