mirror of https://github.com/boa-dev/boa.git
Tree:
7c9eef8edc
add-vhs-ci
benchmarks
control-flow-graph
expect-lints
feature/node_span
feature/snapshot
features
gh-readonly-queue/main/pr-2877-b0ddf5eed00a53281d67fc7d846233fc0d99ce9c
gh-readonly-queue/main/pr-3144-8e48cec73fae708420b9af88813d4870243c491a
main
nan-boxing
optimization/static-shapes
real_conformance
reduce-environment-allocations
refactor/interner
refactor/register-vm
release-0.20
releases/0.17
releases/0.19
semver_checks
tco
utility-crate
wasm-debugger
nightly
v0.10
v0.11
v0.12
v0.13
v0.14
v0.15
v0.16
v0.17
v0.17.1
v0.17.2
v0.17.3
v0.18
v0.19
v0.19.1
v0.2.0
v0.2.1
v0.3.0
v0.4.0
v0.5.0
v0.5.1
v0.6.0
v0.7.0
v0.8.0
v0.9.0
${ noResults }
1996 Commits (7c9eef8edcf7908f1792cb6c223bb419e43ad239)
Author | SHA1 | Message | Date |
---|---|---|---|
raskad | de231df63a |
Allow LineTerminator before Semicolon in `continue` (#2371)
This Pull Request changes the following: - Check if there is a Semicolon after a LineTerminator is found in a `continue` statement. |
2 years ago |
Kevin | af5970e8e7 |
Changes neccesary -> necessary (#2370)
<!---
Thank you for contributing to Boa! Please fill out the template below, and remove or add any
information as you feel neccesary.
--->
Just a small fix to a typo in the comment on the PR template 😄
|
2 years ago |
Iban Eguia Moraza | f4cef141b0 |
Removed some duplicate code, added `ToIndentedString` (#2367)
In most cases, the `ToInternedString` was just calling `self.to_indented_string(interner, 0)`. This avoids all this duplicate code by adding a new trait, `ToIndentedString`. Any type implementing that automatically implements `ToInternedString`. I have also added a bunch of `#[inline]` in one-liners, and some one-line documentations for some functions. I have noticed that we also use `contains()` and `contains_arguments()` a lot. Would it make sense to create traits for this? |
2 years ago |
Kevin | 9a05b1ef81 |
Split vm/opcode into modules (#2343)
<!--- Thank you for contributing to Boa! Please fill out the template below, and remove or add any information as you feel necessary. ---> Hi! This isn't really related to a pull request that I know of. I was trying to better wrap my head around Boa's VM and thought I'd break it apart so that the file wasn't 2500+ lines. I figured I'd submit it as a draft and get feedback/see if anyone was interested in it. The way the modules were broken apart was primarily based off the opcode name (`GetFunction` & `GetFunctionAsync` -> `./get/function.rs`). It changes the following: - Adds an `Operation` trait to opcode/mod.rs - Implements `Operation` for each Opcode variant, moving the executable instruction code from `vm/mod.rs` to the respective module Co-authored-by: raskad <32105367+raskad@users.noreply.github.com> |
2 years ago |
raskad | 80017fdf15 |
Fix error in `Proxy` set implementation (#2369)
This Pull Request changes the following: - Fix error in `Proxy` set implementation After this all other failing `Proxy` tests fail because of us missing the `with` implementation. Co-authored-by: RageKnify <RageKnify@gmail.com> |
2 years ago |
José Julián Espina | d4c220a70b |
Implement `LabelledStatement` (#2349)
This Pull Request changes the following: - Implements the `LabelledStatement` Parse node. - Removes `label` from all label-able items (switch, blocks and loop statements). - Adjusts parsing to the new AST. #2295 isn't fixed by this, but with this change it should be easier to fix. |
2 years ago |
Choongwoo Han | 904e422d36 |
Fix Regex literal parsing in MemberExpression (#2328)
This Pull Request fixes/closes #2327 It changes the following: - set_goal(RegExp) for PrimaryExpression parsing |
2 years ago |
Iban Eguia Moraza | a47d9ec732 |
Modified the `loadfile` example to show how Boa can read bytes (#2363)
Boa's `Context::eval()` and `Context::parse()` functions allow reading a byte slice directly, apart from a string. We were not showing this properly in our examples, so this modifies the `loadfile.rs` example to use a byte vector instead of a string, which allows us to use UTF-16 files, if I'm not mistaken. |
2 years ago |
Iban Eguia Moraza | 5e75cf68ff |
Removed the "VM Implementation" headline for Test262 (#2364)
We were always getting a "VM Implementation" headline in Test262 results for PRs. This was a leftover from the time when we had 2 distinct implementations for the execution. This is no longer the case, so we can remove it to reduce clutter. |
2 years ago |
Iban Eguia Moraza | f708a764c2 |
Fixed some documentation and clippy warnings in tests (#2362)
This Pull Request fixes a small error in the documentation of `Context::register_global_function()` method, and a few clippy errors we were getting in the tests. |
2 years ago |
dependabot[bot] | 2c559392f1 |
Bump clap from 4.0.17 to 4.0.18 (#2360)
Bumps [clap](https://github.com/clap-rs/clap) from 4.0.17 to 4.0.18. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/releases">clap's releases</a>.</em></p> <blockquote> <h2>v4.0.18</h2> <h2>[4.0.18] - 2022-10-20</h2> <h3>Fixes</h3> <ul> <li><em>(derive)</em> Allow <code>#[command(skip)]</code> to also work with enum variants with a value</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's changelog</a>.</em></p> <blockquote> <h2>[4.0.18] - 2022-10-20</h2> <h3>Fixes</h3> <ul> <li><em>(derive)</em> Allow <code>#[command(skip)]</code> to also work with enum variants with a value</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
dependabot[bot] | f6e189e628 |
Bump getrandom from 0.2.7 to 0.2.8 (#2359)
Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.2.7 to 0.2.8. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md">getrandom's changelog</a>.</em></p> <blockquote> <h2>[0.2.8] - 2022-10-20</h2> <h3>Changed</h3> <ul> <li>The <a href="https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API">Web Cryptography API</a> will now be preferred on <code>wasm32-unknown-unknown</code> when using the <code>"js"</code> feature, even on Node.js <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/284">#284</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/295">#295</a></li> </ul> <h3>Added</h3> <ul> <li>Added benchmarks to track buffer initialization cost <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/272">#272</a></li> </ul> <h3>Fixed</h3> <ul> <li>Use <code>$crate</code> in <code>register_custom_getrandom!</code> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/270">#270</a></li> </ul> <h3>Documentation</h3> <ul> <li>Add information about enabling <code>"js"</code> feature <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/280">#280</a></li> <li>Fix link to <code>wasm-bindgen</code> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/278">#278</a></li> <li>Document the varied implementations for underlying randomness sources <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/276">#276</a></li> </ul> <p><a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/284">#284</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/284">rust-random/getrandom#284</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/295">#295</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/295">rust-random/getrandom#295</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/272">#272</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/272">rust-random/getrandom#272</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/270">#270</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/270">rust-random/getrandom#270</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/280">#280</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/280">rust-random/getrandom#280</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/278">#278</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/278">rust-random/getrandom#278</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/276">#276</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/276">rust-random/getrandom#276</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
dependabot[bot] | 96d4ed8d70 |
Bump syn from 1.0.102 to 1.0.103 (#2358)
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.102 to 1.0.103. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dtolnay/syn/releases">syn's releases</a>.</em></p> <blockquote> <h2>1.0.103</h2> <ul> <li>Implement <code>PartialOrd</code> for <code>Cursor</code> (<a href="https://github-redirect.dependabot.com/dtolnay/syn/issues/1236">#1236</a>, <a href="https://github-redirect.dependabot.com/dtolnay/syn/issues/1237">#1237</a>, thanks <a href="https://github.com/CAD97"><code>@CAD97</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
dependabot[bot] | e07f79254c |
Bump anyhow from 1.0.65 to 1.0.66 (#2361)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.65 to 1.0.66. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dtolnay/anyhow/releases">anyhow's releases</a>.</em></p> <blockquote> <h2>1.0.66</h2> <ul> <li>Reduce unhelpful backtrace frames in backtraces captured during a <code>context</code> call (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/279">#279</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
dependabot[bot] | d51fee7237 |
Bump serde_json from 1.0.86 to 1.0.87 (#2355)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.86 to 1.0.87. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/serde-rs/json/releases">serde_json's releases</a>.</em></p> <blockquote> <h2>v1.0.87</h2> <ul> <li>Add <code>write_i128</code> and <code>write_u128</code> methods to <code>serde_json::Formatter</code> to control the formatting of 128-bit integers (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/940">#940</a>, thanks <a href="https://github.com/Lucretiel"><code>@Lucretiel</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
José Julián Espina | dc9c1cb275 |
Create new lazy Error type (#2283)
This is an experiment that tries to migrate the codebase from eager `Error` objects to lazy ones. In short words, this redefines `JsResult = Result<JsValue, JsError>`, where `JsError` is a brand new type that stores only the essential part of an error type, and only transforms those errors to `JsObject`s on demand (when having to pass them as arguments to functions or store them inside async/generators). This change is pretty big, because it unblocks a LOT of code from having to take a `&mut Context` on each call. It also paves the road for possibly making `JsError` a proper variant of `JsValue`, which can be a pretty big optimization for try/catch. A downside of this is that it exposes some brand new error types to our public API. However, we can now implement `Error` on `JsError`, making our `JsResult` type a bit more inline with Rust's best practices. ~Will mark this as draft, since it's missing some documentation and a lot of examples, but~ it's pretty much feature complete. As always, any comments about the design are very much appreciated! Note: Since there are a lot of changes which are essentially just rewriting `context.throw` to `JsNativeError::%type%`, I'll leave an "index" of the most important changes here: - [boa_engine/src/error.rs](https://github.com/boa-dev/boa/pull/2283/files#diff-f15f2715655440626eefda5c46193d29856f4949ad37380c129a8debc6b82f26) - [boa_engine/src/builtins/error/mod.rs](https://github.com/boa-dev/boa/pull/2283/files#diff-3eb1e4b4b5c7210eb98192a5277f5a239148423c6b970c4ae05d1b267f8f1084) - [boa_tester/src/exec/mod.rs](https://github.com/boa-dev/boa/pull/2283/files#diff-fc3d7ad7b5e64574258c9febbe56171f3309b74e0c8da35238a76002f3ee34d9) |
2 years ago |
dependabot[bot] | 4601b928e0 |
Bump clap from 4.0.16 to 4.0.17 (#2354)
Bumps [clap](https://github.com/clap-rs/clap) from 4.0.16 to 4.0.17. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/releases">clap's releases</a>.</em></p> <blockquote> <h2>v4.0.17</h2> <h2>[4.0.17] - 2022-10-18</h2> <h3>Fixes</h3> <ul> <li>Allow using <code>Arg::last(true)</code> with <code>Arg::value_hint(ValueHint::CommandWithArguments)</code></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's changelog</a>.</em></p> <blockquote> <h2>[4.0.17] - 2022-10-18</h2> <h3>Fixes</h3> <ul> <li>Allow using <code>Arg::last(true)</code> with <code>Arg::value_hint(ValueHint::CommandWithArguments)</code></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
dependabot[bot] | deb9ec208c |
Bump crazy-max/ghaction-github-pages from 3.0.0 to 3.1.0 (#2353)
Bumps [crazy-max/ghaction-github-pages](https://github.com/crazy-max/ghaction-github-pages) from 3.0.0 to 3.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/crazy-max/ghaction-github-pages/releases">crazy-max/ghaction-github-pages's releases</a>.</em></p> <blockquote> <h2>v3.1.0</h2> <ul> <li>Bump <code>@actions/core</code> from 1.6.0 to 1.10.0 (<a href="https://github-redirect.dependabot.com/crazy-max/ghaction-github-pages/issues/177">#177</a> <a href="https://github-redirect.dependabot.com/crazy-max/ghaction-github-pages/issues/178">#178</a>)</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/crazy-max/ghaction-github-pages/compare/v3.0.0...v3.1.0">https://github.com/crazy-max/ghaction-github-pages/compare/v3.0.0...v3.1.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
dependabot[bot] | 427bd17941 |
Bump test262 from `eb67a76` to `ee7c379` (#2348)
Bumps [test262](https://github.com/tc39/test262) from `eb67a76` to `ee7c379`. <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
dependabot[bot] | b0cf873a46 |
Bump monaco-editor from 0.34.0 to 0.34.1 (#2351)
Bumps [monaco-editor](https://github.com/microsoft/monaco-editor) from 0.34.0 to 0.34.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md">monaco-editor's changelog</a>.</em></p> <blockquote> <h2>[0.34.1]</h2> <ul> <li>Adds API to register global actions, commands, or keybinding rules</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/microsoft/monaco-editor/commits">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=monaco-editor&package-manager=npm_and_yarn&previous-version=0.34.0&new-version=0.34.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 |
dependabot[bot] | c51382ae75 |
Bump clap from 4.0.12 to 4.0.16 (#2352)
Bumps [clap](https://github.com/clap-rs/clap) from 4.0.12 to 4.0.16. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/releases">clap's releases</a>.</em></p> <blockquote> <h2>v4.0.16</h2> <h2>[4.0.16] - 2022-10-18</h2> <h3>Fixes</h3> <ul> <li><code>Arg::exclusive(true)</code> should not be exclusive with the argument's own <code>ArgGroup</code></li> </ul> <h2>v4.0.15</h2> <h2>[4.0.15] - 2022-10-13</h2> <h3>Fixes</h3> <ul> <li><em>(error)</em> Don't suggest <code>--</code> when it doesn't help</li> <li><em>(error)</em> Be more consistent in quoting, punctuation, and indentation in errors</li> </ul> <h2>v4.0.14</h2> <h2>[4.0.14] - 2022-10-12</h2> <h3>Fixes</h3> <ul> <li>Only put <code>ArgGroup</code> in <code>ArgMatches</code> when explicitly specified, fixing derives handling of option-flattened fields (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/4375">#4375</a>)</li> </ul> <h2>v4.0.13</h2> <h2>[4.0.13] - 2022-10-11</h2> <h3>Features</h3> <ul> <li><em>(derive)</em> Allow <code>()</code> for fields to mean "don't read" (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/4371">#4371</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's changelog</a>.</em></p> <blockquote> <h2>[4.0.16] - 2022-10-18</h2> <h3>Fixes</h3> <ul> <li><code>Arg::exclusive(true)</code> should not be exclusive with the argument's own <code>ArgGroup</code></li> </ul> <h2>[4.0.15] - 2022-10-13</h2> <h3>Fixes</h3> <ul> <li><em>(error)</em> Don't suggest <code>--</code> when it doesn't help</li> <li><em>(error)</em> Be more consistent in quoting, punctuation, and indentation in errors</li> </ul> <h2>[4.0.14] - 2022-10-12</h2> <h3>Fixes</h3> <ul> <li>Only put <code>ArgGroup</code> in <code>ArgMatches</code> when explicitly specified, fixing derives handling of option-flattened fields (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/4375">#4375</a>)</li> </ul> <h2>[4.0.13] - 2022-10-11</h2> <h3>Features</h3> <ul> <li><em>(derive)</em> Allow <code>()</code> for fields to mean "don't read" (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/4371">#4371</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
dependabot[bot] | e592a8234e |
Bump boa-dev/criterion-compare-action from 3.2.2 to 3.2.3 (#2347)
Bumps [boa-dev/criterion-compare-action](https://github.com/boa-dev/criterion-compare-action) from 3.2.2 to 3.2.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/boa-dev/criterion-compare-action/releases">boa-dev/criterion-compare-action's releases</a>.</em></p> <blockquote> <h2>v3.2.3</h2> <p>This release updates the used dependencies.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
José Julián Espina | 959b9f1b6d |
Split `Node` into `Statement`, `Expression` and `Declaration` (#2319)
This Pull Request fixes #1371. And yeah, the number of file changes is real... It changes the following: - Split the ast `Node` into `Statement` and `Expression`. - Rewrite the parser and bytecompiler to conform to this change. - Refactor some ast nodes into reusable structures. - Rewrite `contains_arguments` and `contains` to ease the transition into a future ast visitor. List of things that were apparently fixed by this refactor?: - Implement read-assign operation for private accessors (e.g. `this.#field ||= 5`). - `var await` declaration now allowed outside `async` functions and inside functions nested in async functions. - Reject redeclarations of variables declared in the init list of a for loop. Still missing some documentation adjustments, will try to do it ASAP. |
2 years ago |
Kevin | 13dcdd4a97 |
Implement `JsRegExp` (#2326)
<!--- 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 is related to #2098. It changes the following: - Implements `JsRegExp` - Adds a brief `JsRegExp` example under `boa_examples` |
2 years ago |
Iban Eguia | 9998a6787c |
Upgrade clap to 4.0, add value hints for zsh and fish (#2336)
This Pull Request fixes/closes #2330. It changes the following: - Upgrades from clap 3 to clap 4 (note that criterion still uses clap 3, tracked here: https://github.com/bheisler/criterion.rs/issues/596) - Updates the derive syntax with the new 4.0 syntax - Adds hints for fish & zsh Co-authored-by: José Julián Espina <jedel0124@gmail.com> |
2 years ago |
José Julián Espina | c645f8530e |
Bump serde_json from 1.0.85 to 1.0.86 (#2341)
Replaces #2339 since dependabot has a small bug. |
2 years ago |
José Julián Espina | df70302194 |
First prototype for new `JsString` using UTF-16 (#1659)
I think it's time to address the elephant in the room. This Pull Request will (hopefully!) solve part of #736. This is a complete rewrite of `JsString`, but instead of storing `u8` bytes it stores `u16` words. The `encode!` macro (renamed to `utf16!` for simplicity) from the `const-utf16` crate allows us to create UTF-16 encoded arrays at compilation time. `JsString` implements `Deref<Target=[u16]>` to unlock the slice methods and possibly make some manipulations easier. However, we would need to create our own library of utilities for `JsString`. |
2 years ago |
dependabot[bot] | 07389cbad1 |
Bump test262 from `58b7a23` to `eb67a76` (#2334)
Bumps [test262](https://github.com/tc39/test262) from `58b7a23` to `eb67a76`. <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
Calli | c8f6f85d61 |
Separate JsObjectType implementors to their own module (#2324)
This Pull Request closes #2080. It moves all implementors of the `JsObjectType` trait into their own `js_object` module. This should simplify documentation and by doing a `pub(crate)` export in `object` little to no imports within the crate need to be changed, simplifying the usage of this module within the boa_engine crate. Documentation within the `object` module has been updated to reflect this change and in a way that it is shown on the home page of the documentation. |
2 years ago |
Iban Eguia | 18ab56eaf3 |
Fixing the output for the test diffs in PRs (#2320)
This PR fixes PR comments where negative numbers from 100 to 999 would be shown as `-,999` instead of `-999` |
2 years ago |
dependabot[bot] | d0808de092 |
Bump test262 from `e849d40` to `58b7a23` (#2323)
Bumps [test262](https://github.com/tc39/test262) from `e849d40` to `58b7a23`. <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
dependabot[bot] | b44f6f0ad2 |
Bump bootstrap from 5.2.1 to 5.2.2 (#2322)
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 5.2.1 to 5.2.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/twbs/bootstrap/releases">bootstrap's releases</a>.</em></p> <blockquote> <h2>v5.2.2</h2> <h2>Highlights</h2> <ul> <li><strong>Accordion</strong> <ul> <li>Use Sass variable for the accordion color instead of an invalid CSS variable</li> </ul> </li> <li><strong>Buttons</strong> <ul> <li>Undo changes to <code>.btn:hover</code> from v5.2.1. We now explicitly target <code>.btn-check</code> styles instead.</li> </ul> </li> <li><strong>Dropdowns</strong> <ul> <li>Temporarily restore ability for dropdowns to work without an explicit <code>data</code> attribute (will be removed again in v6)</li> </ul> </li> <li><strong>Modals</strong> <ul> <li>Improve modal event listeners</li> <li>Use <code><h1></code> for all <code>.modal-title</code> instances in our docs</li> </ul> </li> <li><strong>Tables</strong> <ul> <li>Don't redefine <code>$border-color</code> in <code>table-variant()</code> mixin</li> </ul> </li> <li><strong>Tabs</strong> <ul> <li>Tabs no longer autofocus and cause pages to jump on <code>tab.show()</code></li> <li>Fix <code>.active</code> class toggling of tabs within dropdowns</li> </ul> </li> <li><strong>Toasts</strong> <ul> <li>Properly set toast <code>z-index</code> on <code>.toast-container</code> as opposed to individual <code>.toast</code>s that don't receive any other positioning</li> </ul> </li> <li><strong>Tooltips</strong> <ul> <li>Fix tooltip selectors with <code>title</code> attribute on dynamically created elements</li> </ul> </li> </ul> <h2>🎨 CSS</h2> <ul> <li><a href="https://github-redirect.dependabot.com/twbs/bootstrap/issues/37118">#37118</a>: Set toast z-index variable in the correct spot</li> <li><a href="https://github-redirect.dependabot.com/twbs/bootstrap/issues/37165">#37165</a>: Explicitly target <code>.btn-check</code> and undo <code>:hover</code></li> <li><a href="https://github-redirect.dependabot.com/twbs/bootstrap/issues/37182">#37182</a>: Use Sass variable for accordion color</li> <li><a href="https://github-redirect.dependabot.com/twbs/bootstrap/issues/37239">#37239</a>: Don't redefine <code>$border-color</code> in <code>table-variant</code> mixin</li> </ul> <h2>☕️ JavaScript</h2> <ul> <li><a href="https://github-redirect.dependabot.com/twbs/bootstrap/issues/36914">#36914</a>: Fix tooltip selector usage</li> <li><a href="https://github-redirect.dependabot.com/twbs/bootstrap/issues/37128">#37128</a>: Fix modal event listeners</li> <li><a href="https://github-redirect.dependabot.com/twbs/bootstrap/issues/37146">#37146</a>: Drop tabs auto-focus</li> <li><a href="https://github-redirect.dependabot.com/twbs/bootstrap/issues/37151">#37151</a>: Fix active class toggling of tabs within dropdown</li> <li><a href="https://github-redirect.dependabot.com/twbs/bootstrap/issues/37189">#37189</a>: Enrich Tab Test for keyboard handler</li> <li><a href="https://github-redirect.dependabot.com/twbs/bootstrap/issues/37190">#37190</a>: Dropdown: fix case with invalid markup</li> <li><a href="https://github-redirect.dependabot.com/twbs/bootstrap/issues/37200">#37200</a>: Ensure Tab keyboard functionality after <a href="https://github-redirect.dependabot.com/twbs/bootstrap/issues/37146">#37146</a></li> </ul> <h2>📖 Docs</h2> <ul> <li><a href="https://github-redirect.dependabot.com/twbs/bootstrap/issues/36899">#36899</a>: Slightly improve image compression</li> <li><a href="https://github-redirect.dependabot.com/twbs/bootstrap/issues/37142">#37142</a>: Add informative note for Tooltip/Popover selector option</li> <li><a href="https://github-redirect.dependabot.com/twbs/bootstrap/issues/37145">#37145</a>: Docs: minor fix for Navbar > Offcanvas examples</li> <li><a href="https://github-redirect.dependabot.com/twbs/bootstrap/issues/37153">#37153</a>: Fix typo in docs - Configure Vite section</li> <li><a href="https://github-redirect.dependabot.com/twbs/bootstrap/issues/37199">#37199</a>: Replace Webpack and Vite PNGs by SVGs</li> <li><a href="https://github-redirect.dependabot.com/twbs/bootstrap/issues/37210">#37210</a>: Use <code><h1></code> for all <code>modal-title</code> examples/uses</li> <li><a href="https://github-redirect.dependabot.com/twbs/bootstrap/issues/37214">#37214</a>: Docs: Change <code>view in GitHub</code> links inside <code>main</code></li> </ul> <h2>🌎 Accessibility</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
Kevin | eaf94284bd |
Implement `JsDataView` (#2308)
<!--- 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 is related to #2098 . It changes the following: - Implements a wrapper for `DataView` - Adds an example of `JsDataView` to the `JsArrayBuffer` example file under boa_examples Co-authored-by: jedel1043 <jedel0124@gmail.com> |
2 years ago |
raskad | 7f1d1a992a |
Parse static async private methods in classes (#2315)
This Pull Request changes the following: - Adjust `AsyncMethod` parsing to parse private identifiers. |
2 years ago |
Jason Williams | 9350977040 |
update tasks.json (#2313)
bring the tasks.json up to date - The VM is the default path now so no need for it - The tokens option is no longer available |
2 years ago |
dependabot[bot] | 3e2691025f |
Bump test262 from `9215420` to `e849d40` (#2311)
Bumps [test262](https://github.com/tc39/test262) from `9215420` to `e849d40`. <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
raskad | 5b5498d1ae |
Fix double conversion to primitive in `ToNumeric` (#2310)
This Pull Request changes the following: - Fix double conversion to primitive in `ToNumeric`. - Optimize object check in `ToPrimitive`. |
2 years ago |
raskad | 9f0ac30082 |
Fix some Array spec deviations (#2306)
This Pull Request changes the following: - Fix array constructor realm comparison. - Fix error that ignored `ToObject`. - Ignore `array-grouping` feature tests. |
2 years ago |
raskad | 0213f9f1e5 |
Fix function property order (#2305)
This Pull Request changes the following: - Fix function property order |
2 years ago |
José Julián Espina | e9e85f5a49 |
Switch to workspace inherited properties (#2297)
This Pull Request switches our codebase to the brand new [workspace inherited keys](https://doc.rust-lang.org/cargo/reference/workspaces.html#the-package-table), which allows us to define common package options that are usable within each crate's Cargo.toml file. It also allows to share dependency versions between crates, but I defined only shared versions for our workspace members. It would be a good follow-up to lift all the shared dependencies between crates into the global Cargo.toml. |
2 years ago |
raskad | c58a8997ca |
Implement `new.target` expression (#2299)
This Pull Request changes the following: - Implement `new.target` expression |
2 years ago |
creampnx_x | 573ac14458 |
Add unicode terminator to line comment (#2301)
This PR sloves the unicode terminator to single line comment + [{u+2028}](https://unicode-table.com/en/2028/) + [{u+2029}](https://unicode-table.com/en/2029/) + [related test]( |
2 years ago |
raskad | 319a907d22 |
Fix links in readme (#2304)
Fix the links to `crates.io` and `docs.rs` in the readme. |
2 years ago |
jasonwilliams | 888cc28e1a |
updating cli keywords
|
2 years ago |
Iban Eguia | 2d062868c6 |
Added the changelog for 0.16 (#2303)
This PR adds the changelog for Boa 0.16 |
2 years ago |
Iban Eguia | a3062d1f45 |
Fixing CI (#2302)
This PR fixes the CI after the version bump. |
2 years ago |
Iban Eguia | f5be60975b |
Updated dependencies for 0.16 release (#2300)
This Pull Request updates the dependencies for the 0.16 release. Co-authored-by: José Julián Espina <jedel0124@gmail.com> |
2 years ago |
dependabot[bot] | c4c608c17a |
Bump serde from 1.0.144 to 1.0.145 (#2298)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.144 to 1.0.145. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/serde-rs/serde/releases">serde's releases</a>.</em></p> <blockquote> <h2>v1.0.145</h2> <ul> <li>Allow RefCell<T>, Mutex<T>, and RwLock<T> to be serialized regardless of whether T is <code>Sized</code> (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2282">#2282</a>, thanks <a href="https://github.com/ChayimFriedman2"><code>@ChayimFriedman2</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
Iban Eguia | 77e739c5da |
Upgrading to Unicode 15 (#2291)
This Pull Request overrides #2288.
It changes the following:
- Updates dependencies to use Unicode 15
- Updates the boa_unicode crate to use Unicode 15
It's still waiting on the unicode-general-category 0.6 release, which was tagged 3 days ago:
|
2 years ago |
dependabot[bot] | 198dfcc394 |
Bump once_cell from 1.14.0 to 1.15.0 (#2296)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.14.0 to 1.15.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/matklad/once_cell/blob/master/CHANGELOG.md">once_cell's changelog</a>.</em></p> <blockquote> <h2>1.15.0</h2> <ul> <li>Increase minimal supported Rust version to 1.56.0.</li> <li>Implement <code>UnwindSafe</code> even if the <code>std</code> feature is disabled.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |