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.22 to 1.0.23

7

impl/path.js

@@ -6,2 +6,3 @@ "use strict";

const isBrowser = (typeof window !== 'undefined') && (window.window === window) && window.navigator
const cwd = isBrowser ? window.location.href : process.cwd ()

@@ -25,7 +26,3 @@ /* ------------------------------------------------------------------------ */

if (isBrowser) {
return path.normalize (path.concat (window.location.href, x)) }
else {
return path.normalize (path.concat (process.cwd (), x)) }
return path.normalize (path.concat (cwd, x))
},

@@ -32,0 +29,0 @@

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

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

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