diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-09-20 02:56:13 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-09-20 02:56:13 +0200 |
commit | bbff7403fbf46f9ad92240ac213df8d30ef31b64 (patch) | |
tree | c58400ec5124da1c7d56b01aea83309f80a56c3b /node_modules/babel-generator | |
parent | 003fb34971cf63466184351b4db5f7c67df4f444 (diff) | |
download | wallet-core-bbff7403fbf46f9ad92240ac213df8d30ef31b64.tar.xz |
update packages
Diffstat (limited to 'node_modules/babel-generator')
-rw-r--r-- | node_modules/babel-generator/lib/whitespace.js | 2 | ||||
-rw-r--r-- | node_modules/babel-generator/package.json | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/node_modules/babel-generator/lib/whitespace.js b/node_modules/babel-generator/lib/whitespace.js index cbb3bc501..e18d3acdf 100644 --- a/node_modules/babel-generator/lib/whitespace.js +++ b/node_modules/babel-generator/lib/whitespace.js @@ -47,7 +47,7 @@ var Whitespace = function () { --index; }startToken = tokens[index]; endToken = tokens[index + 1]; - if (endToken.type.label === ",") endToken = tokens[index + 2]; + if (endToken && endToken.type.label === ",") endToken = tokens[index + 2]; } if (endToken && endToken.type.label === "eof") { diff --git a/node_modules/babel-generator/package.json b/node_modules/babel-generator/package.json index 757a693ca..01acda15b 100644 --- a/node_modules/babel-generator/package.json +++ b/node_modules/babel-generator/package.json @@ -1,6 +1,6 @@ { "name": "babel-generator", - "version": "6.26.0", + "version": "6.26.1", "description": "Turns an AST into code.", "author": "Sebastian McKenzie <sebmck@gmail.com>", "homepage": "https://babeljs.io/", @@ -17,7 +17,7 @@ "detect-indent": "^4.0.0", "jsesc": "^1.3.0", "lodash": "^4.17.4", - "source-map": "^0.5.6", + "source-map": "^0.5.7", "trim-right": "^1.0.1" }, "devDependencies": { |