Socket
Socket
Sign inDemoInstall

karma-sourcemap-loader

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-sourcemap-loader - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

.idea/.name

7

index.js

@@ -43,3 +43,8 @@ var fs = require('fs');

var lastLine = content.split(new RegExp(require('os').EOL)).pop();
var lines = content.split(new RegExp(require('os').EOL));
var lastLine = lines.pop();
while (new RegExp("^\\s*$").test(lastLine)) {
lastLine = lines.pop();
}
var match = lastLine.match(/^\/\/#\s*sourceMappingURL=(.+)$/);

@@ -46,0 +51,0 @@ var mapUrl = match && match[1];

2

package.json
{
"name": "karma-sourcemap-loader",
"version": "0.3.2",
"version": "0.3.3",
"description": "Karma plugin that locates and loads existing javascript source map files.",

@@ -5,0 +5,0 @@ "main": "index.js",

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