schema: 1

bugzilla:
  product: DevTools
  component: "General"

origin:
  name: source-map
  description: library to generate and consume the source map

  url: https://github.com/mozilla/source-map

  release: 13e54a38bfc62af93e80eea0240bb46acd6a330a (2025-07-10T08:07:05Z).
  revision: 13e54a38bfc62af93e80eea0240bb46acd6a330a

  license: BSD-3-Clause
  license-file: LICENSE

vendoring:
  url: https://github.com/mozilla/source-map
  source-hosting: github
  tracking: commit

  exclude:
    - "**"

  keep:
    - LICENSE

  include:
    - source-map.js
    - "lib/*.js"
    - "lib/*.wasm"

  update-actions:
    - action: move-file
      from: '{vendor_dir}/lib/read-wasm-browser.js'
      to: '{vendor_dir}/lib/read-wasm.js'

  patches:
    # Tweak read-wasm in order to support running in both Jest/Node and Firefox
    - read_wasm.patch
