1 2 3 4 5 6 7 8 9 10 11 12 13
|
Description: Use source-map-js instead of source-map
source-map >= 0.7 has an async API which is incompatible.
source-map-js is a synchronous fork of source-map 0.6.
Forwarded: not-needed
--- a/index.js
+++ b/index.js
@@ -1,5 +1,5 @@
'use strict';
-var SourceMapGenerator = require('source-map').SourceMapGenerator;
+var SourceMapGenerator = require('source-map-js').SourceMapGenerator;
function offsetMapping(mapping, offset) {
return { line: offset.line + mapping.line, column: offset.column + mapping.column };
|