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 )
2 years 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>
2 years ago
raskad
940529ac8a
Fix panic in optional expressions with private identifiers ( #2995 )
2 years 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
2 years ago
Veera
4a68fb5120
Deny Unicode Escapes in boolean and null expressions ( #2931 )
...
* Deny Unicode Escapes in boolean and null expressions
* Add tests
2 years 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>
2 years ago
raskad
4ea80f4621
Remove unused lint allows ( #2968 )
2 years ago
José Julián Espina
7ae858204b
Implement pseudo-property `import.meta` ( #2956 )
...
* Implement pseudo-property `import.meta`
* Apply review
2 years ago
José Julián Espina
9bbe0184a4
Fix remaining static module bugs ( #2955 )
...
* Fix remaining module bugs
* npx prettier
* Fix regression
2 years 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
2 years ago
raskad
5e9193aced
Implement Private Runtime Environments ( #2929 )
2 years 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>
2 years 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
2 years 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
2 years ago
raskad
efeaa40ae2
Fix tagged template creation ( #2925 )
...
* Fix tagged template creation
* Fix template identifier hash
* Apply suggestion
* Apply suggestion
2 years ago
José Julián Espina
4f25f2c749
Allow escaped `async` as binding name ( #2936 )
2 years 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
José Julián Espina
40a5ae0a2f
Fix more Annex B tests ( #2841 )
...
This Pull Request fixes some additional Annex B tests.
It changes the following:
- Fixes bugs related to parsing HTML closing comments (`-->`).
- Implements `RegExp::compile` behind the `annex-b` feature.
- Ignores the `legacy-regexp` feature flag, since it's still stage 3.
2 years ago
dependabot[bot]
c87cf7c7f4
Bump bitflags from 2.1.0 to 2.2.0 ( #2845 )
...
Bumps [bitflags](https://github.com/bitflags/bitflags ) from 2.1.0 to 2.2.0.
<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.0</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.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="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><a href="dc971042c8
"><code>dc97104</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/336 ">#336</a> from KodrAus/feat/bytemuck</li>
<li><a href="483b1bb396
"><code>483b1bb</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/340 ">#340</a> from nicholasbishop/bishop-multi-bit-doc</li>
<li><a href="7a6cea9cfd
"><code>7a6cea9</code></a> add docs to describe the behavior of multi-bit flags</li>
<li><a href="e40b8f18bd
"><code>e40b8f1</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/338 ">#338</a> from bitflags/feat/security-policy</li>
<li><a href="28c6f62cf0
"><code>28c6f62</code></a> Create SECURITY.md</li>
<li>Additional commits viewable in <a href="https://github.com/bitflags/bitflags/compare/2.1.0...2.2.0 ">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.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
José Julián Espina
460051261a
Implement HTML comments and gate behind the `annex-b` feature ( #2817 )
...
Small steps towards ES5 conformance.
This PR changes the following:
- Implements HTML comments parsing (`<!--`, `-->`).
- Gates the functionality behind a new `annex-b` feature for `boa_parser`.
- Renames `strict_mode` to `strict` to be consistent with `Parser::set_strict`.
2 years ago
dependabot[bot]
303d8d4b69
Bump bitflags from 2.0.2 to 2.1.0 ( #2788 )
...
Bumps [bitflags](https://github.com/bitflags/bitflags ) from 2.0.2 to 2.1.0.
<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.1.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Add docs for the internal Field0 and examples of formatting/parsing by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/328 ">bitflags/bitflags#328</a></li>
<li>Add support for arbitrary by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/324 ">bitflags/bitflags#324</a></li>
<li>Fix up missing docs for consts within consts by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/330 ">bitflags/bitflags#330</a></li>
<li>Ignore clippy lint in generated code by <a href="https://github.com/Jake-Shadle "><code>@Jake-Shadle</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/331 ">bitflags/bitflags#331</a></li>
<li>Prepare for 2.1.0 release by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/334 ">bitflags/bitflags#334</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Jake-Shadle "><code>@Jake-Shadle</code></a> made their first contribution in <a href="https://redirect.github.com/bitflags/bitflags/pull/331 ">bitflags/bitflags#331</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/bitflags/bitflags/compare/2.0.2...2.1.0 ">https://github.com/bitflags/bitflags/compare/2.0.2...2.1.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.1.0</h1>
<h2>What's Changed</h2>
<ul>
<li>Add docs for the internal Field0 and examples of formatting/parsing by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/328 ">bitflags/bitflags#328</a></li>
<li>Add support for arbitrary by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/324 ">bitflags/bitflags#324</a></li>
<li>Fix up missing docs for consts within consts by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/330 ">bitflags/bitflags#330</a></li>
<li>Ignore clippy lint in generated code by <a href="https://github.com/Jake-Shadle "><code>@Jake-Shadle</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/331 ">bitflags/bitflags#331</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Jake-Shadle "><code>@Jake-Shadle</code></a> made their first contribution in <a href="https://redirect.github.com/bitflags/bitflags/pull/331 ">bitflags/bitflags#331</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/bitflags/bitflags/compare/2.0.2...2.1.0 ">https://github.com/bitflags/bitflags/compare/2.0.2...2.1.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="597d407492
"><code>597d407</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/334 ">#334</a> from KodrAus/cargo/2.1.0</li>
<li><a href="c272a0fd0a
"><code>c272a0f</code></a> prepare for 2.1.0 release</li>
<li><a href="db4ce3649f
"><code>db4ce36</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/331 ">#331</a> from EmbarkStudios/main</li>
<li><a href="8ce007292c
"><code>8ce0072</code></a> Ignore clippy lint</li>
<li><a href="038f6e841c
"><code>038f6e8</code></a> Add missing Formatter lifetimes</li>
<li><a href="98b85d5c45
"><code>98b85d5</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/330 ">#330</a> from KodrAus/fix/missing-docs</li>
<li><a href="7eb912a5aa
"><code>7eb912a</code></a> fix up missing docs for consts within consts</li>
<li><a href="83359a6913
"><code>83359a6</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/324 ">#324</a> from KodrAus/feat/arbitrary</li>
<li><a href="ddc975b976
"><code>ddc975b</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/328 ">#328</a> from KodrAus/chore/docs</li>
<li><a href="a963083e5e
"><code>a963083</code></a> update wording of parsing/formatting example</li>
<li>Additional commits viewable in <a href="https://github.com/bitflags/bitflags/compare/2.0.2...2.1.0 ">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.0.2&new-version=2.1.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
raskad
e286d9fbb7
Add AST node for parenthesized expressions ( #2738 )
...
Currently we have no explicit representation for parenthesized expressions which makes some behaviours impossible to detect. A bonus is that we can now turn AST that contains parenthesized expressions back to code.
This Pull Request changes the following:
- Add an AST node for parenthesized expressions.
- Adjust some conversions and checks to "ignore"/"expand" parenthesized expressions.
- Fix some tests that had parenthesized expressions.
2 years ago
Iban Eguia Moraza
6ea4848bb5
Fix documentation links ( #2741 )
...
This PR changes the following:
- Adds a new (very simple) security policy, to comply with GitHub standards
- Changes the internal links of the documentation to point to the new boajs.dev domain
- The developer documentation link now lies in the CONTRIBUTING.md file
2 years ago
raskad
431a358b2f
Implement `with` and object environments ( #2692 )
...
This Pull Request changes the following:
- Implement `with` statement parsing, ast node, compilation and excution.
- Implement object environments that are used in the `with` statement excution.
The implementation of object environments can probably be optimized further by using more compile-time information about when object environments can exist. Maybe there could also be a separate environment stack for object environments to reduce the filtering and iteration that is needed with the current implementation.
This does not fix all tests in the `test/language/statements/with` suite yet. But for most failing tests that I have looked at we are missing other features / have bugs elsewhere.
As a note for the review:
The functions in the `impl Context` block in `boa_engine/src/environments/runtime.rs` are mostly copied / moved from the existing functions. The only change there should be the addition of the object environment logic. They had to be moved to `Context` because of borrow semantics.
2 years ago
dependabot[bot]
7b2564e126
Bump bitflags from 2.0.1 to 2.0.2 ( #2701 )
...
Bumps [bitflags](https://github.com/bitflags/bitflags ) from 2.0.1 to 2.0.2.
<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.0.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix up missing isize and usize Bits impls by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/321 ">bitflags/bitflags#321</a></li>
<li>Prepare for 2.0.2 release by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/322 ">bitflags/bitflags#322</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/bitflags/bitflags/compare/2.0.1...2.0.2 ">https://github.com/bitflags/bitflags/compare/2.0.1...2.0.2 </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.0.2</h1>
<h2>What's Changed</h2>
<ul>
<li>Fix up missing isize and usize Bits impls by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/321 ">bitflags/bitflags#321</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/bitflags/bitflags/compare/2.0.1...2.0.2 ">https://github.com/bitflags/bitflags/compare/2.0.1...2.0.2 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="11640f19a7
"><code>11640f1</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/322 ">#322</a> from KodrAus/cargo/2.0.2</li>
<li><a href="bc750f123f
"><code>bc750f1</code></a> prepare for 2.0.2 release</li>
<li><a href="ce90a1441f
"><code>ce90a14</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/321 ">#321</a> from KodrAus/fix/size-int</li>
<li><a href="94fe8b9f5d
"><code>94fe8b9</code></a> fix up missing isize and usize Bits impls</li>
<li>See full diff in <a href="https://github.com/bitflags/bitflags/compare/2.0.1...2.0.2 ">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.0.1&new-version=2.0.2 )](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
dependabot[bot]
65bb0d890e
Bump bitflags from 2.0.0 to 2.0.1 ( #2677 )
...
Bumps [bitflags](https://github.com/bitflags/bitflags ) from 2.0.0 to 2.0.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.0.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix up some docs issues by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/309 ">bitflags/bitflags#309</a></li>
<li>Make empty_flag() const. by <a href="https://github.com/tormeh "><code>@tormeh</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/313 ">bitflags/bitflags#313</a></li>
<li>Fix formatting of multi-bit flags with partial overlap by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/316 ">bitflags/bitflags#316</a></li>
<li>Prepare for 2.0.1 release by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/317 ">bitflags/bitflags#317</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/tormeh "><code>@tormeh</code></a> made their first contribution in <a href="https://redirect.github.com/bitflags/bitflags/pull/313 ">bitflags/bitflags#313</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/bitflags/bitflags/compare/2.0.0...2.0.1 ">https://github.com/bitflags/bitflags/compare/2.0.0...2.0.1 </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.0.1</h1>
<h2>What's Changed</h2>
<ul>
<li>Fix up some docs issues by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/309 ">bitflags/bitflags#309</a></li>
<li>Make empty_flag() const. by <a href="https://github.com/tormeh "><code>@tormeh</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/313 ">bitflags/bitflags#313</a></li>
<li>Fix formatting of multi-bit flags with partial overlap by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/316 ">bitflags/bitflags#316</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/tormeh "><code>@tormeh</code></a> made their first contribution in <a href="https://redirect.github.com/bitflags/bitflags/pull/313 ">bitflags/bitflags#313</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/bitflags/bitflags/compare/2.0.0...2.0.1 ">https://github.com/bitflags/bitflags/compare/2.0.0...2.0.1 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="8b43d2bb7e
"><code>8b43d2b</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/317 ">#317</a> from KodrAus/cargo/2.0.1</li>
<li><a href="836eabbab2
"><code>836eabb</code></a> update changelog</li>
<li><a href="11de329ef1
"><code>11de329</code></a> prepare for 2.0.1 release</li>
<li><a href="af44dcc322
"><code>af44dcc</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/316 ">#316</a> from KodrAus/fix/multi-bit-flag-fmt</li>
<li><a href="5ba27cfd4b
"><code>5ba27cf</code></a> use the iterator state as the source of extra bits</li>
<li><a href="c4c13dc177
"><code>c4c13dc</code></a> add repro for multi-bit flags</li>
<li><a href="ad0271116e
"><code>ad02711</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/313 ">#313</a> from tormeh/tormod/const-empty-flag</li>
<li><a href="242f5e7789
"><code>242f5e7</code></a> Make empty_flag() const.</li>
<li><a href="2c12c2e635
"><code>2c12c2e</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/309 ">#309</a> from bitflags/KodrAus-patch-3</li>
<li><a href="d1d153b4cb
"><code>d1d153b</code></a> fix up some docs issues</li>
<li>See full diff in <a href="https://github.com/bitflags/bitflags/compare/2.0.0...2.0.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.0.0&new-version=2.0.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
0a843d2096
Bump bitflags to 2.0.0 ( #2666 )
...
Updated `bitflags`, overrides #2665 .
2 years ago
dependabot[bot]
ced0024fc5
Bump regress from 0.4.1 to 0.5.0 ( #2651 )
...
Bumps [regress](https://github.com/ridiculousfish/regress ) from 0.4.1 to 0.5.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.5.0</h2>
<p>Version 0.5.0 of regress, REGex in Rust with EmcaScript Syntax.</p>
<ul>
<li>Unicode property escape matching like <code>\p{Letter}</code> is implemented</li>
<li>Regex parsing may now use any u32 iterator, not simply strings</li>
<li>The Unicode flag "u" is now recognized. Unicode is no longer the default; however non-Unicode regular expression support still has some known differences from JavaScript.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="ee710e577f
"><code>ee710e5</code></a> Remove language about unicode property escapes being unimplemented</li>
<li><a href="8349a8569e
"><code>8349a85</code></a> Bump version to 0.5 in preparation for release</li>
<li><a href="60d4f7b595
"><code>60d4f7b</code></a> Update the unicode tables for Unicode 15</li>
<li><a href="603833d432
"><code>603833d</code></a> Add test for escaping unrecognised chars</li>
<li><a href="f06b2b3ce1
"><code>f06b2b3</code></a> Allow all punctuations to be escaped</li>
<li><a href="7443e66ccc
"><code>7443e66</code></a> Update hashbrown requirement from 0.12.0 to 0.13.2</li>
<li><a href="ac59d90fd0
"><code>ac59d90</code></a> rustfmt classicalbacktrack.rs</li>
<li><a href="cceb877af2
"><code>cceb877</code></a> [non-unicode] less strict QuantifierPrefix parsing</li>
<li><a href="0ca4b596ca
"><code>0ca4b59</code></a> to2021, simplfy some code.</li>
<li><a href="d076e06315
"><code>d076e06</code></a> parse unbalanced right brackets as a literal bracket, if not using unicode flag</li>
<li>Additional commits viewable in <a href="https://github.com/ridiculousfish/regress/compare/v0.4.1...v0.5.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.4.1&new-version=0.5.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>
Co-authored-by: raskad <32105367+raskad@users.noreply.github.com>
2 years ago
Kevin
9da07dce72
Rust 1.68 clippy fixes ( #2646 )
...
<!---
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 addresses the broken `cargo clippy` lints that is currently causing CI to fail.
2 years ago
José Julián Espina
d94e40aa01
Migrate tests to new test API ( #2619 )
...
This PR migrates our entire test suite to our new testing API.
It changes the following:
- Migrates tests to new test API.
- Cleans up the API to be a bit more descriptive and maintainable.
- Prettifies our test failure display to show the failed scripts.
- Splits our massive `tests.rs` file into smaller sub-suites.
Example output of a failing test:
![image](https://user-images.githubusercontent.com/38230983/221502567-9e219371-b4ab-49d0-b42b-94a9b1a9c002.png )
2 years ago
raskad
310c67195a
Remove Syntax Errors from Bytecompiler ( #2598 )
...
This Pull Request closes #1907 .
It changes the following:
- Implement several early errors relating to labels, `break` and `continue` in the parser.
- Implement an early error for invalid cover grammar of object literals in the parser.
- Remove all remaining syntax errors from the bytecompiler.
2 years ago