aspect-build / rules_swc

Bazel rules for the swc toolchain https://swc.rs/
https://docs.aspect.build/rules/aspect_rules_swc
Apache License 2.0
44 stars 24 forks source link

fix: update transitive `@swc/cli` dependencies #73

Closed wtgtybhertgeghgtwtg closed 2 years ago

wtgtybhertgeghgtwtg commented 2 years ago

I was running into an issue with source maps and found it was identical to https://github.com/sveltejs/svelte/issues/7728. The fix over there was updating source-map (since source-map@0.7.3 checks for the environment by the existence of fetch, which is now included in Node, and source-map@0.7.4 replaces this with a window check). Since source-map is a transitive dependency of @swc/cli, it's part of the pnpm-lock.yaml included, but it's currently locked to source-map@0.7.3. So, this PR was just the result of updating that, which fixes the source map issue.

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

wtgtybhertgeghgtwtg commented 2 years ago

The issue this sets out to resolve is still present in the v0.16.0 release.

wtgtybhertgeghgtwtg commented 2 years ago

Thank you for merging.