Hans Larsen
c21f10efae
A simple module loader from a function ( #3932 )
...
* A simple module loader from a function
This will be the foundation for having a combinatoric module loader
system.
* Add more utility module loader types
* clippies
* Remove convenience functions and allow AsRef<Path> for constructing fs
* clippies
* Move FnModuleLoader to return a result, and add a new simpler loader
* Address comment
3 months ago
Hans Larsen
cdb47510b3
Add an "iter()" method to Js*Array for convenience ( #3986 )
...
* Allow dead code for code that is newly detected as unused
* Fix compile errors with nightly rust
* Add missing SAFETY section
* Increase safety of `FutexWaiters`
* Add an "iter()" method to Js*Array for convenience
It might be optimizable, and in either case it should be but this at
least let people use an easy API and enjoy future improvements.
* Fix clippies
---------
Co-authored-by: Theo Paris <theo@tinted.dev>
Co-authored-by: José Julián Espina <julian.espina@canonical.com>
3 months ago
dependabot[bot]
a166d4cc3e
Bump the rust-dependencies group with 7 updates ( #3991 )
...
Bumps the rust-dependencies group with 7 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.16` | `4.5.17` |
| [regress](https://github.com/ridiculousfish/regress ) | `0.10.0` | `0.10.1` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.127` | `1.0.128` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.209` | `1.0.210` |
| [smol](https://github.com/smol-rs/smol ) | `2.0.1` | `2.0.2` |
| [bytemuck](https://github.com/Lokathor/bytemuck ) | `1.17.1` | `1.18.0` |
| [intrusive-collections](https://github.com/Amanieu/intrusive-rs ) | `0.9.6` | `0.9.7` |
Updates `clap` from 4.5.16 to 4.5.17
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.16...clap_complete-v4.5.17 )
Updates `regress` from 0.10.0 to 0.10.1
- [Release notes](https://github.com/ridiculousfish/regress/releases )
- [Commits](https://github.com/ridiculousfish/regress/compare/v0.10.0...v0.10.1 )
Updates `serde_json` from 1.0.127 to 1.0.128
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/1.0.127...1.0.128 )
Updates `serde` from 1.0.209 to 1.0.210
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.210 )
Updates `smol` from 2.0.1 to 2.0.2
- [Release notes](https://github.com/smol-rs/smol/releases )
- [Changelog](https://github.com/smol-rs/smol/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/smol/compare/v2.0.1...v2.0.2 )
Updates `bytemuck` from 1.17.1 to 1.18.0
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.17.1...v1.18.0 )
Updates `intrusive-collections` from 0.9.6 to 0.9.7
- [Commits](https://github.com/Amanieu/intrusive-rs/commits )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: regress
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: smol
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: bytemuck
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: intrusive-collections
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months ago
Hans Larsen
5534ec2773
Add a display type for JsString to allow formatting without allocations ( #3951 )
...
Co-authored-by: Haled Odat <8566042+HalidOdat@users.noreply.github.com>
3 months ago
Hans Larsen
4778780073
Add support for Trace, Finalize and JsData for Convert<> ( #3970 )
3 months ago
José Julián Espina
4c5df56b16
Allow warnings when running CI on release branches ( #3990 )
3 months ago
José Julián Espina
b429c54bf1
Enable CI for release branches ( #3987 )
3 months ago
Hans Larsen
b08610afd9
Allow dead code for code that is newly detected as unused ( #3984 )
...
* Allow dead code for code that is newly detected as unused
* Fix compile errors with nightly rust
* Add missing SAFETY section
* Increase safety of `FutexWaiters`
---------
Co-authored-by: Theo Paris <theo@tinted.dev>
Co-authored-by: José Julián Espina <julian.espina@canonical.com>
3 months ago
Hans Larsen
0f282f5bc3
Add support for boa(rename = "") in TryFromJs derive ( #3980 )
...
* Add support for boa(rename = "") in TryFromJs derive
* Fix clippies and fmt
* Move macro test to boa_engine
3 months ago
dependabot[bot]
eecba59617
Bump the rust-dependencies group with 3 updates ( #3974 )
...
Bumps the rust-dependencies group with 3 updates: [indexmap](https://github.com/indexmap-rs/indexmap ), [syn](https://github.com/dtolnay/syn ) and [bytemuck](https://github.com/Lokathor/bytemuck ).
Updates `indexmap` from 2.4.0 to 2.5.0
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.4.0...2.5.0 )
Updates `syn` from 2.0.76 to 2.0.77
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.76...2.0.77 )
Updates `bytemuck` from 1.17.0 to 1.17.1
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.17.0...v1.17.1 )
---
updated-dependencies:
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: bytemuck
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months ago
shurizzle
9a553db188
fix: ignore `debugger` statement ( #3976 )
...
Co-authored-by: shurizzle <me@shurizzle.dev>
3 months ago
Hans Larsen
c57f2310bf
Add a clone_inner method to allow cloning of inner data ( #3968 )
...
* Add a clone_inner method to allow cloning of inner data
* oops
* Address comment
4 months ago
dependabot[bot]
83ed291774
Bump the rust-dependencies group with 4 updates ( #3969 )
...
Bumps the rust-dependencies group with 4 updates: [serde_json](https://github.com/serde-rs/json ), [serde](https://github.com/serde-rs/serde ), [quote](https://github.com/dtolnay/quote ) and [syn](https://github.com/dtolnay/syn ).
Updates `serde_json` from 1.0.125 to 1.0.127
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/1.0.125...1.0.127 )
Updates `serde` from 1.0.208 to 1.0.209
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.208...v1.0.209 )
Updates `quote` from 1.0.36 to 1.0.37
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.36...1.0.37 )
Updates `syn` from 2.0.75 to 2.0.76
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.75...2.0.76 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
José Julián Espina
25705ef5a6
Refactor iterator APIs to be on parity with the latest spec ( #3962 )
...
* The Great Refactoring Of Iterators
* Update core/engine/src/builtins/promise/mod.rs
Co-authored-by: raskad <32105367+raskad@users.noreply.github.com>
* Update core/engine/src/builtins/promise/mod.rs
Co-authored-by: raskad <32105367+raskad@users.noreply.github.com>
---------
Co-authored-by: raskad <32105367+raskad@users.noreply.github.com>
4 months ago
Kevin Ness
31e4990d6c
Build out partial record functionality, property bag construction, and `with` methods ( #3955 )
...
* Build out partial functionality and with methods
* Use temporal_rs's TinyAsciiStr
* Apply review feedback for specification comments
* Bump temporal-rs and add DateTime::with
4 months ago
José Julián Espina
af4fd5ab37
Implement `Atomics.pause` ( #3956 )
4 months ago
Hans Larsen
1691802727
Rename as_promise to as_promise_object and add as_promise -> JsPromise ( #3965 )
4 months ago
Hans Larsen
1c1d820e0e
Add clippy for denying print and eprints ( #3967 )
...
* Remove leftover eprintln from JsPromise::await_blocking
* Add clippy for denying print and eprints
And remove usage of println or allow them.
* Address comment
4 months ago
Hans Larsen
1c83ad1f09
Allow trailing commas in js_class functions ( #3964 )
4 months ago
dependabot[bot]
86dab77fea
Bump the rust-dependencies group with 10 updates ( #3960 )
...
Bumps the rust-dependencies group with 10 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.15` | `4.5.16` |
| [indexmap](https://github.com/indexmap-rs/indexmap ) | `2.3.0` | `2.4.0` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.124` | `1.0.125` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.206` | `1.0.208` |
| [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) | `0.2.92` | `0.2.93` |
| [wasm-bindgen-test](https://github.com/rustwasm/wasm-bindgen ) | `0.3.42` | `0.3.43` |
| [smol](https://github.com/smol-rs/smol ) | `2.0.0` | `2.0.1` |
| [syn](https://github.com/dtolnay/syn ) | `2.0.74` | `2.0.75` |
| [bytemuck](https://github.com/Lokathor/bytemuck ) | `1.16.3` | `1.17.0` |
| [arrayvec](https://github.com/bluss/arrayvec ) | `0.7.4` | `0.7.6` |
Updates `clap` from 4.5.15 to 4.5.16
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.15...clap_complete-v4.5.16 )
Updates `indexmap` from 2.3.0 to 2.4.0
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.3.0...2.4.0 )
Updates `serde_json` from 1.0.124 to 1.0.125
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.124...1.0.125 )
Updates `serde` from 1.0.206 to 1.0.208
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.206...v1.0.208 )
Updates `wasm-bindgen` from 0.2.92 to 0.2.93
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.92...0.2.93 )
Updates `wasm-bindgen-test` from 0.3.42 to 0.3.43
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
Updates `smol` from 2.0.0 to 2.0.1
- [Release notes](https://github.com/smol-rs/smol/releases )
- [Changelog](https://github.com/smol-rs/smol/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/smol/compare/v2.0.0...v2.0.1 )
Updates `syn` from 2.0.74 to 2.0.75
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.74...2.0.75 )
Updates `bytemuck` from 1.16.3 to 1.17.0
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.16.3...v1.17.0 )
Updates `arrayvec` from 0.7.4 to 0.7.6
- [Release notes](https://github.com/bluss/arrayvec/releases )
- [Changelog](https://github.com/bluss/arrayvec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bluss/arrayvec/compare/0.7.4...0.7.6 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: wasm-bindgen
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: wasm-bindgen-test
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: smol
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: bytemuck
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: arrayvec
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
José Julián Espina
90c4d0ec0d
Add spec edition 15 to the tester ( #3957 )
4 months ago
José Julián Espina
eba912fe94
Fix `js_str` macro to correctly handle latin1 strings ( #3959 )
4 months ago
raskad
424896dbff
Refactor ast function types ( #3931 )
...
* Refactor AST function types
* fix lints
4 months ago
José Julián Espina
c22f39b026
Implement new spec changes for `AsyncGenerator` ( #3950 )
...
* Implement new spec changes for `AsyncGenerator`
* Add panic docs
4 months ago
Hans Larsen
50fabc8387
Add more utility functions around modules and exports ( #3937 )
...
* Add more utility functions around modules and exports
* Use import instead of path
* clippies and fmt
* clippies and fmt
* Add JsPromise::await_blocking and remove ell_and_run
* Fix documentation CI job
4 months ago
José Julián Espina
00f8e00492
Split default icu data into lazily deserialized parts ( #3948 )
...
* Split default icu data into lazily deserialized parts
* FIx no_std compilation
* Lazily load more ICU tools
* Fix regressions and use more stable constructors
4 months ago
Hans Larsen
c6c6e4c1ae
Allow a custom Logger to be used as the backend for boa_runtime::Console ( #3943 )
...
* Allow a custom Logger to be used as the backend for boa_runtime::Console
* Comments
4 months ago
Jason Williams
5ee0dc1ceb
add some temporal methods ( #3856 )
...
* lazy builtins
* Bump temporal_rs to latest commit
* Fix build
* Begining of plainYearMonth methods
* plainYearMonth: get_in_leap_year, get_months_in_year
* plain_year_month: implement add/subtract
* Addition of MonthDay methods
* toString implementations
* some changes to migrate to FiniteF64
* - bump the temporal version
- Move with implementation to to_temporal_month_day
- review comments
* switch to using as_inner() instead of from
Also use let _ to appease new clippy rules
* get the calendarID from the object
* update temporal ref
* Revert "lazy builtins"
This reverts commit a4e602d129
.
* changes from review comments
---------
Co-authored-by: jedel1043 <jedel0124@gmail.com>
4 months ago
dependabot[bot]
4e3f66090c
Bump the rust-dependencies group with 4 updates ( #3949 )
...
Bumps the rust-dependencies group with 4 updates: [clap](https://github.com/clap-rs/clap ), [serde_json](https://github.com/serde-rs/json ), [serde](https://github.com/serde-rs/serde ) and [syn](https://github.com/dtolnay/syn ).
Updates `clap` from 4.5.13 to 4.5.15
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.13...v4.5.15 )
Updates `serde_json` from 1.0.122 to 1.0.124
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.122...v1.0.124 )
Updates `serde` from 1.0.204 to 1.0.206
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.204...v1.0.206 )
Updates `syn` from 2.0.72 to 2.0.74
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.72...2.0.74 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
CrazyboyQCD
ddc8b42128
Refactor `RawJsString`'s representation to make `JsString`s construction from string literal heap-allocation free ( #3935 )
...
* feat: add a way to create `JsString` from ASCII literal
* chore: add todo comment to change `DUMMY_RAW_JS_STRING` to constant
* chore: make `ORIGINAL_JS_STR` a static reference to reduce binary size
* chore: replace `static` to `const` and simplify the code
* chore: add generic parameters to `transmute`
* chore: try to use union to represent
* chore: make miri happy
* Optimize const accesses for static strings
* perf: set LITERAL a constant reference to avoid duplication on data segment
* chore: add comments
* chore: add comments
* chore : fix `refcount` test
* chore: remove unnessnary assertion
* chore: modify definition of `JsString::is_static`
* chore: add more tests
* chore: mark `StaticJsString` as `repr[C]`
* chore: improve comment
* chore: Mark `TaggedLen` as `repr(transparent)`
---------
Co-authored-by: jedel1043 <jedel0124@gmail.com>
4 months ago
dependabot[bot]
3b5434c2a0
Bump the rust-dependencies group with 8 updates ( #3944 )
...
Bumps the rust-dependencies group with 8 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.11` | `4.5.13` |
| [indexmap](https://github.com/indexmap-rs/indexmap ) | `2.2.6` | `2.3.0` |
| [regex](https://github.com/rust-lang/regex ) | `1.10.5` | `1.10.6` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.121` | `1.0.122` |
| [trybuild](https://github.com/dtolnay/trybuild ) | `1.0.98` | `1.0.99` |
| [toml](https://github.com/toml-rs/toml ) | `0.8.16` | `0.8.19` |
| [num_enum](https://github.com/illicitonion/num_enum ) | `0.7.2` | `0.7.3` |
| [bytemuck](https://github.com/Lokathor/bytemuck ) | `1.16.1` | `1.16.3` |
Updates `clap` from 4.5.11 to 4.5.13
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.11...v4.5.13 )
Updates `indexmap` from 2.2.6 to 2.3.0
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.6...2.3.0 )
Updates `regex` from 1.10.5 to 1.10.6
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.10.5...1.10.6 )
Updates `serde_json` from 1.0.121 to 1.0.122
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.121...v1.0.122 )
Updates `trybuild` from 1.0.98 to 1.0.99
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.98...1.0.99 )
Updates `toml` from 0.8.16 to 0.8.19
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.16...toml-v0.8.19 )
Updates `num_enum` from 0.7.2 to 0.7.3
- [Commits](https://github.com/illicitonion/num_enum/compare/0.7.2...0.7.3 )
Updates `bytemuck` from 1.16.1 to 1.16.3
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.16.1...v1.16.3 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: trybuild
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: num_enum
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: bytemuck
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
Hans Larsen
a9d19bdd22
Add a Source::with_path method to set the path on a Source ( #3941 )
...
* Add a Source::with_path method to set the path on a Source
* .
* Align the doc to other with_... methods
4 months ago
Hans Larsen
6f1d7d11ce
Add a JsError::from_rust constructor to create native errors from Rust ( #3921 )
...
* Add a JsError::from_std constructor to create native errors from Rust
* Address comment
4 months ago
raskad
3a6f4a5c68
Fix various parser idempotency issues and parsing errors ( #3917 )
...
* Fix various parser idempotency issues and parsing errors
* fix lints
4 months ago
dependabot[bot]
ec5d6e3e89
Bump the rust-dependencies group with 4 updates ( #3939 )
...
Bumps the rust-dependencies group with 4 updates: [clap](https://github.com/clap-rs/clap ), [serde_json](https://github.com/serde-rs/json ), [trybuild](https://github.com/dtolnay/trybuild ) and [toml](https://github.com/toml-rs/toml ).
Updates `clap` from 4.5.9 to 4.5.11
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.9...clap_complete-v4.5.11 )
Updates `serde_json` from 1.0.120 to 1.0.121
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.120...v1.0.121 )
Updates `trybuild` from 1.0.97 to 1.0.98
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.97...1.0.98 )
Updates `toml` from 0.8.15 to 0.8.16
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.15...toml-v0.8.16 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: trybuild
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 months ago
José Julián Espina
4c76af8c67
Fix lints from rustc 1.80.0 ( #3936 )
5 months ago
raskad
e205b567be
Fix destructuring assignment evaluation order ( #3934 )
5 months ago
CrazyboyQCD
6e6d67c56f
Fix wrong `neg` operation ( #3926 )
...
* fix: fix wrong neg operation
* chore: merge match arm
* chore: add tests
5 months ago
dependabot[bot]
21a9778afe
Bump the rust-dependencies group with 4 updates ( #3933 )
...
Bumps the rust-dependencies group with 4 updates: [toml](https://github.com/toml-rs/toml ), [syn](https://github.com/dtolnay/syn ), [thiserror](https://github.com/dtolnay/thiserror ) and [portable-atomic](https://github.com/taiki-e/portable-atomic ).
Updates `toml` from 0.8.14 to 0.8.15
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.14...toml-v0.8.15 )
Updates `syn` from 2.0.71 to 2.0.72
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.71...2.0.72 )
Updates `thiserror` from 1.0.62 to 1.0.63
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.62...1.0.63 )
Updates `portable-atomic` from 1.6.0 to 1.7.0
- [Release notes](https://github.com/taiki-e/portable-atomic/releases )
- [Changelog](https://github.com/taiki-e/portable-atomic/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/portable-atomic/compare/v1.6.0...v1.7.0 )
---
updated-dependencies:
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: portable-atomic
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 months ago
Hans Larsen
816e1bb648
Add a way to add setters/getters in js_class! ( #3911 )
...
* Add a way to add setters/getters in js_class!
* Address cargo clippies
* Add new interface and update doc
* Setters can now return a value, which can be a JsResult
* Remove clippy warning
* Fix having both get and set with a return type fails to match
5 months ago
Kevin Ness
99642be976
Fix temporal builtin properties ( #3930 )
...
* Update length and builtin properties
* Split tags and names as two different statics
* Missed YearMonth and MonthDay length
* Fix length on some methods
* Missed one length
* cargo fmt
5 months ago
Kevin Ness
523bdd0038
Update Instant for new Temporal functionality ( #3928 )
5 months ago
Hans Larsen
d8b8066a58
Add a js_error! macro to create opaque errors ( #3920 )
...
* Add a js_error! macro to create opaque errors
And as a bonus since I needed it, simplify comparison of strings
and add PartialEq<&str> for JsString.
* Add PartialEq<str> for JsStr. PartialEq<&str> uses the other
* Cargo clippy
* Remove conversion of non-string literals and remove From<String> for JsValue
5 months ago
Kevin Ness
7d025bc6ee
Implement more Temporal functionality ( #3924 )
...
* Implement more Temporal functionality
* Correct equals method length
* patch withPlainTime docs
* Correct time method binding
* Add ParseTemporalTimeString handling
* cargo fmt
* Update temporal_rs and add compare methods
5 months ago
dependabot[bot]
b38b3654d9
Bump the rust-dependencies group with 3 updates ( #3919 )
...
Bumps the rust-dependencies group with 3 updates: [clap](https://github.com/clap-rs/clap ), [syn](https://github.com/dtolnay/syn ) and [thiserror](https://github.com/dtolnay/thiserror ).
Updates `clap` from 4.5.8 to 4.5.9
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.8...v4.5.9 )
Updates `syn` from 2.0.69 to 2.0.71
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.69...2.0.71 )
Updates `thiserror` from 1.0.61 to 1.0.62
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.62 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 months ago
magic-akari
fbdd178dad
Implement `Math.pow` function according to ECMAScript specification ( #3916 )
...
Refactor the `Math::pow` function to adhere to the ECMAScript specification.
5 months ago
José Julián Espina
532c00862c
Remove `boa_macros` from `boa_string` ( #3913 )
5 months ago
Jason Williams
41143854f6
changelog for v0.19 ( #3904 )
...
* changelog for 0.19
* formatting
* Update changelog
* npx prettier
---------
Co-authored-by: jedel1043 <jedel0124@gmail.com>
5 months ago
Haled Odat
5b1621abd2
Implement lossless TryFromJs for integers from f64 ( #3907 )
...
* Implement lossless TryFromJs for integers from f64
* Use `num_traits::AsPrimitive`
5 months ago
raskad
ab0854f76b
Refactor environment stack to remove some panics ( #3893 )
...
* Refactor environment stack to remove some panics
* Fix formatting and enum size difference
* fix typo
5 months ago