@babel/generator
Advanced tools
Comparing version 7.16.0 to 7.16.5
@@ -399,3 +399,3 @@ "use strict"; | ||
if (parent.type === "ObjectTypeCallProperty" || parent.type === "DeclareFunction" || parent.type === "ObjectTypeProperty" && parent.method) { | ||
if (parent && (parent.type === "ObjectTypeCallProperty" || parent.type === "DeclareFunction" || parent.type === "ObjectTypeProperty" && parent.method)) { | ||
this.token(":"); | ||
@@ -402,0 +402,0 @@ } else { |
{ | ||
"name": "@babel/generator", | ||
"version": "7.16.0", | ||
"version": "7.16.5", | ||
"description": "Turns an AST into code.", | ||
@@ -27,4 +27,4 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
"devDependencies": { | ||
"@babel/helper-fixtures": "^7.16.0", | ||
"@babel/parser": "^7.16.0", | ||
"@babel/helper-fixtures": "^7.16.5", | ||
"@babel/parser": "^7.16.5", | ||
"@types/jsesc": "^2.5.0", | ||
@@ -31,0 +31,0 @@ "@types/source-map": "^0.5.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
118206