Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-11-21 | fix(install): `deno install -f` should overwrite lockfile from previous ↵ | David Sherret | |
installation (#16744) | |||
2022-11-21 | feat(core): Ability to create snapshots from existing snapshots (#16597) | Bartek Iwańczuk | |
Co-authored-by: crowlkats <crowlkats@toaxl.com> | |||
2022-11-17 | fix(info): handle circular npm dependencies (#16692) | David Sherret | |
2022-11-18 | chore: use Rust 1.65.0 (#16688) | Aaron O'Mullan | |
2022-11-14 | fix(install): support npm specifiers (#16634) | David Sherret | |
Supports npm specifiers for `deno install`. This will by default always use a lockfile (which is generated on first run) unless `--no-lock` is specified. | |||
2022-11-11 | feat: Stabilize Deno.bench() and 'deno bench' subcommand (#16485) | Bartek Iwańczuk | |
2022-11-08 | feat(unstable/npm): support peer dependencies (#16561) | David Sherret | |
This adds support for peer dependencies in npm packages. 1. If not found higher in the tree (ancestor and ancestor siblings), peer dependencies are resolved like a dependency similar to npm 7. 2. Optional peer dependencies are only resolved if found higher in the tree. 3. This creates "copy packages" or duplicates of a package when a package has different resolution due to peer dependency resolution—see https://pnpm.io/how-peers-are-resolved. Unlike pnpm though, duplicates of packages will have `_1`, `_2`, etc. added to the end of the package version in the directory in order to minimize the chance of hitting the max file path limit on Windows. This is done for both the local "node_modules" directory and also the global npm cache. The files are hard linked in this case to reduce hard drive space. This is a first pass and the code is definitely more inefficient than it could be. Closes #15823 | |||
2022-11-05 | fix(upgrade): don't prompt if current version has changed (#16542) | sigmaSd | |
fix https://github.com/denoland/deno/issues/16539 fix https://github.com/denoland/deno/issues/16537 | |||
2022-11-03 | fix(lock): add --no-lock flag to disable auto discovery of lock file (#16526) | Bartek Iwańczuk | |
2022-11-02 | refactor: Combine ImportMapResolver and JsxResolver (#16508) | Bartek Iwańczuk | |
These resolvers are used in `deno_graph` APIs. Combining them removes a lot of code and unblocks me on https://github.com/denoland/deno/pull/16157 | |||
2022-10-31 | feat(unstable/npm): `deno info --json` support for npm specifiers (#16472) | David Sherret | |
2022-10-31 | fix(tools): show correct upgrade command for upgrading canary (#16486) | sigmaSd | |
2022-10-28 | feat: support npm specifiers in `deno info` for display text output only ↵ | David Sherret | |
(#16470) | |||
2022-10-28 | fix(upgrade): don't prompt if latest version is older than current binary ↵ | Bartek Iwańczuk | |
(#16464) | |||
2022-10-28 | refactor: move `deno info` functionality from deno_graph to CLI (#16434) | David Sherret | |
Closes #16423 | |||
2022-10-26 | fix(cli): do not log update checker when log level is quiet (#16433) | David Sherret | |
Co-authored-by: lucacasonato <hello@lcas.dev> | |||
2022-10-26 | fix(upgrade): Added error message when using canary option with M1 (#16382) | doi yuki | |
before ``` Looking up latest version Found latest version 8c9e6c5565c1c00437d083de76cdd944e44b1d99 Checking https://dl.deno.land/canary/8c9e6c5565c1c00437d083de76cdd944e44b1d99/deno-aarch64-apple-darwin.zip Download could not be found, aborting ``` after ``` Looking up latest canary version Found latest version 8c9e6c5565c1c00437d083de76cdd944e44b1d99 error: Canary builds are not available for M1 ``` Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-10-25 | fix: upgrade swc_ecma_parser to 0.122.19 - deno_ast 0.20 (#16406) | David Sherret | |
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-22 | refactor: testable update checker code (#16386) | David Sherret | |
2022-10-21 | feat(upgrade): check if user has write access to deno exe (#16378) | sigmaSd | |
2022-10-21 | feat(unstable/npm): initial type checking of npm specifiers (#16332) | David Sherret | |
2022-10-21 | fix(upgrade): put prompt date in the past when creating a file (#16380) | Bartek Iwańczuk | |
2022-10-21 | feat(update): prompt for new version once per day (#16375) | Bartek Iwańczuk | |
<!-- Before submitting a PR, please read http://deno.land/manual/contributing 1. Give the PR a descriptive title. Examples of good title: - fix(std/http): Fix race condition in server - docs(console): Update docstrings - feat(doc): Handle nested reexports Examples of bad title: - fix #7123 - update docs - fix bugs 2. Ensure there is a related issue and it is referenced in the PR text. 3. Ensure there are tests that cover the changes. 4. Ensure `cargo test` passes. 5. Ensure `./tools/format.js` passes without changing files. 6. Ensure `./tools/lint.js` passes. --> | |||
2022-10-20 | refactor(cli): update checker - use a single option instead of two (#16372) | David Sherret | |
2022-10-20 | feat(cli): check for updates in background (#15974) | Bert Belder | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Divy Srivastava <dj.srivastava23@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-15 | feat(unstable/task): add `INIT_CWD` env var (#16110) | David Sherret | |
2022-10-12 | fix(cli): skip removing the latter part if `@` appears at the beginning (#16244) | Yusuke Tanaka | |
This commit prevents panics that `deno compile` command ran into under certain conditions from occurring. Such conditions are as follows. - the target file name begins with `@`, OR - the stem part of the target file name is equal to one of ["main", "index", "mod", "index"] && the parent directory name starts with `@` Fixes #16243 | |||
2022-09-28 | feat(lint): add --compact flag for terse output (#15926) | Brenley Dueck | |
2022-09-28 | feat: add --allow-sys permission flag (#16028) | Yoshiya Hinosawa | |
2022-09-27 | fix(cli/vendor): handle assert type json during vendoring (#16059) | Sylvain Cau | |
2022-09-26 | chore: use Rust 1.64.0 (#16035) | Mathias Lafeldt | |
2022-09-22 | fix(compile): keep non-exe extension in output name on Windows (#15994) | 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: 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-19 | chore: fix clippy warnings (#15944) | Ben Noordhuis | |
Stop allowing clippy::derive-partial-eq-without-eq and fix warnings about deriving PartialEq without also deriving Eq. In one case I removed the PartialEq because it a) wasn't necessary, and b) sketchy because it was comparing floating point numbers. IMO, that's a good argument for enforcing the lint rule, because it would most likely have been caught during review if it had been enabled. | |||
2022-09-18 | fix(doc): deno doc should parse modules if they haven't been parsed before ↵ | David Sherret | |
(#15941) | |||
2022-09-07 | fix: upgrade deno_ast to 0.19 (#15808) | David Sherret | |
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-03 | BREAKING(unstable): remove --compat mode (#15678) | Bartek Iwańczuk | |
This commit removes "compat" mode. We shipped support for "npm:" specifier support in v1.25 and that is preferred way to interact with Node code that we will iterate and improve upon. | |||
2022-09-02 | refactor: move JsError formatting to deno_runtime (#15345) | Christian Dürr | |
This takes the existing `fmt_error` module from cli and puts it as a public module into `deno_runtime`. | |||
2022-09-02 | fix(init): suppress info logs when using quiet mode (#15741) | Geert-Jan Zwiers | |
2022-09-02 | refactor: extract out check code from emit (#15729) | David Sherret | |
Closes #15535 | |||
2022-09-02 | fix(cli/repl): await Promise.any([])... (#15623) | Jason | |
2022-08-30 | fix(fmt): add the file path to the panic messages when formatting is ↵ | David Sherret | |
unstable (#15693) | |||
2022-08-29 | refactor(cli): Remove cli/node dependency on cli/compat (#15654) | Bartek Iwańczuk | |
2022-08-27 | fix(cli): `deno upgrade --canary` always downloaded latest version even if ↵ | cuobiezi | |
it was already latest (#15639) Closes #15570 | |||
2022-08-23 | feat: binary npm commands (#15542) | David Sherret | |