summaryrefslogtreecommitdiff
path: root/cli/compat
AgeCommit message (Collapse)Author
2022-09-03BREAKING(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-08-29refactor(cli): Remove cli/node dependency on cli/compat (#15654)Bartek Iwańczuk
2022-08-25v1.25.0Bartek Iwańczuk
2022-08-23feat: binary npm commands (#15542)David Sherret
2022-08-20feat(unstable): initial support for npm specifiers (#15484)David Sherret
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-08-09feat: add ext/node for require support (#15362)Bartek Iwańczuk
This commit adds "ext/node" extension that implementes CommonJS module system. In the future this extension might be extended to actually contain implementation of Node compatibility layer in favor of "deno_std/node". Currently this functionality is not publicly exposed, it is available via "Deno[Deno.internal].require" namespace and is meant to be used by other functionality to be landed soon. This is a minimal first pass, things that still don't work: support for dynamic imports in CJS conditional exports
2022-08-05chore: forward v1.24.2 release commit to main (#15410)denobot
2022-08-03chore(compat): update list of supported modules (#15397)Bartek Iwańczuk
2022-07-29fix(compat): use mjs extension for stream/promises (#15341)David Sherret
2022-07-29Forward 1.24.1 to main (#15333) (#15336)Colin Ihrig
1.24.1 (#15333) Co-authored-by: cjihrig <cjihrig@users.noreply.github.com>
2022-07-211.24.0 (#15262)denobot
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-07-12chore: forward v1.23.4 release commit to main (#15172)Colin Ihrig
1.23.4 (#15168) Co-authored-by: cjihrig <cjihrig@users.noreply.github.com> Co-authored-by: denobot <33910674+denobot@users.noreply.github.com> Co-authored-by: cjihrig <cjihrig@users.noreply.github.com>
2022-07-051.23.3 (#15081)denobot
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-06-30chore: forward 1.23.2 to main (#15027)David Sherret
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-06-23v1.23.1 (#14954)Kayla Washburn
1.23.1 (#14952) Co-authored-by: aslilac <aslilac@users.noreply.github.com> Co-authored-by: Kayla Washburn <mckayla@hey.com> Co-authored-by: denobot <33910674+denobot@users.noreply.github.com> Co-authored-by: aslilac <aslilac@users.noreply.github.com>
2022-06-151.23.0 (#14878)denobot
* 1.23.0 * docs(Releases.md): update a few items for 1.23 * docs(Releases.md): revert bad formatting Co-authored-by: aslilac <aslilac@users.noreply.github.com> Co-authored-by: McKayla Washburn <mckayla@hey.com>
2022-06-09chore: Forward v1.22.3 to main (#14835)Colin Ihrig
* 1.22.3 (#14832) * chore: pin swc versions to fix cargo publish Co-authored-by: denobot <33910674+denobot@users.noreply.github.com> Co-authored-by: cjihrig <cjihrig@users.noreply.github.com> Co-authored-by: David Sherret <dsherret@gmail.com>
2022-06-02chore: Forward v1.22.2 to main (#14785)Bartek Iwańczuk
2022-05-271.22.1Kitson Kelly
Co-authored-by: Kitson Kelly <me@kitsonkelly.com> Co-authored-by: denobot <33910674+denobot@users.noreply.github.com>
2022-05-20refactor: upgrade to deno_ast 0.15 (#14680)David Sherret
2022-05-181.22.0 (#14657)denobot
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-05-121.21.3 (#14584)Bert Belder
2022-05-051.21.2 (#14508)Colin Ihrig
1.21.2
2022-04-28Forward 1.21.1 (#14428)Leo Kettmeir
2022-04-201.21.0 (#14336)denobot
Co-authored-by: ry <ry@users.noreply.github.com> Co-authored-by: David Sherret <dsherret@gmail.com>
2022-04-14chore: forward v1.20.6 release commit to main (#14288)David Sherret
2022-04-07chore: forward v1.20.5 release commit to main (#14232)David Sherret
2022-03-311.20.4 (#14168)David Sherret
2022-03-30build: use workflows for bumping versions and cargo publishing on the CI ↵David Sherret
(#13995)
2022-03-30chore: add semi-colon to compat/mod.rs export default output (#14154)David Sherret
2022-03-25chore: forward v1.20.3 release commit to main (#14121)Luca Casonato
2022-03-241.20.2Kitson Kelly
2022-03-23chore: remove all `pub(crate)`s from the cli crate (#14083)David Sherret
2022-03-22fix(compat): Changes an instance of collect::<Vec<_>>().join("") to ↵Yoav Lavi
collect::<String>() (#14082)
2022-03-16chore: fix build (#13997)Ryan Dahl
2022-03-16v1.20.0Ryan Dahl
2022-03-10v1.19.3Yoshiya Hinosawa
2022-03-031.19.2 (#13825)Satya Rohith
2022-02-27feat(compat): CJS/ESM interoperability (#13553)Bartek Iwańczuk
This commit adds CJS/ESM interoperability when running in --compat mode. Before executing files, they are analyzed and all CommonJS modules are transformed on the fly to a ES modules. This is done by utilizing analyze_cjs() functionality from deno_ast. After discovering exports and reexports, an ES module is rendered and saved in memory for later use. There's a caveat that all files ending with ".js" extension are considered as CommonJS modules (unless there's a related "package.json" with "type": "module").
2022-02-24chore: upgrade to Rust 1.59 (#13767)David Sherret
2022-02-241.19.1 (#13762)David Sherret
2022-02-17v1.19.0Bartek Iwańczuk
2022-02-07fix(compat): ESM resolver for package subpath (#13599)Bartek Iwańczuk
2022-02-04chore: forward v1.18.2 to main (#13595)Bartek Iwańczuk
2022-02-01refactor: integrate deno_graph breaking changes (#13495)Kitson Kelly
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-01-27chore: forward v1.18.1 to main (#13514)Bartek Iwańczuk
2022-01-201.18.0Divy Srivastava
2022-01-13chore: forward v1.17.3 to main (#13364)Bartek Iwańczuk
2022-01-07chore: update copyright to 2022 (#13306)Ryan Dahl
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2022-01-06chore: forward 1.17.2 to main (#13295)Bartek Iwańczuk