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

get-source

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-source - npm Package Compare versions

Comparing version 2.0.7 to 2.0.8

11

get-source.js

@@ -116,6 +116,11 @@ "use strict";

catch (e) {
return {
path, text: '', error: e,
resolve (loc) { return assign ({}, loc, { error: e, sourceLine: '', sourceFile: file }) }
const noFile = {
path,
text: '',
error: e,
resolve (loc) {
return assign ({}, loc, { error: e, sourceLine: '', sourceFile: noFile })
}
}
return noFile
}

@@ -122,0 +127,0 @@ }

{
"name": "get-source",
"version": "2.0.7",
"version": "2.0.8",
"description": "Fetch source-mapped sources. Peek by file, line, column. Node & browsers. Sync & async.",

@@ -5,0 +5,0 @@ "main": "get-source",

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

resolved.sourceLine.should.equal ('')
resolved.sourceFile.should.be.instanceOf (Object)
resolved.sourceFile.path.should.equal ('abyrvalg')
})

@@ -189,0 +189,0 @@

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