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.5 to 2.0.6

3

get-source.js

@@ -47,4 +47,5 @@ "use strict";

catch (e) { return assign ({}, loc, { error: e }) }
} else {
return Promise.resolve (result)
}
return result
},

@@ -51,0 +52,0 @@ _resolve,

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

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

@@ -148,2 +148,10 @@ "use strict";

it ('adheres to async interface', () => {
return getSource.async ('./get-source.js').then (result => {
;(result.resolve ({ line: 1, column: 0 }) instanceof Promise).should.equal (true)
})
})
it ('supports even CHAINED sourcemaps! — ASYNC', () => {

@@ -150,0 +158,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