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-22 | fix: implement ReadableStream fetch body handling (#8855) | Luca Casonato | |
2020-11-24 | fix(op_crates/fetch): `redirect: "manual"` fetch should return `type: ↵ | Luca Casonato | |
"default"` response (#8353) | |||
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-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-19 | fix(op_crates/fetch): Body.body should be stream of Uint8Array (#8030) | Luca Casonato | |
2020-10-09 | fix(op_crates/fetch): Stringify and parse Request URLs (#7838) | Nayeem Rahman | |
Fixes #7837 | |||
2020-09-21 | fix: Response.arrayBuffer() doesn't return promise (#7618) | Luca Casonato | |
2020-09-18 | refactor: deno_fetch op crate (#7524) | Bartek Iwańczuk | |