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

get-source

Package Overview
Dependencies
Maintainers
1
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.2 to 1.0.3

6

get-source.js

@@ -85,5 +85,7 @@ "use strict";

if (this.sourceMap_ === undefined) {
let url = this.text.match (/\# sourceMappingURL=(.+\.map)/)
let url = this.text.match (/\u0023 sourceMappingURL=(.+\.map)/) // escape #, otherwise it will match this exact line.. %)
if (url = (url && url[1])) {
this.sourceMap_ = new SourceMap (this.path, url) } } }
this.sourceMap_ = new SourceMap (this.path, url) }
else {
this.sourceMap_ = null } } }

@@ -90,0 +92,0 @@ catch (e) {

{
"name": "get-source",
"version": "1.0.2",
"version": "1.0.3",
"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