Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-30 | fix(op_crates/fetch): correct regexp for fetch header (#8927) | Rich Trott | |
Fix bug in regular expression and make the regular expression more strict. In a string passed to new RegExp(), '[\t\s]' is identical to '[ts]' and not `/[\t\s]/`. For that, the backslash needs to be escaped in the string. Futhermore, `\t` is the tab character and is included in the special regexp value `\s` so is unnecessary. That would reduce the RegExp to new RegExp(`^${value}\\s*;?`) but there's no point in matching 0 or more space characters followed by 0 or one semi-colons as that will match no matter what follows `value`. To make it more strict, require one of space, semicolon, or end-of-string after value. | |||
2020-12-30 | BREAKING(unstable): Use hosts for net allowlists (#8845) | Nayeem Rahman | |
Allowlist checking already uses hosts but for some reason requests, revokes and the runtime permissions API use URLs. - BREAKING(lib.deno.unstable.d.ts): Change NetPermissionDescriptor::url to NetPermissionDescriptor::host - fix(runtime/permissions): Don't add whole URLs to the allowlist on request - fix(runtime/permissions): Harden strength semantics: ({ name: "net", host: "127.0.0.1" } is stronger than { name: "net", host: "127.0.0.1:8000" }) for blocklisting - refactor(runtime/permissions): Use tuples for hosts, make the host optional in Permissions::{query_net, request_net, revoke_net}() | |||
2020-12-30 | chore(cli/tests): fix typo in test failure message (#8935) | Rich Trott | |
2020-12-26 | fix: fetch bad URL will not panic (#8884) | Yosi Pramajaya | |
2020-12-22 | fix: implement ReadableStream fetch body handling (#8855) | Luca Casonato | |
2020-12-21 | refactor: rewrite chown_test.ts not to depend on python (#8843) | Liam Murphy | |
This commit rewrites "chown_test.ts" to use the GNU "id" command instead of python. This won't work on Windows, but these tests aren't currently run on Windows anyway. | |||
2020-12-21 | refactor: rewrite process_test.ts to use deno instead of python (#8841) | Liam Murphy | |
Rewrites all the subprocess python scripts to be Deno scripts. | |||
2020-12-19 | feat(unstable): support in memory certificate data for Deno.createHttpClient ↵ | yonatan ben avraham | |
(#8739) | |||
2020-12-16 | refactor: rewrite ops to use ResourceTable2 (#8512) | Bartek Iwańczuk | |
This commit migrates all ops to use new resource table and "AsyncRefCell". Old implementation of resource table was completely removed and all code referencing it was updated to use new system. | |||
2020-12-10 | refactor(core): stack trace mapping (#8660) | Bartek Iwańczuk | |
This commit adds "Deno.core.createPrepareStackTrace". This function was moved from "cli/rt/40_error_stack.js" to unify handling of stack frames in core (before this PR there was implicit dependency on logic in "core/error.rs::JsError"). Unfortunately formatting logic must still be duplicated in "cli/error.js::PrettyJsError" to provide coloring, but currently there's no solution to this problem. "createPrepareStackTrace" can accept a single argument; a function that takes a location and provides source mapped location back. | |||
2020-12-09 | fix(op_crates/fetch): support non-ascii response headers value (#8600) | Jae-Heon Ji | |
2020-11-27 | test(cli): fix brittle network permission test (#8526) | William Perron | |
2020-11-27 | fix(cli/ops/net): add write permissions for unixpackets datagrams & unix ↵ | William Perron | |
socket (#8511) Fixes #7781 | |||
2020-11-26 | refactor(cli/tests): replace createResolvable with deferred (#8507) | crowlKats | |
2020-11-25 | fix(websocket): Fix PermissionDenied error being caught in constructor (#8402) | crowlKats | |
2020-11-24 | fix(op_crates/fetch): `redirect: "manual"` fetch should return `type: ↵ | Luca Casonato | |
"default"` response (#8353) | |||
2020-11-24 | feat(cli): update to TypeScript 4.1 (#7573) | Kitson Kelly | |
2020-11-23 | fix(cli): add file URL support for Deno.readLink (#8423) | William Perron | |
2020-11-14 | fix: fix various global objects constructor length (#8373) | Benjamin Gruenbaum | |
This commit changes various Web APIs constructors to match their signature in the browser. | |||
2020-11-11 | fix(op_crates/web): FileReader event handler order (#8348) | Benjamin Gruenbaum | |
2020-11-03 | build: migrate to dlint (#8176) | Bartek Iwańczuk | |
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code. | |||
2020-11-02 | fix(op_crates/web): fix URLSearchParams, malformed url handling (#8092) | Yoshiya Hinosawa | |
Co-authored-by: Evan <c4t@tuta.io> | |||
2020-11-02 | test(op_crates/web): add EventTarget tests (#8205) | Benjamin Gruenbaum | |
2020-11-02 | fix(op_crates/web): make TextEncoder work with forced non-strings (#8206) | Benjamin Gruenbaum | |
Fixes: #8201 | |||
2020-10-27 | fix(cli): handle URL paths in Deno.mkdir() (#8140) | Ross Weir | |
2020-10-27 | fix(op_crates/web): Expose event properties in console output (#8103) | Ross Weir | |
Fixes #8073 | |||
2020-10-26 | rename(std/testing): rename assert*Contains to assert*Includes (#7951) | Tim Reichen | |
This commit renames two assertion functions to better align with JS API: - assertStringContains -> assertStringIncludes - assertArrayContains -> assertArrayIncludes | |||
2020-10-26 | feat(unstable): add Deno.systemCpuInfo() (#7774) | Elias Sjögreen | |
2020-10-26 | fix(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-20 | fix(op_crates/web): TextEncoder should return error message with original ↵ | aca | |
input (#8005) | |||
2020-10-20 | fix(cli/rt/performance): check for object props in startOrMeasureOptions ↵ | Jesse Jackson | |
before throwing (#7884) Fixes #7876 Co-authored-by: Ryan Dahl <ry@tinyclouds.org> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2020-10-19 | fix(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-19 | fix(op_crates/fetch): Body.body should be stream of Uint8Array (#8030) | Luca Casonato | |
2020-10-17 | upgrade: deno_doc, deno_lint, dprint, swc (#8009) | Bartek Iwańczuk | |
2020-10-15 | feat(cli/ops): add the sleep_sync op (#7974) | William Perron | |
2020-10-14 | fix(console): fix the test cases of function inspections (#7965) | Yoshiya Hinosawa | |
2020-10-13 | fix(op_crates/web/url): apply backslash replacement to the pathname setter ↵ | Nayeem Rahman | |
(#7937) | |||
2020-10-12 | fix(cli/rt/main): Add global interface objects (#7875) | Nayeem Rahman | |
2020-10-11 | fix(console): fix inspection of Function (#7930) | Yoshiya Hinosawa | |
This commit fixes the inspection of functions. The current implementation gets the name of the type of the function from "f.__proto__.constructor.name", and it throws when the prototype is set to null. This commit checks the prototype before accessing its constructor name and uses the generic name 'Function' if the prototype is not available. | |||
2020-10-11 | fix(cli/console): only inspect getters with option (#7830) | Casper Beyer | |
2020-10-10 | fix(op_crate/web): add padding on URLSearchParam (#7905) | Lively | |
Fixes #7888 | |||
2020-10-09 | fix(op_crates/fetch): Stringify and parse Request URLs (#7838) | Nayeem Rahman | |
Fixes #7837 | |||
2020-10-08 | fix: update worker types to better align to lib.dom.d.ts (#7843) | Kitson Kelly | |
2020-10-08 | fix(cli/rt/error_stack): Improve message line formatting (#7860) | Nayeem Rahman | |
2020-10-07 | fix(cli/rt/console): Don't require a prototype to detect a class instance ↵ | Nayeem Rahman | |
(#7869) | |||
2020-10-07 | fix(cli/ops/fs): Don't force Windows paths separate paths with forward slash ↵ | Nayeem Rahman | |
(#7833) | |||
2020-10-05 | perf(cli/console): Don't add redundant ANSI codes (#7823) | Nayeem Rahman | |
2020-10-04 | docs: end sentences with a period in markdown (#7813) | Trivikram Kamat | |
2020-10-02 | upgrade: swc, deno_doc, deno_lint, dprint (#7793) | Bartek Iwańczuk | |
2020-10-01 | fix(cli/console): Catch and format getter errors (#7766) | Nayeem Rahman | |