José Julián Espina
dd05f53468
Implement `SharedArrayBuffer` ( #3384 )
...
* Implement `SharedArrayBuffer`
* Add small documentation
* Fix docs
* Apply review
1 year ago
José Julián Espina
3177540979
Implement synthetic modules ( #3294 )
...
* Implement synthetic modules
* Add example
* Fix example
1 year ago
arexon
afb9283ce8
Implement `[[HostDefined]]` for `Module` and `Script` ( #3381 )
...
* Implement `[[HostDefined]]` for `Module` and `Script`
* Format
1 year ago
Haled Odat
24c290aa34
Evaluate all parts of `class` in strict mode ( #3383 )
...
[11.2.2 Strict Mode Code](https://tc39.es/ecma262/#sec-strict-mode-code )
- All parts of a `ClassDeclaration` or a `ClassExpression` are strict mode code.
1 year ago
Kevin
a6e488e3b5
Update feature flags to specific feature flag ( #3376 )
1 year ago
Kevin
d281988986
First portion of the Temporal implementation ( #3277 )
...
* Started with the Temporal implementation
* Implemented some useful functions
* Updaating some spec references
* Initial work on TimeZone and Instant
* More work completed on Temporal.Duration and Temporal.Instant
* General scaffolding and heavy work on Instant and Duration complete
* ZonedDateTime and Calendar started with further work on duration abstract ops
* Further work on temporal work and clippy fixes
* Post rebase fixes/reverts
* Add BuiltinCalendar and begin IsoCalendar impl
* More work completed on calendar/date/yearmonth/monthday
* Calendar and iso impl close to completion - no datelike parsing
* Initial work on temporal ISO8601 parsing and grammar
* Post rebase fixes and updates
* More on parser/Duration and work through clippy lints
* Fix bug on peek_n and add temporal cfg
* Fix clippy lints on parser tests
* Build out calendar with icu_calendar, add some tests, and misc.
* Fix spec hyperlinks
* Parser clean up and invalid annotations
* Add Duration and Temporal Parsing
* Remove IsoYearMonthRecord
* Post rebase update
* Fix and add to ISO Parser docs
* Parser/ast cleanup and duration refactor/additions
* Review feedback, options update, and duration changes
* Review changes, general cleanup, and post rebase fixes
* Fix time zone parsing issue/test logic
* Clean up parse output nodes
* Apply review feedback and various fixes
* Review feedback and get_option changes
* Review feedback
---------
Co-authored-by: Iban Eguia Moraza <razican@protonmail.ch>
Co-authored-by: José Julián Espina <jedel0124@gmail.com>
1 year ago
Haled Odat
8470214647
Check `eval` realm before call ( #3375 )
1 year ago
Haled Odat
72d2546259
Fix `Function.prototype.toString()` ( #3374 )
...
* Fix `Function.prototype.toString()`
* Add doc
1 year ago
raskad
f654ad1784
Refactor compile time environment handling ( #3365 )
...
* Refactor compile time environment handling
* Apply review
* Apply review
1 year ago
José Julián Espina
a56ce510d3
Fix new lints for Rust 1.73 ( #3361 )
1 year ago
Haled Odat
8ae39afb53
Fix `Number.prototype.toFixed()` ( #2898 )
...
* Fix `Number.prototype.toFixed()`
* Add more tests
* Update ryu-js version
1 year ago
José Julián Espina
c56a70600b
Cleanup `get_option` and calls to the functioncar ( #3355 )
1 year ago
Haled Odat
a51581bf94
Make environments opcodes use varying operands ( #3340 )
1 year ago
José Julián Espina
acdc5f4500
Fix detection of runtime limits for accessors ( #3335 )
...
* Fix detection of runtime limits for function calls
* Fix tests
* Add additional checks and extract function
* cargo fmt
* Fix build
1 year ago
raskad
38b9f17a8b
Remove unused class environments ( #3332 )
1 year ago
raskad
55466b0fea
Fix static class element evaluation order ( #3327 )
1 year ago
Haled Odat
744536763d
Separate native and JavaScript functions ( #3322 )
1 year ago
Haled Odat
ceaaec72cb
Fix super() construction with default parameters ( #3339 )
...
- Remove unused `PushDeclarativeEnvironment` opcode
1 year ago
Haled Odat
4bdb6c6fe5
Fix regular expression construction ( #3338 )
...
* Fix regular expression construction
The previous implementation regular expression (e.g. /abc/) used the global `RegExp`,
which caused errors when the `RegExp` was overwritten.
* Apply Review
1 year ago
José Julián Espina
d8f6834d5f
Improve CI testing ( #3333 )
...
* Improve CI testing
* Bail on error
* cargo fmt
* Invert names
* Split misc action
* Rename some actions
1 year ago
Haled Odat
e54609e784
Truncate environment stack on non-caught native error ( #3331 )
...
* Truncate environment stack on non-caught native error
* Add test
1 year ago
raskad
8fd474419b
Add missing class name binding ( #3328 )
1 year ago
raskad
ca37aa2e7c
Add `NonMaxU32` as integer variant for `PropertyKey` ( #3321 )
...
* Add max array index
* Apply review
* Switch to u32
* Mark function as unsafe
1 year ago
José Julián Espina
b03aa360f8
Introduce a `Class` map ( #3315 )
...
* Improve `Class` and `ClassBuilder` ergonomics
* Fix tests
* Apply review
* Fix docs
1 year ago
Haled Odat
332fd658a8
Varying length instruction operands ( #3253 )
...
* Implement varying length operands
* Apply review
* Apply review
1 year ago
José Julián Espina
b80409d87d
Remove direct conversion from `&str` to `JsValue`/`PropertyKey`. ( #3319 )
...
* Remove direct conversion from `&str` to `JsValue`/`PropertyKey`.
* Allow unused static strings
* Introduce DHAT to benchmark data usage
* Create new release profile
* Fix docs
1 year ago
José Julián Espina
615ae4e096
Introduce experimental features ( #3318 )
...
* Introduce experimental features
* Fix tests
1 year ago
José Julián Espina
ae414797af
Format code snippets in docs ( #3317 )
1 year ago
dependabot[bot]
a23335b550
Bump thiserror from 1.0.48 to 1.0.49 ( #3316 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.48 to 1.0.49.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.48...1.0.49 )
---
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
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