Socket
Socket
Sign inDemoInstall

@jridgewell/source-map

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jridgewell/source-map - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

7

dist/source-map.umd.js

@@ -901,3 +901,8 @@ (function (global, factory) {

constructor(map, mapUrl) {
this._map = new AnyMap(map, mapUrl);
const trace = (this._map = new AnyMap(map, mapUrl));
this.file = trace.file;
this.names = trace.names;
this.sourceRoot = trace.sourceRoot;
this.sources = trace.resolvedSources;
this.sourcesContent = trace.sourcesContent;
}

@@ -904,0 +909,0 @@ originalPositionFor(needle) {

@@ -7,2 +7,7 @@ import { AnyMap, originalPositionFor } from '@jridgewell/trace-mapping';

private _map;
file: TraceMap['file'];
names: TraceMap['names'];
sourceRoot: TraceMap['sourceRoot'];
sources: TraceMap['sources'];
sourcesContent: TraceMap['sourcesContent'];
constructor(map: ConstructorParameters<typeof AnyMap>[0], mapUrl: Parameters<typeof AnyMap>[1]);

@@ -9,0 +14,0 @@ originalPositionFor(needle: Parameters<typeof originalPositionFor>[1]): ReturnType<typeof originalPositionFor>;

2

package.json
{
"name": "@jridgewell/source-map",
"version": "0.3.0",
"version": "0.3.1",
"description": "Packages @jridgewell/trace-mapping and @jridgewell/gen-mapping into the familiar source-map API",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc