dependabot[bot]
f0adaa9a84
Bump webpack-dev-server from 4.1.0 to 4.1.1 ( #1563 )
3 years ago
jedel1043
87e7ca345a
Replace more instances with `get_or_undefined`
3 years ago
jedel1043
2a8d343fdd
Implement new `get_or_undefined` method for `[JsValue]` ( #1492 )
...
* Create `JsArgs` trait
* Implement trait `JsArgs` for `[JsValue]`
* Replace calls to `get/unwrap_or` with `get_or_undefined`
3 years ago
neeldug
e9d7ac9333
Add `Array.prototype.splice` ( #1365 )
...
* Add `Array.prototype.splice` (#1365 )
3 years ago
dependabot[bot]
24febf4612
Bump num-bigint from 0.4.1 to 0.4.2 ( #1556 )
3 years ago
dependabot[bot]
7a8f155fd1
Bump webpack from 5.51.1 to 5.52.0 ( #1554 )
3 years ago
dependabot[bot]
ba52aac9df
Bump clean-webpack-plugin from 3.0.0 to 4.0.0 ( #1549 )
3 years ago
jedel1043
01ce7a1914
Fix benchmark action in CI ( #1553 )
3 years ago
raskad
6115182ab9
Replace `FxHashMap` with `IndexMap` in object properties ( #1547 )
...
* Replace `FxHashMap` with `IndexMap` in object properties
* Add test for property order
* Remove unneeded sort from `JSON.stringify`
3 years ago
dependabot[bot]
e66375decc
Bump webpack-dev-server from 4.0.0 to 4.1.0 ( #1548 )
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
raskad
4464a8cc5e
Always return `undefined` from functions that do not `return` ( #1528 )
3 years ago
Francis Murillo
22d0c37b2d
Implement spread for objects ( #1364 )
...
* Implement spread for objects
* Use copy_data_properties for object spread
* Use check_output for object spread test
3 years ago
Halid Odat
ae73c261a3
Implement `Object.preventExtensions()` and `Object.isExtensible()` ( #1525 )
3 years ago
jedel1043
f9a82b4a13
Restrict `ClosureFunction` to only `Copy` closures ( #1518 )
3 years ago
Halid Odat
25efd220c8
Constant `JsString`s ( #1435 )
3 years ago
Halid Odat
23dc134f63
Implement JsStirng::concat_array() ( #1509 )
3 years ago
Iban Eguia
aa087a421d
Fixed Array.of panic with a non-conforming type error ( #1520 )
3 years ago
raskad
1687ecf877
Implement `ComputedPropertyName` in `ObjectLiteral` ( #1514 )
3 years ago
Halid Odat
383f648313
Implement `Object.seal/isSealed/freeze/isFrozen` ( #1511 )
...
* Implement `Object.seal/isSealed/freeze/isFrozen`
* Doc fix
3 years ago
jedel1043
8afd50fb22
Proposal of new `Object` design ( #1354 )
...
* Implement `InternalObjectMethods` struct for `Object`
* Implement remaining string internal methods
* Split object internal methods and operations in modules
* Store internal object methods as static struct
* Document `ObjectData` and order indices on `[[OwnPropertyKeys]]`
* Document and rearrange internal object methods
3 years ago
dependabot[bot]
93f15ee633
Bump serde_yaml from 0.8.19 to 0.8.20 ( #1519 )
3 years ago
Iban Eguia
ca9120de05
Fixed tests compilation ( #1516 )
3 years ago
David M
d86b56927e
Implement parsing for object shorthand properties ( #1324 )
3 years ago
Halid Odat
1c457b2bbb
Show count of tests failed/broken on header ( #1512 )
3 years ago
Halid Odat
cd54ff5c5b
Implement `Object.prototype.valueOf` ( #1510 )
3 years ago
raskad
a0c65c9f9b
Fix `Number.MIN_VALUE` ( #1513 )
3 years ago
raskad
3313ad6096
Refactor `JSON.stringify` ( #1495 )
3 years ago
Bartek Iwańczuk
26e149795a
Rename `GcObject` to `JsObject` ( #1489 )
...
* Rename `GcObject` to `JsObject`
* fmt
3 years ago
raskad
8c733c3821
Make `BigInt.prototype.toString` spec compliant ( #1503 )
3 years ago
Halid Odat
f6749f9dbf
Implement `Object.values()` ( #1508 )
3 years ago
dependabot[bot]
9154d7e84a
Bump peter-evans/find-comment from 1.2.0 to 1.3.0 ( #1506 )
3 years ago
dependabot[bot]
42610ace44
Bump serde from 1.0.128 to 1.0.129 ( #1507 )
3 years ago
jedel1043
02d917bb9d
Fix panic on example `classes.rs` ( #1496 )
...
* Set prototype of `NativeObject` object instances
* Improve documentation of example `classes.rs`
* Run example `classes.rs` on CI
3 years ago
Iban Eguia
aefa314e3f
Updated dependencies ( #1500 )
3 years ago
raskad
42686de9f4
Allow `NewExpression` without arguments ( #1505 )
...
* Allow `NewExpression` without arguments
* Fix arrow functions to not be constructable
3 years ago
jedel1043
d3a70e8a81
Reuse `PropertyNameKind` for all iterators ( #1494 )
3 years ago
raskad
0f66054b47
Adjust `EnumerableOwnPropertyNames` to use all `String` type property keys ( #1502 )
...
* Adjust `EnumerableOwnPropertyNames` to use all `String` type property keys
* Change if-else to match
* Match on PropertyNameKind
3 years ago
Iban Eguia
2712aaa6fb
Updated the Test262 submodule ( #1499 )
3 years ago
Bartek Iwańczuk
42d8f20917
Rename `boa::Result` to `JsResult` ( #1493 )
...
* Rename `boa::Result` to `JsResult`
* fix vm/mod.rs
* rustfmt
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
raskad
eaaae85440
Date refactor ( #1488 )
...
* Handle high and negative values in `new Date()`
* Refactor `Date` setter methods
* Refactor some `Date` getter methods
* Adhere to spec in `Date.prototype[Symbol.toPrimitive]`
3 years ago
jedel1043
d286dc655d
Implement `Array.prototype.sort` ( #1332 )
3 years ago
Bartek Iwańczuk
1b380c69af
tests: add check_output test helper ( #1458 )
...
Co-authored-by: jedel1043 <jedel0124@gmail.com>
3 years ago
Oleksii Halahan
5ee865f745
Implement `Object.keys` and `Object.entries` ( #1471 )
...
Co-authored-by: jedel1043 <jedel0124@gmail.com>
3 years ago
neeldug
7fc78f6610
fix(boa): fixes panic on bigint size ( #1415 )
3 years ago