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
Jason Williams
de241c2b60
show object kind, name and address when using dbg! ( #2960 )
...
* show object kind, name and address when using dbg!
* Update boa_engine/src/object/jsobject.rs
Co-authored-by: Haled Odat <8566042+HalidOdat@users.noreply.github.com>
* Update boa_engine/src/object/jsobject.rs
Co-authored-by: Haled Odat <8566042+HalidOdat@users.noreply.github.com>
* Run `rust-fmt`
---------
Co-authored-by: Haled Odat <8566042+HalidOdat@users.noreply.github.com>
2 years ago
Veera
7b5b6b305c
Fix Grammar and Links in Docs ( #2984 )
...
* Fix grammar and improve flow in `debugging.md`
* Fix architecture image's background
* Update link to JavaScript shell
* Readd original drawio diagram
2 years ago
José Julián Espina
2fa9c65e97
Correctly initialize functions inside modules ( #2993 )
2 years ago
José Julián Espina
65bf54d7e0
Fix WASM playground ( #2992 )
2 years ago
Addison Crump
6b595e7999
Update fuzzers and add building them to CI ( #2983 )
...
* update fuzzers for latest changes
* build fuzzers in CI workflow
* move fuzz builds before examples, oops
* use explicit versioning
2 years ago
raskad
9367ee24aa
Fix rust 1.70 lints ( #2990 )
2 years ago
dependabot[bot]
5794555f6c
Bump webpack from 5.84.1 to 5.85.0 ( #2988 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.84.1 to 5.85.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.84.1...v5.85.0 )
---
updated-dependencies:
- dependency-name: webpack
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>
2 years ago
dependabot[bot]
14176a2cee
Bump chrono from 0.4.25 to 0.4.26 ( #2982 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.25 to 0.4.26.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.25...v0.4.26 )
---
updated-dependencies:
- dependency-name: chrono
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
dependabot[bot]
d178a6260b
Bump bootstrap from 5.2.3 to 5.3.0 ( #2981 )
...
Bumps [bootstrap](https://github.com/twbs/bootstrap ) from 5.2.3 to 5.3.0.
- [Release notes](https://github.com/twbs/bootstrap/releases )
- [Commits](https://github.com/twbs/bootstrap/compare/v5.2.3...v5.3.0 )
---
updated-dependencies:
- dependency-name: bootstrap
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>
2 years ago
José Julián Espina
f9c26de90e
Add test case for issue #2719 ( #2980 )
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
Haled Odat
f0422bdf3b
Direct conversion from `u8` to `Opcode` ( #2951 )
2 years ago
dependabot[bot]
44ef49efa7
Bump chrono from 0.4.24 to 0.4.25 ( #2977 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.24 to 0.4.25.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.24...v0.4.25 )
---
updated-dependencies:
- dependency-name: chrono
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
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
Haled Odat
c013caca22
Prune collected shared shapes ( #2941 )
...
* Prune garbage collected `SharedShape`s
* Prune on insertion limit
2 years ago
Haled Odat
f1bab1edef
Remove `arguments_binding` field from `CodeBlock` ( #2969 )
...
* Ensure the "arguments" is the first argument
* Remove `arguments_binding` field from `CodeBlock`
2 years ago
dependabot[bot]
374d102b88
Bump test262 from `88a2f0d` to `3e858ef` ( #2973 )
...
Bumps [test262](https://github.com/tc39/test262 ) from `88a2f0d` to `3e858ef`.
- [Commits](88a2f0dcd1...3e858ef02d
)
---
updated-dependencies:
- dependency-name: test262
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
68598b86fa
Bump css-loader from 6.7.4 to 6.8.1 ( #2970 )
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 6.7.4 to 6.8.1.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases )
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v6.7.4...v6.8.1 )
---
updated-dependencies:
- dependency-name: css-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>
2 years ago
dependabot[bot]
7eee1e6f2a
Bump log from 0.4.17 to 0.4.18 ( #2972 )
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.17 to 0.4.18.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.17...0.4.18 )
---
updated-dependencies:
- dependency-name: log
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
dependabot[bot]
0ed7fb844d
Bump syn from 2.0.16 to 2.0.18 ( #2974 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.16 to 2.0.18.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.16...2.0.18 )
---
updated-dependencies:
- dependency-name: syn
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
dependabot[bot]
e0b894edaf
Bump comfy-table from 6.1.4 to 6.2.0 ( #2971 )
...
Bumps [comfy-table](https://github.com/nukesor/comfy-table ) from 6.1.4 to 6.2.0.
- [Release notes](https://github.com/nukesor/comfy-table/releases )
- [Changelog](https://github.com/Nukesor/comfy-table/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nukesor/comfy-table/compare/v6.1.4...v6.2.0 )
---
updated-dependencies:
- dependency-name: comfy-table
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
Haled Odat
67c5652911
Remove unneded `num_bindings` in `Opcode`s and `CodeBlock` ( #2967 )
...
* Remove redundant `num_bindings` field from `CodeBlock`
* Remove redundant num_bindings parameter from push_function_inherits
* Remove redundant num_bindings operand from environment opcodes
* Make pop_compile_environment() return an index
* Move boolean `CodeBlock` flags to bitflags
* Fix ci
* Add doc
2 years ago
raskad
4ea80f4621
Remove unused lint allows ( #2968 )
2 years ago
dependabot[bot]
d70b229e20
Bump quote from 1.0.27 to 1.0.28 ( #2965 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.27 to 1.0.28.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.27...1.0.28 )
---
updated-dependencies:
- dependency-name: quote
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
dependabot[bot]
8486c28fdc
Bump regex from 1.8.2 to 1.8.3 ( #2964 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.8.2...1.8.3 )
---
updated-dependencies:
- dependency-name: regex
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
Haled Odat
15749ed295
Remove redundant `param_count` field from `CallFrame` ( #2962 )
2 years ago
dependabot[bot]
4dd3507455
Bump proc-macro2 from 1.0.58 to 1.0.59 ( #2966 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.58 to 1.0.59.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.58...1.0.59 )
---
updated-dependencies:
- dependency-name: proc-macro2
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
dependabot[bot]
2c0e144439
Bump webpack from 5.84.0 to 5.84.1 ( #2963 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.84.0 to 5.84.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.84.0...v5.84.1 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
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
dependabot[bot]
e973602e21
Bump webpack from 5.83.1 to 5.84.0 ( #2961 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.83.1 to 5.84.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.83.1...v5.84.0 )
---
updated-dependencies:
- dependency-name: webpack
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>
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
dependabot[bot]
8753406504
Bump regex from 1.8.1 to 1.8.2 ( #2958 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.8.1...1.8.2 )
---
updated-dependencies:
- dependency-name: regex
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
Haled Odat
57ba979415
Fix remaining ES5 `built-ins/RegExp` tests ( #2957 )
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
dependabot[bot]
43d4324bcb
Bump clap from 4.2.7 to 4.3.0 ( #2953 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.2.7 to 4.3.0.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.2.7...clap_complete-v4.3.0 )
---
updated-dependencies:
- dependency-name: clap
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
dependabot[bot]
84501850dc
Bump test262 from `4fc741b` to `88a2f0d` ( #2954 )
...
Bumps [test262](https://github.com/tc39/test262 ) from `4fc741b` to `88a2f0d`.
- [Commits](4fc741b008...88a2f0dcd1
)
---
updated-dependencies:
- dependency-name: test262
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Haled Odat
3f5bad7888
Shrink environment binding locators ( #2950 )
2 years ago
dependabot[bot]
fdf9444d3d
Bump css-loader from 6.7.3 to 6.7.4 ( #2947 )
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 6.7.3 to 6.7.4.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases )
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v6.7.3...v6.7.4 )
---
updated-dependencies:
- dependency-name: css-loader
dependency-type: direct:development
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
dependabot[bot]
426ae65076
Bump style-loader from 3.3.2 to 3.3.3 ( #2948 )
...
Bumps [style-loader](https://github.com/webpack-contrib/style-loader ) from 3.3.2 to 3.3.3.
- [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.3.2...v3.3.3 )
---
updated-dependencies:
- dependency-name: style-loader
dependency-type: direct:development
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
dependabot[bot]
4639a41751
Bump toml from 0.7.3 to 0.7.4 ( #2949 )
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.7.3 to 0.7.4.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.7.3...toml-v0.7.4 )
---
updated-dependencies:
- dependency-name: toml
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
Haled Odat
e335c54926
Type safe root shape ( #2940 )
...
* Implement type safe root object shape
* Implement `From` for Unique and Shared shapes
2 years ago
raskad
4a368a2431
Fix `use_self` lints ( #2946 )
2 years ago
raskad
5e9193aced
Implement Private Runtime Environments ( #2929 )
2 years ago
dependabot[bot]
ff420866e3
Bump terser-webpack-plugin from 5.3.8 to 5.3.9 ( #2943 )
...
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin ) from 5.3.8 to 5.3.9.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v5.3.8...v5.3.9 )
---
updated-dependencies:
- dependency-name: terser-webpack-plugin
dependency-type: direct:development
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
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
dependabot[bot]
fcc3e5ccba
Bump proc-macro2 from 1.0.57 to 1.0.58 ( #2944 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.57 to 1.0.58.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.57...1.0.58 )
---
updated-dependencies:
- dependency-name: proc-macro2
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
dependabot[bot]
ad70a611ab
Bump webpack from 5.82.1 to 5.83.1 ( #2942 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.82.1 to 5.83.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.82.1...v5.83.1 )
---
updated-dependencies:
- dependency-name: webpack
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>
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
Kevin
5a4b410b17
Added period to sentence ( #2939 )
2 years ago