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

source-map

Package Overview
Dependencies
Maintainers
3
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

source-map - npm Package Compare versions

Comparing version 0.1.31 to 0.1.32

11

CHANGELOG.md
# Change Log
## 0.1.32
* Fixed a bug where SourceMapConsumer couldn't handle negative relative columns
(issue 92).
* Fixed test runner to actually report number of failed tests as its process
exit code.
* Fixed a typo when reporting bad mappings (issue 87).
## 0.1.31

@@ -112,2 +122,1 @@

* Added sourcesContent support to the customer and generator.

@@ -260,2 +260,3 @@ /* -*- Mode: js; js-indent-level: 2; -*- */

this.__generatedMappings.sort(util.compareByGeneratedPositions);
this.__originalMappings.sort(util.compareByOriginalPositions);

@@ -262,0 +263,0 @@ };

2

lib/source-map/source-map-generator.js

@@ -255,3 +255,3 @@ /* -*- Mode: js; js-indent-level: 2; -*- */

source: aSource,
orginal: aOriginal,
original: aOriginal,
name: aName

@@ -258,0 +258,0 @@ }));

{
"name": "source-map",
"description": "Generates and consumes source maps",
"version": "0.1.31",
"version": "0.1.32",
"homepage": "https://github.com/mozilla/source-map",

@@ -23,3 +23,5 @@ "author": "Nick Fitzgerald <nfitzgerald@mozilla.com>",

"Evan Wallace <evan.exe@gmail.com>",
"Heather Arthur <fayearthur@gmail.com>"
"Heather Arthur <fayearthur@gmail.com>",
"Hugh Kennedy <hughskennedy@gmail.com>",
"David Glasser <glasser@davidglasser.net>"
],

@@ -26,0 +28,0 @@ "repository": {

@@ -14,3 +14,2 @@ #!/usr/bin/env node

function run(tests) {
var failures = [];
var total = 0;

@@ -35,18 +34,9 @@ var passed = 0;

console.log("");
console.log('');
console.log(passed + ' / ' + total + ' tests passed.');
console.log("");
console.log('');
failures.forEach(function (f) {
});
return failures.length;
return total - passed;
}
var code;
process.stdout.on('close', function () {
process.exit(code);
});
function isTestFile(f) {

@@ -67,3 +57,3 @@ var testToRun = process.argv[2];

code = run(requires.map(require).map(function (mod, i) {
var code = run(requires.map(require).map(function (mod, i) {
return {

@@ -74,2 +64,3 @@ name: requires[i],

}));
process.exit(code);
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