browserify / browserify/static-module

Npm warning about `sourcemap-codec@1.4.8` package

Open
#63 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
75
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Upon running `npm ci`, I notice the following warning:

```
npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
```

Running `npm list sourcemap-codec@1.4.8` produces the following output:

```
...
─┬ static-module@3.0.4
└─┬ magic-string@0.25.1
└── sourcemap-codec@1.4.8
```
The latest version (`0.30.0`) of `magic-string` seems to have fixed the issue.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the package dependency declarations and running npm list sourcemap-codec@1.4.8 to confirm how static-module@3.0.4 brings in the deprecated package. Update the relevant dependency path to eliminate the npm ci warning, then run npm ci and verify that the warning no longer appears.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
build-system, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.