neeldug
7c046ea886
feat(boa): implements `at` method for string ( #1375 )
...
* feat(boa): implements `at` method for string
Closes #13
* cleanup
* fix len
3 years ago
neeldug
a4a76fe87c
fix(boa): 15.4.4.19-8-c-ii-1.js ( #1351 )
...
* fix(boa): 15.4.4.19-8-c-ii-1.js
- skips undefined values on callback
- formats
Closes #1306
* add map callbackfn check whether callable
* major rewrite of map function for es compliance
* fix testcase 15.4.4.19-8-c-ii-1.js
* fmt
* add range error in array constructor
* fix clippy errors & fmt
* rebase
3 years ago
Francis Murillo
3aa84e4a08
Implement gh-page workflow on release ( #1346 )
3 years ago
dependabot[bot]
09cc2acf09
Bump webpack from 5.45.1 to 5.46.0 ( #1427 )
3 years ago
Halid Odat
f6d5733b02
Refactor internal methods and make some builtins spec compliant ( #1422 )
3 years ago
raskad
65473b5903
Fix DataDescriptor Value to possibly be empty ( #1419 )
3 years ago
Marc Schreiber
970a611d28
Add Example to Execute a Function of a Script File ( #1357 )
...
Co-authored-by: Halid Odat <halidodat@gmail.com>
3 years ago
Halid Odat
2cd32ed816
Refactor JavaScript bigint rust type ( #1408 )
3 years ago
joshwd36
711e04dfc4
Use lock for map iteration ( #1366 )
3 years ago
Halid Odat
825faaa832
Implement switch statement for vm ( #1407 )
3 years ago
dependabot[bot]
fafba6b929
Bump float-cmp from 0.8.0 to 0.9.0 ( #1421 )
3 years ago
dependabot[bot]
dd700786c7
Bump monaco-editor from 0.26.0 to 0.26.1 ( #1412 )
3 years ago
dependabot[bot]
78cea1683a
Bump style-loader from 3.1.0 to 3.2.1 ( #1417 )
3 years ago
dependabot[bot]
b088f8ad48
Bump webpack from 5.44.0 to 5.45.1 ( #1410 )
3 years ago
dependabot[bot]
6db0154d79
Bump css-loader from 6.0.0 to 6.2.0 ( #1416 )
3 years ago
Halid Odat
be4a8724b1
Custom JavaScript string rust type ( #1380 )
...
- Moved src/value/rcstring.rs => src/string.rs
3 years ago
Halid Odat
ecd56ca7e1
Refactor JavaScript symbol rust type ( #1382 )
3 years ago
dependabot[bot]
356daa2165
Bump monaco-editor from 0.25.2 to 0.26.0 ( #1405 )
3 years ago
dependabot[bot]
a77579a284
Bump style-loader from 3.0.0 to 3.1.0 ( #1396 )
...
Bumps [style-loader](https://github.com/webpack-contrib/style-loader ) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases )
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v3.0.0...v3.1.0 )
---
updated-dependencies:
- dependency-name: style-loader
dependency-type: direct:development
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>
3 years ago
dependabot[bot]
55143a1770
Bump css-loader from 5.2.6 to 6.0.0 ( #1398 )
3 years ago
dependabot[bot]
016e048d64
Bump regress from 0.3.0 to 0.4.1 ( #1394 )
3 years ago
dependabot[bot]
bfe638edc3
Update regress requirement from 0.3.0 to 0.4.1 in /boa ( #1395 )
3 years ago
dependabot[bot]
76f29fe773
Bump webpack from 5.43.0 to 5.44.0 ( #1392 )
3 years ago
dependabot[bot]
e5dc8fc679
Bump webpack from 5.42.0 to 5.43.0 ( #1389 )
3 years ago
raskad
2b4501076a
Refactor / Implement RegExp functions ( #1350 )
...
* Refactor regexp exec function
Refactor regexp match function
Refactor regexp matchAll function
Refactor regexp test function
Implement regexp split function
Refactor string split function
Implement RegExpStringIterator
* Implement get RegExp.prototype.source
* fix some minor issues
* Docs: Minor typo
Co-authored-by: João Borges <rageknify@gmail.com>
3 years ago
dependabot[bot]
88452aac75
Bump structopt from 0.3.21 to 0.3.22 ( #1386 )
3 years ago
Halid Odat
f33dbcc827
Redesign bytecode virtual machine ( #1361 )
...
- Implemented Jump and JumpIfFalse opcodes
- Implemented If in vm
- Implement assign to identifiers
- Implement JumpIfTrue opcode
- Implemented short circuit operators
- Implement while loop
- Implement do-while loop
- Pop expressions
- Split compilation for epression and statement
- simplify boolean compilation
- Implement loop break and continue with labels
- Implement getting property from object
- Implement setting object properties
- Implement binary assign
- Implement throw
- Split variable names from literals
- Implement conditional operator
- Implement array expressions without spread
- Implement some unary operators
- Add accessor types
- Implement this
- Add opcode for pushing rationals
- Implement instanceof operator
3 years ago
dependabot[bot]
7fcd5dea11
Bump webpack from 5.41.1 to 5.42.0 ( #1385 )
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
Iban Eguia
ad972f76bd
Fixed documentation warnings ( #1381 )
3 years ago
dependabot[bot]
0c0257fff0
Bump webpack from 5.41.0 to 5.41.1 ( #1378 )
3 years ago
dependabot[bot]
5153175d04
Bump indexmap from 1.6.2 to 1.7.0 ( #1379 )
3 years ago
dependabot[bot]
13f5ea3a2d
Bump webpack from 5.40.0 to 5.41.0 ( #1370 )
3 years ago
dependabot[bot]
45a55993e0
Bump prettier from 2.3.1 to 2.3.2 ( #1368 )
3 years ago
dependabot[bot]
e75736d9c9
Bump copy-webpack-plugin from 9.0.0 to 9.0.1 ( #1367 )
3 years ago
dependabot[bot]
35c2a491bd
Bump style-loader from 2.0.0 to 3.0.0 ( #1362 )
3 years ago
Teymour Aldridge
fa3ca4bb8a
Adjust a comment to be next to the correct module. ( #1360 )
3 years ago
dependabot[bot]
8e774c4a73
Bump webpack from 5.39.1 to 5.40.0 ( #1355 )
3 years ago
dependabot[bot]
c1226226d1
Bump bootstrap from 5.0.1 to 5.0.2 ( #1359 )
3 years ago
dependabot[bot]
0affe2d5be
Bump html-webpack-plugin from 5.3.1 to 5.3.2 ( #1358 )
3 years ago
João Borges
24f94ff51b
Style: Respect rustfmft ( #1356 )
3 years ago
neeldug
83ac2a94f4
fix(boa): fixes Array.protoype.includes ( #1349 )
...
* fix(boa): fixes Array.protoype.includes
- adds fromIndex
- adds infinity checking to indices
Closes #1306
* add comments for clarity
* fix(boa): fixes Array.protoype.includes
- adds fromIndex
- adds infinity checking to indices
Closes #1306
* add comments for clarity
3 years ago
neeldug
79948b7dc4
fix(boa): fixes unshift maximum size ( #1348 )
...
* fix(boa): fixes unshift maximum size
- throws TypeErrException according to spec for len + argCount >
MAX_SAFE_INTEGER
Closes #1306
* fix(boa): fixes Array.protoype.push integer limit exceeded
- adds limit on push
- rephrases message
Closes #1306
3 years ago
dependabot[bot]
400b0073a6
Bump monaco-editor from 0.25.1 to 0.25.2 ( #1341 )
3 years ago
dependabot[bot]
f69b685594
Bump webpack from 5.39.0 to 5.39.1 ( #1340 )
3 years ago
macmv
b5d2ce828e
Scripts should not be considered in a block ( #1339 )
...
* Scripts are not considered "in a block"
* Duplicate parameter names are now checked for functions
* Parameter names hashset now uses Box<str> instead of String
* Added duplicate parameter test
3 years ago
neeldug
b3ff0bff9f
fix(boa): fix stringpad abstract operation ( #1347 )
...
* fix(boa): fix stringpad abstract operation
- renames filter to filler in accordance with spec
- adds empty string
check to StringPad function
Closes #1306
* refactor to use `is_empty` method over comparison
3 years ago
João Borges
78b926e98f
Respect Rust 1.53 ( #1352 )
...
* Style: Don't repeat code at end of if
Respecting lint clippy::branches_sharing_code
* Refactor: Introduce BigInt::is_zero, reduce allocations
* Refactor: Use self for "converting" date methods
Respecting the wrong_self_conversion lint
* Style: rustfmt
* Test: Prepare Array.prototype.concat test
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
jedel1043
9497636e6c
Implement Array.prototype.copyWithin ( #1334 )
3 years ago