Skip to content

PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust

Merge remote-tracking branch 'upstream/main' into fix/util-scand

Eric Kaden6c0fd0f35356
diff --cc crates/js/src/lib.rs
index 7a3d768b2,ae94feb0a..2a91075d6
--- a/crates/js/src/lib.rs
+++ b/crates/js/src/lib.rs
@@@ -27,9 -27,11 +27,11 @@@ use std::cell::RefCell
use std::collections::BTreeSet;
use std::sync::Arc;
+ use boa_engine::context::HostHooks;
-use boa_engine::object::builtins::{JsArray, JsFunction};
+use boa_engine::object::builtins::{JsArray, JsDate, JsFunction};
use boa_engine::object::{FunctionObjectBuilder, ObjectInitializer};
use boa_engine::property::Attribute;
+ use boa_engine::realm::Realm;
use boa_engine::{Context, JsError, JsNativeError, JsObject, JsResult, JsString, JsValue, NativeFunction, Source, js_string};
/// The kinds of field, as `field.type` names them.