@babel/generator
Advanced tools
Comparing version 7.22.15 to 7.23.0
@@ -15,2 +15,3 @@ "use strict"; | ||
exports.ImportDefaultSpecifier = ImportDefaultSpecifier; | ||
exports.ImportExpression = ImportExpression; | ||
exports.ImportNamespaceSpecifier = ImportNamespaceSpecifier; | ||
@@ -202,2 +203,6 @@ exports.ImportSpecifier = ImportSpecifier; | ||
this.space(); | ||
} else if (node.phase) { | ||
this.noIndentInnerCommentsHere(); | ||
this.word(node.phase); | ||
this.space(); | ||
} | ||
@@ -255,3 +260,18 @@ const specifiers = node.specifiers.slice(0); | ||
} | ||
function ImportExpression(node) { | ||
this.word("import"); | ||
if (node.phase) { | ||
this.tokenChar(46); | ||
this.word(node.phase); | ||
} | ||
this.tokenChar(40); | ||
this.print(node.source, node); | ||
if (node.options != null) { | ||
this.tokenChar(44); | ||
this.space(); | ||
this.print(node.options, node); | ||
} | ||
this.tokenChar(41); | ||
} | ||
//# sourceMappingURL=modules.js.map |
{ | ||
"name": "@babel/generator", | ||
"version": "7.22.15", | ||
"version": "7.23.0", | ||
"description": "Turns an AST into code.", | ||
@@ -22,3 +22,3 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
"dependencies": { | ||
"@babel/types": "^7.22.15", | ||
"@babel/types": "^7.23.0", | ||
"@jridgewell/gen-mapping": "^0.3.2", | ||
@@ -29,4 +29,4 @@ "@jridgewell/trace-mapping": "^0.3.17", | ||
"devDependencies": { | ||
"@babel/helper-fixtures": "^7.22.13", | ||
"@babel/parser": "^7.22.15", | ||
"@babel/helper-fixtures": "^7.22.19", | ||
"@babel/parser": "^7.23.0", | ||
"@jridgewell/sourcemap-codec": "^1.4.15", | ||
@@ -33,0 +33,0 @@ "@types/jsesc": "^2.5.0", |
Sorry, the diff of this file is not supported yet
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
487035
4797
5
26
Updated@babel/types@^7.23.0