raskad
9738d44749
Combine `HasProperty` and `Get` operations when possible ( #3883 )
5 months ago
Haled Odat
2d91cd1e2c
Remove `FormalParameterList` from CodeBlock ( #3882 )
...
It is not used in strict mode and in non-strict mode it's only used to
construct the binding indices for the `MappedArguments`.
5 months ago
José Julián Espina
2458d73669
Bump temporal_rs to latest commit ( #3880 )
...
* Bump temporal_rs to latest commit
* Fix build
* update test262
* bump temporal pt. 2
* bump temporal pt. 3
* bump temporal (last time)
5 months ago
Hans Larsen
149693ae8b
Adding TryFromJs implementations for tuples ( #3843 )
...
* Adding TryFromJs implementations for tuples
* rustfmt and clippies
* rustfmt
* Remove unit type
* Clippies
5 months ago
dependabot[bot]
855c1bbde8
Bump the rust-dependencies group with 3 updates ( #3881 )
...
Bumps the rust-dependencies group with 3 updates: [syn](https://github.com/dtolnay/syn ), [proc-macro2](https://github.com/dtolnay/proc-macro2 ) and [bytemuck](https://github.com/Lokathor/bytemuck ).
Updates `syn` from 2.0.66 to 2.0.68
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.66...2.0.68 )
Updates `proc-macro2` from 1.0.85 to 1.0.86
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.85...1.0.86 )
Updates `bytemuck` from 1.16.0 to 1.16.1
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.16.0...v1.16.1 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: proc-macro2
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>
5 months ago
José Julián Espina
69ea2f52ed
Fix AsyncGenerator to correctly handle `return` inside `then` ( #3879 )
...
* Fix invalid assumptions for `AsyncGenerator`
* Patch AsyncGenerator functions
* Progress
* Progress 2
* Finish implementation
* cargo fmt
* cargo clippy
* Fix await resumptions
* Assert count in queue test
5 months ago
dependabot[bot]
1f446a8710
Bump clap from 4.5.6 to 4.5.7 in the rust-dependencies group ( #3878 )
...
Bumps the rust-dependencies group with 1 update: [clap](https://github.com/clap-rs/clap ).
Updates `clap` from 4.5.6 to 4.5.7
- [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/v4.5.6...v4.5.7 )
---
updated-dependencies:
- dependency-name: clap
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
raskad
1eaf9230ae
Fix hashbang comments by using proper goal symbols ( #3876 )
5 months ago
raskad
32e75620b4
Fix boa cli history ( #3875 )
...
* Fix boa cli history
* Ignore dead code warning in fuzzer
5 months ago
dependabot[bot]
95ba660943
Bump the rust-dependencies group with 5 updates ( #3873 )
...
Bumps the rust-dependencies group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.4` | `4.5.6` |
| [regex](https://github.com/rust-lang/regex ) | `1.10.4` | `1.10.5` |
| [toml](https://github.com/toml-rs/toml ) | `0.8.13` | `0.8.14` |
| [icu_datetime](https://github.com/unicode-org/icu4x ) | `1.5.0` | `1.5.1` |
| [icu_calendar](https://github.com/unicode-org/icu4x ) | `1.5.0` | `1.5.1` |
Updates `clap` from 4.5.4 to 4.5.6
- [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.4...v4.5.6 )
Updates `regex` from 1.10.4 to 1.10.5
- [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.4...1.10.5 )
Updates `toml` from 0.8.13 to 0.8.14
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.13...toml-v0.8.14 )
Updates `icu_datetime` from 1.5.0 to 1.5.1
- [Release notes](https://github.com/unicode-org/icu4x/releases )
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md )
- [Commits](https://github.com/unicode-org/icu4x/commits )
Updates `icu_calendar` from 1.5.0 to 1.5.1
- [Release notes](https://github.com/unicode-org/icu4x/releases )
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md )
- [Commits](https://github.com/unicode-org/icu4x/commits )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: regex
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: icu_datetime
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: icu_calendar
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>
6 months ago
Hans Larsen
109dd3d395
Adding TryFromJs implementations for BTreeMap and HashMap ( #3844 )
6 months ago
raskad
4419e6df04
Fix base objects in `with` statements ( #3870 )
6 months ago
dependabot[bot]
c7e3ec4908
Bump proc-macro2 from 1.0.84 to 1.0.85 in the rust-dependencies group ( #3871 )
...
Bumps the rust-dependencies group with 1 update: [proc-macro2](https://github.com/dtolnay/proc-macro2 ).
Updates `proc-macro2` from 1.0.84 to 1.0.85
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.84...1.0.85 )
---
updated-dependencies:
- dependency-name: proc-macro2
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>
6 months ago
raskad
c7683e3951
Update regress to v0.10.0 ( #3869 )
6 months ago
José Julián Espina
8c727f6d52
Bump ICU4X to 1.5 and cleanup Intl ( #3868 )
6 months ago
leoflalv
fd1a348601
add group_collapsed function executing group inside it ( #3867 )
6 months ago
dependabot[bot]
26b1f699a3
Bump the rust-dependencies group with 5 updates ( #3866 )
...
* Bump the rust-dependencies group with 5 updates
Bumps the rust-dependencies group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [serde](https://github.com/serde-rs/serde ) | `1.0.202` | `1.0.203` |
| [syn](https://github.com/dtolnay/syn ) | `2.0.65` | `2.0.66` |
| [proc-macro2](https://github.com/dtolnay/proc-macro2 ) | `1.0.83` | `1.0.84` |
| [icu_properties](https://github.com/unicode-org/icu4x ) | `1.4.0` | `1.4.1` |
| [icu_normalizer](https://github.com/unicode-org/icu4x ) | `1.4.1` | `1.4.2` |
Updates `serde` from 1.0.202 to 1.0.203
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.202...v1.0.203 )
Updates `syn` from 2.0.65 to 2.0.66
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.65...2.0.66 )
Updates `proc-macro2` from 1.0.83 to 1.0.84
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.83...1.0.84 )
Updates `icu_properties` from 1.4.0 to 1.4.1
- [Release notes](https://github.com/unicode-org/icu4x/releases )
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md )
- [Commits](https://github.com/unicode-org/icu4x/compare/icu@1.4.0...ind/icu_properties@1.4.1 )
Updates `icu_normalizer` from 1.4.1 to 1.4.2
- [Release notes](https://github.com/unicode-org/icu4x/releases )
- [Changelog](https://github.com/unicode-org/icu4x/blob/ind/icu_normalizer@1.4.2/CHANGELOG.md )
- [Commits](https://github.com/unicode-org/icu4x/compare/ind/icu_normalizer@1.4.1...ind/icu_normalizer@1.4.2 )
---
updated-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
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: icu_properties
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: icu_normalizer
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump icu_properties_data
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jedel1043 <jedel0124@gmail.com>
6 months ago
Kevin Ness
b11726d5de
Add matrix badge and update communication to include matrix ( #3865 )
6 months ago
José Julián Espina
6130adf6d9
Group dependabot updates ( #3863 )
...
* Group dependabot updates
* Add missing winapi feature
6 months ago
José Julián Espina
2e40dbd293
Fix CI for nextest step ( #3862 )
6 months ago
dependabot[bot]
0a5721bbc8
Bump proc-macro2 from 1.0.81 to 1.0.82 ( #3853 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.81 to 1.0.82.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.81...1.0.82 )
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
dependabot[bot]
e8f673c26b
Bump paste from 1.0.14 to 1.0.15 ( #3852 )
...
Bumps [paste](https://github.com/dtolnay/paste ) from 1.0.14 to 1.0.15.
- [Release notes](https://github.com/dtolnay/paste/releases )
- [Commits](https://github.com/dtolnay/paste/compare/1.0.14...1.0.15 )
---
updated-dependencies:
- dependency-name: paste
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
dependabot[bot]
e17d660352
Bump num-bigint from 0.4.4 to 0.4.5 ( #3854 )
...
Bumps [num-bigint](https://github.com/rust-num/num-bigint ) from 0.4.4 to 0.4.5.
- [Changelog](https://github.com/rust-num/num-bigint/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-bigint/compare/num-bigint-0.4.4...num-bigint-0.4.5 )
---
updated-dependencies:
- dependency-name: num-bigint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
dependabot[bot]
52bc17d1a8
Bump thiserror from 1.0.59 to 1.0.60 ( #3851 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.59 to 1.0.60.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.59...1.0.60 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
dependabot[bot]
314ff860f9
Bump getrandom from 0.2.14 to 0.2.15 ( #3850 )
...
Bumps [getrandom](https://github.com/rust-random/getrandom ) from 0.2.14 to 0.2.15.
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/getrandom/compare/v0.2.14...v0.2.15 )
---
updated-dependencies:
- dependency-name: getrandom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
Haled Odat
ced222fdba
Separate `JsString` into its own crate ( #3837 )
7 months ago
raskad
371a7c8b43
Replace archived github actions from actions-rs ( #3848 )
...
* Replace archived github actions from actions-rs
* fix syntax error
7 months ago
dependabot[bot]
2fc85d0f22
Bump trybuild from 1.0.91 to 1.0.95 ( #3847 )
...
Bumps [trybuild](https://github.com/dtolnay/trybuild ) from 1.0.91 to 1.0.95.
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.91...1.0.95 )
---
updated-dependencies:
- dependency-name: trybuild
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
dependabot[bot]
c32e3cb57a
Bump serde from 1.0.199 to 1.0.201 ( #3846 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.199 to 1.0.201.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.199...v1.0.201 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
dependabot[bot]
ce57ff1ed4
Bump num-traits from 0.2.18 to 0.2.19 ( #3840 )
...
Bumps [num-traits](https://github.com/rust-num/num-traits ) from 0.2.18 to 0.2.19.
- [Changelog](https://github.com/rust-num/num-traits/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-traits/compare/num-traits-0.2.18...num-traits-0.2.19 )
---
updated-dependencies:
- dependency-name: num-traits
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
raskad
09c08c5435
Switch from actions-rs/toolchain to dtolnay/rust-toolchain ( #3845 )
7 months ago
19年梦醒
12adec5eed
replace js_str with js_string ( #3836 )
7 months ago
Haled Odat
5af3f7c079
Fix Rust 1.78.0 Clippy lints ( #3838 )
7 months ago
Haled Odat
3f6ee2276c
Implement Latin1 JsString ( #3450 )
7 months ago
Haled Odat
6febf7eda0
Implement object keys access ( #3832 )
7 months ago
dependabot[bot]
4452c03bd6
Bump serde from 1.0.198 to 1.0.199 ( #3833 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.198 to 1.0.199.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.198...v1.0.199 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
dependabot[bot]
1c8400ad04
Bump hashbrown from 0.14.3 to 0.14.5 ( #3834 )
...
Bumps [hashbrown](https://github.com/rust-lang/hashbrown ) from 0.14.3 to 0.14.5.
- [Changelog](https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/hashbrown/compare/v0.14.3...v0.14.5 )
---
updated-dependencies:
- dependency-name: hashbrown
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
dependabot[bot]
f469096390
Bump either from 1.10.0 to 1.11.0 ( #3835 )
...
Bumps [either](https://github.com/rayon-rs/either ) from 1.10.0 to 1.11.0.
- [Commits](https://github.com/rayon-rs/either/compare/1.10.0...1.11.0 )
---
updated-dependencies:
- dependency-name: either
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
Haled Odat
6ee208fc5d
Decouple `Context` from `ByteCompiler` ( #3829 )
...
* Decouple GlobalDeclarationInstantiation from Context
* Decouple EvalDeclarationInstantiation from Context
* Remove `Context` from `ByteCompiler`
* Fix typo
* Apply review
7 months ago
Hans Larsen
61567687cf
Implement TryFromJs for Either<L, R> ( #3822 )
...
* Implement TryFromJs for Either<L, R>
* Add explicit feature in Cargo.toml
7 months ago
dependabot[bot]
9ec0a13b4d
Bump serde_json from 1.0.115 to 1.0.116 ( #3825 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.115 to 1.0.116.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.115...v1.0.116 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
dependabot[bot]
c9d914ca55
Bump syn from 2.0.59 to 2.0.60 ( #3827 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.59 to 2.0.60.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.59...2.0.60 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
dependabot[bot]
0cc98fb1a1
Bump proc-macro2 from 1.0.80 to 1.0.81 ( #3826 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.80 to 1.0.81.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.80...1.0.81 )
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
dependabot[bot]
7f079ae689
Bump thiserror from 1.0.58 to 1.0.59 ( #3824 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.58 to 1.0.59.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.58...1.0.59 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
dependabot[bot]
0f38f214ca
Bump serde from 1.0.197 to 1.0.198 ( #3823 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.197 to 1.0.198.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.197...v1.0.198 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
dependabot[bot]
f5d050ef39
Bump rustls from 0.22.3 to 0.22.4 ( #3821 )
...
Bumps [rustls](https://github.com/rustls/rustls ) from 0.22.3 to 0.22.4.
- [Release notes](https://github.com/rustls/rustls/releases )
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustls/rustls/compare/v/0.22.3...v/0.22.4 )
---
updated-dependencies:
- dependency-name: rustls
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
Hans Larsen
f955248732
Add a ContextData struct to inject host defined types from the context ( #3802 )
...
* Add more utility traits and funtions to boa_interop
* cargo clippy
* Readd the safe version for Fn which also implements Copy
* Use a new trait for converting a Rust type to a JsResult<JsValue>
* cargo clippy
* Add a test for returning result and Fn()
* Seal both IntoJsFunction and IntoJsFunctionUnsafe
* Try Borrowing and return a nice error instead of panicking
* Address comments
* Rename into_js_function to into_js_function_copied
* Move TryIntoJsResult to boa_engine
* Move JsRest to be at the end only of arguments and add JsAll
* use from_copy_closure and remove unsafe
* Add a HostDefined struct to grab host defined in the argument list
* cargo fmt and clippy
* Explain why we need Clone
* Remove the vector from JsRest<> and use a reference
* Add HostDefined to context as Data, and rename the injector in boa_interop
* Use TypeError instead if the type was not found in context
* Update core/interop/src/lib.rs
Co-authored-by: José Julián Espina <jedel0124@gmail.com>
* cargo fmt
* cargo fmt
---------
Co-authored-by: José Julián Espina <jedel0124@gmail.com>
7 months ago
Haled Odat
261e264b01
Fix order of `ToString` call in Function constructor ( #3820 )
...
The `ToString` method was being called on the body before the paramater
list, this caused some test262 tests to fail.
7 months ago
Hans Larsen
5a4d9774ed
Add an embed_module!() macro to boa_interop ( #3784 )
...
* Add an embed_module!() macro to boa_interop
The macro creates a ModuleLoader that includes all JS files from a directory.
* Add description of function
* Run prettier
* Remove reference to a unaccessible crate
* Remove one more reference to a unaccessible crate
* Disable test that plays with paths on Windows
* Block the whole test module instead of just the fn
* This is a bit insane
* Replace path separators into JavaScript specifier separators
* cargo fmt
* cargo fmt part deux
* fix some issues with relative path and pathing on windows
* fix module resolver when there are no base path
* use the platform's path separator
* cargo fmt
* prettier
* Remove caching of the error
* Pedantic clippy gonna pedant
7 months ago
dependabot[bot]
bee5a5ccea
Bump syn from 2.0.58 to 2.0.59 ( #3817 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.58 to 2.0.59.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.58...2.0.59 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8 months ago