fix(es/helpers): Use .mjs extension in helper imports (#4979)

This commit is contained in:
Devon Govett 2022-06-16 00:23:02 -07:00 committed by GitHub
parent 7ffcc88d74
commit 9484cf81a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
41 changed files with 267 additions and 189 deletions

View File

@ -18,6 +18,7 @@ env:
DIFF: 0
# https://github.com/swc-project/swc/pull/3742
RUST_MIN_STACK: 4194304
CI: 1
jobs:
check-license:
@ -375,6 +376,12 @@ jobs:
run: |
jest -v && mocha --version
- name: Configure helpers
shell: bash
run: |
(cd packages/swc-helpers && yarn && yarn build)
yarn add --dev ./packages/swc-helpers
- name: Configure execution cache
shell: bash
run: |

View File

@ -1,10 +1,12 @@
use std::{
env,
fs::{create_dir_all, rename},
path::{Component, Path, PathBuf},
sync::Arc,
};
use anyhow::{bail, Context, Error};
use once_cell::sync::Lazy;
use swc::{
config::{Config, JsMinifyOptions, JscConfig, ModuleConfig, Options, SourceMapsConfig},
try_with_handler, BoolOrDataConfig, Compiler, HandlerOpts,
@ -42,6 +44,57 @@ where
{
}
fn init_helpers() -> Arc<PathBuf> {
static BUILD_HELPERS: Lazy<Arc<PathBuf>> = Lazy::new(|| {
let project_root = PathBuf::from(env::var("CARGO_MANIFEST_DIR").unwrap())
.parent()
.unwrap()
.parent()
.unwrap()
.to_path_buf();
let helper_dir = project_root.join("packages").join("swc-helpers");
if env::var("CI").as_deref() == Ok("1") {
return Arc::new(helper_dir);
}
{
let mut cmd = std::process::Command::new("yarn");
cmd.current_dir(&helper_dir).arg("upgrade").arg("@swc/core");
let status = cmd.status().expect("failed to update swc core");
assert!(status.success());
}
{
let mut cmd = std::process::Command::new("yarn");
cmd.current_dir(&helper_dir).arg("build");
let status = cmd.status().expect("failed to compile helper package");
assert!(status.success());
}
{
let mut cmd = std::process::Command::new("yarn");
cmd.current_dir(&helper_dir).arg("link");
let status = cmd.status().expect("failed to link helper package");
assert!(status.success());
}
{
let mut cmd = std::process::Command::new("yarn");
cmd.current_dir(&project_root)
.arg("link")
.arg("@swc/helpers");
let status = cmd
.status()
.expect("failed to link helper package from root");
assert!(status.success());
}
Arc::new(helper_dir)
});
BUILD_HELPERS.clone()
}
fn create_matrix(entry: &Path) -> Vec<Options> {
[
EsVersion::Es2022,
@ -74,49 +127,52 @@ fn create_matrix(entry: &Path) -> Vec<Options> {
})
.matrix_bool()
.matrix_bool()
.matrix_bool()
.into_iter()
.map(|(((target, syntax), minify), source_map)| {
// Actual
Options {
config: Config {
jsc: JscConfig {
syntax: Some(syntax),
transform: None.into(),
external_helpers: false.into(),
target: Some(target),
minify: if minify {
Some(JsMinifyOptions {
compress: BoolOrDataConfig::from_bool(true),
mangle: BoolOrDataConfig::from_bool(true),
format: Default::default(),
ecma: Default::default(),
keep_classnames: Default::default(),
keep_fnames: Default::default(),
module: Default::default(),
safari10: Default::default(),
toplevel: Default::default(),
source_map: Default::default(),
output_path: Default::default(),
inline_sources_content: Default::default(),
emit_source_map_columns: Default::default(),
})
} else {
None
.map(
|((((target, syntax), minify), external_helpers), source_map)| {
// Actual
Options {
config: Config {
jsc: JscConfig {
syntax: Some(syntax),
transform: None.into(),
external_helpers: external_helpers.into(),
target: Some(target),
minify: if minify {
Some(JsMinifyOptions {
compress: BoolOrDataConfig::from_bool(true),
mangle: BoolOrDataConfig::from_bool(true),
format: Default::default(),
ecma: Default::default(),
keep_classnames: Default::default(),
keep_fnames: Default::default(),
module: Default::default(),
safari10: Default::default(),
toplevel: Default::default(),
source_map: Default::default(),
output_path: Default::default(),
inline_sources_content: Default::default(),
emit_source_map_columns: Default::default(),
})
} else {
None
},
..Default::default()
},
module: Some(ModuleConfig::CommonJs(Default::default())),
minify: minify.into(),
..Default::default()
},
module: Some(ModuleConfig::CommonJs(Default::default())),
minify: minify.into(),
source_maps: if source_map {
Some(SourceMapsConfig::Str("inline".into()))
} else {
None
},
..Default::default()
},
source_maps: if source_map {
Some(SourceMapsConfig::Str("inline".into()))
} else {
None
},
..Default::default()
}
})
}
},
)
.collect::<Vec<_>>()
}
@ -124,6 +180,8 @@ fn create_matrix(entry: &Path) -> Vec<Options> {
#[testing::fixture("tests/exec/**/exec.mjs")]
#[testing::fixture("tests/exec/**/exec.ts")]
fn run_fixture_test(entry: PathBuf) {
let _ = init_helpers();
let _guard = testing::init();
let matrix = create_matrix(&entry);

View File

@ -1,5 +1,5 @@
"use strict";
var _interop_require_wildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
var _interop_require_wildcard = require("../../../../../../../../../packages/swc-helpers/src/_interop_require_wildcard.mjs").default;
(async function() {
const { displayA } = await Promise.resolve().then(function() {
return _interop_require_wildcard(require("../packages/a/src/index"));

View File

@ -1,4 +1,4 @@
"use strict";
var _interop_require_default = require("@swc/helpers/lib/_interop_require_default.js").default;
var _interop_require_default = require("../../../../../../../packages/swc-helpers/src/_interop_require_default.mjs").default;
var _a = _interop_require_default(require("./subfolder/A"));
console.log(_a.default);

View File

@ -1,4 +1,4 @@
"use strict";
var _interop_require_default = require("@swc/helpers/lib/_interop_require_default.js").default;
var _interop_require_default = require("../../../../../../../../packages/swc-helpers/src/_interop_require_default.mjs").default;
var _handlebars = _interop_require_default(require("handlebars"));
console.log(_handlebars.default);

View File

@ -7,8 +7,8 @@
"main": "lib/index.js",
"sideEffects": false,
"scripts": {
"build": "swc -V && swc src -d lib",
"prepublishOnly": "swc src -d lib"
"build": "swc -V && bash ./scripts/build.sh",
"prepublishOnly": "bash ./scripts/build.sh"
},
"repository": {
"type": "git",

View File

@ -0,0 +1,13 @@
#/usr/bin/env bash
set -eux
npx swc src -d lib
ls -alR ./lib
# fsync
if [[ "$OSTYPE" == 'darwin'* ]]; then
sed -i '' 's/.mjs/.js/g' ./lib/*.js
else
sed -i 's/.mjs/.js/g' ./lib/*.js
fi

View File

@ -20,5 +20,5 @@ for src in $lines; do
if [ $name = "throw" ]; then
name='_throw';
fi
echo "export { default as $name } from './$src';"
echo "export { default as $name } from './$src.mjs';"
done

View File

@ -1,4 +1,4 @@
import _arrayLikeToArray from './_array_like_to_array';
import _arrayLikeToArray from './_array_like_to_array.mjs';
export default function _arrayWithoutHoles(arr) {
if (Array.isArray(arr)) return _arrayLikeToArray(arr);

View File

@ -1,4 +1,4 @@
import AwaitValue from './_await_value';
import AwaitValue from './_await_value.mjs';
export default function AsyncGenerator(gen) {
var front, back;

View File

@ -1,4 +1,4 @@
import AwaitValue from './_await_value';
import AwaitValue from './_await_value.mjs';
export default function _awaitAsyncGenerator(value) {
return new AwaitValue(value);

View File

@ -1,5 +1,5 @@
import classExtractFieldDescriptor from './_class_extract_field_descriptor';
import classApplyDescriptorDestructureSet from './_class_apply_descriptor_destructure';
import classExtractFieldDescriptor from './_class_extract_field_descriptor.mjs';
import classApplyDescriptorDestructureSet from './_class_apply_descriptor_destructure.mjs';
export default function _classPrivateFieldDestructureSet(receiver, privateMap) {
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");

View File

@ -1,5 +1,5 @@
import classExtractFieldDescriptor from './_class_extract_field_descriptor';
import classApplyDescriptorGet from './_class_apply_descriptor_get';
import classExtractFieldDescriptor from './_class_extract_field_descriptor.mjs';
import classApplyDescriptorGet from './_class_apply_descriptor_get.mjs';
export default function _classPrivateFieldGet(receiver, privateMap) {
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get");

View File

@ -1,4 +1,4 @@
import _checkPrivateRedeclaration from "./_check_private_redeclaration";
import _checkPrivateRedeclaration from "./_check_private_redeclaration.mjs";
export default function _classPrivateFieldInit(obj, privateMap, value) {
_checkPrivateRedeclaration(obj, privateMap);

View File

@ -1,5 +1,5 @@
import classExtractFieldDescriptor from './_class_extract_field_descriptor';
import classApplyDescriptorSet from './_class_apply_descriptor_set';
import classExtractFieldDescriptor from './_class_extract_field_descriptor.mjs';
import classApplyDescriptorSet from './_class_apply_descriptor_set.mjs';
export default function _classPrivateFieldSet(receiver, privateMap, value) {
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");

View File

@ -1,5 +1,5 @@
import classExtractFieldDescriptor from "./_class_extract_field_descriptor";
import classApplyDescriptorUpdate from "./_class_apply_descriptor_update";
import classExtractFieldDescriptor from "./_class_extract_field_descriptor.mjs";
import classApplyDescriptorUpdate from "./_class_apply_descriptor_update.mjs";
export default function _classPrivateFieldUpdate(receiver, privateMap) {
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "update");

View File

@ -1,4 +1,4 @@
import _checkPrivateRedeclaration from "./_check_private_redeclaration";
import _checkPrivateRedeclaration from "./_check_private_redeclaration.mjs";
export default function _classPrivateMethodInit(obj, privateSet) {
_checkPrivateRedeclaration(obj, privateSet);

View File

@ -1,6 +1,6 @@
import classCheckPrivateStaticAccess from './_class_check_private_static_access';
import classCheckPrivateStaticFieldDescriptor from './_class_check_private_static_access';
import classApplyDescriptorDestructureSet from './_class_apply_descriptor_destructure';
import classCheckPrivateStaticAccess from './_class_check_private_static_access.mjs';
import classCheckPrivateStaticFieldDescriptor from './_class_check_private_static_access.mjs';
import classApplyDescriptorDestructureSet from './_class_apply_descriptor_destructure.mjs';
export default function _classStaticPrivateFieldDestructureSet(receiver, classConstructor, descriptor) {
classCheckPrivateStaticAccess(receiver, classConstructor);

View File

@ -1,6 +1,6 @@
import classCheckPrivateStaticAccess from './_class_check_private_static_access';
import classCheckPrivateStaticFieldDescriptor from './_class_check_private_static_access';
import classApplyDescriptorGet from './_class_apply_descriptor_get';
import classCheckPrivateStaticAccess from './_class_check_private_static_access.mjs';
import classCheckPrivateStaticFieldDescriptor from './_class_check_private_static_access.mjs';
import classApplyDescriptorGet from './_class_apply_descriptor_get.mjs';
export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
classCheckPrivateStaticAccess(receiver, classConstructor);

View File

@ -1,6 +1,6 @@
import classCheckPrivateStaticAccess from './_class_check_private_static_access';
import classCheckPrivateStaticFieldDescriptor from './_class_check_private_static_access';
import classApplyDescriptorSet from './_class_apply_descriptor_set';
import classCheckPrivateStaticAccess from './_class_check_private_static_access.mjs';
import classCheckPrivateStaticFieldDescriptor from './_class_check_private_static_access.mjs';
import classApplyDescriptorSet from './_class_apply_descriptor_set.mjs';
export default function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
classCheckPrivateStaticAccess(receiver, classConstructor);

View File

@ -1,6 +1,6 @@
import classCheckPrivateStaticAccess from './_class_check_private_static_access';
import classCheckPrivateStaticFieldDescriptor from './_class_check_private_static_access';
import classApplyDescriptorUpdate from './_class_apply_descriptor_update';
import classCheckPrivateStaticAccess from './_class_check_private_static_access.mjs';
import classCheckPrivateStaticFieldDescriptor from './_class_check_private_static_access.mjs';
import classApplyDescriptorUpdate from './_class_apply_descriptor_update.mjs';
export default function _classStaticPrivateFieldUpdate(receiver, classConstructor, descriptor) {
classCheckPrivateStaticAccess(receiver, classConstructor);

View File

@ -1,4 +1,4 @@
import _setPrototypeOf from "./_set_prototype_of";
import _setPrototypeOf from "./_set_prototype_of.mjs";
function isNativeReflectConstruct() {
if (typeof Reflect === "undefined" || !Reflect.construct) return false;

View File

@ -1,6 +1,6 @@
import _isNativeReflectConstruct from "./_is_native_reflect_construct";
import _getPrototypeOf from "./_get_prototype_of";
import _possibleConstructorReturn from './_possible_constructor_return';
import _isNativeReflectConstruct from "./_is_native_reflect_construct.mjs";
import _getPrototypeOf from "./_get_prototype_of.mjs";
import _possibleConstructorReturn from './_possible_constructor_return.mjs';
export default function _createSuper(Derived) {
var hasNativeReflectConstruct = _isNativeReflectConstruct();

View File

@ -1,5 +1,5 @@
import toArray from './_to_array';
import toPropertyKey from './_to_property_key';
import toArray from './_to_array.mjs';
import toPropertyKey from './_to_property_key.mjs';
export default function _decorate(decorators, factory, superClass) {
var r = factory(function initialize(O) {

View File

@ -1,4 +1,4 @@
import superPropBase from './_super_prop_base';
import superPropBase from './_super_prop_base.mjs';
function get(target, property, receiver) {
if (typeof Reflect !== "undefined" && Reflect.get) {

View File

@ -1,4 +1,4 @@
import setPrototypeOf from './_set_prototype_of';
import setPrototypeOf from './_set_prototype_of.mjs';
export default function _inherits(subClass, superClass) {
if (typeof superClass !== "function" && superClass !== null) {

View File

@ -1,4 +1,4 @@
import defineProperty from './_define_property';
import defineProperty from './_define_property.mjs';
export default function _objectSpread(target) {
for (var i = 1; i < arguments.length; i++) {

View File

@ -1,4 +1,4 @@
import objectWithoutPropertiesLoose from './_object_without_properties_loose';
import objectWithoutPropertiesLoose from './_object_without_properties_loose.mjs';
export default function _objectWithoutProperties(source, excluded) {
if (source == null) return {};

View File

@ -1,5 +1,5 @@
import assertThisInitialized from './_assert_this_initialized';
import _typeof from './_type_of';
import assertThisInitialized from './_assert_this_initialized.mjs';
import _typeof from './_type_of.mjs';
export default function _possibleConstructorReturn(self, call) {
if (call && (_typeof(call) === "object" || typeof call === "function")) {

View File

@ -1,5 +1,5 @@
import defineProperty from './_define_property';
import superPropBase from './_super_prop_base';
import defineProperty from './_define_property.mjs';
import superPropBase from './_super_prop_base.mjs';
function set(target, property, value, receiver) {
if (typeof Reflect !== "undefined" && Reflect.set) {

View File

@ -1,7 +1,7 @@
import arrayWithHoles from './_array_with_holes';
import iterableToArrayLimit from './_iterable_to_array';
import nonIterableRest from './_non_iterable_rest';
import unsupportedIterableToArray from './_unsupported_iterable_to_array';
import arrayWithHoles from './_array_with_holes.mjs';
import iterableToArrayLimit from './_iterable_to_array.mjs';
import nonIterableRest from './_non_iterable_rest.mjs';
import unsupportedIterableToArray from './_unsupported_iterable_to_array.mjs';
export default function _slicedToArray(arr, i) {
return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();

View File

@ -1,7 +1,7 @@
import arrayWithHoles from './_array_with_holes';
import iterableToArrayLimitLoose from './_iterable_to_array_limit_loose';
import nonIterableRest from './_non_iterable_rest';
import unsupportedIterableToArray from './_unsupported_iterable_to_array';
import arrayWithHoles from './_array_with_holes.mjs';
import iterableToArrayLimitLoose from './_iterable_to_array_limit_loose.mjs';
import nonIterableRest from './_non_iterable_rest.mjs';
import unsupportedIterableToArray from './_unsupported_iterable_to_array.mjs';
export default function _slicedToArrayLoose(arr, i) {
return arrayWithHoles(arr) || iterableToArrayLimitLoose(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();

View File

@ -1,4 +1,4 @@
import getPrototypeOf from './_get_prototype_of';
import getPrototypeOf from './_get_prototype_of.mjs';
export default function _superPropBase(object, property) {
while (!Object.prototype.hasOwnProperty.call(object, property)) {

View File

@ -1,7 +1,7 @@
import arrayWithHoles from './_array_with_holes';
import iterableToArray from './_iterable_to_array';
import nonIterableRest from './_non_iterable_rest';
import unsupportedIterableToArray from './_unsupported_iterable_to_array';
import arrayWithHoles from './_array_with_holes.mjs';
import iterableToArray from './_iterable_to_array.mjs';
import nonIterableRest from './_non_iterable_rest.mjs';
import unsupportedIterableToArray from './_unsupported_iterable_to_array.mjs';
export default function _toArray(arr) {
return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr, i) || nonIterableRest();

View File

@ -1,7 +1,7 @@
import arrayWithoutHoles from './_array_without_holes';
import iterableToArray from './_iterable_to_array';
import nonIterableSpread from './_non_iterable_spread';
import unsupportedIterableToArray from './_unsupported_iterable_to_array';
import arrayWithoutHoles from './_array_without_holes.mjs';
import iterableToArray from './_iterable_to_array.mjs';
import nonIterableSpread from './_non_iterable_spread.mjs';
import unsupportedIterableToArray from './_unsupported_iterable_to_array.mjs';
export default function _toConsumableArray(arr) {
return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();

View File

@ -1,4 +1,4 @@
import _typeof from './_type_of';
import _typeof from './_type_of.mjs';
export default function _toPrimitive(input, hint) {
if (_typeof(input) !== "object" || input === null) return input;

View File

@ -1,5 +1,5 @@
import _typeof from './_type_of';
import toPrimitive from './_to_primitive';
import _typeof from './_type_of.mjs';
import toPrimitive from './_to_primitive.mjs';
export default function _toPropertyKey(arg) {
var key = toPrimitive(arg, "string");

View File

@ -1,4 +1,4 @@
import _arrayLikeToArray from './_array_like_to_array';
import _arrayLikeToArray from './_array_like_to_array.mjs';
export default function _unsupportedIterableToArray(o, minLen) {
if (!o) return;

View File

@ -1,4 +1,4 @@
import AsyncGenerator from './_async_generator';
import AsyncGenerator from './_async_generator.mjs';
export default function _wrapAsyncGenerator(fn) {
return function () {

View File

@ -1,7 +1,7 @@
import construct from './_construct';
import isNativeFunction from './_is_native_function';
import getPrototypeOf from './_get_prototype_of';
import setPrototypeOf from './_set_prototype_of';
import construct from './_construct.mjs';
import isNativeFunction from './_is_native_function.mjs';
import getPrototypeOf from './_get_prototype_of.mjs';
import setPrototypeOf from './_set_prototype_of.mjs';
function wrapNativeSuper(Class) {
var _cache = typeof Map === "function" ? new Map() : undefined;

View File

@ -1,81 +1,81 @@
export { default as applyDecoratedDescriptor } from './_apply_decorated_descriptor';
export { default as arrayLikeToArray } from './_array_like_to_array';
export { default as arrayWithHoles } from './_array_with_holes';
export { default as arrayWithoutHoles } from './_array_without_holes';
export { default as assertThisInitialized } from './_assert_this_initialized';
export { default as asyncGenerator } from './_async_generator';
export { default as asyncGeneratorDelegate } from './_async_generator_delegate';
export { default as asyncIterator } from './_async_iterator';
export { default as asyncToGenerator } from './_async_to_generator';
export { default as awaitAsyncGenerator } from './_await_async_generator';
export { default as awaitValue } from './_await_value';
export { default as checkPrivateRedeclaration } from './_check_private_redeclaration';
export { default as classApplyDescriptorDestructureSet } from './_class_apply_descriptor_destructure';
export { default as classApplyDescriptorGet } from './_class_apply_descriptor_get';
export { default as classApplyDescriptorSet } from './_class_apply_descriptor_set';
export { default as classCallCheck } from './_class_call_check';
export { default as classCheckPrivateStaticFieldDescriptor } from './_class_check_private_static_field_descriptor'
export { default as classCheckPrivateStaticAccess } from './_class_check_private_static_access';
export { default as classNameTDZError } from './_class_name_tdz_error';
export { default as classPrivateFieldDestructureSet } from './_class_private_field_destructure';
export { default as classPrivateFieldGet } from './_class_private_field_get';
export { default as classPrivateFieldInit } from './_class_private_field_init';
export { default as classPrivateFieldLooseBase } from './_class_private_field_loose_base';
export { default as classPrivateFieldLooseKey } from './_class_private_field_loose_key';
export { default as classPrivateFieldSet } from './_class_private_field_set';
export { default as classPrivateMethodGet } from './_class_private_method_get';
export { default as classPrivateMethodInit } from './_class_private_method_init';
export { default as classPrivateMethodSet } from './_class_private_method_set';
export { default as classStaticPrivateFieldDestructureSet } from './_class_static_private_field_destructure';
export { default as classStaticPrivateFieldSpecGet } from './_class_static_private_field_spec_get';
export { default as classStaticPrivateFieldSpecSet } from './_class_static_private_field_spec_set';
export { default as construct } from './_construct';
export { default as createClass } from './_create_class';
export { default as createSuper } from './_create_super';
export { default as decorate } from './_decorate';
export { default as defaults } from './_defaults';
export { default as defineEnumerableProperties } from './_define_enumerable_properties';
export { default as defineProperty } from './_define_property';
export { default as extends } from './_extends';
export { default as get } from './_get';
export { default as getPrototypeOf } from './_get_prototype_of';
export { default as inherits } from './_inherits';
export { default as inheritsLoose } from './_inherits_loose';
export { default as initializerDefineProperty } from './_initializer_define_property';
export { default as initializerWarningHelper } from './_initializer_warning_helper';
export { default as _instanceof } from './_instanceof';
export { default as interopRequireDefault } from './_interop_require_default';
export { default as interopRequireWildcard } from './_interop_require_wildcard';
export { default as isNativeFunction } from './_is_native_function';
export { default as isNativeReflectConstruct } from './_is_native_reflect_construct';
export { default as iterableToArray } from './_iterable_to_array';
export { default as iterableToArrayLimit } from './_iterable_to_array_limit';
export { default as iterableToArrayLimitLoose } from './_iterable_to_array_limit_loose';
export { default as jsx } from './_jsx';
export { default as newArrowCheck } from './_new_arrow_check';
export { default as nonIterableRest } from './_non_iterable_rest';
export { default as nonIterableSpread } from './_non_iterable_spread';
export { default as objectSpread } from './_object_spread';
export { default as objectSpreadProps } from './_object_spread_props';
export { default as objectWithoutProperties } from './_object_without_properties';
export { default as objectWithoutPropertiesLoose } from './_object_without_properties_loose';
export { default as possibleConstructorReturn } from './_possible_constructor_return';
export { default as readOnlyError } from './_read_only_error';
export { default as set } from './_set';
export { default as setPrototypeOf } from './_set_prototype_of';
export { default as skipFirstGeneratorNext } from './_skip_first_generator_next';
export { default as slicedToArray } from './_sliced_to_array';
export { default as slicedToArrayLoose } from './_sliced_to_array_loose';
export { default as superPropBase } from './_super_prop_base';
export { default as taggedTemplateLiteral } from './_tagged_template_literal';
export { default as taggedTemplateLiteralLoose } from './_tagged_template_literal_loose';
export { default as _throw } from './_throw';
export { default as toArray } from './_to_array';
export { default as toConsumableArray } from './_to_consumable_array';
export { default as toPrimitive } from './_to_primitive';
export { default as toPropertyKey } from './_to_property_key';
export { default as typeOf } from './_type_of';
export { default as unsupportedIterableToArray } from './_unsupported_iterable_to_array';
export { default as wrapAsyncGenerator } from './_wrap_async_generator';
export { default as wrapNativeSuper } from './_wrap_native_super';
export { default as applyDecoratedDescriptor } from './_apply_decorated_descriptor.mjs';
export { default as arrayLikeToArray } from './_array_like_to_array.mjs';
export { default as arrayWithHoles } from './_array_with_holes.mjs';
export { default as arrayWithoutHoles } from './_array_without_holes.mjs';
export { default as assertThisInitialized } from './_assert_this_initialized.mjs';
export { default as asyncGenerator } from './_async_generator.mjs';
export { default as asyncGeneratorDelegate } from './_async_generator_delegate.mjs';
export { default as asyncIterator } from './_async_iterator.mjs';
export { default as asyncToGenerator } from './_async_to_generator.mjs';
export { default as awaitAsyncGenerator } from './_await_async_generator.mjs';
export { default as awaitValue } from './_await_value.mjs';
export { default as checkPrivateRedeclaration } from './_check_private_redeclaration.mjs';
export { default as classApplyDescriptorDestructureSet } from './_class_apply_descriptor_destructure.mjs';
export { default as classApplyDescriptorGet } from './_class_apply_descriptor_get.mjs';
export { default as classApplyDescriptorSet } from './_class_apply_descriptor_set.mjs';
export { default as classCallCheck } from './_class_call_check.mjs';
export { default as classCheckPrivateStaticFieldDescriptor } from './_class_check_private_static_field_descriptor.mjs'
export { default as classCheckPrivateStaticAccess } from './_class_check_private_static_access.mjs';
export { default as classNameTDZError } from './_class_name_tdz_error.mjs';
export { default as classPrivateFieldDestructureSet } from './_class_private_field_destructure.mjs';
export { default as classPrivateFieldGet } from './_class_private_field_get.mjs';
export { default as classPrivateFieldInit } from './_class_private_field_init.mjs';
export { default as classPrivateFieldLooseBase } from './_class_private_field_loose_base.mjs';
export { default as classPrivateFieldLooseKey } from './_class_private_field_loose_key.mjs';
export { default as classPrivateFieldSet } from './_class_private_field_set.mjs';
export { default as classPrivateMethodGet } from './_class_private_method_get.mjs';
export { default as classPrivateMethodInit } from './_class_private_method_init.mjs';
export { default as classPrivateMethodSet } from './_class_private_method_set.mjs';
export { default as classStaticPrivateFieldDestructureSet } from './_class_static_private_field_destructure.mjs';
export { default as classStaticPrivateFieldSpecGet } from './_class_static_private_field_spec_get.mjs';
export { default as classStaticPrivateFieldSpecSet } from './_class_static_private_field_spec_set.mjs';
export { default as construct } from './_construct.mjs';
export { default as createClass } from './_create_class.mjs';
export { default as createSuper } from './_create_super.mjs';
export { default as decorate } from './_decorate.mjs';
export { default as defaults } from './_defaults.mjs';
export { default as defineEnumerableProperties } from './_define_enumerable_properties.mjs';
export { default as defineProperty } from './_define_property.mjs';
export { default as extends } from './_extends.mjs';
export { default as get } from './_get.mjs';
export { default as getPrototypeOf } from './_get_prototype_of.mjs';
export { default as inherits } from './_inherits.mjs';
export { default as inheritsLoose } from './_inherits_loose.mjs';
export { default as initializerDefineProperty } from './_initializer_define_property.mjs';
export { default as initializerWarningHelper } from './_initializer_warning_helper.mjs';
export { default as _instanceof } from './_instanceof.mjs';
export { default as interopRequireDefault } from './_interop_require_default.mjs';
export { default as interopRequireWildcard } from './_interop_require_wildcard.mjs';
export { default as isNativeFunction } from './_is_native_function.mjs';
export { default as isNativeReflectConstruct } from './_is_native_reflect_construct.mjs';
export { default as iterableToArray } from './_iterable_to_array.mjs';
export { default as iterableToArrayLimit } from './_iterable_to_array_limit.mjs';
export { default as iterableToArrayLimitLoose } from './_iterable_to_array_limit_loose.mjs';
export { default as jsx } from './_jsx.mjs';
export { default as newArrowCheck } from './_new_arrow_check.mjs';
export { default as nonIterableRest } from './_non_iterable_rest.mjs';
export { default as nonIterableSpread } from './_non_iterable_spread.mjs';
export { default as objectSpread } from './_object_spread.mjs';
export { default as objectSpreadProps } from './_object_spread_props.mjs';
export { default as objectWithoutProperties } from './_object_without_properties.mjs';
export { default as objectWithoutPropertiesLoose } from './_object_without_properties_loose.mjs';
export { default as possibleConstructorReturn } from './_possible_constructor_return.mjs';
export { default as readOnlyError } from './_read_only_error.mjs';
export { default as set } from './_set.mjs';
export { default as setPrototypeOf } from './_set_prototype_of.mjs';
export { default as skipFirstGeneratorNext } from './_skip_first_generator_next.mjs';
export { default as slicedToArray } from './_sliced_to_array.mjs';
export { default as slicedToArrayLoose } from './_sliced_to_array_loose.mjs';
export { default as superPropBase } from './_super_prop_base.mjs';
export { default as taggedTemplateLiteral } from './_tagged_template_literal.mjs';
export { default as taggedTemplateLiteralLoose } from './_tagged_template_literal_loose.mjs';
export { default as _throw } from './_throw.mjs';
export { default as toArray } from './_to_array.mjs';
export { default as toConsumableArray } from './_to_consumable_array.mjs';
export { default as toPrimitive } from './_to_primitive.mjs';
export { default as toPropertyKey } from './_to_property_key.mjs';
export { default as typeOf } from './_type_of.mjs';
export { default as unsupportedIterableToArray } from './_unsupported_iterable_to_array.mjs';
export { default as wrapAsyncGenerator } from './_wrap_async_generator.mjs';
export { default as wrapNativeSuper } from './_wrap_native_super.mjs';
export { __decorate, __metadata, __param } from 'tslib'