Kevin Ness
b11726d5de
Add matrix badge and update communication to include matrix ( #3865 )
5 months ago
José Julián Espina
6130adf6d9
Group dependabot updates ( #3863 )
...
* Group dependabot updates
* Add missing winapi feature
5 months ago
José Julián Espina
2e40dbd293
Fix CI for nextest step ( #3862 )
5 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>
6 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>
6 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>
6 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>
6 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>
6 months ago
Haled Odat
ced222fdba
Separate `JsString` into its own crate ( #3837 )
6 months ago
raskad
371a7c8b43
Replace archived github actions from actions-rs ( #3848 )
...
* Replace archived github actions from actions-rs
* fix syntax error
6 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>
6 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>
6 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>
6 months ago
raskad
09c08c5435
Switch from actions-rs/toolchain to dtolnay/rust-toolchain ( #3845 )
6 months ago
19年梦醒
12adec5eed
replace js_str with js_string ( #3836 )
6 months ago
Haled Odat
5af3f7c079
Fix Rust 1.78.0 Clippy lints ( #3838 )
6 months ago
Haled Odat
3f6ee2276c
Implement Latin1 JsString ( #3450 )
6 months ago
Haled Odat
6febf7eda0
Implement object keys access ( #3832 )
6 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>
6 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>
6 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>
6 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
6 months ago
Hans Larsen
61567687cf
Implement TryFromJs for Either<L, R> ( #3822 )
...
* Implement TryFromJs for Either<L, R>
* Add explicit feature in Cargo.toml
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
7 months ago
dependabot[bot]
07cbacffdf
Bump serde_repr from 0.1.18 to 0.1.19 ( #3814 )
...
Bumps [serde_repr](https://github.com/dtolnay/serde-repr ) from 0.1.18 to 0.1.19.
- [Release notes](https://github.com/dtolnay/serde-repr/releases )
- [Commits](https://github.com/dtolnay/serde-repr/compare/0.1.18...0.1.19 )
---
updated-dependencies:
- dependency-name: serde_repr
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]
ef5c3f18e3
Bump getrandom from 0.2.13 to 0.2.14 ( #3815 )
...
Bumps [getrandom](https://github.com/rust-random/getrandom ) from 0.2.13 to 0.2.14.
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/getrandom/compare/v0.2.13...v0.2.14 )
---
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
dependabot[bot]
c4ec061255
Bump time from 0.3.34 to 0.3.36 ( #3816 )
...
Bumps [time](https://github.com/time-rs/time ) from 0.3.34 to 0.3.36.
- [Release notes](https://github.com/time-rs/time/releases )
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md )
- [Commits](https://github.com/time-rs/time/compare/v0.3.34...v0.3.36 )
---
updated-dependencies:
- dependency-name: time
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]
c63e8e2d37
Bump quote from 1.0.35 to 1.0.36 ( #3813 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.35 to 1.0.36.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.35...1.0.36 )
---
updated-dependencies:
- dependency-name: quote
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]
0b2757610a
Bump baptiste0928/cargo-install from 3.0.1 to 3.1.0 ( #3812 )
...
Bumps [baptiste0928/cargo-install](https://github.com/baptiste0928/cargo-install ) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/baptiste0928/cargo-install/releases )
- [Changelog](https://github.com/baptiste0928/cargo-install/blob/main/CHANGELOG.md )
- [Commits](https://github.com/baptiste0928/cargo-install/compare/v3.0.1...v3.1.0 )
---
updated-dependencies:
- dependency-name: baptiste0928/cargo-install
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
Hans Larsen
d915c9bef7
Add functions to create modules from a JSON value ( #3804 )
...
* Add functions to create modules from a JSON value
* Move json_module to Module::from_value_as_default
* Flag the whole json module behind the json feature
* Rename and add doc
7 months ago
Hans Larsen
0d7018f16c
Add a new type Convert<> to convert values ( #3786 )
...
* Add TryFromJs for more types
* Add a new type Coerce<> to coerce values
This can be used to transform values in to coerced versions by
using the type system and TryFromJs.
* Fix build error
* Rename Coerce<> to Convert<>
* replace missed coerce to Convert
* cargo fmt and clippy
7 months ago
Linus Groh
c0a961f650
Implement Promise.try() ( #3800 )
...
See: https://github.com/tc39/proposal-promise-try
7 months ago
Hans Larsen
9702501f09
Add more utility traits and funtions to boa_interop ( #3773 )
...
* 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
7 months ago
Hans Larsen
1825e8b3f2
Fix SimpleModuleLoader on Windows ( #3795 )
7 months ago
dependabot[bot]
848103ae3f
Bump getrandom from 0.2.12 to 0.2.13 ( #3796 )
...
Bumps [getrandom](https://github.com/rust-random/getrandom ) from 0.2.12 to 0.2.13.
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/getrandom/compare/v0.2.12...v0.2.13 )
---
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
dependabot[bot]
755c213bb6
Bump comfy-table from 7.1.0 to 7.1.1 ( #3797 )
...
Bumps [comfy-table](https://github.com/nukesor/comfy-table ) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/nukesor/comfy-table/releases )
- [Changelog](https://github.com/Nukesor/comfy-table/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nukesor/comfy-table/compare/v7.1.0...v7.1.1 )
---
updated-dependencies:
- dependency-name: comfy-table
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
José Julián Espina
f2b9c83ceb
Build docs.rs docs with all features enabled ( #3794 )
7 months ago
Nick Tomlin
676dde7897
chore: Update README link to reflect new site paths ( #3793 )
7 months ago
José Julián Espina
c9d1401a58
Cleanup tester deps and patterns ( #3792 )
...
* Cleanup tester deps and patterns
* cargo fmt + clippy
7 months ago
Hans Larsen
958045c9ac
Properly resolve paths in SimpleModuleLoader and add path to Referrer::Script ( #3791 )
...
* Properly resolve paths in SimpleModuleLoader and add path to Referrer::Script
* Add missing example
* Carry active runnable on frame push
* Duplicate the tests with proper paths for Windows/Unix
* Use the right root for absolute referrers
* ugh cargo fmt
* Limit doctest to unix
* Limit doctest to unix, for real
* cargo fmt
---------
Co-authored-by: jedel1043 <jedel0124@gmail.com>
7 months ago
dependabot[bot]
0b3df5781e
Bump indexmap from 2.2.5 to 2.2.6 ( #3789 )
...
Bumps [indexmap](https://github.com/indexmap-rs/indexmap ) from 2.2.5 to 2.2.6.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.5...2.2.6 )
---
updated-dependencies:
- dependency-name: indexmap
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