source-map
Advanced tools
Comparing version 0.1.31 to 0.1.32
# 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 @@ }; |
@@ -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); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
149732
3522