Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-07-04 | fix: move `Deno.serve` to stable namespace (#19718) | Bartek Iwańczuk | |
This was missed in #19141 | |||
2023-07-04 | fix(ext/node): Define performance.timeOrigin as getter property (#19714) | await-ovo | |
2023-07-04 | fix: bump default @types/node version range to 18.16.19 (#19706) | David Sherret | |
2023-07-04 | feat: stabilize 'alpnProtocols' setting (#19704) | Bartek Iwańczuk | |
Ref https://github.com/denoland/deno/issues/19685 | |||
2023-07-04 | tests: deflake _fs_read_test.ts again (#19705) | Bartek Iwańczuk | |
2023-07-04 | chore: upgrade deno_lint to 0.49.0 (#19703) | Bartek Iwańczuk | |
2023-07-03 | tests: deflake _fs_read_test.ts (#19699) | Bartek Iwańczuk | |
Closes https://github.com/denoland/deno/issues/19632 | |||
2023-07-04 | feat: Stabilize Deno.serve() API (#19141) | Bartek Iwańczuk | |
This commit stabilizes "Deno.serve()", which becomes the preferred way to create HTTP servers in Deno. Documentation was adjusted for each overload of "Deno.serve()" API and the API always binds to "127.0.0.1:8000" by default. | |||
2023-07-04 | feat: upgrade to TypeScript 5.1.6 (#19695) | David Sherret | |
Integrates https://github.com/denoland/TypeScript/pull/7 | |||
2023-07-03 | fix(npm): escape export identifier in double quoted string (#19694) | await-ovo | |
2023-07-03 | fix(dts): make globals available on globalThis (#19438) | ud2 | |
This PR changes Web IDL interfaces to be declared with `var` instead of `class`, so that accessing them via `globalThis` does not raise type errors. Closes #13390. | |||
2023-07-03 | feat(lsp): support import maps in quick fix and auto-imports (#19692) | David Sherret | |
Closes https://github.com/denoland/vscode_deno/issues/849 Closes #15330 Closes #10951 Closes #13623 | |||
2023-07-03 | fix: Update typings for Deno.errors namespace (#19688) | Bartek Iwańczuk | |
Follow up to https://github.com/denoland/deno/pull/19514, where I forgot to update type declarations. | |||
2023-07-02 | fix(ext/node): ignore cancelled timer when node timer refresh (#19637) | await-ovo | |
For timers that have already executed clearTimeout, there is no need to recreate a new timer when refresh is executed again. | |||
2023-07-02 | refactor: rename built-in node modules from ext:deno_node/ to node: (#19680) | Bartek Iwańczuk | |
Closes https://github.com/denoland/deno/issues/19510 | |||
2023-07-02 | test: ignore fmt_check_all_files_on_each_change_test (#19682) | Bartek Iwańczuk | |
Ref https://github.com/denoland/deno/issues/19629 | |||
2023-07-01 | fix(npm): handle more reserved words as cjs exports (#19672) | David Sherret | |
Closes #19665 | |||
2023-07-02 | build: remove stale benchmark (#19681) | Bartek Iwańczuk | |
With https://github.com/denoland/deno/pull/19658 we can't bench it anymore. | |||
2023-07-02 | feat(lsp): basic support of auto-imports for npm specifiers (#19675) | David Sherret | |
Closes #19625 Closes https://github.com/denoland/vscode_deno/issues/857 | |||
2023-07-02 | refactor(core): Extract deno_core (#19658) | Matt Mastracci | |
`deno_core` is moving out! You'll find it at https://github.com/denoland/deno_core/ once this PR lands. | |||
2023-07-02 | Reland "fix(cli): don't store blob and data urls in the module cache" (#18581) | Nayeem Rahman | |
Relands #18261 now that https://github.com/lucacasonato/esbuild_deno_loader/pull/54 is landed and used by fresh. Fixes #18260. | |||
2023-07-01 | fix(ext/kv): expose Deno.AtomicOperation (#19674) | Luca Casonato | |
2023-06-30 | fix(npm): support siblings that are peer dependencies of each other (#19657) | David Sherret | |
https://github.com/denoland/deno_npm/pull/20 | |||
2023-06-30 | test(ext/node): add perf_hooks test (#19648) | Hans | |
2023-06-30 | test(ext/node): added unit test for net node modules compat from std (#19663) | Kaique da Silva | |
2023-06-30 | test(ext/node): added assertion errors test (#19609) | Kaique da Silva | |
2023-06-30 | fix(node/http): add setKeepAlive to FakeSocket (#19659) | Leo Kettmeir | |
Closes #19535 | |||
2023-06-29 | fix: add `exactOptionalPropertyTypes` for configuration file JSON schema ↵ | scarf | |
(#19647) - fixes #19646 lines copied from: https://github.com/SchemaStore/schemastore/blob/8513fdcc29f89a3b864bd712e6fdd78a6691884f/src/schemas/json/tsconfig.json#L281-L286 | |||
2023-06-28 | fix(console): correct the parseCssColor algorithm (#19645) | Nicholas Berlette | |
This is a fix for issue #19644, concerning the `parseCssColor` function in the file `ext/console/01_console.js`. Changes made on lines 2756-2758. To sum it up: > The internal `parseCssColor` function currently parses 3/4-digit hex colors incorrectly. For example, it parses the string `#FFFFFF` as `[255, 255, 255]` (as expected), but returns `[240, 240, 240]` for `#FFF`, when it should return the same triplet as the former. While it's not going to cause a fatal runtime error, it did bug me enough to fix it real quick. | |||
2023-06-28 | chore: reconfigure windows builder storage (#19601) | Matt Mastracci | |
Use `C:` drive to build on Windows, as `D:` is too limited. | |||
2023-06-28 | fix(cli): Fix the bug where the command description is not displayed. (#19604) | nasa | |
2023-06-27 | chore: update deno_lint to 0.48.0 (#19619) | Bartek Iwańczuk | |
2023-06-27 | fix(kv): assertReject should always be awaited (#19612) | Heyang Zhou | |
2023-06-27 | test(ext/node): port crypto_test.ts from deno_std (#19561) | Felipe Baltor | |
2023-06-26 | feat(lock): skip saving declaration files in the lockfile (#19447) | David Sherret | |
This is also a performance improvement because declaration file hashes don't need to be stored in the lockfile. Closes #19444 | |||
2023-06-26 | chore: fix typos (#19572) | Martin Fischer | |
2023-06-26 | Revert "Reland "refactor(core): cleanup feature flags for js source i… ↵ | Bartek Iwańczuk | |
(#19611) …nclusion" (#19519)" This reverts commit 28a4f3d0f5383695b1d49ccdc8b0f799a715b2c2. This change causes failures when used outside Deno repo: ``` ============================================================ Deno has panicked. This is a bug in Deno. Please report this at https://github.com/denoland/deno/issues/new. If you can reliably reproduce this panic, include the reproduction steps and re-run with the RUST_BACKTRACE=1 env var set and include the backtrace in your report. Platform: linux x86_64 Version: 1.34.3+b37b286 Args: ["/opt/hostedtoolcache/deno/0.0.0-b37b286f7fa68d5656f7c180f6127bdc38cf2cf5/x64/deno", "test", "--doc", "--unstable", "--allow-all", "--coverage=./cov"] thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to read "/home/runner/work/deno/deno/core/00_primordials.js" Caused by: No such file or directory (os error 2)', core/runtime/jsruntime.rs:699:8 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ``` | |||
2023-06-26 | test(ext/node): add fs read unit tests (#19588) | Kaique da Silva | |
2023-06-26 | fix(ext/node): remove path.toFileUrl (#19536) | Ryan Clements | |
2023-06-25 | Reland "refactor(core): cleanup feature flags for js source inclusion" (#19519) | Nayeem Rahman | |
Relands #19463. This time the `ExtensionFileSourceCode` enum is preserved, so this effectively just splits feature `include_js_for_snapshotting` into `exclude_js_sources` and `runtime_js_sources`, adds a `force_include_js_sources` option on `extension!()`, and unifies `ext::Init_ops_and_esm()` and `ext::init_ops()` into `ext::init()`. | |||
2023-06-24 | fix(ext/node): support brotli APIs (#19223) | Divy Srivastava | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-06-24 | fix(cli): Don't use hardcoded port 4501 in serve test (#19599) | Matt Mastracci | |
2023-06-24 | bench: fix benchmarks (#19600) | Bartek Iwańczuk | |
2023-06-23 | fix(serde_v8): Do not coerce values in serde_v8 (#19569) | Divy Srivastava | |
Fixes #19568 Values are not coerced to the desired type during deserialisation. This makes serde_v8 stricter. --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-06-22 | test(ext/node): port buffer_test.ts from deno_std (#19556) | Felipe Baltor | |
2023-06-22 | refactor(npm): remove needless resolve_nv_ref_from_pkg_req_ref on ↵ | David Sherret | |
NpmResolver (#19582) | |||
2023-06-22 | test(ext/node): add fs open unit test from std (#19505) | Kaique da Silva | |
2023-06-21 | fix(cli/napi): property with getter/setter always failed (#19562) | Dj | |
with `napi_define_properties`. | |||
2023-06-21 | fix(cli/napi): `napi_get_buffer_info` accepts `ArrayBufferView` … (#19551) | Dj | |
... not just `Uint8Array`. This PR aligns behavior with Node.js Node-API implementation. | |||
2023-06-19 | test(ext/node): port _fs_writeFile_test.ts from deno_std (#19524) | Felipe Baltor | |