summaryrefslogtreecommitdiff
path: root/op_crates
AgeCommit message (Collapse)Author
2020-11-02fix(op_crates/web): fix URLSearchParams, malformed url handling (#8092)Yoshiya Hinosawa
Co-authored-by: Evan <c4t@tuta.io>
2020-11-02test(op_crates/web): add EventTarget tests (#8205)Benjamin Gruenbaum
2020-11-02fix(op_crates/web): make TextEncoder work with forced non-strings (#8206)Benjamin Gruenbaum
Fixes: #8201
2020-10-31v1.5.1Luca Casonato
2020-10-27v1.5.0Bartek Iwańczuk
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-10-27fix(op_crates/web): Expose event properties in console output (#8103)Ross Weir
Fixes #8073
2020-10-26fix(op_crates/fetch): ensure Request.method to be string (#8100)Kid
Ensure "Request.method" to be the default value ("GET") if "init.method" is not defined, which follows browser's behavior.
2020-10-20bump versions for op crates (#8048)Ryan Dahl
2020-10-20fix(op_crates/web): TextEncoder should return error message with original ↵aca
input (#8005)
2020-10-20fix(cli/worker): Print error stacks from the origin Worker (#7987)Nayeem Rahman
Fixes #4728
2020-10-19fix(op_crates/web): TextEncoder should throw RangeError (#8039)Leonard Ginters
This commit changes error type thrown by TextEncoder, when provided encoding is not supported matching Chromium behavior.
2020-10-19fix(op_crates/fetch): Body.body should be stream of Uint8Array (#8030)Luca Casonato
2020-10-19deno_core 0.64.0 (#8025)Ryan Dahl
2020-10-13fix(op_crates/web/url): apply backslash replacement to the pathname setter ↵Nayeem Rahman
(#7937)
2020-10-11reland JsRuntime/Worker is not a Future (#7924)Bartek Iwańczuk
2020-10-10v1.4.6Bartek Iwańczuk
2020-10-10Fix 100% CPU idling problem by reverting #7672 (#7911)Ryan Dahl
* Revert "refactor: Worker is not a Future (#7895)" This reverts commit f4357f0ff9d39411f22504fcc20db6bd5dec6ddb. * Revert "refactor(core): JsRuntime is not a Future (#7855)" This reverts commit d8879feb8c832dbb38649551b1cb0730874f7be6. * Revert "fix(core): module execution with top level await (#7672)" This reverts commit c7c767782538243ded64742dca9b34d6af74d62d.
2020-10-10fix(op_crate/web): add padding on URLSearchParam (#7905)Lively
Fixes #7888
2020-10-09fix(op_crates/fetch): Stringify and parse Request URLs (#7838)Nayeem Rahman
Fixes #7837
2020-10-08v1.4.5Bartek Iwańczuk
2020-10-07refactor(core): JsRuntime is not a Future (#7855)Bartek Iwańczuk
This commit rewrites deno_core::JsRuntime to not implement Future trait. Instead there are two separate methods: - JsRuntime::poll_event_loop() - does single tick of event loop - JsRuntime::run_event_loop() - runs event loop to completion
2020-10-04docs: end sentences with a period in markdown (#7813)Trivikram Kamat
2020-10-03v1.4.4Bartek Iwańczuk
2020-10-02v1.4.3Bartek Iwańczuk
2020-09-30refactor: improve op crate interfaces for other consumers (#7745)Bartek Iwańczuk
2020-09-26fix(cli/dts): Use var instead of const and let for globals (#7680)Nayeem Rahman
2020-09-25v1.4.2Bartek Iwańczuk
2020-09-25refactor: class instead of var+interface in d.ts (#7514)Luca Casonato
2020-09-25fix(cli): update supported text encodings (#7668)iugo
Fixed #7667
2020-09-22refactor(core): support error stack, remove js_check (#7629)Bartek Iwańczuk
This commit adds support for stack traces in "deno_core". Implementation of "Display" trait for "JsError" has been updated and in consequence "deno_core::js_check" became obsolete and removed.
2020-09-21fix: Response.arrayBuffer() doesn't return promise (#7618)Luca Casonato
2020-09-20refactor: remove CliState, use OpState, add CliModuleLoader (#7588)Bartek Iwańczuk
- remove "CliState.workers" and "CliState.next_worker_id", instead store them on "OpState" using type aliases. - remove "CliState.global_timer" and "CliState.start_time", instead store them on "OpState" using type aliases. - remove "CliState.is_internal", instead pass it to Worker::new - move "CliState::permissions" to "OpState" - move "CliState::main_module" to "OpState" - move "CliState::global_state" to "OpState" - move "CliState::check_unstable()" to "GlobalState" - change "cli_state()" to "global_state()" - change "deno_core::ModuleLoader" trait to pass "OpState" to callbacks - rename "CliState" to "CliModuleLoader"
2020-09-19fix(cli/rt): make some web API constructors illegal at runtime (#7468)Nayeem Rahman
2020-09-18v1.4.1Bert Belder
2020-09-18publish deno_fetch during CI (#7557)Ryan Dahl
2020-09-18refactor: move FileReader to op_crates/web (#7554)Bartek Iwańczuk
2020-09-18refactor: deno_fetch op crate (#7524)Bartek Iwańczuk
2020-09-17refactor: Move URL to op_crates/web (#7544)Bartek Iwańczuk
2020-09-13v1.4.0Bartek Iwańczuk
2020-09-11refactor(core): JsRuntime initialization (#7415)Bartek Iwańczuk
Removes: - "deno_core::StartupData" - "deno_core::Script" - "deno_core::OwnedScript" Changes to "JsRuntime": - remove "new_with_loader()" - remove "with_heap_limits()" - rename "IsolateOptions" to "RuntimeOptions" and make public - "JsRuntime::new()" takes "RuntimeOptions" as a single param
2020-09-10Use gotham-like state for ops (#7385)Ryan Dahl
Provides a concrete state type that can be dynamically added. This is necessary for op crates. * renames BasicState to OpState * async ops take `Rc<RefCell<OpState>>` * sync ops take `&mut OpState` * removes `OpRegistry`, `OpRouter` traits * `get_error_class_fn` moved to OpState * ResourceTable moved to OpState
2020-09-09feat(op_crates/web): Add all single byte encodings to TextDecoder (#6178)AliBasicCoder
2020-09-09fix(op_crates/web): Use "deno:" URLs for internal script specifiers (#7383)Nayeem Rahman
2020-09-06refactor(core): rename CoreIsolate to JsRuntime (#7373)Bartek Iwańczuk
deno_core/ - rename core_isolate.rs to runtime.rs - rename CoreIsolate to JsRuntime - rename JSError to JsError - rename JSStackFrame to JsStackFrame cli/ - update references from deno_core::CoreIsolate to deno_core::JsRuntime - rename deno_core::JSError to deno_core::JsError - rename fmt_errors::JSError to fmt_errors::JsError
2020-09-06Move JSON ops to deno_core (#7336)Bert Belder
2020-09-05feat: Implement WebSocket API (#7051)crowlKats
2020-09-04v1.3.3Bartek Iwańczuk
2020-09-04fix: don't expose globalThis.__bootstrap (#7344)Kitson Kelly
2020-09-02deno_web 0.6.0 (#7317)Ryan Dahl
2020-09-01simplify deno_web init (#7313)Ryan Dahl