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.8 to 2.0.9

2

impl/path.js

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

return ((isBrowser && (result[0] === '/')) ? window.location.origin : '') + result
return ((isBrowser && (result[0] === '/')) ? result[1] === '/' ? window.location.protocol : window.location.origin : '') + result
},

@@ -48,0 +48,0 @@

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

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

@@ -76,2 +76,5 @@

path.relativeToFile ('http://foo.com/scripts/bar.js', '//bar.com/bar.js.map')
.should.equal ('http://bar.com/bar.js.map')
var loc = getSource ('../original.uglified.beautified.js').resolve ({ line: 2, column: 4 })

@@ -78,0 +81,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