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
raskad
ebb40aeb14
Fix anonymous function name in cover assignment ( #3325 )
1 year ago
José Julián Espina
ae414797af
Format code snippets in docs ( #3317 )
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
José Julián Espina
0bb51b189e
Replace #[deny] with #[warn] ( #3309 )
...
* Change deny lints to warn lints
* Deny warnings on CI
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
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]
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
raskad
22b014d5d5
Add early errors for `LexicalDeclaration` ( #3207 )
1 year ago
dependabot[bot]
07e55006d1
Bump num-traits from 0.2.15 to 0.2.16 ( #3166 )
...
Bumps [num-traits](https://github.com/rust-num/num-traits ) from 0.2.15 to 0.2.16.
- [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.15...num-traits-0.2.16 )
---
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>
1 year ago
José Julián Espina
395d0c8d42
Format let-else expressions ( #3102 )
1 year ago
raskad
73af19b2bd
Allow escaped yield and await in labelled statement ( #3117 )
1 year ago
José Julián Espina
ce520fa2ba
Prepare for release 0.17 ( #3083 )
1 year ago
José Julián Espina
551a287718
Copy `ABOUT.md` file to all published crates ( #3074 )
1 year ago
dependabot[bot]
5da8846020
Bump bitflags from 2.3.1 to 2.3.2 ( #3039 )
...
Bumps [bitflags](https://github.com/bitflags/bitflags ) from 2.3.1 to 2.3.2.
- [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.1...2.3.2 )
---
updated-dependencies:
- dependency-name: bitflags
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
b502d25a8f
Add early error for `await` in class static blocks ( #3019 )
1 year ago
José Julián Espina
9a903fb5f6
Correctly parse `yield import(..)` expressions ( #3006 )
1 year ago
dependabot[bot]
f18b3be672
Bump once_cell from 1.17.2 to 1.18.0 ( #2999 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.17.2 to 1.18.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.2...v1.18.0 )
---
updated-dependencies:
- dependency-name: once_cell
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
raskad
940529ac8a
Fix panic in optional expressions with private identifiers ( #2995 )
1 year ago
José Julián Espina
ee97198d01
Allow `true`, `false` and `null` in object patterns ( #2994 )
...
* Allow `true`, `false` and `null` in object patterns
* Add test
1 year ago
Veera
4a68fb5120
Deny Unicode Escapes in boolean and null expressions ( #2931 )
...
* Deny Unicode Escapes in boolean and null expressions
* Add tests
1 year ago
dependabot[bot]
867685e1f0
Bump once_cell from 1.17.1 to 1.17.2 ( #2978 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.17.1 to 1.17.2.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.1...v1.17.2 )
---
updated-dependencies:
- dependency-name: once_cell
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
4ea80f4621
Remove unused lint allows ( #2968 )
1 year ago
José Julián Espina
7ae858204b
Implement pseudo-property `import.meta` ( #2956 )
...
* Implement pseudo-property `import.meta`
* Apply review
1 year ago
José Julián Espina
9bbe0184a4
Fix remaining static module bugs ( #2955 )
...
* Fix remaining module bugs
* npx prettier
* Fix regression
1 year ago
José Julián Espina
09658b02bc
Implement dynamic imports ( #2932 )
...
* WIP: 76d7eceed6 Implement dynamic imports
* Expand `ActiveRunnable` to missing places
* Fix memory leak
* Fix docs
* Parse `import` as call expression
* Fix regressions
* Fix copypasted doc
* clippy fix
* Adjust ignored features
* Migrate away from `top_level_*` operations
* Fix more module tests
* Fix doc link
1 year ago
raskad
5e9193aced
Implement Private Runtime Environments ( #2929 )
1 year ago
dependabot[bot]
a0b769d5b1
Bump bitflags from 2.2.1 to 2.3.1 ( #2945 )
...
Bumps [bitflags](https://github.com/bitflags/bitflags ) from 2.2.1 to 2.3.1.
- [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.2.1...2.3.1 )
---
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
José Julián Espina
06161edcbd
Implement module execution ( #2922 )
...
* Implement draft of module execution
* Fix recursion bug
* Re-enable JsObject's debug printing
* Modify API and document some methods
* Add missing documentation
* Add newline to module scripts
* npx prettier
* Apply reviews
* Add reference to parent struct on source module
* Document more steps on the example
* cargo clippy
* Revert `BoaGc` changes
* Lower `GcRefCell` to `Inner` of `SourceTextModule`
* Replace weak ref to module with strong ref
* Apply review
* Clarify reasoning of manual `Trace` impl
* Apply review pt. 2
* Revert gc changes
1 year ago
José Julián Espina
ab87b2fd5b
Extract "About Boa" section into a separate file ( #2938 )
...
* Extract "About Boa" section into a separate file
* Add newline
* cargo fmt
1 year ago
raskad
efeaa40ae2
Fix tagged template creation ( #2925 )
...
* Fix tagged template creation
* Fix template identifier hash
* Apply suggestion
* Apply suggestion
1 year ago
José Julián Espina
4f25f2c749
Allow escaped `async` as binding name ( #2936 )
1 year ago
Haled Odat
128c13752a
Allow `let` name in for-in loop in non-strict mode ( #2915 )
2 years ago
Haled Odat
d7c03db7fa
Allow escaped `let` as expression ( #2916 )
2 years ago
Haled Odat
908015f9fd
Fix switch `default` execution ( #2907 )
...
* Fix switch `default` execution
* Fix typo
* Update switch.rs
2 years ago
raskad
484cc16bb9
Fix remaining object literal tests ( #2906 )
2 years ago
raskad
e3d2056f5b
Refactor binding declarations ( #2887 )
2 years ago
Iban Eguia Moraza
7cb58dea97
Added a bunch more tests ( #2885 )
...
* Added a bunch more tests
* Removed extra file
* Fix tests
* Increasing code coverage
* Fix clippy lint
* Removed ut_ prefix for tests
2 years ago
José Julián Espina
73e8d412af
Disallow strict directives with escaped sequences ( #2892 )
...
This Pull Request fixes test 72c0c5e163/test/language/directive-prologue/14.1-5-s.js
by disallowing escaped sequences inside a strict directive.
2 years ago
dependabot[bot]
f6c1d6360e
Bump regress from 0.5.0 to 0.6.0 ( #2888 )
...
Bumps [regress](https://github.com/ridiculousfish/regress ) from 0.5.0 to 0.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/ridiculousfish/regress/releases ">regress's releases</a>.</em></p>
<blockquote>
<h2>v0.6.0</h2>
<p>Version 0.6.0 of regress, REGex in Rust with EmcaScript Syntax.</p>
<ul>
<li>Unpaired surrogates are now properly handled in accordance with the EcmaScript spec (<a href="https://github.com/jedel1043 "><code>@jedel1043</code></a> in <a href="https://redirect.github.com/ridiculousfish/regress/pull/60 ">ridiculousfish/regress#60</a>)</li>
<li>Invalid ranges like <code>[a-\s]</code> are now permitted in non-Unicode mode, in accordance with Annex B of EcmaScript spec (<a href="https://github.com/HalidOdat "><code>@HalidOdat</code></a> in <a href="https://redirect.github.com/ridiculousfish/regress/pull/62 ">ridiculousfish/regress#62</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b0814a7435
"><code>b0814a7</code></a> Release regress 0.6.0</li>
<li><a href="dcc8ab63c8
"><code>dcc8ab6</code></a> Fix valid character sets in Annex-B</li>
<li><a href="e724b5c04c
"><code>e724b5c</code></a> Run <code>cargo clippy</code></li>
<li><a href="701e366172
"><code>701e366</code></a> Expand comments further</li>
<li><a href="79890137f8
"><code>7989013</code></a> Fix surrogates parsing on regex</li>
<li>See full diff in <a href="https://github.com/ridiculousfish/regress/compare/v0.5.0...v0.6.0 ">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=regress&package-manager=cargo&previous-version=0.5.0&new-version=0.6.0 )](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
2 years ago
Haled Odat
dff815d545
Fix `for-of` expression parsing ( #2882 )
...
This PR makes parsing of expressions in for-of loops use `AssignmentExpression` expression parsing as defined in the spec.
2 years ago
Juan
d49656d6c5
Bugfix/new.target is not understood by the parser as an expression #2793 ( #2878 )
...
<!---
Thank you for contributing to Boa! Please fill out the template below, and remove or add any
information as you feel necessary.
--->
This Pull Request fixes/closes #2793 .
It changes the following:
- Added a condition to the boa_parser/src/parser/expression/left_hand_side/member.rs parse function match operation for the new token that allows for the operation to continue evaluating more tokens when the TARGET keyword follows it.
- Added a test to validate the fix. (Could not figure out the structure of the test suite so it's commented for now). All other tests pass.
Please let me know if there's anything else I can do to improve the fix.
Co-authored-by: jedel1043 <jedel0124@gmail.com>
2 years ago
José Julián Espina
c330005912
Implement `is_identifier_(start/part)` using `icu_properties` ( #2865 )
...
As mentioned in https://github.com/boa-dev/boa/pull/2848#issuecomment-1518909512 , this uses our new default ICU4X data to replace `char::is_start` and `char::is_continue` from the `boa_unicode` crate with the [`icu_properties`](https://crates.io/crates/icu_properties ) crate.
Note that this doesn't deprecate `boa_unicode` yet, since that'll require some discussion about how to proceed with a now unused sub-crate.
2 years ago
dependabot[bot]
cebec9da90
Bump bitflags from 2.1.0 to 2.2.1 ( #2868 )
...
Bumps [bitflags](https://github.com/bitflags/bitflags ) from 2.1.0 to 2.2.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/bitflags/bitflags/releases ">bitflags's releases</a>.</em></p>
<blockquote>
<h2>2.2.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Refactor attribute filtering to apply per-flag by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/345 ">bitflags/bitflags#345</a></li>
<li>Prepare for 2.2.1 release by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/346 ">bitflags/bitflags#346</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/bitflags/bitflags/compare/2.2.0...2.2.1 ">https://github.com/bitflags/bitflags/compare/2.2.0...2.2.1 </a></p>
<h2>2.2.0 (yanked)</h2>
<h2>What's Changed</h2>
<ul>
<li>Create SECURITY.md by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/338 ">bitflags/bitflags#338</a></li>
<li>add docs to describe the behavior of multi-bit flags by <a href="https://github.com/nicholasbishop "><code>@nicholasbishop</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/340 ">bitflags/bitflags#340</a></li>
<li>Add support for bytemuck by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/336 ">bitflags/bitflags#336</a></li>
<li>Add a top-level macro for filtering attributes by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/341 ">bitflags/bitflags#341</a></li>
<li>Prepare for 2.2.0 release by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/342 ">bitflags/bitflags#342</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/nicholasbishop "><code>@nicholasbishop</code></a> made their first contribution in <a href="https://redirect.github.com/bitflags/bitflags/pull/340 ">bitflags/bitflags#340</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/bitflags/bitflags/compare/2.1.0...2.2.0 ">https://github.com/bitflags/bitflags/compare/2.1.0...2.2.0 </a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md ">bitflags's changelog</a>.</em></p>
<blockquote>
<h1>2.2.1</h1>
<h2>What's Changed</h2>
<ul>
<li>Refactor attribute filtering to apply per-flag by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/345 ">bitflags/bitflags#345</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/bitflags/bitflags/compare/2.2.0...2.2.1 ">https://github.com/bitflags/bitflags/compare/2.2.0...2.2.1 </a></p>
<h1>2.2.0</h1>
<h2>What's Changed</h2>
<ul>
<li>Create SECURITY.md by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/338 ">bitflags/bitflags#338</a></li>
<li>add docs to describe the behavior of multi-bit flags by <a href="https://github.com/nicholasbishop "><code>@nicholasbishop</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/340 ">bitflags/bitflags#340</a></li>
<li>Add support for bytemuck by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/336 ">bitflags/bitflags#336</a></li>
<li>Add a top-level macro for filtering attributes by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/341 ">bitflags/bitflags#341</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/nicholasbishop "><code>@nicholasbishop</code></a> made their first contribution in <a href="https://redirect.github.com/bitflags/bitflags/pull/340 ">bitflags/bitflags#340</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/bitflags/bitflags/compare/2.1.0...2.2.0 ">https://github.com/bitflags/bitflags/compare/2.1.0...2.2.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="0c318c0d77
"><code>0c318c0</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/346 ">#346</a> from KodrAus/cargo/2.2.1</li>
<li><a href="a51c053286
"><code>a51c053</code></a> prepare for 2.2.1 release</li>
<li><a href="638707f0f0
"><code>638707f</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/345 ">#345</a> from KodrAus/fix/recursion</li>
<li><a href="f3f3b6a7b0
"><code>f3f3b6a</code></a> add docs to example generated flags</li>
<li><a href="588d13298e
"><code>588d132</code></a> refactor attribute filtering to apply per-flag</li>
<li><a href="cbcafa710f
"><code>cbcafa7</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/342 ">#342</a> from KodrAus/cargo/2.2.0</li>
<li><a href="61df53a791
"><code>61df53a</code></a> prepare for 2.2.0 release</li>
<li><a href="780f456840
"><code>780f456</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/341 ">#341</a> from KodrAus/fix/doc-alias</li>
<li><a href="405e7de8ee
"><code>405e7de</code></a> updates macro field names</li>
<li><a href="561fe509b0
"><code>561fe50</code></a> add a top-level macro for filtering attributes</li>
<li>Additional commits viewable in <a href="https://github.com/bitflags/bitflags/compare/2.1.0...2.2.1 ">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=bitflags&package-manager=cargo&previous-version=2.1.0&new-version=2.2.1 )](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
2 years ago
Iban Eguia Moraza
63d9d67ecb
Added a Boa runtime ( #2743 )
...
This Pull Request fixes/closes #718 .
It changes the following:
- Adds a new `boa_runtime` crate, that will only include `console` for now
- Changes the `boa_cli` crate to use the new `boa_runtime` crate for the console, instead of the `console` feature of `boa_engine`
- Removes the `console` feature in `boa_engine`
- Adds a new `boa_testing` helper crate with some useful functions for testing `boa`. This part duplicates the code from `boa_engine`, but I could not make `boa_engine` work with this crate as a dependency due to circular dependencies. Maybe doing it a bit generic could work, but didn't have enough time to check it.
To be checked: wether the WASM example works as expected with the console.
2 years ago
José Julián Espina
53e4825a19
Implement var initializers in for-in loops ( #2842 )
...
This Pull Request implements [Initializers in ForIn Statement Heads](https://tc39.es/ecma262/#sec-initializers-in-forin-statement-heads ) from the Annex B. This also cleans up the "annex-b" feature to be able to disable it with `--no-default-features`, since I couldn't test the error messages when the feature is disabled.
2 years ago
raskad
93b52cd6ef
Catch 'eval' and 'arguments' in setter method parameter ( #2858 )
...
This Pull Request changes the following:
- Catch 'eval' and 'arguments' in setter method parameter
2 years ago
raskad
54695cc620
Fix async generators ( #2853 )
...
This Pull Request fixes #2711 and fixes #2671 .
It changes the following:
- Fix the logic in async generator `yield` and `yield*` expressions.
2 years ago