Skip to content
Evergreen Evergreen
Documentation

source-map-url is deprecated

Deprecated. The source gives no day. Replacement: convert-source-map. Source: source-map-url maintainer deprecation notice.

Check a version:

evergreen check pkg:npm/source-map-url

The maintainer deprecated source-map-url and recommends convert-source-map for working with source map comments.

Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>

   
Status Deprecated
Severity medium
Ecosystem npm
Component pkg:npm/source-map-url
Affected versions vers:npm/*
Date from the source The source gives no day
Replacement convert-source-map
Evidence last seen 2026-10-16
Reviewed 2026-10-16 by arminazimi, drafted by the npm-deprecated importer
Review due 2027-10-16 (365 days after the last review)
Rule ID npm.package.source-map-url.deprecated

Sources

Migration

Constraints

  • Preserve JavaScript and CSS comment forms, inline and external map URLs, insertion position, removal behavior, and malformed-input handling.

Steps

  1. Move to convert-source-map. Replace source-map-url parsing and mutation calls with convert-source-map equivalents and explicit handling for any unsupported comment forms.

Verification

  • npm run test --if-present: Run inline, external, JavaScript, CSS, malformed, and repository tests.

Detected by

The npm detector. See Detectors and Compatibility.

Same ecosystem

Data

This page is generated from registry/npm.json, rule npm.package.source-map-url.deprecated, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.

Last updated