@babel/helper-split-export-declaration
Advanced tools
Comparing version 7.21.4-esm to 7.21.4-esm.1
@@ -1,8 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.default = splitExportDeclaration; | ||
var _t = require("@babel/types"); | ||
import * as _t from "@babel/types"; | ||
const { | ||
@@ -16,3 +10,3 @@ cloneNode, | ||
} = _t; | ||
function splitExportDeclaration(exportDeclaration) { | ||
export default function splitExportDeclaration(exportDeclaration) { | ||
if (!exportDeclaration.isExportDeclaration() || exportDeclaration.isExportAllDeclaration()) { | ||
@@ -19,0 +13,0 @@ throw new Error("Only default and named export declarations can be split."); |
{ | ||
"name": "@babel/helper-split-export-declaration", | ||
"version": "7.21.4-esm", | ||
"version": "7.21.4-esm.1", | ||
"description": "", | ||
@@ -17,3 +17,3 @@ "repository": { | ||
"dependencies": { | ||
"@babel/types": "^7.21.4-esm" | ||
"@babel/types": "^7.21.4-esm.1" | ||
}, | ||
@@ -24,3 +24,3 @@ "engines": { | ||
"author": "The Babel Team (https://babel.dev/team)", | ||
"type": "commonjs" | ||
"type": "module" | ||
} |
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
Yes
10060
48
Updated@babel/types@^7.21.4-esm.1