Jason Williams
d8ec97c85f
use with_capacity to reduce re-allocations fixes #3896 ( #3961 )
...
* use with_capacity to reduce allocations
* Update to use const generics over runtime param
* add comment above with_capacity
* - move OWN_PROPS
- add profiling marks in more places
* use const in trait instead
2 months ago
Hans Larsen
d3dbb4ad02
console.debug() should use a debug Logger method ( #4019 )
2 months ago
dependabot[bot]
23e8ba29be
Bump the rust-dependencies group with 5 updates ( #4025 )
...
Bumps the rust-dependencies group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [regex](https://github.com/rust-lang/regex ) | `1.11.0` | `1.11.1` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.210` | `1.0.213` |
| [syn](https://github.com/dtolnay/syn ) | `2.0.82` | `2.0.85` |
| [proc-macro2](https://github.com/dtolnay/proc-macro2 ) | `1.0.88` | `1.0.89` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.64` | `1.0.65` |
Updates `regex` from 1.11.0 to 1.11.1
- [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.11.0...1.11.1 )
Updates `serde` from 1.0.210 to 1.0.213
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.210...v1.0.213 )
Updates `syn` from 2.0.82 to 2.0.85
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.82...2.0.85 )
Updates `proc-macro2` from 1.0.88 to 1.0.89
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.88...1.0.89 )
Updates `thiserror` from 1.0.64 to 1.0.65
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.64...1.0.65 )
---
updated-dependencies:
- dependency-name: regex
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
- dependency-name: proc-macro2
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>
2 months 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
acd1a8d9ab
Add a display_lossy() to write a JsString lossily ( #4023 )
...
* Add a display_lossy() to write a JsString lossily
* cargo fmt
2 months ago
dependabot[bot]
e22a703dfd
Bump the rust-dependencies group across 1 directory with 8 updates ( #4021 )
...
* Bump the rust-dependencies group across 1 directory with 8 updates
Bumps the rust-dependencies group with 8 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.19` | `4.5.20` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.128` | `1.0.132` |
| [trybuild](https://github.com/dtolnay/trybuild ) | `1.0.99` | `1.0.101` |
| [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) | `0.2.93` | `0.2.95` |
| [wasm-bindgen-test](https://github.com/rustwasm/wasm-bindgen ) | `0.3.43` | `0.3.45` |
| [syn](https://github.com/dtolnay/syn ) | `2.0.79` | `2.0.82` |
| [proc-macro2](https://github.com/dtolnay/proc-macro2 ) | `1.0.86` | `1.0.88` |
| [bytemuck](https://github.com/Lokathor/bytemuck ) | `1.18.0` | `1.19.0` |
Updates `clap` from 4.5.19 to 4.5.20
- [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.19...clap_complete-v4.5.20 )
Updates `serde_json` from 1.0.128 to 1.0.132
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/1.0.128...1.0.132 )
Updates `trybuild` from 1.0.99 to 1.0.101
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.99...1.0.101 )
Updates `wasm-bindgen` from 0.2.93 to 0.2.95
- [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.93...0.2.95 )
Updates `wasm-bindgen-test` from 0.3.43 to 0.3.45
- [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 `syn` from 2.0.79 to 2.0.82
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.79...2.0.82 )
Updates `proc-macro2` from 1.0.86 to 1.0.88
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.86...1.0.88 )
Updates `bytemuck` from 1.18.0 to 1.19.0
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.18.0...v1.19.0 )
---
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: 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: 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-minor
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix wasm dependencies
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: José Julián Espina <julian.espina@canonical.com>
2 months ago
Hans Larsen
94d08fe4e6
Add a URL class to boa_runtime ( #4004 )
...
* Add a URL class (with caveats)
Some methods are NOT currently supported (some don' make sense
outside of a browser context). They are still implemented but
will throw a JavaScript Error.
Supported methods should follow the specification perfectly.
* Adding tests and using url::quirks for simpler getters/setters
* clippies
* Address comments
3 months ago
Nikita-str
67f4884d9b
`JsValue::to_json` fix integer property keys ( #4011 )
...
* #3923 : `to_json` fix integer properties key
* some refactoring
3 months ago
dependabot[bot]
c9d1b5d805
Bump rustsec/audit-check from 1.4.1 to 2.0.0 ( #4012 )
...
Bumps [rustsec/audit-check](https://github.com/rustsec/audit-check ) from 1.4.1 to 2.0.0.
- [Release notes](https://github.com/rustsec/audit-check/releases )
- [Changelog](https://github.com/rustsec/audit-check/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustsec/audit-check/compare/v1.4.1...v2.0.0 )
---
updated-dependencies:
- dependency-name: rustsec/audit-check
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months ago
dependabot[bot]
fcd4422b28
Bump the rust-dependencies group with 4 updates ( #4015 )
...
Bumps the rust-dependencies group with 4 updates: [clap](https://github.com/clap-rs/clap ), [indexmap](https://github.com/indexmap-rs/indexmap ), [once_cell](https://github.com/matklad/once_cell ) and [futures-util](https://github.com/rust-lang/futures-rs ).
Updates `clap` from 4.5.18 to 4.5.19
- [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.18...clap_complete-v4.5.19 )
Updates `indexmap` from 2.5.0 to 2.6.0
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.5.0...2.6.0 )
Updates `once_cell` from 1.20.1 to 1.20.2
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.20.1...v1.20.2 )
Updates `futures-util` from 0.3.30 to 0.3.31
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.30...0.3.31 )
---
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: once_cell
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: futures-util
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
dependabot[bot]
9d7153cdf3
Bump the rust-dependencies group with 4 updates ( #4013 )
...
Bumps the rust-dependencies group with 4 updates: [once_cell](https://github.com/matklad/once_cell ), [regex](https://github.com/rust-lang/regex ), [syn](https://github.com/dtolnay/syn ) and [portable-atomic](https://github.com/taiki-e/portable-atomic ).
Updates `once_cell` from 1.19.0 to 1.20.1
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.19.0...v1.20.1 )
Updates `regex` from 1.10.6 to 1.11.0
- [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.6...1.11.0 )
Updates `syn` from 2.0.77 to 2.0.79
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.77...2.0.79 )
Updates `portable-atomic` from 1.8.0 to 1.9.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.8.0...v1.9.0 )
---
updated-dependencies:
- dependency-name: once_cell
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-minor
dependency-group: rust-dependencies
- dependency-name: syn
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>
3 months ago
Nikita-str
628e31cf62
#4009 : eq bug fix + tests ( #4010 )
3 months ago
dependabot[bot]
4ed2bad994
Bump the rust-dependencies group with 3 updates ( #4003 )
...
Bumps the rust-dependencies group with 3 updates: [clap](https://github.com/clap-rs/clap ), [thiserror](https://github.com/dtolnay/thiserror ) and [portable-atomic](https://github.com/taiki-e/portable-atomic ).
Updates `clap` from 4.5.17 to 4.5.18
- [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.17...clap_complete-v4.5.18 )
Updates `thiserror` from 1.0.63 to 1.0.64
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.63...1.0.64 )
Updates `portable-atomic` from 1.7.0 to 1.8.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.7.0...v1.8.0 )
---
updated-dependencies:
- dependency-name: clap
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>
3 months ago
Hans Larsen
e6a695036b
Add context to the console Logger trait ( #4005 )
...
This is not backward compatible but should have minimal impact.
This is also more future proof by passing the ConsoleState
which is more opaque and allows us to update the way the
console object is constructed and passed.
3 months ago
it-a-me
bea8369620
docs: Fix link to examples ( #4007 )
3 months ago
raskad
aa09d98787
Implement scope analysis and local variables ( #3988 )
...
* Remove unnecessary compile time environment clones
* Remove compile time environments from every runtime DeclarativeEnvironment
* Implement scope analysis and local variables
* fix docs and fuzzer errors
* Apply suggestions
* Align `parse_script` and `parse_module` arguments
* Fix fuzzer
3 months ago
Hans Larsen
8438ad21cd
Add TryFromJs for TypedJsFunction and more tests ( #3981 )
...
* Add TryFromJs for TypedJsFunction and more tests
Includes adding TryFromJs for "()".
* Fix clippies and fmt
* Prettier
* Add From<TypedJsFunction> for JsValue to allow conversion
* Implement comments
* clippies
3 months ago
Hans Larsen
ddb1901d65
Add TextEncoder, TextDecoder implementations to boa_runtime ( #3994 )
...
* Add a TextEncoder implementation to boa_runtime
* Add a TextDecoder implementation as well.
3 months ago
José Julián Espina
6d8be0aa9b
Improve CI concurrency and fix macos release ( #3996 )
3 months ago
Haled Odat
c480a42230
Implement register allocation ( #3942 )
...
* Implement register allocation
* Apply review
* Update core/engine/src/vm/opcode/rest_parameter/mod.rs
Co-authored-by: raskad <32105367+raskad@users.noreply.github.com>
---------
Co-authored-by: raskad <32105367+raskad@users.noreply.github.com>
3 months ago
José Julián Espina
4db0388e53
Update changelog for v0.19.1 ( #3995 )
4 months ago
Hans Larsen
dd32789ae4
Add tests from WPT and fix them in the Console ( #3979 )
4 months ago
Hans Larsen
50356e9518
Add TryIntoJsResult for vectors ( #3993 )
...
* Add TryIntoJsResult for vectors
This way JsFunction made with into_js_function can return vectors.
* Fix build error
4 months ago
Hans Larsen
affa6527c1
Add a way for js_error! macro to create native errors with message ( #3971 )
...
* Add a way for js_error! macro to create native errors with message
* Fix docs
4 months ago
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
4 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>
4 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>
4 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>
4 months ago
Hans Larsen
4778780073
Add support for Trace, Finalize and JsData for Convert<> ( #3970 )
4 months ago
José Julián Espina
4c5df56b16
Allow warnings when running CI on release branches ( #3990 )
4 months ago
José Julián Espina
b429c54bf1
Enable CI for release branches ( #3987 )
4 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>
4 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
4 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>
4 months ago
shurizzle
9a553db188
fix: ignore `debugger` statement ( #3976 )
...
Co-authored-by: shurizzle <me@shurizzle.dev>
4 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