fix(es/helpers): Allow using external helpers with type: module (#4962)

This commit is contained in:
Donny/강동윤 2022-06-14 03:41:35 +09:00 committed by GitHub
parent 4cae0e8270
commit 4a27e6f84a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4906 changed files with 8847 additions and 8837 deletions

View File

@ -1,4 +1,4 @@
import _to_consumable_array from "@swc/helpers/lib/_to_consumable_array.js";
import _to_consumable_array from "@swc/helpers/src/_to_consumable_array.mjs";
function a(param) {
var _b = param.b, b = _b === void 0 ? [] : _b;
var t = useMemo(function() {

View File

@ -1,3 +1,3 @@
import _type_of from "@swc/helpers/lib/_type_of.js";
import _type_of from "@swc/helpers/src/_type_of.mjs";
var window = "foo";
console.log(typeof window === "undefined" ? "undefined" : _type_of(window));

View File

@ -1,10 +1,10 @@
import _assert_this_initialized from "@swc/helpers/lib/_assert_this_initialized.js";
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _decorate from "@swc/helpers/lib/_decorate.js";
import _get from "@swc/helpers/lib/_get.js";
import _get_prototype_of from "@swc/helpers/lib/_get_prototype_of.js";
import _inherits from "@swc/helpers/lib/_inherits.js";
import _create_super from "@swc/helpers/lib/_create_super.js";
import _assert_this_initialized from "@swc/helpers/src/_assert_this_initialized.mjs";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _decorate from "@swc/helpers/src/_decorate.mjs";
import _get from "@swc/helpers/src/_get.mjs";
import _get_prototype_of from "@swc/helpers/src/_get_prototype_of.mjs";
import _inherits from "@swc/helpers/src/_inherits.mjs";
import _create_super from "@swc/helpers/src/_create_super.mjs";
var SomeClass = _decorate([], function(_initialize) {
var SomeClass = function SomeClass() {
"use strict";

View File

@ -1,4 +1,4 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
export var Class1 = function Class1(param) {
"use strict";
var _name = param.name, name = _name === void 0 ? "" : _name;

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import regeneratorRuntime from "regenerator-runtime";
var source = Math.random() < 2 ? "matilda" : "fred";
var details = {

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import regeneratorRuntime from "regenerator-runtime";
var source = Math.random() < 2 ? "matilda" : "fred";
var details = {

View File

@ -1,4 +1,4 @@
import _define_property from "@swc/helpers/lib/_define_property.js";
import _define_property from "@swc/helpers/src/_define_property.mjs";
export class Foo {
nested() {
let Foo1 = class Foo {

View File

@ -1,7 +1,7 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _class_private_field_get from "@swc/helpers/lib/_class_private_field_get.js";
import _class_private_field_init from "@swc/helpers/lib/_class_private_field_init.js";
import _class_private_field_set from "@swc/helpers/lib/_class_private_field_set.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _class_private_field_get from "@swc/helpers/src/_class_private_field_get.mjs";
import _class_private_field_init from "@swc/helpers/src/_class_private_field_init.mjs";
import _class_private_field_set from "@swc/helpers/src/_class_private_field_set.mjs";
var _name = /*#__PURE__*/ new WeakMap();
var Animal = /*#__PURE__*/ function() {
"use strict";

View File

@ -1,8 +1,8 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _class_private_field_get from "@swc/helpers/lib/_class_private_field_get.js";
import _class_private_field_init from "@swc/helpers/lib/_class_private_field_init.js";
import _class_private_field_set from "@swc/helpers/lib/_class_private_field_set.js";
import _create_class from "@swc/helpers/lib/_create_class.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _class_private_field_get from "@swc/helpers/src/_class_private_field_get.mjs";
import _class_private_field_init from "@swc/helpers/src/_class_private_field_init.mjs";
import _class_private_field_set from "@swc/helpers/src/_class_private_field_set.mjs";
import _create_class from "@swc/helpers/src/_create_class.mjs";
var _name = /*#__PURE__*/ new WeakMap();
var Animal = /*#__PURE__*/ function() {
"use strict";

View File

@ -1,6 +1,6 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _ts_decorate from "@swc/helpers/lib/_ts_decorate.js";
import _ts_metadata from "@swc/helpers/lib/_ts_metadata.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _ts_decorate from "@swc/helpers/src/_ts_decorate.mjs";
import _ts_metadata from "@swc/helpers/src/_ts_metadata.mjs";
export var AccountMemberView = function AccountMemberView() {
"use strict";
_class_call_check(this, AccountMemberView);

View File

@ -1,5 +1,5 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _throw from "@swc/helpers/lib/_throw.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import _throw from "@swc/helpers/src/_throw.mjs";
import regeneratorRuntime from "regenerator-runtime";
function foo() {
return _foo.apply(this, arguments);

View File

@ -1,4 +1,4 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
export var AbstractProviderDeliveryService = function AbstractProviderDeliveryService() {
"use strict";
_class_call_check(this, AbstractProviderDeliveryService);

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import regeneratorRuntime from "regenerator-runtime";
var obj = {
find: function find(param) {

View File

@ -1,5 +1,5 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _sliced_to_array from "@swc/helpers/lib/_sliced_to_array.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import _sliced_to_array from "@swc/helpers/src/_sliced_to_array.mjs";
import regeneratorRuntime from "regenerator-runtime";
function f(a, b) {
return _f.apply(this, arguments);

View File

@ -1,6 +1,6 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _inherits from "@swc/helpers/lib/_inherits.js";
import _create_super from "@swc/helpers/lib/_create_super.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _inherits from "@swc/helpers/src/_inherits.mjs";
import _create_super from "@swc/helpers/src/_create_super.mjs";
var MyClass = function MyClass() {
"use strict";
_class_call_check(this, MyClass);

View File

@ -1,6 +1,6 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _inherits from "@swc/helpers/lib/_inherits.js";
import _create_super from "@swc/helpers/lib/_create_super.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _inherits from "@swc/helpers/src/_inherits.mjs";
import _create_super from "@swc/helpers/src/_create_super.mjs";
var MyClass = function MyClass() {
"use strict";
_class_call_check(this, MyClass);

View File

@ -1,6 +1,6 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _inherits from "@swc/helpers/lib/_inherits.js";
import _create_super from "@swc/helpers/lib/_create_super.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _inherits from "@swc/helpers/src/_inherits.mjs";
import _create_super from "@swc/helpers/src/_create_super.mjs";
var Component = function Component() {
"use strict";
_class_call_check(this, Component);

View File

@ -1,6 +1,6 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _inherits from "@swc/helpers/lib/_inherits.js";
import _create_super from "@swc/helpers/lib/_create_super.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _inherits from "@swc/helpers/src/_inherits.mjs";
import _create_super from "@swc/helpers/src/_create_super.mjs";
export var a = /*#__PURE__*/ function(Component) {
"use strict";
_inherits(_class, Component);

View File

@ -1,6 +1,6 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _inherits from "@swc/helpers/lib/_inherits.js";
import _create_super from "@swc/helpers/lib/_create_super.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _inherits from "@swc/helpers/src/_inherits.mjs";
import _create_super from "@swc/helpers/src/_create_super.mjs";
var withTeamsForUser = function() {
var _class = /*#__PURE__*/ function(Component) {
"use strict";

View File

@ -1,6 +1,6 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _inherits from "@swc/helpers/lib/_inherits.js";
import _create_super from "@swc/helpers/lib/_create_super.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _inherits from "@swc/helpers/src/_inherits.mjs";
import _create_super from "@swc/helpers/src/_create_super.mjs";
var MyClass = function MyClass() {
"use strict";
_class_call_check(this, MyClass);

View File

@ -1,4 +1,4 @@
import _ts_decorate from "@swc/helpers/lib/_ts_decorate.js";
import _ts_decorate from "@swc/helpers/src/_ts_decorate.mjs";
import { Entity, BaseEntity } from "typeorm";
export let Location = class Location extends BaseEntity {
};

View File

@ -1,2 +1,2 @@
import _type_of from "@swc/helpers/lib/_type_of.js";
import _type_of from "@swc/helpers/src/_type_of.mjs";
var a = _type_of(0);

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import regeneratorRuntime from "regenerator-runtime";
Vue.component("test", {
methods: {

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import regeneratorRuntime from "regenerator-runtime";
var obj = {
foo: 5,

View File

@ -1,4 +1,4 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
var Test = /*#__PURE__*/ function() {
"use strict";
function Test() {

View File

@ -1,5 +1,5 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _create_class from "@swc/helpers/lib/_create_class.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _create_class from "@swc/helpers/src/_create_class.mjs";
console.log(/*#__PURE__*/ function() {
"use strict";
function _class() {

View File

@ -1,4 +1,4 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
console.log(function _class() {
"use strict";
_class_call_check(this, _class);

View File

@ -1,5 +1,5 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _create_class from "@swc/helpers/lib/_create_class.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _create_class from "@swc/helpers/src/_create_class.mjs";
console.log(/*#__PURE__*/ function() {
"use strict";
function _class() {

View File

@ -1,5 +1,5 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _create_class from "@swc/helpers/lib/_create_class.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _create_class from "@swc/helpers/src/_create_class.mjs";
console.log(/*#__PURE__*/ function() {
"use strict";
function _class() {

View File

@ -1,5 +1,5 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _create_class from "@swc/helpers/lib/_create_class.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _create_class from "@swc/helpers/src/_create_class.mjs";
console.log(/*#__PURE__*/ function() {
"use strict";
function _class() {

View File

@ -1,4 +1,4 @@
import _tagged_template_literal from "@swc/helpers/lib/_tagged_template_literal.js";
import _tagged_template_literal from "@swc/helpers/src/_tagged_template_literal.mjs";
function _templateObject() {
var data = _tagged_template_literal([
"a\nb\nc\n"

View File

@ -1,4 +1,4 @@
import _tagged_template_literal from "@swc/helpers/lib/_tagged_template_literal.js";
import _tagged_template_literal from "@swc/helpers/src/_tagged_template_literal.mjs";
function _templateObject() {
var data = _tagged_template_literal([
"a\nb\nc\n"

View File

@ -1,5 +1,5 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _sliced_to_array from "@swc/helpers/lib/_sliced_to_array.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import _sliced_to_array from "@swc/helpers/src/_sliced_to_array.mjs";
import "core-js/modules/es.object.to-string.js";
import "core-js/modules/es.promise.js";
import regeneratorRuntime from "regenerator-runtime";

View File

@ -1,6 +1,6 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _class_private_method_get from "@swc/helpers/lib/_class_private_method_get.js";
import _class_private_method_init from "@swc/helpers/lib/_class_private_method_init.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _class_private_method_get from "@swc/helpers/src/_class_private_method_get.mjs";
import _class_private_method_init from "@swc/helpers/src/_class_private_method_init.mjs";
var _get = /*#__PURE__*/ new WeakSet();
var MyClass = function MyClass() {
"use strict";

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import regeneratorRuntime from "regenerator-runtime";
function scanUser(groups) {
return _scanUser.apply(this, arguments);

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
function scanUser(groups) {
return _scanUser.apply(this, arguments);
}

View File

@ -1,4 +1,4 @@
import _wrap_async_generator from "@swc/helpers/lib/_wrap_async_generator.js";
import _wrap_async_generator from "@swc/helpers/src/_wrap_async_generator.mjs";
import regeneratorRuntime from "regenerator-runtime";
function lol() {
return _lol.apply(this, arguments);

View File

@ -1,6 +1,6 @@
import _async_iterator from "@swc/helpers/lib/_async_iterator.js";
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _wrap_async_generator from "@swc/helpers/lib/_wrap_async_generator.js";
import _async_iterator from "@swc/helpers/src/_async_iterator.mjs";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import _wrap_async_generator from "@swc/helpers/src/_wrap_async_generator.mjs";
import regeneratorRuntime from "regenerator-runtime";
function lol() {
return _lol.apply(this, arguments);

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import regeneratorRuntime from "regenerator-runtime";
(function() {
var _main = _async_to_generator(regeneratorRuntime.mark(function _callee() {

View File

@ -1,6 +1,6 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _construct from "@swc/helpers/lib/_construct.js";
import _to_consumable_array from "@swc/helpers/lib/_to_consumable_array.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _construct from "@swc/helpers/src/_construct.mjs";
import _to_consumable_array from "@swc/helpers/src/_to_consumable_array.mjs";
function createConstructor(callback) {
var klass;
return function() {

View File

@ -1,9 +1,9 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _class_private_field_get from "@swc/helpers/lib/_class_private_field_get.js";
import _class_private_field_init from "@swc/helpers/lib/_class_private_field_init.js";
import _class_private_method_get from "@swc/helpers/lib/_class_private_method_get.js";
import _class_private_method_init from "@swc/helpers/lib/_class_private_method_init.js";
import _tagged_template_literal from "@swc/helpers/lib/_tagged_template_literal.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _class_private_field_get from "@swc/helpers/src/_class_private_field_get.mjs";
import _class_private_field_init from "@swc/helpers/src/_class_private_field_init.mjs";
import _class_private_method_get from "@swc/helpers/src/_class_private_method_get.mjs";
import _class_private_method_init from "@swc/helpers/src/_class_private_method_init.mjs";
import _tagged_template_literal from "@swc/helpers/src/_tagged_template_literal.mjs";
function _templateObject() {
var data = _tagged_template_literal([
"tagged template"

View File

@ -1,5 +1,5 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _ts_decorate from "@swc/helpers/lib/_ts_decorate.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _ts_decorate from "@swc/helpers/src/_ts_decorate.mjs";
var _TestClass;
var TestClass = (_TestClass = function TestClass1() {
"use strict";

View File

@ -1,5 +1,5 @@
import _async_iterator from "@swc/helpers/lib/_async_iterator.js";
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_iterator from "@swc/helpers/src/_async_iterator.mjs";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
_async_to_generator(function*() {
let counter = 0;
let resolve;

View File

@ -1,4 +1,4 @@
import _sliced_to_array from "@swc/helpers/lib/_sliced_to_array.js";
import _sliced_to_array from "@swc/helpers/src/_sliced_to_array.mjs";
function Bar() {
var ref = _sliced_to_array(useState(0), 2), foo = ref[0], setFoo = ref[1];
// @refresh reset

View File

@ -1,3 +1,3 @@
import _extends from "@swc/helpers/lib/_extends.js";
import _extends from "@swc/helpers/src/_extends.mjs";
var a = {};
var b = _extends({}, a);

View File

@ -1,4 +1,4 @@
import _define_property from "@swc/helpers/lib/_define_property.js";
import _define_property from "@swc/helpers/src/_define_property.mjs";
class Item extends Component {
constructor(props){
super(props);

View File

@ -1,4 +1,4 @@
import _define_property from "@swc/helpers/lib/_define_property.js";
import _define_property from "@swc/helpers/src/_define_property.mjs";
class Item extends Component {
constructor(props){
super(props);

View File

@ -1,4 +1,4 @@
import _define_property from "@swc/helpers/lib/_define_property.js";
import _define_property from "@swc/helpers/src/_define_property.mjs";
class Item extends Component {
constructor(props){
super(props);

View File

@ -1,4 +1,4 @@
import _define_property from "@swc/helpers/lib/_define_property.js";
import _define_property from "@swc/helpers/src/_define_property.mjs";
class Item extends Component {
constructor(props){
super(props);

View File

@ -1,4 +1,4 @@
import _define_property from "@swc/helpers/lib/_define_property.js";
import _define_property from "@swc/helpers/src/_define_property.mjs";
class Item extends Component {
constructor(props){
super(props);

View File

@ -1,4 +1,4 @@
import _define_property from "@swc/helpers/lib/_define_property.js";
import _define_property from "@swc/helpers/src/_define_property.mjs";
class Item extends Component {
constructor(props){
super(props);

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
_async_to_generator(function*() {
const sleep = ()=>new Promise((resolve)=>setTimeout(()=>resolve(undefined), 500));
const result = (yield sleep()) || "fallback";

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import regeneratorRuntime from "regenerator-runtime";
_async_to_generator(regeneratorRuntime.mark(function _callee() {
var sleep, result;

View File

@ -1,5 +1,5 @@
import _instanceof from "@swc/helpers/lib/_instanceof.js";
import _type_of from "@swc/helpers/lib/_type_of.js";
import _instanceof from "@swc/helpers/src/_instanceof.mjs";
import _type_of from "@swc/helpers/src/_type_of.mjs";
/*
Copyright (c) 2018-2020 Xiamen Yaji Software Co., Ltd.

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
function fn() {
return _fn.apply(this, arguments);
}

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
function fn() {
return _fn.apply(this, arguments);
}

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import regeneratorRuntime from "regenerator-runtime";
function fn() {
return _fn.apply(this, arguments);

View File

@ -1,7 +1,7 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _create_class from "@swc/helpers/lib/_create_class.js";
import _object_without_properties from "@swc/helpers/lib/_object_without_properties.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _create_class from "@swc/helpers/src/_create_class.mjs";
import _object_without_properties from "@swc/helpers/src/_object_without_properties.mjs";
import regeneratorRuntime from "regenerator-runtime";
var Foo = /*#__PURE__*/ function() {
"use strict";

View File

@ -1,5 +1,5 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _object_without_properties from "@swc/helpers/lib/_object_without_properties.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import _object_without_properties from "@swc/helpers/src/_object_without_properties.mjs";
import regeneratorRuntime from "regenerator-runtime";
var resolver = {
sendSomeMessage: function sendSomeMessage(_parent, _param, _param1) {

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import regeneratorRuntime from "regenerator-runtime";
export var foo = function() {
var _ref = _async_to_generator(regeneratorRuntime.mark(function _callee() {

View File

@ -1,4 +1,4 @@
import _sliced_to_array from "@swc/helpers/lib/_sliced_to_array.js";
import _sliced_to_array from "@swc/helpers/src/_sliced_to_array.mjs";
var ref = _sliced_to_array(createQuery(), 2);
export var useQuery = ref[0], query = ref[1].query;
var ref1 = _sliced_to_array(createMutation(), 2);

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import regeneratorRuntime from "regenerator-runtime";
var handleSubmit = useMutation(_async_to_generator(regeneratorRuntime.mark(function _callee() {
var res, errors;

View File

@ -1,4 +1,4 @@
import _tagged_template_literal from "@swc/helpers/lib/_tagged_template_literal.js";
import _tagged_template_literal from "@swc/helpers/src/_tagged_template_literal.mjs";
function _templateObject() {
var data = _tagged_template_literal([
"1"

View File

@ -1,4 +1,4 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
var Foo = function Foo() {
"use strict";
_class_call_check(this, Foo);

View File

@ -1,4 +1,4 @@
import _object_without_properties from "@swc/helpers/lib/_object_without_properties.js";
import _object_without_properties from "@swc/helpers/src/_object_without_properties.mjs";
var items = [];
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
try {

View File

@ -1,4 +1,4 @@
import _object_without_properties from "@swc/helpers/lib/_object_without_properties.js";
import _object_without_properties from "@swc/helpers/src/_object_without_properties.mjs";
const items = [];
for (const _ref of items){
var item = _ref;

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
const obj = {
// A comment
foo () {

View File

@ -1,4 +1,4 @@
import _tagged_template_literal from "@swc/helpers/lib/_tagged_template_literal.js";
import _tagged_template_literal from "@swc/helpers/src/_tagged_template_literal.mjs";
function _templateObject() {
var data = _tagged_template_literal([
'"!"4'

View File

@ -1,5 +1,5 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _create_class from "@swc/helpers/lib/_create_class.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _create_class from "@swc/helpers/src/_create_class.mjs";
var X = /*#__PURE__*/ function() {
"use strict";
function X() {

View File

@ -1,5 +1,5 @@
import _class_private_method_get from "@swc/helpers/lib/_class_private_method_get.js";
import _class_private_method_init from "@swc/helpers/lib/_class_private_method_init.js";
import _class_private_method_get from "@swc/helpers/src/_class_private_method_get.mjs";
import _class_private_method_init from "@swc/helpers/src/_class_private_method_init.mjs";
var _link = /*#__PURE__*/ new WeakSet();
export class Node {
link() {

View File

@ -1,4 +1,4 @@
import _define_property from "@swc/helpers/lib/_define_property.js";
import _define_property from "@swc/helpers/src/_define_property.mjs";
let _ref = `lit${"lit"}`, _ref1 = `tpl${`tpl`}`, _ref2 = `lit${1 + 1}`, _ref3 = `complex${"123".length()}`;
class Foo {
constructor(){

View File

@ -1,4 +1,4 @@
import _ts_decorate from "@swc/helpers/lib/_ts_decorate.js";
import _ts_decorate from "@swc/helpers/src/_ts_decorate.mjs";
var N;
(function(N) {
let C1 = class C1 {

View File

@ -1,6 +1,6 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _instanceof from "@swc/helpers/lib/_instanceof.js";
import _to_consumable_array from "@swc/helpers/lib/_to_consumable_array.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import _instanceof from "@swc/helpers/src/_instanceof.mjs";
import _to_consumable_array from "@swc/helpers/src/_to_consumable_array.mjs";
import regeneratorRuntime from "regenerator-runtime";
import { Transaction } from "@solana/web3.js";
import { WalletNotConnectedError } from "@solana/wallet-adapter-base";

View File

@ -1,4 +1,4 @@
import _ts_decorate from "@swc/helpers/lib/_ts_decorate.js";
import _ts_decorate from "@swc/helpers/src/_ts_decorate.mjs";
function test(constructor) {
console.log(constructor);
}

View File

@ -1,5 +1,5 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import regeneratorRuntime from "regenerator-runtime";
export var CompanyBgStore = function CompanyBgStore() {
"use strict";

View File

@ -1,5 +1,5 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import regeneratorRuntime from "regenerator-runtime";
var A = function A() {
"use strict";

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
class A {
constructor(){
var _this = this;

View File

@ -1,6 +1,6 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _create_class from "@swc/helpers/lib/_create_class.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _create_class from "@swc/helpers/src/_create_class.mjs";
import regeneratorRuntime from "regenerator-runtime";
var A = /*#__PURE__*/ function() {
"use strict";

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import regeneratorRuntime from "regenerator-runtime";
import "reflect-metadata";
var v0 = function() {

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import "reflect-metadata";
const v0 = function() {
var _ref = _async_to_generator(function*(v1) {

View File

@ -1,5 +1,5 @@
import _class_private_field_loose_base from "@swc/helpers/lib/_class_private_field_loose_base.js";
import _class_private_field_loose_key from "@swc/helpers/lib/_class_private_field_loose_key.js";
import _class_private_field_loose_base from "@swc/helpers/src/_class_private_field_loose_base.mjs";
import _class_private_field_loose_key from "@swc/helpers/src/_class_private_field_loose_key.mjs";
var _channelName = _class_private_field_loose_key("_channelName"), _listeners = _class_private_field_loose_key("_listeners");
export class LocalStorageChannel {
constructor(channelName){

View File

@ -1,6 +1,6 @@
define([
"require",
"@swc/helpers/lib/_ts_decorate.js"
"@swc/helpers/src/_ts_decorate.mjs"
], function(require, _ts_decorate) {
"use strict";
function es5ClassCompat(target) {

View File

@ -1,9 +1,9 @@
import _assert_this_initialized from "@swc/helpers/lib/_assert_this_initialized.js";
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _inherits from "@swc/helpers/lib/_inherits.js";
import _instanceof from "@swc/helpers/lib/_instanceof.js";
import _wrap_native_super from "@swc/helpers/lib/_wrap_native_super.js";
import _create_super from "@swc/helpers/lib/_create_super.js";
import _assert_this_initialized from "@swc/helpers/src/_assert_this_initialized.mjs";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _inherits from "@swc/helpers/src/_inherits.mjs";
import _instanceof from "@swc/helpers/src/_instanceof.mjs";
import _wrap_native_super from "@swc/helpers/src/_wrap_native_super.mjs";
import _create_super from "@swc/helpers/src/_create_super.mjs";
var CustomError = /*#__PURE__*/ function _target(Error) {
"use strict";
_inherits(CustomError, Error);

View File

@ -1,4 +1,4 @@
import _extends from "@swc/helpers/lib/_extends.js";
import _extends from "@swc/helpers/src/_extends.mjs";
import { Writable } from "stream";
import React from "react";
import * as ReactDOMServer from "react-dom/server";

View File

@ -1,5 +1,5 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import regeneratorRuntime from "regenerator-runtime";
var Router = /*#__PURE__*/ function() {
"use strict";

View File

@ -1,5 +1,5 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _create_class from "@swc/helpers/lib/_create_class.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
import _create_class from "@swc/helpers/src/_create_class.mjs";
var Foo = /*#__PURE__*/ function() {
"use strict";
function Foo() {

View File

@ -1,4 +1,4 @@
import _sliced_to_array from "@swc/helpers/lib/_sliced_to_array.js";
import _sliced_to_array from "@swc/helpers/src/_sliced_to_array.mjs";
import React from "react";
import { useI18n } from "@shopify/react-i18n";
export function App() {

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import regeneratorRuntime from "regenerator-runtime";
export default function StaticPage(param) {
var data = param.data;

View File

@ -1 +1 @@
import a from"@swc/helpers/lib/_async_to_generator.js";import b from"regenerator-runtime";export default function c(a){var b=a.data;return React.createElement("div",null,b.foo)};export function getStaticProps(){return d.apply(this,arguments)}function d(){return(d=a(b.mark(function a(){return b.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",{props:{data:{foo:"bar"}}});case 1:case"end":return a.stop()}},a)}))).apply(this,arguments)}
import a from"@swc/helpers/src/_async_to_generator.mjs";import b from"regenerator-runtime";export default function c(a){var b=a.data;return React.createElement("div",null,b.foo)};export function getStaticProps(){return d.apply(this,arguments)}function d(){return(d=a(b.mark(function a(){return b.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",{props:{data:{foo:"bar"}}});case 1:case"end":return a.stop()}},a)}))).apply(this,arguments)}

View File

@ -1,5 +1,5 @@
{
"mappings": "AAAA,yFAAA,gBAAe,SAASA,CAAU,CAAC,CAAQ,CAAE,KAAV,AAAEC,CAAI,CAAN,CAAQ,CAANA,IAAI,AAAE,AACvC,QAAO,oBAACC,KAAG,MAAED,CAAI,CAACE,GAAG,CAAO,AAAC,CAChC,AAED,iBAAsBC,cAAc,UAAdA,CAAc,uBAQnC,SARqBA,CAAc,UAAdA,CAAc,CAA7B,SAAA,YAAgC,wFAC5B,CACHC,KAAK,CAAE,CACHJ,IAAI,CAAE,CACFE,GAAG,CAAE,KAAK,CACb,CACJ,CACJ,wCACJ,EAAA,wBAAA",
"mappings": "AAAA,0FAAA,gBAAe,SAASA,CAAU,CAAC,CAAQ,CAAE,KAAV,AAAEC,CAAI,CAAN,CAAQ,CAANA,IAAI,AAAE,AACvC,QAAO,oBAACC,KAAG,MAAED,CAAI,CAACE,GAAG,CAAO,AAAC,CAChC,AAED,iBAAsBC,cAAc,UAAdA,CAAc,uBAQnC,SARqBA,CAAc,UAAdA,CAAc,CAA7B,SAAA,YAAgC,wFAC5B,CACHC,KAAK,CAAE,CACHJ,IAAI,CAAE,CACFE,GAAG,CAAE,KAAK,CACb,CACJ,CACJ,wCACJ,EAAA,wBAAA",
"names": [
"StaticPage",
"data",

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import regeneratorRuntime from "regenerator-runtime";
it("should compress avif smaller than webp and smaller than jpg", _async_to_generator(regeneratorRuntime.mark(function _callee() {
var query, res1, res2, res3, avif, webp, jpeg;

View File

@ -1,4 +1,4 @@
import _async_to_generator from "@swc/helpers/lib/_async_to_generator.js";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import regeneratorRuntime from "regenerator-runtime";
it("should compress avif smaller than webp and smaller than jpg", _async_to_generator(regeneratorRuntime.mark(function _callee() {
var query, res1, res2, res3, avif, webp, jpeg;

View File

@ -1,4 +1,4 @@
import _define_property from "@swc/helpers/lib/_define_property.js";
import _define_property from "@swc/helpers/src/_define_property.mjs";
let Foo = class Foo {
method() {
let Foo = class Foo {

View File

@ -1,4 +1,4 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
// @filename: classPoint.ts
var A;
(function(A1) {

View File

@ -1,5 +1,5 @@
var A;
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
!function(A1) {
var Point = function(x, y) {
"use strict";

View File

@ -1,4 +1,4 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
// all expected to be errors
var clodule1 = function clodule1() {
"use strict";

View File

@ -1,4 +1,4 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
var clodule1 = function() {
"use strict";
_class_call_check(this, clodule1);

View File

@ -1,4 +1,4 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
var clodule = /*#__PURE__*/ function() {
"use strict";
function clodule() {

View File

@ -1,4 +1,4 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
var clodule = function() {
"use strict";
function clodule() {

View File

@ -1,4 +1,4 @@
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
var clodule = /*#__PURE__*/ function() {
"use strict";
function clodule() {

Some files were not shown because too many files have changed in this diff Show More