Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 26 additions & 27 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

90 changes: 45 additions & 45 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,95 +53,95 @@ small_btree = { version = "~0.1.0", path = "utils/small_btree" }

# Shared deps
arbitrary = "1"
base64 = "0.23.0"
bitflags = "2.13.0"
clap = "4.6.1"
base64 = "0.23.1"
bitflags = "2.13.1"
clap = "4.6.6"
colored = "3.1.1"
cow-utils = "0.1.3"
fast-float2 = "0.2.3"
fast-float2 = "0.2.4"
hashbrown = "0.17.1"
http = { version = "1.4.1" }
http = { version = "1.5.0" }
iana-time-zone = "0.1.65"
indexmap = { version = "2.14.0", default-features = false }
indoc = "2.0.7"
itoa = "1.0.18"
jemallocator = "0.5.4"
mimalloc-safe = "0.1.62"
mimalloc-safe = "0.1.65"
lz4_flex = "0.14.0"
num-bigint = "0.5.0"
num-bigint = "0.5.1"
num-traits = "0.2.19"
once_cell = { version = "1.21.3", default-features = false }
once_cell = { version = "1.21.4", default-features = false }
oneshot = "0.2.1"
phf = { version = "0.14.0", default-features = false }
pollster = "0.4.0"
regex = "1.12.3"
regress = { version = "0.11.1", features = ["utf16"] }
pollster = "1.0.1"
regex = "1.13.1"
regress = { version = "0.12.0", features = ["utf16"] }
reqwest = { version = "0.13.4", default-features = false, features = ["rustls-no-provider"] }
rustls = { version = "0.23.40", default-features = false, features = ["ring"] }
rustc-hash = { version = "2.1.2", default-features = false }
serde_json = "1.0.150"
serde = "1.0.219"
rustls = { version = "0.23.43", default-features = false, features = ["ring"] }
rustc-hash = { version = "2.1.3", default-features = false }
serde_json = "1.0.151"
serde = "1.0.229"
static_assertions = "1.1.0"
textwrap = "0.16.2"
thin-vec = "0.2.18"
time = { version = "0.3.47", default-features = false, features = [
thin-vec = "0.2.19"
time = { version = "0.3.55", default-features = false, features = [
"local-offset",
"large-dates",
"parsing",
"formatting",
"macros",
] }
log = "0.4.32"
simple_logger = "5.1.0"
log = "0.4.34"
simple_logger = "5.2.0"
cargo_metadata = "0.23.1"
trybuild = "1.0.116"
trybuild = "1.0.120"
rayon = "1.12.0"
toml = "1.1.2"
color-eyre = "0.6.3"
comfy-table = { version = "7.2.2", default-features = false }
serde_repr = "0.1.20"
toml = "1.1.4"
color-eyre = "0.6.5"
comfy-table = { version = "8.0.0", default-features = false }
serde_repr = "0.1.21"
bus = "2.4.1"
wasm-bindgen = { version = "0.2.97", default-features = false }
getrandom = { version = "0.4.2", default-features = false }
wasm-bindgen = { version = "0.2.127", default-features = false }
getrandom = { version = "0.4.3", default-features = false }
console_error_panic_hook = "0.1.7"
wasm-bindgen-test = "0.3.65"
wasm-bindgen-test = "0.3.77"
smol = "2.0.2"
rustyline = { version = "18.0.0", default-features = false }
rustyline = { version = "18.0.1", default-features = false }
dhat = "0.3.3"
quote = "1.0.45"
syn = { version = "2.0.116", default-features = false }
quote = "1.0.47"
syn = { version = "3.0.4", default-features = false }
proc-macro2 = "1.0"
synstructure = "0.13"
synstructure = "0.14"
measureme = "12.0.3"
pastey = "0.2.3"
rand = "0.10.1"
num-integer = "0.1.46"
ryu-js = "1.0.2"
rand = "0.10.2"
num-integer = "0.1.47"
ryu-js = "1.0.3"
tap = "1.0.1"
thiserror = { version = "2.0.18", default-features = false }
thiserror = { version = "2.0.20", default-features = false }
dashmap = "6.2.1"
num_enum = "0.7.6"
itertools = { version = "0.15.0", default-features = false }
portable-atomic = "1.13.1"
bytemuck = { version = "1.25.0", default-features = false }
arrayvec = "0.7.6"
intrusive-collections = "0.10.1"
portable-atomic = "1.15.0"
bytemuck = { version = "1.25.2", default-features = false }
arrayvec = "0.7.8"
intrusive-collections = "0.10.3"
cfg-if = "1.0.4"
either = "1.16.0"
either = "1.18.0"
sys-locale = "0.3.2"
timezone_provider = { version = "0.2.3" }
temporal_rs = { version = "0.2.3", default-features = false, features = ["float64_representable_durations"] }
timezone_provider = { version = "0.2.6" }
temporal_rs = { version = "0.2.6", default-features = false, features = ["float64_representable_durations"] }
web-time = "1.1.0"
criterion = "0.8.1"
criterion = "0.8.2"
float-cmp = "0.10.0"
futures-lite = "2.6.1"
test-case = "3.3.1"
rstest = "0.26.1"
url = "2.5.8"
tokio = { version = "1.52.3", default-features = false }
tokio = { version = "1.53.1", default-features = false }
futures-concurrency = "7.7.1"
dynify = "0.1.2"
futures-channel = "0.3.32"
futures-channel = "0.3.34"
aligned-vec = "0.6.4"
temp-env = "0.3.6"
strum = { version = "0.28", features = ["derive"] }
Expand Down
13 changes: 9 additions & 4 deletions core/macros/src/class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ use syn::spanned::Spanned;
use syn::visit_mut::VisitMut;
use syn::{
Attribute, ConstParam, Expr, FnArg, GenericParam, Ident, ImplItemFn, ItemImpl, LifetimeParam,
Lit, Meta, MetaNameValue, PatType, Receiver, ReturnType, Signature, Token, Type, TypeParam,
Lit, Meta, MetaNameValue, PatType, Receiver, ReceiverKind, ReturnType, Signature, Token, Type,
TypeParam,
};

/// The name of a method or accessor, which can be either a string property key or a
Expand Down Expand Up @@ -106,7 +107,7 @@ impl Function {
.unwrap_or("Invalid class for type".to_string());

// `&mut self`
let downcast = if receiver.mutability.is_some() {
let downcast = if let ReceiverKind::Reference(_, _, Some(_)) = receiver.kind {
quote! {
let object = this.as_object();
let self_ = &mut *object.as_ref().and_then(|o| o.downcast_mut::< #class_ty >())
Expand All @@ -115,7 +116,7 @@ impl Function {
} else {
quote! {
let object = this.as_object();
let self_ = &*object.as_ref().and_then(|o| o.downcast_ref::< #class_ty >())
let self_ = &mut *object.as_ref().and_then(|o| o.downcast_mut::< #class_ty >())
.ok_or( boa_engine::js_error!( #err ))?;
}
};
Expand All @@ -140,7 +141,11 @@ impl Function {
mutability: Some(_),
..
}) => match elem.as_ref() {
Type::Path(syn::TypePath { qself: _, path }) => {
Type::Path(syn::TypePath {
qself: _,
attrs: _,
path,
}) => {
if let Some(maybe_ctx) = path.segments.last() {
maybe_ctx.ident == "Context"
} else {
Expand Down
2 changes: 1 addition & 1 deletion core/wintertc/src/console/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ pub trait Logger: Trace {
/// Returning an error will throw an exception in JavaScript.
fn table(&self, data: TableData, state: &ConsoleState, context: &mut Context) -> JsResult<()> {
let mut table = Table::new();
table.load_preset(comfy_table::presets::UTF8_FULL);
table.load_style(comfy_table::presets::UTF8_FULL);
table.set_content_arrangement(comfy_table::ContentArrangement::Dynamic);
table.set_header(&data.col_names);

Expand Down
19 changes: 17 additions & 2 deletions test262_config.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
commit = "5c8206929d81b2d3d727ca6aac56c18358c8d790"
commit = "d86b2294eb0a17eaa281ff12c73c473ec864c72f"

[ignored]
# Not implemented yet:
Expand All @@ -21,7 +21,6 @@ features = [
# https://github.com/tc39/proposal-import-bytes
"import-bytes",


# https://github.com/tc39/proposal-intl-locale-info
"Intl.Locale-info",

Expand Down Expand Up @@ -49,6 +48,22 @@ features = [
# https://github.com/tc39/proposal-immutable-arraybuffer
"immutable-arraybuffer",

# Iterator Includes
# https://github.com/tc39/proposal-iterator-includes
"iterator-includes",

# Iterator Chunking
# https://github.com/tc39/proposal-iterator-chunking
"iterator-chunking",

# Iterator Join
# https://github.com/tc39/proposal-iterator-join
"Iterator.prototype.join",

# Error Stack Accessor
# https://github.com/tc39/proposal-error-stack-accessor
"error-stack-accessor",

### Non-standard
"caller",
]
Expand Down
4 changes: 2 additions & 2 deletions tests/fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ edition = "2021"
cargo-fuzz = true

[dependencies]
libfuzzer-sys = "0.4.7"
libfuzzer-sys = "0.4.13"

arbitrary = "1.3.2"
arbitrary = "1.4.2"
boa_ast = { path = "../../core/ast", features = ["arbitrary"] }
boa_engine = { path = "../../core/engine", features = ["fuzz"] }
boa_interner = { path = "../../core/interner", features = ["arbitrary"] }
Expand Down
16 changes: 16 additions & 0 deletions tests/tester/src/edition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,22 @@ static FEATURE_EDITION: phf::Map<&'static str, SpecEdition> = phf::phf_map! {
// https://github.com/tc39/proposal-joint-iteration
"joint-iteration" => SpecEdition::ESNext,

// Iterator Includes
// https://github.com/tc39/proposal-iterator-includes
"iterator-includes" => SpecEdition::ESNext,

// Iterator Chunking
// https://github.com/tc39/proposal-iterator-chunking
"iterator-chunking" => SpecEdition::ESNext,

// Iterator Join
// https://github.com/tc39/proposal-iterator-join
"Iterator.prototype.join" => SpecEdition::ESNext,

// Error Stack Accessor
// https://github.com/tc39/proposal-error-stack-accessor
"error-stack-accessor" => SpecEdition::ESNext,

// ============================ Next ES version ============================

// Error.isError
Expand Down
Loading