@babel/types
Advanced tools
Comparing version 7.22.15 to 7.22.17
@@ -661,3 +661,3 @@ "use strict"; | ||
} | ||
function classDeclaration(id, superClass = null, body, decorators = null) { | ||
function classDeclaration(id = null, superClass = null, body, decorators = null) { | ||
return (0, _validateNode.default)({ | ||
@@ -664,0 +664,0 @@ type: "ClassDeclaration", |
@@ -982,3 +982,4 @@ "use strict"; | ||
id: { | ||
validate: (0, _utils.assertNodeType)("Identifier") | ||
validate: (0, _utils.assertNodeType)("Identifier"), | ||
optional: true | ||
}, | ||
@@ -985,0 +986,0 @@ typeParameters: { |
"use strict"; | ||
if (typeof process === "object" && process.version === "v20.6.0") { | ||
if (exports["___internal__alreadyRunning" + ""]) return; | ||
Object.defineProperty(exports, "___internal__alreadyRunning", { | ||
value: true, | ||
enumerable: false, | ||
configurable: true | ||
}); | ||
} | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -569,3 +577,4 @@ value: true | ||
exports.react = react; | ||
if (typeof process === "object" && process.version === "v20.6.0") delete exports["___internal__alreadyRunning" + ""]; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@babel/types", | ||
"version": "7.22.15", | ||
"version": "7.22.17", | ||
"description": "Babel Types is a Lodash-esque utility library for AST nodes", | ||
@@ -33,3 +33,3 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
"@babel/generator": "^7.22.15", | ||
"@babel/parser": "^7.22.15", | ||
"@babel/parser": "^7.22.16", | ||
"glob": "^7.2.0" | ||
@@ -36,0 +36,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No License Found
License(Experimental) License information could not be found
Found 1 instance in 1 package
2399080
20274
1