Aman Kumar
01090e4f82
Allow `BindingPattern` in function parameters ( #1666 )
...
<!---
Thank you for contributing to Boa! Please fill out the template below, and remove or add any
information as you feel neccesary.
--->
This Pull Request fixes/closes #1601
It changes the following:
- implements `FormalParameter` using `syntax::ast::node::declaration::Declaration` as
```
pub struct FormalParameter {
declaration: Declaration,
is_rest_param: bool,
}
```
- changes `fn test_formatting(source: &'static str)` in `ast::node` to setup tests based on the new struct definition
- changes in various tests using `FormalParameter`
- changes in files using `FormalParameter`
What it does not change:
- if the function uses `FormalParameter` but does not seem affected due to the changed definition it is not altered while keeping all the required features i.e. if it wasn't affected but ended up giving undesired (not error) behaviour it has been changed
Co-authored-by: Aman Kumar <57605821+am-a-man@users.noreply.github.com>
3 years ago
Iban Eguia
a5c85708a2
Clean-up contribution guidelines, dependencies, Test262, MSRV ( #1683 )
3 years ago
dependabot[bot]
ab85a7683e
Bump structopt from 0.3.23 to 0.3.25 ( #1674 )
3 years ago
dependabot[bot]
d9596fcad1
Bump measureme from 9.1.2 to 10.0.0 ( #1648 )
3 years ago
Iban Eguia
be51d98474
Updated test suite and dependencies ( #1635 )
...
* Updated test suite and dependencies
* Ignore Temporal feature in tests
3 years ago
dependabot[bot]
5e311beec1
Bump git2 from 0.13.22 to 0.13.23 ( #1626 )
3 years ago
Iban Eguia
7be421bda7
Updated all dependencies and Test262 test suite ( #1597 )
3 years ago
Jason Williams
c977b8e5aa
changelog v0.13 ( #1590 )
...
Co-authored-by: Iban Eguia <iban.eguia@cern.ch>
3 years ago
Iban Eguia
9a915c3ee9
Added "js" feature for getrandom for WebAssembly builds ( #1521 )
3 years ago
dependabot[bot]
7195e7db02
Bump wasm-bindgen from 0.2.77 to 0.2.78 ( #1582 )
3 years ago
dependabot[bot]
0d2f53657c
Bump serde_json from 1.0.67 to 1.0.68 ( #1577 )
3 years ago
dependabot[bot]
693ec6b1a8
Bump serde_yaml from 0.8.20 to 0.8.21 ( #1574 )
3 years ago
Iban Eguia
9af431de98
Upgraded dependencies and Test262 submodule ( #1568 )
...
* Upgraded dependencies and Test262 submodule
* Missing some updates
3 years ago
dependabot[bot]
59659a6927
Bump git2 from 0.13.21 to 0.13.22 ( #1566 )
3 years ago
dependabot[bot]
ed01575a3e
Bump wasm-bindgen from 0.2.76 to 0.2.77 ( #1565 )
3 years ago
dependabot[bot]
24febf4612
Bump num-bigint from 0.4.1 to 0.4.2 ( #1556 )
3 years ago
dependabot[bot]
c28c40c3ce
Bump structopt from 0.3.22 to 0.3.23 ( #1546 )
3 years ago
dependabot[bot]
a11a8a9d20
Bump serde from 1.0.129 to 1.0.130 ( #1537 )
3 years ago
dependabot[bot]
f6ac657f28
Bump num-bigint from 0.4.0 to 0.4.1 ( #1538 )
3 years ago
dependabot[bot]
a72dd46ec7
Bump serde_json from 1.0.66 to 1.0.67 ( #1536 )
3 years ago
jedel1043
f9a82b4a13
Restrict `ClosureFunction` to only `Copy` closures ( #1518 )
3 years ago
dependabot[bot]
93f15ee633
Bump serde_yaml from 0.8.19 to 0.8.20 ( #1519 )
3 years ago
dependabot[bot]
42610ace44
Bump serde from 1.0.128 to 1.0.129 ( #1507 )
3 years ago
Iban Eguia
aefa314e3f
Updated dependencies ( #1500 )
3 years ago
dependabot[bot]
59c56c50f3
Bump serde from 1.0.127 to 1.0.128 ( #1497 )
3 years ago
dependabot[bot]
27f534900e
Bump serde_yaml from 0.8.18 to 0.8.19 ( #1498 )
3 years ago
dependabot[bot]
d4e6f4eb02
Bump wasm-bindgen from 0.2.75 to 0.2.76 ( #1487 )
3 years ago
dependabot[bot]
f4d135d936
Bump rustyline-derive from 0.4.0 to 0.5.0 ( #1482 )
3 years ago
dependabot[bot]
42ea372209
Bump bitflags from 1.3.1 to 1.3.2 ( #1473 )
3 years ago
dependabot[bot]
3b1046572a
Bump serde_yaml from 0.8.17 to 0.8.18 ( #1480 )
3 years ago
dependabot[bot]
1b872984c2
Bump rustyline from 8.2.0 to 9.0.0 ( #1481 )
3 years ago
dependabot[bot]
8ada62232c
Bump git2 from 0.13.20 to 0.13.21 ( #1468 )
3 years ago
dependabot[bot]
0babba6cdd
Bump bitflags from 1.2.1 to 1.3.1 ( #1467 )
3 years ago
dependabot[bot]
483c5e32c4
Bump serde from 1.0.126 to 1.0.127 ( #1452 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
e0ec7af88b
Bump wasm-bindgen from 0.2.74 to 0.2.75 ( #1454 )
...
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) from 0.2.74 to 0.2.75.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.74...0.2.75 )
---
updated-dependencies:
- dependency-name: wasm-bindgen
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>
3 years ago
dependabot[bot]
05b6054860
Bump serde_json from 1.0.64 to 1.0.66 ( #1448 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.64 to 1.0.66.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.64...v1.0.66 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
fafba6b929
Bump float-cmp from 0.8.0 to 0.9.0 ( #1421 )
3 years ago
dependabot[bot]
016e048d64
Bump regress from 0.3.0 to 0.4.1 ( #1394 )
3 years ago
dependabot[bot]
88452aac75
Bump structopt from 0.3.21 to 0.3.22 ( #1386 )
3 years ago
neeldug
09efb2e578
feat(boa): adds normalize method ( #1369 )
...
* feat(boa): adds normalize method
- adds string.prototype.normalize
- uses `unicode_normalization` crate
Closes #13
* cleanup
3 years ago
dependabot[bot]
5153175d04
Bump indexmap from 1.6.2 to 1.7.0 ( #1379 )
3 years ago
neeldug
f673cbc662
fix cargo check errors ( #1338 )
...
* fix cargo check errors
- move constants to associated constants
- format & lint
* remove superfluous use
* use static constant in property
* add parallelism to test262 conformance runs
3 years ago
dependabot[bot]
1dbc7fccd2
Bump rand from 0.8.3 to 0.8.4 ( #1328 )
3 years ago
dependabot[bot]
db1be3b0dc
Bump once_cell from 1.7.2 to 1.8.0 ( #1318 )
3 years ago
Iban Eguia
33a69654d0
Added changelog for v0.12 ( #1275 )
3 years ago
Iban Eguia
e38a84155e
Added the $262 object to Test262 test runner ( #1296 )
3 years ago
dependabot[bot]
f754419c02
Bump regress from 0.2.0 to 0.3.0 ( #1297 )
3 years ago
dependabot[bot]
715cced989
Bump git2 from 0.13.19 to 0.13.20 ( #1282 )
4 years ago
Iban Eguia
62c99f50b7
Cleanup ( #1276 )
4 years ago
dependabot[bot]
6d36220f38
Bump getrandom from 0.2.2 to 0.2.3 ( #1267 )
4 years ago