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 1.0.12 to 1.0.13

4

impl/path.js

@@ -48,2 +48,4 @@ "use strict";

isData: x => x.indexOf ('data:') === 0,
isAbsolute: x => (x[0] === '/') || /^[^\/]*:/.test (x),

@@ -53,3 +55,3 @@

return path.isAbsolute (b) ?
return (path.isData (a) || path.isAbsolute (b)) ?
path.normalize (b) :

@@ -56,0 +58,0 @@ path.normalize (path.concat (a.split ('/').slice (0, -1).join ('/'), b))

{
"name": "get-source",
"version": "1.0.12",
"version": "1.0.13",
"description": "Platform-agnostic source code inspection, with sourcemaps support",

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

@@ -48,2 +48,4 @@ "use strict";

path.relativeToFile ('data:application/json;charset=utf-8;base64,eyJ2ZXJza==', 'foo.js')
.should.equal ( 'foo.js')
})

@@ -50,0 +52,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