@babel/helper-create-class-features-plugin
Advanced tools
Comparing version 7.24.4 to 7.24.5
@@ -937,3 +937,3 @@ "use strict"; | ||
const [newPath] = path.replaceWith(newExpr); | ||
originalClassPath = newPath.get("callee").get("body").get("body")[0].get("key"); | ||
originalClassPath = newPath.get("callee").get("body").get("body.0.key"); | ||
} | ||
@@ -1135,6 +1135,6 @@ } | ||
for (const propertyPath of path.get("properties")) { | ||
if (!propertyPath.isObjectProperty()) continue; | ||
const { | ||
node | ||
} = propertyPath; | ||
if (node.type !== "ObjectProperty") continue; | ||
const id = node.key; | ||
@@ -1141,0 +1141,0 @@ const initializer = (0, _helperSkipTransparentExpressionWrappers.skipTransparentExprWrappers)(propertyPath.get("value")); |
@@ -100,8 +100,8 @@ "use strict"; | ||
if (typeof file.get(versionKey) === "number") { | ||
file.set(versionKey, "7.24.4"); | ||
file.set(versionKey, "7.24.5"); | ||
return; | ||
} | ||
} | ||
if (!file.get(versionKey) || _semver.lt(file.get(versionKey), "7.24.4")) { | ||
file.set(versionKey, "7.24.4"); | ||
if (!file.get(versionKey) || _semver.lt(file.get(versionKey), "7.24.5")) { | ||
file.set(versionKey, "7.24.5"); | ||
} | ||
@@ -114,3 +114,3 @@ }, | ||
var _ref; | ||
if (file.get(versionKey) !== "7.24.4") return; | ||
if (file.get(versionKey) !== "7.24.5") return; | ||
if (!(0, _features.shouldTransform)(path, file)) return; | ||
@@ -232,3 +232,3 @@ const pathIsClassDeclaration = path.isClassDeclaration(); | ||
{ | ||
if (file.get(versionKey) !== "7.24.4") return; | ||
if (file.get(versionKey) !== "7.24.5") return; | ||
const decl = path.get("declaration"); | ||
@@ -235,0 +235,0 @@ if (decl.isClassDeclaration() && (0, _decorators2.hasDecorators)(decl.node)) { |
{ | ||
"name": "@babel/helper-create-class-features-plugin", | ||
"version": "7.24.4", | ||
"version": "7.24.5", | ||
"author": "The Babel Team (https://babel.dev/team)", | ||
@@ -24,7 +24,7 @@ "license": "MIT", | ||
"@babel/helper-function-name": "^7.23.0", | ||
"@babel/helper-member-expression-to-functions": "^7.23.0", | ||
"@babel/helper-member-expression-to-functions": "^7.24.5", | ||
"@babel/helper-optimise-call-expression": "^7.22.5", | ||
"@babel/helper-replace-supers": "^7.24.1", | ||
"@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", | ||
"@babel/helper-split-export-declaration": "^7.22.6", | ||
"@babel/helper-split-export-declaration": "^7.24.5", | ||
"semver": "^6.3.1" | ||
@@ -36,5 +36,5 @@ }, | ||
"devDependencies": { | ||
"@babel/core": "^7.24.4", | ||
"@babel/core": "^7.24.5", | ||
"@babel/helper-plugin-test-runner": "^7.24.1", | ||
"@babel/preset-env": "^7.24.4", | ||
"@babel/preset-env": "^7.24.5", | ||
"@types/charcodes": "^0.2.0", | ||
@@ -41,0 +41,0 @@ "charcodes": "^0.2.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
502371
19
3033