Spaces:
Paused
Paused
Upload folder using huggingface_hub (part 14)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_sliced_to_array_loose.js +9 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_super_prop_base.js +11 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_tagged_template_literal.js +6 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_tagged_template_literal_loose.js +8 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_throw.js +4 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_to_array.js +9 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_to_consumable_array.js +9 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_to_primitive.js +16 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_to_property_key.js +9 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_ts_add_disposable_resource.js +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_ts_decorate.js +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_ts_dispose_resources.js +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_ts_generator.js +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_ts_metadata.js +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_ts_param.js +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_ts_values.js +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_type_of.js +6 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_unsupported_iterable_to_array.js +13 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_update.js +14 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_using.js +22 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_using_ctx.js +73 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_wrap_async_generator.js +8 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_wrap_native_super.js +26 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_write_only_error.js +4 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/index.js +106 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/package.json +471 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/scripts/ast_grep.js +229 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/scripts/build.js +121 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/scripts/errors.js +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/scripts/utils.js +3 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_apply_decorated_descriptor.mjs +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_apply_decs_2203_r.mjs +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_array_like_to_array.mjs +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_array_with_holes.mjs +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_array_without_holes.mjs +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_assert_this_initialized.mjs +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_async_generator.mjs +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_async_generator_delegate.mjs +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_async_iterator.mjs +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_async_to_generator.mjs +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_await_async_generator.mjs +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_await_value.mjs +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_call_super.mjs +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_check_private_redeclaration.mjs +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_class_apply_descriptor_destructure.mjs +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_class_apply_descriptor_get.mjs +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_class_apply_descriptor_set.mjs +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_class_apply_descriptor_update.mjs +1 -0
- node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_class_call_check.mjs +1 -0
.gitattributes
CHANGED
|
@@ -49,3 +49,4 @@ node_modules/.pnpm/@img+sharp-linux-x64@0.34.3/node_modules/@img/sharp-linux-x64
|
|
| 49 |
node_modules/.pnpm/@img+sharp-linuxmusl-x64@0.34.3/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node filter=lfs diff=lfs merge=lfs -text
|
| 50 |
node_modules/.pnpm/@next+swc-linux-x64-gnu@15.4.3/node_modules/@next/swc-linux-x64-gnu/next-swc.linux-x64-gnu.node filter=lfs diff=lfs merge=lfs -text
|
| 51 |
node_modules/.pnpm/@next+swc-linux-x64-musl@15.4.3/node_modules/@next/swc-linux-x64-musl/next-swc.linux-x64-musl.node filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 49 |
node_modules/.pnpm/@img+sharp-linuxmusl-x64@0.34.3/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node filter=lfs diff=lfs merge=lfs -text
|
| 50 |
node_modules/.pnpm/@next+swc-linux-x64-gnu@15.4.3/node_modules/@next/swc-linux-x64-gnu/next-swc.linux-x64-gnu.node filter=lfs diff=lfs merge=lfs -text
|
| 51 |
node_modules/.pnpm/@next+swc-linux-x64-musl@15.4.3/node_modules/@next/swc-linux-x64-musl/next-swc.linux-x64-musl.node filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
node_modules/.pnpm/@tabler+icons-react@3.34.1_react@19.1.0/node_modules/@tabler/icons-react/dist/cjs/tabler-icons-react.cjs.map filter=lfs diff=lfs merge=lfs -text
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_sliced_to_array_loose.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { _ as _array_with_holes } from "./_array_with_holes.js";
|
| 2 |
+
import { _ as _iterable_to_array_limit_loose } from "./_iterable_to_array_limit_loose.js";
|
| 3 |
+
import { _ as _non_iterable_rest } from "./_non_iterable_rest.js";
|
| 4 |
+
import { _ as _unsupported_iterable_to_array } from "./_unsupported_iterable_to_array.js";
|
| 5 |
+
|
| 6 |
+
function _sliced_to_array_loose(arr, i) {
|
| 7 |
+
return _array_with_holes(arr) || _iterable_to_array_limit_loose(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
| 8 |
+
}
|
| 9 |
+
export { _sliced_to_array_loose as _ };
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_super_prop_base.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { _ as _get_prototype_of } from "./_get_prototype_of.js";
|
| 2 |
+
|
| 3 |
+
function _super_prop_base(object, property) {
|
| 4 |
+
while (!Object.prototype.hasOwnProperty.call(object, property)) {
|
| 5 |
+
object = _get_prototype_of(object);
|
| 6 |
+
if (object === null) break;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
return object;
|
| 10 |
+
}
|
| 11 |
+
export { _super_prop_base as _ };
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_tagged_template_literal.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
function _tagged_template_literal(strings, raw) {
|
| 2 |
+
if (!raw) raw = strings.slice(0);
|
| 3 |
+
|
| 4 |
+
return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } }));
|
| 5 |
+
}
|
| 6 |
+
export { _tagged_template_literal as _ };
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_tagged_template_literal_loose.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
function _tagged_template_literal_loose(strings, raw) {
|
| 2 |
+
if (!raw) raw = strings.slice(0);
|
| 3 |
+
|
| 4 |
+
strings.raw = raw;
|
| 5 |
+
|
| 6 |
+
return strings;
|
| 7 |
+
}
|
| 8 |
+
export { _tagged_template_literal_loose as _ };
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_throw.js
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
function _throw(e) {
|
| 2 |
+
throw e;
|
| 3 |
+
}
|
| 4 |
+
export { _throw as _ };
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_to_array.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { _ as _array_with_holes } from "./_array_with_holes.js";
|
| 2 |
+
import { _ as _iterable_to_array } from "./_iterable_to_array.js";
|
| 3 |
+
import { _ as _non_iterable_rest } from "./_non_iterable_rest.js";
|
| 4 |
+
import { _ as _unsupported_iterable_to_array } from "./_unsupported_iterable_to_array.js";
|
| 5 |
+
|
| 6 |
+
function _to_array(arr) {
|
| 7 |
+
return _array_with_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_rest();
|
| 8 |
+
}
|
| 9 |
+
export { _to_array as _ };
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_to_consumable_array.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { _ as _array_without_holes } from "./_array_without_holes.js";
|
| 2 |
+
import { _ as _iterable_to_array } from "./_iterable_to_array.js";
|
| 3 |
+
import { _ as _non_iterable_spread } from "./_non_iterable_spread.js";
|
| 4 |
+
import { _ as _unsupported_iterable_to_array } from "./_unsupported_iterable_to_array.js";
|
| 5 |
+
|
| 6 |
+
function _to_consumable_array(arr) {
|
| 7 |
+
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
| 8 |
+
}
|
| 9 |
+
export { _to_consumable_array as _ };
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_to_primitive.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { _ as _type_of } from "./_type_of.js";
|
| 2 |
+
|
| 3 |
+
function _to_primitive(input, hint) {
|
| 4 |
+
if (_type_of(input) !== "object" || input === null) return input;
|
| 5 |
+
|
| 6 |
+
var prim = input[Symbol.toPrimitive];
|
| 7 |
+
|
| 8 |
+
if (prim !== undefined) {
|
| 9 |
+
var res = prim.call(input, hint || "default");
|
| 10 |
+
if (_type_of(res) !== "object") return res;
|
| 11 |
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
return (hint === "string" ? String : Number)(input);
|
| 15 |
+
}
|
| 16 |
+
export { _to_primitive as _ };
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_to_property_key.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { _ as _to_primitive } from "./_to_primitive.js";
|
| 2 |
+
import { _ as _type_of } from "./_type_of.js";
|
| 3 |
+
|
| 4 |
+
function _to_property_key(arg) {
|
| 5 |
+
var key = _to_primitive(arg, "string");
|
| 6 |
+
|
| 7 |
+
return _type_of(key) === "symbol" ? key : String(key);
|
| 8 |
+
}
|
| 9 |
+
export { _to_property_key as _ };
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_ts_add_disposable_resource.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { __addDisposableResource as _ } from "tslib";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_ts_decorate.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { __decorate as _ } from "tslib";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_ts_dispose_resources.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { __disposeResources as _ } from "tslib";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_ts_generator.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { __generator as _ } from "tslib";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_ts_metadata.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { __metadata as _ } from "tslib";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_ts_param.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { __param as _ } from "tslib";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_ts_values.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { __values as _ } from "tslib";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_type_of.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
function _type_of(obj) {
|
| 2 |
+
"@swc/helpers - typeof";
|
| 3 |
+
|
| 4 |
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
| 5 |
+
}
|
| 6 |
+
export { _type_of as _ };
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_unsupported_iterable_to_array.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { _ as _array_like_to_array } from "./_array_like_to_array.js";
|
| 2 |
+
|
| 3 |
+
function _unsupported_iterable_to_array(o, minLen) {
|
| 4 |
+
if (!o) return;
|
| 5 |
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
| 6 |
+
|
| 7 |
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
| 8 |
+
|
| 9 |
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
| 10 |
+
if (n === "Map" || n === "Set") return Array.from(n);
|
| 11 |
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
| 12 |
+
}
|
| 13 |
+
export { _unsupported_iterable_to_array as _ };
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_update.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { _ as _get } from "./_get.js";
|
| 2 |
+
import { _ as _set } from "./_set.js";
|
| 3 |
+
|
| 4 |
+
function _update(target, property, receiver, isStrict) {
|
| 5 |
+
return {
|
| 6 |
+
get _() {
|
| 7 |
+
return _get(target, property, receiver);
|
| 8 |
+
},
|
| 9 |
+
set _(value) {
|
| 10 |
+
_set(target, property, value, receiver, isStrict);
|
| 11 |
+
}
|
| 12 |
+
};
|
| 13 |
+
}
|
| 14 |
+
export { _update as _ };
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_using.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* @minVersion 7.22.0 */
|
| 2 |
+
|
| 3 |
+
function _using(stack, value, isAwait) {
|
| 4 |
+
if (value === null || value === void 0) return value;
|
| 5 |
+
if (Object(value) !== value) {
|
| 6 |
+
throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");
|
| 7 |
+
}
|
| 8 |
+
// core-js-pure uses Symbol.for for polyfilling well-known symbols
|
| 9 |
+
if (isAwait) {
|
| 10 |
+
var dispose = value[Symbol.asyncDispose || Symbol.for("Symbol.asyncDispose")];
|
| 11 |
+
}
|
| 12 |
+
if (dispose === null || dispose === void 0) {
|
| 13 |
+
dispose = value[Symbol.dispose || Symbol.for("Symbol.dispose")];
|
| 14 |
+
}
|
| 15 |
+
if (typeof dispose !== "function") {
|
| 16 |
+
throw new TypeError(`Property [Symbol.dispose] is not a function.`);
|
| 17 |
+
}
|
| 18 |
+
stack.push({ v: value, d: dispose, a: isAwait });
|
| 19 |
+
return value;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
export { _using as _ };
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_using_ctx.js
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
function _using_ctx() {
|
| 2 |
+
var _disposeSuppressedError = typeof SuppressedError === "function"
|
| 3 |
+
// eslint-disable-next-line no-undef
|
| 4 |
+
? SuppressedError
|
| 5 |
+
: (function(error, suppressed) {
|
| 6 |
+
var err = new Error();
|
| 7 |
+
err.name = "SuppressedError";
|
| 8 |
+
err.suppressed = suppressed;
|
| 9 |
+
err.error = error;
|
| 10 |
+
return err;
|
| 11 |
+
}),
|
| 12 |
+
empty = {},
|
| 13 |
+
stack = [];
|
| 14 |
+
function using(isAwait, value) {
|
| 15 |
+
if (value != null) {
|
| 16 |
+
if (Object(value) !== value) {
|
| 17 |
+
throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");
|
| 18 |
+
}
|
| 19 |
+
// core-js-pure uses Symbol.for for polyfilling well-known symbols
|
| 20 |
+
if (isAwait) {
|
| 21 |
+
var dispose = value[Symbol.asyncDispose || Symbol.for("Symbol.asyncDispose")];
|
| 22 |
+
}
|
| 23 |
+
if (dispose == null) {
|
| 24 |
+
dispose = value[Symbol.dispose || Symbol.for("Symbol.dispose")];
|
| 25 |
+
}
|
| 26 |
+
if (typeof dispose !== "function") {
|
| 27 |
+
throw new TypeError(`Property [Symbol.dispose] is not a function.`);
|
| 28 |
+
}
|
| 29 |
+
stack.push({ v: value, d: dispose, a: isAwait });
|
| 30 |
+
} else if (isAwait) {
|
| 31 |
+
// provide the nullish `value` as `d` for minification gain
|
| 32 |
+
stack.push({ d: value, a: isAwait });
|
| 33 |
+
}
|
| 34 |
+
return value;
|
| 35 |
+
}
|
| 36 |
+
return {
|
| 37 |
+
// error
|
| 38 |
+
e: empty,
|
| 39 |
+
// using
|
| 40 |
+
u: using.bind(null, false),
|
| 41 |
+
// await using
|
| 42 |
+
a: using.bind(null, true),
|
| 43 |
+
// dispose
|
| 44 |
+
d: function() {
|
| 45 |
+
var error = this.e;
|
| 46 |
+
|
| 47 |
+
function next() {
|
| 48 |
+
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
| 49 |
+
while ((resource = stack.pop())) {
|
| 50 |
+
try {
|
| 51 |
+
var resource, disposalResult = resource.d && resource.d.call(resource.v);
|
| 52 |
+
if (resource.a) {
|
| 53 |
+
return Promise.resolve(disposalResult).then(next, err);
|
| 54 |
+
}
|
| 55 |
+
} catch (e) {
|
| 56 |
+
return err(e);
|
| 57 |
+
}
|
| 58 |
+
}
|
| 59 |
+
if (error !== empty) throw error;
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
function err(e) {
|
| 63 |
+
error = error !== empty ? new _disposeSuppressedError(error, e) : e;
|
| 64 |
+
|
| 65 |
+
return next();
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
return next();
|
| 69 |
+
}
|
| 70 |
+
};
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
export { _using_ctx as _ };
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_wrap_async_generator.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { _ as _async_generator } from "./_async_generator.js";
|
| 2 |
+
|
| 3 |
+
function _wrap_async_generator(fn) {
|
| 4 |
+
return function() {
|
| 5 |
+
return new _async_generator(fn.apply(this, arguments));
|
| 6 |
+
};
|
| 7 |
+
}
|
| 8 |
+
export { _wrap_async_generator as _ };
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_wrap_native_super.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { _ as _construct } from "./_construct.js";
|
| 2 |
+
import { _ as _get_prototype_of } from "./_get_prototype_of.js";
|
| 3 |
+
import { _ as _is_native_function } from "./_is_native_function.js";
|
| 4 |
+
import { _ as _set_prototype_of } from "./_set_prototype_of.js";
|
| 5 |
+
|
| 6 |
+
function _wrap_native_super(Class) {
|
| 7 |
+
var _cache = typeof Map === "function" ? new Map() : undefined;
|
| 8 |
+
_wrap_native_super = function(Class) {
|
| 9 |
+
if (Class === null || !_is_native_function(Class)) return Class;
|
| 10 |
+
if (typeof Class !== "function") throw new TypeError("Super expression must either be null or a function");
|
| 11 |
+
if (typeof _cache !== "undefined") {
|
| 12 |
+
if (_cache.has(Class)) return _cache.get(Class);
|
| 13 |
+
_cache.set(Class, Wrapper);
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
function Wrapper() {
|
| 17 |
+
return _construct(Class, arguments, _get_prototype_of(this).constructor);
|
| 18 |
+
}
|
| 19 |
+
Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } });
|
| 20 |
+
|
| 21 |
+
return _set_prototype_of(Wrapper, Class);
|
| 22 |
+
};
|
| 23 |
+
|
| 24 |
+
return _wrap_native_super(Class);
|
| 25 |
+
}
|
| 26 |
+
export { _wrap_native_super as _ };
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_write_only_error.js
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
function _write_only_error(name) {
|
| 2 |
+
throw new TypeError("\"" + name + "\" is write-only");
|
| 3 |
+
}
|
| 4 |
+
export { _write_only_error as _ };
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/index.js
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* This file is automatically generated and should not be manually edited. */
|
| 2 |
+
/* To modify this file, please run the `npm run build` command instead. */
|
| 3 |
+
|
| 4 |
+
export { _ as _apply_decorated_descriptor } from "./_apply_decorated_descriptor.js";
|
| 5 |
+
export { _ as _apply_decs_2203_r } from "./_apply_decs_2203_r.js";
|
| 6 |
+
export { _ as _array_like_to_array } from "./_array_like_to_array.js";
|
| 7 |
+
export { _ as _array_with_holes } from "./_array_with_holes.js";
|
| 8 |
+
export { _ as _array_without_holes } from "./_array_without_holes.js";
|
| 9 |
+
export { _ as _assert_this_initialized } from "./_assert_this_initialized.js";
|
| 10 |
+
export { _ as _async_generator } from "./_async_generator.js";
|
| 11 |
+
export { _ as _async_generator_delegate } from "./_async_generator_delegate.js";
|
| 12 |
+
export { _ as _async_iterator } from "./_async_iterator.js";
|
| 13 |
+
export { _ as _async_to_generator } from "./_async_to_generator.js";
|
| 14 |
+
export { _ as _await_async_generator } from "./_await_async_generator.js";
|
| 15 |
+
export { _ as _await_value } from "./_await_value.js";
|
| 16 |
+
export { _ as _call_super } from "./_call_super.js";
|
| 17 |
+
export { _ as _check_private_redeclaration } from "./_check_private_redeclaration.js";
|
| 18 |
+
export { _ as _class_apply_descriptor_destructure } from "./_class_apply_descriptor_destructure.js";
|
| 19 |
+
export { _ as _class_apply_descriptor_get } from "./_class_apply_descriptor_get.js";
|
| 20 |
+
export { _ as _class_apply_descriptor_set } from "./_class_apply_descriptor_set.js";
|
| 21 |
+
export { _ as _class_apply_descriptor_update } from "./_class_apply_descriptor_update.js";
|
| 22 |
+
export { _ as _class_call_check } from "./_class_call_check.js";
|
| 23 |
+
export { _ as _class_check_private_static_access } from "./_class_check_private_static_access.js";
|
| 24 |
+
export { _ as _class_check_private_static_field_descriptor } from "./_class_check_private_static_field_descriptor.js";
|
| 25 |
+
export { _ as _class_extract_field_descriptor } from "./_class_extract_field_descriptor.js";
|
| 26 |
+
export { _ as _class_name_tdz_error } from "./_class_name_tdz_error.js";
|
| 27 |
+
export { _ as _class_private_field_destructure } from "./_class_private_field_destructure.js";
|
| 28 |
+
export { _ as _class_private_field_get } from "./_class_private_field_get.js";
|
| 29 |
+
export { _ as _class_private_field_init } from "./_class_private_field_init.js";
|
| 30 |
+
export { _ as _class_private_field_loose_base } from "./_class_private_field_loose_base.js";
|
| 31 |
+
export { _ as _class_private_field_loose_key } from "./_class_private_field_loose_key.js";
|
| 32 |
+
export { _ as _class_private_field_set } from "./_class_private_field_set.js";
|
| 33 |
+
export { _ as _class_private_field_update } from "./_class_private_field_update.js";
|
| 34 |
+
export { _ as _class_private_method_get } from "./_class_private_method_get.js";
|
| 35 |
+
export { _ as _class_private_method_init } from "./_class_private_method_init.js";
|
| 36 |
+
export { _ as _class_private_method_set } from "./_class_private_method_set.js";
|
| 37 |
+
export { _ as _class_static_private_field_destructure } from "./_class_static_private_field_destructure.js";
|
| 38 |
+
export { _ as _class_static_private_field_spec_get } from "./_class_static_private_field_spec_get.js";
|
| 39 |
+
export { _ as _class_static_private_field_spec_set } from "./_class_static_private_field_spec_set.js";
|
| 40 |
+
export { _ as _class_static_private_field_update } from "./_class_static_private_field_update.js";
|
| 41 |
+
export { _ as _class_static_private_method_get } from "./_class_static_private_method_get.js";
|
| 42 |
+
export { _ as _construct } from "./_construct.js";
|
| 43 |
+
export { _ as _create_class } from "./_create_class.js";
|
| 44 |
+
export { _ as _create_for_of_iterator_helper_loose } from "./_create_for_of_iterator_helper_loose.js";
|
| 45 |
+
export { _ as _create_super } from "./_create_super.js";
|
| 46 |
+
export { _ as _decorate } from "./_decorate.js";
|
| 47 |
+
export { _ as _defaults } from "./_defaults.js";
|
| 48 |
+
export { _ as _define_enumerable_properties } from "./_define_enumerable_properties.js";
|
| 49 |
+
export { _ as _define_property } from "./_define_property.js";
|
| 50 |
+
export { _ as _dispose } from "./_dispose.js";
|
| 51 |
+
export { _ as _export_star } from "./_export_star.js";
|
| 52 |
+
export { _ as _extends } from "./_extends.js";
|
| 53 |
+
export { _ as _get } from "./_get.js";
|
| 54 |
+
export { _ as _get_prototype_of } from "./_get_prototype_of.js";
|
| 55 |
+
export { _ as _identity } from "./_identity.js";
|
| 56 |
+
export { _ as _inherits } from "./_inherits.js";
|
| 57 |
+
export { _ as _inherits_loose } from "./_inherits_loose.js";
|
| 58 |
+
export { _ as _initializer_define_property } from "./_initializer_define_property.js";
|
| 59 |
+
export { _ as _initializer_warning_helper } from "./_initializer_warning_helper.js";
|
| 60 |
+
export { _ as _instanceof } from "./_instanceof.js";
|
| 61 |
+
export { _ as _interop_require_default } from "./_interop_require_default.js";
|
| 62 |
+
export { _ as _interop_require_wildcard } from "./_interop_require_wildcard.js";
|
| 63 |
+
export { _ as _is_native_function } from "./_is_native_function.js";
|
| 64 |
+
export { _ as _is_native_reflect_construct } from "./_is_native_reflect_construct.js";
|
| 65 |
+
export { _ as _iterable_to_array } from "./_iterable_to_array.js";
|
| 66 |
+
export { _ as _iterable_to_array_limit } from "./_iterable_to_array_limit.js";
|
| 67 |
+
export { _ as _iterable_to_array_limit_loose } from "./_iterable_to_array_limit_loose.js";
|
| 68 |
+
export { _ as _jsx } from "./_jsx.js";
|
| 69 |
+
export { _ as _new_arrow_check } from "./_new_arrow_check.js";
|
| 70 |
+
export { _ as _non_iterable_rest } from "./_non_iterable_rest.js";
|
| 71 |
+
export { _ as _non_iterable_spread } from "./_non_iterable_spread.js";
|
| 72 |
+
export { _ as _object_destructuring_empty } from "./_object_destructuring_empty.js";
|
| 73 |
+
export { _ as _object_spread } from "./_object_spread.js";
|
| 74 |
+
export { _ as _object_spread_props } from "./_object_spread_props.js";
|
| 75 |
+
export { _ as _object_without_properties } from "./_object_without_properties.js";
|
| 76 |
+
export { _ as _object_without_properties_loose } from "./_object_without_properties_loose.js";
|
| 77 |
+
export { _ as _possible_constructor_return } from "./_possible_constructor_return.js";
|
| 78 |
+
export { _ as _read_only_error } from "./_read_only_error.js";
|
| 79 |
+
export { _ as _set } from "./_set.js";
|
| 80 |
+
export { _ as _set_prototype_of } from "./_set_prototype_of.js";
|
| 81 |
+
export { _ as _skip_first_generator_next } from "./_skip_first_generator_next.js";
|
| 82 |
+
export { _ as _sliced_to_array } from "./_sliced_to_array.js";
|
| 83 |
+
export { _ as _sliced_to_array_loose } from "./_sliced_to_array_loose.js";
|
| 84 |
+
export { _ as _super_prop_base } from "./_super_prop_base.js";
|
| 85 |
+
export { _ as _tagged_template_literal } from "./_tagged_template_literal.js";
|
| 86 |
+
export { _ as _tagged_template_literal_loose } from "./_tagged_template_literal_loose.js";
|
| 87 |
+
export { _ as _throw } from "./_throw.js";
|
| 88 |
+
export { _ as _to_array } from "./_to_array.js";
|
| 89 |
+
export { _ as _to_consumable_array } from "./_to_consumable_array.js";
|
| 90 |
+
export { _ as _to_primitive } from "./_to_primitive.js";
|
| 91 |
+
export { _ as _to_property_key } from "./_to_property_key.js";
|
| 92 |
+
export { _ as _ts_add_disposable_resource } from "./_ts_add_disposable_resource.js";
|
| 93 |
+
export { _ as _ts_decorate } from "./_ts_decorate.js";
|
| 94 |
+
export { _ as _ts_dispose_resources } from "./_ts_dispose_resources.js";
|
| 95 |
+
export { _ as _ts_generator } from "./_ts_generator.js";
|
| 96 |
+
export { _ as _ts_metadata } from "./_ts_metadata.js";
|
| 97 |
+
export { _ as _ts_param } from "./_ts_param.js";
|
| 98 |
+
export { _ as _ts_values } from "./_ts_values.js";
|
| 99 |
+
export { _ as _type_of } from "./_type_of.js";
|
| 100 |
+
export { _ as _unsupported_iterable_to_array } from "./_unsupported_iterable_to_array.js";
|
| 101 |
+
export { _ as _update } from "./_update.js";
|
| 102 |
+
export { _ as _using } from "./_using.js";
|
| 103 |
+
export { _ as _using_ctx } from "./_using_ctx.js";
|
| 104 |
+
export { _ as _wrap_async_generator } from "./_wrap_async_generator.js";
|
| 105 |
+
export { _ as _wrap_native_super } from "./_wrap_native_super.js";
|
| 106 |
+
export { _ as _write_only_error } from "./_write_only_error.js";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/package.json
ADDED
|
@@ -0,0 +1,471 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@swc/helpers",
|
| 3 |
+
"packageManager": "yarn@4.0.2",
|
| 4 |
+
"version": "0.5.15",
|
| 5 |
+
"description": "External helpers for the swc project.",
|
| 6 |
+
"module": "esm/index.js",
|
| 7 |
+
"main": "cjs/index.cjs",
|
| 8 |
+
"sideEffects": false,
|
| 9 |
+
"scripts": {
|
| 10 |
+
"build": "zx ./scripts/build.js",
|
| 11 |
+
"prepack": "zx ./scripts/build.js"
|
| 12 |
+
},
|
| 13 |
+
"repository": {
|
| 14 |
+
"type": "git",
|
| 15 |
+
"url": "git+https://github.com/swc-project/swc.git"
|
| 16 |
+
},
|
| 17 |
+
"publishConfig": {
|
| 18 |
+
"registry": "https://registry.npmjs.org/",
|
| 19 |
+
"access": "public"
|
| 20 |
+
},
|
| 21 |
+
"keywords": [
|
| 22 |
+
"swc",
|
| 23 |
+
"helpers"
|
| 24 |
+
],
|
| 25 |
+
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
| 26 |
+
"license": "Apache-2.0",
|
| 27 |
+
"bugs": {
|
| 28 |
+
"url": "https://github.com/swc-project/swc/issues"
|
| 29 |
+
},
|
| 30 |
+
"homepage": "https://swc.rs",
|
| 31 |
+
"type": "module",
|
| 32 |
+
"devDependencies": {
|
| 33 |
+
"@ast-grep/napi": "^0.3.1",
|
| 34 |
+
"dprint": "^0.35.3",
|
| 35 |
+
"magic-string": "^0.30.0",
|
| 36 |
+
"zx": "^7.2.1"
|
| 37 |
+
},
|
| 38 |
+
"dependencies": {
|
| 39 |
+
"tslib": "^2.8.0"
|
| 40 |
+
},
|
| 41 |
+
"exports": {
|
| 42 |
+
"./package.json": "./package.json",
|
| 43 |
+
"./esm/*": "./esm/*",
|
| 44 |
+
"./cjs/*": "./cjs/*",
|
| 45 |
+
"./src/*": "./src/*",
|
| 46 |
+
".": {
|
| 47 |
+
"import": "./esm/index.js",
|
| 48 |
+
"default": "./cjs/index.cjs"
|
| 49 |
+
},
|
| 50 |
+
"./_": {
|
| 51 |
+
"import": "./esm/index.js",
|
| 52 |
+
"default": "./cjs/index.cjs"
|
| 53 |
+
},
|
| 54 |
+
"./_/_apply_decorated_descriptor": {
|
| 55 |
+
"import": "./esm/_apply_decorated_descriptor.js",
|
| 56 |
+
"default": "./cjs/_apply_decorated_descriptor.cjs"
|
| 57 |
+
},
|
| 58 |
+
"./_/_apply_decs_2203_r": {
|
| 59 |
+
"import": "./esm/_apply_decs_2203_r.js",
|
| 60 |
+
"default": "./cjs/_apply_decs_2203_r.cjs"
|
| 61 |
+
},
|
| 62 |
+
"./_/_array_like_to_array": {
|
| 63 |
+
"import": "./esm/_array_like_to_array.js",
|
| 64 |
+
"default": "./cjs/_array_like_to_array.cjs"
|
| 65 |
+
},
|
| 66 |
+
"./_/_array_with_holes": {
|
| 67 |
+
"import": "./esm/_array_with_holes.js",
|
| 68 |
+
"default": "./cjs/_array_with_holes.cjs"
|
| 69 |
+
},
|
| 70 |
+
"./_/_array_without_holes": {
|
| 71 |
+
"import": "./esm/_array_without_holes.js",
|
| 72 |
+
"default": "./cjs/_array_without_holes.cjs"
|
| 73 |
+
},
|
| 74 |
+
"./_/_assert_this_initialized": {
|
| 75 |
+
"import": "./esm/_assert_this_initialized.js",
|
| 76 |
+
"default": "./cjs/_assert_this_initialized.cjs"
|
| 77 |
+
},
|
| 78 |
+
"./_/_async_generator": {
|
| 79 |
+
"import": "./esm/_async_generator.js",
|
| 80 |
+
"default": "./cjs/_async_generator.cjs"
|
| 81 |
+
},
|
| 82 |
+
"./_/_async_generator_delegate": {
|
| 83 |
+
"import": "./esm/_async_generator_delegate.js",
|
| 84 |
+
"default": "./cjs/_async_generator_delegate.cjs"
|
| 85 |
+
},
|
| 86 |
+
"./_/_async_iterator": {
|
| 87 |
+
"import": "./esm/_async_iterator.js",
|
| 88 |
+
"default": "./cjs/_async_iterator.cjs"
|
| 89 |
+
},
|
| 90 |
+
"./_/_async_to_generator": {
|
| 91 |
+
"import": "./esm/_async_to_generator.js",
|
| 92 |
+
"default": "./cjs/_async_to_generator.cjs"
|
| 93 |
+
},
|
| 94 |
+
"./_/_await_async_generator": {
|
| 95 |
+
"import": "./esm/_await_async_generator.js",
|
| 96 |
+
"default": "./cjs/_await_async_generator.cjs"
|
| 97 |
+
},
|
| 98 |
+
"./_/_await_value": {
|
| 99 |
+
"import": "./esm/_await_value.js",
|
| 100 |
+
"default": "./cjs/_await_value.cjs"
|
| 101 |
+
},
|
| 102 |
+
"./_/_call_super": {
|
| 103 |
+
"import": "./esm/_call_super.js",
|
| 104 |
+
"default": "./cjs/_call_super.cjs"
|
| 105 |
+
},
|
| 106 |
+
"./_/_check_private_redeclaration": {
|
| 107 |
+
"import": "./esm/_check_private_redeclaration.js",
|
| 108 |
+
"default": "./cjs/_check_private_redeclaration.cjs"
|
| 109 |
+
},
|
| 110 |
+
"./_/_class_apply_descriptor_destructure": {
|
| 111 |
+
"import": "./esm/_class_apply_descriptor_destructure.js",
|
| 112 |
+
"default": "./cjs/_class_apply_descriptor_destructure.cjs"
|
| 113 |
+
},
|
| 114 |
+
"./_/_class_apply_descriptor_get": {
|
| 115 |
+
"import": "./esm/_class_apply_descriptor_get.js",
|
| 116 |
+
"default": "./cjs/_class_apply_descriptor_get.cjs"
|
| 117 |
+
},
|
| 118 |
+
"./_/_class_apply_descriptor_set": {
|
| 119 |
+
"import": "./esm/_class_apply_descriptor_set.js",
|
| 120 |
+
"default": "./cjs/_class_apply_descriptor_set.cjs"
|
| 121 |
+
},
|
| 122 |
+
"./_/_class_apply_descriptor_update": {
|
| 123 |
+
"import": "./esm/_class_apply_descriptor_update.js",
|
| 124 |
+
"default": "./cjs/_class_apply_descriptor_update.cjs"
|
| 125 |
+
},
|
| 126 |
+
"./_/_class_call_check": {
|
| 127 |
+
"import": "./esm/_class_call_check.js",
|
| 128 |
+
"default": "./cjs/_class_call_check.cjs"
|
| 129 |
+
},
|
| 130 |
+
"./_/_class_check_private_static_access": {
|
| 131 |
+
"import": "./esm/_class_check_private_static_access.js",
|
| 132 |
+
"default": "./cjs/_class_check_private_static_access.cjs"
|
| 133 |
+
},
|
| 134 |
+
"./_/_class_check_private_static_field_descriptor": {
|
| 135 |
+
"import": "./esm/_class_check_private_static_field_descriptor.js",
|
| 136 |
+
"default": "./cjs/_class_check_private_static_field_descriptor.cjs"
|
| 137 |
+
},
|
| 138 |
+
"./_/_class_extract_field_descriptor": {
|
| 139 |
+
"import": "./esm/_class_extract_field_descriptor.js",
|
| 140 |
+
"default": "./cjs/_class_extract_field_descriptor.cjs"
|
| 141 |
+
},
|
| 142 |
+
"./_/_class_name_tdz_error": {
|
| 143 |
+
"import": "./esm/_class_name_tdz_error.js",
|
| 144 |
+
"default": "./cjs/_class_name_tdz_error.cjs"
|
| 145 |
+
},
|
| 146 |
+
"./_/_class_private_field_destructure": {
|
| 147 |
+
"import": "./esm/_class_private_field_destructure.js",
|
| 148 |
+
"default": "./cjs/_class_private_field_destructure.cjs"
|
| 149 |
+
},
|
| 150 |
+
"./_/_class_private_field_get": {
|
| 151 |
+
"import": "./esm/_class_private_field_get.js",
|
| 152 |
+
"default": "./cjs/_class_private_field_get.cjs"
|
| 153 |
+
},
|
| 154 |
+
"./_/_class_private_field_init": {
|
| 155 |
+
"import": "./esm/_class_private_field_init.js",
|
| 156 |
+
"default": "./cjs/_class_private_field_init.cjs"
|
| 157 |
+
},
|
| 158 |
+
"./_/_class_private_field_loose_base": {
|
| 159 |
+
"import": "./esm/_class_private_field_loose_base.js",
|
| 160 |
+
"default": "./cjs/_class_private_field_loose_base.cjs"
|
| 161 |
+
},
|
| 162 |
+
"./_/_class_private_field_loose_key": {
|
| 163 |
+
"import": "./esm/_class_private_field_loose_key.js",
|
| 164 |
+
"default": "./cjs/_class_private_field_loose_key.cjs"
|
| 165 |
+
},
|
| 166 |
+
"./_/_class_private_field_set": {
|
| 167 |
+
"import": "./esm/_class_private_field_set.js",
|
| 168 |
+
"default": "./cjs/_class_private_field_set.cjs"
|
| 169 |
+
},
|
| 170 |
+
"./_/_class_private_field_update": {
|
| 171 |
+
"import": "./esm/_class_private_field_update.js",
|
| 172 |
+
"default": "./cjs/_class_private_field_update.cjs"
|
| 173 |
+
},
|
| 174 |
+
"./_/_class_private_method_get": {
|
| 175 |
+
"import": "./esm/_class_private_method_get.js",
|
| 176 |
+
"default": "./cjs/_class_private_method_get.cjs"
|
| 177 |
+
},
|
| 178 |
+
"./_/_class_private_method_init": {
|
| 179 |
+
"import": "./esm/_class_private_method_init.js",
|
| 180 |
+
"default": "./cjs/_class_private_method_init.cjs"
|
| 181 |
+
},
|
| 182 |
+
"./_/_class_private_method_set": {
|
| 183 |
+
"import": "./esm/_class_private_method_set.js",
|
| 184 |
+
"default": "./cjs/_class_private_method_set.cjs"
|
| 185 |
+
},
|
| 186 |
+
"./_/_class_static_private_field_destructure": {
|
| 187 |
+
"import": "./esm/_class_static_private_field_destructure.js",
|
| 188 |
+
"default": "./cjs/_class_static_private_field_destructure.cjs"
|
| 189 |
+
},
|
| 190 |
+
"./_/_class_static_private_field_spec_get": {
|
| 191 |
+
"import": "./esm/_class_static_private_field_spec_get.js",
|
| 192 |
+
"default": "./cjs/_class_static_private_field_spec_get.cjs"
|
| 193 |
+
},
|
| 194 |
+
"./_/_class_static_private_field_spec_set": {
|
| 195 |
+
"import": "./esm/_class_static_private_field_spec_set.js",
|
| 196 |
+
"default": "./cjs/_class_static_private_field_spec_set.cjs"
|
| 197 |
+
},
|
| 198 |
+
"./_/_class_static_private_field_update": {
|
| 199 |
+
"import": "./esm/_class_static_private_field_update.js",
|
| 200 |
+
"default": "./cjs/_class_static_private_field_update.cjs"
|
| 201 |
+
},
|
| 202 |
+
"./_/_class_static_private_method_get": {
|
| 203 |
+
"import": "./esm/_class_static_private_method_get.js",
|
| 204 |
+
"default": "./cjs/_class_static_private_method_get.cjs"
|
| 205 |
+
},
|
| 206 |
+
"./_/_construct": {
|
| 207 |
+
"import": "./esm/_construct.js",
|
| 208 |
+
"default": "./cjs/_construct.cjs"
|
| 209 |
+
},
|
| 210 |
+
"./_/_create_class": {
|
| 211 |
+
"import": "./esm/_create_class.js",
|
| 212 |
+
"default": "./cjs/_create_class.cjs"
|
| 213 |
+
},
|
| 214 |
+
"./_/_create_for_of_iterator_helper_loose": {
|
| 215 |
+
"import": "./esm/_create_for_of_iterator_helper_loose.js",
|
| 216 |
+
"default": "./cjs/_create_for_of_iterator_helper_loose.cjs"
|
| 217 |
+
},
|
| 218 |
+
"./_/_create_super": {
|
| 219 |
+
"import": "./esm/_create_super.js",
|
| 220 |
+
"default": "./cjs/_create_super.cjs"
|
| 221 |
+
},
|
| 222 |
+
"./_/_decorate": {
|
| 223 |
+
"import": "./esm/_decorate.js",
|
| 224 |
+
"default": "./cjs/_decorate.cjs"
|
| 225 |
+
},
|
| 226 |
+
"./_/_defaults": {
|
| 227 |
+
"import": "./esm/_defaults.js",
|
| 228 |
+
"default": "./cjs/_defaults.cjs"
|
| 229 |
+
},
|
| 230 |
+
"./_/_define_enumerable_properties": {
|
| 231 |
+
"import": "./esm/_define_enumerable_properties.js",
|
| 232 |
+
"default": "./cjs/_define_enumerable_properties.cjs"
|
| 233 |
+
},
|
| 234 |
+
"./_/_define_property": {
|
| 235 |
+
"import": "./esm/_define_property.js",
|
| 236 |
+
"default": "./cjs/_define_property.cjs"
|
| 237 |
+
},
|
| 238 |
+
"./_/_dispose": {
|
| 239 |
+
"import": "./esm/_dispose.js",
|
| 240 |
+
"default": "./cjs/_dispose.cjs"
|
| 241 |
+
},
|
| 242 |
+
"./_/_export_star": {
|
| 243 |
+
"import": "./esm/_export_star.js",
|
| 244 |
+
"default": "./cjs/_export_star.cjs"
|
| 245 |
+
},
|
| 246 |
+
"./_/_extends": {
|
| 247 |
+
"import": "./esm/_extends.js",
|
| 248 |
+
"default": "./cjs/_extends.cjs"
|
| 249 |
+
},
|
| 250 |
+
"./_/_get": {
|
| 251 |
+
"import": "./esm/_get.js",
|
| 252 |
+
"default": "./cjs/_get.cjs"
|
| 253 |
+
},
|
| 254 |
+
"./_/_get_prototype_of": {
|
| 255 |
+
"import": "./esm/_get_prototype_of.js",
|
| 256 |
+
"default": "./cjs/_get_prototype_of.cjs"
|
| 257 |
+
},
|
| 258 |
+
"./_/_identity": {
|
| 259 |
+
"import": "./esm/_identity.js",
|
| 260 |
+
"default": "./cjs/_identity.cjs"
|
| 261 |
+
},
|
| 262 |
+
"./_/_inherits": {
|
| 263 |
+
"import": "./esm/_inherits.js",
|
| 264 |
+
"default": "./cjs/_inherits.cjs"
|
| 265 |
+
},
|
| 266 |
+
"./_/_inherits_loose": {
|
| 267 |
+
"import": "./esm/_inherits_loose.js",
|
| 268 |
+
"default": "./cjs/_inherits_loose.cjs"
|
| 269 |
+
},
|
| 270 |
+
"./_/_initializer_define_property": {
|
| 271 |
+
"import": "./esm/_initializer_define_property.js",
|
| 272 |
+
"default": "./cjs/_initializer_define_property.cjs"
|
| 273 |
+
},
|
| 274 |
+
"./_/_initializer_warning_helper": {
|
| 275 |
+
"import": "./esm/_initializer_warning_helper.js",
|
| 276 |
+
"default": "./cjs/_initializer_warning_helper.cjs"
|
| 277 |
+
},
|
| 278 |
+
"./_/_instanceof": {
|
| 279 |
+
"import": "./esm/_instanceof.js",
|
| 280 |
+
"default": "./cjs/_instanceof.cjs"
|
| 281 |
+
},
|
| 282 |
+
"./_/_interop_require_default": {
|
| 283 |
+
"import": "./esm/_interop_require_default.js",
|
| 284 |
+
"default": "./cjs/_interop_require_default.cjs"
|
| 285 |
+
},
|
| 286 |
+
"./_/_interop_require_wildcard": {
|
| 287 |
+
"import": "./esm/_interop_require_wildcard.js",
|
| 288 |
+
"default": "./cjs/_interop_require_wildcard.cjs"
|
| 289 |
+
},
|
| 290 |
+
"./_/_is_native_function": {
|
| 291 |
+
"import": "./esm/_is_native_function.js",
|
| 292 |
+
"default": "./cjs/_is_native_function.cjs"
|
| 293 |
+
},
|
| 294 |
+
"./_/_is_native_reflect_construct": {
|
| 295 |
+
"import": "./esm/_is_native_reflect_construct.js",
|
| 296 |
+
"default": "./cjs/_is_native_reflect_construct.cjs"
|
| 297 |
+
},
|
| 298 |
+
"./_/_iterable_to_array": {
|
| 299 |
+
"import": "./esm/_iterable_to_array.js",
|
| 300 |
+
"default": "./cjs/_iterable_to_array.cjs"
|
| 301 |
+
},
|
| 302 |
+
"./_/_iterable_to_array_limit": {
|
| 303 |
+
"import": "./esm/_iterable_to_array_limit.js",
|
| 304 |
+
"default": "./cjs/_iterable_to_array_limit.cjs"
|
| 305 |
+
},
|
| 306 |
+
"./_/_iterable_to_array_limit_loose": {
|
| 307 |
+
"import": "./esm/_iterable_to_array_limit_loose.js",
|
| 308 |
+
"default": "./cjs/_iterable_to_array_limit_loose.cjs"
|
| 309 |
+
},
|
| 310 |
+
"./_/_jsx": {
|
| 311 |
+
"import": "./esm/_jsx.js",
|
| 312 |
+
"default": "./cjs/_jsx.cjs"
|
| 313 |
+
},
|
| 314 |
+
"./_/_new_arrow_check": {
|
| 315 |
+
"import": "./esm/_new_arrow_check.js",
|
| 316 |
+
"default": "./cjs/_new_arrow_check.cjs"
|
| 317 |
+
},
|
| 318 |
+
"./_/_non_iterable_rest": {
|
| 319 |
+
"import": "./esm/_non_iterable_rest.js",
|
| 320 |
+
"default": "./cjs/_non_iterable_rest.cjs"
|
| 321 |
+
},
|
| 322 |
+
"./_/_non_iterable_spread": {
|
| 323 |
+
"import": "./esm/_non_iterable_spread.js",
|
| 324 |
+
"default": "./cjs/_non_iterable_spread.cjs"
|
| 325 |
+
},
|
| 326 |
+
"./_/_object_destructuring_empty": {
|
| 327 |
+
"import": "./esm/_object_destructuring_empty.js",
|
| 328 |
+
"default": "./cjs/_object_destructuring_empty.cjs"
|
| 329 |
+
},
|
| 330 |
+
"./_/_object_spread": {
|
| 331 |
+
"import": "./esm/_object_spread.js",
|
| 332 |
+
"default": "./cjs/_object_spread.cjs"
|
| 333 |
+
},
|
| 334 |
+
"./_/_object_spread_props": {
|
| 335 |
+
"import": "./esm/_object_spread_props.js",
|
| 336 |
+
"default": "./cjs/_object_spread_props.cjs"
|
| 337 |
+
},
|
| 338 |
+
"./_/_object_without_properties": {
|
| 339 |
+
"import": "./esm/_object_without_properties.js",
|
| 340 |
+
"default": "./cjs/_object_without_properties.cjs"
|
| 341 |
+
},
|
| 342 |
+
"./_/_object_without_properties_loose": {
|
| 343 |
+
"import": "./esm/_object_without_properties_loose.js",
|
| 344 |
+
"default": "./cjs/_object_without_properties_loose.cjs"
|
| 345 |
+
},
|
| 346 |
+
"./_/_possible_constructor_return": {
|
| 347 |
+
"import": "./esm/_possible_constructor_return.js",
|
| 348 |
+
"default": "./cjs/_possible_constructor_return.cjs"
|
| 349 |
+
},
|
| 350 |
+
"./_/_read_only_error": {
|
| 351 |
+
"import": "./esm/_read_only_error.js",
|
| 352 |
+
"default": "./cjs/_read_only_error.cjs"
|
| 353 |
+
},
|
| 354 |
+
"./_/_set": {
|
| 355 |
+
"import": "./esm/_set.js",
|
| 356 |
+
"default": "./cjs/_set.cjs"
|
| 357 |
+
},
|
| 358 |
+
"./_/_set_prototype_of": {
|
| 359 |
+
"import": "./esm/_set_prototype_of.js",
|
| 360 |
+
"default": "./cjs/_set_prototype_of.cjs"
|
| 361 |
+
},
|
| 362 |
+
"./_/_skip_first_generator_next": {
|
| 363 |
+
"import": "./esm/_skip_first_generator_next.js",
|
| 364 |
+
"default": "./cjs/_skip_first_generator_next.cjs"
|
| 365 |
+
},
|
| 366 |
+
"./_/_sliced_to_array": {
|
| 367 |
+
"import": "./esm/_sliced_to_array.js",
|
| 368 |
+
"default": "./cjs/_sliced_to_array.cjs"
|
| 369 |
+
},
|
| 370 |
+
"./_/_sliced_to_array_loose": {
|
| 371 |
+
"import": "./esm/_sliced_to_array_loose.js",
|
| 372 |
+
"default": "./cjs/_sliced_to_array_loose.cjs"
|
| 373 |
+
},
|
| 374 |
+
"./_/_super_prop_base": {
|
| 375 |
+
"import": "./esm/_super_prop_base.js",
|
| 376 |
+
"default": "./cjs/_super_prop_base.cjs"
|
| 377 |
+
},
|
| 378 |
+
"./_/_tagged_template_literal": {
|
| 379 |
+
"import": "./esm/_tagged_template_literal.js",
|
| 380 |
+
"default": "./cjs/_tagged_template_literal.cjs"
|
| 381 |
+
},
|
| 382 |
+
"./_/_tagged_template_literal_loose": {
|
| 383 |
+
"import": "./esm/_tagged_template_literal_loose.js",
|
| 384 |
+
"default": "./cjs/_tagged_template_literal_loose.cjs"
|
| 385 |
+
},
|
| 386 |
+
"./_/_throw": {
|
| 387 |
+
"import": "./esm/_throw.js",
|
| 388 |
+
"default": "./cjs/_throw.cjs"
|
| 389 |
+
},
|
| 390 |
+
"./_/_to_array": {
|
| 391 |
+
"import": "./esm/_to_array.js",
|
| 392 |
+
"default": "./cjs/_to_array.cjs"
|
| 393 |
+
},
|
| 394 |
+
"./_/_to_consumable_array": {
|
| 395 |
+
"import": "./esm/_to_consumable_array.js",
|
| 396 |
+
"default": "./cjs/_to_consumable_array.cjs"
|
| 397 |
+
},
|
| 398 |
+
"./_/_to_primitive": {
|
| 399 |
+
"import": "./esm/_to_primitive.js",
|
| 400 |
+
"default": "./cjs/_to_primitive.cjs"
|
| 401 |
+
},
|
| 402 |
+
"./_/_to_property_key": {
|
| 403 |
+
"import": "./esm/_to_property_key.js",
|
| 404 |
+
"default": "./cjs/_to_property_key.cjs"
|
| 405 |
+
},
|
| 406 |
+
"./_/_ts_add_disposable_resource": {
|
| 407 |
+
"import": "./esm/_ts_add_disposable_resource.js",
|
| 408 |
+
"default": "./cjs/_ts_add_disposable_resource.cjs"
|
| 409 |
+
},
|
| 410 |
+
"./_/_ts_decorate": {
|
| 411 |
+
"import": "./esm/_ts_decorate.js",
|
| 412 |
+
"default": "./cjs/_ts_decorate.cjs"
|
| 413 |
+
},
|
| 414 |
+
"./_/_ts_dispose_resources": {
|
| 415 |
+
"import": "./esm/_ts_dispose_resources.js",
|
| 416 |
+
"default": "./cjs/_ts_dispose_resources.cjs"
|
| 417 |
+
},
|
| 418 |
+
"./_/_ts_generator": {
|
| 419 |
+
"import": "./esm/_ts_generator.js",
|
| 420 |
+
"default": "./cjs/_ts_generator.cjs"
|
| 421 |
+
},
|
| 422 |
+
"./_/_ts_metadata": {
|
| 423 |
+
"import": "./esm/_ts_metadata.js",
|
| 424 |
+
"default": "./cjs/_ts_metadata.cjs"
|
| 425 |
+
},
|
| 426 |
+
"./_/_ts_param": {
|
| 427 |
+
"import": "./esm/_ts_param.js",
|
| 428 |
+
"default": "./cjs/_ts_param.cjs"
|
| 429 |
+
},
|
| 430 |
+
"./_/_ts_values": {
|
| 431 |
+
"import": "./esm/_ts_values.js",
|
| 432 |
+
"default": "./cjs/_ts_values.cjs"
|
| 433 |
+
},
|
| 434 |
+
"./_/_type_of": {
|
| 435 |
+
"import": "./esm/_type_of.js",
|
| 436 |
+
"default": "./cjs/_type_of.cjs"
|
| 437 |
+
},
|
| 438 |
+
"./_/_unsupported_iterable_to_array": {
|
| 439 |
+
"import": "./esm/_unsupported_iterable_to_array.js",
|
| 440 |
+
"default": "./cjs/_unsupported_iterable_to_array.cjs"
|
| 441 |
+
},
|
| 442 |
+
"./_/_update": {
|
| 443 |
+
"import": "./esm/_update.js",
|
| 444 |
+
"default": "./cjs/_update.cjs"
|
| 445 |
+
},
|
| 446 |
+
"./_/_using": {
|
| 447 |
+
"import": "./esm/_using.js",
|
| 448 |
+
"default": "./cjs/_using.cjs"
|
| 449 |
+
},
|
| 450 |
+
"./_/_using_ctx": {
|
| 451 |
+
"import": "./esm/_using_ctx.js",
|
| 452 |
+
"default": "./cjs/_using_ctx.cjs"
|
| 453 |
+
},
|
| 454 |
+
"./_/_wrap_async_generator": {
|
| 455 |
+
"import": "./esm/_wrap_async_generator.js",
|
| 456 |
+
"default": "./cjs/_wrap_async_generator.cjs"
|
| 457 |
+
},
|
| 458 |
+
"./_/_wrap_native_super": {
|
| 459 |
+
"import": "./esm/_wrap_native_super.js",
|
| 460 |
+
"default": "./cjs/_wrap_native_super.cjs"
|
| 461 |
+
},
|
| 462 |
+
"./_/_write_only_error": {
|
| 463 |
+
"import": "./esm/_write_only_error.js",
|
| 464 |
+
"default": "./cjs/_write_only_error.cjs"
|
| 465 |
+
},
|
| 466 |
+
"./_/index": {
|
| 467 |
+
"import": "./esm/index.js",
|
| 468 |
+
"default": "./cjs/index.cjs"
|
| 469 |
+
}
|
| 470 |
+
}
|
| 471 |
+
}
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/scripts/ast_grep.js
ADDED
|
@@ -0,0 +1,229 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { parseFiles } from "@ast-grep/napi";
|
| 2 |
+
import MagicString from "magic-string";
|
| 3 |
+
import { chalk, fs, path } from "zx";
|
| 4 |
+
import { errors } from "./errors.js";
|
| 5 |
+
import { root } from "./utils.js";
|
| 6 |
+
|
| 7 |
+
/**
|
| 8 |
+
* @typedef {import("@ast-grep/napi").SgNode} SgNode
|
| 9 |
+
*/
|
| 10 |
+
|
| 11 |
+
export function ast_grep() {
|
| 12 |
+
const task_queue = [];
|
| 13 |
+
|
| 14 |
+
const task = parseFiles([root("esm")], (err, tree) => {
|
| 15 |
+
const filename = path.basename(tree.filename(), ".js");
|
| 16 |
+
if (filename === "index") {
|
| 17 |
+
return;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
const source = new MagicString(tree.root().text());
|
| 21 |
+
source.prepend(`"use strict";\n\n`);
|
| 22 |
+
|
| 23 |
+
if (filename.startsWith("_ts")) {
|
| 24 |
+
const match = tree.root().find(`export { $NAME as _ } from "tslib"`);
|
| 25 |
+
if (match) {
|
| 26 |
+
const name = match.getMatch("NAME").text();
|
| 27 |
+
|
| 28 |
+
const range = match.range();
|
| 29 |
+
|
| 30 |
+
source.update(
|
| 31 |
+
range.start.index,
|
| 32 |
+
range.end.index,
|
| 33 |
+
`exports._ = require("tslib").${name};`,
|
| 34 |
+
);
|
| 35 |
+
task_queue.push(
|
| 36 |
+
fs.writeFile(root("cjs", `${filename}.cjs`), source.toString(), {
|
| 37 |
+
encoding: "utf-8",
|
| 38 |
+
}),
|
| 39 |
+
);
|
| 40 |
+
} else {
|
| 41 |
+
report_noexport(tree.filename());
|
| 42 |
+
}
|
| 43 |
+
return;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
// rewrite export named function
|
| 47 |
+
const match = tree.root().find({
|
| 48 |
+
rule: {
|
| 49 |
+
kind: "export_statement",
|
| 50 |
+
pattern: "export { $FUNC as _ }",
|
| 51 |
+
},
|
| 52 |
+
});
|
| 53 |
+
|
| 54 |
+
if (match) {
|
| 55 |
+
const func = match.getMatch("FUNC");
|
| 56 |
+
const func_name = func.text();
|
| 57 |
+
if (func_name !== filename) {
|
| 58 |
+
report_export_mismatch(tree.filename(), match);
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
const range = match.range();
|
| 62 |
+
source.update(
|
| 63 |
+
range.start.index,
|
| 64 |
+
range.end.index,
|
| 65 |
+
`exports._ = ${func_name};`,
|
| 66 |
+
);
|
| 67 |
+
|
| 68 |
+
// since we match the { export x as _ } pattern,
|
| 69 |
+
// we need to find the assignment expression from the root
|
| 70 |
+
tree
|
| 71 |
+
.root()
|
| 72 |
+
.findAll({
|
| 73 |
+
rule: {
|
| 74 |
+
pattern: func_name,
|
| 75 |
+
kind: "identifier",
|
| 76 |
+
inside: { kind: "assignment_expression", field: "left" },
|
| 77 |
+
},
|
| 78 |
+
})
|
| 79 |
+
.forEach((match) => {
|
| 80 |
+
const range = match.range();
|
| 81 |
+
|
| 82 |
+
source.prependLeft(range.start.index, `exports._ = `);
|
| 83 |
+
});
|
| 84 |
+
} else {
|
| 85 |
+
report_noexport(tree.filename(tree.filename()));
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
// rewrite import
|
| 89 |
+
tree
|
| 90 |
+
.root()
|
| 91 |
+
.findAll({ rule: { pattern: `import { _ as $BINDING } from "$SOURCE"` } })
|
| 92 |
+
.forEach((match) => {
|
| 93 |
+
const import_binding = match.getMatch("BINDING").text();
|
| 94 |
+
const import_source = match.getMatch("SOURCE").text();
|
| 95 |
+
|
| 96 |
+
const import_basename = path.basename(import_source, ".js");
|
| 97 |
+
|
| 98 |
+
if (import_binding !== import_basename) {
|
| 99 |
+
report_import_mismatch(tree.filename(), match);
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
const range = match.range();
|
| 103 |
+
|
| 104 |
+
source.update(
|
| 105 |
+
range.start.index,
|
| 106 |
+
range.end.index,
|
| 107 |
+
`var ${import_binding} = require("./${import_binding}.cjs");`,
|
| 108 |
+
);
|
| 109 |
+
|
| 110 |
+
tree
|
| 111 |
+
.root()
|
| 112 |
+
.findAll({
|
| 113 |
+
rule: {
|
| 114 |
+
pattern: import_binding,
|
| 115 |
+
kind: "identifier",
|
| 116 |
+
inside: {
|
| 117 |
+
not: {
|
| 118 |
+
kind: "import_specifier",
|
| 119 |
+
},
|
| 120 |
+
},
|
| 121 |
+
},
|
| 122 |
+
})
|
| 123 |
+
.forEach((match) => {
|
| 124 |
+
const range = match.range();
|
| 125 |
+
const ref_name = match.text();
|
| 126 |
+
|
| 127 |
+
source.update(
|
| 128 |
+
range.start.index,
|
| 129 |
+
range.end.index,
|
| 130 |
+
`${ref_name}._`,
|
| 131 |
+
);
|
| 132 |
+
});
|
| 133 |
+
});
|
| 134 |
+
|
| 135 |
+
task_queue.push(
|
| 136 |
+
fs.writeFile(root("cjs", `${filename}.cjs`), source.toString(), {
|
| 137 |
+
encoding: "utf-8",
|
| 138 |
+
}),
|
| 139 |
+
);
|
| 140 |
+
});
|
| 141 |
+
|
| 142 |
+
task_queue.push(task);
|
| 143 |
+
|
| 144 |
+
return task_queue;
|
| 145 |
+
}
|
| 146 |
+
|
| 147 |
+
/**
|
| 148 |
+
* @param {string} filename
|
| 149 |
+
* @param {SgNode} match
|
| 150 |
+
*/
|
| 151 |
+
function report_export_mismatch(filename, match) {
|
| 152 |
+
const func = match.getMatch("FUNC");
|
| 153 |
+
const func_range = func.range();
|
| 154 |
+
|
| 155 |
+
const text = match.text().split("\n");
|
| 156 |
+
const offset = func_range.start.line - match.range().start.line;
|
| 157 |
+
|
| 158 |
+
text.splice(
|
| 159 |
+
offset + 1,
|
| 160 |
+
text.length,
|
| 161 |
+
chalk.red(
|
| 162 |
+
[
|
| 163 |
+
" ".repeat(func_range.start.column),
|
| 164 |
+
"^".repeat(func_range.end.column - func_range.start.column),
|
| 165 |
+
]
|
| 166 |
+
.join(""),
|
| 167 |
+
),
|
| 168 |
+
);
|
| 169 |
+
|
| 170 |
+
errors.push(
|
| 171 |
+
[
|
| 172 |
+
`${chalk.bold.red("error")}: mismatch exported function name.`,
|
| 173 |
+
"",
|
| 174 |
+
`${chalk.blue("-->")} ${filename}:${func_range.start.line + 1}:${func_range.start.column + 1}`,
|
| 175 |
+
"",
|
| 176 |
+
...text,
|
| 177 |
+
"",
|
| 178 |
+
`${
|
| 179 |
+
chalk.bold(
|
| 180 |
+
"note:",
|
| 181 |
+
)
|
| 182 |
+
} The exported name should be the same as the filename.`,
|
| 183 |
+
"",
|
| 184 |
+
]
|
| 185 |
+
.join("\n"),
|
| 186 |
+
);
|
| 187 |
+
}
|
| 188 |
+
|
| 189 |
+
/**
|
| 190 |
+
* @param {string} filename
|
| 191 |
+
* @param {SgNode} match
|
| 192 |
+
*/
|
| 193 |
+
function report_import_mismatch(filename, match) {
|
| 194 |
+
const binding_range = match.getMatch("BINDING").range();
|
| 195 |
+
const source_range = match.getMatch("SOURCE").range();
|
| 196 |
+
|
| 197 |
+
errors.push(
|
| 198 |
+
[
|
| 199 |
+
`${chalk.bold.red("error")}: mismatch imported binding name.`,
|
| 200 |
+
"",
|
| 201 |
+
`${chalk.blue("-->")} ${filename}:${match.range().start.line + 1}`,
|
| 202 |
+
"",
|
| 203 |
+
match.text(),
|
| 204 |
+
[
|
| 205 |
+
" ".repeat(binding_range.start.column),
|
| 206 |
+
chalk.red("^".repeat(binding_range.end.column - binding_range.start.column)),
|
| 207 |
+
" ".repeat(source_range.start.column - binding_range.end.column),
|
| 208 |
+
chalk.blue("-".repeat(source_range.end.column - source_range.start.column)),
|
| 209 |
+
]
|
| 210 |
+
.join(""),
|
| 211 |
+
`${
|
| 212 |
+
chalk.bold(
|
| 213 |
+
"note:",
|
| 214 |
+
)
|
| 215 |
+
} The imported binding name should be the same as the import source basename.`,
|
| 216 |
+
"",
|
| 217 |
+
]
|
| 218 |
+
.join("\n"),
|
| 219 |
+
);
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
/**
|
| 223 |
+
* @param {string} filename
|
| 224 |
+
*/
|
| 225 |
+
function report_noexport(filename) {
|
| 226 |
+
errors.push(
|
| 227 |
+
[`${chalk.bold.red("error")}: exported name not found`, `${chalk.blue("-->")} ${filename}`].join("\n"),
|
| 228 |
+
);
|
| 229 |
+
}
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/scripts/build.js
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env zx
|
| 2 |
+
|
| 3 |
+
import { $, fs, glob } from "zx";
|
| 4 |
+
import { ast_grep } from "./ast_grep.js";
|
| 5 |
+
import { errors } from "./errors.js";
|
| 6 |
+
import { root } from "./utils.js";
|
| 7 |
+
|
| 8 |
+
// clear generated content
|
| 9 |
+
await Promise.all([
|
| 10 |
+
fs.remove(root("cjs")),
|
| 11 |
+
fs.remove(root("_")),
|
| 12 |
+
fs.remove(root("src")),
|
| 13 |
+
]);
|
| 14 |
+
|
| 15 |
+
let modules = await glob("*.js", { cwd: root("esm") });
|
| 16 |
+
|
| 17 |
+
const task_queue = [];
|
| 18 |
+
|
| 19 |
+
const NO_MODIFY = [
|
| 20 |
+
"/* This file is automatically generated and should not be manually edited. */",
|
| 21 |
+
"/* To modify this file, please run the `npm run build` command instead. */",
|
| 22 |
+
];
|
| 23 |
+
|
| 24 |
+
// generate index.js
|
| 25 |
+
const indexESM = [...NO_MODIFY, ""];
|
| 26 |
+
|
| 27 |
+
const indexCJS = [`"use strict";`, "", ...NO_MODIFY, ""];
|
| 28 |
+
|
| 29 |
+
const cjs_export_list = [];
|
| 30 |
+
const cjs_module_lexer = [];
|
| 31 |
+
|
| 32 |
+
const main_package_json = fs.readJSONSync(root("package.json"));
|
| 33 |
+
|
| 34 |
+
main_package_json.exports = {
|
| 35 |
+
"./package.json": "./package.json",
|
| 36 |
+
"./esm/*": "./esm/*",
|
| 37 |
+
"./cjs/*": "./cjs/*",
|
| 38 |
+
"./src/*": "./src/*",
|
| 39 |
+
".": { import: "./esm/index.js", default: "./cjs/index.cjs" },
|
| 40 |
+
"./_": { import: "./esm/index.js", default: "./cjs/index.cjs" },
|
| 41 |
+
};
|
| 42 |
+
|
| 43 |
+
modules.forEach((p) => {
|
| 44 |
+
const importBinding = p.slice(0, -3);
|
| 45 |
+
|
| 46 |
+
main_package_json.exports[`./_/${importBinding}`] = {
|
| 47 |
+
import: `./esm/${importBinding}.js`,
|
| 48 |
+
default: `./cjs/${importBinding}.cjs`,
|
| 49 |
+
};
|
| 50 |
+
|
| 51 |
+
const alias_package = {
|
| 52 |
+
main: `../../cjs/${importBinding}.cjs`,
|
| 53 |
+
module: `../../esm/${importBinding}.js`,
|
| 54 |
+
};
|
| 55 |
+
task_queue.push(
|
| 56 |
+
fs.outputJSON(root("_", importBinding, "package.json"), alias_package, {
|
| 57 |
+
encoding: "utf-8",
|
| 58 |
+
spaces: 4,
|
| 59 |
+
}),
|
| 60 |
+
);
|
| 61 |
+
|
| 62 |
+
if (importBinding === "index") {
|
| 63 |
+
return;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
task_queue.push(
|
| 67 |
+
fs.outputFile(root("src", `${importBinding}.mjs`), re_export_esm(importBinding), {
|
| 68 |
+
encoding: "utf-8",
|
| 69 |
+
}),
|
| 70 |
+
);
|
| 71 |
+
|
| 72 |
+
indexESM.push(`export { _ as ${importBinding} } from "./${importBinding}.js";`);
|
| 73 |
+
|
| 74 |
+
cjs_module_lexer.push(`${importBinding}: null,`);
|
| 75 |
+
cjs_export_list.push(`get ${importBinding}() {
|
| 76 |
+
return require("./${importBinding}.cjs")._;
|
| 77 |
+
},`);
|
| 78 |
+
});
|
| 79 |
+
|
| 80 |
+
indexCJS.push(
|
| 81 |
+
`0 && (module.exports = {`,
|
| 82 |
+
"/* @Annotate_start: the CommonJS named exports for ESM import in node */",
|
| 83 |
+
...cjs_module_lexer,
|
| 84 |
+
"/* @Annotate_end */",
|
| 85 |
+
`});`,
|
| 86 |
+
`module.exports = {`,
|
| 87 |
+
...cjs_export_list,
|
| 88 |
+
`};`,
|
| 89 |
+
);
|
| 90 |
+
|
| 91 |
+
task_queue.push(
|
| 92 |
+
fs.outputJSON(root("package.json"), main_package_json, { spaces: 4 }),
|
| 93 |
+
fs.outputFile(root("esm", "index.js"), indexESM.join("\n") + "\n", {
|
| 94 |
+
encoding: "utf-8",
|
| 95 |
+
}),
|
| 96 |
+
fs.outputFile(root("cjs", "index.cjs"), indexCJS.join("\n") + "\n", {
|
| 97 |
+
encoding: "utf-8",
|
| 98 |
+
}),
|
| 99 |
+
fs.outputFile(root("src", "index.mjs"), `export * from "../esm/index.js"`, {
|
| 100 |
+
"encoding": "utf-8",
|
| 101 |
+
}),
|
| 102 |
+
);
|
| 103 |
+
|
| 104 |
+
task_queue.push(...ast_grep());
|
| 105 |
+
|
| 106 |
+
await Promise.all(task_queue);
|
| 107 |
+
|
| 108 |
+
if (errors.length > 0) {
|
| 109 |
+
errors.forEach((e) => {
|
| 110 |
+
console.error(e);
|
| 111 |
+
});
|
| 112 |
+
process.exitCode = 1;
|
| 113 |
+
} else {
|
| 114 |
+
$.cwd = root(".");
|
| 115 |
+
await $`dprint fmt`;
|
| 116 |
+
await $`dprint fmt "scripts/*.js" -c scripts/.dprint.json`;
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
function re_export_esm(importBinding) {
|
| 120 |
+
return `export { _ as default } from "../esm/${importBinding}.js"`;
|
| 121 |
+
}
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/scripts/errors.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export const errors = [];
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/scripts/utils.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export function root(...p) {
|
| 2 |
+
return path.resolve(__dirname, "..", ...p);
|
| 3 |
+
}
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_apply_decorated_descriptor.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { _ as default } from "../esm/_apply_decorated_descriptor.js";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_apply_decs_2203_r.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { _ as default } from "../esm/_apply_decs_2203_r.js";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_array_like_to_array.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { _ as default } from "../esm/_array_like_to_array.js";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_array_with_holes.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { _ as default } from "../esm/_array_with_holes.js";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_array_without_holes.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { _ as default } from "../esm/_array_without_holes.js";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_assert_this_initialized.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { _ as default } from "../esm/_assert_this_initialized.js";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_async_generator.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { _ as default } from "../esm/_async_generator.js";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_async_generator_delegate.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { _ as default } from "../esm/_async_generator_delegate.js";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_async_iterator.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { _ as default } from "../esm/_async_iterator.js";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_async_to_generator.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { _ as default } from "../esm/_async_to_generator.js";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_await_async_generator.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { _ as default } from "../esm/_await_async_generator.js";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_await_value.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { _ as default } from "../esm/_await_value.js";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_call_super.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { _ as default } from "../esm/_call_super.js";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_check_private_redeclaration.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { _ as default } from "../esm/_check_private_redeclaration.js";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_class_apply_descriptor_destructure.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { _ as default } from "../esm/_class_apply_descriptor_destructure.js";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_class_apply_descriptor_get.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { _ as default } from "../esm/_class_apply_descriptor_get.js";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_class_apply_descriptor_set.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { _ as default } from "../esm/_class_apply_descriptor_set.js";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_class_apply_descriptor_update.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { _ as default } from "../esm/_class_apply_descriptor_update.js";
|
node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/src/_class_call_check.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export { _ as default } from "../esm/_class_call_check.js";
|