Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

wasm-bindgen-0.2.100-1.1 RPM for x86_64

From OpenSuSE Tumbleweed for x86_64

Name: wasm-bindgen Distribution: openSUSE Tumbleweed
Version: 0.2.100 Vendor: openSUSE
Release: 1.1 Build date: Thu Nov 6 09:12:21 2025
Group: Unspecified Build host: reproducible
Size: 5460704 Source RPM: wasm-bindgen-0.2.100-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/rustwasm/wasm-bindgen
Summary: Facilitating high-level interactions between Wasm modules and JavaScript
Facilitating high-level interactions between Wasm modules and JavaScript.

Features
- Lightweight. Only pay for what you use. wasm-bindgen only generates bindings
  and glue for the JavaScript imports you actually use and Rust functionality
  that you export. For example, importing and using the document.querySelector
  method doesn't cause Node.prototype.appendChild or window.alert to be included
  in the bindings as well.
- ECMAScript modules. Just import WebAssembly modules the same way you would
  import JavaScript modules. Future compatible with WebAssembly modules and
  ECMAScript modules integration.
- Designed with the "Web IDL bindings" proposal in mind. Eventually, there
  won't be any JavaScript shims between Rust-generated wasm functions and
  native DOM methods. Because the Wasm functions are statically type checked,
  some of those native methods' dynamic type checks should become unnecessary,
  promising to unlock even-faster-than-JavaScript DOM access.

Provides

Requires

License

Apache-2.0 OR MIT

Changelog

* Thu Nov 06 2025 Johannes Kastl <opensuse_buildservice@ojkastl.de>
  - remove TAG_OFFSET from version number, as this makes version
    constraints a pain
  - Update to version 0.2.100:
    * Added
    - Add attributes to overwrite return (``unchecked_return_type)
      and parameter types (unchecked_param_type`), descriptions
      (`return_description` and `param_description`) as well as
      parameter names (`js_name`) for exported functions and
      methods. See the guide for more details. #4394
    - Add a copy_to_uninit() method to all TypedArrays. It takes
      &mut [MaybeUninit<T>] and returns &mut [T]. #4340
    - Add test coverage support for Node.js. #4348
    - Support importing memory and using wasm_bindgen::module() in
      Node.js. #4349
    - Add --list, --ignored, --exact and --nocapture to
      wasm-bindgen-test-runner, analogous to cargo test. #4356
    - Add bindings to Date.to_locale_time_string_with_options.
      [#4384]
    - #[wasm_bindgen] now correctly applies #[cfg(...)]s in
      structs. #4351
    * Changed
    - Optional parameters are now typed as T | undefined | null to
      reflect the actual JS behavior. #4188
    - Adding getter, setter, and constructor methods to enums now
      results in a compiler error. This was previously erroneously
      allowed and resulted in invalid JS code gen. #4278
    - Handle stuck and failed WebDriver processes when re-trying to
      start them. #4340
    - Align test output closer to native cargo test. #4358
    - Error if URL in <WEBDRIVER>_REMOTE can't be parsed instead of
      just ignoring it. #4362
    - Remove WASM_BINDGEN_THREADS_MAX_MEMORY and
      WASM_BINDGEN_THREADS_STACK_SIZE. The maximum memory size can
      be set via -Clink-arg=--max-memory=<size>. The stack size of
      a thread can be set when initializing the thread via the
      default function. #4363
    - console.*() calls in tests are now always intercepted by
      default. To show them use --nocapture. When shown they are
      always printed in-place instead of after test results,
      analogous to cargo test. #4356
    * Fixed
    - Fixed using JavaScript keyword as identifiers not being
      handled correctly. #4329
    - Using JS keywords as struct and enum names will now error
      at compile time, instead of causing invalid JS code gen.
    - Using JS keywords that are not valid to call or access
      properties on will now error at compile time, instead of
      causing invalid JS code gen if used as:
    - The first part of a js_namespace on imports.
    - The name of an imported type or constant if the type or
      constant does not have a js_namespace or module
      attribute.
    - The name of an imported function if the function is not a
      method and does not have a js_namespace or module
      attribute.
    - Using JS keywords on imports in places other than the above
      will no longer cause the keywords to be escaped as
      _{keyword}.
    - Fixed passing large arrays into Rust failing because of
      internal memory allocations invalidating the memory buffer.
      [#4353]
    - Pass along an ignore attribute to unsupported tests. #4360
    - Use OS provided temporary directory for tests instead of
      Cargo's target directory. #4361
    - Error if URL in <WEBDRIVER>_REMOTE can't be parsed. #4362
    - Internal functions are now removed instead of invalidly
      imported if they are unused. #4366
    - Fixed no_std support for all APIs in web-sys. #4378
    - Prevent generating duplicate exports for closure conversions.
      [#4380]
  - Update to version 0.2.99:
    * Fixed
    - Mark wasm-bindgen v0.2.98 only compatible with
      wasm-bindgen-cli of the same version. #4331
  - Update to version 0.2.98:
    * Added
    - Add support for compiling with atomics for Node.js. #4318
    - Add WASM_BINDGEN_TEST_DRIVER_TIMEOUT environment variable to
      control the timeout to start and connect to the test driver.
      [#4320]
    - Add support for number slices of type MaybeUninit<T>. #4316
    * Changed
    - Remove once_cell/critical-section requirement for no_std with
      atomics. #4322
    - static FOO: Option<T> now returns None if undeclared in JS
      instead of throwing an error in JS. #4319
    * Fixed
    - Fix macro-hygiene for calls to std::thread_local!. #4315
    - Fix feature resolver version 1 compatibility. #4327
* Wed May 07 2025 William Brown <william.brown@suse.com>
  - bsc#1242600 - CVE-2025-3416 - openssl use-after-free
* Wed Jan 08 2025 william.brown@suse.com
  - Downgrade to version 0.2.97~0:
    * Required for wasm-pack to remain in locked step
* Tue Jan 07 2025 William Brown <william.brown@suse.com>
  - Update wasm-bindgen dependencies
* Sun Dec 08 2024 opensuse_buildservice@ojkastl.de
  - Update to version 0.2.99~0:
    * Prepare v0.2.99 release (#4331)
* Sun Dec 08 2024 opensuse_buildservice@ojkastl.de
  - Update to version 0.2.98~0:
    * Prepare v0.2.98 release (#4330)
    * Remove dead code (#4300)
    * Add support for number slices of type `MaybeUninit<T>` (#4316)
    * Re-establish feature resolver version 1 compatibility (#4327)
    * Add `WASM_BINDGEN_TEST_DRIVER_TIMEOUT` (#4320)
    * Move `walrus/parallel` to `wasm-bindgen-cli-support` (#4321)
    * Improved contributing docs in `web-sys` README (#4302)
    * Support `undefined` static imports with `Option` (#4319)
    * Remove `critical-section` requirement for `no_std` with atomics
      (#4322)
    * Remove leftover macro (#4326)
    * Add support for multi-threading in Node.js (#4318)
    * Fix macro-hygiene for calls to `std::thread_local!` (#4315)
    * Add clear error message to communicate new feature resolver
      version requirements (#4312)
* Sat Nov 30 2024 opensuse_buildservice@ojkastl.de
  - Update to version 0.2.97~0:
    * Regenerate reference tests (#4309)
    * Prepare v0.2.97 release (#4308)
    * Note that feature resolver version 2 is required (#4307)
    * Only use `wasm_bindgen::__rt` in proc-macros (#4305)
    * Removed a few `#[allow(dead_code)]` (#4299)
* Fri Nov 29 2024 opensuse_buildservice@ojkastl.de
  - Update to version 0.2.96~0:
    * Prepare v0.2.96 release (#4298)
    * Add environment variables to configure tests (#4295)
    * transition away from deprecated setters internally (#4297)
    * Use private constructors in type definitions of structs without
      an exported constructor (#4282)
    * Improved errors for invalid `self` arguments (#4276)
    * Add test for most data conversions (#4281)
    * Update WebGPU API to draft 2024-11-22 (#4290)
    * Move lints to workspace (#4294)
    * Test `no_std` MSRV in CI (#4292)
    * Update to Rust v1.83 (#4293)
    * Update walrus requirement from 0.22 to 0.23 (#4279)
    * All dependencies are now pinned to each other (#4291)
    * Revert bundler target specific default transformations (#4253)
    * Don't emit unexpected cfgs in proc-macros (#4284)
    * Added support for the `wasm32v1-none` target (#4277)
    * Update reference tests (#4275)
    * Add test for imported getters and setters (#4270)
    * Hash full signature for imported functions (#4269)
    * Improved TS type generation from WASM (#4229)
    * Restart WebDriver on failure (#4267)
    * Update test coverage documentation to LLVM 19 (#4265)
    * Test different CLI flags in reference tests (#4264)
    * Added note for which versions of wasm-bindgen support i128
      (#4262)
    * Add support for i128 and u128 (#4222)
    * Faster local testing with `reference.rs` (#4255)
    * Add bindings for `MediaStreamTrack.getCapabilities` (#4236)
    * Update testing docs for `wasm-bindgen-macro` (#4256)
    * Add support for enums with negative discriminants (#4204)
    * Fix Rust edition 2024 compatibility (#4259)
    * Make it clearer which versions are affected by the constructor
      bug (#4249)
    * Fix docs on `Option<char>` (#4226)
    * Added more documentation for `bool`, `char`, and numeric types
      (#4245)
    * Fixed imports with late binding and `this` (#4225)
    * webidl: fix structopt macro to be clap (#4244)
    * Improved how references test handles paths (#4242)
    * Fix `JsCast::instanceof()` not respecting JS namespaces (#4241)
    * wasm-bindgen-webidl: use `clap` instead of `structopt` (#4219)
    * More tests for result type (#4208)
    * Deprecate `Bindgen::reference_types()` (#4238)
    * Improved indentation and enum formatting (#4205)
    * Deprecate `--reference-types` (#4237)
    * Fix invalid TS return types for multivalue signatures (#4210)
    * Disable enabling reference types by default with the bundler
      target (#4235)
    * Fixed generated types for getters and setters (#4202)
    * Add JSDoc type annotations to C-style enums (#4157)
    * Optimized ABI performance for `Option<[all 32-bit primitives]>`
      (#4183)
    * Add `MathMLElement` and `HTMLOrSVGElement` bindings (#4143)
    * Added missing space in doc comments (#4200)
    * Fix link to Node.js module documentation (#4197)
    * Fix potential `null` error in `JsValue::as_debug_string()`
      (#4192)
    * Make CI deterministic try 2 (#4190)
    * Fix `#[should_panic]` with `unsupported` tests (#4196)
    * Fix triggering lints in testing facilities (#4195)
    * Only generate JS values for string enums if used (#4193)
    * Remove JSDoc type annotations in TS files (#4187)
    * Generate TS types for string enums (#4180)
    * Fixed methods with `self: &Self` consuming the object (#4178)
    * Use `isLikeNone` to detect null/undefined for string enums
      (#4186)
    * Use new `web_sys` `Uint8ClampedArray` bindings (#4184)
    * Add test for code gen with `web-sys` (#4179)
* Tue Oct 22 2024 Johannes Kastl <opensuse_buildservice@ojkastl.de>
  - switch to using tar_scm to make maintenance easier for William
    (large obscpio uploads)
* Thu Oct 17 2024 Johannes Kastl <opensuse_buildservice@ojkastl.de>
  - new package wasm-bindgen: CLI for wasm-bindgen, facilitating
    high-level interactions between Wasm modules and JavaScript

Files

/usr/bin/wasm-bindgen


Generated by rpm2html 1.8.1

Fabrice Bellet, Mon Nov 10 23:15:27 2025