Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-11-03 | fix(lock): require --unstable flag to auto discover lockfile (#16524) | Bartek Iwańczuk | |
2022-11-02 | fix(lock): autodiscovery of lockfile (#16498) | Bartek Iwańczuk | |
This commit adds autodiscovery of lockfile. This only happens if Deno discovers the configuration file (either "deno.json" or "deno.jsonc"). In such case Deno tries to load "deno.lock" file that sits next to the configuration file, or creates one for user if the lockfile doesn't exist yet. As a consequence, "--lock" and "--lock-write" flags had been updated. "--lock" no longer requires a value, if one is not provided, it defaults to "./deno.lock" resolved from the current working directory. "--lock-write" description was updated to say that it forces to overwrite a lockfile. Autodiscovery is currently not handled by the LSP. | |||
2022-11-02 | fix(lockfile): error if a referenced package id doesn't exist in list of ↵ | David Sherret | |
packages (#16509) Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-10-31 | feat(unstable/npm): `deno info --json` support for npm specifiers (#16472) | David Sherret | |
2022-10-30 | test: disable run_watch_external_watch_files on macOS (#16477) | Bartek Iwańczuk | |
This test has hung a lot recently on macOS. I am not sure if this is because of a bug in the test or because of the macOS runner that is extremely slow and flaky in general. | |||
2022-10-28 | feat: support npm specifiers in `deno info` for display text output only ↵ | David Sherret | |
(#16470) | |||
2022-10-27 | chore(npm): add explicit tests for `module.exports` assignment with type ↵ | David Sherret | |
checking (#16435) | |||
2022-10-27 | fix(typescript): allow synthetic default imports when using ↵ | David Sherret | |
`ModuleKind.ESNext` (#16438) Closes #16437 | |||
2022-10-26 | fix(compile): show an error when using npm specifiers (#16430) | David Sherret | |
Closes #16427 | |||
2022-10-26 | chore: improve built-in API documentation (#16158) | Kitson Kelly | |
Co-authored-by: crowlkats <crowlkats@toaxl.com> Co-authored-by: Colin Ihrig <cjihrig@gmail.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-10-26 | feat(cli): show error cause recursion information (#16384) | Cre3per | |
2022-10-25 | fix(npm): add support for npm packages in lock files (#15938) | Bartek Iwańczuk | |
This commit adds support for npm packages in the lock file. | |||
2022-10-25 | feat(lint): add a report lint config setting (#16045) | Brenley Dueck | |
Builds off this PR to add a "report" setting to deno.json which can be "pretty", "compact", or "json". | |||
2022-10-24 | feat: Stabilize Deno.stdin.setRaw() (#16399) | Bartek Iwańczuk | |
2022-10-21 | feat(unstable/npm): initial type checking of npm specifiers (#16332) | David Sherret | |
2022-10-20 | fix(lsp): allow caching deps in non-saved files (#16353) | David Sherret | |
2022-10-19 | feat: Add new lockfile format (#16349) | Bartek Iwańczuk | |
Introduces a new lockfile format that will be used to support locking "npm" dependencies. Currently the format looks as follows: ``` // This file is automatically generated by Deno, do not edit its contents // manually. This file should be commited to your repository. { "version": "2", "remote": { "https://deno.land/std@0.160.0/http/server.ts": "asdwetsw44523asdfgfas..", "https://deno.land/std@0.160.0/http/file_server.ts": "asdwetsw44523asdfgfas.." } } ``` A follow up PR will add "npm" key that will be used to store information related to "npm" dependencies and their resolution. The new format is used when `--lock-write` is present, if user tries to load a lock file using the old format it will still work. | |||
2022-10-18 | feat: introduce navigator.language (#12322) | Luca Matei Pintilie | |
Link to the spec: https://html.spec.whatwg.org/multipage/system-state.html#dom-navigator-language-dev Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-10-16 | fix: add error cause in recursive cause tail (#16306) | Cre3per | |
2022-10-16 | feat: support inlay hints (#16287) | Kitson Kelly | |
Closes: #11853 | |||
2022-10-15 | feat(unstable/task): add `INIT_CWD` env var (#16110) | David Sherret | |
2022-10-14 | fix(lsp): properly handle snippets on completions (#16274) | Kitson Kelly | |
Fixes #15367 | |||
2022-10-04 | chore: remove 'fix_exotic_specifier' test (#16143) | Bartek Iwańczuk | |
It's a test that's been flaky for a week, and after offline discussion, we're no longer sure what it's testing. | |||
2022-10-03 | feat(unstable): add support for npm specifier cli arguments for 'deno cache' ↵ | Bartek Iwańczuk | |
(#16141) This commit adds support for npm specifier in "deno cache" subcommand. ``` $ deno cache --unstable npm:vite npm:chalk https://deno.land/std/http/file_server.ts ``` Besides downloading requested npm package(s), it will also download necessary code from "std/node/". | |||
2022-10-03 | fix(npm): better error is version is specified after subpath (#16131) | Bartek Iwańczuk | |
2022-10-03 | fix(npm): panic on invalid package name (#16123) | Bartek Iwańczuk | |
2022-10-01 | fix(npm): handle json files in require (#16125) | Bartek Iwańczuk | |
2022-10-01 | lsp: use deno:/asset instead of deno:asset (#16023) | sigmaSd | |
Make offering "virtual documents" via the lsp easier to parse. `deno:` can be ambiguous to parse by editors (can conflict with linux paths) Neovim recently landed a PR https://github.com/neovim/neovim/pull/19797 that allows it to parse `scheme:/` this PR should make deno lsp work correctly in neovim | |||
2022-09-28 | chore: improve JSDoc for built-in APIs (#16048) | Kitson Kelly | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-09-28 | chore: fix flaky integration::lint::compact (#16075) | David Sherret | |
2022-09-28 | feat(npm): functionality to support child_process.fork (#15891) | David Sherret | |
2022-09-28 | feat(lint): add --compact flag for terse output (#15926) | Brenley Dueck | |
2022-09-28 | feat(unstable): Deno.setRaw -> Deno.stdin.setRaw (#15797) | Luca Casonato | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-09-23 | perf: don't re-download package tarball to global cache if local ↵ | David Sherret | |
node_modules folder exists for package (#16005) | |||
2022-09-22 | chore: temporarily ignore websocketstream test (#15997) | David Sherret | |
2022-09-22 | feat(npm): add flag for creating and resolving npm packages to a local ↵ | David Sherret | |
node_modules folder (#15971) | |||
2022-09-22 | feat(npm): add support for --reload=npm: and --reload=npm:<package> (#15972) | Bartek Iwańczuk | |
2022-09-22 | feat: allow exiting on two consecutive ctrl+c presses (#15981) | Kayla Washburn | |
2022-09-19 | refactor: move out test files from root testdata directory into sub ↵ | David Sherret | |
directories (#15949) | |||
2022-09-18 | fix(doc): deno doc should parse modules if they haven't been parsed before ↵ | David Sherret | |
(#15941) | |||
2022-09-14 | fix(ops): add node.js env variable allowlist (#15893) | Colin Ihrig | |
This commit allows the Node compatibility layer to skip environment variable permission checks when --unstable is passed and the variable name is one that Node uses. Fixes: https://github.com/denoland/deno/issues/15890 | |||
2022-09-14 | fix(npm): binary entrypoint for .js or no extension (#15900) | Bartek Iwańczuk | |
2022-09-12 | fix(npm): use shim from deno_node crate for 'module' built-in module (#15881) | Bartek Iwańczuk | |
2022-09-10 | fix(npm): align Node esm code importing cjs with Node (#15838) | David Sherret | |
2022-09-10 | fix(npm): remove export binding to match node (#15837) | David Sherret | |
2022-09-08 | fix(npm): recursive translation of reexports, remove window global in node ↵ | Bartek Iwańczuk | |
code (#15806) Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-09-07 | feat: add --no-npm flag to disable npm: imports (#15673) | Bartek Iwańczuk | |
This commit adds "--no-npm" flag, it's similar to "--no-remote" flag. This flag makes Deno error out if "npm:" specifier is encountered. | |||
2022-09-06 | perf(runtime): short-circuit `queue_async_op` for Poll::Ready (#15773) | Divy Srivastava | |
2022-09-06 | fix(watch): ignore unload errors on drop (#15782) | Nayeem Rahman | |
2022-09-04 | fix(cli): allow using file resource synchronously while being used async ↵ | David Sherret | |
(#15747) |