@babel/helper-plugin-utils
Advanced tools
Comparing version
@@ -26,11 +26,9 @@ "use strict"; | ||
return (api, options, dirname) => { | ||
var _clonedApi2; | ||
let clonedApi; | ||
for (const name of Object.keys(apiPolyfills)) { | ||
var _clonedApi; | ||
if (api[name]) continue; | ||
(_clonedApi = clonedApi) != null ? _clonedApi : clonedApi = copyApiObject(api); | ||
clonedApi != null ? clonedApi : clonedApi = copyApiObject(api); | ||
clonedApi[name] = apiPolyfills[name](clonedApi); | ||
} | ||
return builder((_clonedApi2 = clonedApi) != null ? _clonedApi2 : api, options || {}, dirname); | ||
return builder(clonedApi != null ? clonedApi : api, options || {}, dirname); | ||
}; | ||
@@ -37,0 +35,0 @@ } |
{ | ||
"name": "@babel/helper-plugin-utils", | ||
"version": "7.26.5", | ||
"version": "7.27.1", | ||
"description": "General utilities for plugins to use", | ||
@@ -21,5 +21,5 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
"devDependencies": { | ||
"@babel/core": "^7.26.0" | ||
"@babel/core": "^7.27.1" | ||
}, | ||
"type": "commonjs" | ||
} |
Sorry, the diff of this file is not supported yet
11818
-1.39%75
-2.6%