From 0469abd4a9c9270a1fdc962969e36e63699af8b4 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 10 Dec 2017 21:51:33 +0100 Subject: upgrade dependencies --- node_modules/source-map/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'node_modules/source-map/README.md') diff --git a/node_modules/source-map/README.md b/node_modules/source-map/README.md index 99d38618d..32813394a 100644 --- a/node_modules/source-map/README.md +++ b/node_modules/source-map/README.md @@ -266,7 +266,7 @@ and an object is returned with the following properties: * `line`: The line number in the original source, or null if this information is not available. -* `column`: The column number in the original source, or null or null if this +* `column`: The column number in the original source, or null if this information is not available. * `name`: The original identifier, or null if this information is not available. @@ -566,7 +566,7 @@ Creates a SourceNode from generated code and a SourceMapConsumer. should be relative to. ```js -var consumer = new SourceMapConsumer(fs.readFileSync("path/to/my-file.js.map")); +var consumer = new SourceMapConsumer(fs.readFileSync("path/to/my-file.js.map", "utf8")); var node = SourceNode.fromStringWithSourceMap(fs.readFileSync("path/to/my-file.js"), consumer); ``` -- cgit v1.2.3