Haled Odat
822634cf41
Implement `[[HostDefined]]` field on `Realm`s ( #2952 )
...
- Improve HostDefined field to allow multiple stored types
1 year ago
José Julián Espina
940e603d3b
Migrate to workspace deps ( #3313 )
...
* Migrate to workspace deps
* cargo fmt
1 year ago
José Julián Espina
57604ae0cb
Bump ICU4X to 1.3 ( #3306 )
...
* Bump ICU4X to 1.3
* Fix build on --no-default-features
* Fix wasm build
* Fix tests
* Add locale resolver hack
* Fix panics
* Pin ICU4X related deps to minor versions
1 year ago
Haled Odat
60c9583c98
Fix class inherit from `null` ( #3312 )
1 year ago
José Julián Espina
0bb51b189e
Replace #[deny] with #[warn] ( #3309 )
...
* Change deny lints to warn lints
* Deny warnings on CI
1 year ago
Matthias Seitz
a7ffa00ae9
fix: add 'static lifetime ( #3297 )
1 year ago
Haled Odat
fd2e5589ce
Fix tagged template `this` in strict mode ( #3307 )
...
In strict mode `this` should be undefined.
1 year ago
Haled Odat
1b03f8379c
Implement step 5 in RegExp constructor ( #3305 )
...
The following step was missing from our `RegExp` constructor implementation:
```
5. Else if patternIsRegExp is true, then
a. Let P be ? Get(pattern, "source").
b. If flags is undefined, then
i. Let F be ? Get(pattern, "flags").
c. Else,
i. Let F be flags.
```
1 year ago
José Julián Espina
25c120b5f5
Implement `Intl.PluralRules` ( #3298 )
...
* Implement `PluralRules`
* cargo fmt
* Move options utils to builtins module
* Fix docs
* Apply review
1 year ago
José Julián Espina
986b048560
Bump `rust-version` to 1.71 ( #3290 )
...
* Bump `rust-version` to 1.71
* cargo clippy
1 year ago
dependabot[bot]
733c9ca75a
Bump chrono from 0.4.30 to 0.4.31 ( #3287 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.30 to 0.4.31.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.30...v0.4.31 )
---
updated-dependencies:
- dependency-name: chrono
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]
915ee96c1b
Bump indoc from 2.0.3 to 2.0.4 ( #3285 )
...
Bumps [indoc](https://github.com/dtolnay/indoc ) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/dtolnay/indoc/releases )
- [Commits](https://github.com/dtolnay/indoc/compare/2.0.3...2.0.4 )
---
updated-dependencies:
- dependency-name: indoc
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
6a91a85e0e
Store active runnable and active function in `CallFrame` ( #3197 )
...
* Move acrive runnable to CallFrame
* Move active function to CallFrame
* Add some code doc
* Fix doc link
* Apply review
1 year ago
dependabot[bot]
3c15e59e67
Bump serde_json from 1.0.106 to 1.0.107 ( #3279 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.106 to 1.0.107.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.106...v1.0.107 )
---
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>
1 year ago
dependabot[bot]
9d4e952715
Bump serde_json from 1.0.105 to 1.0.106 ( #3268 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.105 to 1.0.106.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.105...v1.0.106 )
---
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>
1 year ago
dependabot[bot]
306709177b
Bump chrono from 0.4.26 to 0.4.30 ( #3263 )
...
* Bump chrono from 0.4.26 to 0.4.30
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.26 to 0.4.30.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.26...v0.4.30 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Replace deprecated methods
---------
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>
1 year ago
Haled Odat
3ea0a77606
Add `Instruction` and `InstructionIterator` ( #3201 )
1 year ago
dependabot[bot]
782b718c25
Bump dashmap from 5.5.1 to 5.5.3 ( #3262 )
...
Bumps [dashmap](https://github.com/xacrimon/dashmap ) from 5.5.1 to 5.5.3.
- [Release notes](https://github.com/xacrimon/dashmap/releases )
- [Commits](https://github.com/xacrimon/dashmap/compare/v5.5.1...v.5.5.3 )
---
updated-dependencies:
- dependency-name: dashmap
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]
446c97c34d
Bump thiserror from 1.0.47 to 1.0.48 ( #3261 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.47 to 1.0.48.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.47...1.0.48 )
---
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>
1 year ago
dependabot[bot]
abef8b2f9d
Bump sys-locale from 0.3.0 to 0.3.1 ( #3260 )
...
Bumps [sys-locale](https://github.com/1Password/sys-locale ) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/1Password/sys-locale/releases )
- [Changelog](https://github.com/1Password/sys-locale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/1Password/sys-locale/compare/v0.3.0...v0.3.1 )
---
updated-dependencies:
- dependency-name: sys-locale
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]
2b0f96333c
Bump num-bigint from 0.4.3 to 0.4.4 ( #3232 )
...
Bumps [num-bigint](https://github.com/rust-num/num-bigint ) from 0.4.3 to 0.4.4.
- [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.3...num-bigint-0.4.4 )
---
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>
1 year ago
dependabot[bot]
e1791adbdc
Bump regress from 0.6.0 to 0.7.1 ( #3236 )
...
Bumps [regress](https://github.com/ridiculousfish/regress ) from 0.6.0 to 0.7.1.
- [Release notes](https://github.com/ridiculousfish/regress/releases )
- [Commits](https://github.com/ridiculousfish/regress/compare/v0.6.0...v0.7.1 )
---
updated-dependencies:
- dependency-name: regress
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>
1 year ago
dependabot[bot]
82ef918214
Bump serde from 1.0.186 to 1.0.188 ( #3244 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.186 to 1.0.188.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.186...v1.0.188 )
---
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>
1 year ago
Kevin
f92e7489d8
Clippy updates: add panics and etc. ( #3235 )
...
* Adding Panics doc to Profiler's drop method
* forgot to rustfmt
* Address clippy lints/temporarily allow some
* boa_ast -> rustfmt
* all features and all targets
* Trigger re-run
* Add workspace.resolver
* markdown lint
* Trigger actions pt. 2
---------
Co-authored-by: jedel1043 <jedel0124@gmail.com>
1 year ago
dependabot[bot]
b47087c028
Bump serde from 1.0.185 to 1.0.186 ( #3234 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.185 to 1.0.186.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.185...v1.0.186 )
---
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>
1 year ago
dependabot[bot]
b2519c3484
Bump serde from 1.0.183 to 1.0.185 ( #3228 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.183 to 1.0.185.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.183...v1.0.185 )
---
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>
1 year ago
dependabot[bot]
168c3aee71
Bump dashmap from 5.5.0 to 5.5.1 ( #3231 )
...
Bumps [dashmap](https://github.com/xacrimon/dashmap ) from 5.5.0 to 5.5.1.
- [Release notes](https://github.com/xacrimon/dashmap/releases )
- [Commits](https://github.com/xacrimon/dashmap/compare/v5.5.0...v5.5.1 )
---
updated-dependencies:
- dependency-name: dashmap
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]
bbceaef9eb
Bump thiserror from 1.0.46 to 1.0.47 ( #3221 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.46 to 1.0.47.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.46...1.0.47 )
---
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>
1 year ago
dependabot[bot]
b2cbcb965f
Bump serde_json from 1.0.104 to 1.0.105 ( #3218 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.104 to 1.0.105.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.104...v1.0.105 )
---
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>
1 year ago
dependabot[bot]
af7ca0d379
Bump thiserror from 1.0.45 to 1.0.46 ( #3217 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.45 to 1.0.46.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.45...1.0.46 )
---
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>
1 year ago
dependabot[bot]
06bb71aa50
Bump thiserror from 1.0.44 to 1.0.45 ( #3215 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.44 to 1.0.45.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.44...1.0.45 )
---
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>
1 year ago
dependabot[bot]
4567e5b560
Bump bitflags from 2.3.3 to 2.4.0 ( #3212 )
...
Bumps [bitflags](https://github.com/bitflags/bitflags ) from 2.3.3 to 2.4.0.
- [Release notes](https://github.com/bitflags/bitflags/releases )
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bitflags/bitflags/compare/2.3.3...2.4.0 )
---
updated-dependencies:
- dependency-name: bitflags
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>
1 year ago
dependabot[bot]
306770a8dc
Bump num_enum from 0.6.1 to 0.7.0 ( #3211 )
...
Bumps [num_enum](https://github.com/illicitonion/num_enum ) from 0.6.1 to 0.7.0.
- [Commits](https://github.com/illicitonion/num_enum/commits )
---
updated-dependencies:
- dependency-name: num_enum
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>
1 year ago
Haled Odat
a3b46545a2
Use main stack for calling ordinary functions ( #3185 )
...
* Use main stack for calling
- Move `return_value` to stack
* Move return_value to VM
* Apply review
1 year ago
raskad
cd232b18f9
Fix switch statement `break` and `continue` return values ( #3205 )
...
* Fix switch statement early return values
* Remove unused control flow
1 year ago
dependabot[bot]
9665f8be3b
Bump serde from 1.0.181 to 1.0.183 ( #3202 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.181 to 1.0.183.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.181...v1.0.183 )
---
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>
1 year ago
Haled Odat
c2df31b781
Improve bytecompiler bytecode generation. ( #3188 )
...
* Improve bytecompiler bytecode generation
* Implement push f32 value (#3198 )
1 year ago
José Julián Espina
a06a6f5fdb
Implement ephemeron-based weak map ( #3052 )
...
* Implement ephemeron-based weak map
* Document code and improve ephemerons
* Fix docs
* cargo clippy
1 year ago
dependabot[bot]
9347ed1983
Bump serde from 1.0.180 to 1.0.181 ( #3200 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.180 to 1.0.181.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.180...v1.0.181 )
---
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>
1 year ago
raskad
8536a6b88b
Fix remaining TypedArray bugs ( #3186 )
1 year ago
dependabot[bot]
1e10f07c1c
Bump serde from 1.0.179 to 1.0.180 ( #3192 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.179 to 1.0.180.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.179...v1.0.180 )
---
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>
1 year ago
dependabot[bot]
f41ea50859
Bump serde from 1.0.177 to 1.0.179 ( #3191 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.177 to 1.0.179.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.177...v1.0.179 )
---
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>
1 year ago
Haled Odat
d8bf5f589d
Refactor `Context::run()` method ( #3179 )
...
* Refactor `Context::run()` method
- Remove async generator close from run
- Remove promise capability from run
- Remove promise capability check from call_internal
- Remove generator creation from call_internal
- Move promise capability creation to separate opcode
* Inline ReThrow opcode in run
1 year ago
raskad
4f9175b775
Implement `String.prototype.isWellFormed` and `String.prototype.toWellFormed` ( #3187 )
1 year ago
Haled Odat
2b01ef1c27
Close iterator after generator return call while array destructuring assignment ( #3164 )
...
* Close iterator after generator return while array destructuring
* Add MaybeException opcode and remove handler check
1 year ago
Haled Odat
be055a30e1
Refactor environment, exception handling and jumping in VM ( #3059 )
...
* Refactor environment, exception handling, generators and jumping in VM
* Add helper for JumpIfNotResumeKind opcode
* Better handler display for CodeBlock
* Update documentaion
* Factor exception handling from throw opcodes
* Simplify try compilation
* Only push try statement jump controll info if needed
* Add helper functions checks in async and generator
* Run prettier
* Remove redundant check for end of bytecode.
We always emit a `Return` opcode at the end of a function, so this should never be reached.
* Fix doc link
* Implement stack_count calculation of handlers
* Fix typo
* Rename `LoopContinue` to `IncrementLoopIteration`
* Fix typo
* Remove #[allow(unused)] from Handler field
1 year ago
dependabot[bot]
d459ff1b44
Bump jemallocator from 0.5.0 to 0.5.4 ( #3181 )
...
Bumps [jemallocator](https://github.com/tikv/jemallocator ) from 0.5.0 to 0.5.4.
- [Release notes](https://github.com/tikv/jemallocator/releases )
- [Changelog](https://github.com/tikv/jemallocator/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tikv/jemallocator/compare/0.5.0...0.5.4 )
---
updated-dependencies:
- dependency-name: jemallocator
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]
30ff5ae4f8
Bump serde from 1.0.176 to 1.0.177 ( #3182 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.176 to 1.0.177.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.176...v1.0.177 )
---
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>
1 year ago
Choongwoo Han
72b7ee5866
Re-enable must_use clippy rule ( #3180 )
1 year ago
dependabot[bot]
93e3b2f629
Bump serde_json from 1.0.103 to 1.0.104 ( #3178 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.103 to 1.0.104.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.103...v1.0.104 )
---
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>
1 year ago