diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-12-10 21:51:33 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-12-10 21:51:33 +0100 |
commit | 0469abd4a9c9270a1fdc962969e36e63699af8b4 (patch) | |
tree | f9864d4a4148621378958794cbbfdc2393733283 /node_modules/source-map/README.md | |
parent | 6947e79bbc258f7bc96af424ddb71a511f0c15a3 (diff) |
upgrade dependencies
Diffstat (limited to 'node_modules/source-map/README.md')
-rw-r--r-- | node_modules/source-map/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
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); ``` |