raskad
793a10035f
Fix rust 1.83.0 lints ( #4060 )
...
* Fix rust 1.83.0 lints
* Allow missing docs in wasm tests
* Run tarpaulin on 1.82.0
2 weeks ago
CrazyboyQCD
f30514b085
Some string optimizations ( #4030 )
...
* chore: replace `js_str` with `js_string`
* chore: replace `boolean`'s `to_string` with literal
* chore: remove unnecessary `to_string`
* chore: fix lint and format
* chore: add feature gate to import `js_str`
* chore: change `get_typed_fn`'s name to `JsString`
* chore: replace js_str with js_string(cli)
* chore: replace js_str with js_string(`try_into_js`)
* chore: replace js_str with js_string(`Console`)
* chore: fix lint
* perf: use more efficient `LazyLock` on `RAW_STATICS_CACHE`
* chore: move `js_str` together with other imports
1 month ago
Nikita-str
905e4c6f90
`TryIntoJs` trait and derive macro for it ( #3999 )
...
* #3874 : `TryIntoJs` impl for primitive types
* #3874 : `#[derive(TryIntoJs)]`
is it ok to use `create_data_property_or_throw`?
in other words, am I create an object correctly?
* #3874 : some (but not enough) tests
* #3874 : fix `TryintoJs` derive bug in multi attr case
* #3874 : `TryIntoJs` derive macro example
* fix paths in derive macro
* make lint happy
2 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
José Julián Espina
eba912fe94
Fix `js_str` macro to correctly handle latin1 strings ( #3959 )
4 months ago
Jason Williams
a6822463c8
update versions and ABOUT files ( #3903 )
...
* update versions and ABOUT files
* update about
* add publish false to interop
* remove interop link
5 months ago
José Julián Espina
6130adf6d9
Group dependabot updates ( #3863 )
...
* Group dependabot updates
* Add missing winapi feature
7 months ago
Haled Odat
ced222fdba
Separate `JsString` into its own crate ( #3837 )
7 months ago
Haled Odat
3f6ee2276c
Implement Latin1 JsString ( #3450 )
8 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>
8 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
8 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
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>
8 months ago
José Julián Espina
f2b9c83ceb
Build docs.rs docs with all features enabled ( #3794 )
8 months ago
dependabot[bot]
c78e9f0871
Bump syn from 2.0.57 to 2.0.58 ( #3788 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.57 to 2.0.58.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.57...2.0.58 )
---
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
José Julián Espina
ffbf794577
Remove references to dev docs and npm dependencies ( #3787 )
...
* Remove references to dev docs and npm dependencies
* Remove webpack config
8 months ago
dependabot[bot]
23775954fd
Bump syn from 2.0.55 to 2.0.57 ( #3777 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.55 to 2.0.57.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.55...2.0.57 )
---
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>
9 months ago
Hans Larsen
08b0debbfb
Allow deserialization of missing objects properties into Option<> ( #3767 )
...
* Allow deserialization of missing objects properties into Option<>
Currently the TryFromJs derive macro requires that all properties
be defined in the object, whether they are declared as Option<> or
not. This commit makes it so if the field is not found in the
JsObject, we try to deserialize undefined.
This is more in line with JavaScript behaviour.
* Fix cargo fmt
* Fix clippies
* Empty commit to trigger rerun of workflow
* Remove circular dependency between boa_engine and boa_macros
* Missing "::" in macro
---------
Co-authored-by: jedel1043 <jedel0124@gmail.com>
9 months ago
dependabot[bot]
122bc968a5
Bump syn from 2.0.53 to 2.0.55 ( #3762 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.53 to 2.0.55.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.53...2.0.55 )
---
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>
9 months ago
dependabot[bot]
7a8e3b9adc
Bump syn from 2.0.52 to 2.0.53 ( #3750 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.52 to 2.0.53.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.52...2.0.53 )
---
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>
9 months ago
dependabot[bot]
0614ef10ce
Bump syn from 2.0.51 to 2.0.52 ( #3705 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.51 to 2.0.52.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.51...2.0.52 )
---
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>
10 months ago
José Julián Espina
01baec0444
Create tool to regenerate the `ABOUT.md` ( #3692 )
10 months ago
dependabot[bot]
48099632e8
Bump syn from 2.0.50 to 2.0.51 ( #3693 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.50 to 2.0.51.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.50...2.0.51 )
---
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>
10 months ago
dependabot[bot]
75c094a538
Bump syn from 2.0.49 to 2.0.50 ( #3685 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.49 to 2.0.50.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.49...2.0.50 )
---
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>
10 months ago
dependabot[bot]
2cccb3299f
Bump syn from 2.0.48 to 2.0.49 ( #3676 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.48 to 2.0.49.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.48...2.0.49 )
---
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>
10 months ago
dependabot[bot]
28e04a7ad8
Bump syn from 2.0.47 to 2.0.48 ( #3565 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.47 to 2.0.48.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.47...2.0.48 )
---
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>
11 months ago
dependabot[bot]
2c2627ac12
Bump syn from 2.0.46 to 2.0.47 ( #3561 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.46 to 2.0.47.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.46...2.0.47 )
---
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>
11 months ago
dependabot[bot]
d8cfa3e098
Bump syn from 2.0.43 to 2.0.45 ( #3554 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.43 to 2.0.45.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.43...2.0.45 )
---
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>
12 months ago
dependabot[bot]
e6aec347dd
Bump quote from 1.0.33 to 1.0.34 ( #3548 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.33 to 1.0.34.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.33...1.0.34 )
---
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>
12 months ago
dependabot[bot]
6a8c6a568a
Bump syn from 2.0.42 to 2.0.43 ( #3537 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.42 to 2.0.43.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.42...2.0.43 )
---
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>
12 months ago
dependabot[bot]
70c235ea86
Bump syn from 2.0.41 to 2.0.42 ( #3529 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.41 to 2.0.42.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.41...2.0.42 )
---
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>
12 months ago
dependabot[bot]
ee4d6495ab
Bump syn from 2.0.40 to 2.0.41 ( #3517 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.40 to 2.0.41.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.40...2.0.41 )
---
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>
1 year ago
dependabot[bot]
1036fc90d1
Bump syn from 2.0.39 to 2.0.40 ( #3516 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.39 to 2.0.40.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.39...2.0.40 )
---
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>
1 year ago
Haled Odat
f923830031
Non recursive gc trace ( #3508 )
...
* Implement non-recursive GC tracing
* Mark `Trace::trace_non_roots()` as unsafe
* Apply review
1 year ago
José Julián Espina
47351efa53
Reestructure repo and CI improvements ( #3505 )
...
* Reestructure repo
* cargo update & fmt
* Fix CI
* Add newline
* Fix playground CI
* Fix CI
* Fix CI (for real this time)
* Fix CI (fr fr)
1 year ago