Skip to content

Support node 18+ #247

@NateRadebaugh

Description

@NateRadebaugh

Description
Running npx source-map-explorer ./dist/main*.js files in node 18.x but works in node 16.x

Steps to reproduce

  1. Go to a project you want to analyze
  2. Run npx source-map-explorer in node 18.x
  3. See error:
    • You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer

Expected behavior
Explorer should work in both node 16 and newer 18.x current version

Environment

  • OS: macOS Ventura 13.5.1
  • source-map-explorer Version 2.5.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions