Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@parcel/source-map

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parcel/source-map - npm Package Compare versions

Comparing version 2.0.0-alpha.4.17 to 2.0.0-alpha.4.18

2

dist/node.js

@@ -61,3 +61,3 @@ "use strict";

let map = new NodeSourceMap(projectRoot);
map.addEmptyMap((0, _utils.relatifyPath)(sourceName, projectRoot), sourceContent, lineOffset);
map.addEmptyMap(sourceName, sourceContent, lineOffset);
return map;

@@ -64,0 +64,0 @@ }

@@ -58,3 +58,3 @@ "use strict";

addEmptyMap(sourceName, sourceContent, lineOffset = 0) {
this.sourceMapInstance.addEmptyMap(sourceName, sourceContent, lineOffset);
this.sourceMapInstance.addEmptyMap((0, _utils.relatifyPath)(sourceName, this.projectRoot), sourceContent, lineOffset);
return this;

@@ -61,0 +61,0 @@ }

{
"name": "@parcel/source-map",
"version": "2.0.0-alpha.4.17",
"version": "2.0.0-alpha.4.18",
"main": "./dist/node.js",
"types": "index.d.ts",
"browser": "./dist/wasm-browser.js",

@@ -6,0 +7,0 @@ "license": "MIT",

@@ -52,3 +52,3 @@ // @flow

let map = new NodeSourceMap(projectRoot);
map.addEmptyMap(relatifyPath(sourceName, projectRoot), sourceContent, lineOffset);
map.addEmptyMap(sourceName, sourceContent, lineOffset);
return map;

@@ -55,0 +55,0 @@ }

@@ -51,3 +51,3 @@ // @flow

addEmptyMap(sourceName: string, sourceContent: string, lineOffset: number = 0): SourceMap {
this.sourceMapInstance.addEmptyMap(sourceName, sourceContent, lineOffset);
this.sourceMapInstance.addEmptyMap(relatifyPath(sourceName, this.projectRoot), sourceContent, lineOffset);
return this;

@@ -54,0 +54,0 @@ }

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

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

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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