From 340839e9facfc5092e1d9fc3ff6b3b40d8256304 Mon Sep 17 00:00:00 2001 From: Evan Wallace Date: Thu, 15 Aug 2013 22:48:52 -0700 Subject: [PATCH] temporarily use my patched source-map library until Mozilla fixes theirs --- package.json | 4 ++-- source-map-support.js | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index eff5e2f..8f61615 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { "name": "source-map-support", "description": "Fixes stack traces for files with source maps", - "version": "0.2.1", + "version": "0.2.2", "main": "./source-map-support.js", "scripts": { "test": "node_modules/mocha/bin/mocha" }, "dependencies": { - "source-map": "0.1.26" + "source-map-typescript-fix": "0.1.27" }, "devDependencies": { "mocha": "1.8.1" diff --git a/source-map-support.js b/source-map-support.js index d96d610..7a996b5 100644 --- a/source-map-support.js +++ b/source-map-support.js @@ -1,4 +1,6 @@ -var SourceMapConsumer = require('source-map').SourceMapConsumer; +// Note: This is using source-map-typescript-fix instead of source-map until +// Mozilla fixes their library to parse source maps with duplicate names +var SourceMapConsumer = require('source-map-typescript-fix').SourceMapConsumer; var path = require('path'); var fs = require('fs');