← All tasks
javascriptrollup/plugins #1365Not a task: not reproduced

Update deprecated `magic-string`

envgap__rollup__plugins-1365

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
7b6255774053ef170d9302cbbd8f99d5a58485ed
Manifest
packages/commonjs/package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

rollup/plugins #1365 · read the original issue
Lowest versions of `magic-string` 0.27.0 dependency use the deprecated `sourcemap-codec` dependency (should be replaced with `@jridgewell/sourcemap-codec`).

`magic-string` dependency needs to be updated in:

- `@rollup/plugin-commonjs`

- `@rollup/plugin-dynamic-import-vars`

- `@rollup/plugin-inject`

- `@rollup/plugin-replace`

- `@rollup/plugin-strip`



### Steps to reproduce

- `yarn init -y`

- `yarn set version canary`

- `yarn add @rollup/plugin-replace`



### Expected Behavior

No warning log



### Actual Behavior

```console

➤ YN0000: ┌ Resolution step

➤ YN0061: │ sourcemap-codec@npm:1.4.8 is deprecated: Please use @jridgewell/sourcemap-codec instead

➤ YN0000: └ Completed

➤ YN0000: ┌ Fetch step

➤ YN0000: └ Completed

➤ YN0000: ┌ Link step

➤ YN0000: └ Completed

➤ YN0000: Done with warnings

```
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]