Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-10-31 | feat(unstable/npm): `deno info --json` support for npm specifiers (#16472) | David Sherret | |
2022-10-31 | fix(test): add slice method to filename to make them portable (#16482) | Shogo Hida | |
In order for test cases to pass regardless of each individual's environment, this commit adds calls to `slice` method when printing the filenames so we can avoid getting `console.log` to truncate them. Fixes #16305 | |||
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 | 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 | chore: fix flaky esm_module_deno_test test (#16419) | David Sherret | |
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 | fix: upgrade swc_ecma_parser to 0.122.19 - deno_ast 0.20 (#16406) | David Sherret | |
2022-10-25 | feat: stabilize Deno.loadavg() (#16412) | Colin Ihrig | |
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-21 | feat(unstable/npm): initial type checking of npm specifiers (#16332) | David Sherret | |
2022-10-20 | feat(ext/ffi): Make op_ffi_ptr_of fast (#16297) | Aapo Alasuutari | |
Makes `op_ffi_ptr_of` fast. One of the tests changed from printing `false` to `true` as the fast `&[u8]` slice path creates the slice with a null pointer. Thus the `op_ffi_ptr_of` will now return a null pointer value whereas previously it returned a dangling pointer value. | |||
2022-10-20 | perf(ext/ffi): Fast UnsafePointerView read functions (#16351) | Aapo Alasuutari | |
This PR makes pointer read methods of `Deno.UnsafePointerView` Fast API compliant, with the exception of `getCString` which cannot be made fast with current V8 Fast API. | |||
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-18 | feat(task): remove warning about being unstable (#16281) | Bartek Iwańczuk | |
`deno task` has been in use for a few months now. It was very well received and there are not many complaints. I feel like this warning might be discouraging for some users and we don't really plan to make drastic changes to it (besides adding support for globs in unspecified future). | |||
2022-10-17 | chore: upgrade internal deno_std to 0.160 (#16333) | David Sherret | |
2022-10-17 | feat(unstable/npm): support providing npm dist-tag in npm package specifier ↵ | David Sherret | |
(#16293) | |||
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-13 | chore: Added onbeforeunload to window type definition (#16251) | Matt Ezell | |
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-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-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-20 | feat(cli): update to TypeScript 4.8 (#15064) | Kitson Kelly | |
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-17 | fix(ext/node): fix builtin module module (#15904) | Yoshiya Hinosawa | |
2022-09-17 | perf(ext/console): avoid `wrapConsole` when not inspecting (#15931) | Divy Srivastava | |
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-12 | fix(npm): support cjs resolution of package subpath with package.json (#15855) | David Sherret | |
2022-09-12 | fix(npm): align Deno importing Node cjs with Node esm importing cjs (#15879) | David Sherret | |
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> |