diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 00000000000..0c66200ef07 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,5 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + +# TODO: lint-staged +# cargo fmt --all -- --check \ No newline at end of file diff --git a/.husky/pre-push b/.husky/pre-push new file mode 100755 index 00000000000..25f14777598 --- /dev/null +++ b/.husky/pre-push @@ -0,0 +1,5 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + +# yarn run cspell "**/src/**/*.rs" +cargo fmt --all -- --check diff --git a/.vscode/settings.json b/.vscode/settings.json index bfb213b745b..c19c983237e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -18,4 +18,6 @@ "editor.formatOnSave": true, "git.ignoreLimitWarning": true, "eslint.enable": false, + "cSpell.allowCompoundWords": true, + "cSpell.caseSensitive": true, } \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index 5380979f5dd..0f7122c7c7f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -930,13 +930,13 @@ dependencies = [ [[package]] name = "jsdoc" -version = "0.43.0" +version = "0.44.0" dependencies = [ "anyhow", "dashmap", "nom", "serde", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_parser", @@ -1192,7 +1192,7 @@ dependencies = [ "serde", "serde_json", "swc", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_bundler", "swc_common", "swc_ecma_ast", @@ -1959,9 +1959,9 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.11.5" +version = "0.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51c732d463dd300362ffb44b7b125f299c23d2990411a4253824630ebc7467fb" +checksum = "66d2927ca2f685faf0fc620ac4834690d29e7abb153add10f5812eef20b5e280" dependencies = [ "base64 0.13.0", "bytes", @@ -2324,7 +2324,7 @@ checksum = "6446ced80d6c486436db5c078dde11a9f73d42b57fb273121e160b84f63d894c" [[package]] name = "swc" -version = "0.73.1" +version = "0.74.0" dependencies = [ "ahash", "anyhow", @@ -2339,7 +2339,7 @@ dependencies = [ "serde", "serde_json", "sourcemap", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_codegen", @@ -2365,6 +2365,8 @@ dependencies = [ [[package]] name = "swc_atoms" version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a20e0ff436c9967b5cbafbc0872f384fef5be6f9913ce92fb5f017427e95c7e" dependencies = [ "string_cache", "string_cache_codegen", @@ -2372,9 +2374,7 @@ dependencies = [ [[package]] name = "swc_atoms" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a20e0ff436c9967b5cbafbc0872f384fef5be6f9913ce92fb5f017427e95c7e" +version = "0.2.9" dependencies = [ "string_cache", "string_cache_codegen", @@ -2386,7 +2386,7 @@ version = "0.1.0" dependencies = [ "serde", "serde_json", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_node_base", ] @@ -2403,7 +2403,7 @@ dependencies = [ "serde", "serde_json", "swc", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_babel_ast", "swc_babel_visit", "swc_common", @@ -2422,14 +2422,14 @@ version = "0.1.0" dependencies = [ "serde", "serde_json", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_babel_ast", "swc_visit", ] [[package]] name = "swc_bundler" -version = "0.73.1" +version = "0.74.0" dependencies = [ "ahash", "anyhow", @@ -2449,7 +2449,7 @@ dependencies = [ "reqwest", "retain_mut", "sha-1", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_codegen", @@ -2471,7 +2471,7 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.14.0" +version = "0.14.1" dependencies = [ "ahash", "arbitrary", @@ -2512,12 +2512,12 @@ dependencies = [ [[package]] name = "swc_css_ast" -version = "0.18.0" +version = "0.18.1" dependencies = [ "is-macro", "serde", "string_enum", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", ] @@ -2527,7 +2527,7 @@ version = "0.18.0" dependencies = [ "auto_impl", "bitflags", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_css_ast", "swc_css_codegen_macros", @@ -2555,7 +2555,7 @@ dependencies = [ "lexical", "serde", "serde_json", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_css_ast", "swc_css_visit", @@ -2567,7 +2567,7 @@ dependencies = [ name = "swc_css_utils" version = "0.15.0" dependencies = [ - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_css_ast", "swc_css_visit", @@ -2577,7 +2577,7 @@ dependencies = [ name = "swc_css_visit" version = "0.17.0" dependencies = [ - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_css_ast", "swc_visit", @@ -2593,20 +2593,20 @@ dependencies = [ "serde", "serde_json", "string_enum", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", ] [[package]] name = "swc_ecma_codegen" -version = "0.76.0" +version = "0.77.0" dependencies = [ "bitflags", "memchr", "num-bigint", "once_cell", "sourcemap", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_codegen_macros", @@ -2629,9 +2629,9 @@ dependencies = [ [[package]] name = "swc_ecma_dep_graph" -version = "0.43.0" +version = "0.44.0" dependencies = [ - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_parser", @@ -2641,10 +2641,10 @@ dependencies = [ [[package]] name = "swc_ecma_ext_transforms" -version = "0.33.0" +version = "0.34.0" dependencies = [ "phf", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_parser", @@ -2666,7 +2666,7 @@ dependencies = [ "regex", "serde", "serde_json", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_visit", @@ -2676,7 +2676,7 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "0.42.2" +version = "0.43.0" dependencies = [ "ansi_term 0.12.1", "anyhow", @@ -2690,7 +2690,7 @@ dependencies = [ "serde", "serde_json", "serde_regex", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_codegen", @@ -2708,7 +2708,7 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.74.0" +version = "0.75.0" dependencies = [ "either", "enum_kind", @@ -2719,7 +2719,7 @@ dependencies = [ "serde", "serde_json", "smallvec 1.7.0", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_visit", @@ -2733,7 +2733,7 @@ dependencies = [ [[package]] name = "swc_ecma_preset_env" -version = "0.57.1" +version = "0.58.0" dependencies = [ "ahash", "dashmap", @@ -2745,7 +2745,7 @@ dependencies = [ "serde_json", "st-map", "string_enum", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_codegen", @@ -2759,11 +2759,11 @@ dependencies = [ [[package]] name = "swc_ecma_transforms" -version = "0.86.1" +version = "0.87.0" dependencies = [ "pretty_assertions 0.6.1", "sourcemap", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_codegen", @@ -2786,14 +2786,14 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "0.39.1" +version = "0.40.0" dependencies = [ "once_cell", "phf", "rayon", "scoped-tls", "smallvec 1.7.0", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_codegen", @@ -2806,9 +2806,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_classes" -version = "0.25.1" +version = "0.26.0" dependencies = [ - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_transforms_base", @@ -2818,7 +2818,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_compat" -version = "0.44.3" +version = "0.45.0" dependencies = [ "ahash", "arrayvec", @@ -2829,7 +2829,7 @@ dependencies = [ "rayon", "serde", "smallvec 1.7.0", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_parser", @@ -2855,7 +2855,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_module" -version = "0.50.1" +version = "0.51.0" dependencies = [ "Inflector", "ahash", @@ -2863,7 +2863,7 @@ dependencies = [ "indexmap", "pathdiff", "serde", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_loader", @@ -2878,7 +2878,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_optimization" -version = "0.56.1" +version = "0.57.0" dependencies = [ "ahash", "dashmap", @@ -2887,7 +2887,7 @@ dependencies = [ "rayon", "retain_mut", "serde_json", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_parser", @@ -2907,13 +2907,13 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_proposal" -version = "0.50.1" +version = "0.51.0" dependencies = [ "either", "serde", "serde_json", "smallvec 1.7.0", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_loader", @@ -2931,7 +2931,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_react" -version = "0.52.1" +version = "0.53.0" dependencies = [ "ahash", "base64 0.13.0", @@ -2942,7 +2942,7 @@ dependencies = [ "serde", "sha-1", "string_enum", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_codegen", @@ -2959,7 +2959,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_testing" -version = "0.40.1" +version = "0.41.0" dependencies = [ "ansi_term 0.12.1", "anyhow", @@ -2978,10 +2978,10 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_typescript" -version = "0.53.1" +version = "0.54.0" dependencies = [ "serde", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_codegen", @@ -3005,7 +3005,7 @@ dependencies = [ "once_cell", "rayon", "scoped-tls", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_visit", @@ -3018,7 +3018,7 @@ name = "swc_ecma_visit" version = "0.41.0" dependencies = [ "num-bigint", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_visit", @@ -3026,7 +3026,7 @@ dependencies = [ [[package]] name = "swc_ecmascript" -version = "0.78.1" +version = "0.79.0" dependencies = [ "swc_ecma_ast", "swc_ecma_codegen", @@ -3081,7 +3081,7 @@ dependencies = [ "serde_json", "string_enum", "swc", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_bundler", "swc_common", "swc_ecma_ast", @@ -3106,7 +3106,7 @@ dependencies = [ "anyhow", "serde", "serde_json", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_visit", @@ -3114,14 +3114,14 @@ dependencies = [ [[package]] name = "swc_plugin_runner" -version = "0.11.0" +version = "0.12.0" dependencies = [ "abi_stable", "anyhow", "libloading", "serde", "serde_json", - "swc_atoms 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", + "swc_atoms 0.2.8", "swc_common", "swc_ecma_ast", "swc_ecma_codegen", @@ -3132,10 +3132,10 @@ dependencies = [ [[package]] name = "swc_plugin_testing" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anyhow", - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_ecma_ast", "swc_ecma_codegen", @@ -3148,7 +3148,7 @@ dependencies = [ name = "swc_stylis" version = "0.17.0" dependencies = [ - "swc_atoms 0.2.8", + "swc_atoms 0.2.9", "swc_common", "swc_css_ast", "swc_css_codegen", @@ -3160,7 +3160,7 @@ dependencies = [ [[package]] name = "swc_visit" -version = "0.2.7" +version = "0.2.8" dependencies = [ "either", "swc_visit_macros", @@ -3214,7 +3214,7 @@ dependencies = [ [[package]] name = "testing" -version = "0.15.0" +version = "0.15.1" dependencies = [ "ansi_term 0.12.1", "difference", diff --git a/Cargo.toml b/Cargo.toml index c806e4f6311..682f6092a3b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0/MIT" name = "swc" repository = "https://github.com/swc-project/swc.git" -version = "0.73.1" +version = "0.74.0" [lib] name = "swc" @@ -61,13 +61,13 @@ sourcemap = "6" swc_atoms = {version = "0.2", path = "./atoms"} swc_common = {version = "0.14.0", path = "./common", features = ["sourcemap", "concurrent"]} swc_ecma_ast = {version = "0.55.0", path = "./ecmascript/ast"} -swc_ecma_codegen = {version = "0.76.0", path = "./ecmascript/codegen"} -swc_ecma_ext_transforms = {version = "0.33.0", path = "./ecmascript/ext-transforms"} +swc_ecma_codegen = {version = "0.77.0", path = "./ecmascript/codegen"} +swc_ecma_ext_transforms = {version = "0.34.0", path = "./ecmascript/ext-transforms"} swc_ecma_loader = {version = "0.22.0", path = "./ecmascript/loader", features = ["lru", "node", "tsc"]} -swc_ecma_minifier = {version = "0.42.2", path = "./ecmascript/minifier"} -swc_ecma_parser = {version = "0.74.0", path = "./ecmascript/parser"} -swc_ecma_preset_env = {version = "0.57.1", path = "./ecmascript/preset-env"} -swc_ecma_transforms = {version = "0.86.1", path = "./ecmascript/transforms", features = [ +swc_ecma_minifier = {version = "0.43.0", path = "./ecmascript/minifier"} +swc_ecma_parser = {version = "0.75.0", path = "./ecmascript/parser"} +swc_ecma_preset_env = {version = "0.58.0", path = "./ecmascript/preset-env"} +swc_ecma_transforms = {version = "0.87.0", path = "./ecmascript/transforms", features = [ "compat", "module", "optimization", @@ -75,12 +75,12 @@ swc_ecma_transforms = {version = "0.86.1", path = "./ecmascript/transforms", fea "react", "typescript", ]} -swc_ecma_transforms_base = {version = "0.39.1", path = "./ecmascript/transforms/base"} -swc_ecma_transforms_compat = {version = "0.44.1", path = "./ecmascript/transforms/compat"} -swc_ecma_transforms_optimization = {version = "0.56.1", path = "./ecmascript/transforms/optimization"} +swc_ecma_transforms_base = {version = "0.40.0", path = "./ecmascript/transforms/base"} +swc_ecma_transforms_compat = {version = "0.45.0", path = "./ecmascript/transforms/compat"} +swc_ecma_transforms_optimization = {version = "0.57.0", path = "./ecmascript/transforms/optimization"} swc_ecma_utils = {version = "0.48.0", path = "./ecmascript/utils"} swc_ecma_visit = {version = "0.41.0", path = "./ecmascript/visit"} -swc_ecmascript = {version = "0.78.1", path = "./ecmascript"} +swc_ecmascript = {version = "0.79.0", path = "./ecmascript"} swc_visit = {version = "0.2.3", path = "./visit"} tracing = "0.1.28" diff --git a/atoms/Cargo.toml b/atoms/Cargo.toml index ba278ab18f9..a7531557c42 100644 --- a/atoms/Cargo.toml +++ b/atoms/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_atoms" repository = "https://github.com/swc-project/swc.git" -version = "0.2.8" +version = "0.2.9" [dependencies] string_cache = "0.8.2" diff --git a/atoms/src/lib.rs b/atoms/src/lib.rs index 7c113d17883..c48d02bba54 100644 --- a/atoms/src/lib.rs +++ b/atoms/src/lib.rs @@ -1,7 +1,7 @@ -//! [JsWord] is an interened string. +//! [JsWord] is an interned string. //! //! This type should be used instead of [String] for values, because lots of -//! values are duplicated. For example, if an identifer is named `myVariable`, +//! values are duplicated. For example, if an identifier is named `myVariable`, //! there will be lots of identifier usages with the value `myVariable`. //! //! This type diff --git a/bundler/Cargo.toml b/bundler/Cargo.toml index cc8d197c042..e9189b473f0 100644 --- a/bundler/Cargo.toml +++ b/bundler/Cargo.toml @@ -9,7 +9,7 @@ include = ["Cargo.toml", "build.rs", "src/**/*.rs", "src/**/*.js"] license = "Apache-2.0/MIT" name = "swc_bundler" repository = "https://github.com/swc-project/swc.git" -version = "0.73.1" +version = "0.74.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] @@ -39,11 +39,11 @@ retain_mut = "0.1.2" swc_atoms = {version = "0.2.4", path = "../atoms"} swc_common = {version = "0.14.0", path = "../common"} swc_ecma_ast = {version = "0.55.0", path = "../ecmascript/ast"} -swc_ecma_codegen = {version = "0.76.0", path = "../ecmascript/codegen"} +swc_ecma_codegen = {version = "0.77.0", path = "../ecmascript/codegen"} swc_ecma_loader = {version = "0.22.0", path = "../ecmascript/loader"} -swc_ecma_parser = {version = "0.74.0", path = "../ecmascript/parser"} -swc_ecma_transforms_base = {version = "0.39.1", path = "../ecmascript/transforms/base"} -swc_ecma_transforms_optimization = {version = "0.56.1", path = "../ecmascript/transforms/optimization"} +swc_ecma_parser = {version = "0.75.0", path = "../ecmascript/parser"} +swc_ecma_transforms_base = {version = "0.40.0", path = "../ecmascript/transforms/base"} +swc_ecma_transforms_optimization = {version = "0.57.0", path = "../ecmascript/transforms/optimization"} swc_ecma_utils = {version = "0.48.0", path = "../ecmascript/utils"} swc_ecma_visit = {version = "0.41.0", path = "../ecmascript/visit"} tracing = "0.1.28" @@ -55,8 +55,8 @@ path-clean = "=0.1.0" reqwest = {version = "0.11.4", features = ["blocking"]} sha-1 = "0.9" swc_ecma_loader = {version = "0.22.0", path = "../ecmascript/loader", features = ["node", "lru"]} -swc_ecma_transforms_react = {version = "0.52.1", path = "../ecmascript/transforms/react"} -swc_ecma_transforms_typescript = {version = "0.53.1", path = "../ecmascript/transforms/typescript"} +swc_ecma_transforms_react = {version = "0.53.0", path = "../ecmascript/transforms/react"} +swc_ecma_transforms_typescript = {version = "0.54.0", path = "../ecmascript/transforms/typescript"} swc_node_base = {version = "0.5.0", path = "../node/base"} tempfile = "3.1.0" testing = {version = "0.15.0", path = "../testing"} diff --git a/bundler/src/bundler/chunk/cjs.rs b/bundler/src/bundler/chunk/cjs.rs index 056df7dc194..ac0924ac55e 100644 --- a/bundler/src/bundler/chunk/cjs.rs +++ b/bundler/src/bundler/chunk/cjs.rs @@ -137,7 +137,7 @@ fn wrap_module( }, }); - // var load = __spack_require__.bind(void 0, moduleDecl) + // var load = __swcpack_require__.bind(void 0, moduleDecl) let load_var_init = Stmt::Decl(Decl::Var(VarDecl { span: DUMMY_SP, kind: VarDeclKind::Var, @@ -147,9 +147,12 @@ fn wrap_module( name: Pat::Ident(load_var.clone().into()), init: Some(Box::new(Expr::Call(CallExpr { span: DUMMY_SP, - callee: Ident::new("__spack_require__".into(), DUMMY_SP.with_ctxt(helper_ctxt)) - .make_member(Ident::new("bind".into(), DUMMY_SP)) - .as_callee(), + callee: Ident::new( + "__swcpack_require__".into(), + DUMMY_SP.with_ctxt(helper_ctxt), + ) + .make_member(Ident::new("bind".into(), DUMMY_SP)) + .as_callee(), args: vec![undefined(DUMMY_SP).as_arg(), module_fn.as_arg()], type_args: None, }))), @@ -241,7 +244,7 @@ where let load_var = self.bundler.make_cjs_load_var(&dep_module, i.span); // Replace import progress from 'progress'; - // Side effech import + // Side effect import if i.specifiers.is_empty() { self.replaced = true; *node = ModuleItem::Stmt( diff --git a/bundler/src/bundler/chunk/computed_key.rs b/bundler/src/bundler/chunk/computed_key.rs index 4e86362c34e..a05d7e6b0b0 100644 --- a/bundler/src/bundler/chunk/computed_key.rs +++ b/bundler/src/bundler/chunk/computed_key.rs @@ -47,7 +47,7 @@ where v.found }; - let mut addtional_items = vec![]; + let mut additional_items = vec![]; module.iter().for_each(|(module_id, item)| { match item { @@ -73,7 +73,7 @@ where exported: Some(exported.clone()), is_type_only: false, }); - addtional_items.push(( + additional_items.push(( module_id, ModuleItem::ModuleDecl(ModuleDecl::ExportNamed( NamedExport { @@ -101,7 +101,7 @@ where }; let mut module = module.fold_with(&mut export_visitor); - module.append_all(addtional_items); + module.append_all(additional_items); let return_stmt = Stmt::Return(ReturnStmt { span: DUMMY_SP, diff --git a/bundler/src/bundler/chunk/merge.rs b/bundler/src/bundler/chunk/merge.rs index b358847c77d..635f7e2a8c8 100644 --- a/bundler/src/bundler/chunk/merge.rs +++ b/bundler/src/bundler/chunk/merge.rs @@ -101,7 +101,7 @@ where let all_deps_of_entry = self.collect_all_deps(&ctx.graph, entry_id, &mut Default::default()); - tracing::debug!("Merging dependenciess: {:?}", all_deps_of_entry); + tracing::debug!("Merging dependencies: {:?}", all_deps_of_entry); let deps = all_deps_of_entry.iter().map(|id| { let dep_info = self.scope.get_module(*id).unwrap(); @@ -223,7 +223,7 @@ where )); } - // We have to exlcude some ids because there are already declared. + // We have to exclude some ids because there are already declared. // See https://github.com/denoland/deno/issues/8725 // // Let's say D is a dependency which contains export * from './foo'; @@ -539,10 +539,6 @@ where module = self.wrap_esm(ctx, info.id, module)?; } - // if !is_entry { - // module = module.fold_with(&mut Unexporter); - // } - Ok(module) } @@ -620,9 +616,9 @@ where { let esm_id = self.scope.wrapped_esm_id(src.module_id).expect( - "If a namespace impoet specifier is preserved, it \ - means failutre of deblobbing and as a result \ - module should be marked as wrpaped esm", + "If a namespace import specifier is preserved, it \ + means failure of deblobbing and as a result \ + module should be marked as wrapped esm", ); new.push( esm_id @@ -647,7 +643,7 @@ where // One item is `const local_default = expr` and another one is // `export { local_default as default }`. // - // To allow using identifier of the declaration in the originsl module, we + // To allow using identifier of the declaration in the original module, we // create `const local_default = orig_ident` if original identifier exists. let local = @@ -1072,8 +1068,9 @@ where } None => { unreachable!( - "Modules rexported with `export * as foo from \ - './foo'` should be marked as a wrapped esm" + "Modules reexported with `export * as foo \ + from './foo'` should be marked as a wrapped \ + esm" ) } } @@ -1178,9 +1175,9 @@ where { let esm_id = self.scope.wrapped_esm_id(src.module_id).expect( - "If a namespace impoet specifier is preserved, it \ - means failutre of deblobbing and as a result \ - module should be marked as wrpaped esm", + "If a namespace import specifier is preserved, it \ + means failure of deblobbing and as a result \ + module should be marked as wrapped esm", ); vars.push(( module_id, diff --git a/bundler/src/bundler/helpers/mod.rs b/bundler/src/bundler/helpers/mod.rs index 50611a36f2f..77e134c3f0d 100644 --- a/bundler/src/bundler/helpers/mod.rs +++ b/bundler/src/bundler/helpers/mod.rs @@ -7,7 +7,7 @@ use swc_ecma_utils::{drop_span, prepend_stmts}; #[derive(Debug, Default)] pub(crate) struct Helpers { - /// `__spack_require__` + /// `__swcpack_require__` pub require: AtomicBool, } @@ -49,7 +49,7 @@ macro_rules! define { } define!(require { - build: build_spack_require + build: build_swcpack_require }); impl Helpers { @@ -63,7 +63,7 @@ impl Helpers { let mut buf = vec![]; if self.require.load(SeqCst) { - build_spack_require(&mut buf); + build_swcpack_require(&mut buf); } prepend_stmts(to, buf.into_iter()); diff --git a/bundler/src/bundler/import/mod.rs b/bundler/src/bundler/import/mod.rs index 68fbc3fcc51..603cb053c1e 100644 --- a/bundler/src/bundler/import/mod.rs +++ b/bundler/src/bundler/import/mod.rs @@ -147,7 +147,7 @@ where L: Load, R: Resolve, { - /// Retursn (local, export) + /// Returns (local, export) fn ctxt_for(&self, src: &JsWord) -> Option<(SyntaxContext, SyntaxContext)> { // Don't apply mark if it's a core module. if self @@ -308,7 +308,7 @@ where if e.computed { // If a module is accessed with unknown key, we should import - // everyrthing from it. + // everything from it. self.add_forced_ns_for(obj.to_id()); return; } diff --git a/bundler/src/bundler/scope.rs b/bundler/src/bundler/scope.rs index 7cfc29e9ae1..029a2612d90 100644 --- a/bundler/src/bundler/scope.rs +++ b/bundler/src/bundler/scope.rs @@ -12,7 +12,7 @@ pub(super) struct Scope { loaded_modules: CloneMap, - /// Cached after applying basical transformations. + /// Cached after applying basic transformations. transformed_modules: CloneMap, accessed_with_computed_key: CloneMap>, diff --git a/bundler/src/load.rs b/bundler/src/load.rs index 3d55fb767c8..9544cd0086e 100644 --- a/bundler/src/load.rs +++ b/bundler/src/load.rs @@ -9,7 +9,7 @@ pub struct ModuleData { pub module: Module, /// Used helpers /// - /// # Exmaple + /// # Example /// /// ```rust,ignore /// diff --git a/bundler/src/modules/mod.rs b/bundler/src/modules/mod.rs index faa33fca91f..af557f2879e 100644 --- a/bundler/src/modules/mod.rs +++ b/bundler/src/modules/mod.rs @@ -11,7 +11,7 @@ mod sort; pub struct Modules { /// Indicates that a statement is injected. /// - /// Note: This context shoulod be shared for a bundle. + /// Note: This context should be shared for a bundle. pub(crate) injected_ctxt: SyntaxContext, // We will change this into `Vec`. diff --git a/bundler/src/modules/sort/chunk.rs b/bundler/src/modules/sort/chunk.rs index 983b8c77a77..67698a7822a 100644 --- a/bundler/src/modules/sort/chunk.rs +++ b/bundler/src/modules/sort/chunk.rs @@ -157,7 +157,7 @@ fn toposort_real_module_ids<'a>( cycles: &'a Vec>, ) -> impl 'a + Iterator> { let mut done = AHashSet::::default(); - let mut errored = AHashSet::::default(); + let mut errorred = AHashSet::::default(); from_fn(move || { while let Some(id) = queue.pop_front() { @@ -177,7 +177,7 @@ fn toposort_real_module_ids<'a>( // Emit done.insert(id); - errored.clear(); + errorred.clear(); return Some(vec![id]); } @@ -212,7 +212,7 @@ fn toposort_real_module_ids<'a>( // dbg!(&deps_of_circle); if !deps_of_circle.is_empty() { - if errored.insert(id) { + if errorred.insert(id) { queue.push_front(id); // Handle dependencies first. @@ -230,7 +230,7 @@ fn toposort_real_module_ids<'a>( // Emit done.extend(all_modules_in_circle.iter().copied()); - errored.clear(); + errorred.clear(); return Some(all_modules_in_circle.into_iter().collect()); } diff --git a/bundler/src/modules/sort/graph.rs b/bundler/src/modules/sort/graph.rs index 6c5065758fa..3dae8e816d1 100644 --- a/bundler/src/modules/sort/graph.rs +++ b/bundler/src/modules/sort/graph.rs @@ -6,7 +6,7 @@ use petgraph::{ use std::{collections::VecDeque, iter::repeat}; use swc_common::collections::AHashSet; -/// Is dependancy between nodes hard? +/// Is dependency between nodes hard? #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub(super) enum Required { /// Required to evaluate diff --git a/bundler/src/modules/sort/stmt.rs b/bundler/src/modules/sort/stmt.rs index 2fbf3931a63..5a688982ba4 100644 --- a/bundler/src/modules/sort/stmt.rs +++ b/bundler/src/modules/sort/stmt.rs @@ -1,7 +1,7 @@ use super::graph::Required; use crate::{id::Id, modules::sort::graph::StmtDepGraph}; use indexmap::IndexSet; -use petgraph::EdgeDirection::{Incoming as Dependants, Outgoing as Dependancies}; +use petgraph::EdgeDirection::{Incoming as Dependants, Outgoing as Dependencies}; use std::{collections::VecDeque, iter::from_fn, ops::Range}; use swc_atoms::js_word; use swc_common::{ @@ -181,7 +181,7 @@ fn iter<'a>( // We { let deps = graph - .neighbors_directed(idx, Dependancies) + .neighbors_directed(idx, Dependencies) .filter(|dep| { let declared_in_same_module = match ¤t_range { Some(v) => v.contains(&dep), @@ -197,7 +197,7 @@ fn iter<'a>( } } - // Exlcude emitted items + // Exclude emitted items !done.contains(dep) }) .collect::>(); @@ -267,7 +267,7 @@ fn iter<'a>( // dbg!(&dependants); // We only emit free items because we want to emit statements from same module - // to emitted closedly. + // to emitted closely. for dependant in dependants { if !done.contains(&dependant) && free.contains(&dependant) { stack.push_front(dependant); @@ -307,7 +307,7 @@ fn iter<'a>( // dbg!(&dependants); // We only emit free items because we want to emit statements from same module - // to emitted closedly. + // to emitted closely. for dependant in dependants { if !done.contains(&dependant) && free.contains(&dependant) { stack.push_front(dependant); @@ -506,7 +506,7 @@ impl Visit for InitializerFinder { /// We do not care about variables created by current statement. /// But we care about modifications. #[derive(Default)] -struct RequirementCalculartor { +struct RequirementCalculator { required_ids: IndexSet<(Id, Required), ahash::RandomState>, /// While bundling, there can be two bindings with same name and syntax /// context, in case of wrapped es modules. We exclude them from dependency @@ -531,7 +531,7 @@ macro_rules! weak { }; } -impl RequirementCalculartor { +impl RequirementCalculator { fn insert(&mut self, i: Id) { self.required_ids.insert(( i, @@ -544,7 +544,7 @@ impl RequirementCalculartor { } } -impl Visit for RequirementCalculartor { +impl Visit for RequirementCalculator { noop_visit_type!(); weak!(visit_arrow_expr, ArrowExpr); @@ -642,7 +642,7 @@ fn calc_deps(new: &[ModuleItem]) -> StmtDepGraph { // We start by calculating ids created by statements. Note that we don't need to // analyze bodies of functions nor members of classes, because it's not - // evaludated until they are called. + // evaluated until they are called. match item { // We only check declarations because ids are created by declarations. @@ -736,10 +736,10 @@ fn calc_deps(new: &[ModuleItem]) -> StmtDepGraph { for (idx, item) in new.iter().enumerate() { // We then calculate which ids a statement require to be executed. - // Again, we don't need to analyze non-top-level idents because they - // are not evaluated while lpoading module. + // Again, we don't need to analyze non-top-level identifiers because they + // are not evaluated while loading module. - let mut visitor = RequirementCalculartor::default(); + let mut visitor = RequirementCalculator::default(); item.visit_with(&Invalid { span: DUMMY_SP }, &mut visitor); @@ -772,7 +772,7 @@ fn calc_deps(new: &[ModuleItem]) -> StmtDepGraph { // ); if cfg!(debug_assertions) { let deps: Vec<_> = - graph.neighbors_directed(idx, Dependancies).collect(); + graph.neighbors_directed(idx, Dependencies).collect(); assert!(deps.contains(&declarator_index)); } } @@ -786,7 +786,7 @@ fn calc_deps(new: &[ModuleItem]) -> StmtDepGraph { #[cfg(test)] mod tests { - use super::{calc_deps, Dependancies}; + use super::{calc_deps, Dependencies}; use crate::{bundler::tests::suite, debug::print_hygiene}; use swc_common::DUMMY_SP; use swc_ecma_ast::*; @@ -806,7 +806,7 @@ mod tests { } let deps = graph - .neighbors_directed(i, Dependancies) + .neighbors_directed(i, Dependencies) .collect::>(); for dep in deps { diff --git a/bundler/src/util.rs b/bundler/src/util.rs index 6e146315b9f..1c20b016bda 100644 --- a/bundler/src/util.rs +++ b/bundler/src/util.rs @@ -171,12 +171,12 @@ impl VisitMut for HygieneRemover { pub(crate) use rayon::join; #[cfg(not(feature = "rayon"))] -pub(crate) fn join(oper_a: A, oper_b: B) -> (RA, RB) +pub(crate) fn join(op_a: A, op_b: B) -> (RA, RB) where A: FnOnce() -> RA, B: FnOnce() -> RB, { - (oper_a(), oper_b()) + (op_a(), op_b()) } #[cfg(feature = "rayon")] diff --git a/bundler/tests/fixture/issue-2124/named-export/output/entry.inlined.ts b/bundler/tests/fixture/issue-2124/named-export/output/entry.inlined.ts index 9f7e4ebd929..fd625acbe13 100644 --- a/bundler/tests/fixture/issue-2124/named-export/output/entry.inlined.ts +++ b/bundler/tests/fixture/issue-2124/named-export/output/entry.inlined.ts @@ -11,7 +11,7 @@ function __spack_require__(mod) { cache = module.exports; return cache; } -var load = __spack_require__.bind(void 0, function(module, exports) { +var load = __swcpack_require__.bind(void 0, function(module, exports) { function lodash(value) { console.log('lodash'); } diff --git a/bundler/tests/fixture/issue-2124/named-export/output/entry.ts b/bundler/tests/fixture/issue-2124/named-export/output/entry.ts index 9f7e4ebd929..fd625acbe13 100644 --- a/bundler/tests/fixture/issue-2124/named-export/output/entry.ts +++ b/bundler/tests/fixture/issue-2124/named-export/output/entry.ts @@ -11,7 +11,7 @@ function __spack_require__(mod) { cache = module.exports; return cache; } -var load = __spack_require__.bind(void 0, function(module, exports) { +var load = __swcpack_require__.bind(void 0, function(module, exports) { function lodash(value) { console.log('lodash'); } diff --git a/bundler/tests/fixture/issue-2124/namespace-export/output/entry.inlined.ts b/bundler/tests/fixture/issue-2124/namespace-export/output/entry.inlined.ts index 8323b4ef50b..2af5242427c 100644 --- a/bundler/tests/fixture/issue-2124/namespace-export/output/entry.inlined.ts +++ b/bundler/tests/fixture/issue-2124/namespace-export/output/entry.inlined.ts @@ -11,7 +11,7 @@ function __spack_require__(mod) { cache = module.exports; return cache; } -var load = __spack_require__.bind(void 0, function(module, exports) { +var load = __swcpack_require__.bind(void 0, function(module, exports) { function lodash(value) { console.log('lodash'); } diff --git a/bundler/tests/fixture/issue-2124/namespace-export/output/entry.ts b/bundler/tests/fixture/issue-2124/namespace-export/output/entry.ts index 0986e5fcf7b..88220388aba 100644 --- a/bundler/tests/fixture/issue-2124/namespace-export/output/entry.ts +++ b/bundler/tests/fixture/issue-2124/namespace-export/output/entry.ts @@ -11,7 +11,7 @@ function __spack_require__(mod) { cache = module.exports; return cache; } -var load = __spack_require__.bind(void 0, function(module, exports) { +var load = __swcpack_require__.bind(void 0, function(module, exports) { function lodash(value) { console.log('lodash'); } diff --git a/common/Cargo.toml b/common/Cargo.toml index 392bd3a6995..119c64f6d2b 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_common" repository = "https://github.com/swc-project/swc.git" -version = "0.14.0" +version = "0.14.1" [features] concurrent = ["parking_lot"] diff --git a/common/src/errors.rs b/common/src/errors.rs index b804a60a656..5b0be95fdaf 100644 --- a/common/src/errors.rs +++ b/common/src/errors.rs @@ -717,7 +717,7 @@ impl Handler { /// The caller must then teach the user about such a diagnostic. /// /// Used to suppress emitting the same error multiple times with extended - /// explanation when calling `-Zteach`. + /// explanation when calling `-Z teach`. pub fn must_teach(&self, code: &DiagnosticId) -> bool { self.taught_diagnostics.borrow_mut().insert(code.clone()) } diff --git a/common/src/errors/emitter.rs b/common/src/errors/emitter.rs index 77ddc8ae417..14719a74c38 100644 --- a/common/src/errors/emitter.rs +++ b/common/src/errors/emitter.rs @@ -526,7 +526,7 @@ impl EmitterWriter { // or the next are vertical line placeholders. || (annotation.takes_space() // If either this or the next annotation is && next.has_label()) // multiline start/end, move it to a new line - || (annotation.has_label() // so as not to overlap the orizontal lines. + || (annotation.has_label() // so as not to overlap the horizontal lines. && next.takes_space()) || (annotation.takes_space() && next.takes_space()) || (overlaps(next, annotation, l) @@ -556,7 +556,7 @@ impl EmitterWriter { return vec![]; } - // Write the colunmn separator. + // Write the column separator. // // After this we will have: // diff --git a/common/src/syntax_pos.rs b/common/src/syntax_pos.rs index fc2ed2a79e0..d0c4dac37c4 100644 --- a/common/src/syntax_pos.rs +++ b/common/src/syntax_pos.rs @@ -103,7 +103,6 @@ pub enum FileName { /// Command line Anon, /// Hack in src/libsyntax/parse.rs - /// FIXME(jseyfried) MacroExpansion, ProcMacroSourceCode, Url(Url), diff --git a/cspell.json b/cspell.json new file mode 100644 index 00000000000..5b62f046558 --- /dev/null +++ b/cspell.json @@ -0,0 +1,122 @@ +{ + "version": "0.2", + "language": "en", + "allowCompoundWords": true, + "words": [ + "aarch", + "ahash", + "anonymized", + "ANONYMIZED", + "Ansi", + "armv", + "arrayvec", + "ascii", + "babelify", + "Babelify", + "bools", + "bpos", + "BUILTINS", + "canonicalization", + "canonicalize", + "chpos", + "cmpeq", + "cmplt", + "cmts", + "cname", + "combinator", + "Combinator", + "Cond", + "constness", + "corejs", + "ctxt", + "ctxts", + "Cutomizing", + "dedup", + "dejavu", + "delim", + "Delim", + "deno", + "Deno", + "deps", + "Deque", + "Deser", + "dont", + "DWORD", + "ecmascript", + "eddyb", + "elems", + "esbuild", + "esms", + "Eval", + "exponentation", + "fargs", + "finalizer", + "fnames", + "gnueabihf", + "hasher", + "idents", + "iife", + "impls", + "indexmap", + "instanceof", + "interner", + "intrinsics", + "ints", + "jsonify", + "jsxs", + "jszip", + "kaios", + "keyof", + "linebpos", + "linechpos", + "loadu", + "LPCSTR", + "LPSECURITY", + "mbcs", + "mimalloc", + "minifier", + "miri", + "mkdir", + "msvc", + "napi", + "nncs", + "noinline", + "NOINLINE", + "paren", + "Paren", + "pmutil", + "pointee", + "prec", + "PREC", + "punct", + "putc", + "qself", + "regs", + "repr", + "rfind", + "rpos", + "rposition", + "rsplit", + "rustc", + "sabi", + "seqs", + "sess", + "skippable", + "smallvec", + "spanx", + "stmts", + "succ", + "sugg", + "swcpack", + "swcrc", + "termcolor", + "typeofs", + "uncons", + "Unexported", + "Unexporter", + "unimpl" + ], + "flagWords": [ + "actally" + ] +} diff --git a/css/ast/Cargo.toml b/css/ast/Cargo.toml index ab8310e9e55..82dbf0f6613 100644 --- a/css/ast/Cargo.toml +++ b/css/ast/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_css_ast" repository = "https://github.com/swc-project/swc.git" -version = "0.18.0" +version = "0.18.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/css/ast/src/selector.rs b/css/ast/src/selector.rs index 8e37d40ec3e..9802ca63acb 100644 --- a/css/ast/src/selector.rs +++ b/css/ast/src/selector.rs @@ -58,7 +58,7 @@ pub enum SubclassSelector { #[tag("ClassSelector")] Class(ClassSelector), - #[tag("AttrributeSelctor")] + #[tag("AttributeSelector")] Attr(AttrSelector), #[tag("PseudoClassSelector")] diff --git a/css/ast/src/value.rs b/css/ast/src/value.rs index 413e594bb7c..68ade53572f 100644 --- a/css/ast/src/value.rs +++ b/css/ast/src/value.rs @@ -83,7 +83,7 @@ pub struct BinValue { #[ast_node("FnValue")] pub struct FnValue { - /// Span starting from the `lo` of identifer and to the end of `)`. + /// Span starting from the `lo` of identifier and to the end of `)`. pub span: Span, pub name: Text, diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml index 290288e67ed..f7c26900f46 100644 --- a/ecmascript/Cargo.toml +++ b/ecmascript/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecmascript" repository = "https://github.com/swc-project/swc.git" -version = "0.78.1" +version = "0.79.0" [package.metadata.docs.rs] all-features = true @@ -33,12 +33,12 @@ typescript = ["typescript-parser", "swc_ecma_transforms/typescript"] [dependencies] swc_ecma_ast = {version = "0.55.0", path = "./ast"} -swc_ecma_codegen = {version = "0.76.0", path = "./codegen", optional = true} -swc_ecma_dep_graph = {version = "0.43.0", path = "./dep-graph", optional = true} -swc_ecma_minifier = {version = "0.42.2", path = "./minifier", optional = true} -swc_ecma_parser = {version = "0.74.0", path = "./parser", optional = true, default-features = false} -swc_ecma_preset_env = {version = "0.57.1", path = "./preset-env", optional = true} -swc_ecma_transforms = {version = "0.86.1", path = "./transforms", optional = true} +swc_ecma_codegen = {version = "0.77.0", path = "./codegen", optional = true} +swc_ecma_dep_graph = {version = "0.44.0", path = "./dep-graph", optional = true} +swc_ecma_minifier = {version = "0.43.0", path = "./minifier", optional = true} +swc_ecma_parser = {version = "0.75.0", path = "./parser", optional = true, default-features = false} +swc_ecma_preset_env = {version = "0.58.0", path = "./preset-env", optional = true} +swc_ecma_transforms = {version = "0.87.0", path = "./transforms", optional = true} swc_ecma_utils = {version = "0.48.0", path = "./utils", optional = true} swc_ecma_visit = {version = "0.41.0", path = "./visit", optional = true} diff --git a/ecmascript/codegen/Cargo.toml b/ecmascript/codegen/Cargo.toml index 94e9c099798..d963ec01f38 100644 --- a/ecmascript/codegen/Cargo.toml +++ b/ecmascript/codegen/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0/MIT" name = "swc_ecma_codegen" repository = "https://github.com/swc-project/swc.git" -version = "0.76.0" +version = "0.77.0" [dependencies] bitflags = "1" @@ -19,7 +19,7 @@ swc_atoms = {version = "0.2", path = "../../atoms"} swc_common = {version = "0.14.0", path = "../../common"} swc_ecma_ast = {version = "0.55.0", path = "../ast"} swc_ecma_codegen_macros = {version = "0.6.0", path = "./macros"} -swc_ecma_parser = {version = "0.74.0", path = "../parser"} +swc_ecma_parser = {version = "0.75.0", path = "../parser"} tracing = "0.1" [dev-dependencies] diff --git a/ecmascript/dep-graph/Cargo.toml b/ecmascript/dep-graph/Cargo.toml index 63aa1e1d2f9..f9e3790efbf 100644 --- a/ecmascript/dep-graph/Cargo.toml +++ b/ecmascript/dep-graph/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_dep_graph" repository = "https://github.com/swc-project/swc.git" -version = "0.43.0" +version = "0.44.0" [dependencies] swc_atoms = {version = "0.2", path = "../../atoms"} @@ -15,5 +15,5 @@ swc_ecma_ast = {version = "0.55.0", path = "../ast"} swc_ecma_visit = {version = "0.41.0", path = "../visit"} [dev-dependencies] -swc_ecma_parser = {version = "0.74.0", path = "../parser"} +swc_ecma_parser = {version = "0.75.0", path = "../parser"} testing = {version = "0.15.0", path = "../../testing"} diff --git a/ecmascript/ext-transforms/Cargo.toml b/ecmascript/ext-transforms/Cargo.toml index 95b589b70ac..6734e50515c 100644 --- a/ecmascript/ext-transforms/Cargo.toml +++ b/ecmascript/ext-transforms/Cargo.toml @@ -5,7 +5,7 @@ documentation = "https://rustdoc.swc.rs/swc_ecma_ext_transforms/" edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_ext_transforms" -version = "0.33.0" +version = "0.34.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -14,6 +14,6 @@ phf = {version = "0.8.0", features = ["macros"]} swc_atoms = {version = "0.2", path = "../../atoms"} swc_common = {version = "0.14.0", path = "../../common"} swc_ecma_ast = {version = "0.55.0", path = "../ast"} -swc_ecma_parser = {version = "0.74.0", path = "../parser"} +swc_ecma_parser = {version = "0.75.0", path = "../parser"} swc_ecma_utils = {version = "0.48.0", path = "../utils"} swc_ecma_visit = {version = "0.41.0", path = "../visit"} diff --git a/ecmascript/jsdoc/Cargo.toml b/ecmascript/jsdoc/Cargo.toml index e63f0d29f9b..a65d474e10e 100644 --- a/ecmascript/jsdoc/Cargo.toml +++ b/ecmascript/jsdoc/Cargo.toml @@ -5,7 +5,7 @@ documentation = "https://rustdoc.swc.rs/jsdoc/" edition = "2018" license = "Apache-2.0/MIT" name = "jsdoc" -version = "0.43.0" +version = "0.44.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -19,6 +19,6 @@ swc_common = {version = "0.14.0", path = "../../common"} anyhow = "1" dashmap = "4.0.2" swc_ecma_ast = {version = "0.55.0", path = "../ast"} -swc_ecma_parser = {version = "0.74.0", path = "../parser"} +swc_ecma_parser = {version = "0.75.0", path = "../parser"} testing = {version = "0.15.0", path = "../../testing"} walkdir = "2" diff --git a/ecmascript/jsdoc/src/ast.rs b/ecmascript/jsdoc/src/ast.rs index 4dd026bcef3..0111bb1a8bf 100644 --- a/ecmascript/jsdoc/src/ast.rs +++ b/ecmascript/jsdoc/src/ast.rs @@ -96,8 +96,8 @@ pub enum Tag { Generator(GeneratorTag), #[tag("FunctionTag")] Function(FunctionTag), - #[tag("FilelTag")] - File(FilelTag), + #[tag("FileTag")] + File(FileTag), #[tag("ConstructsTag")] Constructs(ConstructsTag), #[tag("CopyrightTag")] @@ -542,7 +542,7 @@ pub struct DeprecatedTag { } #[ast_node] -pub struct FilelTag { +pub struct FileTag { pub span: Span, pub text: Text, } diff --git a/ecmascript/jsdoc/src/lib.rs b/ecmascript/jsdoc/src/lib.rs index 8248ee44ff8..e2cd8985e58 100644 --- a/ecmascript/jsdoc/src/lib.rs +++ b/ecmascript/jsdoc/src/lib.rs @@ -192,7 +192,7 @@ pub fn parse_tag_item(i: Input) -> IResult { "file" | "fileoverview" | "overview" => { let (input, text) = parse_line(i)?; i = input; - Tag::File(FilelTag { span, text }) + Tag::File(FileTag { span, text }) } "fires" | "emits" => { diff --git a/ecmascript/jsdoc/tests/fixtures/file.debug b/ecmascript/jsdoc/tests/fixtures/file.debug index bff8db6f579..c441374f27f 100644 --- a/ecmascript/jsdoc/tests/fixtures/file.debug +++ b/ecmascript/jsdoc/tests/fixtures/file.debug @@ -45,7 +45,7 @@ value: Atom('overview' type=dynamic), }, tag: File( - FilelTag { + FileTag { span: Span { lo: BytePos( 0, diff --git a/ecmascript/jsdoc/tests/fixtures/fileoverviewtag.debug b/ecmascript/jsdoc/tests/fixtures/fileoverviewtag.debug index acc549d52b9..1776e0e97fc 100644 --- a/ecmascript/jsdoc/tests/fixtures/fileoverviewtag.debug +++ b/ecmascript/jsdoc/tests/fixtures/fileoverviewtag.debug @@ -45,7 +45,7 @@ value: Atom('fileoverview' type=dynamic), }, tag: File( - FilelTag { + FileTag { span: Span { lo: BytePos( 0, diff --git a/ecmascript/minifier/Cargo.toml b/ecmascript/minifier/Cargo.toml index b5f757b1a31..b476cc57864 100644 --- a/ecmascript/minifier/Cargo.toml +++ b/ecmascript/minifier/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/lists/*.json"] license = "Apache-2.0/MIT" name = "swc_ecma_minifier" repository = "https://github.com/swc-project/swc.git" -version = "0.42.2" +version = "0.43.0" [features] debug = ["backtrace"] @@ -26,10 +26,10 @@ serde_regex = "1.1.0" swc_atoms = {version = "0.2", path = "../../atoms"} swc_common = {version = "0.14.0", path = "../../common"} swc_ecma_ast = {version = "0.55.0", path = "../ast"} -swc_ecma_codegen = {version = "0.76.0", path = "../codegen"} -swc_ecma_parser = {version = "0.74.0", path = "../parser"} -swc_ecma_transforms = {version = "0.86.1", path = "../transforms/", features = ["optimization"]} -swc_ecma_transforms_base = {version = "0.39.1", path = "../transforms/base"} +swc_ecma_codegen = {version = "0.77.0", path = "../codegen"} +swc_ecma_parser = {version = "0.75.0", path = "../parser"} +swc_ecma_transforms = {version = "0.87.0", path = "../transforms/", features = ["optimization"]} +swc_ecma_transforms_base = {version = "0.40.0", path = "../transforms/base"} swc_ecma_utils = {version = "0.48.0", path = "../utils"} swc_ecma_visit = {version = "0.41.0", path = "../visit"} tracing = "0.1.28" diff --git a/ecmascript/minifier/src/compress/mod.rs b/ecmascript/minifier/src/compress/mod.rs index 45187bbe4b8..7782ea7bcfe 100644 --- a/ecmascript/minifier/src/compress/mod.rs +++ b/ecmascript/minifier/src/compress/mod.rs @@ -433,7 +433,7 @@ where } fn visit_mut_module(&mut self, n: &mut Module) { - let is_bundle_mode = n.span.has_mark(self.marks.bundle_of_standalones); + let is_bundle_mode = n.span.has_mark(self.marks.bundle_of_standalone); if is_bundle_mode { self.left_parallel_depth = MAX_PAR_DEPTH - 1; diff --git a/ecmascript/minifier/src/compress/optimize/dead_code.rs b/ecmascript/minifier/src/compress/optimize/dead_code.rs index 127dbdfca10..b778c54652b 100644 --- a/ecmascript/minifier/src/compress/optimize/dead_code.rs +++ b/ecmascript/minifier/src/compress/optimize/dead_code.rs @@ -33,7 +33,7 @@ where /// throw x(); /// } /// ``` - pub(super) fn optimize_in_fn_termiation(&mut self, e: &mut Expr) { + pub(super) fn optimize_in_fn_termination(&mut self, e: &mut Expr) { if !self.options.dead_code { return; } @@ -45,7 +45,7 @@ where match e { Expr::Assign(assign) => { - self.optimize_in_fn_termiation(&mut assign.right); + self.optimize_in_fn_termination(&mut assign.right); // We only handle identifiers on lhs for now. match &assign.left { diff --git a/ecmascript/minifier/src/compress/optimize/fns.rs b/ecmascript/minifier/src/compress/optimize/fns.rs index 496c8d1b01c..7114d1bfb98 100644 --- a/ecmascript/minifier/src/compress/optimize/fns.rs +++ b/ecmascript/minifier/src/compress/optimize/fns.rs @@ -2,7 +2,7 @@ use super::Optimizer; use crate::{ compress::util::is_directive, mode::Mode, - util::{sort::is_sorted_by, MoudleItemExt}, + util::{sort::is_sorted_by, ModuleItemExt}, DISABLE_BUGGY_PASSES, }; use std::cmp::Ordering; @@ -16,7 +16,7 @@ where /// Calls `reorder_stmts_inner` after splitting stmts. pub(super) fn reorder_stmts(&mut self, stmts: &mut Vec) where - T: MoudleItemExt, + T: ModuleItemExt, { if self.ctx.in_asm { return; @@ -28,7 +28,7 @@ where /// Sorts given statements. fn reorder_stmts_inner(&mut self, stmts: &mut Vec) where - T: MoudleItemExt, + T: ModuleItemExt, { if !self.options.join_vars { return; diff --git a/ecmascript/minifier/src/compress/optimize/mod.rs b/ecmascript/minifier/src/compress/optimize/mod.rs index 78113689e73..502b3b581b3 100644 --- a/ecmascript/minifier/src/compress/optimize/mod.rs +++ b/ecmascript/minifier/src/compress/optimize/mod.rs @@ -8,7 +8,7 @@ use crate::{ marks::Marks, mode::Mode, option::CompressOptions, - util::{contains_leaping_yield, make_number, MoudleItemExt}, + util::{contains_leaping_yield, make_number, ModuleItemExt}, }; use retain_mut::RetainMut; use std::{fmt::Write, mem::take}; @@ -59,7 +59,7 @@ pub(super) fn optimizer<'a, M>( data: &'a ProgramData, state: &'a mut OptimizerState, mode: &'a M, - debug_inifinite_loop: bool, + debug_infinite_loop: bool, ) -> impl 'a + VisitMut + Repeated where M: Mode, @@ -89,7 +89,7 @@ where done_ctxt, label: Default::default(), mode, - debug_inifinite_loop, + debug_infinite_loop, } } @@ -137,7 +137,7 @@ struct Ctx { in_bang_arg: bool, in_var_decl_of_for_in_or_of_loop: bool, /// `true` while handling inner statements of a labelled statement. - stmt_lablled: bool, + stmt_labelled: bool, dont_use_negated_iife: bool, @@ -224,7 +224,7 @@ struct Optimizer<'a, M> { mode: &'a M, - debug_inifinite_loop: bool, + debug_infinite_loop: bool, } impl Repeated for Optimizer<'_, M> { @@ -243,7 +243,7 @@ where { fn handle_stmt_likes(&mut self, stmts: &mut Vec) where - T: StmtLike + ModuleItemLike + MoudleItemExt + VisitMutWith, + T: StmtLike + ModuleItemLike + ModuleItemExt + VisitMutWith, Vec: VisitMutWith + VisitWith, { match self.data { @@ -1582,7 +1582,7 @@ where fn visit_mut_block_stmt(&mut self, n: &mut BlockStmt) { let ctx = Ctx { - stmt_lablled: false, + stmt_labelled: false, top_level: false, in_block: true, scope: n.span.ctxt, @@ -1939,7 +1939,7 @@ where fn visit_mut_function(&mut self, n: &mut Function) { { let ctx = Ctx { - stmt_lablled: false, + stmt_labelled: false, ..self.ctx }; n.decorators.visit_mut_with(&mut *self.with_ctx(ctx)); @@ -1958,7 +1958,7 @@ where { let ctx = Ctx { skip_standalone: self.ctx.skip_standalone || is_standalone, - stmt_lablled: false, + stmt_labelled: false, in_fn_like: true, scope: n.span.ctxt, can_inline_arguments: true, @@ -2013,7 +2013,7 @@ where fn visit_mut_labeled_stmt(&mut self, n: &mut LabeledStmt) { let ctx = Ctx { - stmt_lablled: true, + stmt_labelled: true, ..self.ctx }; let old_label = self.label.take(); @@ -2148,7 +2148,7 @@ where n.visit_mut_children_with(self); if let Some(arg) = &mut n.arg { - self.optimize_in_fn_termiation(&mut **arg); + self.optimize_in_fn_termination(&mut **arg); } } @@ -2218,7 +2218,7 @@ where } fn visit_mut_stmt(&mut self, s: &mut Stmt) { - let _tracing = if cfg!(feature = "debug") && self.debug_inifinite_loop { + let _tracing = if cfg!(feature = "debug") && self.debug_infinite_loop { let text = dump(&*s); if text.lines().count() < 10 { @@ -2242,7 +2242,7 @@ where }; s.visit_mut_children_with(&mut *self.with_ctx(ctx)); - if cfg!(feature = "debug") && self.debug_inifinite_loop { + if cfg!(feature = "debug") && self.debug_infinite_loop { let text = dump(&*s); if text.lines().count() < 10 { @@ -2318,7 +2318,7 @@ where self.optimize_switches(s); - if cfg!(feature = "debug") && self.debug_inifinite_loop { + if cfg!(feature = "debug") && self.debug_infinite_loop { let text = dump(&*s); if text.lines().count() < 10 { @@ -2387,7 +2387,7 @@ where fn visit_mut_throw_stmt(&mut self, n: &mut ThrowStmt) { n.visit_mut_children_with(self); - self.optimize_in_fn_termiation(&mut n.arg); + self.optimize_in_fn_termination(&mut n.arg); } fn visit_mut_tpl(&mut self, n: &mut Tpl) { @@ -2598,7 +2598,7 @@ fn is_callee_this_aware(callee: &Expr) -> bool { .. }) => match &**obj { Expr::Ident(obj) => { - if &*obj.sym == "consoole" { + if &*obj.sym == "console" { return false; } } diff --git a/ecmascript/minifier/src/compress/optimize/sequences.rs b/ecmascript/minifier/src/compress/optimize/sequences.rs index de0c71df88c..7f81a3bddb0 100644 --- a/ecmascript/minifier/src/compress/optimize/sequences.rs +++ b/ecmascript/minifier/src/compress/optimize/sequences.rs @@ -7,7 +7,7 @@ use crate::{ debug::dump, mode::Mode, option::CompressOptions, - util::{idents_used_by, idents_used_by_ignoring_nested, ExprOptExt, MoudleItemExt}, + util::{idents_used_by, idents_used_by_ignoring_nested, ExprOptExt, ModuleItemExt}, }; use retain_mut::RetainMut; use std::mem::take; @@ -25,7 +25,7 @@ where M: Mode, { /// - /// # Exmaple + /// # Example /// /// /// ## Input @@ -416,7 +416,7 @@ where } self.changed = true; tracing::debug!( - "sequences: Splitted a sequence exprssion to multiple expression statements" + "sequences: Splitted a sequence expression to multiple expression statements" ); *stmts = new_stmts; } @@ -482,7 +482,7 @@ where e.exprs = new_exprs; } - /// Hoist varaibles in subscope. + /// Hoist variables in subscope. /// /// I don't know why it depends on `sequences`. pub(super) fn extract_vars_in_subscopes(&mut self, s: &mut Stmt) { @@ -504,7 +504,7 @@ where /// Move `var` in subscope to current scope. /// - /// This mehod acutally `hoist`s [VarDecl]s declared with `var`. + /// This method actually `hoist`s [VarDecl]s declared with `var`. fn extract_vars(&mut self, s: &mut Stmt) { let mut found_other = false; match s { @@ -641,7 +641,7 @@ where #[cfg_attr(feature = "debug", tracing::instrument(skip(self, stmts)))] pub(super) fn merge_sequences_in_stmts(&mut self, stmts: &mut Vec) where - T: MoudleItemExt, + T: ModuleItemExt, { if !self.options.sequences() && !self.options.collapse_vars { if cfg!(feature = "debug") { diff --git a/ecmascript/minifier/src/compress/optimize/switches.rs b/ecmascript/minifier/src/compress/optimize/switches.rs index 54570dddc02..1a05a13931e 100644 --- a/ecmascript/minifier/src/compress/optimize/switches.rs +++ b/ecmascript/minifier/src/compress/optimize/switches.rs @@ -14,7 +14,7 @@ where /// Handle switches in the case where we can know which branch will be /// taken. pub(super) fn optimize_const_switches(&mut self, s: &mut Stmt) { - if !self.options.switches || self.ctx.stmt_lablled { + if !self.options.switches || self.ctx.stmt_labelled { return; } @@ -320,7 +320,7 @@ where } pub(super) fn optimize_switches(&mut self, _s: &mut Stmt) { - if !self.options.switches || self.ctx.stmt_lablled { + if !self.options.switches || self.ctx.stmt_labelled { return; } diff --git a/ecmascript/minifier/src/compress/pure/mod.rs b/ecmascript/minifier/src/compress/pure/mod.rs index d6ee21bdda2..e6406232dff 100644 --- a/ecmascript/minifier/src/compress/pure/mod.rs +++ b/ecmascript/minifier/src/compress/pure/mod.rs @@ -1,6 +1,6 @@ use self::ctx::Ctx; use crate::{ - debug::dump, marks::Marks, mode::Mode, option::CompressOptions, util::MoudleItemExt, + debug::dump, marks::Marks, mode::Mode, option::CompressOptions, util::ModuleItemExt, MAX_PAR_DEPTH, }; use rayon::prelude::*; @@ -71,7 +71,7 @@ where { fn handle_stmt_likes(&mut self, stmts: &mut Vec) where - T: MoudleItemExt, + T: ModuleItemExt, Vec: VisitWith + VisitMutWith + VisitMutWith, diff --git a/ecmascript/minifier/src/marks.rs b/ecmascript/minifier/src/marks.rs index 7f0a518729d..45c24fad627 100644 --- a/ecmascript/minifier/src/marks.rs +++ b/ecmascript/minifier/src/marks.rs @@ -4,7 +4,7 @@ use swc_common::Mark; #[derive(Debug, Clone, Copy)] pub struct Marks { - /// [Mark] applied to non-top level varaibles which is injected while + /// [Mark] applied to non-top level variables which is injected while /// inlining. /// /// In other words, AST nodes marked with this mark will not be treated as a @@ -31,8 +31,8 @@ pub struct Marks { /// nested. pub(crate) standalone: Mark, - //// Appied to [swc_ecma_ast::Module]. - pub(crate) bundle_of_standalones: Mark, + //// Applied to [swc_ecma_ast::Module]. + pub(crate) bundle_of_standalone: Mark, /// `/** @const */`. pub(crate) const_ann: Mark, @@ -54,7 +54,7 @@ impl Marks { non_top_level: m(), synthesized_seq: m(), standalone: m(), - bundle_of_standalones: m(), + bundle_of_standalone: m(), const_ann: m(), noinline: m(), pure: m(), diff --git a/ecmascript/minifier/src/metadata/mod.rs b/ecmascript/minifier/src/metadata/mod.rs index 2bd9d36ca0c..001b7046c49 100644 --- a/ecmascript/minifier/src/metadata/mod.rs +++ b/ecmascript/minifier/src/metadata/mod.rs @@ -177,7 +177,7 @@ impl VisitMut for InfoMarker<'_> { if self.state.is_bundle { tracing::info!("Running minifier in the bundle mode"); - m.span = m.span.apply_mark(self.marks.bundle_of_standalones); + m.span = m.span.apply_mark(self.marks.bundle_of_standalone); } else { tracing::info!("Running minifier in the normal mode"); } diff --git a/ecmascript/minifier/src/pass/precompress.rs b/ecmascript/minifier/src/pass/precompress.rs index a60905da2e3..e603b24529e 100644 --- a/ecmascript/minifier/src/pass/precompress.rs +++ b/ecmascript/minifier/src/pass/precompress.rs @@ -2,7 +2,7 @@ use crate::{ analyzer::{analyze, ProgramData, UsageAnalyzer}, marks::Marks, option::CompressOptions, - util::MoudleItemExt, + util::ModuleItemExt, }; use swc_atoms::js_word; use swc_common::{collections::AHashMap, util::take::Take}; @@ -44,7 +44,7 @@ struct Ctx { impl PrecompressOptimizer<'_> { fn handle_stmts(&mut self, stmts: &mut Vec) where - T: for<'aa> VisitMutWith> + MoudleItemExt, + T: for<'aa> VisitMutWith> + ModuleItemExt, Vec: for<'aa> VisitMutWith> + VisitWith, { if self.data.is_some() { diff --git a/ecmascript/minifier/src/util/mod.rs b/ecmascript/minifier/src/util/mod.rs index 128e7352529..102af024957 100644 --- a/ecmascript/minifier/src/util/mod.rs +++ b/ecmascript/minifier/src/util/mod.rs @@ -21,7 +21,7 @@ pub(crate) fn make_number(span: Span, value: f64) -> Expr { Expr::Lit(Lit::Num(Number { span, value })) } -pub trait MoudleItemExt: +pub trait ModuleItemExt: StmtLike + ModuleItemLike + From + Spanned + std::fmt::Debug { fn as_module_decl(&self) -> Result<&ModuleDecl, &Stmt>; @@ -40,7 +40,7 @@ pub trait MoudleItemExt: fn as_stmt_mut(&mut self) -> Option<&mut Stmt>; } -impl MoudleItemExt for Stmt { +impl ModuleItemExt for Stmt { fn as_module_decl(&self) -> Result<&ModuleDecl, &Stmt> { Err(self) } @@ -58,7 +58,7 @@ impl MoudleItemExt for Stmt { } } -impl MoudleItemExt for ModuleItem { +impl ModuleItemExt for ModuleItem { fn as_module_decl(&self) -> Result<&ModuleDecl, &Stmt> { match self { ModuleItem::ModuleDecl(v) => Ok(v), diff --git a/ecmascript/parser/Cargo.toml b/ecmascript/parser/Cargo.toml index 5abb65c0762..be51a68c47f 100644 --- a/ecmascript/parser/Cargo.toml +++ b/ecmascript/parser/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "examples/**/*.rs"] license = "Apache-2.0/MIT" name = "swc_ecma_parser" repository = "https://github.com/swc-project/swc.git" -version = "0.74.0" +version = "0.75.0" [package.metadata.docs.rs] all-features = true diff --git a/ecmascript/parser/src/error.rs b/ecmascript/parser/src/error.rs index 0e6cfc9442c..6958192e2e4 100644 --- a/ecmascript/parser/src/error.rs +++ b/ecmascript/parser/src/error.rs @@ -63,7 +63,7 @@ pub enum SyntaxError { EscapeInReservedWord { word: JsWord, }, - UnterminatedRegxp, + UnterminatedRegExp, UnterminatedTpl, IdentAfterNum, UnexpectedChar { @@ -272,7 +272,7 @@ impl SyntaxError { SyntaxError::EscapeInReservedWord { ref word } => { format!("Unexpected escape sequence in reserved word: {}", word).into() } - SyntaxError::UnterminatedRegxp => "Unterminated regexp literal".into(), + SyntaxError::UnterminatedRegExp => "Unterminated regexp literal".into(), SyntaxError::UnterminatedTpl => "Unterminated template".into(), SyntaxError::IdentAfterNum => "Identifier cannot follow number".into(), SyntaxError::UnexpectedChar { c } => format!("Unexpected character {:?}", c).into(), diff --git a/ecmascript/parser/src/lexer/mod.rs b/ecmascript/parser/src/lexer/mod.rs index 0a8db4e19a7..fb980f547a2 100644 --- a/ecmascript/parser/src/lexer/mod.rs +++ b/ecmascript/parser/src/lexer/mod.rs @@ -905,7 +905,7 @@ impl<'a, I: Input> Lexer<'a, I> { // This is ported from babel. // Seems like regexp literal cannot contain linebreak. if c.is_line_terminator() { - l.error(start, SyntaxError::UnterminatedRegxp)?; + l.error(start, SyntaxError::UnterminatedRegExp)?; } if escaped { @@ -931,7 +931,7 @@ impl<'a, I: Input> Lexer<'a, I> { // input is terminated without following `/` if !self.is(b'/') { - self.error(start, SyntaxError::UnterminatedRegxp)?; + self.error(start, SyntaxError::UnterminatedRegExp)?; } self.bump(); // '/' diff --git a/ecmascript/parser/src/lib.rs b/ecmascript/parser/src/lib.rs index 66ceef6a80a..822e6b47b4b 100644 --- a/ecmascript/parser/src/lib.rs +++ b/ecmascript/parser/src/lib.rs @@ -90,12 +90,12 @@ //! //! ### Null character after `\` //! -//! Becuase [String] of rust should only contain valid utf-8 characters while -//! javascript allows non-utf8 chraceters, the parser stores invalid utf8 -//! chracters in escpaed form. +//! Because [String] of rust should only contain valid utf-8 characters while +//! javascript allows non-utf8 characters, the parser stores invalid utf8 +//! characters in escaped form. //! //! As a result, swc needs a way to distinguish invalid-utf8 code points and -//! input specified by the user. The parser stores a null chracter right after +//! input specified by the user. The parser stores a null character right after //! `\\` for non-utf8 code points. Note that other parts of swc is aware of this //! fact. //! diff --git a/ecmascript/parser/src/parser/expr.rs b/ecmascript/parser/src/parser/expr.rs index 84f8b441183..291d1c38659 100644 --- a/ecmascript/parser/src/parser/expr.rs +++ b/ecmascript/parser/src/parser/expr.rs @@ -751,7 +751,7 @@ impl<'a, I: Tokens> Parser { Ok(&Token::BinOp(..)) => { // ) is required self.emit_err(self.input.cur_span(), SyntaxError::TS1005); - let errored_expr = + let errorred_expr = self.parse_bin_op_recursively(Box::new(arrow_expr.into()), 0)?; if !is!(self, ';') { @@ -759,7 +759,7 @@ impl<'a, I: Tokens> Parser { self.emit_err(self.input.cur_span(), SyntaxError::TS1005); } - return Ok(errored_expr); + return Ok(errorred_expr); } _ => {} }, diff --git a/ecmascript/preset-env/Cargo.toml b/ecmascript/preset-env/Cargo.toml index b67d48a674c..1fa527e2e7d 100644 --- a/ecmascript/preset-env/Cargo.toml +++ b/ecmascript/preset-env/Cargo.toml @@ -5,7 +5,7 @@ documentation = "https://rustdoc.swc.rs/swc_ecma_preset_env/" edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_preset_env" -version = "0.57.1" +version = "0.58.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -22,13 +22,13 @@ string_enum = {version = "0.3.1", path = "../../macros/string_enum"} swc_atoms = {version = "0.2", path = "../../atoms"} swc_common = {version = "0.14.0", path = "../../common"} swc_ecma_ast = {version = "0.55.0", path = "../ast"} -swc_ecma_transforms = {version = "0.86.1", path = "../transforms", features = ["compat", "proposal"]} +swc_ecma_transforms = {version = "0.87.0", path = "../transforms", features = ["compat", "proposal"]} swc_ecma_utils = {version = "0.48.0", path = "../utils"} swc_ecma_visit = {version = "0.41.0", path = "../visit"} walkdir = "2" [dev-dependencies] pretty_assertions = "0.6" -swc_ecma_codegen = {version = "0.76.0", path = "../codegen"} -swc_ecma_parser = {version = "0.74.0", path = "../parser"} +swc_ecma_codegen = {version = "0.77.0", path = "../codegen"} +swc_ecma_parser = {version = "0.75.0", path = "../parser"} testing = {version = "0.15.0", path = "../../testing"} diff --git a/ecmascript/transforms/Cargo.toml b/ecmascript/transforms/Cargo.toml index a317fec888b..57dfe747cb2 100644 --- a/ecmascript/transforms/Cargo.toml +++ b/ecmascript/transforms/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_transforms" repository = "https://github.com/swc-project/swc.git" -version = "0.86.1" +version = "0.87.0" [package.metadata.docs.rs] all-features = true @@ -25,14 +25,14 @@ typescript = ["swc_ecma_transforms_typescript"] swc_atoms = {version = "0.2.0", path = "../../atoms"} swc_common = {version = "0.14.0", path = "../../common"} swc_ecma_ast = {version = "0.55.0", path = "../ast"} -swc_ecma_parser = {version = "0.74.0", path = "../parser"} -swc_ecma_transforms_base = {version = "0.39.1", path = "./base"} -swc_ecma_transforms_compat = {version = "0.44.1", path = "./compat", optional = true} -swc_ecma_transforms_module = {version = "0.50.1", path = "./module", optional = true} -swc_ecma_transforms_optimization = {version = "0.56.1", path = "./optimization", optional = true} -swc_ecma_transforms_proposal = {version = "0.50.1", path = "./proposal", optional = true} -swc_ecma_transforms_react = {version = "0.52.1", path = "./react", optional = true} -swc_ecma_transforms_typescript = {version = "0.53.1", path = "./typescript", optional = true} +swc_ecma_parser = {version = "0.75.0", path = "../parser"} +swc_ecma_transforms_base = {version = "0.40.0", path = "./base"} +swc_ecma_transforms_compat = {version = "0.45.0", path = "./compat", optional = true} +swc_ecma_transforms_module = {version = "0.51.0", path = "./module", optional = true} +swc_ecma_transforms_optimization = {version = "0.57.0", path = "./optimization", optional = true} +swc_ecma_transforms_proposal = {version = "0.51.0", path = "./proposal", optional = true} +swc_ecma_transforms_react = {version = "0.53.0", path = "./react", optional = true} +swc_ecma_transforms_typescript = {version = "0.54.0", path = "./typescript", optional = true} swc_ecma_utils = {version = "0.48.0", path = "../utils"} swc_ecma_visit = {version = "0.41.0", path = "../visit"} unicode-xid = "0.2" @@ -40,8 +40,8 @@ unicode-xid = "0.2" [dev-dependencies] pretty_assertions = "0.6" sourcemap = "6" -swc_ecma_codegen = {version = "0.76.0", path = "../codegen"} -swc_ecma_transforms_testing = {version = "0.40.1", path = "./testing"} +swc_ecma_codegen = {version = "0.77.0", path = "../codegen"} +swc_ecma_transforms_testing = {version = "0.41.0", path = "./testing"} tempfile = "3" testing = {version = "0.15.0", path = "../../testing"} walkdir = "2" diff --git a/ecmascript/transforms/base/Cargo.toml b/ecmascript/transforms/base/Cargo.toml index 0781ddc3603..5a176ebe7fd 100644 --- a/ecmascript/transforms/base/Cargo.toml +++ b/ecmascript/transforms/base/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_transforms_base" repository = "https://github.com/swc-project/swc.git" -version = "0.39.1" +version = "0.40.0" [features] concurrent = [ @@ -23,11 +23,11 @@ smallvec = "1.6.0" swc_atoms = {version = "0.2", path = "../../../atoms"} swc_common = {version = "0.14.0", path = "../../../common"} swc_ecma_ast = {version = "0.55.0", path = "../../ast"} -swc_ecma_parser = {version = "0.74.0", path = "../../parser"} +swc_ecma_parser = {version = "0.75.0", path = "../../parser"} swc_ecma_utils = {version = "0.48.0", path = "../../utils"} swc_ecma_visit = {version = "0.41.0", path = "../../visit"} [dev-dependencies] -swc_ecma_codegen = {version = "0.76.0", path = "../../codegen"} +swc_ecma_codegen = {version = "0.77.0", path = "../../codegen"} swc_ecma_transforms_macros = {version = "0.2.3", path = "../macros"} testing = {version = "0.15.0", path = "../../../testing"} diff --git a/ecmascript/transforms/classes/Cargo.toml b/ecmascript/transforms/classes/Cargo.toml index d50564a0b64..65e57e9b430 100644 --- a/ecmascript/transforms/classes/Cargo.toml +++ b/ecmascript/transforms/classes/Cargo.toml @@ -6,12 +6,12 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_transforms_classes" repository = "https://github.com/swc-project/swc.git" -version = "0.25.1" +version = "0.26.0" [dependencies] swc_atoms = {version = "0.2.6", path = "../../../atoms"} swc_common = {version = "0.14.0", path = "../../../common"} swc_ecma_ast = {version = "0.55.0", path = "../../ast"} -swc_ecma_transforms_base = {version = "0.39.1", path = "../base"} +swc_ecma_transforms_base = {version = "0.40.0", path = "../base"} swc_ecma_utils = {version = "0.48.0", path = "../../utils"} swc_ecma_visit = {version = "0.41.0", path = "../../visit"} diff --git a/ecmascript/transforms/compat/Cargo.toml b/ecmascript/transforms/compat/Cargo.toml index 45ec32c67cd..f746ad9c3b1 100644 --- a/ecmascript/transforms/compat/Cargo.toml +++ b/ecmascript/transforms/compat/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_transforms_compat" repository = "https://github.com/swc-project/swc.git" -version = "0.44.3" +version = "0.45.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] @@ -29,13 +29,13 @@ smallvec = "1.6.0" swc_atoms = {version = "0.2.5", path = "../../../atoms"} swc_common = {version = "0.14.0", path = "../../../common"} swc_ecma_ast = {version = "0.55.0", path = "../../ast"} -swc_ecma_transforms_base = {version = "0.39.1", path = "../base"} -swc_ecma_transforms_classes = {version = "0.25.1", path = "../classes"} +swc_ecma_transforms_base = {version = "0.40.0", path = "../base"} +swc_ecma_transforms_classes = {version = "0.26.0", path = "../classes"} swc_ecma_transforms_macros = {version = "0.2.3", path = "../macros"} swc_ecma_utils = {version = "0.48.0", path = "../../utils"} swc_ecma_visit = {version = "0.41.0", path = "../../visit"} [dev-dependencies] -swc_ecma_parser = {version = "0.74.0", path = "../../parser"} -swc_ecma_transforms_testing = {version = "0.40.1", path = "../testing"} +swc_ecma_parser = {version = "0.75.0", path = "../../parser"} +swc_ecma_transforms_testing = {version = "0.41.0", path = "../testing"} testing = {version = "0.15.0", path = "../../../testing"} diff --git a/ecmascript/transforms/compat/src/es2017/async_to_generator.rs b/ecmascript/transforms/compat/src/es2017/async_to_generator.rs index 13c4ad87f73..f43d26c4f99 100644 --- a/ecmascript/transforms/compat/src/es2017/async_to_generator.rs +++ b/ecmascript/transforms/compat/src/es2017/async_to_generator.rs @@ -1197,7 +1197,7 @@ fn handle_await_for(stmt: Stmt) -> Stmt { let catch_clause = { // _didIteratorError = true; - let mark_as_errored = Stmt::Expr(ExprStmt { + let mark_as_errorred = Stmt::Expr(ExprStmt { span: DUMMY_SP, expr: Box::new(Expr::Assign(AssignExpr { span: DUMMY_SP, @@ -1225,7 +1225,7 @@ fn handle_await_for(stmt: Stmt) -> Stmt { param: Some(Pat::Ident(err_param.clone().into())), body: BlockStmt { span: DUMMY_SP, - stmts: vec![mark_as_errored, store_error], + stmts: vec![mark_as_errorred, store_error], }, } }; diff --git a/ecmascript/transforms/module/Cargo.toml b/ecmascript/transforms/module/Cargo.toml index af075c6f0db..f12727871f6 100644 --- a/ecmascript/transforms/module/Cargo.toml +++ b/ecmascript/transforms/module/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_transforms_module" repository = "https://github.com/swc-project/swc.git" -version = "0.50.1" +version = "0.51.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] @@ -20,12 +20,12 @@ swc_atoms = {version = "0.2", path = "../../../atoms"} swc_common = {version = "0.14.0", path = "../../../common"} swc_ecma_ast = {version = "0.55.0", path = "../../ast"} swc_ecma_loader = {version = "0.22.0", path = "../../loader", features = ["node"]} -swc_ecma_parser = {version = "0.74.0", path = "../../parser"} -swc_ecma_transforms_base = {version = "0.39.1", path = "../base"} +swc_ecma_parser = {version = "0.75.0", path = "../../parser"} +swc_ecma_transforms_base = {version = "0.40.0", path = "../base"} swc_ecma_utils = {version = "0.48.0", path = "../../utils"} swc_ecma_visit = {version = "0.41.0", path = "../../visit"} [dev-dependencies] -swc_ecma_transforms_compat = {version = "0.44.1", path = "../compat"} -swc_ecma_transforms_testing = {version = "0.40.1", path = "../testing/"} +swc_ecma_transforms_compat = {version = "0.45.0", path = "../compat"} +swc_ecma_transforms_testing = {version = "0.41.0", path = "../testing/"} testing = {version = "0.15.0", path = "../../../testing/"} diff --git a/ecmascript/transforms/optimization/Cargo.toml b/ecmascript/transforms/optimization/Cargo.toml index 0374c993bff..3f9600e0e2e 100644 --- a/ecmascript/transforms/optimization/Cargo.toml +++ b/ecmascript/transforms/optimization/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_transforms_optimization" repository = "https://github.com/swc-project/swc.git" -version = "0.56.1" +version = "0.57.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] @@ -28,18 +28,18 @@ serde_json = "1.0.61" swc_atoms = {version = "0.2", path = "../../../atoms"} swc_common = {version = "0.14.0", path = "../../../common"} swc_ecma_ast = {version = "0.55.0", path = "../../ast"} -swc_ecma_parser = {version = "0.74.0", path = "../../parser"} -swc_ecma_transforms_base = {version = "0.39.1", path = "../base"} +swc_ecma_parser = {version = "0.75.0", path = "../../parser"} +swc_ecma_transforms_base = {version = "0.40.0", path = "../base"} swc_ecma_transforms_macros = {version = "0.2.3", path = "../macros"} swc_ecma_utils = {version = "0.48.0", path = "../../utils"} swc_ecma_visit = {version = "0.41.0", path = "../../visit"} tracing = "0.1.28" [dev-dependencies] -swc_ecma_transforms_compat = {version = "0.44.1", path = "../compat"} -swc_ecma_transforms_module = {version = "0.50.1", path = "../module"} -swc_ecma_transforms_proposal = {version = "0.50.1", path = "../proposal"} -swc_ecma_transforms_react = {version = "0.52.1", path = "../react"} -swc_ecma_transforms_testing = {version = "0.40.1", path = "../testing"} -swc_ecma_transforms_typescript = {version = "0.53.1", path = "../typescript"} +swc_ecma_transforms_compat = {version = "0.45.0", path = "../compat"} +swc_ecma_transforms_module = {version = "0.51.0", path = "../module"} +swc_ecma_transforms_proposal = {version = "0.51.0", path = "../proposal"} +swc_ecma_transforms_react = {version = "0.53.0", path = "../react"} +swc_ecma_transforms_testing = {version = "0.41.0", path = "../testing"} +swc_ecma_transforms_typescript = {version = "0.54.0", path = "../typescript"} testing = {version = "0.15.0", path = "../../../testing"} diff --git a/ecmascript/transforms/optimization/src/simplify/expr/tests.rs b/ecmascript/transforms/optimization/src/simplify/expr/tests.rs index 83fbe8362be..3bb2a5ff7a8 100644 --- a/ecmascript/transforms/optimization/src/simplify/expr/tests.rs +++ b/ecmascript/transforms/optimization/src/simplify/expr/tests.rs @@ -373,7 +373,7 @@ fn test_string_number_comparison() { } #[test] -fn test_na_ncomparison() { +fn test_nan_comparison() { fold("NaN < NaN", "false"); fold("NaN >= NaN", "false"); fold("NaN == NaN", "false"); @@ -441,7 +441,7 @@ fn test_unary_ops_1() { fold("a=+false", "a=0"); fold_same("a=+foo()"); fold_same("a=+f"); - // fold("a=+(f?true:false)", "a=+(f?1:0)"); // TODO(johnlenz): foldable + // fold("a=+(f?true:false)", "a=+(f?1:0)"); } #[test] @@ -530,7 +530,7 @@ fn test_fold_logical_op_2() { // Really not foldable, because it would change the type of the // expression if foo() returns something truthy but not true. // Cf. FoldConstants.tryFoldAndOr(). - // An example would be if foo() is 1 (truthy) and bar() is 0 (falsey): + // An example would be if foo() is 1 (truthy) and bar() is 0 (falsy): // (1 && true) || 0 == true // 1 || 0 == 1, but true =/= 1 fold_same("x = foo() && true || bar()"); diff --git a/ecmascript/transforms/proposal/Cargo.toml b/ecmascript/transforms/proposal/Cargo.toml index c3e3c280ef9..3fce87a1a86 100644 --- a/ecmascript/transforms/proposal/Cargo.toml +++ b/ecmascript/transforms/proposal/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_transforms_proposal" repository = "https://github.com/swc-project/swc.git" -version = "0.50.1" +version = "0.51.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -22,16 +22,16 @@ swc_atoms = {version = "0.2", path = "../../../atoms"} swc_common = {version = "0.14.0", path = "../../../common"} swc_ecma_ast = {version = "0.55.0", path = "../../ast"} swc_ecma_loader = {version = "0.22.0", path = "../../loader", optional = true} -swc_ecma_parser = {version = "0.74.0", path = "../../parser"} -swc_ecma_transforms_base = {version = "0.39.1", path = "../base"} -swc_ecma_transforms_classes = {version = "0.25.1", path = "../classes"} +swc_ecma_parser = {version = "0.75.0", path = "../../parser"} +swc_ecma_transforms_base = {version = "0.40.0", path = "../base"} +swc_ecma_transforms_classes = {version = "0.26.0", path = "../classes"} swc_ecma_transforms_macros = {version = "0.2.3", path = "../macros"} swc_ecma_utils = {version = "0.48.0", path = "../../utils"} swc_ecma_visit = {version = "0.41.0", path = "../../visit"} [dev-dependencies] serde_json = "1.0.66" -swc_ecma_transforms_compat = {version = "0.44.1", path = "../compat"} -swc_ecma_transforms_module = {version = "0.50.1", path = "../module"} -swc_ecma_transforms_testing = {version = "0.40.1", path = "../testing"} +swc_ecma_transforms_compat = {version = "0.45.0", path = "../compat"} +swc_ecma_transforms_module = {version = "0.51.0", path = "../module"} +swc_ecma_transforms_testing = {version = "0.41.0", path = "../testing"} testing = {version = "0.15.0", path = "../../../testing"} diff --git a/ecmascript/transforms/react/Cargo.toml b/ecmascript/transforms/react/Cargo.toml index 4c0516cbc6d..1dab64b8da1 100644 --- a/ecmascript/transforms/react/Cargo.toml +++ b/ecmascript/transforms/react/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0/MIT" name = "swc_ecma_transforms_react" repository = "https://github.com/swc-project/swc.git" -version = "0.52.1" +version = "0.53.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] @@ -23,15 +23,15 @@ string_enum = {version = "0.3.1", path = "../../../macros/string_enum"} swc_atoms = {version = "0.2", path = "../../../atoms"} swc_common = {version = "0.14.0", path = "../../../common"} swc_ecma_ast = {version = "0.55.0", path = "../../ast"} -swc_ecma_parser = {version = "0.74.0", path = "../../parser"} -swc_ecma_transforms_base = {version = "0.39.1", path = "../base"} +swc_ecma_parser = {version = "0.75.0", path = "../../parser"} +swc_ecma_transforms_base = {version = "0.40.0", path = "../base"} swc_ecma_transforms_macros = {version = "0.2.3", path = "../macros"} swc_ecma_utils = {version = "0.48.0", path = "../../utils"} swc_ecma_visit = {version = "0.41.0", path = "../../visit"} [dev-dependencies] -swc_ecma_codegen = {version = "0.76.0", path = "../../codegen/"} -swc_ecma_transforms_compat = {version = "0.44.1", path = "../compat/"} -swc_ecma_transforms_module = {version = "0.50.1", path = "../module"} -swc_ecma_transforms_testing = {version = "0.40.1", path = "../testing/"} +swc_ecma_codegen = {version = "0.77.0", path = "../../codegen/"} +swc_ecma_transforms_compat = {version = "0.45.0", path = "../compat/"} +swc_ecma_transforms_module = {version = "0.51.0", path = "../module"} +swc_ecma_transforms_testing = {version = "0.41.0", path = "../testing/"} testing = {version = "0.15.0", path = "../../../testing"} diff --git a/ecmascript/transforms/react/src/jsx/mod.rs b/ecmascript/transforms/react/src/jsx/mod.rs index 1c6a0ff0b7b..bfe3326e0a5 100644 --- a/ecmascript/transforms/react/src/jsx/mod.rs +++ b/ecmascript/transforms/react/src/jsx/mod.rs @@ -666,7 +666,7 @@ where } } - /// Runtiem; `classic` + /// Runtime; `classic` fn fold_attrs_for_next_classic(&mut self, attrs: Vec) -> Box { if attrs.is_empty() { return Box::new(Expr::Lit(Lit::Null(Null { span: DUMMY_SP }))); diff --git a/ecmascript/transforms/react/src/refresh/mod.rs b/ecmascript/transforms/react/src/refresh/mod.rs index caf4b2ffac8..2bc57613251 100644 --- a/ecmascript/transforms/react/src/refresh/mod.rs +++ b/ecmascript/transforms/react/src/refresh/mod.rs @@ -749,13 +749,13 @@ impl Fold for Refresh { for stmt in &n.stmts { stmt.collect_ident(&mut current_scope); } - let orig_bindinga = self.scope_binding.len(); + let orig_bindings = self.scope_binding.len(); self.scope_binding.extend(current_scope.into_iter()); let orig_hook = mem::replace(&mut self.curr_hook_fn, Vec::new()); let mut n = n.fold_children_with(self); let curr_hook = mem::replace(&mut self.curr_hook_fn, orig_hook); - self.scope_binding.truncate(orig_bindinga); + self.scope_binding.truncate(orig_bindings); if curr_hook.len() > 0 { let stmt_count = n.stmts.len(); diff --git a/ecmascript/transforms/testing/Cargo.toml b/ecmascript/transforms/testing/Cargo.toml index 878d2294ef9..6695b61df10 100644 --- a/ecmascript/transforms/testing/Cargo.toml +++ b/ecmascript/transforms/testing/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_transforms_testing" repository = "https://github.com/swc-project/swc.git" -version = "0.40.1" +version = "0.41.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -17,9 +17,9 @@ serde = "1" serde_json = "1" swc_common = {version = "0.14.0", path = "../../../common"} swc_ecma_ast = {version = "0.55.0", path = "../../ast"} -swc_ecma_codegen = {version = "0.76.0", path = "../../codegen"} -swc_ecma_parser = {version = "0.74.0", path = "../../parser"} -swc_ecma_transforms_base = {version = "0.39.1", path = "../base"} +swc_ecma_codegen = {version = "0.77.0", path = "../../codegen"} +swc_ecma_parser = {version = "0.75.0", path = "../../parser"} +swc_ecma_transforms_base = {version = "0.40.0", path = "../base"} swc_ecma_utils = {version = "0.48.0", path = "../../utils"} swc_ecma_visit = {version = "0.41.0", path = "../../visit"} tempfile = "3.1.0" diff --git a/ecmascript/transforms/typescript/Cargo.toml b/ecmascript/transforms/typescript/Cargo.toml index 653449fb430..81c840d5069 100644 --- a/ecmascript/transforms/typescript/Cargo.toml +++ b/ecmascript/transforms/typescript/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_transforms_typescript" repository = "https://github.com/swc-project/swc.git" -version = "0.53.1" +version = "0.54.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] @@ -14,17 +14,17 @@ serde = {version = "1.0.118", features = ["derive"]} swc_atoms = {version = "0.2", path = "../../../atoms"} swc_common = {version = "0.14.0", path = "../../../common"} swc_ecma_ast = {version = "0.55.0", path = "../../ast"} -swc_ecma_parser = {version = "0.74.0", path = "../../parser"} -swc_ecma_transforms_base = {version = "0.39.1", path = "../base"} -swc_ecma_transforms_react = {version = "0.52.1", path = "../react"} +swc_ecma_parser = {version = "0.75.0", path = "../../parser"} +swc_ecma_transforms_base = {version = "0.40.0", path = "../base"} +swc_ecma_transforms_react = {version = "0.53.0", path = "../react"} swc_ecma_utils = {version = "0.48.0", path = "../../utils"} swc_ecma_visit = {version = "0.41.0", path = "../../visit"} [dev-dependencies] -swc_ecma_codegen = {version = "0.76.0", path = "../../codegen"} -swc_ecma_transforms_compat = {version = "0.44.1", path = "../compat"} -swc_ecma_transforms_module = {version = "0.50.1", path = "../module"} -swc_ecma_transforms_proposal = {version = "0.50.1", path = "../proposal/"} -swc_ecma_transforms_testing = {version = "0.40.1", path = "../testing"} +swc_ecma_codegen = {version = "0.77.0", path = "../../codegen"} +swc_ecma_transforms_compat = {version = "0.45.0", path = "../compat"} +swc_ecma_transforms_module = {version = "0.51.0", path = "../module"} +swc_ecma_transforms_proposal = {version = "0.51.0", path = "../proposal/"} +swc_ecma_transforms_testing = {version = "0.41.0", path = "../testing"} testing = {version = "0.15.0", path = "../../../testing"} walkdir = "2.3.1" diff --git a/node/bundler/tests/pass/cjs/common-library/output/entry.js b/node/bundler/tests/pass/cjs/common-library/output/entry.js index fed1b68dd9a..c5e74ee6e91 100644 --- a/node/bundler/tests/pass/cjs/common-library/output/entry.js +++ b/node/bundler/tests/pass/cjs/common-library/output/entry.js @@ -11,16 +11,16 @@ function __spack_require__(mod) { cache = module.exports; return cache; } -var load = __spack_require__.bind(void 0, function(module, exports) { +var load = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = class Common { }; }); -var load1 = __spack_require__.bind(void 0, function(module, exports) { +var load1 = __swcpack_require__.bind(void 0, function(module, exports) { const Common = load(); module.exports = class A extends Common { }; }); -var load2 = __spack_require__.bind(void 0, function(module, exports) { +var load2 = __swcpack_require__.bind(void 0, function(module, exports) { const Common = load(); module.exports = class B extends Common { }; diff --git a/node/bundler/tests/pass/cjs/conditional/output/entry.js b/node/bundler/tests/pass/cjs/conditional/output/entry.js index ad2b35bc4d2..8bcd05c458f 100644 --- a/node/bundler/tests/pass/cjs/conditional/output/entry.js +++ b/node/bundler/tests/pass/cjs/conditional/output/entry.js @@ -11,7 +11,7 @@ function __spack_require__(mod) { cache = module.exports; return cache; } -var load = __spack_require__.bind(void 0, function(module, exports) { +var load = __swcpack_require__.bind(void 0, function(module, exports) { console.log('foo'); console.log('bar'); }); diff --git a/node/bundler/tests/pass/cjs/issue-967-no-recursive-require/output/entry.js b/node/bundler/tests/pass/cjs/issue-967-no-recursive-require/output/entry.js index 1e4becfdfff..5e2f431b2b8 100644 --- a/node/bundler/tests/pass/cjs/issue-967-no-recursive-require/output/entry.js +++ b/node/bundler/tests/pass/cjs/issue-967-no-recursive-require/output/entry.js @@ -11,13 +11,13 @@ function __spack_require__(mod) { cache = module.exports; return cache; } -var load = __spack_require__.bind(void 0, function(module, exports) { +var load = __swcpack_require__.bind(void 0, function(module, exports) { console.log('a'); }); -var load1 = __spack_require__.bind(void 0, function(module, exports) { +var load1 = __swcpack_require__.bind(void 0, function(module, exports) { console.log('b'); }); -var load2 = __spack_require__.bind(void 0, function(module, exports) { +var load2 = __swcpack_require__.bind(void 0, function(module, exports) { console.log('c'); }); load(); diff --git a/node/bundler/tests/pass/cjs/issue-967-recursive-require/output/entry.js b/node/bundler/tests/pass/cjs/issue-967-recursive-require/output/entry.js index 79efe984d5f..07c8c8b9a06 100644 --- a/node/bundler/tests/pass/cjs/issue-967-recursive-require/output/entry.js +++ b/node/bundler/tests/pass/cjs/issue-967-recursive-require/output/entry.js @@ -11,23 +11,23 @@ function __spack_require__(mod) { cache = module.exports; return cache; } -var load = __spack_require__.bind(void 0, function(module, exports) { +var load = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = { default: 'a-a-a' }; }); -var load1 = __spack_require__.bind(void 0, function(module, exports) { +var load1 = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = load(); }); -var load2 = __spack_require__.bind(void 0, function(module, exports) { +var load2 = __swcpack_require__.bind(void 0, function(module, exports) { console.log('a-b'); exports.default = 'ab'; }); -var load3 = __spack_require__.bind(void 0, function(module, exports) { +var load3 = __swcpack_require__.bind(void 0, function(module, exports) { console.log('b'); module.exports = 'b'; }); -var load7 = __spack_require__.bind(void 0, function(module, exports) { +var load7 = __swcpack_require__.bind(void 0, function(module, exports) { var aa = load1(); var bb = load2(); load3(); @@ -36,7 +36,7 @@ var load7 = __spack_require__.bind(void 0, function(module, exports) { bb: bb }; }); -var load8 = __spack_require__.bind(void 0, function(module, exports) { +var load8 = __swcpack_require__.bind(void 0, function(module, exports) { console.log('c'); }); load7(); diff --git a/node/bundler/tests/pass/cjs/mixed/output/entry.js b/node/bundler/tests/pass/cjs/mixed/output/entry.js index facd7edd54c..b501c82924c 100644 --- a/node/bundler/tests/pass/cjs/mixed/output/entry.js +++ b/node/bundler/tests/pass/cjs/mixed/output/entry.js @@ -11,10 +11,10 @@ function __spack_require__(mod) { cache = module.exports; return cache; } -var load = __spack_require__.bind(void 0, function(module, exports) { +var load = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = 1; }); -var load1 = __spack_require__.bind(void 0, function(module, exports) { +var load1 = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = load(); }); var { default: a } = load1(); diff --git a/node/bundler/tests/pass/cjs/nested/output/entry.js b/node/bundler/tests/pass/cjs/nested/output/entry.js index bd000601c5c..9cb629a871f 100644 --- a/node/bundler/tests/pass/cjs/nested/output/entry.js +++ b/node/bundler/tests/pass/cjs/nested/output/entry.js @@ -11,10 +11,10 @@ function __spack_require__(mod) { cache = module.exports; return cache; } -var load = __spack_require__.bind(void 0, function(module, exports) { +var load = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = 1; }); -var load1 = __spack_require__.bind(void 0, function(module, exports) { +var load1 = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = load(); }); const a = load1(); diff --git a/node/bundler/tests/pass/issue-1225/cjs/output/entry.js b/node/bundler/tests/pass/issue-1225/cjs/output/entry.js index 42bd74fa948..09a155c8195 100644 --- a/node/bundler/tests/pass/issue-1225/cjs/output/entry.js +++ b/node/bundler/tests/pass/issue-1225/cjs/output/entry.js @@ -11,7 +11,7 @@ function __spack_require__(mod) { cache = module.exports; return cache; } -var load = __spack_require__.bind(void 0, function(module, exports) { +var load = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = { "version": "1.2.47" }; diff --git a/node/bundler/tests/pass/issue-1225/esm/output/entry.js b/node/bundler/tests/pass/issue-1225/esm/output/entry.js index a50252786c1..c3d2df7b4b0 100644 --- a/node/bundler/tests/pass/issue-1225/esm/output/entry.js +++ b/node/bundler/tests/pass/issue-1225/esm/output/entry.js @@ -11,7 +11,7 @@ function __spack_require__(mod) { cache = module.exports; return cache; } -var load = __spack_require__.bind(void 0, function(module, exports) { +var load = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = { "version": "1.2.47" }; diff --git a/node/bundler/tests/pass/issue-1328/case1/output/entry.js b/node/bundler/tests/pass/issue-1328/case1/output/entry.js index 1affd041579..4aab86a78b6 100644 --- a/node/bundler/tests/pass/issue-1328/case1/output/entry.js +++ b/node/bundler/tests/pass/issue-1328/case1/output/entry.js @@ -40,7 +40,7 @@ function _asyncToGenerator(fn) { }); }; } -var load = __spack_require__.bind(void 0, function(module, exports) { +var load = __swcpack_require__.bind(void 0, function(module, exports) { /** * Copyright (c) 2014-present, Facebook, Inc. * diff --git a/node/bundler/tests/pass/issue-2124/named-export/output/entry.js b/node/bundler/tests/pass/issue-2124/named-export/output/entry.js index 25e843883d8..44ae3887090 100644 --- a/node/bundler/tests/pass/issue-2124/named-export/output/entry.js +++ b/node/bundler/tests/pass/issue-2124/named-export/output/entry.js @@ -11,7 +11,7 @@ function __spack_require__(mod) { cache = module.exports; return cache; } -var load = __spack_require__.bind(void 0, function(module, exports) { +var load = __swcpack_require__.bind(void 0, function(module, exports) { // This is a minimal reproduction from lodash@4.17.21 function lodash(value) { console.log('lodash'); diff --git a/node/bundler/tests/pass/node-modules/library/simple/output/entry.js b/node/bundler/tests/pass/node-modules/library/simple/output/entry.js index fa31058f271..c79a420dd13 100644 --- a/node/bundler/tests/pass/node-modules/library/simple/output/entry.js +++ b/node/bundler/tests/pass/node-modules/library/simple/output/entry.js @@ -11,7 +11,7 @@ function __spack_require__(mod) { cache = module.exports; return cache; } -var load = __spack_require__.bind(void 0, function(module, exports) { +var load = __swcpack_require__.bind(void 0, function(module, exports) { /*! * node-progress * Copyright(c) 2011 TJ Holowaychuk @@ -189,7 +189,7 @@ var load = __spack_require__.bind(void 0, function(module, exports) { } else this.stream.write('\n'); }; }); -var load1 = __spack_require__.bind(void 0, function(module, exports) { +var load1 = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = load(); }); var { default: progress } = load1(); diff --git a/node/bundler/tests/pass/resolve-name-fix/output/entry.js b/node/bundler/tests/pass/resolve-name-fix/output/entry.js index 6a78a861167..3e59b055d24 100644 --- a/node/bundler/tests/pass/resolve-name-fix/output/entry.js +++ b/node/bundler/tests/pass/resolve-name-fix/output/entry.js @@ -11,19 +11,19 @@ function __spack_require__(mod) { cache = module.exports; return cache; } -var load = __spack_require__.bind(void 0, function(module, exports) { +var load = __swcpack_require__.bind(void 0, function(module, exports) { // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 var global = module.exports = typeof window != 'undefined' && window.Math == Math ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')(); if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef }); -var load1 = __spack_require__.bind(void 0, function(module, exports) { +var load1 = __swcpack_require__.bind(void 0, function(module, exports) { var hasOwnProperty = { }.hasOwnProperty; module.exports = function(it, key) { return hasOwnProperty.call(it, key); }; }); -var load2 = __spack_require__.bind(void 0, function(module, exports) { +var load2 = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = function(exec) { try { return !!exec(); @@ -32,7 +32,7 @@ var load2 = __spack_require__.bind(void 0, function(module, exports) { } }; }); -var load4 = __spack_require__.bind(void 0, function(module, exports) { +var load4 = __swcpack_require__.bind(void 0, function(module, exports) { // Thank's IE8 for his funny defineProperty module.exports = !load2()(function() { return Object.defineProperty({ @@ -43,25 +43,25 @@ var load4 = __spack_require__.bind(void 0, function(module, exports) { }).a != 7; }); }); -var load5 = __spack_require__.bind(void 0, function(module, exports) { +var load5 = __swcpack_require__.bind(void 0, function(module, exports) { var core = module.exports = { version: '2.6.12' }; if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef }); -var load6 = __spack_require__.bind(void 0, function(module, exports) { +var load6 = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = function(it) { return typeof it === 'object' ? it !== null : typeof it === 'function'; }; }); -var load8 = __spack_require__.bind(void 0, function(module, exports) { +var load8 = __swcpack_require__.bind(void 0, function(module, exports) { var isObject = load6(); module.exports = function(it) { if (!isObject(it)) throw TypeError(it + ' is not an object!'); return it; }; }); -var load16 = __spack_require__.bind(void 0, function(module, exports) { +var load16 = __swcpack_require__.bind(void 0, function(module, exports) { var isObject = load6(); var document = load().document; // typeof document.createElement is 'object' in old IE @@ -71,7 +71,7 @@ var load16 = __spack_require__.bind(void 0, function(module, exports) { }; }; }); -var load19 = __spack_require__.bind(void 0, function(module, exports) { +var load19 = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = !load4() && !load2()(function() { return Object.defineProperty(load16()('div'), 'a', { get: function() { @@ -80,7 +80,7 @@ var load19 = __spack_require__.bind(void 0, function(module, exports) { }).a != 7; }); }); -var load21 = __spack_require__.bind(void 0, function(module, exports) { +var load21 = __swcpack_require__.bind(void 0, function(module, exports) { // 7.1.1 ToPrimitive(input [, PreferredType]) var isObject = load6(); // instead of the ES6 spec version, we didn't implement @@toPrimitive case @@ -94,7 +94,7 @@ var load21 = __spack_require__.bind(void 0, function(module, exports) { throw TypeError("Can't convert object to primitive value"); }; }); -var load26 = __spack_require__.bind(void 0, function(module, exports) { +var load26 = __swcpack_require__.bind(void 0, function(module, exports) { var anObject = load8(); var IE8_DOM_DEFINE = load19(); var toPrimitive = load21(); @@ -112,7 +112,7 @@ var load26 = __spack_require__.bind(void 0, function(module, exports) { return O; }; }); -var load27 = __spack_require__.bind(void 0, function(module, exports) { +var load27 = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = function(bitmap, value) { return { enumerable: !(bitmap & 1), @@ -122,7 +122,7 @@ var load27 = __spack_require__.bind(void 0, function(module, exports) { }; }; }); -var load31 = __spack_require__.bind(void 0, function(module, exports) { +var load31 = __swcpack_require__.bind(void 0, function(module, exports) { var dP = load26(); var createDesc = load27(); module.exports = load4() ? function(object, key, value) { @@ -132,17 +132,17 @@ var load31 = __spack_require__.bind(void 0, function(module, exports) { return object; }; }); -var load32 = __spack_require__.bind(void 0, function(module, exports) { +var load32 = __swcpack_require__.bind(void 0, function(module, exports) { var id = 0; var px = Math.random(); module.exports = function(key) { return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); }; }); -var load33 = __spack_require__.bind(void 0, function(module, exports) { +var load33 = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = false; }); -var load50 = __spack_require__.bind(void 0, function(module, exports) { +var load50 = __swcpack_require__.bind(void 0, function(module, exports) { var core = load5(); var global = load(); var SHARED = '__core-js_shared__'; @@ -157,10 +157,10 @@ var load50 = __spack_require__.bind(void 0, function(module, exports) { copyright: '© 2020 Denis Pushkarev (zloirock.ru)' }); }); -var load52 = __spack_require__.bind(void 0, function(module, exports) { +var load52 = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = load50()('native-function-to-string', Function.toString); }); -var load58 = __spack_require__.bind(void 0, function(module, exports) { +var load58 = __swcpack_require__.bind(void 0, function(module, exports) { var global = load(); var hide = load31(); var has = load1(); @@ -187,13 +187,13 @@ var load58 = __spack_require__.bind(void 0, function(module, exports) { return typeof this == 'function' && this[SRC] || $toString.call(this); }); }); -var load59 = __spack_require__.bind(void 0, function(module, exports) { +var load59 = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = function(it) { if (typeof it != 'function') throw TypeError(it + ' is not a function!'); return it; }; }); -var load61 = __spack_require__.bind(void 0, function(module, exports) { +var load61 = __swcpack_require__.bind(void 0, function(module, exports) { // optional / simple context binding var aFunction = load59(); module.exports = function(fn, that, length) { @@ -218,7 +218,7 @@ var load61 = __spack_require__.bind(void 0, function(module, exports) { }; }; }); -var load66 = __spack_require__.bind(void 0, function(module, exports) { +var load66 = __swcpack_require__.bind(void 0, function(module, exports) { var global = load(); var core = load5(); var hide = load31(); @@ -266,7 +266,7 @@ var load66 = __spack_require__.bind(void 0, function(module, exports) { $export.R = 128; // real proto method for `library` module.exports = $export; }); -var load72 = __spack_require__.bind(void 0, function(module, exports) { +var load72 = __swcpack_require__.bind(void 0, function(module, exports) { var META = load32()('meta'); var isObject = load6(); var has = load1(); @@ -327,7 +327,7 @@ var load72 = __spack_require__.bind(void 0, function(module, exports) { onFreeze: onFreeze }; }); -var load96 = __spack_require__.bind(void 0, function(module, exports) { +var load96 = __swcpack_require__.bind(void 0, function(module, exports) { var store = load50()('wks'); var uid = load32(); var Symbol = load().Symbol; @@ -337,7 +337,7 @@ var load96 = __spack_require__.bind(void 0, function(module, exports) { }; $exports.store = store; }); -var load100 = __spack_require__.bind(void 0, function(module, exports) { +var load100 = __swcpack_require__.bind(void 0, function(module, exports) { var def = load26().f; var has = load1(); var TAG = load96()('toStringTag'); @@ -348,10 +348,10 @@ var load100 = __spack_require__.bind(void 0, function(module, exports) { }); }; }); -var load102 = __spack_require__.bind(void 0, function(module, exports) { +var load102 = __swcpack_require__.bind(void 0, function(module, exports) { exports.f = load96(); }); -var load107 = __spack_require__.bind(void 0, function(module, exports) { +var load107 = __swcpack_require__.bind(void 0, function(module, exports) { var global = load(); var core = load5(); var LIBRARY = load33(); @@ -366,14 +366,14 @@ var load107 = __spack_require__.bind(void 0, function(module, exports) { }); }; }); -var load108 = __spack_require__.bind(void 0, function(module, exports) { +var load108 = __swcpack_require__.bind(void 0, function(module, exports) { var toString = { }.toString; module.exports = function(it) { return toString.call(it).slice(8, -1); }; }); -var load110 = __spack_require__.bind(void 0, function(module, exports) { +var load110 = __swcpack_require__.bind(void 0, function(module, exports) { // fallback for non-array-like ES3 and non-enumerable old V8 strings var cof = load108(); // eslint-disable-next-line no-prototype-builtins @@ -381,14 +381,14 @@ var load110 = __spack_require__.bind(void 0, function(module, exports) { return cof(it) == 'String' ? it.split('') : Object(it); }; }); -var load111 = __spack_require__.bind(void 0, function(module, exports) { +var load111 = __swcpack_require__.bind(void 0, function(module, exports) { // 7.2.1 RequireObjectCoercible(argument) module.exports = function(it) { if (it == undefined) throw TypeError("Can't call method on " + it); return it; }; }); -var load114 = __spack_require__.bind(void 0, function(module, exports) { +var load114 = __swcpack_require__.bind(void 0, function(module, exports) { // to indexed object, toObject with fallback for non-array-like ES3 strings var IObject = load110(); var defined = load111(); @@ -396,7 +396,7 @@ var load114 = __spack_require__.bind(void 0, function(module, exports) { return IObject(defined(it)); }; }); -var load115 = __spack_require__.bind(void 0, function(module, exports) { +var load115 = __swcpack_require__.bind(void 0, function(module, exports) { // 7.1.4 ToInteger var ceil = Math.ceil; var floor = Math.floor; @@ -404,7 +404,7 @@ var load115 = __spack_require__.bind(void 0, function(module, exports) { return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); }; }); -var load117 = __spack_require__.bind(void 0, function(module, exports) { +var load117 = __swcpack_require__.bind(void 0, function(module, exports) { // 7.1.15 ToLength var toInteger = load115(); var min = Math.min; @@ -412,7 +412,7 @@ var load117 = __spack_require__.bind(void 0, function(module, exports) { return it > 0 ? min(toInteger(it), 9007199254740991) : 0; // pow(2, 53) - 1 == 9007199254740991 }; }); -var load119 = __spack_require__.bind(void 0, function(module, exports) { +var load119 = __swcpack_require__.bind(void 0, function(module, exports) { var toInteger = load115(); var max = Math.max; var min = Math.min; @@ -421,7 +421,7 @@ var load119 = __spack_require__.bind(void 0, function(module, exports) { return index < 0 ? max(index + length, 0) : min(index, length); }; }); -var load123 = __spack_require__.bind(void 0, function(module, exports) { +var load123 = __swcpack_require__.bind(void 0, function(module, exports) { // false -> Array#indexOf // true -> Array#includes var toIObject = load114(); @@ -448,14 +448,14 @@ var load123 = __spack_require__.bind(void 0, function(module, exports) { }; }; }); -var load126 = __spack_require__.bind(void 0, function(module, exports) { +var load126 = __swcpack_require__.bind(void 0, function(module, exports) { var shared = load50()('keys'); var uid = load32(); module.exports = function(key) { return shared[key] || (shared[key] = uid(key)); }; }); -var load131 = __spack_require__.bind(void 0, function(module, exports) { +var load131 = __swcpack_require__.bind(void 0, function(module, exports) { var has = load1(); var toIObject = load114(); var arrayIndexOf = load123()(false); @@ -471,11 +471,11 @@ var load131 = __spack_require__.bind(void 0, function(module, exports) { return result; }; }); -var load132 = __spack_require__.bind(void 0, function(module, exports) { +var load132 = __swcpack_require__.bind(void 0, function(module, exports) { // IE 8- don't enum bug keys module.exports = 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'.split(','); }); -var load135 = __spack_require__.bind(void 0, function(module, exports) { +var load135 = __swcpack_require__.bind(void 0, function(module, exports) { // 19.1.2.14 / 15.2.3.14 Object.keys(O) var $keys = load131(); var enumBugKeys = load132(); @@ -483,14 +483,14 @@ var load135 = __spack_require__.bind(void 0, function(module, exports) { return $keys(O, enumBugKeys); }; }); -var load136 = __spack_require__.bind(void 0, function(module, exports) { +var load136 = __swcpack_require__.bind(void 0, function(module, exports) { exports.f = Object.getOwnPropertySymbols; }); -var load137 = __spack_require__.bind(void 0, function(module, exports) { +var load137 = __swcpack_require__.bind(void 0, function(module, exports) { exports.f = ({ }).propertyIsEnumerable; }); -var load141 = __spack_require__.bind(void 0, function(module, exports) { +var load141 = __swcpack_require__.bind(void 0, function(module, exports) { // all enumerable object keys, includes symbols var getKeys = load135(); var gOPS = load136(); @@ -508,21 +508,21 @@ var load141 = __spack_require__.bind(void 0, function(module, exports) { return result; }; }); -var load143 = __spack_require__.bind(void 0, function(module, exports) { +var load143 = __swcpack_require__.bind(void 0, function(module, exports) { // 7.2.2 IsArray(argument) var cof = load108(); module.exports = Array.isArray || function isArray(arg) { return cof(arg) == 'Array'; }; }); -var load145 = __spack_require__.bind(void 0, function(module, exports) { +var load145 = __swcpack_require__.bind(void 0, function(module, exports) { // 7.1.13 ToObject(argument) var defined = load111(); module.exports = function(it) { return Object(defined(it)); }; }); -var load150 = __spack_require__.bind(void 0, function(module, exports) { +var load150 = __swcpack_require__.bind(void 0, function(module, exports) { var dP = load26(); var anObject = load8(); var getKeys = load135(); @@ -536,11 +536,11 @@ var load150 = __spack_require__.bind(void 0, function(module, exports) { return O; }; }); -var load151 = __spack_require__.bind(void 0, function(module, exports) { +var load151 = __swcpack_require__.bind(void 0, function(module, exports) { var document = load().document; module.exports = document && document.documentElement; }); -var load156 = __spack_require__.bind(void 0, function(module, exports) { +var load156 = __swcpack_require__.bind(void 0, function(module, exports) { // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) var anObject = load8(); var dPs = load150(); @@ -582,7 +582,7 @@ var load156 = __spack_require__.bind(void 0, function(module, exports) { return Properties === undefined ? result : dPs(result, Properties); }; }); -var load159 = __spack_require__.bind(void 0, function(module, exports) { +var load159 = __swcpack_require__.bind(void 0, function(module, exports) { // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) var $keys = load131(); var hiddenKeys = load132().concat('length', 'prototype'); @@ -590,7 +590,7 @@ var load159 = __spack_require__.bind(void 0, function(module, exports) { return $keys(O, hiddenKeys); }; }); -var load162 = __spack_require__.bind(void 0, function(module, exports) { +var load162 = __swcpack_require__.bind(void 0, function(module, exports) { // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window var toIObject = load114(); var gOPN = load159().f; @@ -608,7 +608,7 @@ var load162 = __spack_require__.bind(void 0, function(module, exports) { return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); }; }); -var load170 = __spack_require__.bind(void 0, function(module, exports) { +var load170 = __swcpack_require__.bind(void 0, function(module, exports) { var pIE = load137(); var createDesc = load27(); var toIObject = load114(); @@ -626,7 +626,7 @@ var load170 = __spack_require__.bind(void 0, function(module, exports) { if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); }; }); -var load201 = __spack_require__.bind(void 0, function(module, exports) { +var load201 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // ECMAScript 6 symbols shim var global = load(); @@ -877,28 +877,28 @@ var load201 = __spack_require__.bind(void 0, function(module, exports) { // 24.3.3 JSON[@@toStringTag] setToStringTag(global.JSON, 'JSON', true); }); -var load204 = __spack_require__.bind(void 0, function(module, exports) { +var load204 = __swcpack_require__.bind(void 0, function(module, exports) { var $export = load66(); // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) $export($export.S, 'Object', { create: load156() }); }); -var load208 = __spack_require__.bind(void 0, function(module, exports) { +var load208 = __swcpack_require__.bind(void 0, function(module, exports) { var $export = load66(); // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) $export($export.S + $export.F * !load4(), 'Object', { defineProperty: load26().f }); }); -var load212 = __spack_require__.bind(void 0, function(module, exports) { +var load212 = __swcpack_require__.bind(void 0, function(module, exports) { var $export = load66(); // 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties) $export($export.S + $export.F * !load4(), 'Object', { defineProperties: load150() }); }); -var load216 = __spack_require__.bind(void 0, function(module, exports) { +var load216 = __swcpack_require__.bind(void 0, function(module, exports) { // most Object methods by ES6 should accept primitives var $export = load66(); var core = load5(); @@ -914,7 +914,7 @@ var load216 = __spack_require__.bind(void 0, function(module, exports) { }), 'Object', exp); }; }); -var load220 = __spack_require__.bind(void 0, function(module, exports) { +var load220 = __swcpack_require__.bind(void 0, function(module, exports) { // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) var toIObject = load114(); var $getOwnPropertyDescriptor = load170().f; @@ -924,7 +924,7 @@ var load220 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load224 = __spack_require__.bind(void 0, function(module, exports) { +var load224 = __swcpack_require__.bind(void 0, function(module, exports) { // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) var has = load1(); var toObject = load145(); @@ -937,7 +937,7 @@ var load224 = __spack_require__.bind(void 0, function(module, exports) { return O instanceof Object ? ObjectProto : null; }; }); -var load228 = __spack_require__.bind(void 0, function(module, exports) { +var load228 = __swcpack_require__.bind(void 0, function(module, exports) { // 19.1.2.9 Object.getPrototypeOf(O) var toObject = load145(); var $getPrototypeOf = load224(); @@ -947,7 +947,7 @@ var load228 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load232 = __spack_require__.bind(void 0, function(module, exports) { +var load232 = __swcpack_require__.bind(void 0, function(module, exports) { // 19.1.2.14 Object.keys(O) var toObject = load145(); var $keys = load135(); @@ -957,13 +957,13 @@ var load232 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load234 = __spack_require__.bind(void 0, function(module, exports) { +var load234 = __swcpack_require__.bind(void 0, function(module, exports) { // 19.1.2.7 Object.getOwnPropertyNames(O) load216()('getOwnPropertyNames', function() { return load162().f; }); }); -var load238 = __spack_require__.bind(void 0, function(module, exports) { +var load238 = __swcpack_require__.bind(void 0, function(module, exports) { // 19.1.2.5 Object.freeze(O) var isObject = load6(); var meta = load72().onFreeze; @@ -973,7 +973,7 @@ var load238 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load242 = __spack_require__.bind(void 0, function(module, exports) { +var load242 = __swcpack_require__.bind(void 0, function(module, exports) { // 19.1.2.17 Object.seal(O) var isObject = load6(); var meta = load72().onFreeze; @@ -983,7 +983,7 @@ var load242 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load246 = __spack_require__.bind(void 0, function(module, exports) { +var load246 = __swcpack_require__.bind(void 0, function(module, exports) { // 19.1.2.15 Object.preventExtensions(O) var isObject = load6(); var meta = load72().onFreeze; @@ -993,7 +993,7 @@ var load246 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load249 = __spack_require__.bind(void 0, function(module, exports) { +var load249 = __swcpack_require__.bind(void 0, function(module, exports) { // 19.1.2.12 Object.isFrozen(O) var isObject = load6(); load216()('isFrozen', function($isFrozen) { @@ -1002,7 +1002,7 @@ var load249 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load252 = __spack_require__.bind(void 0, function(module, exports) { +var load252 = __swcpack_require__.bind(void 0, function(module, exports) { // 19.1.2.13 Object.isSealed(O) var isObject = load6(); load216()('isSealed', function($isSealed) { @@ -1011,7 +1011,7 @@ var load252 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load255 = __spack_require__.bind(void 0, function(module, exports) { +var load255 = __swcpack_require__.bind(void 0, function(module, exports) { // 19.1.2.11 Object.isExtensible(O) var isObject = load6(); load216()('isExtensible', function($isExtensible) { @@ -1020,7 +1020,7 @@ var load255 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load263 = __spack_require__.bind(void 0, function(module, exports) { +var load263 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // 19.1.2.1 Object.assign(target, source, ...) var DESCRIPTORS = load4(); @@ -1066,28 +1066,28 @@ var load263 = __spack_require__.bind(void 0, function(module, exports) { return T; } : $assign; }); -var load266 = __spack_require__.bind(void 0, function(module, exports) { +var load266 = __swcpack_require__.bind(void 0, function(module, exports) { // 19.1.3.1 Object.assign(target, source) var $export = load66(); $export($export.S + $export.F, 'Object', { assign: load263() }); }); -var load267 = __spack_require__.bind(void 0, function(module, exports) { +var load267 = __swcpack_require__.bind(void 0, function(module, exports) { // 7.2.9 SameValue(x, y) module.exports = Object.is || function is(x, y) { // eslint-disable-next-line no-self-compare return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; }; }); -var load270 = __spack_require__.bind(void 0, function(module, exports) { +var load270 = __swcpack_require__.bind(void 0, function(module, exports) { // 19.1.3.10 Object.is(value1, value2) var $export = load66(); $export($export.S, 'Object', { is: load267() }); }); -var load273 = __spack_require__.bind(void 0, function(module, exports) { +var load273 = __swcpack_require__.bind(void 0, function(module, exports) { // Works with __proto__ only. Old v8 can't work with null proto objects. /* eslint-disable no-proto */ var isObject = load6(); var anObject = load8(); @@ -1116,14 +1116,14 @@ var load273 = __spack_require__.bind(void 0, function(module, exports) { check: check }; }); -var load276 = __spack_require__.bind(void 0, function(module, exports) { +var load276 = __swcpack_require__.bind(void 0, function(module, exports) { // 19.1.3.19 Object.setPrototypeOf(O, proto) var $export = load66(); $export($export.S, 'Object', { setPrototypeOf: load273().set }); }); -var load279 = __spack_require__.bind(void 0, function(module, exports) { +var load279 = __swcpack_require__.bind(void 0, function(module, exports) { // getting tag from 19.1.3.6 Object.prototype.toString() var cof = load108(); var TAG = load96()('toStringTag'); @@ -1143,7 +1143,7 @@ var load279 = __spack_require__.bind(void 0, function(module, exports) { return it === undefined ? 'Undefined' : it === null ? 'Null' : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T : ARG ? cof(O) : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; }; }); -var load283 = __spack_require__.bind(void 0, function(module, exports) { +var load283 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // 19.1.3.6 Object.prototype.toString() var classof = load279(); @@ -1154,7 +1154,7 @@ var load283 = __spack_require__.bind(void 0, function(module, exports) { return '[object ' + classof(this) + ']'; }, true); }); -var load284 = __spack_require__.bind(void 0, function(module, exports) { +var load284 = __swcpack_require__.bind(void 0, function(module, exports) { // fast apply, http://jsperf.lnkit.com/fast-apply/5 module.exports = function(fn, args, that) { var un = that === undefined; @@ -1173,7 +1173,7 @@ var load284 = __spack_require__.bind(void 0, function(module, exports) { return fn.apply(that, args); }; }); -var load288 = __spack_require__.bind(void 0, function(module, exports) { +var load288 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var aFunction = load59(); var isObject = load6(); @@ -1200,14 +1200,14 @@ var load288 = __spack_require__.bind(void 0, function(module, exports) { return bound; }; }); -var load291 = __spack_require__.bind(void 0, function(module, exports) { +var load291 = __swcpack_require__.bind(void 0, function(module, exports) { // 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...) var $export = load66(); $export($export.P, 'Function', { bind: load288() }); }); -var load294 = __spack_require__.bind(void 0, function(module, exports) { +var load294 = __swcpack_require__.bind(void 0, function(module, exports) { var dP = load26().f; var FProto = Function.prototype; var nameRE = /^\s*function ([^ (]*)/; @@ -1224,7 +1224,7 @@ var load294 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load299 = __spack_require__.bind(void 0, function(module, exports) { +var load299 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var isObject = load6(); var getPrototypeOf = load224(); @@ -1241,10 +1241,10 @@ var load299 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load300 = __spack_require__.bind(void 0, function(module, exports) { +var load300 = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = "\t\n\v\f\r \xa0 ᠎              \u2028\u2029"; }); -var load305 = __spack_require__.bind(void 0, function(module, exports) { +var load305 = __swcpack_require__.bind(void 0, function(module, exports) { var $export = load66(); var defined = load111(); var fails = load2(); @@ -1274,7 +1274,7 @@ var load305 = __spack_require__.bind(void 0, function(module, exports) { }; module.exports = exporter; }); -var load308 = __spack_require__.bind(void 0, function(module, exports) { +var load308 = __swcpack_require__.bind(void 0, function(module, exports) { var $parseInt = load().parseInt; var $trim = load305().trim; var ws = load300(); @@ -1284,7 +1284,7 @@ var load308 = __spack_require__.bind(void 0, function(module, exports) { return $parseInt(string, radix >>> 0 || (hex.test(string) ? 16 : 10)); } : $parseInt; }); -var load311 = __spack_require__.bind(void 0, function(module, exports) { +var load311 = __swcpack_require__.bind(void 0, function(module, exports) { var $export = load66(); var $parseInt = load308(); // 18.2.5 parseInt(string, radix) @@ -1292,7 +1292,7 @@ var load311 = __spack_require__.bind(void 0, function(module, exports) { parseInt: $parseInt }); }); -var load314 = __spack_require__.bind(void 0, function(module, exports) { +var load314 = __swcpack_require__.bind(void 0, function(module, exports) { var $parseFloat = load().parseFloat; var $trim = load305().trim; module.exports = 1 / $parseFloat(load300() + '-0') !== -Infinity ? function parseFloat(str) { @@ -1301,7 +1301,7 @@ var load314 = __spack_require__.bind(void 0, function(module, exports) { return result === 0 && string.charAt(0) == '-' ? -0 : result; } : $parseFloat; }); -var load317 = __spack_require__.bind(void 0, function(module, exports) { +var load317 = __swcpack_require__.bind(void 0, function(module, exports) { var $export = load66(); var $parseFloat = load314(); // 18.2.4 parseFloat(string) @@ -1309,7 +1309,7 @@ var load317 = __spack_require__.bind(void 0, function(module, exports) { parseFloat: $parseFloat }); }); -var load320 = __spack_require__.bind(void 0, function(module, exports) { +var load320 = __swcpack_require__.bind(void 0, function(module, exports) { var isObject = load6(); var setPrototypeOf = load273().set; module.exports = function(that, target, C) { @@ -1319,7 +1319,7 @@ var load320 = __spack_require__.bind(void 0, function(module, exports) { return that; }; }); -var load333 = __spack_require__.bind(void 0, function(module, exports) { +var load333 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var global = load(); var has = load1(); @@ -1389,14 +1389,14 @@ var load333 = __spack_require__.bind(void 0, function(module, exports) { load58()(global, NUMBER, $Number); } }); -var load335 = __spack_require__.bind(void 0, function(module, exports) { +var load335 = __swcpack_require__.bind(void 0, function(module, exports) { var cof = load108(); module.exports = function(it, msg) { if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg); return +it; }; }); -var load338 = __spack_require__.bind(void 0, function(module, exports) { +var load338 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var toInteger = load115(); var defined = load111(); @@ -1409,7 +1409,7 @@ var load338 = __spack_require__.bind(void 0, function(module, exports) { return res; }; }); -var load344 = __spack_require__.bind(void 0, function(module, exports) { +var load344 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var toInteger = load115(); @@ -1525,7 +1525,7 @@ var load344 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load348 = __spack_require__.bind(void 0, function(module, exports) { +var load348 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var $fails = load2(); @@ -1545,14 +1545,14 @@ var load348 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load350 = __spack_require__.bind(void 0, function(module, exports) { +var load350 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.1.2.1 Number.EPSILON var $export = load66(); $export($export.S, 'Number', { EPSILON: Math.pow(2, -52) }); }); -var load442 = __spack_require__.bind(void 0, function(module, exports) { +var load442 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.1.2.2 Number.isFinite(number) var $export = load66(); var _isFinite = load().isFinite; @@ -1562,7 +1562,7 @@ var load442 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load444 = __spack_require__.bind(void 0, function(module, exports) { +var load444 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.1.2.3 Number.isInteger(number) var isObject = load6(); var floor = Math.floor; @@ -1570,14 +1570,14 @@ var load444 = __spack_require__.bind(void 0, function(module, exports) { return !isObject(it) && isFinite(it) && floor(it) === it; }; }); -var load447 = __spack_require__.bind(void 0, function(module, exports) { +var load447 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.1.2.3 Number.isInteger(number) var $export = load66(); $export($export.S, 'Number', { isInteger: load444() }); }); -var load449 = __spack_require__.bind(void 0, function(module, exports) { +var load449 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.1.2.4 Number.isNaN(number) var $export = load66(); $export($export.S, 'Number', { @@ -1587,7 +1587,7 @@ var load449 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load452 = __spack_require__.bind(void 0, function(module, exports) { +var load452 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.1.2.5 Number.isSafeInteger(number) var $export = load66(); var isInteger = load444(); @@ -1598,21 +1598,21 @@ var load452 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load454 = __spack_require__.bind(void 0, function(module, exports) { +var load454 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.1.2.6 Number.MAX_SAFE_INTEGER var $export = load66(); $export($export.S, 'Number', { MAX_SAFE_INTEGER: 9007199254740991 }); }); -var load456 = __spack_require__.bind(void 0, function(module, exports) { +var load456 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.1.2.10 Number.MIN_SAFE_INTEGER var $export = load66(); $export($export.S, 'Number', { MIN_SAFE_INTEGER: -9007199254740991 }); }); -var load459 = __spack_require__.bind(void 0, function(module, exports) { +var load459 = __swcpack_require__.bind(void 0, function(module, exports) { var $export = load66(); var $parseFloat = load314(); // 20.1.2.12 Number.parseFloat(string) @@ -1620,7 +1620,7 @@ var load459 = __spack_require__.bind(void 0, function(module, exports) { parseFloat: $parseFloat }); }); -var load462 = __spack_require__.bind(void 0, function(module, exports) { +var load462 = __swcpack_require__.bind(void 0, function(module, exports) { var $export = load66(); var $parseInt = load308(); // 20.1.2.13 Number.parseInt(string, radix) @@ -1628,13 +1628,13 @@ var load462 = __spack_require__.bind(void 0, function(module, exports) { parseInt: $parseInt }); }); -var load463 = __spack_require__.bind(void 0, function(module, exports) { +var load463 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.2.2.20 Math.log1p(x) module.exports = Math.log1p || function log1p(x) { return (x = +x) > -0.00000001 && x < 0.00000001 ? x - x * x / 2 : Math.log(1 + x); }; }); -var load466 = __spack_require__.bind(void 0, function(module, exports) { +var load466 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.2.2.3 Math.acosh(x) var $export = load66(); var log1p = load463(); @@ -1646,7 +1646,7 @@ var load466 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load468 = __spack_require__.bind(void 0, function(module, exports) { +var load468 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.2.2.5 Math.asinh(x) var $export = load66(); var $asinh = Math.asinh; @@ -1658,7 +1658,7 @@ var load468 = __spack_require__.bind(void 0, function(module, exports) { asinh: asinh }); }); -var load470 = __spack_require__.bind(void 0, function(module, exports) { +var load470 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.2.2.7 Math.atanh(x) var $export = load66(); var $atanh = Math.atanh; @@ -1669,14 +1669,14 @@ var load470 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load471 = __spack_require__.bind(void 0, function(module, exports) { +var load471 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.2.2.28 Math.sign(x) module.exports = Math.sign || function sign(x) { // eslint-disable-next-line no-self-compare return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1; }; }); -var load474 = __spack_require__.bind(void 0, function(module, exports) { +var load474 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.2.2.9 Math.cbrt(x) var $export = load66(); var sign = load471(); @@ -1686,7 +1686,7 @@ var load474 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load476 = __spack_require__.bind(void 0, function(module, exports) { +var load476 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.2.2.11 Math.clz32(x) var $export = load66(); $export($export.S, 'Math', { @@ -1695,7 +1695,7 @@ var load476 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load478 = __spack_require__.bind(void 0, function(module, exports) { +var load478 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.2.2.12 Math.cosh(x) var $export = load66(); var exp = Math.exp; @@ -1705,14 +1705,14 @@ var load478 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load479 = __spack_require__.bind(void 0, function(module, exports) { +var load479 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.2.2.14 Math.expm1(x) var $expm1 = Math.expm1; module.exports = !$expm1 || $expm1(10) > 22025.465794806718 || $expm1(10) < 22025.465794806718 || $expm1(-0.00000000000000002) != -0.00000000000000002 ? function expm1(x) { return (x = +x) == 0 ? x : x > -0.000001 && x < 0.000001 ? x + x * x / 2 : Math.exp(x) - 1; } : $expm1; }); -var load482 = __spack_require__.bind(void 0, function(module, exports) { +var load482 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.2.2.14 Math.expm1(x) var $export = load66(); var $expm1 = load479(); @@ -1720,7 +1720,7 @@ var load482 = __spack_require__.bind(void 0, function(module, exports) { expm1: $expm1 }); }); -var load484 = __spack_require__.bind(void 0, function(module, exports) { +var load484 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.2.2.16 Math.fround(x) var sign = load471(); var pow = Math.pow; @@ -1743,14 +1743,14 @@ var load484 = __spack_require__.bind(void 0, function(module, exports) { return $sign * result; }; }); -var load487 = __spack_require__.bind(void 0, function(module, exports) { +var load487 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.2.2.16 Math.fround(x) var $export = load66(); $export($export.S, 'Math', { fround: load484() }); }); -var load489 = __spack_require__.bind(void 0, function(module, exports) { +var load489 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.2.2.17 Math.hypot([value1[, value2[, … ]]]) var $export = load66(); var abs = Math.abs; @@ -1776,7 +1776,7 @@ var load489 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load492 = __spack_require__.bind(void 0, function(module, exports) { +var load492 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.2.2.18 Math.imul(x, y) var $export = load66(); var $imul = Math.imul; @@ -1794,7 +1794,7 @@ var load492 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load494 = __spack_require__.bind(void 0, function(module, exports) { +var load494 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.2.2.21 Math.log10(x) var $export = load66(); $export($export.S, 'Math', { @@ -1803,14 +1803,14 @@ var load494 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load497 = __spack_require__.bind(void 0, function(module, exports) { +var load497 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.2.2.20 Math.log1p(x) var $export = load66(); $export($export.S, 'Math', { log1p: load463() }); }); -var load499 = __spack_require__.bind(void 0, function(module, exports) { +var load499 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.2.2.22 Math.log2(x) var $export = load66(); $export($export.S, 'Math', { @@ -1819,14 +1819,14 @@ var load499 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load502 = __spack_require__.bind(void 0, function(module, exports) { +var load502 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.2.2.28 Math.sign(x) var $export = load66(); $export($export.S, 'Math', { sign: load471() }); }); -var load506 = __spack_require__.bind(void 0, function(module, exports) { +var load506 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.2.2.30 Math.sinh(x) var $export = load66(); var expm1 = load479(); @@ -1840,7 +1840,7 @@ var load506 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load509 = __spack_require__.bind(void 0, function(module, exports) { +var load509 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.2.2.33 Math.tanh(x) var $export = load66(); var expm1 = load479(); @@ -1853,7 +1853,7 @@ var load509 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load511 = __spack_require__.bind(void 0, function(module, exports) { +var load511 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.2.2.34 Math.trunc(x) var $export = load66(); $export($export.S, 'Math', { @@ -1862,7 +1862,7 @@ var load511 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load514 = __spack_require__.bind(void 0, function(module, exports) { +var load514 = __swcpack_require__.bind(void 0, function(module, exports) { var $export = load66(); var toAbsoluteIndex = load119(); var fromCharCode = String.fromCharCode; @@ -1884,7 +1884,7 @@ var load514 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load518 = __spack_require__.bind(void 0, function(module, exports) { +var load518 = __swcpack_require__.bind(void 0, function(module, exports) { var $export = load66(); var toIObject = load114(); var toLength = load117(); @@ -1904,7 +1904,7 @@ var load518 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load520 = __spack_require__.bind(void 0, function(module, exports) { +var load520 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // 21.1.3.25 String.prototype.trim() load305()('trim', function($trim) { @@ -1913,7 +1913,7 @@ var load520 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load523 = __spack_require__.bind(void 0, function(module, exports) { +var load523 = __swcpack_require__.bind(void 0, function(module, exports) { var toInteger = load115(); var defined = load111(); // true -> String#at @@ -1930,11 +1930,11 @@ var load523 = __spack_require__.bind(void 0, function(module, exports) { }; }; }); -var load524 = __spack_require__.bind(void 0, function(module, exports) { +var load524 = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = { }; }); -var load530 = __spack_require__.bind(void 0, function(module, exports) { +var load530 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var create = load156(); var descriptor = load27(); @@ -1952,7 +1952,7 @@ var load530 = __spack_require__.bind(void 0, function(module, exports) { setToStringTag(Constructor, NAME + ' Iterator'); }; }); -var load540 = __spack_require__.bind(void 0, function(module, exports) { +var load540 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var LIBRARY = load33(); var $export = load66(); @@ -2032,7 +2032,7 @@ var load540 = __spack_require__.bind(void 0, function(module, exports) { return methods; }; }); -var load543 = __spack_require__.bind(void 0, function(module, exports) { +var load543 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $at = load523()(true); // 21.1.3.27 String.prototype[@@iterator]() @@ -2056,7 +2056,7 @@ var load543 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load546 = __spack_require__.bind(void 0, function(module, exports) { +var load546 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var $at = load523()(false); @@ -2067,7 +2067,7 @@ var load546 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load550 = __spack_require__.bind(void 0, function(module, exports) { +var load550 = __swcpack_require__.bind(void 0, function(module, exports) { // 7.2.8 IsRegExp(argument) var isObject = load6(); var cof = load108(); @@ -2077,7 +2077,7 @@ var load550 = __spack_require__.bind(void 0, function(module, exports) { return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); }; }); -var load553 = __spack_require__.bind(void 0, function(module, exports) { +var load553 = __swcpack_require__.bind(void 0, function(module, exports) { // helper for String#{startsWith, endsWith, includes} var isRegExp = load550(); var defined = load111(); @@ -2086,7 +2086,7 @@ var load553 = __spack_require__.bind(void 0, function(module, exports) { return String(defined(that)); }; }); -var load555 = __spack_require__.bind(void 0, function(module, exports) { +var load555 = __swcpack_require__.bind(void 0, function(module, exports) { var MATCH = load96()('match'); module.exports = function(KEY) { var re = /./; @@ -2102,7 +2102,7 @@ var load555 = __spack_require__.bind(void 0, function(module, exports) { return true; }; }); -var load560 = __spack_require__.bind(void 0, function(module, exports) { +var load560 = __swcpack_require__.bind(void 0, function(module, exports) { // 21.1.3.6 String.prototype.endsWith(searchString [, endPosition]) 'use strict'; var $export = load66(); @@ -2121,7 +2121,7 @@ var load560 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load564 = __spack_require__.bind(void 0, function(module, exports) { +var load564 = __swcpack_require__.bind(void 0, function(module, exports) { // 21.1.3.7 String.prototype.includes(searchString, position = 0) 'use strict'; var $export = load66(); @@ -2133,14 +2133,14 @@ var load564 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load567 = __spack_require__.bind(void 0, function(module, exports) { +var load567 = __swcpack_require__.bind(void 0, function(module, exports) { var $export = load66(); $export($export.P, 'String', { // 21.1.3.13 String.prototype.repeat(count) repeat: load338() }); }); -var load572 = __spack_require__.bind(void 0, function(module, exports) { +var load572 = __swcpack_require__.bind(void 0, function(module, exports) { // 21.1.3.18 String.prototype.startsWith(searchString [, position ]) 'use strict'; var $export = load66(); @@ -2157,7 +2157,7 @@ var load572 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load576 = __spack_require__.bind(void 0, function(module, exports) { +var load576 = __swcpack_require__.bind(void 0, function(module, exports) { var $export = load66(); var fails = load2(); var defined = load111(); @@ -2179,7 +2179,7 @@ var load576 = __spack_require__.bind(void 0, function(module, exports) { }), 'String', O); }; }); -var load578 = __spack_require__.bind(void 0, function(module, exports) { +var load578 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // B.2.3.2 String.prototype.anchor(name) load576()('anchor', function(createHTML) { @@ -2188,7 +2188,7 @@ var load578 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load580 = __spack_require__.bind(void 0, function(module, exports) { +var load580 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // B.2.3.3 String.prototype.big() load576()('big', function(createHTML) { @@ -2197,7 +2197,7 @@ var load580 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load582 = __spack_require__.bind(void 0, function(module, exports) { +var load582 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // B.2.3.4 String.prototype.blink() load576()('blink', function(createHTML) { @@ -2206,7 +2206,7 @@ var load582 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load584 = __spack_require__.bind(void 0, function(module, exports) { +var load584 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // B.2.3.5 String.prototype.bold() load576()('bold', function(createHTML) { @@ -2215,7 +2215,7 @@ var load584 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load586 = __spack_require__.bind(void 0, function(module, exports) { +var load586 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // B.2.3.6 String.prototype.fixed() load576()('fixed', function(createHTML) { @@ -2224,7 +2224,7 @@ var load586 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load588 = __spack_require__.bind(void 0, function(module, exports) { +var load588 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // B.2.3.7 String.prototype.fontcolor(color) load576()('fontcolor', function(createHTML) { @@ -2233,7 +2233,7 @@ var load588 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load590 = __spack_require__.bind(void 0, function(module, exports) { +var load590 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // B.2.3.8 String.prototype.fontsize(size) load576()('fontsize', function(createHTML) { @@ -2242,7 +2242,7 @@ var load590 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load592 = __spack_require__.bind(void 0, function(module, exports) { +var load592 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // B.2.3.9 String.prototype.italics() load576()('italics', function(createHTML) { @@ -2251,7 +2251,7 @@ var load592 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load594 = __spack_require__.bind(void 0, function(module, exports) { +var load594 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // B.2.3.10 String.prototype.link(url) load576()('link', function(createHTML) { @@ -2260,7 +2260,7 @@ var load594 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load596 = __spack_require__.bind(void 0, function(module, exports) { +var load596 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // B.2.3.11 String.prototype.small() load576()('small', function(createHTML) { @@ -2269,7 +2269,7 @@ var load596 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load598 = __spack_require__.bind(void 0, function(module, exports) { +var load598 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // B.2.3.12 String.prototype.strike() load576()('strike', function(createHTML) { @@ -2278,7 +2278,7 @@ var load598 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load600 = __spack_require__.bind(void 0, function(module, exports) { +var load600 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // B.2.3.13 String.prototype.sub() load576()('sub', function(createHTML) { @@ -2287,7 +2287,7 @@ var load600 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load602 = __spack_require__.bind(void 0, function(module, exports) { +var load602 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // B.2.3.14 String.prototype.sup() load576()('sup', function(createHTML) { @@ -2296,7 +2296,7 @@ var load602 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load604 = __spack_require__.bind(void 0, function(module, exports) { +var load604 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.3.3.1 / 15.9.4.4 Date.now() var $export = load66(); $export($export.S, 'Date', { @@ -2305,7 +2305,7 @@ var load604 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load609 = __spack_require__.bind(void 0, function(module, exports) { +var load609 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var toObject = load145(); @@ -2325,7 +2325,7 @@ var load609 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load611 = __spack_require__.bind(void 0, function(module, exports) { +var load611 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() var fails = load2(); @@ -2348,7 +2348,7 @@ var load611 = __spack_require__.bind(void 0, function(module, exports) { return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) + '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) + 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) + ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z'; } : $toISOString; }); -var load614 = __spack_require__.bind(void 0, function(module, exports) { +var load614 = __swcpack_require__.bind(void 0, function(module, exports) { // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() var $export = load66(); var toISOString = load611(); @@ -2357,7 +2357,7 @@ var load614 = __spack_require__.bind(void 0, function(module, exports) { toISOString: toISOString }); }); -var load616 = __spack_require__.bind(void 0, function(module, exports) { +var load616 = __swcpack_require__.bind(void 0, function(module, exports) { var DateProto = Date.prototype; var INVALID_DATE = 'Invalid Date'; var TO_STRING = 'toString'; @@ -2369,7 +2369,7 @@ var load616 = __spack_require__.bind(void 0, function(module, exports) { return value === value ? $toString.call(this) : INVALID_DATE; }); }); -var load619 = __spack_require__.bind(void 0, function(module, exports) { +var load619 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var anObject = load8(); var toPrimitive = load21(); @@ -2379,19 +2379,19 @@ var load619 = __spack_require__.bind(void 0, function(module, exports) { return toPrimitive(anObject(this), hint != NUMBER); }; }); -var load623 = __spack_require__.bind(void 0, function(module, exports) { +var load623 = __swcpack_require__.bind(void 0, function(module, exports) { var TO_PRIMITIVE = load96()('toPrimitive'); var proto = Date.prototype; if (!(TO_PRIMITIVE in proto)) load31()(proto, TO_PRIMITIVE, load619()); }); -var load626 = __spack_require__.bind(void 0, function(module, exports) { +var load626 = __swcpack_require__.bind(void 0, function(module, exports) { // 22.1.2.2 / 15.4.3.2 Array.isArray(arg) var $export = load66(); $export($export.S, 'Array', { isArray: load143() }); }); -var load628 = __spack_require__.bind(void 0, function(module, exports) { +var load628 = __swcpack_require__.bind(void 0, function(module, exports) { // call something on iterator step with safe closing on error var anObject = load8(); module.exports = function(iterator, fn, value, entries) { @@ -2405,7 +2405,7 @@ var load628 = __spack_require__.bind(void 0, function(module, exports) { } }; }); -var load631 = __spack_require__.bind(void 0, function(module, exports) { +var load631 = __swcpack_require__.bind(void 0, function(module, exports) { // check on default Array iterator var Iterators = load524(); var ITERATOR = load96()('iterator'); @@ -2414,7 +2414,7 @@ var load631 = __spack_require__.bind(void 0, function(module, exports) { return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); }; }); -var load634 = __spack_require__.bind(void 0, function(module, exports) { +var load634 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $defineProperty = load26(); var createDesc = load27(); @@ -2423,7 +2423,7 @@ var load634 = __spack_require__.bind(void 0, function(module, exports) { else object[index] = value; }; }); -var load639 = __spack_require__.bind(void 0, function(module, exports) { +var load639 = __swcpack_require__.bind(void 0, function(module, exports) { var classof = load279(); var ITERATOR = load96()('iterator'); var Iterators = load524(); @@ -2431,7 +2431,7 @@ var load639 = __spack_require__.bind(void 0, function(module, exports) { if (it != undefined) return it[ITERATOR] || it['@@iterator'] || Iterators[classof(it)]; }; }); -var load641 = __spack_require__.bind(void 0, function(module, exports) { +var load641 = __swcpack_require__.bind(void 0, function(module, exports) { var ITERATOR = load96()('iterator'); var SAFE_CLOSING = false; try { @@ -2469,7 +2469,7 @@ var load641 = __spack_require__.bind(void 0, function(module, exports) { return safe; }; }); -var load651 = __spack_require__.bind(void 0, function(module, exports) { +var load651 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var ctx = load61(); var $export = load66(); @@ -2507,7 +2507,7 @@ var load651 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load655 = __spack_require__.bind(void 0, function(module, exports) { +var load655 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var createProperty = load634(); @@ -2528,7 +2528,7 @@ var load655 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load657 = __spack_require__.bind(void 0, function(module, exports) { +var load657 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var fails = load2(); module.exports = function(method, arg) { @@ -2539,7 +2539,7 @@ var load657 = __spack_require__.bind(void 0, function(module, exports) { }); }; }); -var load662 = __spack_require__.bind(void 0, function(module, exports) { +var load662 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // 22.1.3.13 Array.prototype.join(separator) var $export = load66(); @@ -2552,7 +2552,7 @@ var load662 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load669 = __spack_require__.bind(void 0, function(module, exports) { +var load669 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var html = load151(); @@ -2579,7 +2579,7 @@ var load669 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load675 = __spack_require__.bind(void 0, function(module, exports) { +var load675 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var aFunction = load59(); @@ -2605,7 +2605,7 @@ var load675 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load679 = __spack_require__.bind(void 0, function(module, exports) { +var load679 = __swcpack_require__.bind(void 0, function(module, exports) { var isObject = load6(); var isArray = load143(); var SPECIES = load96()('species'); @@ -2623,14 +2623,14 @@ var load679 = __spack_require__.bind(void 0, function(module, exports) { return C === undefined ? Array : C; }; }); -var load681 = __spack_require__.bind(void 0, function(module, exports) { +var load681 = __swcpack_require__.bind(void 0, function(module, exports) { // 9.4.2.3 ArraySpeciesCreate(originalArray, length) var speciesConstructor = load679(); module.exports = function(original, length) { return new (speciesConstructor(original))(length); }; }); -var load687 = __spack_require__.bind(void 0, function(module, exports) { +var load687 = __swcpack_require__.bind(void 0, function(module, exports) { // 0 -> Array#forEach // 1 -> Array#map // 2 -> Array#filter @@ -2681,7 +2681,7 @@ var load687 = __spack_require__.bind(void 0, function(module, exports) { }; }; }); -var load691 = __spack_require__.bind(void 0, function(module, exports) { +var load691 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var $forEach = load687()(0); @@ -2693,7 +2693,7 @@ var load691 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load695 = __spack_require__.bind(void 0, function(module, exports) { +var load695 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var $map = load687()(1); @@ -2704,7 +2704,7 @@ var load695 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load699 = __spack_require__.bind(void 0, function(module, exports) { +var load699 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var $filter = load687()(2); @@ -2715,7 +2715,7 @@ var load699 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load703 = __spack_require__.bind(void 0, function(module, exports) { +var load703 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var $some = load687()(3); @@ -2726,7 +2726,7 @@ var load703 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load707 = __spack_require__.bind(void 0, function(module, exports) { +var load707 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var $every = load687()(4); @@ -2737,7 +2737,7 @@ var load707 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load712 = __spack_require__.bind(void 0, function(module, exports) { +var load712 = __swcpack_require__.bind(void 0, function(module, exports) { var aFunction = load59(); var toObject = load145(); var IObject = load110(); @@ -2762,7 +2762,7 @@ var load712 = __spack_require__.bind(void 0, function(module, exports) { return memo; }; }); -var load716 = __spack_require__.bind(void 0, function(module, exports) { +var load716 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var $reduce = load712(); @@ -2773,7 +2773,7 @@ var load716 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load720 = __spack_require__.bind(void 0, function(module, exports) { +var load720 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var $reduce = load712(); @@ -2784,7 +2784,7 @@ var load720 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load724 = __spack_require__.bind(void 0, function(module, exports) { +var load724 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var $indexOf = load123()(false); @@ -2799,7 +2799,7 @@ var load724 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load730 = __spack_require__.bind(void 0, function(module, exports) { +var load730 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var toIObject = load114(); @@ -2826,7 +2826,7 @@ var load730 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load734 = __spack_require__.bind(void 0, function(module, exports) { +var load734 = __swcpack_require__.bind(void 0, function(module, exports) { // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) 'use strict'; var toObject = load145(); @@ -2854,7 +2854,7 @@ var load734 = __spack_require__.bind(void 0, function(module, exports) { return O; }; }); -var load737 = __spack_require__.bind(void 0, function(module, exports) { +var load737 = __swcpack_require__.bind(void 0, function(module, exports) { // 22.1.3.31 Array.prototype[@@unscopables] var UNSCOPABLES = load96()('unscopables'); var ArrayProto = Array.prototype; @@ -2864,7 +2864,7 @@ var load737 = __spack_require__.bind(void 0, function(module, exports) { ArrayProto[UNSCOPABLES][key] = true; }; }); -var load741 = __spack_require__.bind(void 0, function(module, exports) { +var load741 = __swcpack_require__.bind(void 0, function(module, exports) { // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) var $export = load66(); $export($export.P, 'Array', { @@ -2872,7 +2872,7 @@ var load741 = __spack_require__.bind(void 0, function(module, exports) { }); load737()('copyWithin'); }); -var load745 = __spack_require__.bind(void 0, function(module, exports) { +var load745 = __swcpack_require__.bind(void 0, function(module, exports) { // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) 'use strict'; var toObject = load145(); @@ -2889,7 +2889,7 @@ var load745 = __spack_require__.bind(void 0, function(module, exports) { return O; }; }); -var load749 = __spack_require__.bind(void 0, function(module, exports) { +var load749 = __swcpack_require__.bind(void 0, function(module, exports) { // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) var $export = load66(); $export($export.P, 'Array', { @@ -2897,7 +2897,7 @@ var load749 = __spack_require__.bind(void 0, function(module, exports) { }); load737()('fill'); }); -var load753 = __spack_require__.bind(void 0, function(module, exports) { +var load753 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) var $export = load66(); @@ -2915,7 +2915,7 @@ var load753 = __spack_require__.bind(void 0, function(module, exports) { }); load737()(KEY); }); -var load757 = __spack_require__.bind(void 0, function(module, exports) { +var load757 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined) var $export = load66(); @@ -2933,7 +2933,7 @@ var load757 = __spack_require__.bind(void 0, function(module, exports) { }); load737()(KEY); }); -var load761 = __spack_require__.bind(void 0, function(module, exports) { +var load761 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var global = load(); var dP = load26(); @@ -2949,10 +2949,10 @@ var load761 = __spack_require__.bind(void 0, function(module, exports) { }); }; }); -var load763 = __spack_require__.bind(void 0, function(module, exports) { +var load763 = __swcpack_require__.bind(void 0, function(module, exports) { load761()('Array'); }); -var load764 = __spack_require__.bind(void 0, function(module, exports) { +var load764 = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = function(done, value) { return { value: value, @@ -2960,7 +2960,7 @@ var load764 = __spack_require__.bind(void 0, function(module, exports) { }; }; }); -var load770 = __spack_require__.bind(void 0, function(module, exports) { +var load770 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var addToUnscopables = load737(); var step = load764(); @@ -2996,7 +2996,7 @@ var load770 = __spack_require__.bind(void 0, function(module, exports) { addToUnscopables('values'); addToUnscopables('entries'); }); -var load772 = __spack_require__.bind(void 0, function(module, exports) { +var load772 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // 21.2.5.3 get RegExp.prototype.flags var anObject = load8(); @@ -3011,7 +3011,7 @@ var load772 = __spack_require__.bind(void 0, function(module, exports) { return result; }; }); -var load783 = __spack_require__.bind(void 0, function(module, exports) { +var load783 = __swcpack_require__.bind(void 0, function(module, exports) { var global = load(); var inheritIfRequired = load320(); var dP = load26().f; @@ -3054,7 +3054,7 @@ var load783 = __spack_require__.bind(void 0, function(module, exports) { } load761()('RegExp'); }); -var load785 = __spack_require__.bind(void 0, function(module, exports) { +var load785 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var regexpFlags = load772(); var nativeExec = RegExp.prototype.exec; @@ -3090,7 +3090,7 @@ var load785 = __spack_require__.bind(void 0, function(module, exports) { }; module.exports = patchedExec; }); -var load788 = __spack_require__.bind(void 0, function(module, exports) { +var load788 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var regexpExec = load785(); load66()({ @@ -3101,14 +3101,14 @@ var load788 = __spack_require__.bind(void 0, function(module, exports) { exec: regexpExec }); }); -var load792 = __spack_require__.bind(void 0, function(module, exports) { +var load792 = __swcpack_require__.bind(void 0, function(module, exports) { // 21.2.5.3 get RegExp.prototype.flags() if (load4() && /./g.flags != 'g') load26().f(RegExp.prototype, 'flags', { configurable: true, get: load772() }); }); -var load798 = __spack_require__.bind(void 0, function(module, exports) { +var load798 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; load792(); var anObject = load8(); @@ -3133,7 +3133,7 @@ var load798 = __spack_require__.bind(void 0, function(module, exports) { return $toString.call(this); }); }); -var load800 = __spack_require__.bind(void 0, function(module, exports) { +var load800 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var at = load523()(true); // `AdvanceStringIndex` abstract operation @@ -3142,7 +3142,7 @@ var load800 = __spack_require__.bind(void 0, function(module, exports) { return index + (unicode ? at(S, index).length : 1); }; }); -var load802 = __spack_require__.bind(void 0, function(module, exports) { +var load802 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var classof = load279(); var builtinExec = RegExp.prototype.exec; @@ -3159,7 +3159,7 @@ var load802 = __spack_require__.bind(void 0, function(module, exports) { return builtinExec.call(R, S); }; }); -var load810 = __spack_require__.bind(void 0, function(module, exports) { +var load810 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; load788(); var redefine = load58(); @@ -3255,7 +3255,7 @@ var load810 = __spack_require__.bind(void 0, function(module, exports) { } }; }); -var load816 = __spack_require__.bind(void 0, function(module, exports) { +var load816 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var anObject = load8(); var toLength = load117(); @@ -3295,7 +3295,7 @@ var load816 = __spack_require__.bind(void 0, function(module, exports) { ]; }); }); -var load824 = __spack_require__.bind(void 0, function(module, exports) { +var load824 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var anObject = load8(); var toObject = load145(); @@ -3412,7 +3412,7 @@ var load824 = __spack_require__.bind(void 0, function(module, exports) { ]; }); }); -var load829 = __spack_require__.bind(void 0, function(module, exports) { +var load829 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var anObject = load8(); var sameValue = load267(); @@ -3443,7 +3443,7 @@ var load829 = __spack_require__.bind(void 0, function(module, exports) { ]; }); }); -var load833 = __spack_require__.bind(void 0, function(module, exports) { +var load833 = __swcpack_require__.bind(void 0, function(module, exports) { // 7.3.20 SpeciesConstructor(O, defaultConstructor) var anObject = load8(); var aFunction = load59(); @@ -3454,7 +3454,7 @@ var load833 = __spack_require__.bind(void 0, function(module, exports) { return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); }; }); -var load843 = __spack_require__.bind(void 0, function(module, exports) { +var load843 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var isRegExp = load550(); var anObject = load8(); @@ -3563,13 +3563,13 @@ var load843 = __spack_require__.bind(void 0, function(module, exports) { ]; }); }); -var load844 = __spack_require__.bind(void 0, function(module, exports) { +var load844 = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = function(it, Constructor, name, forbiddenField) { if (!(it instanceof Constructor) || forbiddenField !== undefined && forbiddenField in it) throw TypeError(name + ': incorrect invocation!'); return it; }; }); -var load851 = __spack_require__.bind(void 0, function(module, exports) { +var load851 = __swcpack_require__.bind(void 0, function(module, exports) { var ctx = load61(); var call = load628(); var isArrayIter = load631(); @@ -3601,7 +3601,7 @@ var load851 = __spack_require__.bind(void 0, function(module, exports) { exports.BREAK = BREAK; exports.RETURN = RETURN; }); -var load1066 = __spack_require__.bind(void 0, function(module, exports) { +var load1066 = __swcpack_require__.bind(void 0, function(module, exports) { var ctx = load61(); var invoke = load284(); var html = load151(); @@ -3680,7 +3680,7 @@ var load1066 = __spack_require__.bind(void 0, function(module, exports) { clear: clearTask }; }); -var load1069 = __spack_require__.bind(void 0, function(module, exports) { +var load1069 = __swcpack_require__.bind(void 0, function(module, exports) { var global = load(); var macrotask = load1066().set; var Observer = global.MutationObserver || global.WebKitMutationObserver; @@ -3750,7 +3750,7 @@ var load1069 = __spack_require__.bind(void 0, function(module, exports) { }; }; }); -var load1071 = __spack_require__.bind(void 0, function(module, exports) { +var load1071 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // 25.4.1.5 NewPromiseCapability(C) var aFunction = load59(); @@ -3768,7 +3768,7 @@ var load1071 = __spack_require__.bind(void 0, function(module, exports) { return new PromiseCapability(C); }; }); -var load1072 = __spack_require__.bind(void 0, function(module, exports) { +var load1072 = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = function(exec) { try { return { @@ -3783,12 +3783,12 @@ var load1072 = __spack_require__.bind(void 0, function(module, exports) { } }; }); -var load1073 = __spack_require__.bind(void 0, function(module, exports) { +var load1073 = __swcpack_require__.bind(void 0, function(module, exports) { var global = load(); var navigator = global.navigator; module.exports = navigator && navigator.userAgent || ''; }); -var load1077 = __spack_require__.bind(void 0, function(module, exports) { +var load1077 = __swcpack_require__.bind(void 0, function(module, exports) { var anObject = load8(); var isObject = load6(); var newPromiseCapability = load1071(); @@ -3801,14 +3801,14 @@ var load1077 = __spack_require__.bind(void 0, function(module, exports) { return promiseCapability.promise; }; }); -var load1079 = __spack_require__.bind(void 0, function(module, exports) { +var load1079 = __swcpack_require__.bind(void 0, function(module, exports) { var redefine = load58(); module.exports = function(target, src, safe) { for(var key in src)redefine(target, key, src[key], safe); return target; }; }); -var load1317 = __spack_require__.bind(void 0, function(module, exports) { +var load1317 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var LIBRARY = load33(); var global = load(); @@ -4091,14 +4091,14 @@ var load1317 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load1319 = __spack_require__.bind(void 0, function(module, exports) { +var load1319 = __swcpack_require__.bind(void 0, function(module, exports) { var isObject = load6(); module.exports = function(it, TYPE) { if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); return it; }; }); -var load1332 = __spack_require__.bind(void 0, function(module, exports) { +var load1332 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var dP = load26().f; var create = load156(); @@ -4244,7 +4244,7 @@ var load1332 = __spack_require__.bind(void 0, function(module, exports) { } }; }); -var load1344 = __spack_require__.bind(void 0, function(module, exports) { +var load1344 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var global = load(); var $export = load66(); @@ -4335,7 +4335,7 @@ var load1344 = __spack_require__.bind(void 0, function(module, exports) { return C; }; }); -var load1348 = __spack_require__.bind(void 0, function(module, exports) { +var load1348 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var strong = load1332(); var validate = load1319(); @@ -4357,7 +4357,7 @@ var load1348 = __spack_require__.bind(void 0, function(module, exports) { } }, strong, true); }); -var load1352 = __spack_require__.bind(void 0, function(module, exports) { +var load1352 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var strong = load1332(); var validate = load1319(); @@ -4374,7 +4374,7 @@ var load1352 = __spack_require__.bind(void 0, function(module, exports) { } }, strong); }); -var load1362 = __spack_require__.bind(void 0, function(module, exports) { +var load1362 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var redefineAll = load1079(); var getWeak = load72().getWeak; @@ -4462,7 +4462,7 @@ var load1362 = __spack_require__.bind(void 0, function(module, exports) { ufstore: uncaughtFrozenStore }; }); -var load1371 = __spack_require__.bind(void 0, function(module, exports) { +var load1371 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var global = load(); var each = load687()(0); @@ -4526,7 +4526,7 @@ var load1371 = __spack_require__.bind(void 0, function(module, exports) { }); } }); -var load1375 = __spack_require__.bind(void 0, function(module, exports) { +var load1375 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var weak = load1362(); var validate = load1319(); @@ -4543,7 +4543,7 @@ var load1375 = __spack_require__.bind(void 0, function(module, exports) { } }, weak, false, true); }); -var load1378 = __spack_require__.bind(void 0, function(module, exports) { +var load1378 = __swcpack_require__.bind(void 0, function(module, exports) { var global = load(); var hide = load31(); var uid = load32(); @@ -4566,7 +4566,7 @@ var load1378 = __spack_require__.bind(void 0, function(module, exports) { VIEW: VIEW }; }); -var load1381 = __spack_require__.bind(void 0, function(module, exports) { +var load1381 = __swcpack_require__.bind(void 0, function(module, exports) { // https://tc39.github.io/ecma262/#sec-toindex var toInteger = load115(); var toLength = load117(); @@ -4578,7 +4578,7 @@ var load1381 = __spack_require__.bind(void 0, function(module, exports) { return length; }; }); -var load1396 = __spack_require__.bind(void 0, function(module, exports) { +var load1396 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var global = load(); var DESCRIPTORS = load4(); @@ -4856,7 +4856,7 @@ var load1396 = __spack_require__.bind(void 0, function(module, exports) { exports[ARRAY_BUFFER] = $ArrayBuffer; exports[DATA_VIEW] = $DataView; }); -var load1635 = __spack_require__.bind(void 0, function(module, exports) { +var load1635 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var $typed = load1378(); @@ -4901,13 +4901,13 @@ var load1635 = __spack_require__.bind(void 0, function(module, exports) { }); load761()(ARRAY_BUFFER); }); -var load1639 = __spack_require__.bind(void 0, function(module, exports) { +var load1639 = __swcpack_require__.bind(void 0, function(module, exports) { var $export = load66(); $export($export.G + $export.W + $export.F * !load1378().ABV, { DataView: load1396().DataView }); }); -var load1908 = __spack_require__.bind(void 0, function(module, exports) { +var load1908 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; if (load4()) { var LIBRARY = load33(); @@ -5354,70 +5354,70 @@ var load1908 = __spack_require__.bind(void 0, function(module, exports) { } else module.exports = function() { }; }); -var load1910 = __spack_require__.bind(void 0, function(module, exports) { +var load1910 = __swcpack_require__.bind(void 0, function(module, exports) { load1908()('Int8', 1, function(init) { return function Int8Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); }); -var load1912 = __spack_require__.bind(void 0, function(module, exports) { +var load1912 = __swcpack_require__.bind(void 0, function(module, exports) { load1908()('Uint8', 1, function(init) { return function Uint8Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); }); -var load1914 = __spack_require__.bind(void 0, function(module, exports) { +var load1914 = __swcpack_require__.bind(void 0, function(module, exports) { load1908()('Uint8', 1, function(init) { return function Uint8ClampedArray(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }, true); }); -var load1916 = __spack_require__.bind(void 0, function(module, exports) { +var load1916 = __swcpack_require__.bind(void 0, function(module, exports) { load1908()('Int16', 2, function(init) { return function Int16Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); }); -var load1918 = __spack_require__.bind(void 0, function(module, exports) { +var load1918 = __swcpack_require__.bind(void 0, function(module, exports) { load1908()('Uint16', 2, function(init) { return function Uint16Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); }); -var load1920 = __spack_require__.bind(void 0, function(module, exports) { +var load1920 = __swcpack_require__.bind(void 0, function(module, exports) { load1908()('Int32', 4, function(init) { return function Int32Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); }); -var load1922 = __spack_require__.bind(void 0, function(module, exports) { +var load1922 = __swcpack_require__.bind(void 0, function(module, exports) { load1908()('Uint32', 4, function(init) { return function Uint32Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); }); -var load1924 = __spack_require__.bind(void 0, function(module, exports) { +var load1924 = __swcpack_require__.bind(void 0, function(module, exports) { load1908()('Float32', 4, function(init) { return function Float32Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); }); -var load1926 = __spack_require__.bind(void 0, function(module, exports) { +var load1926 = __swcpack_require__.bind(void 0, function(module, exports) { load1908()('Float64', 8, function(init) { return function Float64Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); }); -var load2171 = __spack_require__.bind(void 0, function(module, exports) { +var load2171 = __swcpack_require__.bind(void 0, function(module, exports) { // 26.1.1 Reflect.apply(target, thisArgument, argumentsList) var $export = load66(); var aFunction = load59(); @@ -5437,7 +5437,7 @@ var load2171 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2420 = __spack_require__.bind(void 0, function(module, exports) { +var load2420 = __swcpack_require__.bind(void 0, function(module, exports) { // 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) var $export = load66(); var create = load156(); @@ -5495,7 +5495,7 @@ var load2420 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2426 = __spack_require__.bind(void 0, function(module, exports) { +var load2426 = __swcpack_require__.bind(void 0, function(module, exports) { // 26.1.3 Reflect.defineProperty(target, propertyKey, attributes) var dP = load26(); var $export = load66(); @@ -5524,7 +5524,7 @@ var load2426 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2430 = __spack_require__.bind(void 0, function(module, exports) { +var load2430 = __swcpack_require__.bind(void 0, function(module, exports) { // 26.1.4 Reflect.deleteProperty(target, propertyKey) var $export = load66(); var gOPD = load170().f; @@ -5536,7 +5536,7 @@ var load2430 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2434 = __spack_require__.bind(void 0, function(module, exports) { +var load2434 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // 26.1.5 Reflect.enumerate(target) var $export = load66(); @@ -5569,7 +5569,7 @@ var load2434 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2441 = __spack_require__.bind(void 0, function(module, exports) { +var load2441 = __swcpack_require__.bind(void 0, function(module, exports) { // 26.1.6 Reflect.get(target, propertyKey [, receiver]) var gOPD = load170(); var getPrototypeOf = load224(); @@ -5588,7 +5588,7 @@ var load2441 = __spack_require__.bind(void 0, function(module, exports) { get: get }); }); -var load2445 = __spack_require__.bind(void 0, function(module, exports) { +var load2445 = __swcpack_require__.bind(void 0, function(module, exports) { // 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey) var gOPD = load170(); var $export = load66(); @@ -5599,7 +5599,7 @@ var load2445 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2449 = __spack_require__.bind(void 0, function(module, exports) { +var load2449 = __swcpack_require__.bind(void 0, function(module, exports) { // 26.1.8 Reflect.getPrototypeOf(target) var $export = load66(); var getProto = load224(); @@ -5610,7 +5610,7 @@ var load2449 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2451 = __spack_require__.bind(void 0, function(module, exports) { +var load2451 = __swcpack_require__.bind(void 0, function(module, exports) { // 26.1.9 Reflect.has(target, propertyKey) var $export = load66(); $export($export.S, 'Reflect', { @@ -5619,7 +5619,7 @@ var load2451 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2454 = __spack_require__.bind(void 0, function(module, exports) { +var load2454 = __swcpack_require__.bind(void 0, function(module, exports) { // 26.1.10 Reflect.isExtensible(target) var $export = load66(); var anObject = load8(); @@ -5631,7 +5631,7 @@ var load2454 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2708 = __spack_require__.bind(void 0, function(module, exports) { +var load2708 = __swcpack_require__.bind(void 0, function(module, exports) { // all object keys, includes non-enumerable and symbols var gOPN = load159(); var gOPS = load136(); @@ -5643,14 +5643,14 @@ var load2708 = __spack_require__.bind(void 0, function(module, exports) { return getSymbols ? keys.concat(getSymbols(it)) : keys; }; }); -var load2711 = __spack_require__.bind(void 0, function(module, exports) { +var load2711 = __swcpack_require__.bind(void 0, function(module, exports) { // 26.1.11 Reflect.ownKeys(target) var $export = load66(); $export($export.S, 'Reflect', { ownKeys: load2708() }); }); -var load2714 = __spack_require__.bind(void 0, function(module, exports) { +var load2714 = __swcpack_require__.bind(void 0, function(module, exports) { // 26.1.12 Reflect.preventExtensions(target) var $export = load66(); var anObject = load8(); @@ -5667,7 +5667,7 @@ var load2714 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2723 = __spack_require__.bind(void 0, function(module, exports) { +var load2723 = __swcpack_require__.bind(void 0, function(module, exports) { // 26.1.13 Reflect.set(target, propertyKey, V [, receiver]) var dP = load26(); var gOPD = load170(); @@ -5700,7 +5700,7 @@ var load2723 = __spack_require__.bind(void 0, function(module, exports) { set: set }); }); -var load2726 = __spack_require__.bind(void 0, function(module, exports) { +var load2726 = __swcpack_require__.bind(void 0, function(module, exports) { // 26.1.14 Reflect.setPrototypeOf(target, proto) var $export = load66(); var setProto = load273(); @@ -5716,7 +5716,7 @@ var load2726 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2730 = __spack_require__.bind(void 0, function(module, exports) { +var load2730 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // https://github.com/tc39/Array.prototype.includes var $export = load66(); @@ -5728,7 +5728,7 @@ var load2730 = __spack_require__.bind(void 0, function(module, exports) { }); load737()('includes'); }); -var load2736 = __spack_require__.bind(void 0, function(module, exports) { +var load2736 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray var isArray = load143(); @@ -5762,7 +5762,7 @@ var load2736 = __spack_require__.bind(void 0, function(module, exports) { } module.exports = flattenIntoArray; }); -var load2744 = __spack_require__.bind(void 0, function(module, exports) { +var load2744 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap var $export = load66(); @@ -5784,7 +5784,7 @@ var load2744 = __spack_require__.bind(void 0, function(module, exports) { }); load737()('flatMap'); }); -var load2752 = __spack_require__.bind(void 0, function(module, exports) { +var load2752 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatten var $export = load66(); @@ -5805,7 +5805,7 @@ var load2752 = __spack_require__.bind(void 0, function(module, exports) { }); load737()('flatten'); }); -var load2756 = __spack_require__.bind(void 0, function(module, exports) { +var load2756 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // https://github.com/mathiasbynens/String.prototype.at var $export = load66(); @@ -5820,7 +5820,7 @@ var load2756 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2760 = __spack_require__.bind(void 0, function(module, exports) { +var load2760 = __swcpack_require__.bind(void 0, function(module, exports) { // https://github.com/tc39/proposal-string-pad-start-end var toLength = load117(); var repeat = load338(); @@ -5837,7 +5837,7 @@ var load2760 = __spack_require__.bind(void 0, function(module, exports) { return left ? stringFiller + S : S + stringFiller; }; }); -var load2764 = __spack_require__.bind(void 0, function(module, exports) { +var load2764 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // https://github.com/tc39/proposal-string-pad-start-end var $export = load66(); @@ -5851,7 +5851,7 @@ var load2764 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2768 = __spack_require__.bind(void 0, function(module, exports) { +var load2768 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // https://github.com/tc39/proposal-string-pad-start-end var $export = load66(); @@ -5865,7 +5865,7 @@ var load2768 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2770 = __spack_require__.bind(void 0, function(module, exports) { +var load2770 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // https://github.com/sebmarkbage/ecmascript-string-left-right-trim load305()('trimLeft', function($trim) { @@ -5874,7 +5874,7 @@ var load2770 = __spack_require__.bind(void 0, function(module, exports) { }; }, 'trimStart'); }); -var load2772 = __spack_require__.bind(void 0, function(module, exports) { +var load2772 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // https://github.com/sebmarkbage/ecmascript-string-left-right-trim load305()('trimRight', function($trim) { @@ -5883,7 +5883,7 @@ var load2772 = __spack_require__.bind(void 0, function(module, exports) { }; }, 'trimEnd'); }); -var load2779 = __spack_require__.bind(void 0, function(module, exports) { +var load2779 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // https://tc39.github.io/String.prototype.matchAll/ var $export = load66(); @@ -5915,13 +5915,13 @@ var load2779 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2781 = __spack_require__.bind(void 0, function(module, exports) { +var load2781 = __swcpack_require__.bind(void 0, function(module, exports) { load107()('asyncIterator'); }); -var load2783 = __spack_require__.bind(void 0, function(module, exports) { +var load2783 = __swcpack_require__.bind(void 0, function(module, exports) { load107()('observable'); }); -var load2789 = __spack_require__.bind(void 0, function(module, exports) { +var load2789 = __swcpack_require__.bind(void 0, function(module, exports) { // https://github.com/tc39/proposal-object-getownpropertydescriptors var $export = load66(); var ownKeys = load2708(); @@ -5945,7 +5945,7 @@ var load2789 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2794 = __spack_require__.bind(void 0, function(module, exports) { +var load2794 = __swcpack_require__.bind(void 0, function(module, exports) { var DESCRIPTORS = load4(); var getKeys = load135(); var toIObject = load114(); @@ -5969,7 +5969,7 @@ var load2794 = __spack_require__.bind(void 0, function(module, exports) { }; }; }); -var load2797 = __spack_require__.bind(void 0, function(module, exports) { +var load2797 = __swcpack_require__.bind(void 0, function(module, exports) { // https://github.com/tc39/proposal-object-values-entries var $export = load66(); var $values = load2794()(false); @@ -5979,7 +5979,7 @@ var load2797 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2800 = __spack_require__.bind(void 0, function(module, exports) { +var load2800 = __swcpack_require__.bind(void 0, function(module, exports) { // https://github.com/tc39/proposal-object-values-entries var $export = load66(); var $entries = load2794()(true); @@ -5989,7 +5989,7 @@ var load2800 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2803 = __spack_require__.bind(void 0, function(module, exports) { +var load2803 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // Forced replacement prototype accessors methods module.exports = load33() || !load2()(function() { @@ -6001,7 +6001,7 @@ var load2803 = __spack_require__.bind(void 0, function(module, exports) { delete load()[K]; }); }); -var load2810 = __spack_require__.bind(void 0, function(module, exports) { +var load2810 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var toObject = load145(); @@ -6018,7 +6018,7 @@ var load2810 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2817 = __spack_require__.bind(void 0, function(module, exports) { +var load2817 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var toObject = load145(); @@ -6035,7 +6035,7 @@ var load2817 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2825 = __spack_require__.bind(void 0, function(module, exports) { +var load2825 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var toObject = load145(); @@ -6054,7 +6054,7 @@ var load2825 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2833 = __spack_require__.bind(void 0, function(module, exports) { +var load2833 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var toObject = load145(); @@ -6073,7 +6073,7 @@ var load2833 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load2835 = __spack_require__.bind(void 0, function(module, exports) { +var load2835 = __swcpack_require__.bind(void 0, function(module, exports) { var forOf = load851(); module.exports = function(iter, ITERATOR) { var result = []; @@ -6081,7 +6081,7 @@ var load2835 = __spack_require__.bind(void 0, function(module, exports) { return result; }; }); -var load2838 = __spack_require__.bind(void 0, function(module, exports) { +var load2838 = __swcpack_require__.bind(void 0, function(module, exports) { // https://github.com/DavidBruant/Map-Set.prototype.toJSON var classof = load279(); var from = load2835(); @@ -6092,21 +6092,21 @@ var load2838 = __spack_require__.bind(void 0, function(module, exports) { }; }; }); -var load2841 = __spack_require__.bind(void 0, function(module, exports) { +var load2841 = __swcpack_require__.bind(void 0, function(module, exports) { // https://github.com/DavidBruant/Map-Set.prototype.toJSON var $export = load66(); $export($export.P + $export.R, 'Map', { toJSON: load2838()('Map') }); }); -var load2844 = __spack_require__.bind(void 0, function(module, exports) { +var load2844 = __swcpack_require__.bind(void 0, function(module, exports) { // https://github.com/DavidBruant/Map-Set.prototype.toJSON var $export = load66(); $export($export.P + $export.R, 'Set', { toJSON: load2838()('Set') }); }); -var load2846 = __spack_require__.bind(void 0, function(module, exports) { +var load2846 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // https://tc39.github.io/proposal-setmap-offrom/ var $export = load66(); @@ -6121,23 +6121,23 @@ var load2846 = __spack_require__.bind(void 0, function(module, exports) { }); }; }); -var load2848 = __spack_require__.bind(void 0, function(module, exports) { +var load2848 = __swcpack_require__.bind(void 0, function(module, exports) { // https://tc39.github.io/proposal-setmap-offrom/#sec-map.of load2846()('Map'); }); -var load2850 = __spack_require__.bind(void 0, function(module, exports) { +var load2850 = __swcpack_require__.bind(void 0, function(module, exports) { // https://tc39.github.io/proposal-setmap-offrom/#sec-set.of load2846()('Set'); }); -var load2852 = __spack_require__.bind(void 0, function(module, exports) { +var load2852 = __swcpack_require__.bind(void 0, function(module, exports) { // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of load2846()('WeakMap'); }); -var load2854 = __spack_require__.bind(void 0, function(module, exports) { +var load2854 = __swcpack_require__.bind(void 0, function(module, exports) { // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of load2846()('WeakSet'); }); -var load2859 = __spack_require__.bind(void 0, function(module, exports) { +var load2859 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // https://tc39.github.io/proposal-setmap-offrom/ var $export = load66(); @@ -6166,37 +6166,37 @@ var load2859 = __spack_require__.bind(void 0, function(module, exports) { }); }; }); -var load2861 = __spack_require__.bind(void 0, function(module, exports) { +var load2861 = __swcpack_require__.bind(void 0, function(module, exports) { // https://tc39.github.io/proposal-setmap-offrom/#sec-map.from load2859()('Map'); }); -var load2863 = __spack_require__.bind(void 0, function(module, exports) { +var load2863 = __swcpack_require__.bind(void 0, function(module, exports) { // https://tc39.github.io/proposal-setmap-offrom/#sec-set.from load2859()('Set'); }); -var load2865 = __spack_require__.bind(void 0, function(module, exports) { +var load2865 = __swcpack_require__.bind(void 0, function(module, exports) { // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from load2859()('WeakMap'); }); -var load2867 = __spack_require__.bind(void 0, function(module, exports) { +var load2867 = __swcpack_require__.bind(void 0, function(module, exports) { // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.from load2859()('WeakSet'); }); -var load3160 = __spack_require__.bind(void 0, function(module, exports) { +var load3160 = __swcpack_require__.bind(void 0, function(module, exports) { // https://github.com/tc39/proposal-global var $export = load66(); $export($export.G, { global: load() }); }); -var load3454 = __spack_require__.bind(void 0, function(module, exports) { +var load3454 = __swcpack_require__.bind(void 0, function(module, exports) { // https://github.com/tc39/proposal-global var $export = load66(); $export($export.S, 'System', { global: load() }); }); -var load3457 = __spack_require__.bind(void 0, function(module, exports) { +var load3457 = __swcpack_require__.bind(void 0, function(module, exports) { // https://github.com/ljharb/proposal-is-error var $export = load66(); var cof = load108(); @@ -6206,7 +6206,7 @@ var load3457 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load3459 = __spack_require__.bind(void 0, function(module, exports) { +var load3459 = __swcpack_require__.bind(void 0, function(module, exports) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = load66(); $export($export.S, 'Math', { @@ -6215,14 +6215,14 @@ var load3459 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load3461 = __spack_require__.bind(void 0, function(module, exports) { +var load3461 = __swcpack_require__.bind(void 0, function(module, exports) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = load66(); $export($export.S, 'Math', { DEG_PER_RAD: Math.PI / 180 }); }); -var load3463 = __spack_require__.bind(void 0, function(module, exports) { +var load3463 = __swcpack_require__.bind(void 0, function(module, exports) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = load66(); var RAD_PER_DEG = 180 / Math.PI; @@ -6232,7 +6232,7 @@ var load3463 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load3464 = __spack_require__.bind(void 0, function(module, exports) { +var load3464 = __swcpack_require__.bind(void 0, function(module, exports) { // https://rwaldron.github.io/proposal-math-extensions/ module.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) { if (arguments.length === 0 || x != x || inLow != inLow || inHigh != inHigh || outLow != outLow || outHigh != outHigh) return NaN; @@ -6240,7 +6240,7 @@ var load3464 = __spack_require__.bind(void 0, function(module, exports) { return (x - inLow) * (outHigh - outLow) / (inHigh - inLow) + outLow; }; }); -var load3468 = __spack_require__.bind(void 0, function(module, exports) { +var load3468 = __swcpack_require__.bind(void 0, function(module, exports) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = load66(); var scale = load3464(); @@ -6251,7 +6251,7 @@ var load3468 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load3470 = __spack_require__.bind(void 0, function(module, exports) { +var load3470 = __swcpack_require__.bind(void 0, function(module, exports) { // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 var $export = load66(); $export($export.S, 'Math', { @@ -6263,7 +6263,7 @@ var load3470 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load3472 = __spack_require__.bind(void 0, function(module, exports) { +var load3472 = __swcpack_require__.bind(void 0, function(module, exports) { // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 var $export = load66(); $export($export.S, 'Math', { @@ -6275,7 +6275,7 @@ var load3472 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load3474 = __spack_require__.bind(void 0, function(module, exports) { +var load3474 = __swcpack_require__.bind(void 0, function(module, exports) { // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 var $export = load66(); $export($export.S, 'Math', { @@ -6292,14 +6292,14 @@ var load3474 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load3476 = __spack_require__.bind(void 0, function(module, exports) { +var load3476 = __swcpack_require__.bind(void 0, function(module, exports) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = load66(); $export($export.S, 'Math', { RAD_PER_DEG: 180 / Math.PI }); }); -var load3478 = __spack_require__.bind(void 0, function(module, exports) { +var load3478 = __swcpack_require__.bind(void 0, function(module, exports) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = load66(); var DEG_PER_RAD = Math.PI / 180; @@ -6309,14 +6309,14 @@ var load3478 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load3481 = __spack_require__.bind(void 0, function(module, exports) { +var load3481 = __swcpack_require__.bind(void 0, function(module, exports) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = load66(); $export($export.S, 'Math', { scale: load3464() }); }); -var load3483 = __spack_require__.bind(void 0, function(module, exports) { +var load3483 = __swcpack_require__.bind(void 0, function(module, exports) { // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 var $export = load66(); $export($export.S, 'Math', { @@ -6333,7 +6333,7 @@ var load3483 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load3485 = __spack_require__.bind(void 0, function(module, exports) { +var load3485 = __swcpack_require__.bind(void 0, function(module, exports) { // http://jfbastien.github.io/papers/Math.signbit.html var $export = load66(); $export($export.S, 'Math', { @@ -6343,7 +6343,7 @@ var load3485 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load3797 = __spack_require__.bind(void 0, function(module, exports) { +var load3797 = __swcpack_require__.bind(void 0, function(module, exports) { // https://github.com/tc39/proposal-promise-finally 'use strict'; var $export = load66(); @@ -6367,7 +6367,7 @@ var load3797 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load3801 = __spack_require__.bind(void 0, function(module, exports) { +var load3801 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // https://github.com/tc39/proposal-promise-try var $export = load66(); @@ -6382,7 +6382,7 @@ var load3801 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load3806 = __spack_require__.bind(void 0, function(module, exports) { +var load3806 = __swcpack_require__.bind(void 0, function(module, exports) { var Map = load1348(); var $export = load66(); var shared = load50()('metadata'); @@ -6436,7 +6436,7 @@ var load3806 = __spack_require__.bind(void 0, function(module, exports) { exp: exp }; }); -var load3809 = __spack_require__.bind(void 0, function(module, exports) { +var load3809 = __swcpack_require__.bind(void 0, function(module, exports) { var metadata = load3806(); var anObject = load8(); var toMetaKey = metadata.key; @@ -6447,7 +6447,7 @@ var load3809 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load3812 = __spack_require__.bind(void 0, function(module, exports) { +var load3812 = __swcpack_require__.bind(void 0, function(module, exports) { var metadata = load3806(); var anObject = load8(); var toMetaKey = metadata.key; @@ -6465,7 +6465,7 @@ var load3812 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load3816 = __spack_require__.bind(void 0, function(module, exports) { +var load3816 = __swcpack_require__.bind(void 0, function(module, exports) { var metadata = load3806(); var anObject = load8(); var getPrototypeOf = load224(); @@ -6484,7 +6484,7 @@ var load3816 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load3822 = __spack_require__.bind(void 0, function(module, exports) { +var load3822 = __swcpack_require__.bind(void 0, function(module, exports) { var Set = load1352(); var from = load2835(); var metadata = load3806(); @@ -6505,7 +6505,7 @@ var load3822 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load3825 = __spack_require__.bind(void 0, function(module, exports) { +var load3825 = __swcpack_require__.bind(void 0, function(module, exports) { var metadata = load3806(); var anObject = load8(); var ordinaryGetOwnMetadata = metadata.get; @@ -6516,7 +6516,7 @@ var load3825 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load3828 = __spack_require__.bind(void 0, function(module, exports) { +var load3828 = __swcpack_require__.bind(void 0, function(module, exports) { var metadata = load3806(); var anObject = load8(); var ordinaryOwnMetadataKeys = metadata.keys; @@ -6527,7 +6527,7 @@ var load3828 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load3832 = __spack_require__.bind(void 0, function(module, exports) { +var load3832 = __swcpack_require__.bind(void 0, function(module, exports) { var metadata = load3806(); var anObject = load8(); var getPrototypeOf = load224(); @@ -6545,7 +6545,7 @@ var load3832 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load3835 = __spack_require__.bind(void 0, function(module, exports) { +var load3835 = __swcpack_require__.bind(void 0, function(module, exports) { var metadata = load3806(); var anObject = load8(); var ordinaryHasOwnMetadata = metadata.has; @@ -6556,7 +6556,7 @@ var load3835 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load3839 = __spack_require__.bind(void 0, function(module, exports) { +var load3839 = __swcpack_require__.bind(void 0, function(module, exports) { var $metadata = load3806(); var anObject = load8(); var aFunction = load59(); @@ -6570,7 +6570,7 @@ var load3839 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load4162 = __spack_require__.bind(void 0, function(module, exports) { +var load4162 = __swcpack_require__.bind(void 0, function(module, exports) { // https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-09/sept-25.md#510-globalasap-for-enqueuing-a-microtask var $export = load66(); var microtask = load1069()(); @@ -6583,7 +6583,7 @@ var load4162 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load4494 = __spack_require__.bind(void 0, function(module, exports) { +var load4494 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; // https://github.com/zenparsing/es-observable var $export = load66(); @@ -6789,7 +6789,7 @@ var load4494 = __spack_require__.bind(void 0, function(module, exports) { }); load761()('Observable'); }); -var load4497 = __spack_require__.bind(void 0, function(module, exports) { +var load4497 = __swcpack_require__.bind(void 0, function(module, exports) { // ie9- setTimeout & setInterval additional parameters fix var global = load(); var $export = load66(); @@ -6811,7 +6811,7 @@ var load4497 = __spack_require__.bind(void 0, function(module, exports) { setInterval: wrap(global.setInterval) }); }); -var load4500 = __spack_require__.bind(void 0, function(module, exports) { +var load4500 = __swcpack_require__.bind(void 0, function(module, exports) { var $export = load66(); var $task = load1066(); $export($export.G + $export.B, { @@ -6819,7 +6819,7 @@ var load4500 = __spack_require__.bind(void 0, function(module, exports) { clearImmediate: $task.clear }); }); -var load4830 = __spack_require__.bind(void 0, function(module, exports) { +var load4830 = __swcpack_require__.bind(void 0, function(module, exports) { var $iterators = load770(); var getKeys = load135(); var redefine = load58(); @@ -6879,7 +6879,7 @@ var load4830 = __spack_require__.bind(void 0, function(module, exports) { } } }); -var load5029 = __spack_require__.bind(void 0, function(module, exports) { +var load5029 = __swcpack_require__.bind(void 0, function(module, exports) { load201(); load204(); load208(); @@ -7079,7 +7079,7 @@ var load5029 = __spack_require__.bind(void 0, function(module, exports) { load4830(); module.exports = load5(); }); -var load5032 = __spack_require__.bind(void 0, function(module, exports) { +var load5032 = __swcpack_require__.bind(void 0, function(module, exports) { var getKeys = load135(); var toIObject = load114(); module.exports = function(object, el) { @@ -7091,7 +7091,7 @@ var load5032 = __spack_require__.bind(void 0, function(module, exports) { while(length > index)if (O[key = keys[index++]] === el) return key; }; }); -var load5037 = __spack_require__.bind(void 0, function(module, exports) { +var load5037 = __swcpack_require__.bind(void 0, function(module, exports) { var classof = load279(); var ITERATOR = load96()('iterator'); var Iterators = load524(); @@ -7100,7 +7100,7 @@ var load5037 = __spack_require__.bind(void 0, function(module, exports) { return O[ITERATOR] !== undefined || '@@iterator' in O || Iterators.hasOwnProperty(classof(O)); }; }); -var load5056 = __spack_require__.bind(void 0, function(module, exports) { +var load5056 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var ctx = load61(); var $export = load66(); @@ -7257,7 +7257,7 @@ var load5056 = __spack_require__.bind(void 0, function(module, exports) { isDict: isDict }); }); -var load5060 = __spack_require__.bind(void 0, function(module, exports) { +var load5060 = __swcpack_require__.bind(void 0, function(module, exports) { var anObject = load8(); var get = load639(); module.exports = load5().getIterator = function(it) { @@ -7266,10 +7266,10 @@ var load5060 = __spack_require__.bind(void 0, function(module, exports) { return anObject(iterFn.call(it)); }; }); -var load5061 = __spack_require__.bind(void 0, function(module, exports) { +var load5061 = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = load(); }); -var load5065 = __spack_require__.bind(void 0, function(module, exports) { +var load5065 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var path = load5061(); var invoke = load284(); @@ -7298,7 +7298,7 @@ var load5065 = __spack_require__.bind(void 0, function(module, exports) { }; }; }); -var load5069 = __spack_require__.bind(void 0, function(module, exports) { +var load5069 = __swcpack_require__.bind(void 0, function(module, exports) { var global = load(); var core = load5(); var $export = load66(); @@ -7312,7 +7312,7 @@ var load5069 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load5074 = __spack_require__.bind(void 0, function(module, exports) { +var load5074 = __swcpack_require__.bind(void 0, function(module, exports) { var path = load5061(); var $export = load66(); // Placeholder @@ -7322,19 +7322,19 @@ var load5074 = __spack_require__.bind(void 0, function(module, exports) { part: load5065() }); }); -var load5077 = __spack_require__.bind(void 0, function(module, exports) { +var load5077 = __swcpack_require__.bind(void 0, function(module, exports) { var $export = load66(); $export($export.S + $export.F, 'Object', { isObject: load6() }); }); -var load5080 = __spack_require__.bind(void 0, function(module, exports) { +var load5080 = __swcpack_require__.bind(void 0, function(module, exports) { var $export = load66(); $export($export.S + $export.F, 'Object', { classof: load279() }); }); -var load5085 = __spack_require__.bind(void 0, function(module, exports) { +var load5085 = __swcpack_require__.bind(void 0, function(module, exports) { var dP = load26(); var gOPD = load170(); var ownKeys = load2708(); @@ -7348,14 +7348,14 @@ var load5085 = __spack_require__.bind(void 0, function(module, exports) { return target; }; }); -var load5088 = __spack_require__.bind(void 0, function(module, exports) { +var load5088 = __swcpack_require__.bind(void 0, function(module, exports) { var $export = load66(); var define = load5085(); $export($export.S + $export.F, 'Object', { define: define }); }); -var load5092 = __spack_require__.bind(void 0, function(module, exports) { +var load5092 = __swcpack_require__.bind(void 0, function(module, exports) { var $export = load66(); var define = load5085(); var create = load156(); @@ -7365,7 +7365,7 @@ var load5092 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load5094 = __spack_require__.bind(void 0, function(module, exports) { +var load5094 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; load540()(Number, 'Number', function(iterated) { this._l = +iterated; @@ -7379,7 +7379,7 @@ var load5094 = __spack_require__.bind(void 0, function(module, exports) { }; }); }); -var load5095 = __spack_require__.bind(void 0, function(module, exports) { +var load5095 = __swcpack_require__.bind(void 0, function(module, exports) { module.exports = function(regExp, replace) { var replacer = replace === Object(replace) ? function(part) { return replace[part]; @@ -7389,7 +7389,7 @@ var load5095 = __spack_require__.bind(void 0, function(module, exports) { }; }; }); -var load5098 = __spack_require__.bind(void 0, function(module, exports) { +var load5098 = __swcpack_require__.bind(void 0, function(module, exports) { // https://github.com/benjamingr/RexExp.escape var $export = load66(); var $re = load5095()(/[\\^$*+?.()|[\]{}]/g, '\\$&'); @@ -7399,7 +7399,7 @@ var load5098 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load5101 = __spack_require__.bind(void 0, function(module, exports) { +var load5101 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var $re = load5095()(/[&<>"']/g, { @@ -7415,7 +7415,7 @@ var load5101 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load5104 = __spack_require__.bind(void 0, function(module, exports) { +var load5104 = __swcpack_require__.bind(void 0, function(module, exports) { 'use strict'; var $export = load66(); var $re = load5095()(/&(?:amp|lt|gt|quot|apos);/g, { @@ -7431,7 +7431,7 @@ var load5104 = __spack_require__.bind(void 0, function(module, exports) { } }); }); -var load5121 = __spack_require__.bind(void 0, function(module, exports) { +var load5121 = __swcpack_require__.bind(void 0, function(module, exports) { load5029(); load5056(); load639(); diff --git a/package.json b/package.json index e5d5c0d33df..54a4e9dae62 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "license": "Apache-2.0 AND MIT", "keywords": [ "swc", - "spack", + "swcpack", "babel", "typescript", "rust", @@ -50,6 +50,7 @@ }, "types": "./index.d.ts", "scripts": { + "prepare": "husky install", "artifacts": "napi artifacts --dist scripts/npm", "prepublishOnly": "tsc -d && napi prepublish -p scripts/npm --tagstyle npm", "build": "tsc -d && napi build --platform --release --cargo-name node --cargo-flags=\"-p node\"", @@ -75,6 +76,8 @@ "browserslist": "^4.16.6", "core-js": "^2.6.11", "cross-env": "^7.0.3", + "cspell": "^5.12.3", + "husky": "^7.0.2", "jest": "^27.0.1", "lodash": "^4.17.21", "progress": "^2.0.3", diff --git a/plugin/runner/Cargo.toml b/plugin/runner/Cargo.toml index 004a0561e60..ca999f8324f 100644 --- a/plugin/runner/Cargo.toml +++ b/plugin/runner/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_plugin_runner" repository = "https://github.com/swc-project/swc.git" -version = "0.11.0" +version = "0.12.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] @@ -18,9 +18,9 @@ serde_json = "1.0.64" swc_atoms = "0.2.7" swc_common = {version = "0.14.0", path = "../../common"} swc_ecma_ast = {version = "0.55.0", path = "../../ecmascript/ast"} -swc_ecma_parser = {version = "0.74.0", path = "../../ecmascript/parser"} +swc_ecma_parser = {version = "0.75.0", path = "../../ecmascript/parser"} swc_plugin = {version = "0.8.0", path = "../"} [dev-dependencies] -swc_ecma_codegen = {version = "0.76.0", path = "../../ecmascript/codegen"} +swc_ecma_codegen = {version = "0.77.0", path = "../../ecmascript/codegen"} testing = {version = "0.15.0", path = "../../testing"} diff --git a/plugin/runner/src/lib.rs b/plugin/runner/src/lib.rs index adde970aa80..5bfb8e984ca 100644 --- a/plugin/runner/src/lib.rs +++ b/plugin/runner/src/lib.rs @@ -23,7 +23,7 @@ pub fn apply_js_plugin(program: &Program, path: &Path) -> Result let new = match new_ast { RResult::ROk(v) => v, - RResult::RErr(err) => return Err(anyhow!("plugin returned an errror\n{}", err)), + RResult::RErr(err) => return Err(anyhow!("plugin returned an error\n{}", err)), }; let new = new.into_string(); diff --git a/plugin/src/lib.rs b/plugin/src/lib.rs index b15ddb941d7..e7c3f0bcb2a 100644 --- a/plugin/src/lib.rs +++ b/plugin/src/lib.rs @@ -1,4 +1,4 @@ -/// Reexported for convinience. +/// Reexported for convenience. use abi_stable::{ library::RootModule, package_version_strings, diff --git a/plugin/testing/Cargo.toml b/plugin/testing/Cargo.toml index a18d9507328..7499b2ddc03 100644 --- a/plugin/testing/Cargo.toml +++ b/plugin/testing/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_plugin_testing" repository = "https://github.com/swc-project/swc.git" -version = "0.12.0" +version = "0.13.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -15,7 +15,7 @@ anyhow = "1.0.41" swc_atoms = {version = "0.2.7", path = "../../atoms"} swc_common = {version = "0.14.0", path = "../../common"} swc_ecma_ast = {version = "0.55.0", path = "../../ecmascript/ast"} -swc_ecma_codegen = {version = "0.76.0", path = "../../ecmascript/codegen"} +swc_ecma_codegen = {version = "0.77.0", path = "../../ecmascript/codegen"} swc_ecma_utils = {version = "0.48.0", path = "../../ecmascript/utils"} swc_ecma_visit = {version = "0.41.0", path = "../../ecmascript/visit"} swc_plugin = {version = "0.8.0", path = "../"} diff --git a/testing/Cargo.toml b/testing/Cargo.toml index ea24ff20d94..d892037c076 100644 --- a/testing/Cargo.toml +++ b/testing/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "testing" repository = "https://github.com/swc-project/swc.git" -version = "0.15.0" +version = "0.15.1" [dependencies] ansi_term = "0.12.1" diff --git a/testing/src/lib.rs b/testing/src/lib.rs index a5b6859831b..c28d486e709 100644 --- a/testing/src/lib.rs +++ b/testing/src/lib.rs @@ -261,7 +261,7 @@ pub fn diff(l: &str, r: &str) -> String { /// Used for assertions. /// -/// Prints string without escpaing special characters on failure. +/// Prints string without escaping special characters on failure. #[derive(PartialEq, Eq)] pub struct DebugUsingDisplay<'a>(pub &'a str); diff --git a/visit/Cargo.toml b/visit/Cargo.toml index 00dbbc4c913..8a0ff17bbb0 100644 --- a/visit/Cargo.toml +++ b/visit/Cargo.toml @@ -5,7 +5,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_visit" repository = "https://github.com/swc-project/swc.git" -version = "0.2.7" +version = "0.2.8" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/visit/src/lib.rs b/visit/src/lib.rs index feee1fa3d14..611b9b55604 100644 --- a/visit/src/lib.rs +++ b/visit/src/lib.rs @@ -17,7 +17,7 @@ //! //! # `Fold` //! -//! > WARNING: `Fold` is slow, and it's recommended to use VisiMut if you are +//! > WARNING: `Fold` is slow, and it's recommended to use VisitMut if you are //! experienced. //! //! @@ -68,7 +68,7 @@ //! different code if a `this` expression is used. //! //! You can use your `Visit` implementation like `node.visit_with(&Invalid{ -//! span: DUMY_SP, }, &mut visitor`. I think API is misdesigned, but it works +//! span: DUMMY_SP, }, &mut visitor`. I think API is mis-designed, but it works //! and there are really lots of code using `Visit` already. pub use either::Either; diff --git a/yarn.lock b/yarn.lock index 5757aabaa98..b5e8d94fa63 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,6 +2,13 @@ # yarn lockfile v1 +"@babel/code-frame@^7.0.0": + version "7.15.8" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.15.8.tgz#45990c47adadb00c03677baa89221f7cc23d2503" + integrity sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg== + dependencies: + "@babel/highlight" "^7.14.5" + "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.14.5.tgz#23b08d740e83f49c5e59945fbf1b43e80bbf4edb" @@ -980,6 +987,227 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +"@cspell/cspell-bundled-dicts@^5.12.3": + version "5.12.3" + resolved "https://registry.yarnpkg.com/@cspell/cspell-bundled-dicts/-/cspell-bundled-dicts-5.12.3.tgz#d4ae61d03c6f991f4b03b03ee718830522bf74d5" + integrity sha512-f3kyUHYxyGqNt2DTphpmP8hr38YTL48wr4Dq7pZDbqDjLkerq9T7ufX2CZ2OfydBEdIgduX2UXwiow7IfdwY/A== + dependencies: + "@cspell/dict-ada" "^1.1.2" + "@cspell/dict-aws" "^1.0.14" + "@cspell/dict-bash" "^1.0.15" + "@cspell/dict-companies" "^1.0.40" + "@cspell/dict-cpp" "^1.1.40" + "@cspell/dict-cryptocurrencies" "^1.0.10" + "@cspell/dict-csharp" "^1.0.11" + "@cspell/dict-css" "^1.0.12" + "@cspell/dict-django" "^1.0.26" + "@cspell/dict-dotnet" "^1.0.31" + "@cspell/dict-elixir" "^1.0.25" + "@cspell/dict-en-gb" "^1.1.33" + "@cspell/dict-en_us" "^2.1.1" + "@cspell/dict-filetypes" "^1.1.8" + "@cspell/dict-fonts" "^1.0.14" + "@cspell/dict-fullstack" "^1.0.38" + "@cspell/dict-golang" "^1.1.24" + "@cspell/dict-haskell" "^1.0.13" + "@cspell/dict-html" "^1.1.9" + "@cspell/dict-html-symbol-entities" "^1.0.23" + "@cspell/dict-java" "^1.0.23" + "@cspell/dict-latex" "^1.0.25" + "@cspell/dict-lorem-ipsum" "^1.0.22" + "@cspell/dict-lua" "^1.0.16" + "@cspell/dict-node" "^1.0.12" + "@cspell/dict-npm" "^1.0.16" + "@cspell/dict-php" "^1.0.24" + "@cspell/dict-powershell" "^1.0.18" + "@cspell/dict-public-licenses" "^1.0.3" + "@cspell/dict-python" "^2.0.3" + "@cspell/dict-ruby" "^1.0.14" + "@cspell/dict-rust" "^1.0.23" + "@cspell/dict-scala" "^1.0.21" + "@cspell/dict-software-terms" "^1.0.47" + "@cspell/dict-typescript" "^1.0.19" + +"@cspell/cspell-types@^5.12.3": + version "5.12.3" + resolved "https://registry.yarnpkg.com/@cspell/cspell-types/-/cspell-types-5.12.3.tgz#bfbebfa29d2f280d99785fdbc3e97bea60b47e5b" + integrity sha512-4l43apk3QGMkpszirKjrRGWmzZVuCyvoa0+kgWCl28dviLKsVonop8liBJaBzjmZbdpe27IKpMrNtj0fOus+fw== + +"@cspell/dict-ada@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@cspell/dict-ada/-/dict-ada-1.1.2.tgz#89556226c1d5f856ce1f7afa85543b04fa477092" + integrity sha512-UDrcYcKIVyXDz5mInJabRNQpJoehjBFvja5W+GQyu9pGcx3BS3cAU8mWENstGR0Qc/iFTxB010qwF8F3cHA/aA== + +"@cspell/dict-aws@^1.0.14": + version "1.0.14" + resolved "https://registry.yarnpkg.com/@cspell/dict-aws/-/dict-aws-1.0.14.tgz#beddede1053ce3622400e36c65da9fd2954e939d" + integrity sha512-K21CfB4ZpKYwwDQiPfic2zJA/uxkbsd4IQGejEvDAhE3z8wBs6g6BwwqdVO767M9NgZqc021yAVpr79N5pWe3w== + +"@cspell/dict-bash@^1.0.15": + version "1.0.16" + resolved "https://registry.yarnpkg.com/@cspell/dict-bash/-/dict-bash-1.0.16.tgz#dff5095894da3754fabad7bb0c3fd54bacb2558d" + integrity sha512-GyxHfX23AWv4iJyKQsQ5lq4qlEXzi/mjyUmCh3LY+jv8Kggqt0F/KCxOHhH7vrFgInnZyuPrRuwxtWv+I2rbwQ== + +"@cspell/dict-companies@^1.0.40": + version "1.0.40" + resolved "https://registry.yarnpkg.com/@cspell/dict-companies/-/dict-companies-1.0.40.tgz#edd7f47fc683dfa1b02cd48fb12ad732d2eece61" + integrity sha512-Aw07qiTroqSST2P5joSrC4uOA05zTXzI2wMb+me3q4Davv1D9sCkzXY0TGoC2vzhNv5ooemRi9KATGaBSdU1sw== + +"@cspell/dict-cpp@^1.1.40": + version "1.1.40" + resolved "https://registry.yarnpkg.com/@cspell/dict-cpp/-/dict-cpp-1.1.40.tgz#f9a859e19d31b83f07a106e4c3c8720a2d93595b" + integrity sha512-sscfB3woNDNj60/yGXAdwNtIRWZ89y35xnIaJVDMk5TPMMpaDvuk0a34iOPIq0g4V+Y8e3RyAg71SH6ADwSjGw== + +"@cspell/dict-cryptocurrencies@^1.0.10": + version "1.0.10" + resolved "https://registry.yarnpkg.com/@cspell/dict-cryptocurrencies/-/dict-cryptocurrencies-1.0.10.tgz#04426fdfee8752818b375686d34a154b2fb40c7d" + integrity sha512-47ABvDJOkaST/rXipNMfNvneHUzASvmL6K/CbOFpYKfsd0x23Jc9k1yaOC7JAm82XSC/8a7+3Yu+Fk2jVJNnsA== + +"@cspell/dict-csharp@^1.0.11": + version "1.0.11" + resolved "https://registry.yarnpkg.com/@cspell/dict-csharp/-/dict-csharp-1.0.11.tgz#cacdf477a31ca8326c2c91bee0b42b9f6b3c4a7c" + integrity sha512-nub+ZCiTgmT87O+swI+FIAzNwaZPWUGckJU4GN402wBq420V+F4ZFqNV7dVALJrGaWH7LvADRtJxi6cZVHJKeA== + +"@cspell/dict-css@^1.0.12": + version "1.0.12" + resolved "https://registry.yarnpkg.com/@cspell/dict-css/-/dict-css-1.0.12.tgz#ec01cec102c8b128aad5e29c97dfb7a982887e12" + integrity sha512-K6yuxej7n454O7dwKG6lHacHrAOMZ0PhMEbmV6qH2JH0U4TtWXfBASYugHvXZCDDx1UObpiJP+3tQJiBqfGpHA== + +"@cspell/dict-django@^1.0.26": + version "1.0.26" + resolved "https://registry.yarnpkg.com/@cspell/dict-django/-/dict-django-1.0.26.tgz#b97ce0112fbe8c3c3ada0387c68971b5e27483ab" + integrity sha512-mn9bd7Et1L2zuibc08GVHTiD2Go3/hdjyX5KLukXDklBkq06r+tb0OtKtf1zKodtFDTIaYekGADhNhA6AnKLkg== + +"@cspell/dict-dotnet@^1.0.31": + version "1.0.32" + resolved "https://registry.yarnpkg.com/@cspell/dict-dotnet/-/dict-dotnet-1.0.32.tgz#412af0bf1f65c5902c8ef8a4f1decae2892790e2" + integrity sha512-9H9vXrgJB4KF8xsyTToXO53cXD33iyfrpT4mhCds+YLUw3P3x3E9myszgJzshnrxYBvQZ+QMII57Qr6SjZVk4Q== + +"@cspell/dict-elixir@^1.0.25": + version "1.0.25" + resolved "https://registry.yarnpkg.com/@cspell/dict-elixir/-/dict-elixir-1.0.25.tgz#bec4fd754c99f646e553184df12df88b54da1c04" + integrity sha512-ZmawoBYjM5k+8fNudRMkK+PpHjhyAFAZt2rUu1EGj2rbCvE3Fn2lhRbDjbreN7nWRvcLRTW+xuPXtKP11X0ahQ== + +"@cspell/dict-en-gb@^1.1.33": + version "1.1.33" + resolved "https://registry.yarnpkg.com/@cspell/dict-en-gb/-/dict-en-gb-1.1.33.tgz#7f1fd90fc364a5cb77111b5438fc9fcf9cc6da0e" + integrity sha512-tKSSUf9BJEV+GJQAYGw5e+ouhEe2ZXE620S7BLKe3ZmpnjlNG9JqlnaBhkIMxKnNFkLY2BP/EARzw31AZnOv4g== + +"@cspell/dict-en_us@^2.1.1": + version "2.1.1" + resolved "https://registry.yarnpkg.com/@cspell/dict-en_us/-/dict-en_us-2.1.1.tgz#3db0fec45a821ad66747e42d303d2448d37a158e" + integrity sha512-7kHOqve9DVFsb1e/wKME3CZhj48zOqvXNaA1Cd82ZkaHf3aL7pUBx3cxI7Xopj/dcK1ZkhUKh+2nBxPIWIibNg== + +"@cspell/dict-filetypes@^1.1.8": + version "1.1.8" + resolved "https://registry.yarnpkg.com/@cspell/dict-filetypes/-/dict-filetypes-1.1.8.tgz#c161ab48667b6539cbc91a70ff0b037fa436a64e" + integrity sha512-EllahNkhzvLWo0ptwu0l3oEeAJOQSUpZnDfnKRIh6mJVehuSovNHwA9vrdZ8jBUjuqcfaN2e7c32zN0D/qvWJQ== + +"@cspell/dict-fonts@^1.0.14": + version "1.0.14" + resolved "https://registry.yarnpkg.com/@cspell/dict-fonts/-/dict-fonts-1.0.14.tgz#7b18129910d30bd23cd9187d0c0009dfc3fef4ba" + integrity sha512-VhIX+FVYAnqQrOuoFEtya6+H72J82cIicz9QddgknsTqZQ3dvgp6lmVnsQXPM3EnzA8n1peTGpLDwHzT7ociLA== + +"@cspell/dict-fullstack@^1.0.38": + version "1.0.39" + resolved "https://registry.yarnpkg.com/@cspell/dict-fullstack/-/dict-fullstack-1.0.39.tgz#65a9031826062a1b9934a87c419fd1c4407ebcb1" + integrity sha512-Mbi+zWdiP9yzL+X4YD9Tgcm5YQ95Ql+Y3vF2LRnOY6g2QWaijTRN1rgksVuxzpFqHi//+bx2uoUb0XEKBYDi8g== + +"@cspell/dict-golang@^1.1.24": + version "1.1.24" + resolved "https://registry.yarnpkg.com/@cspell/dict-golang/-/dict-golang-1.1.24.tgz#3830812aec816eca46a6d793fcc7710c09d4f5b9" + integrity sha512-qq3Cjnx2U1jpeWAGJL1GL0ylEhUMqyaR36Xij6Y6Aq4bViCRp+HRRqk0x5/IHHbOrti45h3yy7ii1itRFo+Xkg== + +"@cspell/dict-haskell@^1.0.13": + version "1.0.13" + resolved "https://registry.yarnpkg.com/@cspell/dict-haskell/-/dict-haskell-1.0.13.tgz#bd159ef474ef427757dd4bc6a66cda977946c927" + integrity sha512-kvl8T84cnYRPpND/P3D86P6WRSqebsbk0FnMfy27zo15L5MLAb3d3MOiT1kW3vEWfQgzUD7uddX/vUiuroQ8TA== + +"@cspell/dict-html-symbol-entities@^1.0.23": + version "1.0.23" + resolved "https://registry.yarnpkg.com/@cspell/dict-html-symbol-entities/-/dict-html-symbol-entities-1.0.23.tgz#0efbdbc7712c9fbe545e14acac637226ac948f2d" + integrity sha512-PV0UBgcBFbBLf/m1wfkVMM8w96kvfHoiCGLWO6BR3Q9v70IXoE4ae0+T+f0CkxcEkacMqEQk/I7vuE9MzrjaNw== + +"@cspell/dict-html@^1.1.9": + version "1.1.9" + resolved "https://registry.yarnpkg.com/@cspell/dict-html/-/dict-html-1.1.9.tgz#e506ca550ffcdad820ba0aa157a48be869f23bf2" + integrity sha512-vvnYia0tyIS5Fdoz+gEQm77MGZZE66kOJjuNpIYyRHCXFAhWdYz3SmkRm6YKJSWSvuO+WBJYTKDvkOxSh3Fx/w== + +"@cspell/dict-java@^1.0.23": + version "1.0.23" + resolved "https://registry.yarnpkg.com/@cspell/dict-java/-/dict-java-1.0.23.tgz#ec95ff2f2c34d5e8e08ba817980b37e387e608cb" + integrity sha512-LcOg9srYLDoNGd8n3kbfDBlZD+LOC9IVcnFCdua1b/luCHNVmlgBx7e677qPu7olpMYOD5TQIVW2OmM1+/6MFA== + +"@cspell/dict-latex@^1.0.25": + version "1.0.25" + resolved "https://registry.yarnpkg.com/@cspell/dict-latex/-/dict-latex-1.0.25.tgz#6ecf5b8b8fdf46cb8a0f070052dd687e25089e59" + integrity sha512-cEgg91Migqcp1SdVV7dUeMxbPDhxdNo6Fgq2eygAXQjIOFK520FFvh/qxyBvW90qdZbIRoU2AJpchyHfGuwZFA== + +"@cspell/dict-lorem-ipsum@^1.0.22": + version "1.0.22" + resolved "https://registry.yarnpkg.com/@cspell/dict-lorem-ipsum/-/dict-lorem-ipsum-1.0.22.tgz#a89f53dadda7d5bfdb978ab61f19d74d2fb69eab" + integrity sha512-yqzspR+2ADeAGUxLTfZ4pXvPl7FmkENMRcGDECmddkOiuEwBCWMZdMP5fng9B0Q6j91hQ8w9CLvJKBz10TqNYg== + +"@cspell/dict-lua@^1.0.16": + version "1.0.16" + resolved "https://registry.yarnpkg.com/@cspell/dict-lua/-/dict-lua-1.0.16.tgz#c0ca43628f8927fc10731fd27cd9ee0af651bf6a" + integrity sha512-YiHDt8kmHJ8nSBy0tHzaxiuitYp+oJ66ffCYuFWTNB3//Y0SI4OGHU3omLsQVeXIfCeVrO4DrVvRDoCls9B5zQ== + +"@cspell/dict-node@^1.0.12": + version "1.0.12" + resolved "https://registry.yarnpkg.com/@cspell/dict-node/-/dict-node-1.0.12.tgz#a7236be30340ff8fe365f62c8d13121fdbe7f51c" + integrity sha512-RPNn/7CSkflAWk0sbSoOkg0ORrgBARUjOW3QjB11KwV1gSu8f5W/ij/S50uIXtlrfoBLqd4OyE04jyON+g/Xfg== + +"@cspell/dict-npm@^1.0.16": + version "1.0.16" + resolved "https://registry.yarnpkg.com/@cspell/dict-npm/-/dict-npm-1.0.16.tgz#86870686cd0af6354a206ab297872db1d84e9c1b" + integrity sha512-RwkuZGcYBxL3Yux3cSG/IOWGlQ1e9HLCpHeyMtTVGYKAIkFAVUnGrz20l16/Q7zUG7IEktBz5O42kAozrEnqMQ== + +"@cspell/dict-php@^1.0.24": + version "1.0.24" + resolved "https://registry.yarnpkg.com/@cspell/dict-php/-/dict-php-1.0.24.tgz#40c15a4c5e1e2deba28841e2b498595b13f0ff88" + integrity sha512-vHCqETX1idT9tN1plkxUFnXMIHjbbrNOINZh1PYSvVlBrOdahSaL/g6dOJZC5QTaaidoU4WXUlgnNb/7JN4Plg== + +"@cspell/dict-powershell@^1.0.18": + version "1.0.19" + resolved "https://registry.yarnpkg.com/@cspell/dict-powershell/-/dict-powershell-1.0.19.tgz#b50d14b3b20e33f86b80318ccd7ef986ecba2549" + integrity sha512-zF/raM/lkhXeHf4I43OtK0gP9rBeEJFArscTVwLWOCIvNk21MJcNoTYoaGw+c056+Q+hJL0psGLO7QN+mxYH1A== + +"@cspell/dict-public-licenses@^1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@cspell/dict-public-licenses/-/dict-public-licenses-1.0.3.tgz#d02ee79f7b7aecd696695e5aba135e6553e154ec" + integrity sha512-sXjxOHJ9Q4rZvE1UbwpwJQ8EXO3fadKBjJIWmz0z+dZAbvTrmz5Ln1Ef9ruJvLPfwAps8m3TCV6Diz60RAQqHg== + +"@cspell/dict-python@^2.0.3": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@cspell/dict-python/-/dict-python-2.0.4.tgz#9c2dc78445ef731b618386628bec8ae9fafa63b7" + integrity sha512-71X/VnyFPm6OPEkqmoVXCJz28RvBgktxy6zF6D5TLt97LbWg2JyRrWSXaf2+seVoLnJQ5CHACxcs+jyEyLhBJA== + +"@cspell/dict-ruby@^1.0.14": + version "1.0.14" + resolved "https://registry.yarnpkg.com/@cspell/dict-ruby/-/dict-ruby-1.0.14.tgz#6ecbda6e0a01e4692abd4a14b64ff8f61d86e161" + integrity sha512-XHBGN4U1y9rjRuqrCA+3yIm2TCdhwwHXpOEcWkNeyXm8K03yPnIrKFS+kap8GTTrLpfNDuFsrmkkQTa7ssXLRA== + +"@cspell/dict-rust@^1.0.23": + version "1.0.23" + resolved "https://registry.yarnpkg.com/@cspell/dict-rust/-/dict-rust-1.0.23.tgz#bcef79f74932d90a07f86efa11a8696788079ad8" + integrity sha512-lR4boDzs79YD6+30mmiSGAMMdwh7HTBAPUFSB0obR3Kidibfc3GZ+MHWZXay5dxZ4nBKM06vyjtanF9VJ8q1Iw== + +"@cspell/dict-scala@^1.0.21": + version "1.0.21" + resolved "https://registry.yarnpkg.com/@cspell/dict-scala/-/dict-scala-1.0.21.tgz#bfda392329061e2352fbcd33d228617742c93831" + integrity sha512-5V/R7PRbbminTpPS3ywgdAalI9BHzcEjEj9ug4kWYvBIGwSnS7T6QCFCiu+e9LvEGUqQC+NHgLY4zs1NaBj2vA== + +"@cspell/dict-software-terms@^1.0.47": + version "1.0.48" + resolved "https://registry.yarnpkg.com/@cspell/dict-software-terms/-/dict-software-terms-1.0.48.tgz#dc45a91c64f9f86df3a047879d9f34aa17435bd0" + integrity sha512-pfF3Ys2gRffu5ElqkH7FQMDMi/iZMyOzpGMb3FSH0PJ2AnRQ5rRNWght1h2L36YxvXl0mWVaFrrfwiOyRIc8ZQ== + +"@cspell/dict-typescript@^1.0.19": + version "1.0.19" + resolved "https://registry.yarnpkg.com/@cspell/dict-typescript/-/dict-typescript-1.0.19.tgz#44f3ad1c93ffc89ebf98fa6964e1634e6612fc30" + integrity sha512-qmJApzoVskDeJnLZzZMaafEDGbEg5Elt4c3Mpg49SWzIHm1N4VXCp5CcFfHsOinJ30dGrs3ARAJGJZIw56kK6A== + "@istanbuljs/load-nyc-config@^1.0.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" @@ -1450,6 +1678,11 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-14.17.7.tgz#e106997493e617edeba52fdbd965930da494113b" integrity sha512-SYTdMaW47se8499q8m0fYKZZRlmq0RaRv6oYmlVm6DUm31l0fhOl1D03X8hGxohCKTI2Bg6w7W0TiYB51aJzag== +"@types/parse-json@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" + integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== + "@types/prettier@^2.1.5": version "2.3.2" resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.3.2.tgz#fc8c2825e4ed2142473b4a81064e6e081463d1b3" @@ -1531,6 +1764,11 @@ ansi-regex@^5.0.0: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg== +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" @@ -1565,6 +1803,11 @@ argparse@^1.0.7: dependencies: sprintf-js "~1.0.2" +array-timsort@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/array-timsort/-/array-timsort-1.0.3.tgz#3c9e4199e54fb2b9c3fe5976396a21614ef0d926" + integrity sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ== + asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" @@ -1757,7 +2000,7 @@ call-bind@^1.0.0: function-bind "^1.1.1" get-intrinsic "^1.0.2" -callsites@^3.0.0: +callsites@^3.0.0, callsites@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== @@ -1786,7 +2029,7 @@ chalk@^2.0.0: escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.1: +chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.1, chalk@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== @@ -1819,6 +2062,14 @@ cjs-module-lexer@^1.0.0: resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz#9f84ba3244a512f3a54e5277e8eef4c489864e40" integrity sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA== +clear-module@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/clear-module/-/clear-module-4.1.1.tgz#bf8ba3b62eb70ee1e0adec90589741425cf32db8" + integrity sha512-ng0E7LeODcT3QkazOckzZqbca+JByQy/Q2Z6qO24YsTp+pLxCfohGz2gJYJqZS0CWTX3LEUiHOqe5KlYeUbEMw== + dependencies: + parent-module "^2.0.0" + resolve-from "^5.0.0" + cli-cursor@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" @@ -1901,11 +2152,44 @@ combined-stream@^1.0.8: dependencies: delayed-stream "~1.0.0" +commander@^2.20.0: + version "2.20.3" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" + integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== + +commander@^8.2.0: + version "8.2.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-8.2.0.tgz#37fe2bde301d87d47a53adeff8b5915db1381ca8" + integrity sha512-LLKxDvHeL91/8MIyTAD5BFMNtoIwztGPMiM/7Bl8rIPmHCZXRxmSWr91h57dpOpnQ6jIUqEWdXE/uBYMfiVZDA== + +comment-json@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/comment-json/-/comment-json-4.1.1.tgz#49df4948704bebb1cc0ffa6910e25669b668b7c5" + integrity sha512-v8gmtPvxhBlhdRBLwdHSjGy9BgA23t9H1FctdQKyUrErPjSrJcdDMqBq9B4Irtm7w3TNYLQJNH6ARKnpyag1sA== + dependencies: + array-timsort "^1.0.3" + core-util-is "^1.0.2" + esprima "^4.0.1" + has-own-prop "^2.0.0" + repeat-string "^1.6.1" + concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= +configstore@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/configstore/-/configstore-5.0.1.tgz#d365021b5df4b98cdd187d6a3b0e3f6a7cc5ed96" + integrity sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA== + dependencies: + dot-prop "^5.2.0" + graceful-fs "^4.1.2" + make-dir "^3.0.0" + unique-string "^2.0.0" + write-file-atomic "^3.0.0" + xdg-basedir "^4.0.0" + convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: version "1.8.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369" @@ -1926,6 +2210,22 @@ core-js@^2.6.11: resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.12.tgz#d9333dfa7b065e347cc5682219d6f690859cc2ec" integrity sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ== +core-util-is@^1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" + integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== + +cosmiconfig@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" + integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== + dependencies: + "@types/parse-json" "^4.0.0" + import-fresh "^3.2.1" + parse-json "^5.0.0" + path-type "^4.0.0" + yaml "^1.10.0" + cross-env@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.3.tgz#865264b29677dc015ba8418918965dd232fc54cf" @@ -1953,6 +2253,81 @@ cross-spawn@^7.0.1, cross-spawn@^7.0.3: shebang-command "^2.0.0" which "^2.0.1" +crypto-random-string@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5" + integrity sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA== + +cspell-gitignore@^5.12.3: + version "5.12.3" + resolved "https://registry.yarnpkg.com/cspell-gitignore/-/cspell-gitignore-5.12.3.tgz#cd0425064f048cc6f40ba791684f068ee0cc130d" + integrity sha512-oPqY6oCVNwFRqcE0FiWNPsyv0EjWiK2N66en6HDZR+pXLZ1CBh8PHcUbRAGt+XHckm27zxbl/sDCKd2m+5yyIA== + dependencies: + cspell-glob "^5.12.3" + find-up "^5.0.0" + +cspell-glob@^5.12.3: + version "5.12.3" + resolved "https://registry.yarnpkg.com/cspell-glob/-/cspell-glob-5.12.3.tgz#31d1b3799f2ced60814730ef1c9332260df44755" + integrity sha512-2ZgzHr01Blch1I1C3jkzb3IIEE7peoFDDAM+MONQdf8JugWrexZsQ3A6nNUuUgtHZYbJC01ZKzB1JunmE84caA== + dependencies: + micromatch "^4.0.4" + +cspell-io@^5.12.3: + version "5.12.3" + resolved "https://registry.yarnpkg.com/cspell-io/-/cspell-io-5.12.3.tgz#19bf52443ac964042b0a2e9103a8c12f3312d494" + integrity sha512-YqIsDPWj4OKyRYDZyZ9InvYBSGJAYbq/OMzCtJ1vCpgzGdm+7pWQkonGZMThPDW33EsSE8GPaT/XTGZbqZuDoA== + +cspell-lib@^5.12.3: + version "5.12.3" + resolved "https://registry.yarnpkg.com/cspell-lib/-/cspell-lib-5.12.3.tgz#47b2ebffe535a82eeed27f539125fef2fcedbb01" + integrity sha512-wiS3X3inzkwr2d6UojVLjzGFxwhnE+HoQYg7cDyC2qqK1Q++36c5bHJGE8564lsVedeAMVbHh81bP7hibg/yUw== + dependencies: + "@cspell/cspell-bundled-dicts" "^5.12.3" + "@cspell/cspell-types" "^5.12.3" + clear-module "^4.1.1" + comment-json "^4.1.1" + configstore "^5.0.1" + cosmiconfig "^7.0.1" + cspell-glob "^5.12.3" + cspell-io "^5.12.3" + cspell-trie-lib "^5.12.3" + find-up "^5.0.0" + fs-extra "^10.0.0" + gensequence "^3.1.1" + import-fresh "^3.3.0" + resolve-from "^5.0.0" + resolve-global "^1.0.0" + vscode-uri "^3.0.2" + +cspell-trie-lib@^5.12.3: + version "5.12.3" + resolved "https://registry.yarnpkg.com/cspell-trie-lib/-/cspell-trie-lib-5.12.3.tgz#31a6fe7ed3016d77768fc4b1dfcfab1a9dd46a93" + integrity sha512-kck/fUcsBeskuHPFSW4tn4yseDWCDTSaXwxTB+G129anzk0w7mz4LliBBfoD8AHo+D102N7nWmcKXxwPUxAXUQ== + dependencies: + fs-extra "^10.0.0" + gensequence "^3.1.1" + +cspell@^5.12.3: + version "5.12.3" + resolved "https://registry.yarnpkg.com/cspell/-/cspell-5.12.3.tgz#1966eb6687f7cdf86e5f96a8c39a140ffac42d55" + integrity sha512-lPyWZHfdQh+xjUZDAQC0gnpjglMu2AEfxBWlziTm3XuYuPGTvNJQSUrkMcH180tA3fkj8q2XFwfxHkXXAxm68w== + dependencies: + chalk "^4.1.2" + commander "^8.2.0" + comment-json "^4.1.1" + cspell-gitignore "^5.12.3" + cspell-glob "^5.12.3" + cspell-lib "^5.12.3" + fast-json-stable-stringify "^2.1.0" + file-entry-cache "^6.0.1" + fs-extra "^10.0.0" + get-stdin "^8.0.0" + glob "^7.2.0" + imurmurhash "^0.1.4" + strip-ansi "^6.0.1" + vscode-uri "^3.0.2" + cssom@^0.4.4: version "0.4.4" resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.4.4.tgz#5a66cf93d2d0b661d80bf6a44fb65f5c2e4e0a10" @@ -2057,6 +2432,13 @@ domexception@^2.0.1: dependencies: webidl-conversions "^5.0.0" +dot-prop@^5.2.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-5.3.0.tgz#90ccce708cd9cd82cc4dc8c3ddd9abdd55b20e88" + integrity sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q== + dependencies: + is-obj "^2.0.0" + electron-to-chromium@^1.3.723: version "1.3.792" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.792.tgz#791b0d8fcf7411885d086193fb49aaef0c1594ca" @@ -2079,6 +2461,13 @@ end-of-stream@^1.1.0: dependencies: once "^1.4.0" +error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + escalade@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" @@ -2175,7 +2564,7 @@ external-editor@^3.0.3: iconv-lite "^0.4.24" tmp "^0.0.33" -fast-json-stable-stringify@^2.0.0: +fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== @@ -2204,6 +2593,13 @@ figures@^3.0.0: dependencies: escape-string-regexp "^1.0.5" +file-entry-cache@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" + integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== + dependencies: + flat-cache "^3.0.4" + fill-range@^7.0.1: version "7.0.1" resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" @@ -2219,6 +2615,27 @@ find-up@^4.0.0, find-up@^4.1.0: locate-path "^5.0.0" path-exists "^4.0.0" +find-up@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" + integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== + dependencies: + locate-path "^6.0.0" + path-exists "^4.0.0" + +flat-cache@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" + integrity sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg== + dependencies: + flatted "^3.1.0" + rimraf "^3.0.2" + +flatted@^3.1.0: + version "3.2.2" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.2.tgz#64bfed5cb68fe3ca78b3eb214ad97b63bedce561" + integrity sha512-JaTY/wtrcSyvXJl4IMFHPKyFur1sE9AUqc0QnhOaJ0CxHtAoIV8pYDzeEfAaNEtGkOfq4gr3LBFmdXW5mOQFnA== + follow-redirects@^1.10.0: version "1.14.1" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.1.tgz#d9114ded0a1cfdd334e164e6662ad02bfd91ff43" @@ -2233,6 +2650,15 @@ form-data@^3.0.0: combined-stream "^1.0.8" mime-types "^2.1.12" +fs-extra@^10.0.0: + version "10.0.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.0.0.tgz#9ff61b655dde53fb34a82df84bb214ce802e17c1" + integrity sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" @@ -2248,6 +2674,11 @@ function-bind@^1.1.1: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== +gensequence@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/gensequence/-/gensequence-3.1.1.tgz#95c1afc7c0680f92942c17f2d6f83f3d26ea97af" + integrity sha512-ys3h0hiteRwmY6BsvSttPmkhC0vEQHPJduANBRtH/dlDPZ0UBIb/dXy80IcckXyuQ6LKg+PloRqvGER9IS7F7g== + gensync@^1.0.0-beta.2: version "1.0.0-beta.2" resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" @@ -2272,6 +2703,11 @@ get-package-type@^0.1.0: resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== +get-stdin@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-8.0.0.tgz#cbad6a73feb75f6eeb22ba9e01f89aa28aa97a53" + integrity sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg== + get-stream@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" @@ -2296,11 +2732,35 @@ glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: once "^1.3.0" path-is-absolute "^1.0.0" +glob@^7.2.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023" + integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + +global-dirs@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445" + integrity sha1-sxnA3UYH81PzvpzKTHL8FIxJ9EU= + dependencies: + ini "^1.3.4" + globals@^11.1.0: version "11.12.0" resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== +graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0: + version "4.2.8" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.8.tgz#e412b8d33f5e006593cbd3cee6df9f2cebbe802a" + integrity sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg== + graceful-fs@^4.2.4: version "4.2.6" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.6.tgz#ff040b2b0853b23c3d31027523706f1885d76bee" @@ -2316,6 +2776,11 @@ has-flag@^4.0.0: resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== +has-own-prop@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/has-own-prop/-/has-own-prop-2.0.0.tgz#f0f95d58f65804f5d218db32563bb85b8e0417af" + integrity sha512-Pq0h+hvsVm6dDEa8x82GnLSYHOzNDt7f0ddFa3FqcQlgzEiptPqL+XrOJNavjOzSYiYWIrgeVYYgGlLmnxwilQ== + has-symbols@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.2.tgz#165d3070c00309752a1236a479331e3ac56f1423" @@ -2362,6 +2827,11 @@ human-signals@^2.1.0: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== +husky@^7.0.2: + version "7.0.2" + resolved "https://registry.yarnpkg.com/husky/-/husky-7.0.2.tgz#21900da0f30199acca43a46c043c4ad84ae88dff" + integrity sha512-8yKEWNX4z2YsofXAMT7KvA1g8p+GxtB1ffV8XtpAEGuXNAbCV5wdNKH+qTpw8SM9fh4aMPDR+yQuKfgnreyZlg== + iconv-lite@0.4.24, iconv-lite@^0.4.24: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" @@ -2374,6 +2844,14 @@ ieee754@^1.1.13: resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== +import-fresh@^3.2.1, import-fresh@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + import-local@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.0.2.tgz#a8cfd0431d1de4a2199703d003e3e62364fa6db6" @@ -2400,6 +2878,11 @@ inherits@2, inherits@^2.0.3, inherits@^2.0.4: resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== +ini@^1.3.4: + version "1.3.8" + resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" + integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== + inquirer@^8.1.0: version "8.1.2" resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.1.2.tgz#65b204d2cd7fb63400edd925dfe428bafd422e3d" @@ -2420,6 +2903,11 @@ inquirer@^8.1.0: strip-ansi "^6.0.0" through "^2.3.6" +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0= + is-ci@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-3.0.0.tgz#c7e7be3c9d8eef7d0fa144390bd1e4b88dc4c994" @@ -2454,6 +2942,11 @@ is-number@^7.0.0: resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== +is-obj@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" + integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== + is-plain-object@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" @@ -2959,7 +3452,7 @@ jju@^1.4.0: resolved "https://registry.yarnpkg.com/jju/-/jju-1.4.0.tgz#a3abe2718af241a2b2904f84a625970f389ae32a" integrity sha1-o6vicYryQaKykE+EpiWXDzia4yo= -js-tokens@^4.0.0: +"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== @@ -3020,6 +3513,11 @@ jsesc@~0.5.0: resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" integrity sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0= +json-parse-even-better-errors@^2.3.0: + version "2.3.1" + resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + json5@^2.1.2: version "2.2.0" resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.0.tgz#2dfefe720c6ba525d9ebd909950f0515316c89a3" @@ -3027,6 +3525,15 @@ json5@^2.1.2: dependencies: minimist "^1.2.5" +jsonfile@^6.0.1: + version "6.1.0" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" + integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== + dependencies: + universalify "^2.0.0" + optionalDependencies: + graceful-fs "^4.1.6" + kleur@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" @@ -3045,6 +3552,11 @@ levn@~0.3.0: prelude-ls "~1.1.2" type-check "~0.3.2" +lines-and-columns@^1.1.6: + version "1.1.6" + resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" + integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= + locate-path@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" @@ -3052,6 +3564,13 @@ locate-path@^5.0.0: dependencies: p-locate "^4.1.0" +locate-path@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" + integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== + dependencies: + p-locate "^5.0.0" + lodash._reinterpolate@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" @@ -3095,6 +3614,13 @@ log-symbols@^4.1.0: chalk "^4.1.0" is-unicode-supported "^0.1.0" +loose-envify@^1.1.0, loose-envify@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" + integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== + dependencies: + js-tokens "^3.0.0 || ^4.0.0" + lru-cache@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" @@ -3227,6 +3753,11 @@ nwsapi@^2.2.0: resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7" integrity sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ== +object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" + integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= + object-keys@^1.0.12, object-keys@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" @@ -3313,6 +3844,13 @@ p-limit@^2.2.0: dependencies: p-try "^2.0.0" +p-limit@^3.0.2: + version "3.1.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" + integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== + dependencies: + yocto-queue "^0.1.0" + p-locate@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" @@ -3320,11 +3858,42 @@ p-locate@^4.1.0: dependencies: p-limit "^2.2.0" +p-locate@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" + integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== + dependencies: + p-limit "^3.0.2" + p-try@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +parent-module@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-2.0.0.tgz#fa71f88ff1a50c27e15d8ff74e0e3a9523bf8708" + integrity sha512-uo0Z9JJeWzv8BG+tRcapBKNJ0dro9cLyczGzulS6EfeyAdeC9sbojtW6XwvYxJkEne9En+J2XEl4zyglVeIwFg== + dependencies: + callsites "^3.1.0" + +parse-json@^5.0.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + parse5@6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/parse5/-/parse5-6.0.1.tgz#e1a1c085c569b3dc08321184f19a39cc27f7c30b" @@ -3355,6 +3924,11 @@ path-parse@^1.0.6: resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + picomatch@^2.0.4, picomatch@^2.2.3: version "2.3.0" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972" @@ -3412,6 +3986,15 @@ prompts@^2.0.1: kleur "^3.0.3" sisteransi "^1.0.5" +prop-types@^15.7.2: + version "15.7.2" + resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5" + integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ== + dependencies: + loose-envify "^1.4.0" + object-assign "^4.1.1" + react-is "^16.8.1" + psl@^1.1.33: version "1.8.0" resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24" @@ -3443,11 +4026,24 @@ putasset@^5.0.3: try-to-catch "^3.0.0" yargs-parser "^18.1.1" +react-is@^16.8.1: + version "16.13.1" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" + integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== + react-is@^17.0.1: version "17.0.2" resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== +react@^17.0.2: + version "17.0.2" + resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037" + integrity sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA== + dependencies: + loose-envify "^1.1.0" + object-assign "^4.1.1" + readable-stream@^3.4.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" @@ -3513,6 +4109,11 @@ regjsparser@^0.6.4: dependencies: jsesc "~0.5.0" +repeat-string@^1.6.1: + version "1.6.1" + resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" + integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc= + require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" @@ -3525,11 +4126,23 @@ resolve-cwd@^3.0.0: dependencies: resolve-from "^5.0.0" +resolve-from@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" + integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== + resolve-from@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== +resolve-global@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/resolve-global/-/resolve-global-1.0.0.tgz#a2a79df4af2ca3f49bf77ef9ddacd322dad19255" + integrity sha512-zFa12V4OLtT5XUX/Q4VLvTfBf+Ok0SPc1FNGM/z9ctUdiU618qwKpWnd0CHs3+RqROfyEg/DhuHbMWYqcgljEw== + dependencies: + global-dirs "^0.1.1" + resolve@^1.14.2, resolve@^1.20.0: version "1.20.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975" @@ -3546,7 +4159,7 @@ restore-cursor@^3.1.0: onetime "^5.1.0" signal-exit "^3.0.2" -rimraf@^3.0.0: +rimraf@^3.0.0, rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== @@ -3656,6 +4269,14 @@ source-map-support@^0.5.19, source-map-support@^0.5.6: buffer-from "^1.0.0" source-map "^0.6.0" +source-map-support@~0.5.20: + version "0.5.20" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.20.tgz#12166089f8f5e5e8c56926b377633392dd2cb6c9" + integrity sha512-n1lZZ8Ve4ksRqizaBQgxXDgKwttHDhyfQjA6YZZn8+AroHbsIz+JjwxQDxbp+7y5OYCI8t1Yk7etjD9CRd2hIw== + dependencies: + buffer-from "^1.0.0" + source-map "^0.6.0" + source-map@^0.5.0: version "0.5.7" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" @@ -3666,7 +4287,7 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== -source-map@^0.7.3: +source-map@^0.7.3, source-map@~0.7.2: version "0.7.3" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383" integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ== @@ -3731,6 +4352,13 @@ strip-ansi@^6.0.0: dependencies: ansi-regex "^5.0.0" +strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-bom@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" @@ -3788,6 +4416,15 @@ terminal-link@^2.0.0: ansi-escapes "^4.2.1" supports-hyperlinks "^2.0.0" +terser@^5.7.1: + version "5.9.0" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.9.0.tgz#47d6e629a522963240f2b55fcaa3c99083d2c351" + integrity sha512-h5hxa23sCdpzcye/7b8YqbE5OwKca/ni0RQz1uRX3tGh8haaGHqcuSqbGRybuAKNdntZ0mDgFNXPJ48xQ2RXKQ== + dependencies: + commander "^2.20.0" + source-map "~0.7.2" + source-map-support "~0.5.20" + test-exclude@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e" @@ -3924,6 +4561,13 @@ unicode-property-aliases-ecmascript@^1.0.4: resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.1.0.tgz#dd57a99f6207bedff4628abefb94c50db941c8f4" integrity sha512-PqSoPh/pWetQ2phoj5RLiaqIk4kCNwoV3CI+LfGmWLKI3rE3kl1h59XpX2BjgDrmbxD9ARtQobPGU1SguCYuQg== +unique-string@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/unique-string/-/unique-string-2.0.0.tgz#39c6451f81afb2749de2b233e3f7c5e8843bd89d" + integrity sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg== + dependencies: + crypto-random-string "^2.0.0" + universal-user-agent@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-5.0.0.tgz#a3182aa758069bf0e79952570ca757de3579c1d9" @@ -3941,6 +4585,11 @@ universalify@^0.1.2: resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== +universalify@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" + integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== + util-deprecate@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" @@ -3955,6 +4604,11 @@ v8-to-istanbul@^8.0.0: convert-source-map "^1.6.0" source-map "^0.7.3" +vscode-uri@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/vscode-uri/-/vscode-uri-3.0.2.tgz#ecfd1d066cb8ef4c3a208decdbab9a8c23d055d0" + integrity sha512-jkjy6pjU1fxUvI51P+gCsxg1u2n8LSt0W6KrCNQceaziKzff74GoWmjVG46KieVzybO1sttPQmYfrwSHey7GUA== + w3c-hr-time@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd" @@ -4069,6 +4723,11 @@ ws@^7.4.6: resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== +xdg-basedir@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-4.0.0.tgz#4bc8d9984403696225ef83a1573cbbcb4e79db13" + integrity sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q== + xml-name-validator@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a" @@ -4089,6 +4748,11 @@ yallist@^4.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== +yaml@^1.10.0: + version "1.10.2" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" + integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== + yargs-parser@^18.1.1: version "18.1.3" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" @@ -4114,3 +4778,8 @@ yargs@^16.0.3: string-width "^4.2.0" y18n "^5.0.5" yargs-parser "^20.2.2" + +yocto-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" + integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==