diff --git a/examples/build-weapp-plugin/config/index.js b/examples/build-weapp-plugin/config/index.js index f13c1e657aeb..702c0808246f 100644 --- a/examples/build-weapp-plugin/config/index.js +++ b/examples/build-weapp-plugin/config/index.js @@ -18,6 +18,12 @@ const config = { framework: 'react', defineConstants: { }, + compiler: { + type: 'webpack5', + prebundle: { + enable: false + } + }, mini: { postcss: { autoprefixer: { diff --git a/examples/build-weapp-plugin/package.json b/examples/build-weapp-plugin/package.json index f5537a7a5478..da58fd803ea5 100644 --- a/examples/build-weapp-plugin/package.json +++ b/examples/build-weapp-plugin/package.json @@ -21,26 +21,25 @@ ], "dependencies": { "@babel/runtime": "^7.7.7", - "@tarojs/components": "3.5.6", - "@tarojs/plugin-framework-react": "3.5.6", - "@tarojs/react": "3.5.6", - "@tarojs/runtime": "3.5.6", - "@tarojs/taro": "3.5.6", - "react": "^17.0.0", - "react-dom": "^17.0.0" + "@tarojs/components": "3.6.24", + "@tarojs/plugin-framework-react": "3.6.24", + "@tarojs/react": "3.6.24", + "@tarojs/runtime": "3.6.24", + "@tarojs/taro": "3.6.24", + "react": "^18.0.0", + "react-dom": "^18.0.0" }, "devDependencies": { "@babel/core": "^7.8.0", - "@tarojs/cli": "3.5.6", - "@tarojs/mini-runner": "3.5.6", - "@tarojs/webpack-runner": "3.5.6", - "@types/react": "^17.0.2", + "@tarojs/cli": "3.6.24", + "@tarojs/webpack5-runner": "3.6.24", + "@types/react": "^18.0.0", "@types/webpack-env": "^1.13.6", - "@typescript-eslint/eslint-plugin": "^4.15.1", - "@typescript-eslint/parser": "^4.15.1", - "babel-preset-taro": "3.5.6", - "eslint": "^6.8.0", - "eslint-config-taro": "3.5.6", + "@typescript-eslint/eslint-plugin": "^5.20.0", + "@typescript-eslint/parser": "^5.20.0", + "babel-preset-taro": "3.6.24", + "eslint": "^8.12.0", + "eslint-config-taro": "3.6.24", "eslint-plugin-import": "^2.12.0", "eslint-plugin-react": "^7.8.2", "eslint-plugin-react-hooks": "^4.2.0", diff --git a/examples/build-weapp-plugin/src/plugin/pages/list/dog.jpg b/examples/build-weapp-plugin/src/plugin/pages/list/dog.jpg new file mode 100644 index 000000000000..2e5211406c8b Binary files /dev/null and b/examples/build-weapp-plugin/src/plugin/pages/list/dog.jpg differ diff --git a/examples/build-weapp-plugin/src/plugin/pages/list/list.tsx b/examples/build-weapp-plugin/src/plugin/pages/list/list.tsx index 335bff72fb77..2106e0bd4618 100644 --- a/examples/build-weapp-plugin/src/plugin/pages/list/list.tsx +++ b/examples/build-weapp-plugin/src/plugin/pages/list/list.tsx @@ -1,7 +1,8 @@ import React, { Component } from 'react' import Taro from '@tarojs/taro' -import { View, Button } from '@tarojs/components' +import { View, Button, Image } from '@tarojs/components' import ListItem from '../../components/listItem/listItem' +import Dog from './dog.jpg' import './list.scss' declare const requireMiniProgram: () => { whoami: string } @@ -52,6 +53,8 @@ export default class Index extends Component { + + ) diff --git a/examples/build-weapp-plugin/yarn.lock b/examples/build-weapp-plugin/yarn.lock index e06972b42369..4d5f867ba072 100644 --- a/examples/build-weapp-plugin/yarn.lock +++ b/examples/build-weapp-plugin/yarn.lock @@ -9,14 +9,7 @@ dependencies: "@jridgewell/trace-mapping" "^0.3.0" -"@babel/code-frame@7.0.0-beta.44": - version "7.0.0-beta.44" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0-beta.44.tgz#2a02643368de80916162be70865c97774f3adbd9" - integrity sha512-cuAuTTIQ9RqcFRJ/Y8PvTh+paepNcaGxwQwjIDRWPXmzzyAeCO4KqS9ikMvq0MCbRk6GlYKwfzStrcP3/jSL8g== - dependencies: - "@babel/highlight" "7.0.0-beta.44" - -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.0.0-beta.44", "@babel/code-frame@^7.14.5", "@babel/code-frame@^7.16.7": +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.16.7.tgz#44416b6bd7624b998f5b1af5d470856c40138789" integrity sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg== @@ -30,6 +23,14 @@ dependencies: "@babel/highlight" "^7.18.6" +"@babel/code-frame@^7.23.5": + version "7.23.5" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.23.5.tgz#9009b69a8c602293476ad598ff53e4562e15c244" + integrity sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA== + dependencies: + "@babel/highlight" "^7.23.4" + chalk "^2.4.2" + "@babel/compat-data@^7.13.11", "@babel/compat-data@^7.16.4", "@babel/compat-data@^7.16.8": version "7.17.0" resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.17.0.tgz#86850b8597ea6962089770952075dcaabb8dba34" @@ -65,17 +66,6 @@ eslint-visitor-keys "^2.1.0" semver "^6.3.0" -"@babel/generator@7.0.0-beta.44": - version "7.0.0-beta.44" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.0.0-beta.44.tgz#c7e67b9b5284afcf69b309b50d7d37f3e5033d42" - integrity sha512-5xVb7hlhjGcdkKpMXgicAVgx8syK5VJz193k0i/0sLP6DzE6lRrU1K3B/rFefgdo9LPGMAOOOAWW4jycj07ShQ== - dependencies: - "@babel/types" "7.0.0-beta.44" - jsesc "^2.5.1" - lodash "^4.2.0" - source-map "^0.5.0" - trim-right "^1.0.1" - "@babel/generator@^7.17.0": version "7.17.0" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.17.0.tgz#7bd890ba706cd86d3e2f727322346ffdbf98f65e" @@ -94,6 +84,16 @@ "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" +"@babel/generator@^7.23.6": + version "7.23.6" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.23.6.tgz#9e1fca4811c77a10580d17d26b57b036133f3c2e" + integrity sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw== + dependencies: + "@babel/types" "^7.23.6" + "@jridgewell/gen-mapping" "^0.3.2" + "@jridgewell/trace-mapping" "^0.3.17" + jsesc "^2.5.1" + "@babel/helper-annotate-as-pure@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.7.tgz#bb2339a7534a9c128e3102024c60760a3a7f3862" @@ -181,6 +181,11 @@ resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz#0c0cee9b35d2ca190478756865bb3528422f51be" integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg== +"@babel/helper-environment-visitor@^7.22.20": + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz#96159db61d34a29dba454c959f5ae4a649ba9167" + integrity sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA== + "@babel/helper-explode-assignable-expression@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.16.7.tgz#12a6d8522fdd834f194e868af6354e8650242b7a" @@ -188,15 +193,6 @@ dependencies: "@babel/types" "^7.16.7" -"@babel/helper-function-name@7.0.0-beta.44": - version "7.0.0-beta.44" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.44.tgz#e18552aaae2231100a6e485e03854bc3532d44dd" - integrity sha512-MHRG2qZMKMFaBavX0LWpfZ2e+hLloT++N7rfM3DYOMUOGCD8cVjqZpwiL8a0bOX3IYcQev1ruciT0gdFFRTxzg== - dependencies: - "@babel/helper-get-function-arity" "7.0.0-beta.44" - "@babel/template" "7.0.0-beta.44" - "@babel/types" "7.0.0-beta.44" - "@babel/helper-function-name@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.16.7.tgz#f1ec51551fb1c8956bc8dd95f38523b6cf375f8f" @@ -214,12 +210,13 @@ "@babel/template" "^7.18.10" "@babel/types" "^7.19.0" -"@babel/helper-get-function-arity@7.0.0-beta.44": - version "7.0.0-beta.44" - resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.44.tgz#d03ca6dd2b9f7b0b1e6b32c56c72836140db3a15" - integrity sha512-w0YjWVwrM2HwP6/H3sEgrSQdkCaxppqFeJtAnB23pRiJB5E/O9Yp7JAAeWBl+gGEgmBFinnTyOv2RN7rcSmMiw== +"@babel/helper-function-name@^7.23.0": + version "7.23.0" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz#1f9a3cdbd5b2698a670c30d2735f9af95ed52759" + integrity sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw== dependencies: - "@babel/types" "7.0.0-beta.44" + "@babel/template" "^7.22.15" + "@babel/types" "^7.23.0" "@babel/helper-get-function-arity@^7.16.7": version "7.16.7" @@ -242,6 +239,13 @@ dependencies: "@babel/types" "^7.18.6" +"@babel/helper-hoist-variables@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz#c01a007dac05c085914e8fb652b339db50d823bb" + integrity sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw== + dependencies: + "@babel/types" "^7.22.5" + "@babel/helper-member-expression-to-functions@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.16.7.tgz#42b9ca4b2b200123c3b7e726b0ae5153924905b0" @@ -331,13 +335,6 @@ dependencies: "@babel/types" "^7.16.0" -"@babel/helper-split-export-declaration@7.0.0-beta.44": - version "7.0.0-beta.44" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.44.tgz#c0b351735e0fbcb3822c8ad8db4e583b05ebd9dc" - integrity sha512-aQ7QowtkgKKzPGf0j6u77kBMdUFVBKNHw2p/3HX/POt5/oz8ec5cs0GwlgM8Hz7ui5EwJnzyfRmkNF1Nx1N7aA== - dependencies: - "@babel/types" "7.0.0-beta.44" - "@babel/helper-split-export-declaration@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz#0b648c0c42da9d3920d85ad585f2778620b8726b" @@ -352,11 +349,23 @@ dependencies: "@babel/types" "^7.18.6" +"@babel/helper-split-export-declaration@^7.22.6": + version "7.22.6" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz#322c61b7310c0997fe4c323955667f18fcefb91c" + integrity sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g== + dependencies: + "@babel/types" "^7.22.5" + "@babel/helper-string-parser@^7.19.4": version "7.19.4" resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== +"@babel/helper-string-parser@^7.23.4": + version "7.23.4" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz#9478c707febcbbe1ddb38a3d91a2e054ae622d83" + integrity sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ== + "@babel/helper-validator-identifier@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz#e8c602438c4a8195751243da9031d1607d247cad" @@ -367,6 +376,11 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== +"@babel/helper-validator-identifier@^7.22.20": + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0" + integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A== + "@babel/helper-validator-option@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz#b203ce62ce5fe153899b617c08957de860de4d23" @@ -401,15 +415,6 @@ "@babel/traverse" "^7.17.0" "@babel/types" "^7.17.0" -"@babel/highlight@7.0.0-beta.44": - version "7.0.0-beta.44" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.0.0-beta.44.tgz#18c94ce543916a80553edcdcf681890b200747d5" - integrity sha512-Il19yJvy7vMFm8AVAh6OZzaFoAd0hbkeMZiX3P5HGD+z7dyI7RzndHB0dg6Urh/VAFfHtpOIzDUSxmY6coyZWQ== - dependencies: - chalk "^2.0.0" - esutils "^2.0.2" - js-tokens "^3.0.0" - "@babel/highlight@^7.16.7": version "7.16.10" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.16.10.tgz#744f2eb81579d6eea753c227b0f570ad785aba88" @@ -428,16 +433,30 @@ chalk "^2.0.0" js-tokens "^4.0.0" +"@babel/highlight@^7.23.4": + version "7.23.4" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.23.4.tgz#edaadf4d8232e1a961432db785091207ead0621b" + integrity sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A== + dependencies: + "@babel/helper-validator-identifier" "^7.22.20" + chalk "^2.4.2" + js-tokens "^4.0.0" + "@babel/parser@^7.14.5", "@babel/parser@^7.18.10", "@babel/parser@^7.19.4": version "7.19.4" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.19.4.tgz#03c4339d2b8971eb3beca5252bafd9b9f79db3dc" integrity sha512-qpVT7gtuOLjWeDTKLkJ6sryqLliBaFpAtGeqw5cs5giLldvh+Ch0plqnUMKoVAUS6ZEueQQiZV+p5pxtPitEsA== -"@babel/parser@^7.16.7", "@babel/parser@^7.17.0", "@babel/parser@^7.3.1": +"@babel/parser@^7.16.7", "@babel/parser@^7.17.0": version "7.17.0" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.17.0.tgz#f0ac33eddbe214e4105363bb17c3341c5ffcc43c" integrity sha512-VKXSCQx5D8S04ej+Dqsr1CzYvvWgf20jIw2D+YhQCrIlr2UZGaDds23Y0xg75/skOxpLCRpUZvk/1EAVkGoDOw== +"@babel/parser@^7.23.0", "@babel/parser@^7.23.9", "@babel/parser@^7.24.0": + version "7.24.0" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.24.0.tgz#26a3d1ff49031c53a97d03b604375f028746a9ac" + integrity sha512-QuP/FxEAzMSjXygs8v4N9dvdXzEHN4W1oF3PxuWAtPo08UdM17u89RDMgjLn/mlc56iM0HlLmVkO/wgR+rDgHg== + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.16.7.tgz#4eda6d6c2a0aa79c70fa7b6da67763dfe2141050" @@ -1209,24 +1228,14 @@ core-js-pure "^3.20.2" regenerator-runtime "^0.13.4" -"@babel/runtime@^7.14.5", "@babel/runtime@^7.7.6", "@babel/runtime@^7.7.7", "@babel/runtime@^7.8.4": +"@babel/runtime@^7.14.5", "@babel/runtime@^7.7.7", "@babel/runtime@^7.8.4": version "7.17.2" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.17.2.tgz#66f68591605e59da47523c631416b18508779941" integrity sha512-hzeyJyMA1YGdJTuWU0e/j4wKXrU4OMFvY2MSlaI9B7VQb0r5cxTE3EAIS2Q7Tn2RIcDkRvTA/v2JsAEhxe99uw== dependencies: regenerator-runtime "^0.13.4" -"@babel/template@7.0.0-beta.44": - version "7.0.0-beta.44" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.0.0-beta.44.tgz#f8832f4fdcee5d59bf515e595fc5106c529b394f" - integrity sha512-w750Sloq0UNifLx1rUqwfbnC6uSUk0mfwwgGRfdLiaUzfAOiH0tHJE6ILQIUi3KYkjiCDTskoIsnfqZvWLBDng== - dependencies: - "@babel/code-frame" "7.0.0-beta.44" - "@babel/types" "7.0.0-beta.44" - babylon "7.0.0-beta.44" - lodash "^4.2.0" - -"@babel/template@^7.0.0", "@babel/template@^7.14.5", "@babel/template@^7.16.7": +"@babel/template@^7.0.0", "@babel/template@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.16.7.tgz#8d126c8701fde4d66b264b3eba3d96f07666d155" integrity sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w== @@ -1244,23 +1253,16 @@ "@babel/parser" "^7.18.10" "@babel/types" "^7.18.10" -"@babel/traverse@7.0.0-beta.44": - version "7.0.0-beta.44" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.0.0-beta.44.tgz#a970a2c45477ad18017e2e465a0606feee0d2966" - integrity sha512-UHuDz8ukQkJCDASKHf+oDt3FVUzFd+QYfuBIsiNu/4+/ix6pP/C+uQZJ6K1oEfbCMv/IKWbgDEh7fcsnIE5AtA== - dependencies: - "@babel/code-frame" "7.0.0-beta.44" - "@babel/generator" "7.0.0-beta.44" - "@babel/helper-function-name" "7.0.0-beta.44" - "@babel/helper-split-export-declaration" "7.0.0-beta.44" - "@babel/types" "7.0.0-beta.44" - babylon "7.0.0-beta.44" - debug "^3.1.0" - globals "^11.1.0" - invariant "^2.2.0" - lodash "^4.2.0" +"@babel/template@^7.22.15": + version "7.24.0" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.24.0.tgz#c6a524aa93a4a05d66aaf31654258fae69d87d50" + integrity sha512-Bkf2q8lMB0AFpX0NFEqSbx1OkTHf0f+0j82mkw+ZpzBnkk7e9Ql0891vlfgi+kHwOk8tQjiQHpqh4LaSa0fKEA== + dependencies: + "@babel/code-frame" "^7.23.5" + "@babel/parser" "^7.24.0" + "@babel/types" "^7.24.0" -"@babel/traverse@^7.13.0", "@babel/traverse@^7.14.5", "@babel/traverse@^7.16.7", "@babel/traverse@^7.16.8", "@babel/traverse@^7.17.0", "@babel/traverse@^7.2.3": +"@babel/traverse@^7.13.0", "@babel/traverse@^7.14.5", "@babel/traverse@^7.16.7", "@babel/traverse@^7.16.8", "@babel/traverse@^7.17.0": version "7.17.0" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.17.0.tgz#3143e5066796408ccc880a33ecd3184f3e75cd30" integrity sha512-fpFIXvqD6kC7c7PUNnZ0Z8cQXlarCLtCUpt2S1Dx7PjoRtCFffvOkHHSom+m5HIxMZn5bIBVb71lhabcmjEsqg== @@ -1292,16 +1294,23 @@ debug "^4.1.0" globals "^11.1.0" -"@babel/types@7.0.0-beta.44": - version "7.0.0-beta.44" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.0.0-beta.44.tgz#6b1b164591f77dec0a0342aca995f2d046b3a757" - integrity sha512-5eTV4WRmqbaFM3v9gHAIljEQJU4Ssc6fxL61JN+Oe2ga/BwyjzjamwkCVVAQjHGuAX8i0BWo42dshL8eO5KfLQ== - dependencies: - esutils "^2.0.2" - lodash "^4.2.0" - to-fast-properties "^2.0.0" +"@babel/traverse@^7.23.2": + version "7.24.0" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.24.0.tgz#4a408fbf364ff73135c714a2ab46a5eab2831b1e" + integrity sha512-HfuJlI8qq3dEDmNU5ChzzpZRWq+oxCZQyMzIMEqLho+AQnhMnKQUzH6ydo3RBl/YjPCuk68Y6s0Gx0AeyULiWw== + dependencies: + "@babel/code-frame" "^7.23.5" + "@babel/generator" "^7.23.6" + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-function-name" "^7.23.0" + "@babel/helper-hoist-variables" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/parser" "^7.24.0" + "@babel/types" "^7.24.0" + debug "^4.3.1" + globals "^11.1.0" -"@babel/types@^7.14.5", "@babel/types@^7.16.0", "@babel/types@^7.16.7", "@babel/types@^7.16.8", "@babel/types@^7.17.0", "@babel/types@^7.4.4": +"@babel/types@^7.16.0", "@babel/types@^7.16.7", "@babel/types@^7.16.8", "@babel/types@^7.17.0", "@babel/types@^7.4.4": version "7.17.0" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.17.0.tgz#a826e368bccb6b3d84acd76acad5c0d87342390b" integrity sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw== @@ -1318,6 +1327,154 @@ "@babel/helper-validator-identifier" "^7.19.1" to-fast-properties "^2.0.0" +"@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.23.6", "@babel/types@^7.24.0": + version "7.24.0" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.24.0.tgz#3b951f435a92e7333eba05b7566fd297960ea1bf" + integrity sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w== + dependencies: + "@babel/helper-string-parser" "^7.23.4" + "@babel/helper-validator-identifier" "^7.22.20" + to-fast-properties "^2.0.0" + +"@devexpress/error-stack-parser@^2.0.6": + version "2.0.6" + resolved "https://registry.yarnpkg.com/@devexpress/error-stack-parser/-/error-stack-parser-2.0.6.tgz#a7c32e54583566bc6abf153c32a8b86d87d1e490" + integrity sha512-fneVypElGUH6Be39mlRZeAu00pccTlf4oVuzf9xPJD1cdEqI8NyAiQua/EW7lZdrbMUbgyXcJmfKPefhYius3A== + dependencies: + stackframe "^1.1.1" + +"@esbuild/aix-ppc64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.19.12.tgz#d1bc06aedb6936b3b6d313bf809a5a40387d2b7f" + integrity sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA== + +"@esbuild/android-arm64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.19.12.tgz#7ad65a36cfdb7e0d429c353e00f680d737c2aed4" + integrity sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA== + +"@esbuild/android-arm@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.19.12.tgz#b0c26536f37776162ca8bde25e42040c203f2824" + integrity sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w== + +"@esbuild/android-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.19.12.tgz#cb13e2211282012194d89bf3bfe7721273473b3d" + integrity sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew== + +"@esbuild/darwin-arm64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.19.12.tgz#cbee41e988020d4b516e9d9e44dd29200996275e" + integrity sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g== + +"@esbuild/darwin-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.19.12.tgz#e37d9633246d52aecf491ee916ece709f9d5f4cd" + integrity sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A== + +"@esbuild/freebsd-arm64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.12.tgz#1ee4d8b682ed363b08af74d1ea2b2b4dbba76487" + integrity sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA== + +"@esbuild/freebsd-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.19.12.tgz#37a693553d42ff77cd7126764b535fb6cc28a11c" + integrity sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg== + +"@esbuild/linux-arm64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.19.12.tgz#be9b145985ec6c57470e0e051d887b09dddb2d4b" + integrity sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA== + +"@esbuild/linux-arm@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.19.12.tgz#207ecd982a8db95f7b5279207d0ff2331acf5eef" + integrity sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w== + +"@esbuild/linux-ia32@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.19.12.tgz#d0d86b5ca1562523dc284a6723293a52d5860601" + integrity sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA== + +"@esbuild/linux-loong64@0.14.54": + version "0.14.54" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.14.54.tgz#de2a4be678bd4d0d1ffbb86e6de779cde5999028" + integrity sha512-bZBrLAIX1kpWelV0XemxBZllyRmM6vgFQQG2GdNb+r3Fkp0FOh1NJSvekXDs7jq70k4euu1cryLMfU+mTXlEpw== + +"@esbuild/linux-loong64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.19.12.tgz#9a37f87fec4b8408e682b528391fa22afd952299" + integrity sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA== + +"@esbuild/linux-mips64el@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.19.12.tgz#4ddebd4e6eeba20b509d8e74c8e30d8ace0b89ec" + integrity sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w== + +"@esbuild/linux-ppc64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.19.12.tgz#adb67dadb73656849f63cd522f5ecb351dd8dee8" + integrity sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg== + +"@esbuild/linux-riscv64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.19.12.tgz#11bc0698bf0a2abf8727f1c7ace2112612c15adf" + integrity sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg== + +"@esbuild/linux-s390x@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.19.12.tgz#e86fb8ffba7c5c92ba91fc3b27ed5a70196c3cc8" + integrity sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg== + +"@esbuild/linux-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.19.12.tgz#5f37cfdc705aea687dfe5dfbec086a05acfe9c78" + integrity sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg== + +"@esbuild/netbsd-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.19.12.tgz#29da566a75324e0d0dd7e47519ba2f7ef168657b" + integrity sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA== + +"@esbuild/openbsd-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.19.12.tgz#306c0acbdb5a99c95be98bdd1d47c916e7dc3ff0" + integrity sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw== + +"@esbuild/sunos-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.19.12.tgz#0933eaab9af8b9b2c930236f62aae3fc593faf30" + integrity sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA== + +"@esbuild/win32-arm64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.19.12.tgz#773bdbaa1971b36db2f6560088639ccd1e6773ae" + integrity sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A== + +"@esbuild/win32-ia32@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.19.12.tgz#000516cad06354cc84a73f0943a4aa690ef6fd67" + integrity sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ== + +"@esbuild/win32-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.19.12.tgz#c57c8afbb4054a3ab8317591a0b7320360b444ae" + integrity sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA== + +"@eslint-community/eslint-utils@^4.2.0": + version "4.4.0" + resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" + integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA== + dependencies: + eslint-visitor-keys "^3.3.0" + +"@eslint-community/regexpp@^4.4.0": + version "4.10.0" + resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.10.0.tgz#548f6de556857c8bb73bbee70c35dc82a2e74d63" + integrity sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA== + "@eslint/eslintrc@^1.3.3": version "1.3.3" resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.3.3.tgz#2b044ab39fdfa75b4688184f9e573ce3c5b0ff95" @@ -1333,10 +1490,25 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@gar/promisify@^1.0.1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.2.tgz#30aa825f11d438671d585bd44e7fd564535fc210" - integrity sha512-82cpyJyKRoQoRi+14ibCeGPu0CwypgtBAdBhq1WfvagpCZNKqwXbKwXllYSMG91DhmG4jt9gN8eP6lGOtozuaw== +"@eslint/eslintrc@^2.0.3": + version "2.1.4" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.4.tgz#388a269f0f25c1b6adc317b5a2c55714894c70ad" + integrity sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ== + dependencies: + ajv "^6.12.4" + debug "^4.3.2" + espree "^9.6.0" + globals "^13.19.0" + ignore "^5.2.0" + import-fresh "^3.2.1" + js-yaml "^4.1.0" + minimatch "^3.1.2" + strip-json-comments "^3.1.1" + +"@eslint/js@8.41.0": + version "8.41.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.41.0.tgz#080321c3b68253522f7646b55b577dd99d2950b3" + integrity sha512-LxcyMGxwmTh2lY9FwHPGWOHmYFCZvbrFCBZL4FzSSsxsRPuhrYUg/49/0KDfW8tnIEaEHtfmn6+NPN+1DqaNmA== "@hapi/hoek@^9.0.0": version "9.2.1" @@ -1359,6 +1531,15 @@ debug "^4.1.1" minimatch "^3.0.4" +"@humanwhocodes/config-array@^0.11.8": + version "0.11.14" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.14.tgz#d78e481a039f7566ecc9660b4ea7fe6b1fec442b" + integrity sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg== + dependencies: + "@humanwhocodes/object-schema" "^2.0.2" + debug "^4.3.1" + minimatch "^3.0.5" + "@humanwhocodes/module-importer@^1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" @@ -1369,6 +1550,32 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== +"@humanwhocodes/object-schema@^2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz#d9fae00a2d5cb40f92cfe64b47ad749fbc38f917" + integrity sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw== + +"@isaacs/cliui@^8.0.2": + version "8.0.2" + resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" + integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA== + dependencies: + string-width "^5.1.2" + string-width-cjs "npm:string-width@^4.2.0" + strip-ansi "^7.0.1" + strip-ansi-cjs "npm:strip-ansi@^6.0.1" + wrap-ansi "^8.1.0" + wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" + +"@jridgewell/gen-mapping@^0.3.0": + version "0.3.5" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz#dcce6aff74bdf6dad1a95802b69b04a2fcb1fb36" + integrity sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg== + dependencies: + "@jridgewell/set-array" "^1.2.1" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.24" + "@jridgewell/gen-mapping@^0.3.2": version "0.3.2" resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz#c1aedc61e853f2bb9f5dfe6d4442d3b565b253b9" @@ -1388,11 +1595,29 @@ resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.0.5.tgz#68eb521368db76d040a6315cdb24bf2483037b9c" integrity sha512-VPeQ7+wH0itvQxnG+lIzWgkysKIr3L9sslimFW55rHMdGu/qCQ5z5h9zq4gI8uBtqkpHhsF4Z/OwExufUCThew== +"@jridgewell/resolve-uri@^3.1.0": + version "3.1.2" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#7a0ee601f60f99a20c7c7c5ff0c80388c1189bd6" + integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== + "@jridgewell/set-array@^1.0.1": version "1.1.2" resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== +"@jridgewell/set-array@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.2.1.tgz#558fb6472ed16a4c850b889530e6b36438c49280" + integrity sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A== + +"@jridgewell/source-map@^0.3.3": + version "0.3.5" + resolved "https://registry.yarnpkg.com/@jridgewell/source-map/-/source-map-0.3.5.tgz#a3bb4d5c6825aab0d281268f47f6ad5853431e91" + integrity sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ== + dependencies: + "@jridgewell/gen-mapping" "^0.3.0" + "@jridgewell/trace-mapping" "^0.3.9" + "@jridgewell/sourcemap-codec@1.4.14": version "1.4.14" resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" @@ -1403,6 +1628,11 @@ resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.11.tgz#771a1d8d744eeb71b6adb35808e1a6c7b9b8c8ec" integrity sha512-Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg== +"@jridgewell/sourcemap-codec@^1.4.14", "@jridgewell/sourcemap-codec@^1.4.15": + version "1.4.15" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" + integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== + "@jridgewell/trace-mapping@^0.3.0": version "0.3.4" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.4.tgz#f6a0832dffd5b8a6aaa633b7d9f8e8e94c83a0c3" @@ -1411,6 +1641,14 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" +"@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.20", "@jridgewell/trace-mapping@^0.3.24": + version "0.3.25" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz#15f190e98895f3fc23276ee14bc76b675c2e50f0" + integrity sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ== + dependencies: + "@jridgewell/resolve-uri" "^3.1.0" + "@jridgewell/sourcemap-codec" "^1.4.14" + "@jridgewell/trace-mapping@^0.3.9": version "0.3.17" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz#793041277af9073b0951a7fe0f0d8c4c98c36985" @@ -1419,6 +1657,11 @@ "@jridgewell/resolve-uri" "3.1.0" "@jridgewell/sourcemap-codec" "1.4.14" +"@leichtgewicht/ip-codec@^2.0.1": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz#b2ac626d6cb9c8718ab459166d4bb405b8ffa78b" + integrity sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A== + "@mrmlnc/readdir-enhanced@^2.2.1": version "2.2.1" resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde" @@ -1427,6 +1670,11 @@ call-me-maybe "^1.0.1" glob-to-regexp "^0.3.0" +"@napi-rs/triples@1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@napi-rs/triples/-/triples-1.2.0.tgz#bcd9c936acb93890e7015818e0181f3db421aafa" + integrity sha512-HAPjR3bnCsdXBsATpDIP5WCrw0JcACwhhrwIAQhiR46n+jm+a2F8kBsfseAuWtSyQ+H3Yebt2k43B5dy+04yMA== + "@nicolo-ribaudo/eslint-scope-5-internals@5.1.1-v1": version "5.1.1-v1" resolved "https://registry.yarnpkg.com/@nicolo-ribaudo/eslint-scope-5-internals/-/eslint-scope-5-internals-5.1.1-v1.tgz#dbf733a965ca47b1973177dc0bb6c889edcfb129" @@ -1452,7 +1700,7 @@ resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b" integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw== -"@nodelib/fs.walk@^1.2.3": +"@nodelib/fs.walk@^1.2.3", "@nodelib/fs.walk@^1.2.8": version "1.2.8" resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== @@ -1460,21 +1708,17 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@npmcli/fs@^1.0.0": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-1.1.1.tgz#72f719fe935e687c56a4faecf3c03d06ba593257" - integrity sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ== +"@parcel/css@^1.4.0": + version "1.14.0" + resolved "https://registry.yarnpkg.com/@parcel/css/-/css-1.14.0.tgz#233750a1e3648b3746f27c2d8f3fd85a2290e512" + integrity sha512-r5tJWe6NF6lesfPw1N3g7N7WUKpHqi2ONnw9wl5ccSGGIxkmgcPaPQxfvmhdjXvQnktSuIOR0HjQXVXu+/en/w== dependencies: - "@gar/promisify" "^1.0.1" - semver "^7.3.5" + lightningcss "^1.14.0" -"@npmcli/move-file@^1.0.1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@npmcli/move-file/-/move-file-1.1.2.tgz#1a82c3e372f7cae9253eb66d72543d6b8685c674" - integrity sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg== - dependencies: - mkdirp "^1.0.4" - rimraf "^3.0.2" +"@pkgjs/parseargs@^0.11.0": + version "0.11.0" + resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" + integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== "@sideway/address@^4.1.3": version "4.1.4" @@ -1503,113 +1747,86 @@ resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.7.0.tgz#9a06f4f137ee84d7df0460c1fdb1135ffa6c50fd" integrity sha512-ONhaKPIufzzrlNbqtWFFd+jlnemX6lJAgq9ZeiZtS7I1PIf/la7CW4m83rTXRnVnsMbW2k56pGYu7AUFJD9Pow== -"@stencil/core@~2.13.0": - version "2.13.0" - resolved "https://registry.yarnpkg.com/@stencil/core/-/core-2.13.0.tgz#993fd74a5c7c8fe8af75848ca9df2211cd05b818" - integrity sha512-EEKHOHgYpg3/iFUKMXTZJjUayRul7sXDwNw0OGgkEOe4t7JWiibDkzUHuruvpbqEydX+z1+ez5K2bMMY76c2wA== - -"@stencil/sass@1.5.2": - version "1.5.2" - resolved "https://registry.yarnpkg.com/@stencil/sass/-/sass-1.5.2.tgz#861dffe90a8d911b6b2af4a36d8928b5264a8646" - integrity sha512-nJ93pUSylsGsMX0eLmhxh1oEljcUjj5mYjhB9ziCdoaydAdjukrUoqDCC7tdVbOcBo2hKptQyWqCtETnBGYsXQ== - -"@swc/core-android-arm-eabi@1.3.9": - version "1.3.9" - resolved "https://registry.yarnpkg.com/@swc/core-android-arm-eabi/-/core-android-arm-eabi-1.3.9.tgz#6ab77525f2d22fcd321d0e29704d0820608b9e18" - integrity sha512-+F+sU2l49Po4tJoNtIpFwt0k1sspymvPMM+DCpnkHF1idzRiOU5NGgVzmLDjoO9AnxHa7EBJ3itN+PP2Dd06+A== - dependencies: - "@swc/wasm" "1.2.122" - -"@swc/core-android-arm64@1.3.9": - version "1.3.9" - resolved "https://registry.yarnpkg.com/@swc/core-android-arm64/-/core-android-arm64-1.3.9.tgz#d9467488dd9c00d50180f9ccded9eed6f54e4423" - integrity sha512-HSWdex3yd4CRefkM2WVz0nTKjpirNZnwSlghqe4ct9QAYGMiiPesYgWPAnq/PpnYfmjQse4yvEclamGiek6zDA== - dependencies: - "@swc/wasm" "1.2.130" - -"@swc/core-darwin-arm64@1.3.9": - version "1.3.9" - resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.3.9.tgz#60ad2157bfa67038cf94fa0f9169f5d2609f6011" - integrity sha512-E7WJY1LsMJtOtUYc/JXl8qlt6USnzodWmdO1eAAOSAODEdX9AjgG3fRT94o3UcmvMrto7sxBXVExj8wG7Cxeng== - -"@swc/core-darwin-x64@1.3.9": - version "1.3.9" - resolved "https://registry.yarnpkg.com/@swc/core-darwin-x64/-/core-darwin-x64-1.3.9.tgz#947095894b526c90724f273b968e124019a3c267" - integrity sha512-0+dFCAcLEBxwIO+0Nt+OT8mjPpvBMBWIuFWB1DNiUu2K73+OB0i+llzsCJFoasISHR+YJD0bGyv+8AtVuUdFAw== - -"@swc/core-freebsd-x64@1.3.9": - version "1.3.9" - resolved "https://registry.yarnpkg.com/@swc/core-freebsd-x64/-/core-freebsd-x64-1.3.9.tgz#ebcb068df6528f824c803329d43d752889eef46f" - integrity sha512-JbHIeklQPRBEZUfKAKt/IB/ayi7dJZ9tEGu/fDxNfk8Znu1Md+YOKRyN5FPMXfYrL5yFUXnlFOb2LX6wjNhhjQ== - dependencies: - "@swc/wasm" "1.2.130" - -"@swc/core-linux-arm-gnueabihf@1.3.9": - version "1.3.9" - resolved "https://registry.yarnpkg.com/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.3.9.tgz#0882d86a301f5eece588ec41fe7f1d0c9629f2c7" - integrity sha512-Yc1G8FGXmq6yGKtu5wYCcvVWBtqU0/3FUk6zJM+7pFiivKsVHJcgWrkgLO1u6h7bgEdQIYwfM3/BbRNE5CtdnA== - dependencies: - "@swc/wasm" "1.2.130" - -"@swc/core-linux-arm64-gnu@1.3.9": - version "1.3.9" - resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.3.9.tgz#6bcf96a3826b069cb053f4b9b9f9148388d0f067" - integrity sha512-PrBjmPIMhoQLCpfaZl2b1cCXnaNPddQB/ssMVqQ6eXChBJfcv14M5BjxtI2ORi4HoEDlsbX+k50sL666M3lnBw== - -"@swc/core-linux-arm64-musl@1.3.9": - version "1.3.9" - resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.3.9.tgz#cac78de3fcdd22417532d95ddc7c229ccfef9920" - integrity sha512-jJT56vt81o2N3O2nXp+MZGM6mbgkNx6lvvRT6yISW29fLM6NHBXmkGcjaWOD9VFJDRmu/MtFxbElPxr6ikrFYQ== - -"@swc/core-linux-x64-gnu@1.3.9": - version "1.3.9" - resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.3.9.tgz#e457e5f50ecc344278f69e90aafdcef4a152bae8" - integrity sha512-60ZreTvrJk3N7xvPzQeQJDePsXUmSUZkKD6lc0xzug4bv53NyUIQ8gH8nzVsV++D9NZeVxXp6WqqFLcgt7yEDQ== - -"@swc/core-linux-x64-musl@1.3.9": - version "1.3.9" - resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.3.9.tgz#0009205aeb5a42009794d75949f79d622563dac3" - integrity sha512-UBApPfUSP+w6ye6V1oT4EGh3LFCFrZaQsC1CkTuiYXXSmQMzkYE0Jzegn3R7MHWCJSneRwXRTKrkdhrNBUqWKA== - -"@swc/core-win32-arm64-msvc@1.3.9": - version "1.3.9" - resolved "https://registry.yarnpkg.com/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.3.9.tgz#2f4522c3da4d37dd08c1249a837c4a6643571c0a" - integrity sha512-4FQSalXbbnqTLVGRljRnw/bJ99Jwj1WnXz/aJM/SVL8S9Zbc82+3v+wXL/9NGwaAndu2QUkb2KPYNAHvB7PCdw== - dependencies: - "@swc/wasm" "1.2.130" - -"@swc/core-win32-ia32-msvc@1.3.9": - version "1.3.9" - resolved "https://registry.yarnpkg.com/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.3.9.tgz#e5dd2830a103b8fcb89e843cc6cd0587dbd9140a" - integrity sha512-ZkTw1Cm+b2QBf/NjkJJbocvgT0NWdfPQL0OyMkuTAinRzfrMmq/lmshjnqj3ysFVeI4uuJTNemiT6mivpLmuBw== - dependencies: - "@swc/wasm" "1.2.130" - -"@swc/core-win32-x64-msvc@1.3.9": - version "1.3.9" - resolved "https://registry.yarnpkg.com/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.3.9.tgz#49462ebcaed4caa5a3f99dcd2a48035b870750ae" - integrity sha512-moKi2prCKzYnXXlrLf5nwAN4uGSm4YpsW2xzYiZWJJDRqu74VoUWoDkG25jalHTfN/PSBQg4dkFWhhUe89JJVw== - -"@swc/core@^1.2.204": - version "1.3.9" - resolved "https://registry.yarnpkg.com/@swc/core/-/core-1.3.9.tgz#9dcc342cbcbe72ba6613a23840a2092c13699881" - integrity sha512-PCRCO9vIoEX3FyS3z/FkWVYJzuspUq0LLaWdK3L30+KQDtH29K+LQdRc2Dzin2MU5MpY4bSHydAwl9M6cmZ9OA== +"@stencil/core@^2.22.2": + version "2.22.3" + resolved "https://registry.yarnpkg.com/@stencil/core/-/core-2.22.3.tgz#83987e20bba855c450f6d6780e3a20192603f13f" + integrity sha512-kmVA0M/HojwsfkeHsifvHVIYe4l5tin7J5+DLgtl8h6WWfiMClND5K3ifCXXI2ETDNKiEk21p6jql3Fx9o2rng== + +"@swc/core-darwin-arm64@1.3.96": + version "1.3.96" + resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.3.96.tgz#7c1c4245ce3f160a5b36a48ed071e3061a839e1d" + integrity sha512-8hzgXYVd85hfPh6mJ9yrG26rhgzCmcLO0h1TIl8U31hwmTbfZLzRitFQ/kqMJNbIBCwmNH1RU2QcJnL3d7f69A== + +"@swc/core-darwin-x64@1.3.96": + version "1.3.96" + resolved "https://registry.yarnpkg.com/@swc/core-darwin-x64/-/core-darwin-x64-1.3.96.tgz#4720ff897ca3f22fe77d0be688968161480c80f0" + integrity sha512-mFp9GFfuPg+43vlAdQZl0WZpZSE8sEzqL7sr/7Reul5McUHP0BaLsEzwjvD035ESfkY8GBZdLpMinblIbFNljQ== + +"@swc/core-linux-arm-gnueabihf@1.3.96": + version "1.3.96" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.3.96.tgz#2c238ae00b13918ac058b132a31dc57dbcf94e39" + integrity sha512-8UEKkYJP4c8YzYIY/LlbSo8z5Obj4hqcv/fUTHiEePiGsOddgGf7AWjh56u7IoN/0uEmEro59nc1ChFXqXSGyg== + +"@swc/core-linux-arm64-gnu@1.3.96": + version "1.3.96" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.3.96.tgz#be2e84506b9761b561fb9a341e587f8594a8e55d" + integrity sha512-c/IiJ0s1y3Ymm2BTpyC/xr6gOvoqAVETrivVXHq68xgNms95luSpbYQ28rqaZC8bQC8M5zdXpSc0T8DJu8RJGw== + +"@swc/core-linux-arm64-musl@1.3.96": + version "1.3.96" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.3.96.tgz#22c9ce17bd923ae358760e668ca33c90210c2ae5" + integrity sha512-i5/UTUwmJLri7zhtF6SAo/4QDQJDH2fhYJaBIUhrICmIkRO/ltURmpejqxsM/ye9Jqv5zG7VszMC0v/GYn/7BQ== + +"@swc/core-linux-x64-gnu@1.3.96": + version "1.3.96" + resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.3.96.tgz#c17c072e338341c0ac3507a31ab2a36d16d79c98" + integrity sha512-USdaZu8lTIkm4Yf9cogct/j5eqtdZqTgcTib4I+NloUW0E/hySou3eSyp3V2UAA1qyuC72ld1otXuyKBna0YKQ== + +"@swc/core-linux-x64-musl@1.3.96": + version "1.3.96" + resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.3.96.tgz#eb74594a48b4e9cabdce7f5525b3b946f8d6dd16" + integrity sha512-QYErutd+G2SNaCinUVobfL7jWWjGTI0QEoQ6hqTp7PxCJS/dmKmj3C5ZkvxRYcq7XcZt7ovrYCTwPTHzt6lZBg== + +"@swc/core-win32-arm64-msvc@1.3.96": + version "1.3.96" + resolved "https://registry.yarnpkg.com/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.3.96.tgz#6f7c0d20d80534b0676dc6761904288c16e93857" + integrity sha512-hjGvvAduA3Un2cZ9iNP4xvTXOO4jL3G9iakhFsgVhpkU73SGmK7+LN8ZVBEu4oq2SUcHO6caWvnZ881cxGuSpg== + +"@swc/core-win32-ia32-msvc@1.3.96": + version "1.3.96" + resolved "https://registry.yarnpkg.com/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.3.96.tgz#47bb24ef2e4c81407a6786649246983cc69e7854" + integrity sha512-Far2hVFiwr+7VPCM2GxSmbh3ikTpM3pDombE+d69hkedvYHYZxtTF+2LTKl/sXtpbUnsoq7yV/32c9R/xaaWfw== + +"@swc/core-win32-x64-msvc@1.3.96": + version "1.3.96" + resolved "https://registry.yarnpkg.com/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.3.96.tgz#c796e3df7afe2875d227c74add16a7d09c77d8bd" + integrity sha512-4VbSAniIu0ikLf5mBX81FsljnfqjoVGleEkCQv4+zRlyZtO3FHoDPkeLVoy6WRlj7tyrRcfUJ4mDdPkbfTO14g== + +"@swc/core@1.3.96": + version "1.3.96" + resolved "https://registry.yarnpkg.com/@swc/core/-/core-1.3.96.tgz#f04d58b227ceed2fee6617ce2cdddf21d0803f96" + integrity sha512-zwE3TLgoZwJfQygdv2SdCK9mRLYluwDOM53I+dT6Z5ZvrgVENmY3txvWDvduzkV+/8IuvrRbVezMpxcojadRdQ== + dependencies: + "@swc/counter" "^0.1.1" + "@swc/types" "^0.1.5" optionalDependencies: - "@swc/core-android-arm-eabi" "1.3.9" - "@swc/core-android-arm64" "1.3.9" - "@swc/core-darwin-arm64" "1.3.9" - "@swc/core-darwin-x64" "1.3.9" - "@swc/core-freebsd-x64" "1.3.9" - "@swc/core-linux-arm-gnueabihf" "1.3.9" - "@swc/core-linux-arm64-gnu" "1.3.9" - "@swc/core-linux-arm64-musl" "1.3.9" - "@swc/core-linux-x64-gnu" "1.3.9" - "@swc/core-linux-x64-musl" "1.3.9" - "@swc/core-win32-arm64-msvc" "1.3.9" - "@swc/core-win32-ia32-msvc" "1.3.9" - "@swc/core-win32-x64-msvc" "1.3.9" - -"@swc/register@^0.1.10": + "@swc/core-darwin-arm64" "1.3.96" + "@swc/core-darwin-x64" "1.3.96" + "@swc/core-linux-arm-gnueabihf" "1.3.96" + "@swc/core-linux-arm64-gnu" "1.3.96" + "@swc/core-linux-arm64-musl" "1.3.96" + "@swc/core-linux-x64-gnu" "1.3.96" + "@swc/core-linux-x64-musl" "1.3.96" + "@swc/core-win32-arm64-msvc" "1.3.96" + "@swc/core-win32-ia32-msvc" "1.3.96" + "@swc/core-win32-x64-msvc" "1.3.96" + +"@swc/counter@^0.1.1": + version "0.1.3" + resolved "https://registry.yarnpkg.com/@swc/counter/-/counter-0.1.3.tgz#cc7463bd02949611c6329596fccd2b0ec782b0e9" + integrity sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ== + +"@swc/register@0.1.10": version "0.1.10" resolved "https://registry.yarnpkg.com/@swc/register/-/register-0.1.10.tgz#74a20b7559669e03479b05e9e5c6d1524d4d92a2" integrity sha512-6STwH/q4dc3pitXLVkV7sP0Hiy+zBsU2wOF1aXpXR95pnH3RYHKIsDC+gvesfyB7jxNT9OOZgcqOp9RPxVTx9A== @@ -1618,15 +1835,10 @@ pirates "^4.0.1" source-map-support "^0.5.13" -"@swc/wasm@1.2.122": - version "1.2.122" - resolved "https://registry.yarnpkg.com/@swc/wasm/-/wasm-1.2.122.tgz#87a5e654b26a71b2e84b801f41e45f823b856639" - integrity sha512-sM1VCWQxmNhFtdxME+8UXNyPNhxNu7zdb6ikWpz0YKAQQFRGT5ThZgJrubEpah335SUToNg8pkdDF7ibVCjxbQ== - -"@swc/wasm@1.2.130": - version "1.2.130" - resolved "https://registry.yarnpkg.com/@swc/wasm/-/wasm-1.2.130.tgz#88ac26433335d1f957162a9a92f1450b73c176a0" - integrity sha512-rNcJsBxS70+pv8YUWwf5fRlWX6JoY/HJc25HD/F8m6Kv7XhJdqPPMhyX6TKkUBPAG7TWlZYoxa+rHAjPy4Cj3Q== +"@swc/types@^0.1.5": + version "0.1.5" + resolved "https://registry.yarnpkg.com/@swc/types/-/types-0.1.5.tgz#043b731d4f56a79b4897a3de1af35e75d56bc63a" + integrity sha512-myfUej5naTBWnqOCc/MdVOLVjXUXtIA+NpDrDBKJtLLg2shUjBu3cZmB/85RyitKc55+lUUyl7oRfLOvkr2hsw== "@szmarczak/http-timer@^1.1.2": version "1.1.2" @@ -1635,79 +1847,104 @@ dependencies: defer-to-connect "^1.0.1" -"@tarojs/api@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/api/-/api-3.5.6.tgz#9dac5c4ce47899bec7414524b849ee1c210ccf73" - integrity sha512-xqurkDz4/Cy8yaeUEEquogo9UogjhCjZWJmdE6Gx/CCooHLiuifyDZ2R2RaM6plQAJzue/MiTA5c6caBmZHCmQ== +"@tarojs/api@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/api/-/api-3.6.24.tgz#50378635cf95d0cc74f9599e4335fbbf01ed65c4" + integrity sha512-q7/fkhHyL+z2p/GAZB5jsSgUHHGfkD7ORL12ZBC9ocaLPEgTjzie2S5a4hJ4gDX6z+J9DA/Ief/D6kaehk0yMQ== dependencies: "@babel/runtime" "^7.14.5" - "@tarojs/runtime" "3.5.6" - -"@tarojs/cli@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/cli/-/cli-3.5.6.tgz#a070d96685c38a16de775b651ee070d2b387af77" - integrity sha512-thja1E5y5UVCXNjJAYPJDcF9JIEwE1o2tQUsgjfFN1YCQtVt7Jo2ajl6rfQIWBfoOK5+aJWpmurJvnMEqsprZQ== - dependencies: - "@babel/template" "^7.14.5" - "@babel/traverse" "^7.14.5" - "@babel/types" "^7.14.5" - "@tarojs/helper" "3.5.6" - "@tarojs/service" "3.5.6" - "@tarojs/shared" "3.5.6" - "@tarojs/taroize" "3.5.6" - "@tarojs/transformer-wx" "^2.0.4" + "@tarojs/runtime" "3.6.24" + "@tarojs/shared" "3.6.24" + +"@tarojs/binding-darwin-arm64@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/binding-darwin-arm64/-/binding-darwin-arm64-3.6.24.tgz#88426dfd672c8ff5fd1b4978c420e8085d765365" + integrity sha512-GfUOwc9Y+U5Jf0UhVw7BKAZh9a2YVoStTpGO3KrRU1+P3CtxVRU0WS0HeXVJ9bO4BJ1H/Y4WAwnjNkMXaWap0A== + +"@tarojs/binding-darwin-x64@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/binding-darwin-x64/-/binding-darwin-x64-3.6.24.tgz#76c5dc16a0bb37987b36a838a16126d49edd2087" + integrity sha512-QXB/yU/bJ968JyYv/Ai7zG0X2S1Bw81UbGMohPc/oA7/9hAf/NcXV06Eah95FIy0EOUvJpOIf8ip/f6qlrIdjw== + +"@tarojs/binding-linux-x64-gnu@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/binding-linux-x64-gnu/-/binding-linux-x64-gnu-3.6.24.tgz#4d9ab823662f985cef0ed3ac9e7f1923f09ed7ba" + integrity sha512-SRmYP+2SXT6AWSmfzi4IUUpAcDLSbZAbhSF6F+xdebbzwki73sGONRw2wcINKmvYW3DhDYClfxxNYefwV+uHYQ== + +"@tarojs/binding-win32-x64-msvc@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/binding-win32-x64-msvc/-/binding-win32-x64-msvc-3.6.24.tgz#6a0d46ebc62f40dff107c645dd08ba9babfe9939" + integrity sha512-Ta05Hfb6XRwPsrLDh9ipQ7H0+UsUdvL+ARFCalmCYV6aaPyoZ6e7ck4e3HoDY/ONW6YnPxIMSqfjChle/WrYVg== + +"@tarojs/binding@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/binding/-/binding-3.6.24.tgz#70a9a001ed54f94bda683e155f496b537a82ba4c" + integrity sha512-+Yj8qhjPQH1eHWCpBxDXm3yjiUsEzPTQePvavdym9J7iHmZFDKmbkn5bPk50bY05zAjjIA4c0twIOHjMR8EHmA== + dependencies: + "@napi-rs/triples" "1.2.0" + optionalDependencies: + "@tarojs/binding-darwin-arm64" "3.6.24" + "@tarojs/binding-darwin-x64" "3.6.24" + "@tarojs/binding-linux-x64-gnu" "3.6.24" + "@tarojs/binding-win32-x64-msvc" "3.6.24" + +"@tarojs/cli@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/cli/-/cli-3.6.24.tgz#76cebdc35f15cd13639e7237dea144d4782ba32a" + integrity sha512-2l+C1+qGLrADOBvalDIw3349bDV+wW5w+mFHyVAd/cogSEQnI6KBUlDO9D+VKv1MaJORDuV/vHf3Jex1ukABeA== + dependencies: + "@tarojs/binding" "3.6.24" + "@tarojs/helper" "3.6.24" + "@tarojs/plugin-doctor" "^0.0.11" + "@tarojs/service" "3.6.24" + "@tarojs/shared" "3.6.24" adm-zip "^0.4.13" - babylon "^6.18.0" - better-babel-generator "6.26.1" - cli-highlight "^2.1.4" + cli-highlight "^2.1.11" download-git-repo "^2.0.0" - ejs "^2.6.1" - envinfo "^6.0.1" + envinfo "^7.8.1" eslint "^8.12.0" - fs-extra "^8.0.1" glob "^7.1.2" - inquirer "^5.2.0" - joi "^17.6.0" + inquirer "^8.0.0" latest-version "^5.1.0" lodash "^4.17.21" - mem-fs "2.2.1" - mem-fs-editor "7.1.0" - minimist "1.2.5" - npm-check "^5.9.0" - ora "4.0.3" - postcss "^6.0.22" - postcss-taro-unit-transform "1.2.15" - prettier "^1.16.4" - regenerator-runtime "0.11" + minimist "^1.2.8" + npm-check "^6.0.1" + ora "^5.0.0" request "^2.88.0" - resolve "^1.22.0" - semver "^5.5.0" - shelljs "^0.8.1" - tapable "^1.1.3" - xml2js "^0.4.19" - xxhashjs "^0.2.2" - -"@tarojs/components@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/components/-/components-3.5.6.tgz#69423d863f88f24a124d2bc0888320f9446d6299" - integrity sha512-x2Uxh0/Wd3IRhPbuEKw34VAyZslFFSQzfCSaVYK+CO1w7bLTLU02HEYl1aqV9ls99FB4LInBSfREdqezb/YqLw== - dependencies: - "@stencil/core" "~2.13.0" - "@stencil/sass" "1.5.2" - "@tarojs/router" "3.5.6" - "@tarojs/taro" "3.5.6" - better-scroll "^1.14.1" + semver "^7.3.8" + validate-npm-package-name "^5.0.0" + xml2js "^0.5.0" + +"@tarojs/components-advanced@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/components-advanced/-/components-advanced-3.6.24.tgz#87699cb7115a643e18a02f61c96f80d5ed10afbe" + integrity sha512-BVESjKo8sfw+l1NevD3s7A07yW6NlT7O99qRotI+CQ3bf45J6jpbO61yOTGQDAf9iVofYFlcKve6hTq3mM+rdw== + dependencies: + "@tarojs/components" "3.6.24" + classnames "^2.2.5" + csstype "^3.1.1" + memoize-one "^6.0.0" + postcss "^8.4.18" + tslib "^2.6.2" + +"@tarojs/components@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/components/-/components-3.6.24.tgz#471ac20aeee2dabc7d335ff3d4fb15fabf95be7f" + integrity sha512-M9CqpyftMzE1eO1g9ydN+73TPC4ezsAJaK+4wyi4EWXJsC9KG/zMJW1HmVvHty+GAsZGa6dtvNTjAmNnst/Y1g== + dependencies: + "@stencil/core" "^2.22.2" + "@tarojs/components-advanced" "3.6.24" + "@tarojs/taro" "3.6.24" classnames "^2.2.5" hls.js "^1.1.5" - intersection-observer "^0.7.0" resolve-pathname "^3.0.0" swiper "6.8.0" - weui "^1.1.2" + tslib "^2.6.2" -"@tarojs/helper@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/helper/-/helper-3.5.6.tgz#2c5b24bcdbbaff071048ef8debc976ecc64871ea" - integrity sha512-C/MoNa419y/PRLkeuCVushdJVw5JUSmwyuuF3uXXPJV6ies5BQIx3IwbXka1337A9G7wY8WSHz7Yhw//BDBJrg== +"@tarojs/helper@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/helper/-/helper-3.6.24.tgz#4780da0a33b041be772a2b1521ab19740ad0970f" + integrity sha512-yVRupJn6Qm5GHLcuxZ88OxySdczYmU+vdoUijEV40JdQbPfzkysE3D2aedNyoccArfeE70uKMPXDvQH2ZkLQYA== dependencies: "@babel/core" "^7.14.5" "@babel/parser" "^7.14.5" @@ -1718,340 +1955,337 @@ "@babel/preset-typescript" "^7.14.5" "@babel/register" "^7.14.5" "@babel/runtime" "^7.14.5" - "@swc/core" "^1.2.204" - "@swc/register" "^0.1.10" + "@babel/traverse" "^7.14.5" + "@swc/core" "1.3.96" + "@swc/register" "0.1.10" ansi-escapes "^4.3.2" chalk "3.0.0" chokidar "^3.3.1" cross-spawn "^7.0.3" debug "4.3.4" + dotenv "^16.0.3" + dotenv-expand "^9.0.0" + esbuild "~0.19.5" find-yarn-workspace-root "2.0.0" fs-extra "^8.0.1" lodash "^4.17.21" + require-from-string "^2.0.2" resolve "^1.22.0" supports-hyperlinks "^2.2.0" yauzl "2.10.0" -"@tarojs/mini-runner@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/mini-runner/-/mini-runner-3.5.6.tgz#8e596c271daa55b7f63400fdd82123bfaa96462f" - integrity sha512-Ju7rwEL4CAm5cxK5mfxXBxRwSlY+oF/T/zvwU37pBZvq57t+4GPCizfB7gY4qaOUksRdHKze0hHRfRftxANxpw== - dependencies: - "@babel/core" "^7.14.5" - "@tarojs/components" "3.5.6" - "@tarojs/helper" "3.5.6" - "@tarojs/plugin-platform-alipay" "3.5.6" - "@tarojs/plugin-platform-jd" "3.5.6" - "@tarojs/plugin-platform-qq" "3.5.6" - "@tarojs/plugin-platform-swan" "3.5.6" - "@tarojs/plugin-platform-tt" "3.5.6" - "@tarojs/plugin-platform-weapp" "3.5.6" - "@tarojs/runner-utils" "3.5.6" - "@tarojs/runtime" "3.5.6" - "@tarojs/shared" "3.5.6" - "@tarojs/taro" "3.5.6" - "@tarojs/taro-loader" "3.5.6" - acorn-walk "^8.0.0" - autoprefixer "^9.7.4" - babel-loader "8.2.1" - babel-preset-taro "3.5.6" - copy-webpack-plugin "5.1.2" - css-loader "3.4.2" - csso-webpack-plugin "2.0.0-beta.1" - file-loader "^6.0.0" - fs-extra "^8.0.1" - html-minifier "^4.0.0" - jsdom "^16.4.0" - less "^4.1.0" - less-loader "7.3.0" - loader-utils "^1.2.3" - lodash "^4.17.21" - md5 "^2.3.0" - micromatch "^4.0.2" - mini-css-extract-plugin "0.9.0" - miniprogram-simulate "^1.1.5" - mkdirp "^1.0.4" - ora "4.0.3" - postcss "8.3.5" - postcss-html-transform "3.5.6" - postcss-import "12.0.1" - postcss-loader "4.3.0" - postcss-pxtransform "3.5.6" - postcss-url "8.0.0" - regenerator-runtime "0.11" - resolve "^1.22.0" - resolve-url-loader "4.0.0" - sass "1.50.0" - sass-loader "10.2.0" - sax "1.2.4" - stylus "^0.55.0" - stylus-loader "3.0.2" - tapable "^1.1.3" - terser-webpack-plugin "^3.0.5" - url-loader "^4.1.0" - vm2 "^3.8.4" - webpack "4.46.0" - webpack-chain "4.9.0" - webpack-format-messages "^2.0.5" - webpack-sources "^1.4.3" - -"@tarojs/plugin-framework-react@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/plugin-framework-react/-/plugin-framework-react-3.5.6.tgz#8c17d37648ca86a7e4008c2c28474adc270e67b5" - integrity sha512-yoo2ecifO8IWh17Nu3WTEKU5Oy0qeoswq3PKOjj+843w0+lKbnCaeQv2IDi1/ZqjmWYWZGU1twDZtTzDlMty/g== - dependencies: - "@tarojs/helper" "3.5.6" - "@tarojs/runtime" "3.5.6" - "@tarojs/service" "3.5.6" - "@tarojs/shared" "3.5.6" +"@tarojs/plugin-doctor-darwin-arm64@0.0.11": + version "0.0.11" + resolved "https://registry.yarnpkg.com/@tarojs/plugin-doctor-darwin-arm64/-/plugin-doctor-darwin-arm64-0.0.11.tgz#49e10cff75b77cd952b6a3f4bbeef09211cc1c69" + integrity sha512-H3C0TQD7k9YalSR2kgrVEvP1TfhSeRQDQQXhSurLStNuTqhrk8JSzxbxYC/Of5edM/uu+5xOzT0YfMV2LKG5UA== + +"@tarojs/plugin-doctor-darwin-universal@0.0.11": + version "0.0.11" + resolved "https://registry.yarnpkg.com/@tarojs/plugin-doctor-darwin-universal/-/plugin-doctor-darwin-universal-0.0.11.tgz#b65200087fff46a7d23786370ae55188d2cd23fa" + integrity sha512-iZXID/UBsFGkouXJV/g/UTogPJ9IqCNmqCQ/bTZYNnIPHxxCUVZj7R1or8f/RJk3IHi0WroZHVbkz/NF9IqMVA== + +"@tarojs/plugin-doctor-darwin-x64@0.0.11": + version "0.0.11" + resolved "https://registry.yarnpkg.com/@tarojs/plugin-doctor-darwin-x64/-/plugin-doctor-darwin-x64-0.0.11.tgz#0c928e6866a7b5b6e280e3f46ba085a25c753138" + integrity sha512-wNFty0LOq0lX2WMG3ea0IYsvSq0Y1Z24zIumSfnsL8R3x3AaKQBf0d/nzY++Wp0Kc7rEskS9gtYR7Z0b4oB9tA== + +"@tarojs/plugin-doctor-freebsd-x64@0.0.11": + version "0.0.11" + resolved "https://registry.yarnpkg.com/@tarojs/plugin-doctor-freebsd-x64/-/plugin-doctor-freebsd-x64-0.0.11.tgz#86727cb46c64641a56179502f898d1ff47b2f156" + integrity sha512-ymFqr5w8CdEvYMQS3zzRfmiAe/6yFF8b2sufvHHbggLDgdDoAQfOuXAMHH0tK4TQTM6hXdHi2Ii3xwGPFczPGg== + +"@tarojs/plugin-doctor-linux-arm-gnueabihf@0.0.11": + version "0.0.11" + resolved "https://registry.yarnpkg.com/@tarojs/plugin-doctor-linux-arm-gnueabihf/-/plugin-doctor-linux-arm-gnueabihf-0.0.11.tgz#1af8cb4fa98d9eb72a596b9285b0f82d0dcc55a3" + integrity sha512-Ti8g3/WyD/kPOV9RAQB/jZwLivwdf9v9ZmdPUb4T56c4ehhD7cOCInhc5/0TrDR2b882vTnVc3GLAgG/EiFliw== + +"@tarojs/plugin-doctor-linux-arm64-gnu@0.0.11": + version "0.0.11" + resolved "https://registry.yarnpkg.com/@tarojs/plugin-doctor-linux-arm64-gnu/-/plugin-doctor-linux-arm64-gnu-0.0.11.tgz#faa70ed7efc832c8d155030a01f4f32bc5d63db0" + integrity sha512-oirqs+UYX6lKNxjFW6zpUGliW3ovC/v3fw76c4E8I18KVgTTRLpcqDiXPBgId0cyr3xdtKG0idzE5RXL/cNJFg== + +"@tarojs/plugin-doctor-linux-arm64-musl@0.0.11": + version "0.0.11" + resolved "https://registry.yarnpkg.com/@tarojs/plugin-doctor-linux-arm64-musl/-/plugin-doctor-linux-arm64-musl-0.0.11.tgz#c3b96a8de97052ffe05afbd5d0b5e9fbed98cc94" + integrity sha512-SXes1wj2MLQod50+9sgSZlN4eli3VXVxMNqdk03ArrWtFURCpuDiHwRERjoqlo91Hf4IxU6zU7ml86gPZ0dkaw== + +"@tarojs/plugin-doctor-linux-x64-gnu@0.0.11": + version "0.0.11" + resolved "https://registry.yarnpkg.com/@tarojs/plugin-doctor-linux-x64-gnu/-/plugin-doctor-linux-x64-gnu-0.0.11.tgz#0d5fdf1a4a07f605acd71c383e3be826f5e6dc93" + integrity sha512-nyW2tjzYA8nw39pKpaYtpGbEOZNRTV97Ir+UEvsuZbAr5F1lV2Q+2IwN8dGY41/lXw9JQay6FDRqUPRXAMB4kw== + +"@tarojs/plugin-doctor-linux-x64-musl@0.0.11": + version "0.0.11" + resolved "https://registry.yarnpkg.com/@tarojs/plugin-doctor-linux-x64-musl/-/plugin-doctor-linux-x64-musl-0.0.11.tgz#b15b472a675fc3ce957c032aa5b8bc0af6905fd8" + integrity sha512-epKcAwJdVYMGmeWdqGZrdOS+nhDz4SiGlZqYMcDjSlGK7OM0wlSor6xpz59adYVe86t/a/gjimu5IT2ofVEfsA== + +"@tarojs/plugin-doctor-win32-ia32-msvc@0.0.11": + version "0.0.11" + resolved "https://registry.yarnpkg.com/@tarojs/plugin-doctor-win32-ia32-msvc/-/plugin-doctor-win32-ia32-msvc-0.0.11.tgz#c40582ea186c843b95625ad4c499104cc2f46465" + integrity sha512-UBKdbbtDK1QmsRZiKEjo+TtSt+E/ljIzx5wbDna2yEuDtJqBwNg6SqkYg3LxUiJK8O5hwwVJGdJWI9a9bHpI8w== + +"@tarojs/plugin-doctor-win32-x64-msvc@0.0.11": + version "0.0.11" + resolved "https://registry.yarnpkg.com/@tarojs/plugin-doctor-win32-x64-msvc/-/plugin-doctor-win32-x64-msvc-0.0.11.tgz#0caf79eb9bf77181dd81c760ab2ef920635129a1" + integrity sha512-2ABKPwTpT93PIk6+s/cGGUnu32OcyfAzz5y9gpLQ/i3XwysPSBq9Lt6Z1VCD2DVPnloIdWU+NYk5gXhCoWZV5A== + +"@tarojs/plugin-doctor@^0.0.11": + version "0.0.11" + resolved "https://registry.yarnpkg.com/@tarojs/plugin-doctor/-/plugin-doctor-0.0.11.tgz#e02a0cf398db9e3095ed4116f3d188c444f0ef22" + integrity sha512-oHxEGMQwtls2ZFUkhVho1U3RSYhlNvKeIJMVzxgCMrgCBqJcGdGKhNLDpgqvGqqRuSs9iSMBrC9QMY8xsmRo4g== + dependencies: + eslint "8.41.0" + glob "10.2.6" + optionalDependencies: + "@tarojs/plugin-doctor-darwin-arm64" "0.0.11" + "@tarojs/plugin-doctor-darwin-universal" "0.0.11" + "@tarojs/plugin-doctor-darwin-x64" "0.0.11" + "@tarojs/plugin-doctor-freebsd-x64" "0.0.11" + "@tarojs/plugin-doctor-linux-arm-gnueabihf" "0.0.11" + "@tarojs/plugin-doctor-linux-arm64-gnu" "0.0.11" + "@tarojs/plugin-doctor-linux-arm64-musl" "0.0.11" + "@tarojs/plugin-doctor-linux-x64-gnu" "0.0.11" + "@tarojs/plugin-doctor-linux-x64-musl" "0.0.11" + "@tarojs/plugin-doctor-win32-ia32-msvc" "0.0.11" + "@tarojs/plugin-doctor-win32-x64-msvc" "0.0.11" + +"@tarojs/plugin-framework-react@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/plugin-framework-react/-/plugin-framework-react-3.6.24.tgz#2e258d72e2749b43b415883dd23471996b125663" + integrity sha512-YTE3rLXaYZ3j+rytVRJyv4TsXOxmnz91yB7xtLWeVnTmgiAb3HmBd5GqSD7N9jjMJeiJ+2QRPPUQZ0nrGXAHoA== + dependencies: + "@tarojs/helper" "3.6.24" + "@tarojs/service" "3.6.24" acorn "^8.0.4" acorn-walk "^8.0.0" + lodash "^4.17.21" + +"@tarojs/plugin-platform-alipay@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/plugin-platform-alipay/-/plugin-platform-alipay-3.6.24.tgz#8cbf389b7d2b1b14cb6caa488b7ea8d9087a700a" + integrity sha512-ckSbEAKGk5jWGmN9F46RLAR7O74REvEXIDjcjm7pYEJF4wFfhWcUIVuzIM/anewGFwIhiT8PxGAFqWis0mTZHQ== + dependencies: + "@tarojs/service" "3.6.24" + "@tarojs/shared" "3.6.24" + +"@tarojs/plugin-platform-jd@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/plugin-platform-jd/-/plugin-platform-jd-3.6.24.tgz#9c74ae5c91befc8244891d80ea6666124c60b716" + integrity sha512-Iyk7sAvIHE5y2IRM+5LhpvTtisbKyLP/iiQBmqGVCRMFFbrKdrzGGTDwn7xLVStkt/U/rZylcVr88bgI3SHPvg== + dependencies: + "@tarojs/service" "3.6.24" + "@tarojs/shared" "3.6.24" + +"@tarojs/plugin-platform-qq@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/plugin-platform-qq/-/plugin-platform-qq-3.6.24.tgz#efabeda28f635b1e254eecb3d1b1625c478defdb" + integrity sha512-XDj9Ov8mjTqmEmF6eRPTGK1ByY48l3sQRLbr8upVmnrY2GhblstHcYL/v5Y9OQ5B4nSIH1bb9RUH0HmkF+h9bw== + dependencies: + "@tarojs/plugin-platform-weapp" "3.6.24" + "@tarojs/service" "3.6.24" -"@tarojs/plugin-platform-alipay@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/plugin-platform-alipay/-/plugin-platform-alipay-3.5.6.tgz#552ea0c93d9cac26178201f050a85e1f199a0003" - integrity sha512-NiJ9ml8nxd3BEuHPT52tutY8r82o384Kcf2u3hSXXKPQ+6L7kBdVRlI2dYXLPaJw+SgIBjUDbzeLRA31snpOtw== - dependencies: - "@tarojs/components" "3.5.6" - "@tarojs/service" "3.5.6" - "@tarojs/shared" "3.5.6" - -"@tarojs/plugin-platform-jd@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/plugin-platform-jd/-/plugin-platform-jd-3.5.6.tgz#8390084b46a009c79b2e324712085d3c7e330143" - integrity sha512-NObD4ZTek7z0IXheL5avYFxiNQHKrQyFT0ijsriBBZOSHfq9ocO/Z45o6oOGaDrAVe3v1jidJ5Mm4AsCVKnfKA== - dependencies: - "@tarojs/service" "3.5.6" - "@tarojs/shared" "3.5.6" - -"@tarojs/plugin-platform-qq@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/plugin-platform-qq/-/plugin-platform-qq-3.5.6.tgz#16605bdd1f0ace0decb720d2e658a08163a6e19a" - integrity sha512-3NEKZU4TpP7yXnZoRe0HunQE4qSDJtlSXoq5YGl8yalwTG5m8vNrcwyc+IxPomFo6TvlAFVN9aiMZdSmxsVc7Q== - dependencies: - "@tarojs/plugin-platform-weapp" "3.5.6" - "@tarojs/service" "3.5.6" - "@tarojs/shared" "3.5.6" - -"@tarojs/plugin-platform-swan@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/plugin-platform-swan/-/plugin-platform-swan-3.5.6.tgz#8796bf00d52801284b7a9e66ff6ac8bd44297894" - integrity sha512-cnTa7o8TP7NYYa0sCILzUO5SRDXzvWc4if2fTCXheZ06tSKczktp8UATFwgUQlqDHSrycD+V16MM9cTUdix0YQ== - dependencies: - "@tarojs/components" "3.5.6" - "@tarojs/service" "3.5.6" - "@tarojs/shared" "3.5.6" - -"@tarojs/plugin-platform-tt@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/plugin-platform-tt/-/plugin-platform-tt-3.5.6.tgz#d0562b14d92eee7e787c336eba5f8fb03c88388f" - integrity sha512-diD1iWBcmZY7xqMlpbMhpBAUXjkQMcFmQEMiMIApMkCpRBfh3OPmZdhomoKAdcmKcrXzM080TteEM/xnFIRoDQ== - dependencies: - "@tarojs/components" "3.5.6" - "@tarojs/service" "3.5.6" - "@tarojs/shared" "3.5.6" - -"@tarojs/plugin-platform-weapp@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/plugin-platform-weapp/-/plugin-platform-weapp-3.5.6.tgz#177e0326a127a3b493b9eb3e6b19f28f208329d6" - integrity sha512-CGzX30LDlLy8wVJ/E+PhhvVHyqGnjtbtmErtjiPAqH/Z7urGhCqkAAgvS8cxWY1aqqgrHs706ErYdFHrBamqgA== - dependencies: - "@tarojs/components" "3.5.6" - "@tarojs/service" "3.5.6" - "@tarojs/shared" "3.5.6" - -"@tarojs/react@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/react/-/react-3.5.6.tgz#5714fbc721fbfe32ce1b10789f90f239d7a148f3" - integrity sha512-jKajZdUBFtBKA8IwZN/GZ2g/0L7MHqIaBnSwt3UgsYT7S7ulWhra3quqj/iyzISWf1FXfdotQv/XpyMXMs/PTQ== - dependencies: - "@tarojs/runtime" "3.5.6" - "@tarojs/shared" "3.5.6" +"@tarojs/plugin-platform-swan@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/plugin-platform-swan/-/plugin-platform-swan-3.6.24.tgz#7a5b304c29ad340ef3082a9a65cc8ccf641a0d08" + integrity sha512-/6z5IWK/+LGjMpcUKjPYOJVgcJ1SDLKijRI47PIfJe5sBDWgu/fJ6Xcy7skK4yCoiiT2XBUK6/CCLk5993A4mQ== + dependencies: + "@tarojs/service" "3.6.24" + +"@tarojs/plugin-platform-tt@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/plugin-platform-tt/-/plugin-platform-tt-3.6.24.tgz#4466373a7ce96ae8674df592778848ef0e9d8746" + integrity sha512-Vayd9shaNguVekN1hqaqiH8pkYSJjbZvBvuzYcaBbqca34ZO19cUw/FI+eEC4SSTGYj058VeKcY5wqxUsxSqug== + dependencies: + "@tarojs/service" "3.6.24" + +"@tarojs/plugin-platform-weapp@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/plugin-platform-weapp/-/plugin-platform-weapp-3.6.24.tgz#8128778548df7b662ba1f3edd74723ce0e145580" + integrity sha512-+5u/Xx5EnZ9jxZs5p+Ycv360Ryew40SG+USKq1lLRo/JRT20b+VmFzGKoh0h6kS55Oe2bOwbKYBMQJEH3LqPww== + dependencies: + "@tarojs/service" "3.6.24" + +"@tarojs/react@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/react/-/react-3.6.24.tgz#25c350b524aaeffb4173ad00cd31f32b543428f7" + integrity sha512-enqNVWZEmIxPCtaV+3RgqCDvwbv1MI0ZA00GM2+5/ZJo/pWVERAfo9+PXyOtx71m9SXno5VWrPjrlZAqHGTZjQ== + dependencies: react-reconciler "0.27.0" - scheduler "^0.20.1" - -"@tarojs/router@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/router/-/router-3.5.6.tgz#e823ac4c0f20017550544ca217e9a30b262a65fb" - integrity sha512-hDHEXFN8MxExb6Zx8R7a3aT5sYIQMcaEKZ8Jydhr6P8eJsTeqsaR99EJwDXLkC8q7tKqmTSKUgEVIaD73W93nA== - dependencies: - "@tarojs/runtime" "3.5.6" - "@tarojs/taro" "3.5.6" - dingtalk-jsapi "~2.15.2" - history "^5.1.0" - mobile-detect "^1.4.2" - query-string "^7.1.1" - universal-router "^8.3.0" - -"@tarojs/runner-utils@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/runner-utils/-/runner-utils-3.5.6.tgz#dc2bd45769c1a2cfef13b8da2894ab1dcbb4b484" - integrity sha512-zI0F+Ej+wEKZXUM0O/YbbMP2kJtYsBcrRyAdTYN9WKIWhBgrLn8zdXcT7Xe2XUsQjdMvq+Cb+gPkCYCcYQja9A== - dependencies: - "@tarojs/helper" "3.5.6" + +"@tarojs/runner-utils@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/runner-utils/-/runner-utils-3.6.24.tgz#a96f22666b603daf9150125217e90551203f858a" + integrity sha512-XqSHJfG/vuv2GLieQ2TwDrE2omOgAxxbmEvqV5GzyJhSQSiFoORgkm0WbOw+VJJdSv1vBPrfpIlcl687+gqZUg== + dependencies: + "@tarojs/helper" "3.6.24" scss-bundle "^3.0.2" -"@tarojs/runtime@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/runtime/-/runtime-3.5.6.tgz#dc8de7703525cc7cdd271e558a6591546daf6738" - integrity sha512-Ll+dI9WzLsX1BsqN6TD9qJE1LjPjNdmKMYyAemxWNIpDWTPJf18nuSm1gd7nk9XTxtTpbgkyd7JzAddnan7Z/A== +"@tarojs/runtime@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/runtime/-/runtime-3.6.24.tgz#aacca2694888ad8b9d160dde55c2aaeeddf414ec" + integrity sha512-9jBzIOHm27Q5EOQZ85UH/D1YjQKvOQ/3GR63pNdB5GC42uv1bpK6QJx6yNYR0KfqxeWVMxrFQBajiNR3mnJT5g== dependencies: - "@tarojs/shared" "3.5.6" lodash-es "4.17.21" + tslib "^2.6.2" -"@tarojs/service@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/service/-/service-3.5.6.tgz#a71096fe60a14636478294457394d9e0a75dffb8" - integrity sha512-7K4iAsD/4z2NB/ypJdDydXDh+khj0M6rLerAMZ37wHtqS1K+6pBj1KGP00Gm+fjQ6kJnjIwGcrp76PPuMsbpsA== +"@tarojs/service@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/service/-/service-3.6.24.tgz#a2c665e3cadb5aa20f2ef35e7619faaf978a1c51" + integrity sha512-PlmGRlloKPyDfvmorK6NgGYm37hc6bN696A7T31L3Bu2O/GHFRPbSMohJcohIQIeXj2JfRfVLuvR01RucSXLpg== dependencies: - "@tarojs/helper" "3.5.6" - "@tarojs/shared" "3.5.6" - "@tarojs/taro" "3.5.6" - fs-extra "^8.1.0" + "@tarojs/helper" "3.6.24" joi "^17.6.0" lodash "^4.17.21" + ora "^5.0.0" resolve "^1.22.0" tapable "^1.1.3" webpack-merge "^4.2.2" -"@tarojs/shared@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/shared/-/shared-3.5.6.tgz#19b61872fcae5062fd2ad3ee80e9304b766f867d" - integrity sha512-KA34ZwJzWsAdaQ6C/c7PBUG1CIkJ1PpqcniO7DuGeirgYF5YVTntAGR2LOATmZfVN/VdRCSW7ld9P2c6img36Q== - -"@tarojs/taro-h5@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/taro-h5/-/taro-h5-3.5.6.tgz#0e4f12cbe3a4429d7a0a00293bfdb59bb682ad02" - integrity sha512-jJq6vIa92J6E4lhextPhqNzVU6qe6EcWxomvtgB4J3DGmUwwLDzI8jaXNUXxIklUkbYFgP9CUs9ygskksdmpTQ== - dependencies: - "@tarojs/api" "3.5.6" - "@tarojs/router" "3.5.6" - "@tarojs/runtime" "3.5.6" - base64-js "^1.3.0" - jsonp-retry "^1.0.3" - query-string "^7.1.1" - whatwg-fetch "^3.4.0" - -"@tarojs/taro-loader@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/taro-loader/-/taro-loader-3.5.6.tgz#8e62cacfe0e248ba3ae6f7e2c2cc6df9de68ab4f" - integrity sha512-Wo4nk718ZssZTYdpM5Hnzeq1wFdqEVpmk6cfpwZCdqLWxMUevsq3IuSRKqVYnYRnwCSq8u0fsCdIkqneP2j/xQ== - dependencies: - "@tarojs/helper" "3.5.6" - "@tarojs/taro" "3.5.6" +"@tarojs/shared@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/shared/-/shared-3.6.24.tgz#b11295337fd90aebe09e139e389c11e39af8a29a" + integrity sha512-LOL3IKNW9AcXQ6FkW6VuaJT4OVISnvqw46wP1QxYQkrCRPo5JTdu3Q3d19mj9gSAIT2hLSb+HLB9sdq3Rf2rGg== + +"@tarojs/taro-loader@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/taro-loader/-/taro-loader-3.6.24.tgz#a9c811d4a1648bd83c56230b121926adae0c827d" + integrity sha512-4qehZPGiJt2IbdZXlbe0FgPDM7QNEPWSPt8xQzrtewvvA9yJsP6efL/ssfi3Lia3XQo2sJ2/hiSIVCOeysIt1g== + dependencies: + "@tarojs/helper" "3.6.24" + "@tarojs/taro" "3.6.24" loader-utils "^1.2.3" -"@tarojs/taro@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/taro/-/taro-3.5.6.tgz#a3427585436d28aaf7648d2f4a4639345a2e78ed" - integrity sha512-dq2RH2EaROjMXafgxIMRTycll289QhtzWeu8WZQiXwL3Ven5vRV7OKCVxiJjb/vdBQ8jsXQcBT4Hg9ZfNOUsYA== - dependencies: - "@tarojs/api" "3.5.6" - "@tarojs/runtime" "3.5.6" - -"@tarojs/taroize@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/taroize/-/taroize-3.5.6.tgz#5370c748cb1696b65ae1855a4b9d99b8be8b08e4" - integrity sha512-lIIy8emIO/txx8o1Rd5l4dVdDJxJ5YlptnuK4TeGHl6KtsTVYPVgQsKQmsb8E2VNo9oZunpbgHJHIlEc54uafQ== - dependencies: - "@babel/code-frame" "^7.14.5" - babel-core "^6.26.3" - babel-generator "^6.26.1" - babel-template "^6.26.0" - babel-traverse "^6.26.0" - babel-types "^6.26.0" - babylon "^6.18.0" - better-babel-generator "6.26.1" - himalaya-wxml "^1.1.0" - html "^1.0.0" - lodash "^4.17.21" +"@tarojs/taro@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/taro/-/taro-3.6.24.tgz#96e9d1b27fe0892eecde349d5e134368d9c959ba" + integrity sha512-DFgDQhSboP1ws8ZFUurhHhWgIs6qrlS5v66sbeYJR3qS2vONtObtpwRhkfuNybc1NCMnJGG8/yVPkddrv43Ncg== + dependencies: + "@tarojs/api" "3.6.24" -"@tarojs/transformer-wx@^2.0.4": - version "2.2.10" - resolved "https://registry.yarnpkg.com/@tarojs/transformer-wx/-/transformer-wx-2.2.10.tgz#432d77159c319d531e94e739664b7918a969d729" - integrity sha512-17VF0f/+TILniFQHl+OK7PXt+QgH+evPijJPFkJgpgRUn0S2QKK89g27S6kG8s3GYCgY3XbJRY9w17yAkf9pZA== +"@tarojs/webpack5-prebundle@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/webpack5-prebundle/-/webpack5-prebundle-3.6.24.tgz#a458d2f38af6f7dbe06e002db8a25b7ab116c584" + integrity sha512-5OiaARL6XZ7Y6ebr8Rv5G98GM7kKKtS8svC0cdBcua+gmvbCzEyN6Dz1GXh6sjxqMSwz/4HZqSswLk1lbxbNOw== dependencies: - "@babel/code-frame" "^7.0.0-beta.44" - babel-core "^6.26.3" - babel-eslint "^8.2.3" - babel-helper-evaluate-path "^0.5.0" - babel-helper-mark-eval-scopes "^0.4.3" - babel-helper-remove-or-void "^0.4.3" - babel-plugin-danger-remove-unused-import "^1.1.1" - babel-plugin-minify-dead-code "^1.3.2" - babel-plugin-preval "1.6.2" - babel-plugin-syntax-dynamic-import "^6.18.0" - babel-plugin-transform-class-properties "^6.24.1" - babel-plugin-transform-define "^1.3.0" - babel-plugin-transform-do-expressions "^6.22.0" - babel-plugin-transform-es2015-template-literals "^6.22.0" - babel-plugin-transform-export-extensions "^6.22.0" - babel-plugin-transform-flow-strip-types "^6.22.0" - babel-traverse "^6.26.0" - babel-types "^6.26.0" - eslint "5.16.0" - eslint-plugin-react "7.10.0" - eslint-plugin-taro "^2.2.10" - html "^1.0.0" - lodash "^4.17.5" - prettier "^1.14.2" - typescript "^3.2.2" - -"@tarojs/webpack-runner@3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@tarojs/webpack-runner/-/webpack-runner-3.5.6.tgz#41dacd2a00d9f523f26b4b5ff8c158a5d84a30db" - integrity sha512-8lta6HZZQZKBaxEooIT6bBuk4roja14kX1kSJILaKkZw2FBkDVPfYONYd014FBtyHgAwM2Jafg0z0XfCDDqJ8g== - dependencies: - "@tarojs/helper" "3.5.6" - "@tarojs/runner-utils" "3.5.6" - "@tarojs/runtime" "3.5.6" - "@tarojs/taro" "3.5.6" - "@tarojs/taro-loader" "3.5.6" + "@tarojs/helper" "3.6.24" + "@tarojs/shared" "3.6.24" + "@tarojs/taro" "3.6.24" + enhanced-resolve "^5.9.3" + es-module-lexer "^0.10.4" + lodash "^4.17.21" + webpack-chain "6.5.1" + webpack-virtual-modules "^0.5.0" + +"@tarojs/webpack5-runner@3.6.24": + version "3.6.24" + resolved "https://registry.yarnpkg.com/@tarojs/webpack5-runner/-/webpack5-runner-3.6.24.tgz#b073cf523cc44930d4d0a538e04ef6394b4b8f85" + integrity sha512-dvyPsxWB7oI03JvsapUeEKNZbOvb8HeBI8d8ZOn4jo755cq22oN+1VKsmBTsVDvklYDScExQfCVSxWuKwlYvyA== + dependencies: + "@parcel/css" "^1.4.0" + "@tarojs/helper" "3.6.24" + "@tarojs/plugin-platform-alipay" "3.6.24" + "@tarojs/plugin-platform-jd" "3.6.24" + "@tarojs/plugin-platform-qq" "3.6.24" + "@tarojs/plugin-platform-swan" "3.6.24" + "@tarojs/plugin-platform-tt" "3.6.24" + "@tarojs/plugin-platform-weapp" "3.6.24" + "@tarojs/runner-utils" "3.6.24" + "@tarojs/taro-loader" "3.6.24" + "@tarojs/webpack5-prebundle" "3.6.24" + acorn-walk "^8.0.0" autoprefixer "^9.7.4" babel-loader "8.2.1" - copy-webpack-plugin "5.1.2" - css-loader "3.4.2" - csso-webpack-plugin "2.0.0-beta.1" + copy-webpack-plugin "10.2.0" + css-loader "^6.7.1" + css-minimizer-webpack-plugin "3.4.1" + csso "^5.0.2" detect-port "^1.3.0" - file-loader "^6.0.0" - fs-extra "^8.0.1" - html-webpack-plugin "4" + esbuild "~0.19.5" + esbuild-loader "2.18.0" + file-loader "6.0.0" + html-minifier "^4.0.0" + html-webpack-plugin "5.5.0" + jsdom "^21.1.0" less "^4.1.0" - less-loader "7.3.0" + less-loader "10.2.0" + loader-utils "^1.2.3" lodash "^4.17.21" - mini-css-extract-plugin "0.9.0" - open "7.0.2" - ora "4.0.3" - postcss "8.3.5" - postcss-html-transform "3.5.6" - postcss-import "12.0.1" - postcss-loader "4.3.0" - postcss-plugin-constparse "3.5.6" - postcss-pxtransform "3.5.6" - postcss-url "8.0.0" + md5 "^2.3.0" + micromatch "^4.0.2" + mini-css-extract-plugin "2.4.6" + miniprogram-simulate "^1.1.5" + mkdirp "^1.0.4" + ora "^5.0.0" + postcss-html-transform "3.6.24" + postcss-import "^14.0.0" + postcss-loader "^7.0.1" + postcss-plugin-constparse "3.6.24" + postcss-pxtransform "3.6.24" + postcss-url "^10.1.3" + regenerator-runtime "0.11" resolve "^1.22.0" - resolve-url-loader "3.1.3" + resolve-url-loader "^5.0.0" sass "1.50.0" - sass-loader "10.2.0" - style-loader "1.3.0" + sass-loader "12.4.0" + sax "1.2.4" + style-loader "3.3.1" stylus "^0.55.0" - stylus-loader "3.0.2" - terser-webpack-plugin "^3.0.5" - url-loader "^4.1.0" - webpack-chain "4.9.0" - webpack-dev-server "3.11.3" - webpack-format-messages "^2.0.5" - -"@tootallnate/once@1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82" - integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== + stylus-loader "6.2.0" + terser-webpack-plugin "^5.1.3" + url-loader "4.1.0" + vm2 "^3.8.4" + vue-loader "^15.10.1" + webpack-chain "6.5.1" + webpack-dev-server "4.11.1" + webpack-format-messages "^2.0.6" + webpack-virtual-modules "^0.5.0" + webpackbar "^5.0.2" + +"@tootallnate/once@2": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" + integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A== + +"@trysound/sax@0.2.0": + version "0.2.0" + resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad" + integrity sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA== "@types/archy@^0.0.31": version "0.0.31" resolved "https://registry.yarnpkg.com/@types/archy/-/archy-0.0.31.tgz#01650a4641e7e1d11dbd64eda42eec9a2f829c7f" integrity sha512-v+dxizsFVyXgD3EpFuqT9YjdEjbJmPxNf1QIX9ohZOhxh1ZF2yhqv3vYaeum9lg3VghhxS5S0a6yldN9J9lPEQ== +"@types/body-parser@*": + version "1.19.5" + resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.5.tgz#04ce9a3b677dc8bd681a17da1ab9835dc9d3ede4" + integrity sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg== + dependencies: + "@types/connect" "*" + "@types/node" "*" + +"@types/bonjour@^3.5.9": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@types/bonjour/-/bonjour-3.5.13.tgz#adf90ce1a105e81dd1f9c61fdc5afda1bfb92956" + integrity sha512-z9fJ5Im06zvUL548KvYNecEVlA7cVDkGUi6kZusb04mpyEFKCIZJvloCcmpmLaIahDpOQGHaHmG6imtPMmPXGQ== + dependencies: + "@types/node" "*" + +"@types/connect-history-api-fallback@^1.3.5": + version "1.5.4" + resolved "https://registry.yarnpkg.com/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.5.4.tgz#7de71645a103056b48ac3ce07b3520b819c1d5b3" + integrity sha512-n6Cr2xS1h4uAulPRdlw6Jl6s1oG8KrVilPN2yUITEs+K48EzMJJ3W1xy8K5eWuFvjp3R74AOIGSmp2UfBJ8HFw== + dependencies: + "@types/express-serve-static-core" "*" + "@types/node" "*" + +"@types/connect@*": + version "3.4.38" + resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.38.tgz#5ba7f3bc4fbbdeaff8dded952e5ff2cc53f8d858" + integrity sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug== + dependencies: + "@types/node" "*" + "@types/debug@^4.1.5": version "4.1.7" resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.7.tgz#7cc0ea761509124709b8b2d1090d8f6c17aadb82" @@ -2059,10 +2293,25 @@ dependencies: "@types/ms" "*" -"@types/expect@^1.20.4": - version "1.20.4" - resolved "https://registry.yarnpkg.com/@types/expect/-/expect-1.20.4.tgz#8288e51737bf7e3ab5d7c77bfa695883745264e5" - integrity sha512-Q5Vn3yjTDyCMV50TB6VRIbQNxSE4OmZR86VSbGaNpfUolm0iePBB4KdEEHmxoY5sT2+2DIvXW0rvMDP2nHZ4Mg== +"@types/express-serve-static-core@*", "@types/express-serve-static-core@^4.17.33": + version "4.17.43" + resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.43.tgz#10d8444be560cb789c4735aea5eac6e5af45df54" + integrity sha512-oaYtiBirUOPQGSWNGPWnzyAFJ0BP3cwvN4oWZQY+zUBwpVIGsKUkpBpSztp74drYcjavs7SKFZ4DX1V2QeN8rg== + dependencies: + "@types/node" "*" + "@types/qs" "*" + "@types/range-parser" "*" + "@types/send" "*" + +"@types/express@*", "@types/express@^4.17.13": + version "4.17.21" + resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.21.tgz#c26d4a151e60efe0084b23dc3369ebc631ed192d" + integrity sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ== + dependencies: + "@types/body-parser" "*" + "@types/express-serve-static-core" "^4.17.33" + "@types/qs" "*" + "@types/serve-static" "*" "@types/fs-extra@^8.0.1": version "8.1.2" @@ -2079,16 +2328,33 @@ "@types/minimatch" "*" "@types/node" "*" -"@types/html-minifier-terser@^5.0.0": - version "5.1.2" - resolved "https://registry.yarnpkg.com/@types/html-minifier-terser/-/html-minifier-terser-5.1.2.tgz#693b316ad323ea97eed6b38ed1a3cc02b1672b57" - integrity sha512-h4lTMgMJctJybDp8CQrxTUiiYmedihHWkjnF/8Pxseu2S6Nlfcy8kwboQ8yejh456rP2yWoEVm1sS/FVsfM48w== +"@types/html-minifier-terser@^6.0.0": + version "6.1.0" + resolved "https://registry.yarnpkg.com/@types/html-minifier-terser/-/html-minifier-terser-6.1.0.tgz#4fc33a00c1d0c16987b1a20cf92d20614c55ac35" + integrity sha512-oh/6byDPnL1zeNXFrDXFLyZjkr1MsBG667IM792caf1L2UPOOMf65NFzjUH/ltyfwjAGfs1rsX1eftK0jC/KIg== + +"@types/http-errors@*": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@types/http-errors/-/http-errors-2.0.4.tgz#7eb47726c391b7345a6ec35ad7f4de469cf5ba4f" + integrity sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA== + +"@types/http-proxy@^1.17.8": + version "1.17.14" + resolved "https://registry.yarnpkg.com/@types/http-proxy/-/http-proxy-1.17.14.tgz#57f8ccaa1c1c3780644f8a94f9c6b5000b5e2eec" + integrity sha512-SSrD0c1OQzlFX7pGu1eXxSEjemej64aaNPRhhVYUGqXh0BtldAAx37MG8btcumvpgKyZp1F5Gn3JkktdxiFv6w== + dependencies: + "@types/node" "*" -"@types/json-schema@^7.0.5", "@types/json-schema@^7.0.7", "@types/json-schema@^7.0.8": +"@types/json-schema@^7.0.5", "@types/json-schema@^7.0.8": version "7.0.9" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.9.tgz#97edc9037ea0c38585320b28964dde3b39e4660d" integrity sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ== +"@types/json-schema@^7.0.9": + version "7.0.15" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" + integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== + "@types/json5@^0.0.29": version "0.0.29" resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" @@ -2106,25 +2372,52 @@ resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.178.tgz#341f6d2247db528d4a13ddbb374bcdc80406f4f8" integrity sha512-0d5Wd09ItQWH1qFbEyQ7oTQ3GZrMfth5JkbN3EvTKLXcHLRDSXeLnlvlOn0wvxVIwK5o2M8JzP/OWz7T3NRsbw== +"@types/lodash@^4.14.72": + version "4.14.202" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.202.tgz#f09dbd2fb082d507178b2f2a5c7e74bd72ff98f8" + integrity sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ== + +"@types/mime@*": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@types/mime/-/mime-3.0.4.tgz#2198ac274de6017b44d941e00261d5bc6a0e0a45" + integrity sha512-iJt33IQnVRkqeqC7PzBHPTC6fDlRNRW8vjrgqtScAhrmMwe8c4Eo7+fUGTa+XdWrpEgpyKWMYmi2dIwMAYRzPw== + +"@types/mime@^1": + version "1.3.5" + resolved "https://registry.yarnpkg.com/@types/mime/-/mime-1.3.5.tgz#1ef302e01cf7d2b5a0fa526790c9123bf1d06690" + integrity sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w== + "@types/minimatch@*", "@types/minimatch@^3.0.3": version "3.0.5" resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.5.tgz#1001cc5e6a3704b83c236027e77f2f58ea010f40" integrity sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ== +"@types/minimist@^1.2.0": + version "1.2.5" + resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.5.tgz#ec10755e871497bcd83efe927e43ec46e8c0747e" + integrity sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag== + "@types/ms@*": version "0.7.31" resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.31.tgz#31b7ca6407128a3d2bbc27fe2d21b345397f6197" integrity sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA== +"@types/node-forge@^1.3.0": + version "1.3.11" + resolved "https://registry.yarnpkg.com/@types/node-forge/-/node-forge-1.3.11.tgz#0972ea538ddb0f4d9c2fa0ec5db5724773a604da" + integrity sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ== + dependencies: + "@types/node" "*" + "@types/node@*": version "17.0.18" resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.18.tgz#3b4fed5cfb58010e3a2be4b6e74615e4847f1074" integrity sha512-eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA== -"@types/node@^15.6.1": - version "15.14.9" - resolved "https://registry.yarnpkg.com/@types/node/-/node-15.14.9.tgz#bc43c990c3c9be7281868bbc7b8fdd6e2b57adfa" - integrity sha512-qjd88DrCxupx/kJD5yQgZdcYKZKSIGBVDIBE1/LTGcNm3d2Np/jxojkdePDdfnBHJc5W7vSMpbJ1aB7p/Py69A== +"@types/normalize-package-data@^2.4.0": + version "2.4.4" + resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz#56e2cc26c397c038fab0e3a917a12d5c5909e901" + integrity sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA== "@types/parse-json@^4.0.0": version "4.0.0" @@ -2136,15 +2429,30 @@ resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.4.tgz#fcf7205c25dff795ee79af1e30da2c9790808f11" integrity sha512-rZ5drC/jWjrArrS8BR6SIr4cWpW09RNTYt9AMZo3Jwwif+iacXAqgVjm0B0Bv/S1jhDXKHqRVNCbACkJ89RAnQ== -"@types/react@^17.0.2": - version "17.0.39" - resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.39.tgz#d0f4cde092502a6db00a1cded6e6bf2abb7633ce" - integrity sha512-UVavlfAxDd/AgAacMa60Azl7ygyQNRwC/DsHZmKgNvPmRR5p70AJ5Q9EAmL2NWOJmeV+vVUI4IAP7GZrN8h8Ug== +"@types/qs@*": + version "6.9.12" + resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.12.tgz#afa96b383a3a6fdc859453a1892d41b607fc7756" + integrity sha512-bZcOkJ6uWrL0Qb2NAWKa7TBU+mJHPzhx9jjLL1KHF+XpzEcR7EXHvjbHlGtR/IsP1vyPrehuS6XqkmaePy//mg== + +"@types/range-parser@*": + version "1.2.7" + resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.7.tgz#50ae4353eaaddc04044279812f52c8c65857dbcb" + integrity sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ== + +"@types/react@^18.0.0": + version "18.2.63" + resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.63.tgz#4637c56146ad90f96d0583171edab953f7e6fe57" + integrity sha512-ppaqODhs15PYL2nGUOaOu2RSCCB4Difu4UFrP4I3NHLloXC/ESQzQMi9nvjfT1+rudd0d2L3fQPJxRSey+rGlQ== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" csstype "^3.0.2" +"@types/retry@0.12.0": + version "0.12.0" + resolved "https://registry.yarnpkg.com/@types/retry/-/retry-0.12.0.tgz#2b35eccfcee7d38cd72ad99232fbd58bffb3c84d" + integrity sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA== + "@types/sass@^1.16.0": version "1.43.1" resolved "https://registry.yarnpkg.com/@types/sass/-/sass-1.43.1.tgz#86bb0168e9e881d7dade6eba16c9ed6d25dc2f68" @@ -2157,29 +2465,40 @@ resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.2.tgz#1a62f89525723dde24ba1b01b092bf5df8ad4d39" integrity sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew== -"@types/source-list-map@*": - version "0.1.2" - resolved "https://registry.yarnpkg.com/@types/source-list-map/-/source-list-map-0.1.2.tgz#0078836063ffaf17412349bba364087e0ac02ec9" - integrity sha512-K5K+yml8LTo9bWJI/rECfIPrGgxdpeNbj+d53lwN4QjW1MCwlkhUms+gtdzigTeUyBr09+u8BwOIY3MXvHdcsA== +"@types/semver@^7.3.12": + version "7.5.8" + resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.8.tgz#8268a8c57a3e4abd25c165ecd36237db7948a55e" + integrity sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ== -"@types/tapable@^1", "@types/tapable@^1.0.5": - version "1.0.8" - resolved "https://registry.yarnpkg.com/@types/tapable/-/tapable-1.0.8.tgz#b94a4391c85666c7b73299fd3ad79d4faa435310" - integrity sha512-ipixuVrh2OdNmauvtT51o3d8z12p6LtFW9in7U79der/kwejjdNchQC5UMn5u/KxNoM7VHHOs/l8KS8uHxhODQ== +"@types/send@*": + version "0.17.4" + resolved "https://registry.yarnpkg.com/@types/send/-/send-0.17.4.tgz#6619cd24e7270793702e4e6a4b958a9010cfc57a" + integrity sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA== + dependencies: + "@types/mime" "^1" + "@types/node" "*" -"@types/uglify-js@*": - version "3.17.0" - resolved "https://registry.yarnpkg.com/@types/uglify-js/-/uglify-js-3.17.0.tgz#95271e7abe0bf7094c60284f76ee43232aef43b9" - integrity sha512-3HO6rm0y+/cqvOyA8xcYLweF0TKXlAxmQASjbOi49Co51A1N4nR4bEwBgRoD9kNM+rqFGArjKr654SLp2CoGmQ== +"@types/serve-index@^1.9.1": + version "1.9.4" + resolved "https://registry.yarnpkg.com/@types/serve-index/-/serve-index-1.9.4.tgz#e6ae13d5053cb06ed36392110b4f9a49ac4ec898" + integrity sha512-qLpGZ/c2fhSs5gnYsQxtDEq3Oy8SXPClIXkW5ghvAvsNuVSA8k+gCONcUCS/UjLEYvYps+e8uBtfgXgvhwfNug== dependencies: - source-map "^0.6.1" + "@types/express" "*" -"@types/vinyl@^2.0.4": - version "2.0.6" - resolved "https://registry.yarnpkg.com/@types/vinyl/-/vinyl-2.0.6.tgz#b2d134603557a7c3d2b5d3dc23863ea2b5eb29b0" - integrity sha512-ayJ0iOCDNHnKpKTgBG6Q6JOnHTj9zFta+3j2b8Ejza0e4cvRyMn0ZoLEmbPrTHe5YYRlDYPvPWVdV4cTaRyH7g== +"@types/serve-static@*", "@types/serve-static@^1.13.10": + version "1.15.5" + resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.15.5.tgz#15e67500ec40789a1e8c9defc2d32a896f05b033" + integrity sha512-PDRk21MnK70hja/YF8AHfC7yIsiQHn1rcXx7ijCFBX/k+XQJhQT/gw3xekXKJvx+5SXaMMS8oqQy09Mzvz2TuQ== + dependencies: + "@types/http-errors" "*" + "@types/mime" "*" + "@types/node" "*" + +"@types/sockjs@^0.3.33": + version "0.3.36" + resolved "https://registry.yarnpkg.com/@types/sockjs/-/sockjs-0.3.36.tgz#ce322cf07bcc119d4cbf7f88954f3a3bd0f67535" + integrity sha512-MK9V6NzAS1+Ud7JV9lJLFqW85VbC9dq3LmwZCuBe4wBDgKC0Kj/jd8Xl+nSviU+Qc3+m7umHHyHg//2KSa0a0Q== dependencies: - "@types/expect" "^1.20.4" "@types/node" "*" "@types/webpack-env@^1.13.6": @@ -2187,63 +2506,29 @@ resolved "https://registry.yarnpkg.com/@types/webpack-env/-/webpack-env-1.16.3.tgz#b776327a73e561b71e7881d0cd6d34a1424db86a" integrity sha512-9gtOPPkfyNoEqCQgx4qJKkuNm/x0R2hKR7fdl7zvTJyHnIisuE/LfvXOsYWL0o3qq6uiBnKZNNNzi3l0y/X+xw== -"@types/webpack-sources@*": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@types/webpack-sources/-/webpack-sources-3.2.0.tgz#16d759ba096c289034b26553d2df1bf45248d38b" - integrity sha512-Ft7YH3lEVRQ6ls8k4Ff1oB4jN6oy/XmU6tQISKdhfh+1mR+viZFphS6WL0IrtDOzvefmJg5a0s7ZQoRXwqTEFg== - dependencies: - "@types/node" "*" - "@types/source-list-map" "*" - source-map "^0.7.3" - -"@types/webpack@^4.41.8": - version "4.41.33" - resolved "https://registry.yarnpkg.com/@types/webpack/-/webpack-4.41.33.tgz#16164845a5be6a306bcbe554a8e67f9cac215ffc" - integrity sha512-PPajH64Ft2vWevkerISMtnZ8rTs4YmRbs+23c402J0INmxDKCrhZNvwZYtzx96gY2wAtXdrK1BS2fiC8MlLr3g== +"@types/ws@^8.5.1": + version "8.5.10" + resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.10.tgz#4acfb517970853fa6574a3a6886791d04a396787" + integrity sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A== dependencies: "@types/node" "*" - "@types/tapable" "^1" - "@types/uglify-js" "*" - "@types/webpack-sources" "*" - anymatch "^3.0.0" - source-map "^0.6.0" -"@typescript-eslint/eslint-plugin@^4.15.1": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.33.0.tgz#c24dc7c8069c7706bc40d99f6fa87edcb2005276" - integrity sha512-aINiAxGVdOl1eJyVjaWn/YcVAq4Gi/Yo35qHGCnqbWVz61g39D0h23veY/MA0rFFGfxK7TySg2uwDeNv+JgVpg== +"@typescript-eslint/eslint-plugin@^5.20.0": + version "5.62.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz#aeef0328d172b9e37d9bab6dbc13b87ed88977db" + integrity sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag== dependencies: - "@typescript-eslint/experimental-utils" "4.33.0" - "@typescript-eslint/scope-manager" "4.33.0" - debug "^4.3.1" - functional-red-black-tree "^1.0.1" - ignore "^5.1.8" - regexpp "^3.1.0" - semver "^7.3.5" + "@eslint-community/regexpp" "^4.4.0" + "@typescript-eslint/scope-manager" "5.62.0" + "@typescript-eslint/type-utils" "5.62.0" + "@typescript-eslint/utils" "5.62.0" + debug "^4.3.4" + graphemer "^1.4.0" + ignore "^5.2.0" + natural-compare-lite "^1.4.0" + semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/experimental-utils@4.33.0": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.33.0.tgz#6f2a786a4209fa2222989e9380b5331b2810f7fd" - integrity sha512-zeQjOoES5JFjTnAhI5QY7ZviczMzDptls15GFsI6jyUOq0kOf9+WonkhtlIhh0RgHRnqj5gdNxW5j1EvAyYg6Q== - dependencies: - "@types/json-schema" "^7.0.7" - "@typescript-eslint/scope-manager" "4.33.0" - "@typescript-eslint/types" "4.33.0" - "@typescript-eslint/typescript-estree" "4.33.0" - eslint-scope "^5.1.1" - eslint-utils "^3.0.0" - -"@typescript-eslint/parser@^4.15.1": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.33.0.tgz#dfe797570d9694e560528d18eecad86c8c744899" - integrity sha512-ZohdsbXadjGBSK0/r+d87X0SBmKzOq4/S5nzK6SBgJspFo9/CUDJ7hjayuze+JK7CZQLDMroqytp7pOcFKTxZA== - dependencies: - "@typescript-eslint/scope-manager" "4.33.0" - "@typescript-eslint/types" "4.33.0" - "@typescript-eslint/typescript-estree" "4.33.0" - debug "^4.3.1" - "@typescript-eslint/parser@^5.20.0": version "5.40.1" resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.40.1.tgz#e7f8295dd8154d0d37d661ddd8e2f0ecfdee28dd" @@ -2254,13 +2539,16 @@ "@typescript-eslint/typescript-estree" "5.40.1" debug "^4.3.4" -"@typescript-eslint/scope-manager@4.33.0": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.33.0.tgz#d38e49280d983e8772e29121cf8c6e9221f280a3" - integrity sha512-5IfJHpgTsTZuONKbODctL4kKuQje/bzBRkwHE8UOZ4f89Zeddg+EGZs8PD8NcN4LdM3ygHWYB3ukPAYjvl/qbQ== +"@typescript-eslint/parser@^6.2.0": + version "6.21.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.21.0.tgz#af8fcf66feee2edc86bc5d1cf45e33b0630bf35b" + integrity sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ== dependencies: - "@typescript-eslint/types" "4.33.0" - "@typescript-eslint/visitor-keys" "4.33.0" + "@typescript-eslint/scope-manager" "6.21.0" + "@typescript-eslint/types" "6.21.0" + "@typescript-eslint/typescript-estree" "6.21.0" + "@typescript-eslint/visitor-keys" "6.21.0" + debug "^4.3.4" "@typescript-eslint/scope-manager@5.40.1": version "5.40.1" @@ -2270,28 +2558,46 @@ "@typescript-eslint/types" "5.40.1" "@typescript-eslint/visitor-keys" "5.40.1" -"@typescript-eslint/types@4.33.0": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.33.0.tgz#a1e59036a3b53ae8430ceebf2a919dc7f9af6d72" - integrity sha512-zKp7CjQzLQImXEpLt2BUw1tvOMPfNoTAfb8l51evhYbOEEzdWyQNmHWWGPR6hwKJDAi+1VXSBmnhL9kyVTTOuQ== +"@typescript-eslint/scope-manager@5.62.0": + version "5.62.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz#d9457ccc6a0b8d6b37d0eb252a23022478c5460c" + integrity sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w== + dependencies: + "@typescript-eslint/types" "5.62.0" + "@typescript-eslint/visitor-keys" "5.62.0" + +"@typescript-eslint/scope-manager@6.21.0": + version "6.21.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.21.0.tgz#ea8a9bfc8f1504a6ac5d59a6df308d3a0630a2b1" + integrity sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg== + dependencies: + "@typescript-eslint/types" "6.21.0" + "@typescript-eslint/visitor-keys" "6.21.0" + +"@typescript-eslint/type-utils@5.62.0": + version "5.62.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.62.0.tgz#286f0389c41681376cdad96b309cedd17d70346a" + integrity sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew== + dependencies: + "@typescript-eslint/typescript-estree" "5.62.0" + "@typescript-eslint/utils" "5.62.0" + debug "^4.3.4" + tsutils "^3.21.0" "@typescript-eslint/types@5.40.1": version "5.40.1" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.40.1.tgz#de37f4f64de731ee454bb2085d71030aa832f749" integrity sha512-Icg9kiuVJSwdzSQvtdGspOlWNjVDnF3qVIKXdJ103o36yRprdl3Ge5cABQx+csx960nuMF21v8qvO31v9t3OHw== -"@typescript-eslint/typescript-estree@4.33.0": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.33.0.tgz#0dfb51c2908f68c5c08d82aefeaf166a17c24609" - integrity sha512-rkWRY1MPFzjwnEVHsxGemDzqqddw2QbTJlICPD9p9I9LfsO8fdmfQPOX3uKfUaGRDFJbfrtm/sXhVXN4E+bzCA== - dependencies: - "@typescript-eslint/types" "4.33.0" - "@typescript-eslint/visitor-keys" "4.33.0" - debug "^4.3.1" - globby "^11.0.3" - is-glob "^4.0.1" - semver "^7.3.5" - tsutils "^3.21.0" +"@typescript-eslint/types@5.62.0": + version "5.62.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.62.0.tgz#258607e60effa309f067608931c3df6fed41fd2f" + integrity sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ== + +"@typescript-eslint/types@6.21.0": + version "6.21.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.21.0.tgz#205724c5123a8fef7ecd195075fa6e85bac3436d" + integrity sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg== "@typescript-eslint/typescript-estree@5.40.1": version "5.40.1" @@ -2306,13 +2612,46 @@ semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/visitor-keys@4.33.0": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.33.0.tgz#2a22f77a41604289b7a186586e9ec48ca92ef1dd" - integrity sha512-uqi/2aSz9g2ftcHWf8uLPJA70rUv6yuMW5Bohw+bwcuzaxQIHaKFZCKGoGXIrc9vkTJ3+0txM73K0Hq3d5wgIg== +"@typescript-eslint/typescript-estree@5.62.0": + version "5.62.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz#7d17794b77fabcac615d6a48fb143330d962eb9b" + integrity sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA== dependencies: - "@typescript-eslint/types" "4.33.0" - eslint-visitor-keys "^2.0.0" + "@typescript-eslint/types" "5.62.0" + "@typescript-eslint/visitor-keys" "5.62.0" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + semver "^7.3.7" + tsutils "^3.21.0" + +"@typescript-eslint/typescript-estree@6.21.0": + version "6.21.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.21.0.tgz#c47ae7901db3b8bddc3ecd73daff2d0895688c46" + integrity sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ== + dependencies: + "@typescript-eslint/types" "6.21.0" + "@typescript-eslint/visitor-keys" "6.21.0" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + minimatch "9.0.3" + semver "^7.5.4" + ts-api-utils "^1.0.1" + +"@typescript-eslint/utils@5.62.0": + version "5.62.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.62.0.tgz#141e809c71636e4a75daa39faed2fb5f4b10df86" + integrity sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ== + dependencies: + "@eslint-community/eslint-utils" "^4.2.0" + "@types/json-schema" "^7.0.9" + "@types/semver" "^7.3.12" + "@typescript-eslint/scope-manager" "5.62.0" + "@typescript-eslint/types" "5.62.0" + "@typescript-eslint/typescript-estree" "5.62.0" + eslint-scope "^5.1.1" + semver "^7.3.7" "@typescript-eslint/visitor-keys@5.40.1": version "5.40.1" @@ -2322,167 +2661,91 @@ "@typescript-eslint/types" "5.40.1" eslint-visitor-keys "^3.3.0" -"@webassemblyjs/ast@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.9.0.tgz#bd850604b4042459a5a41cd7d338cbed695ed964" - integrity sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA== - dependencies: - "@webassemblyjs/helper-module-context" "1.9.0" - "@webassemblyjs/helper-wasm-bytecode" "1.9.0" - "@webassemblyjs/wast-parser" "1.9.0" - -"@webassemblyjs/floating-point-hex-parser@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.9.0.tgz#3c3d3b271bddfc84deb00f71344438311d52ffb4" - integrity sha512-TG5qcFsS8QB4g4MhrxK5TqfdNe7Ey/7YL/xN+36rRjl/BlGE/NcBvJcqsRgCP6Z92mRE+7N50pRIi8SmKUbcQA== - -"@webassemblyjs/helper-api-error@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz#203f676e333b96c9da2eeab3ccef33c45928b6a2" - integrity sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw== - -"@webassemblyjs/helper-buffer@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.0.tgz#a1442d269c5feb23fcbc9ef759dac3547f29de00" - integrity sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA== - -"@webassemblyjs/helper-code-frame@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.9.0.tgz#647f8892cd2043a82ac0c8c5e75c36f1d9159f27" - integrity sha512-ERCYdJBkD9Vu4vtjUYe8LZruWuNIToYq/ME22igL+2vj2dQ2OOujIZr3MEFvfEaqKoVqpsFKAGsRdBSBjrIvZA== +"@typescript-eslint/visitor-keys@5.62.0": + version "5.62.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz#2174011917ce582875954ffe2f6912d5931e353e" + integrity sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw== dependencies: - "@webassemblyjs/wast-printer" "1.9.0" - -"@webassemblyjs/helper-fsm@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.9.0.tgz#c05256b71244214671f4b08ec108ad63b70eddb8" - integrity sha512-OPRowhGbshCb5PxJ8LocpdX9Kl0uB4XsAjl6jH/dWKlk/mzsANvhwbiULsaiqT5GZGT9qinTICdj6PLuM5gslw== - -"@webassemblyjs/helper-module-context@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.9.0.tgz#25d8884b76839871a08a6c6f806c3979ef712f07" - integrity sha512-MJCW8iGC08tMk2enck1aPW+BE5Cw8/7ph/VGZxwyvGbJwjktKkDK7vy7gAmMDx88D7mhDTCNKAW5tED+gZ0W8g== - dependencies: - "@webassemblyjs/ast" "1.9.0" - -"@webassemblyjs/helper-wasm-bytecode@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz#4fed8beac9b8c14f8c58b70d124d549dd1fe5790" - integrity sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw== - -"@webassemblyjs/helper-wasm-section@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.0.tgz#5a4138d5a6292ba18b04c5ae49717e4167965346" - integrity sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-buffer" "1.9.0" - "@webassemblyjs/helper-wasm-bytecode" "1.9.0" - "@webassemblyjs/wasm-gen" "1.9.0" - -"@webassemblyjs/ieee754@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.9.0.tgz#15c7a0fbaae83fb26143bbacf6d6df1702ad39e4" - integrity sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg== - dependencies: - "@xtuc/ieee754" "^1.2.0" - -"@webassemblyjs/leb128@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.9.0.tgz#f19ca0b76a6dc55623a09cffa769e838fa1e1c95" - integrity sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw== - dependencies: - "@xtuc/long" "4.2.2" - -"@webassemblyjs/utf8@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.9.0.tgz#04d33b636f78e6a6813227e82402f7637b6229ab" - integrity sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w== - -"@webassemblyjs/wasm-edit@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.0.tgz#3fe6d79d3f0f922183aa86002c42dd256cfee9cf" - integrity sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-buffer" "1.9.0" - "@webassemblyjs/helper-wasm-bytecode" "1.9.0" - "@webassemblyjs/helper-wasm-section" "1.9.0" - "@webassemblyjs/wasm-gen" "1.9.0" - "@webassemblyjs/wasm-opt" "1.9.0" - "@webassemblyjs/wasm-parser" "1.9.0" - "@webassemblyjs/wast-printer" "1.9.0" - -"@webassemblyjs/wasm-gen@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.0.tgz#50bc70ec68ded8e2763b01a1418bf43491a7a49c" - integrity sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-wasm-bytecode" "1.9.0" - "@webassemblyjs/ieee754" "1.9.0" - "@webassemblyjs/leb128" "1.9.0" - "@webassemblyjs/utf8" "1.9.0" - -"@webassemblyjs/wasm-opt@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.0.tgz#2211181e5b31326443cc8112eb9f0b9028721a61" - integrity sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-buffer" "1.9.0" - "@webassemblyjs/wasm-gen" "1.9.0" - "@webassemblyjs/wasm-parser" "1.9.0" - -"@webassemblyjs/wasm-parser@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.0.tgz#9d48e44826df4a6598294aa6c87469d642fff65e" - integrity sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-api-error" "1.9.0" - "@webassemblyjs/helper-wasm-bytecode" "1.9.0" - "@webassemblyjs/ieee754" "1.9.0" - "@webassemblyjs/leb128" "1.9.0" - "@webassemblyjs/utf8" "1.9.0" - -"@webassemblyjs/wast-parser@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.9.0.tgz#3031115d79ac5bd261556cecc3fa90a3ef451914" - integrity sha512-qsqSAP3QQ3LyZjNC/0jBJ/ToSxfYJ8kYyuiGvtn/8MK89VrNEfwj7BPQzJVHi0jGTRK2dGdJ5PRqhtjzoww+bw== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/floating-point-hex-parser" "1.9.0" - "@webassemblyjs/helper-api-error" "1.9.0" - "@webassemblyjs/helper-code-frame" "1.9.0" - "@webassemblyjs/helper-fsm" "1.9.0" - "@xtuc/long" "4.2.2" - -"@webassemblyjs/wast-printer@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz#4935d54c85fef637b00ce9f52377451d00d47899" - integrity sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/wast-parser" "1.9.0" - "@xtuc/long" "4.2.2" + "@typescript-eslint/types" "5.62.0" + eslint-visitor-keys "^3.3.0" -"@xtuc/ieee754@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" - integrity sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA== +"@typescript-eslint/visitor-keys@6.21.0": + version "6.21.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.21.0.tgz#87a99d077aa507e20e238b11d56cc26ade45fe47" + integrity sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A== + dependencies: + "@typescript-eslint/types" "6.21.0" + eslint-visitor-keys "^3.4.1" + +"@vue/compiler-core@3.4.21": + version "3.4.21" + resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.4.21.tgz#868b7085378fc24e58c9aed14c8d62110a62be1a" + integrity sha512-MjXawxZf2SbZszLPYxaFCjxfibYrzr3eYbKxwpLR9EQN+oaziSu3qKVbwBERj1IFIB8OLUewxB5m/BFzi613og== + dependencies: + "@babel/parser" "^7.23.9" + "@vue/shared" "3.4.21" + entities "^4.5.0" + estree-walker "^2.0.2" + source-map-js "^1.0.2" + +"@vue/compiler-dom@3.4.21": + version "3.4.21" + resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.4.21.tgz#0077c355e2008207283a5a87d510330d22546803" + integrity sha512-IZC6FKowtT1sl0CR5DpXSiEB5ayw75oT2bma1BEhV7RRR1+cfwLrxc2Z8Zq/RGFzJ8w5r9QtCOvTjQgdn0IKmA== + dependencies: + "@vue/compiler-core" "3.4.21" + "@vue/shared" "3.4.21" + +"@vue/compiler-sfc@^3.3.4": + version "3.4.21" + resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.4.21.tgz#4af920dc31ab99e1ff5d152b5fe0ad12181145b2" + integrity sha512-me7epoTxYlY+2CUM7hy9PCDdpMPfIwrOvAXud2Upk10g4YLv9UBW7kL798TvMeDhPthkZ0CONNrK2GoeI1ODiQ== + dependencies: + "@babel/parser" "^7.23.9" + "@vue/compiler-core" "3.4.21" + "@vue/compiler-dom" "3.4.21" + "@vue/compiler-ssr" "3.4.21" + "@vue/shared" "3.4.21" + estree-walker "^2.0.2" + magic-string "^0.30.7" + postcss "^8.4.35" + source-map-js "^1.0.2" + +"@vue/compiler-ssr@3.4.21": + version "3.4.21" + resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.4.21.tgz#b84ae64fb9c265df21fc67f7624587673d324fef" + integrity sha512-M5+9nI2lPpAsgXOGQobnIueVqc9sisBFexh5yMIMRAPYLa7+5wEJs8iqOZc1WAa9WQbx9GR2twgznU8LTIiZ4Q== + dependencies: + "@vue/compiler-dom" "3.4.21" + "@vue/shared" "3.4.21" + +"@vue/component-compiler-utils@^3.1.0": + version "3.3.0" + resolved "https://registry.yarnpkg.com/@vue/component-compiler-utils/-/component-compiler-utils-3.3.0.tgz#f9f5fb53464b0c37b2c8d2f3fbfe44df60f61dc9" + integrity sha512-97sfH2mYNU+2PzGrmK2haqffDpVASuib9/w2/noxiFi31Z54hW+q3izKQXXQZSNhtiUpAI36uSuYepeBe4wpHQ== + dependencies: + consolidate "^0.15.1" + hash-sum "^1.0.2" + lru-cache "^4.1.2" + merge-source-map "^1.1.0" + postcss "^7.0.36" + postcss-selector-parser "^6.0.2" + source-map "~0.6.1" + vue-template-es2015-compiler "^1.9.0" + optionalDependencies: + prettier "^1.18.2 || ^2.0.0" -"@xtuc/long@4.2.2": - version "4.2.2" - resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" - integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== +"@vue/shared@3.4.21": + version "3.4.21" + resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.4.21.tgz#de526a9059d0a599f0b429af7037cd0c3ed7d5a1" + integrity sha512-PuJe7vDIi6VYSinuEbUIQgMIRZGgM8e4R+G+/dQTk0X1NEdvgvvgv7m+rfmDH1gZzyA1OjjoWskvHlfRNfQf3g== -abab@^2.0.3, abab@^2.0.5: +abab@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.6.tgz#41b80f2c871d19686216b82309231cfd3cb3d291" integrity sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA== -accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.7: +accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.8: version "1.3.8" resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.8.tgz#0bf0be125b67014adcb0b0921e62db7bffe16b2e" integrity sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw== @@ -2490,45 +2753,40 @@ accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.7: mime-types "~2.1.34" negotiator "0.6.3" -acorn-globals@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-6.0.0.tgz#46cdd39f0f8ff08a876619b55f5ac8a6dc770b45" - integrity sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg== +acorn-globals@^7.0.0: + version "7.0.1" + resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-7.0.1.tgz#0dbf05c44fa7c94332914c02066d5beff62c40c3" + integrity sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q== dependencies: - acorn "^7.1.1" - acorn-walk "^7.1.1" + acorn "^8.1.0" + acorn-walk "^8.0.2" -acorn-jsx@^5.0.0, acorn-jsx@^5.2.0, acorn-jsx@^5.3.2: +acorn-jsx@^5.3.2: version "5.3.2" resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== -acorn-walk@^7.1.1: - version "7.2.0" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc" - integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA== - acorn-walk@^8.0.0, acorn-walk@^8.2.0: version "8.2.0" resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== -acorn@^6.0.7, acorn@^6.4.1: - version "6.4.2" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.2.tgz#35866fd710528e92de10cf06016498e47e39e1e6" - integrity sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ== - -acorn@^7.1.1: - version "7.4.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" - integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== +acorn-walk@^8.0.2: + version "8.3.2" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.2.tgz#7703af9415f1b6db9315d6895503862e231d34aa" + integrity sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A== acorn@^8.0.4, acorn@^8.7.0: version "8.7.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.7.0.tgz#90951fde0f8f09df93549481e5fc141445b791cf" integrity sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ== -acorn@^8.2.4, acorn@^8.8.0: +acorn@^8.1.0, acorn@^8.8.2, acorn@^8.9.0: + version "8.11.3" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a" + integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg== + +acorn@^8.8.0: version "8.8.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.0.tgz#88c0187620435c7f6015803f5539dae05a9dbea8" integrity sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w== @@ -2538,14 +2796,6 @@ address@^1.0.1: resolved "https://registry.yarnpkg.com/address/-/address-1.1.2.tgz#bf1116c9c758c51b7a933d296b72c221ed9428b6" integrity sha512-aT6camzM4xEA54YVJYSqxz1kv4IHnQZRtThJJHhUMRExaU5spC7jX5ugSwTaTgJliIgs4VhZOk7htClvQ/LmRA== -adjust-sourcemap-loader@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/adjust-sourcemap-loader/-/adjust-sourcemap-loader-3.0.0.tgz#5ae12fb5b7b1c585e80bbb5a63ec163a1a45e61e" - integrity sha512-YBrGyT2/uVQ/c6Rr+t6ZJXniY03YtHGMJQYal368burRGYKqhx9qGTWqcBU5s1CwYY9E/ri63RYyG1IacMZtqw== - dependencies: - loader-utils "^2.0.0" - regex-parser "^2.2.11" - adjust-sourcemap-loader@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/adjust-sourcemap-loader/-/adjust-sourcemap-loader-4.0.0.tgz#fc4a0fd080f7d10471f30a7320f25560ade28c99" @@ -2566,25 +2816,26 @@ agent-base@6: dependencies: debug "4" -aggregate-error@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" - integrity sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA== +ajv-formats@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/ajv-formats/-/ajv-formats-2.1.1.tgz#6e669400659eb74973bbf2e33327180a0996b520" + integrity sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA== dependencies: - clean-stack "^2.0.0" - indent-string "^4.0.0" - -ajv-errors@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/ajv-errors/-/ajv-errors-1.0.1.tgz#f35986aceb91afadec4102fbd85014950cefa64d" - integrity sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ== + ajv "^8.0.0" -ajv-keywords@^3.0.0, ajv-keywords@^3.1.0, ajv-keywords@^3.4.1, ajv-keywords@^3.5.2: +ajv-keywords@^3.0.0, ajv-keywords@^3.5.2: version "3.5.2" resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ== -ajv@^6.0.1, ajv@^6.1.0, ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.3, ajv@^6.12.4, ajv@^6.12.5, ajv@^6.9.1: +ajv-keywords@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-5.1.0.tgz#69d4d385a4733cdbeab44964a1170a88f87f0e16" + integrity sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw== + dependencies: + fast-deep-equal "^3.1.3" + +ajv@^6.0.1, ajv@^6.10.0, ajv@^6.12.3, ajv@^6.12.4, ajv@^6.12.5: version "6.12.6" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== @@ -2594,27 +2845,22 @@ ajv@^6.0.1, ajv@^6.1.0, ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.3, ajv@^6.12.4, ajv@ json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ansi-align@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-2.0.0.tgz#c36aeccba563b89ceb556f3690f0b1d9e3547f7f" - integrity sha1-w2rsy6VjuJzrVW82kPCx2eNUf38= +ajv@^8.0.0, ajv@^8.9.0: + version "8.12.0" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1" + integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== dependencies: - string-width "^2.0.0" - -ansi-colors@^3.0.0: - version "3.2.4" - resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.4.tgz#e3a3da4bfbae6c86a9c285625de124a234026fbf" - integrity sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA== - -ansi-escapes@^1.1.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e" - integrity sha1-06ioOzGapneTZisT52HHkRQiMG4= + fast-deep-equal "^3.1.1" + json-schema-traverse "^1.0.0" + require-from-string "^2.0.2" + uri-js "^4.2.2" -ansi-escapes@^3.0.0, ansi-escapes@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b" - integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ== +ansi-align@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-3.0.1.tgz#0cdf12e111ace773a86e9a1fad1225c43cb19a59" + integrity sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w== + dependencies: + string-width "^4.1.0" ansi-escapes@^4.2.1, ansi-escapes@^4.3.2: version "4.3.2" @@ -2623,7 +2869,7 @@ ansi-escapes@^4.2.1, ansi-escapes@^4.3.2: dependencies: type-fest "^0.21.3" -ansi-html-community@0.0.8: +ansi-html-community@^0.0.8: version "0.0.8" resolved "https://registry.yarnpkg.com/ansi-html-community/-/ansi-html-community-0.0.8.tgz#69fbc4d6ccbe383f9736934ae34c3f8290f1bf41" integrity sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw== @@ -2638,22 +2884,22 @@ ansi-regex@^3.0.0: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg= -ansi-regex@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997" - integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== - 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-regex@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.0.1.tgz#3183e38fae9a65d7cb5e53945cd5897d0260a06a" + integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA== + ansi-styles@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" integrity sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4= -ansi-styles@^3.2.0, ansi-styles@^3.2.1: +ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== @@ -2667,20 +2913,17 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0: dependencies: color-convert "^2.0.1" +ansi-styles@^6.1.0: + version "6.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" + integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== + any-promise@^1.0.0: version "1.3.0" resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" integrity sha1-q8av7tzqUugJzcA3au0845Y10X8= -anymatch@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb" - integrity sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw== - dependencies: - micromatch "^3.1.4" - normalize-path "^2.1.1" - -anymatch@^3.0.0, anymatch@~3.1.2: +anymatch@~3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== @@ -2688,11 +2931,6 @@ anymatch@^3.0.0, anymatch@~3.1.2: normalize-path "^3.0.0" picomatch "^2.0.4" -aproba@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" - integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== - archive-type@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/archive-type/-/archive-type-4.0.0.tgz#f92e72233056dfc6969472749c267bdb046b1d70" @@ -2717,11 +2955,6 @@ argparse@^2.0.1: resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== -arity-n@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/arity-n/-/arity-n-1.0.4.tgz#d9e76b11733e08569c0847ae7b39b2860b30b745" - integrity sha1-2edrEXM+CFacCEeuezmyhgswt0U= - arr-diff@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf" @@ -2759,12 +2992,7 @@ array-flatten@1.1.1: resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" integrity sha1-ml9pkFGx5wczKPKgCJaLZOopVdI= -array-flatten@^2.1.0: - version "2.1.2" - resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-2.1.2.tgz#24ef80a28c1a893617e2149b0c6d0d788293b099" - integrity sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ== - -array-includes@^3.1.1, array-includes@^3.1.3, array-includes@^3.1.4: +array-includes@^3.1.3, array-includes@^3.1.4: version "3.1.4" resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.4.tgz#f5b493162c760f3539631f005ba2bb46acb45ba9" integrity sha512-ZTNSQkmWumEbiHO2GF4GmWxYVTiQyJy2XOTa15sdQSrvKn7l+180egQMqlrMOUMCyLMD7pmyQe4mMDUT6Behrw== @@ -2775,7 +3003,7 @@ array-includes@^3.1.1, array-includes@^3.1.3, array-includes@^3.1.4: get-intrinsic "^1.1.1" is-string "^1.0.7" -array-union@^1.0.1, array-union@^1.0.2: +array-union@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" integrity sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk= @@ -2787,6 +3015,11 @@ array-union@^2.1.0: resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== +array-union@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/array-union/-/array-union-3.0.1.tgz#da52630d327f8b88cfbfb57728e2af5cd9b6b975" + integrity sha512-1OvF9IbWwaeiM9VhzYXVQacMibxpXOMYVNIvMtKRyX9SImBXpKcFr8XvFDeEslCyuH/t6KRt7HEO94AlP8Iatw== + array-uniq@^1.0.1: version "1.0.3" resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" @@ -2820,7 +3053,7 @@ array.prototype.flatmap@^1.2.5: define-properties "^1.1.3" es-abstract "^1.19.0" -arrify@^1.0.0, arrify@^1.0.1: +arrify@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" integrity sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0= @@ -2830,16 +3063,6 @@ arrify@^2.0.1: resolved "https://registry.yarnpkg.com/arrify/-/arrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== -asn1.js@^5.2.0: - version "5.4.1" - resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-5.4.1.tgz#11a980b84ebb91781ce35b0fdc2ee294e3783f07" - integrity sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA== - dependencies: - bn.js "^4.0.0" - inherits "^2.0.1" - minimalistic-assert "^1.0.0" - safer-buffer "^2.1.0" - asn1@~0.2.3: version "0.2.6" resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.6.tgz#0d3a7bb6e64e02a90c0303b31f292868ea09a08d" @@ -2852,46 +3075,11 @@ assert-plus@1.0.0, assert-plus@^1.0.0: resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" integrity sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU= -assert@^1.1.1: - version "1.5.0" - resolved "https://registry.yarnpkg.com/assert/-/assert-1.5.0.tgz#55c109aaf6e0aefdb3dc4b71240c70bf574b18eb" - integrity sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA== - dependencies: - object-assign "^4.1.1" - util "0.10.3" - assign-symbols@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" integrity sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c= -astral-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9" - integrity sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg== - -async-each@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf" - integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ== - -async-limiter@~1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" - integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ== - -async@0.9.x: - version "0.9.2" - resolved "https://registry.yarnpkg.com/async/-/async-0.9.2.tgz#aea74d5e61c1f899613bf64bda66d4c78f2fd17d" - integrity sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0= - -async@^2.6.2: - version "2.6.3" - resolved "https://registry.yarnpkg.com/async/-/async-2.6.3.tgz#d72625e2344a3656e3a3ad4fa749fa83299d82ff" - integrity sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg== - dependencies: - lodash "^4.17.14" - asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" @@ -2937,117 +3125,11 @@ aws4@^1.8.0: resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59" integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA== -babel-code-frame@^6.26.0, babel-code-frame@^6.8.0: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" - integrity sha1-Y/1D99weO7fONZR9uP42mj9Yx0s= - dependencies: - chalk "^1.1.3" - esutils "^2.0.2" - js-tokens "^3.0.2" - -babel-core@6.10.4: - version "6.10.4" - resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.10.4.tgz#283f2212bb03d4e5cd7498b9886efbf6fc2e238e" - integrity sha1-KD8iErsD1OXNdJi5iG779vwuI44= - dependencies: - babel-code-frame "^6.8.0" - babel-generator "^6.9.0" - babel-helpers "^6.8.0" - babel-messages "^6.8.0" - babel-register "^6.9.0" - babel-runtime "^6.9.1" - babel-template "^6.9.0" - babel-traverse "^6.10.4" - babel-types "^6.9.1" - babylon "^6.7.0" - convert-source-map "^1.1.0" - debug "^2.1.1" - json5 "^0.4.0" - lodash "^4.2.0" - minimatch "^3.0.2" - path-exists "^1.0.0" - path-is-absolute "^1.0.0" - private "^0.1.6" - shebang-regex "^1.0.0" - slash "^1.0.0" - source-map "^0.5.0" - -babel-core@^6.26.0, babel-core@^6.26.3: - version "6.26.3" - resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.26.3.tgz#b2e2f09e342d0f0c88e2f02e067794125e75c207" - integrity sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA== - dependencies: - babel-code-frame "^6.26.0" - babel-generator "^6.26.0" - babel-helpers "^6.24.1" - babel-messages "^6.23.0" - babel-register "^6.26.0" - babel-runtime "^6.26.0" - babel-template "^6.26.0" - babel-traverse "^6.26.0" - babel-types "^6.26.0" - babylon "^6.18.0" - convert-source-map "^1.5.1" - debug "^2.6.9" - json5 "^0.5.1" - lodash "^4.17.4" - minimatch "^3.0.4" - path-is-absolute "^1.0.1" - private "^0.1.8" - slash "^1.0.0" - source-map "^0.5.7" - -babel-eslint@^8.2.3: - version "8.2.6" - resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-8.2.6.tgz#6270d0c73205628067c0f7ae1693a9e797acefd9" - integrity sha512-aCdHjhzcILdP8c9lej7hvXKvQieyRt20SF102SIGyY4cUIiw6UaAtK4j2o3dXX74jEmy0TJ0CEhv4fTIM3SzcA== - dependencies: - "@babel/code-frame" "7.0.0-beta.44" - "@babel/traverse" "7.0.0-beta.44" - "@babel/types" "7.0.0-beta.44" - babylon "7.0.0-beta.44" - eslint-scope "3.7.1" - eslint-visitor-keys "^1.0.0" - -babel-generator@^6.26.0, babel-generator@^6.26.1, babel-generator@^6.9.0: - version "6.26.1" - resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.1.tgz#1844408d3b8f0d35a404ea7ac180f087a601bd90" - integrity sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA== - dependencies: - babel-messages "^6.23.0" - babel-runtime "^6.26.0" - babel-types "^6.26.0" - detect-indent "^4.0.0" - jsesc "^1.3.0" - lodash "^4.17.4" - source-map "^0.5.7" - trim-right "^1.0.1" - babel-helper-evaluate-path@^0.5.0: version "0.5.0" resolved "https://registry.yarnpkg.com/babel-helper-evaluate-path/-/babel-helper-evaluate-path-0.5.0.tgz#a62fa9c4e64ff7ea5cea9353174ef023a900a67c" integrity sha512-mUh0UhS607bGh5wUMAQfOpt2JX2ThXMtppHRdRU1kL7ZLRWIXxoV2UIV1r2cAeeNeU1M5SB5/RSUgUxrK8yOkA== -babel-helper-function-name@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz#d3475b8c03ed98242a25b48351ab18399d3580a9" - integrity sha1-00dbjAPtmCQqJbSDUasYOZ01gKk= - dependencies: - babel-helper-get-function-arity "^6.24.1" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - -babel-helper-get-function-arity@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz#8f7782aa93407c41d3aa50908f89b031b1b6853d" - integrity sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0= - dependencies: - babel-runtime "^6.22.0" - babel-types "^6.24.1" - babel-helper-mark-eval-scopes@^0.4.3: version "0.4.3" resolved "https://registry.yarnpkg.com/babel-helper-mark-eval-scopes/-/babel-helper-mark-eval-scopes-0.4.3.tgz#d244a3bef9844872603ffb46e22ce8acdf551562" @@ -3058,14 +3140,6 @@ babel-helper-remove-or-void@^0.4.3: resolved "https://registry.yarnpkg.com/babel-helper-remove-or-void/-/babel-helper-remove-or-void-0.4.3.tgz#a4f03b40077a0ffe88e45d07010dee241ff5ae60" integrity sha1-pPA7QAd6D/6I5F0HAQ3uJB/1rmA= -babel-helpers@^6.24.1, babel-helpers@^6.8.0: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-helpers/-/babel-helpers-6.24.1.tgz#3471de9caec388e5c850e597e58a26ddf37602b2" - integrity sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI= - dependencies: - babel-runtime "^6.22.0" - babel-template "^6.24.1" - babel-loader@8.2.1: version "8.2.1" resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.2.1.tgz#e53313254677e86f27536f5071d807e01d24ec00" @@ -3077,25 +3151,6 @@ babel-loader@8.2.1: pify "^4.0.1" schema-utils "^2.6.5" -babel-macros@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/babel-macros/-/babel-macros-1.2.0.tgz#39e47ed6d286d4a98f1948d8bab45dac17e4e2d4" - integrity sha512-/GIwkOeNHQU9R27Bkt0jHrJgaXBX5KLKrIH5h/iGebvKppvL9e4wKCgrl4qwUj0qssBHQFeSavk3lG2lQgdq8w== - dependencies: - cosmiconfig "3.1.0" - -babel-messages@^6.23.0, babel-messages@^6.8.0: - version "6.23.0" - resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e" - integrity sha1-8830cDhYA1sqKVHG7F7fbGLyYw4= - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-danger-remove-unused-import@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/babel-plugin-danger-remove-unused-import/-/babel-plugin-danger-remove-unused-import-1.1.2.tgz#ac39c30edfe524ef8cfc411fec5edc479d19e132" - integrity sha512-3bNmVAaakP3b1aROj7O3bOWj2kBa85sZR5naZ3Rn8L9buiZaAyZLgjfrPDL3zhX4wySOA5jrTm/wSmJPsMm3cg== - babel-plugin-dynamic-import-node@2.3.3, babel-plugin-dynamic-import-node@^2.3.3: version "2.3.3" resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz#84fda19c976ec5c6defef57f9427b3def66e17a3" @@ -3103,16 +3158,6 @@ babel-plugin-dynamic-import-node@2.3.3, babel-plugin-dynamic-import-node@^2.3.3: dependencies: object.assign "^4.1.0" -babel-plugin-global-define@1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/babel-plugin-global-define/-/babel-plugin-global-define-1.0.3.tgz#262c528f0c26bf318f4ccc77cf21df43a0fa6308" - integrity sha512-M8Sby4wRLuLr+9UB8V31knVRf/rl0xkk51A7um6hUCvVPyOvLtI0u0k1OPiMgE2d7CwmeSa33NzGpaALHPQCPg== - -babel-plugin-jsx-attributes-array-to-object@0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-plugin-jsx-attributes-array-to-object/-/babel-plugin-jsx-attributes-array-to-object-0.3.0.tgz#ac7b551a2407750ac899460fe5e38b1dceaebed1" - integrity sha512-XvbCsBFo/y4n2DzRtICQ60Kb3FWPIK359YsUkDPjC4UBCF/FMENKYzxarEhAD1GnrAuui5wOUvli89yqF1IzdA== - babel-plugin-minify-dead-code-elimination@^0.5.2: version "0.5.2" resolved "https://registry.yarnpkg.com/babel-plugin-minify-dead-code-elimination/-/babel-plugin-minify-dead-code-elimination-0.5.2.tgz#f386ceec77a80cc4e76022a04c21b7d68e0aa5eb" @@ -3123,13 +3168,6 @@ babel-plugin-minify-dead-code-elimination@^0.5.2: babel-helper-remove-or-void "^0.4.3" lodash "^4.17.11" -babel-plugin-minify-dead-code@^1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-dead-code/-/babel-plugin-minify-dead-code-1.3.2.tgz#7cd45c95c52700f00680a37377e00accad45b188" - integrity sha512-hfClkGGaqAGd3wYQbUFkUCPIpRzLKs9i7hWRpCKuSd/Lef3zAiIic4Kz79IZRjSW745Tp0IL4rvZoAEbUHknkA== - dependencies: - babel-core "6.10.4" - babel-plugin-polyfill-corejs2@^0.3.0: version "0.3.1" resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.1.tgz#440f1b70ccfaabc6b676d196239b138f8a2cfba5" @@ -3154,90 +3192,6 @@ babel-plugin-polyfill-regenerator@^0.3.0: dependencies: "@babel/helper-define-polyfill-provider" "^0.3.1" -babel-plugin-preval@1.6.2: - version "1.6.2" - resolved "https://registry.yarnpkg.com/babel-plugin-preval/-/babel-plugin-preval-1.6.2.tgz#8f580a1d4579d5fc79f1cfaee6f9fe0996fdeb1f" - integrity sha512-o/65+qySRSkh10QPqEk9dbudYCjRNHc4lZYb7EH838Ri7ATwhw/o/09tr72yJGiOaGO7GFa1MszUg8dN7TAjXQ== - dependencies: - babel-macros "^1.1.1" - babel-register "^6.26.0" - babylon "^6.18.0" - require-from-string "^2.0.1" - -babel-plugin-syntax-class-properties@^6.8.0: - version "6.13.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz#d7eb23b79a317f8543962c505b827c7d6cac27de" - integrity sha1-1+sjt5oxf4VDlixQW4J8fWysJ94= - -babel-plugin-syntax-do-expressions@^6.8.0: - version "6.13.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-do-expressions/-/babel-plugin-syntax-do-expressions-6.13.0.tgz#5747756139aa26d390d09410b03744ba07e4796d" - integrity sha1-V0d1YTmqJtOQ0JQQsDdEugfkeW0= - -babel-plugin-syntax-dynamic-import@^6.18.0: - version "6.18.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz#8d6a26229c83745a9982a441051572caa179b1da" - integrity sha1-jWomIpyDdFqZgqRBBRVyyqF5sdo= - -babel-plugin-syntax-export-extensions@^6.8.0: - version "6.13.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-export-extensions/-/babel-plugin-syntax-export-extensions-6.13.0.tgz#70a1484f0f9089a4e84ad44bac353c95b9b12721" - integrity sha1-cKFITw+QiaToStRLrDU8lbmxJyE= - -babel-plugin-syntax-flow@^6.18.0: - version "6.18.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz#4c3ab20a2af26aa20cd25995c398c4eb70310c8d" - integrity sha1-TDqyCiryaqIM0lmVw5jE63AxDI0= - -babel-plugin-transform-class-properties@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz#6a79763ea61d33d36f37b611aa9def81a81b46ac" - integrity sha1-anl2PqYdM9NvN7YRqp3vgagbRqw= - dependencies: - babel-helper-function-name "^6.24.1" - babel-plugin-syntax-class-properties "^6.8.0" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - -babel-plugin-transform-define@^1.3.0: - version "1.3.2" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-define/-/babel-plugin-transform-define-1.3.2.tgz#4bdbfe35a839fc206e0f60a7a9ae3b82d5e11808" - integrity sha512-fieU/nFuZjTxIttXoucN1fOIrej8I989IXqATMvKVcgTnfi53BjEwLzkw2KA6Q4gRRl4Cf3iiRVpwiB4PHFuWA== - dependencies: - lodash "^4.17.11" - traverse "0.6.6" - -babel-plugin-transform-do-expressions@^6.22.0: - version "6.22.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-do-expressions/-/babel-plugin-transform-do-expressions-6.22.0.tgz#28ccaf92812d949c2cd1281f690c8fdc468ae9bb" - integrity sha1-KMyvkoEtlJws0SgfaQyP3EaK6bs= - dependencies: - babel-plugin-syntax-do-expressions "^6.8.0" - babel-runtime "^6.22.0" - -babel-plugin-transform-es2015-template-literals@^6.22.0: - version "6.22.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz#a84b3450f7e9f8f1f6839d6d687da84bb1236d8d" - integrity sha1-qEs0UPfp+PH2g51taH2oS7EjbY0= - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-transform-export-extensions@^6.22.0: - version "6.22.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-export-extensions/-/babel-plugin-transform-export-extensions-6.22.0.tgz#53738b47e75e8218589eea946cbbd39109bbe653" - integrity sha1-U3OLR+deghhYnuqUbLvTkQm75lM= - dependencies: - babel-plugin-syntax-export-extensions "^6.8.0" - babel-runtime "^6.22.0" - -babel-plugin-transform-flow-strip-types@^6.22.0: - version "6.22.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.22.0.tgz#84cb672935d43714fdc32bce84568d87441cf7cf" - integrity sha1-hMtnKTXUNxT9wyvOhFaNh0Qc988= - dependencies: - babel-plugin-syntax-flow "^6.18.0" - babel-runtime "^6.22.0" - babel-plugin-transform-imports-api@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-imports-api/-/babel-plugin-transform-imports-api-1.0.0.tgz#b9076ebfe8da7ed5f3b44be23823500d22c43bc6" @@ -3245,23 +3199,10 @@ babel-plugin-transform-imports-api@1.0.0: dependencies: is-invalid-path "^1.0.2" -babel-plugin-transform-react-jsx-to-rn-stylesheet@3.5.6: - version "3.5.6" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-react-jsx-to-rn-stylesheet/-/babel-plugin-transform-react-jsx-to-rn-stylesheet-3.5.6.tgz#7c555de54d6318c84cd1f6a520c5b4c2fbfbf44c" - integrity sha512-R1iipAAgPTaLXSUphNS+GMwz/OfeLVgMNeJc0z1DDtCIt1FAuep8YOE6HCemBNiKivueYoc0WVSXuUUKvZET/w== - dependencies: - camelize "^1.0.0" - taro-css-to-react-native "3.5.6" - -babel-plugin-transform-taroapi@3.5.6: - version "3.5.6" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-taroapi/-/babel-plugin-transform-taroapi-3.5.6.tgz#2232c78bddab2f3c702290dc7a1ad95b312c364d" - integrity sha512-6ddj+YJ8BGQgUskCxVtTe24g2LgMUxtvhf8gOlY5imNQNGGZxBxiz2YhZzPozHx76UEvAjY6jeyrbEBWw8lQsA== - -babel-preset-taro@3.5.6: - version "3.5.6" - resolved "https://registry.yarnpkg.com/babel-preset-taro/-/babel-preset-taro-3.5.6.tgz#63444a27d598a602419d781bc7a54f479a78fb88" - integrity sha512-NeYSJTT6MoVKUTqtk/SH5THelcvuu+/3NRJbL0aBp3VkbSeA52f8Hig84pc0payFJOK9Pse+WvEmxpMEgp+nFQ== +babel-preset-taro@3.6.24: + version "3.6.24" + resolved "https://registry.yarnpkg.com/babel-preset-taro/-/babel-preset-taro-3.6.24.tgz#392b26232fbb9739dd91bccc9a461381a87bcaf3" + integrity sha512-qMx0X7fwaGdUYTK6Oj0DGk1N4y/VgP7GgVl1CROtYofFBbOEs9lXKQ96DjBX9aUrKFAblvFv8AEzjq1RlqMgcw== dependencies: "@babel/plugin-proposal-class-properties" "^7.14.5" "@babel/plugin-proposal-decorators" "^7.14.5" @@ -3272,84 +3213,14 @@ babel-preset-taro@3.5.6: "@babel/preset-typescript" "^7.14.5" "@babel/runtime" "^7.14.5" "@babel/runtime-corejs3" "^7.14.5" - "@tarojs/helper" "3.5.6" - "@tarojs/taro-h5" "3.5.6" + "@tarojs/helper" "3.6.24" babel-plugin-dynamic-import-node "2.3.3" - babel-plugin-global-define "1.0.3" - babel-plugin-jsx-attributes-array-to-object "0.3.0" babel-plugin-minify-dead-code-elimination "^0.5.2" babel-plugin-transform-imports-api "1.0.0" - babel-plugin-transform-react-jsx-to-rn-stylesheet "3.5.6" - babel-plugin-transform-taroapi "3.5.6" core-js "^3.6.5" - metro-react-native-babel-preset "^0.70.3" - -babel-register@^6.26.0, babel-register@^6.9.0: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.26.0.tgz#6ed021173e2fcb486d7acb45c6009a856f647071" - integrity sha1-btAhFz4vy0htestFxgCahW9kcHE= - dependencies: - babel-core "^6.26.0" - babel-runtime "^6.26.0" - core-js "^2.5.0" - home-or-tmp "^2.0.0" - lodash "^4.17.4" - mkdirp "^0.5.1" - source-map-support "^0.4.15" - -babel-runtime@^6.0.0, babel-runtime@^6.22.0, babel-runtime@^6.26.0, babel-runtime@^6.6.1, babel-runtime@^6.9.1: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" - integrity sha1-llxwWGaOgrVde/4E/yM3vItWR/4= - dependencies: - core-js "^2.4.0" - regenerator-runtime "^0.11.0" - -babel-template@^6.24.1, babel-template@^6.26.0, babel-template@^6.9.0: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.26.0.tgz#de03e2d16396b069f46dd9fff8521fb1a0e35e02" - integrity sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI= - dependencies: - babel-runtime "^6.26.0" - babel-traverse "^6.26.0" - babel-types "^6.26.0" - babylon "^6.18.0" - lodash "^4.17.4" - -babel-traverse@^6.10.4, babel-traverse@^6.24.1, babel-traverse@^6.26.0: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee" - integrity sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4= - dependencies: - babel-code-frame "^6.26.0" - babel-messages "^6.23.0" - babel-runtime "^6.26.0" - babel-types "^6.26.0" - babylon "^6.18.0" - debug "^2.6.8" - globals "^9.18.0" - invariant "^2.2.2" - lodash "^4.17.4" - -babel-types@^6.24.1, babel-types@^6.26.0, babel-types@^6.9.1: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497" - integrity sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc= - dependencies: - babel-runtime "^6.26.0" - esutils "^2.0.2" - lodash "^4.17.4" - to-fast-properties "^1.0.3" - -babylon@7.0.0-beta.44: - version "7.0.0-beta.44" - resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.44.tgz#89159e15e6e30c5096e22d738d8c0af8a0e8ca1d" - integrity sha512-5Hlm13BJVAioCHpImtFqNOF2H3ieTOHd0fmFGMxOJ9jgeFqeAwsv3u5P5cR7CSeFrkgHsT19DgFJkHV0/Mcd8g== - -babylon@^6.18.0, babylon@^6.7.0: - version "6.18.0" - resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" - integrity sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ== + lodash "^4.17.21" + metro-react-native-babel-preset "^0.72.1" + react-refresh "^0.11.0" bail@^1.0.0: version "1.0.5" @@ -3361,7 +3232,7 @@ balanced-match@^1.0.0: resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== -base64-js@^1.0.2, base64-js@^1.3.0, base64-js@^1.3.1: +base64-js@^1.3.1: version "1.5.1" resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== @@ -3391,49 +3262,16 @@ bcrypt-pbkdf@^1.0.0: dependencies: tweetnacl "^0.14.3" -better-babel-generator@6.26.1: - version "6.26.1" - resolved "https://registry.yarnpkg.com/better-babel-generator/-/better-babel-generator-6.26.1.tgz#7c26035f32d8d55d06dbc81b410378a6230a515e" - integrity sha512-lB1jQJY810l0dOtvk+XKTiWO4KHYYkfgkDG7EAsvul75ZLiHMNTIWC0zYl8EwThrN1FQresn475mRAcRX0JrPA== - dependencies: - babel-messages "^6.23.0" - babel-runtime "^6.26.0" - babel-types "^6.26.0" - detect-indent "^4.0.0" - jsesc "2" - lodash "^4.17.4" - source-map "^0.5.7" - trim-right "^1.0.1" - -better-scroll@^1.14.1: - version "1.15.2" - resolved "https://registry.yarnpkg.com/better-scroll/-/better-scroll-1.15.2.tgz#65ffc6058b8b4ff337b8dfad4bcb334d7699ceb6" - integrity sha512-sSY2N8I9/B+YX/9JpIz6pMQYnmBuvspBqZG4UxYaQEfz/ZWrnxwdyKLL4t6IKpFmxqtZadVypXw7vSSHxBZpBQ== - dependencies: - babel-runtime "^6.0.0" - big.js@^5.2.2: version "5.2.2" resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== -binary-extensions@^1.0.0: - version "1.13.1" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.13.1.tgz#598afe54755b2868a5330d2aff9d4ebb53209b65" - integrity sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw== - binary-extensions@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== -bindings@^1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" - integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== - dependencies: - file-uri-to-path "1.0.0" - bl@^1.0.0: version "1.2.3" resolved "https://registry.yarnpkg.com/bl/-/bl-1.2.3.tgz#1e8dd80142eac80d7158c9dccc047fb620e035e7" @@ -3442,66 +3280,64 @@ bl@^1.0.0: readable-stream "^2.3.5" safe-buffer "^5.1.1" -bluebird@^3.5.5: +bl@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a" + integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w== + dependencies: + buffer "^5.5.0" + inherits "^2.0.4" + readable-stream "^3.4.0" + +bluebird@^3.1.1: version "3.7.2" resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== -bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9: - version "4.12.0" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" - integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== - -bn.js@^5.0.0, bn.js@^5.1.1: - version "5.2.0" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.0.tgz#358860674396c6997771a9d051fcc1b57d4ae002" - integrity sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw== - -body-parser@1.19.1: - version "1.19.1" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.19.1.tgz#1499abbaa9274af3ecc9f6f10396c995943e31d4" - integrity sha512-8ljfQi5eBk8EJfECMrgqNGWPEY5jWP+1IzkzkGdFFEwFQZZyaZ21UqdaHktgiMlH0xLHqIFtE/u2OYE5dOtViA== +body-parser@1.20.2: + version "1.20.2" + resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.2.tgz#6feb0e21c4724d06de7ff38da36dad4f57a747fd" + integrity sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA== dependencies: - bytes "3.1.1" - content-type "~1.0.4" + bytes "3.1.2" + content-type "~1.0.5" debug "2.6.9" - depd "~1.1.2" - http-errors "1.8.1" + depd "2.0.0" + destroy "1.2.0" + http-errors "2.0.0" iconv-lite "0.4.24" - on-finished "~2.3.0" - qs "6.9.6" - raw-body "2.4.2" + on-finished "2.4.1" + qs "6.11.0" + raw-body "2.5.2" type-is "~1.6.18" + unpipe "1.0.0" -bonjour@^3.5.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/bonjour/-/bonjour-3.5.0.tgz#8e890a183d8ee9a2393b3844c691a42bcf7bc9f5" - integrity sha1-jokKGD2O6aI5OzhExpGkK897yfU= +bonjour-service@^1.0.11: + version "1.2.1" + resolved "https://registry.yarnpkg.com/bonjour-service/-/bonjour-service-1.2.1.tgz#eb41b3085183df3321da1264719fbada12478d02" + integrity sha512-oSzCS2zV14bh2kji6vNe7vrpJYCHGvcZnlffFQ1MEoX/WOeQ/teD8SYWKR942OI3INjq8OMNJlbPK5LLLUxFDw== dependencies: - array-flatten "^2.1.0" - deep-equal "^1.0.1" - dns-equal "^1.0.0" - dns-txt "^2.0.2" - multicast-dns "^6.0.1" - multicast-dns-service-types "^1.1.0" + fast-deep-equal "^3.1.3" + multicast-dns "^7.2.5" boolbase@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24= -boxen@^1.2.1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/boxen/-/boxen-1.3.0.tgz#55c6c39a8ba58d9c61ad22cd877532deb665a20b" - integrity sha512-TNPjfTr432qx7yOjQyaXm3dSR0MH9vXp7eT1BFSl/C51g+EFnOR9hTg1IreahGBmDNCehscshe45f+C1TBZbLw== +boxen@^5.0.0: + version "5.1.2" + resolved "https://registry.yarnpkg.com/boxen/-/boxen-5.1.2.tgz#788cb686fc83c1f486dfa8a40c68fc2b831d2b50" + integrity sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ== dependencies: - ansi-align "^2.0.0" - camelcase "^4.0.0" - chalk "^2.0.1" - cli-boxes "^1.0.0" - string-width "^2.0.0" - term-size "^1.2.0" - widest-line "^2.0.0" + ansi-align "^3.0.0" + camelcase "^6.2.0" + chalk "^4.1.0" + cli-boxes "^2.2.1" + string-width "^4.2.2" + type-fest "^0.20.2" + widest-line "^3.1.0" + wrap-ansi "^7.0.0" brace-expansion@^1.1.7: version "1.1.11" @@ -3511,6 +3347,13 @@ brace-expansion@^1.1.7: balanced-match "^1.0.0" concat-map "0.0.1" +brace-expansion@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" + integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== + dependencies: + balanced-match "^1.0.0" + braces@^1.8.2: version "1.8.5" resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7" @@ -3520,7 +3363,7 @@ braces@^1.8.2: preserve "^0.2.0" repeat-element "^1.1.2" -braces@^2.3.1, braces@^2.3.2: +braces@^2.3.1: version "2.3.2" resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" integrity sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w== @@ -3543,77 +3386,6 @@ braces@^3.0.1, braces@~3.0.2: dependencies: fill-range "^7.0.1" -brorand@^1.0.1, brorand@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" - integrity sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8= - -browser-process-hrtime@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" - integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow== - -browserify-aes@^1.0.0, browserify-aes@^1.0.4: - version "1.2.0" - resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48" - integrity sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA== - dependencies: - buffer-xor "^1.0.3" - cipher-base "^1.0.0" - create-hash "^1.1.0" - evp_bytestokey "^1.0.3" - inherits "^2.0.1" - safe-buffer "^5.0.1" - -browserify-cipher@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/browserify-cipher/-/browserify-cipher-1.0.1.tgz#8d6474c1b870bfdabcd3bcfcc1934a10e94f15f0" - integrity sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w== - dependencies: - browserify-aes "^1.0.4" - browserify-des "^1.0.0" - evp_bytestokey "^1.0.0" - -browserify-des@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/browserify-des/-/browserify-des-1.0.2.tgz#3af4f1f59839403572f1c66204375f7a7f703e9c" - integrity sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A== - dependencies: - cipher-base "^1.0.1" - des.js "^1.0.0" - inherits "^2.0.1" - safe-buffer "^5.1.2" - -browserify-rsa@^4.0.0, browserify-rsa@^4.0.1: - version "4.1.0" - resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.1.0.tgz#b2fd06b5b75ae297f7ce2dc651f918f5be158c8d" - integrity sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog== - dependencies: - bn.js "^5.0.0" - randombytes "^2.0.1" - -browserify-sign@^4.0.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.2.1.tgz#eaf4add46dd54be3bb3b36c0cf15abbeba7956c3" - integrity sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg== - dependencies: - bn.js "^5.1.1" - browserify-rsa "^4.0.1" - create-hash "^1.2.0" - create-hmac "^1.1.7" - elliptic "^6.5.3" - inherits "^2.0.4" - parse-asn1 "^5.1.5" - readable-stream "^3.6.0" - safe-buffer "^5.2.0" - -browserify-zlib@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/browserify-zlib/-/browserify-zlib-0.2.0.tgz#2869459d9aa3be245fe8fe2ca1f46e2e7f54d73f" - integrity sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA== - dependencies: - pako "~1.0.5" - browserslist@^3.2.8: version "3.2.8" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-3.2.8.tgz#b0005361d6471f0f5952797a76fc985f1f978fc6" @@ -3622,6 +3394,16 @@ browserslist@^3.2.8: caniuse-lite "^1.0.30000844" electron-to-chromium "^1.3.47" +browserslist@^4.0.0, browserslist@^4.21.4: + version "4.23.0" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.0.tgz#8f3acc2bbe73af7213399430890f86c63a5674ab" + integrity sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ== + dependencies: + caniuse-lite "^1.0.30001587" + electron-to-chromium "^1.4.668" + node-releases "^2.0.14" + update-browserslist-db "^1.0.13" + browserslist@^4.12.0, browserslist@^4.17.5, browserslist@^4.19.1: version "4.19.1" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.19.1.tgz#4ac0435b35ab655896c31d53018b6dd5e9e4c9a3" @@ -3661,26 +3443,7 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -buffer-indexof@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/buffer-indexof/-/buffer-indexof-1.1.1.tgz#52fabcc6a606d1a00302802648ef68f639da268c" - integrity sha512-4/rOEg86jivtPTeOUUT61jJO1Ya1TrR/OkqCSZDyq84WJh3LuuiphBYJN+fm5xufIk4XAFcEwte/8WzC8If/1g== - -buffer-xor@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" - integrity sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk= - -buffer@^4.3.0: - version "4.9.2" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.2.tgz#230ead344002988644841ab0244af8c44bbe3ef8" - integrity sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg== - dependencies: - base64-js "^1.0.2" - ieee754 "^1.1.4" - isarray "^1.0.0" - -buffer@^5.2.1: +buffer@^5.2.1, buffer@^5.5.0: version "5.7.1" resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== @@ -3688,70 +3451,22 @@ buffer@^5.2.1: base64-js "^1.3.1" ieee754 "^1.1.13" -builtin-modules@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.2.0.tgz#45d5db99e7ee5e6bc4f362e008bf917ab5049887" - integrity sha512-lGzLKcioL90C7wMczpkY0n/oART3MbBa8R9OFGE1rJxoVI86u4WAGfEk8Wjv10eKSyTHVGkSo3bvBylCEtk7LA== - -builtin-status-codes@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" - integrity sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug= +builtins@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/builtins/-/builtins-5.0.1.tgz#87f6db9ab0458be728564fa81d876d8d74552fa9" + integrity sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ== + dependencies: + semver "^7.0.0" bytes@3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" integrity sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg= -bytes@3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.1.tgz#3f018291cb4cbad9accb6e6970bca9c8889e879a" - integrity sha512-dWe4nWO/ruEOY7HkUJ5gFt1DCFV9zPRoJr8pV0/ASQermOZjtq8jMjOprC0Kd10GLN+l7xaUPvxzJFWtxGu8Fg== - -cacache@^12.0.2, cacache@^12.0.3: - version "12.0.4" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-12.0.4.tgz#668bcbd105aeb5f1d92fe25570ec9525c8faa40c" - integrity sha512-a0tMB40oefvuInr4Cwb3GerbL9xTj1D5yg0T5xrjGCGyfvbxseIXX7BAO/u/hIXdafzOI5JC3wDwHyf24buOAQ== - dependencies: - bluebird "^3.5.5" - chownr "^1.1.1" - figgy-pudding "^3.5.1" - glob "^7.1.4" - graceful-fs "^4.1.15" - infer-owner "^1.0.3" - lru-cache "^5.1.1" - mississippi "^3.0.0" - mkdirp "^0.5.1" - move-concurrently "^1.0.1" - promise-inflight "^1.0.1" - rimraf "^2.6.3" - ssri "^6.0.1" - unique-filename "^1.1.1" - y18n "^4.0.0" - -cacache@^15.0.5: - version "15.3.0" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-15.3.0.tgz#dc85380fb2f556fe3dda4c719bfa0ec875a7f1eb" - integrity sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ== - dependencies: - "@npmcli/fs" "^1.0.0" - "@npmcli/move-file" "^1.0.1" - chownr "^2.0.0" - fs-minipass "^2.0.0" - glob "^7.1.4" - infer-owner "^1.0.4" - lru-cache "^6.0.0" - minipass "^3.1.1" - minipass-collect "^1.0.2" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.2" - mkdirp "^1.0.3" - p-map "^4.0.0" - promise-inflight "^1.0.1" - rimraf "^3.0.2" - ssri "^8.0.1" - tar "^6.0.2" - unique-filename "^1.1.1" +bytes@3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" + integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== cache-base@^1.0.1: version "1.0.1" @@ -3821,14 +3536,15 @@ caller-path@^2.0.0: dependencies: caller-callsite "^2.0.0" -callsite-record@^3.0.0: - version "3.2.2" - resolved "https://registry.yarnpkg.com/callsite-record/-/callsite-record-3.2.2.tgz#9a0390642e43fe8bb823945e51464f69f41643de" - integrity sha1-mgOQZC5D/ou4I5ReUUZPafQWQ94= +callsite-record@^4.1.3: + version "4.1.5" + resolved "https://registry.yarnpkg.com/callsite-record/-/callsite-record-4.1.5.tgz#cfccae67dfd29e0e52a17d88517fc7e4e3d3bdb4" + integrity sha512-OqeheDucGKifjQRx524URgV4z4NaKjocGhygTptDea+DLROre4ZEecA4KXDq+P7qlGCohYVNOh3qr+y5XH5Ftg== dependencies: + "@devexpress/error-stack-parser" "^2.0.6" + "@types/lodash" "^4.14.72" callsite "^1.0.0" - chalk "^1.1.1" - error-stack-parser "^1.3.3" + chalk "^2.4.0" highlight-es "^1.0.0" lodash "4.6.1 || ^4.16.1" pinkie-promise "^2.0.0" @@ -3856,7 +3572,7 @@ camel-case@^3.0.0: no-case "^2.2.0" upper-case "^1.1.1" -camel-case@^4.1.1: +camel-case@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/camel-case/-/camel-case-4.1.2.tgz#9728072a954f805228225a6deea6b38461e1bd5a" integrity sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw== @@ -3864,14 +3580,6 @@ camel-case@^4.1.1: pascal-case "^3.1.2" tslib "^2.0.3" -camelcase-keys@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-2.1.0.tgz#308beeaffdf28119051efa1d932213c91b8f92e7" - integrity sha1-MIvur/3ygRkFHvodkyITyRuPkuc= - dependencies: - camelcase "^2.0.0" - map-obj "^1.0.0" - camelcase-keys@^4.0.0: version "4.2.0" resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-4.2.0.tgz#a2aa5fb1af688758259c32c141426d78923b9b77" @@ -3881,36 +3589,50 @@ camelcase-keys@^4.0.0: map-obj "^2.0.0" quick-lru "^1.0.0" -camelcase@5.3.1, camelcase@^5.0.0, camelcase@^5.3.1: +camelcase-keys@^6.2.2: + version "6.2.2" + resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-6.2.2.tgz#5e755d6ba51aa223ec7d3d52f25778210f9dc3c0" + integrity sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg== + dependencies: + camelcase "^5.3.1" + map-obj "^4.0.0" + quick-lru "^4.0.1" + +camelcase@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" + integrity sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= + +camelcase@^5.3.1: version "5.3.1" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== -camelcase@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-2.1.1.tgz#7c1d16d679a1bbe59ca02cacecfb011e201f5a1f" - integrity sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8= +camelcase@^6.2.0, camelcase@^6.3.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" + integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== -camelcase@^4.0.0, camelcase@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" - integrity sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= +caniuse-api@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/caniuse-api/-/caniuse-api-3.0.0.tgz#5e4d90e2274961d46291997df599e3ed008ee4c0" + integrity sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw== + dependencies: + browserslist "^4.0.0" + caniuse-lite "^1.0.0" + lodash.memoize "^4.1.2" + lodash.uniq "^4.5.0" -camelize@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/camelize/-/camelize-1.0.0.tgz#164a5483e630fa4321e5af07020e531831b2609b" - integrity sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs= +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001587: + version "1.0.30001594" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001594.tgz#bea552414cd52c2d0c985ed9206314a696e685f5" + integrity sha512-VblSX6nYqyJVs8DKFMldE2IVCJjZ225LW00ydtUWwh5hk9IfkTOffO6r8gJNsH0qqqeAF8KrbMYA2VEwTlGW5g== caniuse-lite@^1.0.30000844, caniuse-lite@^1.0.30000864, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001286: version "1.0.30001312" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001312.tgz#e11eba4b87e24d22697dae05455d5aea28550d5f" integrity sha512-Wiz1Psk2MEK0pX3rUzWaunLTZzqS2JYZFzNKqAiJGiuxIjRPLgV6+VDPOg6lQOUxmDwhTlh198JsTTi8Hzw6aQ== -capture-stack-trace@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz#a6c0bbe1f38f3aa0b92238ecb6ff42c344d4135d" - integrity sha512-mYQLZnx5Qt1JgB1WEiMCf2647plpGeQ2NMR/5L0HNZzGQo4fuSPnK+wjfPnKZV0aiJDgzmWqqkV/g7JD+DW0qw== - caseless@~0.12.0: version "0.12.0" resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" @@ -3939,7 +3661,7 @@ chalk@3.0.0, chalk@^3.0.0: ansi-styles "^4.1.0" supports-color "^7.1.0" -chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3: +chalk@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg= @@ -3959,7 +3681,7 @@ chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.4.0, chalk@^2.4.1, chalk@^2.4 escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chalk@^4.0.0, chalk@^4.1.0: +chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.1: version "4.1.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== @@ -3992,11 +3714,6 @@ charcodes@^0.2.0: resolved "https://registry.yarnpkg.com/charcodes/-/charcodes-0.2.0.tgz#5208d327e6cc05f99eb80ffc814707572d1f14e4" integrity sha512-Y4kiDb+AM4Ecy58YkuZrrSRJBDQdQ2L+NyS1vHHFtNtUjgutcZfx3yp1dAONI/oPaPmyGfCLx5CxL+zauIMyKQ== -chardet@^0.4.0: - version "0.4.2" - resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.4.2.tgz#b5473b33dc97c424e5d98dc87d55d4d8a29c8bf2" - integrity sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I= - chardet@^0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" @@ -4007,7 +3724,7 @@ charenc@0.0.2: resolved "https://registry.yarnpkg.com/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" integrity sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc= -"chokidar@>=3.0.0 <4.0.0", chokidar@^3.3.1, chokidar@^3.4.1: +"chokidar@>=3.0.0 <4.0.0", chokidar@^3.3.1: version "3.5.3" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== @@ -4022,52 +3739,25 @@ charenc@0.0.2: optionalDependencies: fsevents "~2.3.2" -chokidar@^2.1.8: - version "2.1.8" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917" - integrity sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg== +chokidar@^3.5.3: + version "3.6.0" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" + integrity sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw== dependencies: - anymatch "^2.0.0" - async-each "^1.0.1" - braces "^2.3.2" - glob-parent "^3.1.0" - inherits "^2.0.3" - is-binary-path "^1.0.0" - is-glob "^4.0.0" - normalize-path "^3.0.0" - path-is-absolute "^1.0.0" - readdirp "^2.2.1" - upath "^1.1.1" + anymatch "~3.1.2" + braces "~3.0.2" + glob-parent "~5.1.2" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.6.0" optionalDependencies: - fsevents "^1.2.7" - -chownr@^1.1.1: - version "1.1.4" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" - integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg== + fsevents "~2.3.2" -chownr@^2.0.0: +ci-info@^2.0.0: version "2.0.0" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" - integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== - -chrome-trace-event@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac" - integrity sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg== - -ci-info@^1.5.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.6.0.tgz#2ca20dbb9ceb32d4524a683303313f0304b1e497" - integrity sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A== - -cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" - integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" + integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== circular-json@^0.3.1: version "0.3.3" @@ -4089,36 +3779,24 @@ classnames@^2.2.5: resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.3.1.tgz#dfcfa3891e306ec1dad105d0e88f4417b8535e8e" integrity sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA== -clean-css@^4.2.1, clean-css@^4.2.3: +clean-css@^4.2.1: version "4.2.4" resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-4.2.4.tgz#733bf46eba4e607c6891ea57c24a989356831178" integrity sha512-EJUDT7nDVFDvaQgAo2G/PJvxmp1o/c6iXLbswsBbUFXi1Nr+AjA2cKmfbKDMjMvzEe75g3P6JkaDDAKk96A85A== dependencies: source-map "~0.6.0" -clean-stack@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" - integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== - -cli-boxes@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-1.0.0.tgz#4fa917c3e59c94a004cd61f8ee509da651687143" - integrity sha1-T6kXw+WclKAEzWH47lCdplFocUM= - -cli-cursor@^1.0.1, cli-cursor@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-1.0.2.tgz#64da3f7d56a54412e59794bd62dc35295e8f2987" - integrity sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc= +clean-css@^5.2.2: + version "5.3.3" + resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-5.3.3.tgz#b330653cd3bd6b75009cc25c714cae7b93351ccd" + integrity sha512-D5J+kHaVb/wKSFcyyV75uCn8fiY4sV38XJoe4CUyGQ+mOU/fMVYUdH1hJC+CJQ5uY3EnW27SbJYS4X8BiLrAFg== dependencies: - restore-cursor "^1.0.1" + source-map "~0.6.0" -cli-cursor@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" - integrity sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU= - dependencies: - restore-cursor "^2.0.0" +cli-boxes@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-2.2.1.tgz#ddd5035d25094fce220e9cab40a45840a440318f" + integrity sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw== cli-cursor@^3.1.0: version "3.1.0" @@ -4127,7 +3805,7 @@ cli-cursor@^3.1.0: dependencies: restore-cursor "^3.1.0" -cli-highlight@^2.1.4: +cli-highlight@^2.1.11: version "2.1.11" resolved "https://registry.yarnpkg.com/cli-highlight/-/cli-highlight-2.1.11.tgz#49736fa452f0aaf4fae580e30acb26828d2dc1bf" integrity sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg== @@ -4139,35 +3817,16 @@ cli-highlight@^2.1.4: parse5-htmlparser2-tree-adapter "^6.0.0" yargs "^16.0.0" -cli-spinners@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-0.1.2.tgz#bb764d88e185fb9e1e6a2a1f19772318f605e31c" - integrity sha1-u3ZNiOGF+54eaiofGXcjGPYF4xw= - -cli-spinners@^2.2.0: - version "2.6.1" - resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.6.1.tgz#adc954ebe281c37a6319bfa401e6dd2488ffb70d" - integrity sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g== - -cli-width@^2.0.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.1.tgz#b0433d0b4e9c847ef18868a4ef16fd5fc8271c48" - integrity sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw== +cli-spinners@^2.5.0: + version "2.9.2" + resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.9.2.tgz#1773a8f4b9c4d6ac31563df53b3fc1d79462fe41" + integrity sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg== cli-width@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6" integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw== -cliui@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5" - integrity sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA== - dependencies: - string-width "^3.1.0" - strip-ansi "^5.2.0" - wrap-ansi "^5.1.0" - cliui@^7.0.2: version "7.0.4" resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" @@ -4177,11 +3836,6 @@ cliui@^7.0.2: strip-ansi "^6.0.0" wrap-ansi "^7.0.0" -clone-buffer@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/clone-buffer/-/clone-buffer-1.0.0.tgz#e3e25b207ac4e701af721e2cb5a16792cac3dc58" - integrity sha1-4+JbIHrE5wGvch4staFnksrD3Fg= - clone-deep@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" @@ -4206,40 +3860,16 @@ clone-response@1.0.2, clone-response@^1.0.2: dependencies: mimic-response "^1.0.0" -clone-stats@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/clone-stats/-/clone-stats-1.0.0.tgz#b3782dff8bb5474e18b9b6bf0fdfe782f8777680" - integrity sha1-s3gt/4u1R04Yuba/D9/ngvh3doA= - clone@^1.0.2: version "1.0.4" resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4= -clone@^2.1.1: - version "2.1.2" - resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f" - integrity sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18= - -cloneable-readable@^1.0.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/cloneable-readable/-/cloneable-readable-1.1.3.tgz#120a00cb053bfb63a222e709f9683ea2e11d8cec" - integrity sha512-2EF8zTQOxYq70Y4XKtorQupqF0m49MBz2/yf5Bj+MHjvpG3Hy7sImifnqD6UA+TKYxeSV+u6qqQPawN5UvnpKQ== - dependencies: - inherits "^2.0.1" - process-nextick-args "^2.0.0" - readable-stream "^2.3.5" - co@^4.6.0: version "4.6.0" resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" integrity sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ= -code-point-at@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" - integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= - collapse-white-space@^1.0.2: version "1.0.6" resolved "https://registry.yarnpkg.com/collapse-white-space/-/collapse-white-space-1.0.6.tgz#e63629c0016665792060dbbeb79c42239d2c5287" @@ -4277,10 +3907,15 @@ color-name@~1.1.4: resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -colorette@^1.2.2: - version "1.4.0" - resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.4.0.tgz#5190fbb87276259a86ad700bff2c6d6faa3fca40" - integrity sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g== +colord@^2.9.1: + version "2.9.3" + resolved "https://registry.yarnpkg.com/colord/-/colord-2.9.3.tgz#4f8ce919de456f1d5c1c368c307fe20f3e59fb43" + integrity sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw== + +colorette@^2.0.10: + version "2.0.20" + resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.20.tgz#9eb793e6833067f7235902fcd3b09917a000a95a" + integrity sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w== combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: version "1.0.8" @@ -4294,11 +3929,21 @@ commander@^2.19.0, commander@^2.20.0, commander@^2.8.1: resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== -commander@^4.0.1, commander@^4.1.1: +commander@^4.0.1: version "4.1.1" resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== +commander@^7.2.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" + integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== + +commander@^8.3.0: + version "8.3.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" + integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== + commondir@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" @@ -4309,13 +3954,6 @@ component-emitter@^1.2.1: resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== -compose-function@3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/compose-function/-/compose-function-3.0.3.tgz#9ed675f13cc54501d30950a486ff6a7ba3ab185f" - integrity sha1-ntZ18TzFRQHTCVCkhv9qe6OrGF8= - dependencies: - arity-n "^1.0.4" - compressible@~2.0.16: version "2.0.18" resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba" @@ -4341,16 +3979,6 @@ concat-map@0.0.1: resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= -concat-stream@^1.4.7, concat-stream@^1.5.0: - version "1.6.2" - resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" - integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw== - dependencies: - buffer-from "^1.0.0" - inherits "^2.0.3" - readable-stream "^2.2.2" - typedarray "^0.0.6" - config-chain@^1.1.11: version "1.1.13" resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.13.tgz#fad0795aa6a6cdaff9ed1b68e9dff94372c232f4" @@ -4359,32 +3987,34 @@ config-chain@^1.1.11: ini "^1.3.4" proto-list "~1.2.1" -configstore@^3.0.0: - version "3.1.5" - resolved "https://registry.yarnpkg.com/configstore/-/configstore-3.1.5.tgz#e9af331fadc14dabd544d3e7e76dc446a09a530f" - integrity sha512-nlOhI4+fdzoK5xmJ+NY+1gZK56bwEaWZr8fYuXohZ9Vkc1o3a4T/R3M+yE/w7x/ZVJ1zF8c+oaOvF0dztdUgmA== +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 "^4.2.1" + dot-prop "^5.2.0" graceful-fs "^4.1.2" - make-dir "^1.0.0" - unique-string "^1.0.0" - write-file-atomic "^2.0.0" - xdg-basedir "^3.0.0" + make-dir "^3.0.0" + unique-string "^2.0.0" + write-file-atomic "^3.0.0" + xdg-basedir "^4.0.0" -connect-history-api-fallback@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz#8b32089359308d111115d81cad3fceab888f97bc" - integrity sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg== +connect-history-api-fallback@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-2.0.0.tgz#647264845251a0daf25b97ce87834cace0f5f1c8" + integrity sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA== -console-browserify@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.2.0.tgz#67063cef57ceb6cf4993a2ab3a55840ae8c49336" - integrity sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA== +consola@^2.15.3: + version "2.15.3" + resolved "https://registry.yarnpkg.com/consola/-/consola-2.15.3.tgz#2e11f98d6a4be71ff72e0bdf07bd23e12cb61550" + integrity sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw== -constants-browserify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" - integrity sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U= +consolidate@^0.15.1: + version "0.15.1" + resolved "https://registry.yarnpkg.com/consolidate/-/consolidate-0.15.1.tgz#21ab043235c71a07d45d9aad98593b0dba56bab7" + integrity sha512-DW46nrsMJgy9kqAbPt5rKaCr7uFtpo4mSUvLHIUbJEjm0vo+aY5QLwBUq3FK4tRnJr/X0Psc0C4jf/h+HtXSMw== + dependencies: + bluebird "^3.1.1" content-disposition@0.5.4, content-disposition@^0.5.2: version "0.5.4" @@ -4398,19 +4028,12 @@ content-type@~1.0.4: resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== -convert-source-map@1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442" - integrity sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA== - dependencies: - safe-buffer "~5.1.1" - -convert-source-map@^0.3.3: - version "0.3.5" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-0.3.5.tgz#f1d802950af7dd2631a1febe0596550c86ab3190" - integrity sha1-8dgClQr33SYxof6+BZZVDIarMZA= +content-type@~1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" + integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== -convert-source-map@^1.1.0, convert-source-map@^1.5.1, convert-source-map@^1.7.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" integrity sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA== @@ -4422,10 +4045,10 @@ cookie-signature@1.0.6: resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" integrity sha1-4wOogrNCzD7oylE6eZmXNNqzriw= -cookie@0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.1.tgz#afd713fe26ebd21ba95ceb61f9a8116e50a537d1" - integrity sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA== +cookie@0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" + integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== copy-anything@^2.0.1: version "2.0.6" @@ -4434,40 +4057,22 @@ copy-anything@^2.0.1: dependencies: is-what "^3.14.1" -copy-concurrently@^1.0.0: - version "1.0.5" - resolved "https://registry.yarnpkg.com/copy-concurrently/-/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0" - integrity sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A== - dependencies: - aproba "^1.1.1" - fs-write-stream-atomic "^1.0.8" - iferr "^0.1.5" - mkdirp "^0.5.1" - rimraf "^2.5.4" - run-queue "^1.0.0" - copy-descriptor@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40= -copy-webpack-plugin@5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-5.1.2.tgz#8a889e1dcafa6c91c6cd4be1ad158f1d3823bae2" - integrity sha512-Uh7crJAco3AjBvgAy9Z75CjK8IG+gxaErro71THQ+vv/bl4HaQcpkexAY8KVW/T6D2W2IRr+couF/knIRkZMIQ== +copy-webpack-plugin@10.2.0: + version "10.2.0" + resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-10.2.0.tgz#24c2d256953a55400a1ec66be4e0eccd1c4ae958" + integrity sha512-my6iXII95c78w14HzYCNya5TlJYa44lOppAge5GSTMM1SyDxNsVGCJvhP4/ld6snm8lzjn3XOonMZD6s1L86Og== dependencies: - cacache "^12.0.3" - find-cache-dir "^2.1.0" - glob-parent "^3.1.0" - globby "^7.1.1" - is-glob "^4.0.1" - loader-utils "^1.2.3" - minimatch "^3.0.4" + fast-glob "^3.2.7" + glob-parent "^6.0.1" + globby "^12.0.2" normalize-path "^3.0.0" - p-limit "^2.2.1" - schema-utils "^1.0.0" - serialize-javascript "^4.0.0" - webpack-log "^2.0.0" + schema-utils "^4.0.0" + serialize-javascript "^6.0.0" core-js-compat@^3.20.2, core-js-compat@^3.21.0: version "3.21.0" @@ -4482,11 +4087,6 @@ core-js-pure@^3.20.2: resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.21.0.tgz#819adc8dfb808205ce25b51d50591becd615db7e" integrity sha512-VaJUunCZLnxuDbo1rNOzwbet9E1K9joiXS5+DQMPtgxd24wfsZbJZMMfQLGYMlCUvSxLfsRUUhoOR2x28mFfeg== -core-js@^2.4.0, core-js@^2.5.0: - version "2.6.12" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.12.tgz#d9333dfa7b065e347cc5682219d6f690859cc2ec" - integrity sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ== - core-js@^3.6.5: version "3.21.0" resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.21.0.tgz#f479dbfc3dffb035a0827602dd056839a774aa71" @@ -4502,16 +4102,6 @@ core-util-is@~1.0.0: resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== -cosmiconfig@3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-3.1.0.tgz#640a94bf9847f321800403cd273af60665c73397" - integrity sha512-zedsBhLSbPBms+kE7AH4vHg6JsKDz6epSv2/+5XHs8ILHlgDciSJfSWf8sX9aQ52Jb7KI7VswUTsLpR/G0cr2Q== - dependencies: - is-directory "^0.3.1" - js-yaml "^3.9.0" - parse-json "^3.0.0" - require-from-string "^2.0.1" - cosmiconfig@^5.0.0: version "5.2.1" resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.2.1.tgz#040f726809c591e77a17c0a3626ca45b4f168b1a" @@ -4522,10 +4112,10 @@ cosmiconfig@^5.0.0: js-yaml "^3.13.1" parse-json "^4.0.0" -cosmiconfig@^7.0.0: - version "7.0.1" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" - integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== +cosmiconfig@^7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.1.0.tgz#1443b9afa596b670082ea46cbd8f6a62b84635f6" + integrity sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA== dependencies: "@types/parse-json" "^4.0.0" import-fresh "^3.2.1" @@ -4533,73 +4123,17 @@ cosmiconfig@^7.0.0: path-type "^4.0.0" yaml "^1.10.0" -create-ecdh@^4.0.0: - version "4.0.4" - resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.4.tgz#d6e7f4bffa66736085a0762fd3a632684dabcc4e" - integrity sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A== - dependencies: - bn.js "^4.1.0" - elliptic "^6.5.3" - -create-error-class@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/create-error-class/-/create-error-class-3.0.2.tgz#06be7abef947a3f14a30fd610671d401bca8b7b6" - integrity sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y= +cosmiconfig@^8.3.5: + version "8.3.6" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-8.3.6.tgz#060a2b871d66dba6c8538ea1118ba1ac16f5fae3" + integrity sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA== dependencies: - capture-stack-trace "^1.0.0" - -create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" - integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== - dependencies: - cipher-base "^1.0.1" - inherits "^2.0.1" - md5.js "^1.3.4" - ripemd160 "^2.0.1" - sha.js "^2.4.0" - -create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7: - version "1.1.7" - resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" - integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== - dependencies: - cipher-base "^1.0.3" - create-hash "^1.1.0" - inherits "^2.0.1" - ripemd160 "^2.0.0" - safe-buffer "^5.0.1" - sha.js "^2.4.8" - -cross-spawn-async@^2.1.1: - version "2.2.5" - resolved "https://registry.yarnpkg.com/cross-spawn-async/-/cross-spawn-async-2.2.5.tgz#845ff0c0834a3ded9d160daca6d390906bb288cc" - integrity sha1-hF/wwINKPe2dFg2sptOQkGuyiMw= - dependencies: - lru-cache "^4.0.0" - which "^1.2.8" - -cross-spawn@^5.0.1: - version "5.1.0" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" - integrity sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk= - dependencies: - lru-cache "^4.0.1" - shebang-command "^1.2.0" - which "^1.2.9" - -cross-spawn@^6.0.0, cross-spawn@^6.0.5: - version "6.0.5" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" - integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== - dependencies: - nice-try "^1.0.4" - path-key "^2.0.1" - semver "^5.5.0" - shebang-command "^1.2.0" - which "^1.2.9" + import-fresh "^3.3.0" + js-yaml "^4.1.0" + parse-json "^5.2.0" + path-type "^4.0.0" -cross-spawn@^7.0.2, cross-spawn@^7.0.3: +cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== @@ -4613,55 +4147,41 @@ crypt@0.0.2: resolved "https://registry.yarnpkg.com/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" integrity sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs= -crypto-browserify@^3.11.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" - integrity sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg== - dependencies: - browserify-cipher "^1.0.0" - browserify-sign "^4.0.0" - create-ecdh "^4.0.0" - create-hash "^1.1.0" - create-hmac "^1.1.0" - diffie-hellman "^5.0.0" - inherits "^2.0.1" - pbkdf2 "^3.0.3" - public-encrypt "^4.0.0" - randombytes "^2.0.0" - randomfill "^1.0.3" - -crypto-random-string@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-1.0.0.tgz#a230f64f568310e1498009940790ec99545bca7e" - integrity sha1-ojD2T1aDEOFJgAmUB5DsmVRbyn4= - -css-color-keywords@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/css-color-keywords/-/css-color-keywords-1.0.0.tgz#fea2616dc676b2962686b3af8dbdbe180b244e05" - integrity sha1-/qJhbcZ2spYmhrOvjb2+GAskTgU= - -css-loader@3.4.2: - version "3.4.2" - resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-3.4.2.tgz#d3fdb3358b43f233b78501c5ed7b1c6da6133202" - integrity sha512-jYq4zdZT0oS0Iykt+fqnzVLRIeiPWhka+7BqPn+oSIpWJAHak5tmB/WZrJ2a21JhCeFyNnnlroSl8c+MtVndzA== - dependencies: - camelcase "^5.3.1" - cssesc "^3.0.0" - icss-utils "^4.1.1" - loader-utils "^1.2.3" - normalize-path "^3.0.0" - postcss "^7.0.23" - postcss-modules-extract-imports "^2.0.0" - postcss-modules-local-by-default "^3.0.2" - postcss-modules-scope "^2.1.1" - postcss-modules-values "^3.0.0" - postcss-value-parser "^4.0.2" - schema-utils "^2.6.0" - -css-mediaquery@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/css-mediaquery/-/css-mediaquery-0.1.2.tgz#6a2c37344928618631c54bd33cedd301da18bea0" - integrity sha1-aiw3NEkoYYYxxUvTPO3TAdoYvqA= +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== + +css-declaration-sorter@^6.3.1: + version "6.4.1" + resolved "https://registry.yarnpkg.com/css-declaration-sorter/-/css-declaration-sorter-6.4.1.tgz#28beac7c20bad7f1775be3a7129d7eae409a3a71" + integrity sha512-rtdthzxKuyq6IzqX6jEcIzQF/YqccluefyCYheovBOLhFT/drQA9zj/UbRAa9J7C0o6EG6u3E6g+vKkay7/k3g== + +css-loader@^6.7.1: + version "6.10.0" + resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-6.10.0.tgz#7c172b270ec7b833951b52c348861206b184a4b7" + integrity sha512-LTSA/jWbwdMlk+rhmElbDR2vbtQoTBPr7fkJE+mxrHj+7ru0hUmHafDRzWIjIHTwpitWVaqY2/UWGRca3yUgRw== + dependencies: + icss-utils "^5.1.0" + postcss "^8.4.33" + postcss-modules-extract-imports "^3.0.0" + postcss-modules-local-by-default "^4.0.4" + postcss-modules-scope "^3.1.1" + postcss-modules-values "^4.0.0" + postcss-value-parser "^4.2.0" + semver "^7.5.4" + +css-minimizer-webpack-plugin@3.4.1: + version "3.4.1" + resolved "https://registry.yarnpkg.com/css-minimizer-webpack-plugin/-/css-minimizer-webpack-plugin-3.4.1.tgz#ab78f781ced9181992fe7b6e4f3422e76429878f" + integrity sha512-1u6D71zeIfgngN2XNRJefc/hY7Ybsxd74Jm4qngIXyUEk7fss3VUzuHxLAq/R8NAba4QU9OUSaMZlbpRc7bM4Q== + dependencies: + cssnano "^5.0.6" + jest-worker "^27.0.2" + postcss "^8.3.5" + schema-utils "^4.0.0" + serialize-javascript "^6.0.0" + source-map "^0.6.1" css-select@^4.1.3: version "4.2.1" @@ -4682,7 +4202,7 @@ css-tree@1.0.0-alpha.29: mdn-data "~1.1.0" source-map "^0.5.3" -css-tree@^1.1.2: +css-tree@^1.1.2, css-tree@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.1.3.tgz#eb4870fb6fd7707327ec95c2ff2ab09b5e8db91d" integrity sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q== @@ -4690,21 +4210,19 @@ css-tree@^1.1.2: mdn-data "2.0.14" source-map "^0.6.1" +css-tree@~2.2.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-2.2.1.tgz#36115d382d60afd271e377f9c5f67d02bd48c032" + integrity sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA== + dependencies: + mdn-data "2.0.28" + source-map-js "^1.0.1" + css-what@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/css-what/-/css-what-5.1.0.tgz#3f7b707aadf633baf62c2ceb8579b545bb40f7fe" integrity sha512-arSMRWIIFY0hV8pIxZMEfmMI47Wj3R/aWpZDDxWYCPEiOMv6tfOrnpDtgxBYPEQD4V0Y/958+1TdC3iWTFcUPw== -css@^2.0.0: - version "2.2.4" - resolved "https://registry.yarnpkg.com/css/-/css-2.2.4.tgz#c646755c73971f2bba6a601e2cf2fd71b1298929" - integrity sha512-oUnjmWpy0niI3x/mPL8dVEI1l7MnG3+HHyRPHf+YFSbK+svOhXpmSOcDURUh2aOCgl2grzrOPt1nHLuCVFULLw== - dependencies: - inherits "^2.0.3" - source-map "^0.6.1" - source-map-resolve "^0.5.2" - urix "^0.1.0" - css@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/css/-/css-3.0.0.tgz#4447a4d58fdd03367c516ca9f64ae365cee4aa5d" @@ -4719,14 +4237,54 @@ cssesc@^3.0.0: resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== -csso-webpack-plugin@2.0.0-beta.1: - version "2.0.0-beta.1" - resolved "https://registry.yarnpkg.com/csso-webpack-plugin/-/csso-webpack-plugin-2.0.0-beta.1.tgz#92a133ef697c65b11f7ba3c72db11fcf950d7293" - integrity sha512-hzMrKC2ibIIsWCeivr4qK64Sbpe2kVfsuyDJZF9rSA5uifIsyOUDyxswSVN9Q8FMWdzGwjgi9v/o/Gg9jduvUw== +cssnano-preset-default@^5.2.14: + version "5.2.14" + resolved "https://registry.yarnpkg.com/cssnano-preset-default/-/cssnano-preset-default-5.2.14.tgz#309def4f7b7e16d71ab2438052093330d9ab45d8" + integrity sha512-t0SFesj/ZV2OTylqQVOrFgEh5uanxbO6ZAdeCrNsUQ6fVuXwYTxJPNAGvGTxHbD68ldIJNec7PyYZDBrfDQ+6A== + dependencies: + css-declaration-sorter "^6.3.1" + cssnano-utils "^3.1.0" + postcss-calc "^8.2.3" + postcss-colormin "^5.3.1" + postcss-convert-values "^5.1.3" + postcss-discard-comments "^5.1.2" + postcss-discard-duplicates "^5.1.0" + postcss-discard-empty "^5.1.1" + postcss-discard-overridden "^5.1.0" + postcss-merge-longhand "^5.1.7" + postcss-merge-rules "^5.1.4" + postcss-minify-font-values "^5.1.0" + postcss-minify-gradients "^5.1.1" + postcss-minify-params "^5.1.4" + postcss-minify-selectors "^5.2.1" + postcss-normalize-charset "^5.1.0" + postcss-normalize-display-values "^5.1.0" + postcss-normalize-positions "^5.1.1" + postcss-normalize-repeat-style "^5.1.1" + postcss-normalize-string "^5.1.0" + postcss-normalize-timing-functions "^5.1.0" + postcss-normalize-unicode "^5.1.1" + postcss-normalize-url "^5.1.0" + postcss-normalize-whitespace "^5.1.1" + postcss-ordered-values "^5.1.3" + postcss-reduce-initial "^5.1.2" + postcss-reduce-transforms "^5.1.0" + postcss-svgo "^5.1.0" + postcss-unique-selectors "^5.1.1" + +cssnano-utils@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/cssnano-utils/-/cssnano-utils-3.1.0.tgz#95684d08c91511edfc70d2636338ca37ef3a6861" + integrity sha512-JQNR19/YZhz4psLX/rQ9M83e3z2Wf/HdJbryzte4a3NSuafyp9w/I4U+hx5C2S9g41qlstH7DEWnZaaj83OuEA== + +cssnano@^5.0.6: + version "5.1.15" + resolved "https://registry.yarnpkg.com/cssnano/-/cssnano-5.1.15.tgz#ded66b5480d5127fcb44dac12ea5a983755136bf" + integrity sha512-j+BKgDcLDQA+eDifLx0EO4XSA56b7uut3BQFH+wbSaSTuGLuiyTa/wbRYthUXX8LC9mLg+WWKe8h+qJuwTAbHw== dependencies: - csso "^4.0.2" - source-map "^0.7.3" - webpack-sources "^1.0.1" + cssnano-preset-default "^5.2.14" + lilconfig "^2.0.3" + yaml "^1.10.2" csso@^3.5.1: version "3.5.1" @@ -4735,35 +4293,37 @@ csso@^3.5.1: dependencies: css-tree "1.0.0-alpha.29" -csso@^4.0.2: +csso@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/csso/-/csso-4.2.0.tgz#ea3a561346e8dc9f546d6febedd50187cf389529" integrity sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA== dependencies: css-tree "^1.1.2" -cssom@^0.4.4: - version "0.4.4" - resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.4.4.tgz#5a66cf93d2d0b661d80bf6a44fb65f5c2e4e0a10" - integrity sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw== - -cssom@~0.3.6: - version "0.3.8" - resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a" - integrity sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg== +csso@^5.0.2: + version "5.0.5" + resolved "https://registry.yarnpkg.com/csso/-/csso-5.0.5.tgz#f9b7fe6cc6ac0b7d90781bb16d5e9874303e2ca6" + integrity sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ== + dependencies: + css-tree "~2.2.0" -cssstyle@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-2.3.0.tgz#ff665a0ddbdc31864b09647f34163443d90b0852" - integrity sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A== +cssstyle@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-3.0.0.tgz#17ca9c87d26eac764bb8cfd00583cff21ce0277a" + integrity sha512-N4u2ABATi3Qplzf0hWbVCdjenim8F3ojEXpBDF5hBpjzW182MjNGLqfmQ0SkSPeQ+V86ZXgeH8aXj6kayd4jgg== dependencies: - cssom "~0.3.6" + rrweb-cssom "^0.6.0" csstype@^3.0.2: version "3.0.10" resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.10.tgz#2ad3a7bed70f35b965707c092e5f30b327c290e5" integrity sha512-2u44ZG2OcNUO9HDp/Jl8C07x6pU/eTR3ncV91SiK3dhG9TWvRVsCoJw14Ckx5DgWkzGA3waZWO3d7pgqpUI/XA== +csstype@^3.1.1: + version "3.1.3" + resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.3.tgz#d80ff294d114fb0e6ac500fbf85b60137d7eff81" + integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw== + cuint@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/cuint/-/cuint-0.2.2.tgz#408086d409550c2631155619e9fa7bcadc3b991b" @@ -4776,19 +4336,6 @@ currently-unhandled@^0.4.1: dependencies: array-find-index "^1.0.1" -cyclist@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9" - integrity sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk= - -d@1, d@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a" - integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA== - dependencies: - es5-ext "^0.10.50" - type "^1.0.1" - dashdash@^1.12.0: version "1.14.1" resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" @@ -4796,21 +4343,16 @@ dashdash@^1.12.0: dependencies: assert-plus "^1.0.0" -data-urls@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-2.0.0.tgz#156485a72963a970f5d5821aaf642bef2bf2db9b" - integrity sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ== +data-urls@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-4.0.0.tgz#333a454eca6f9a5b7b0f1013ff89074c3f522dd4" + integrity sha512-/mMTei/JXPqvFqQtfyTowxmJVwr2PVAeCcDxyFf6LhoOu/09TX2OX3kb2wzi4DMXcfj4OItwDOnhl5oziPnT6g== dependencies: - abab "^2.0.3" - whatwg-mimetype "^2.3.0" - whatwg-url "^8.0.0" - -de-indent@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d" - integrity sha1-sgOOhG3DO6pXlhKNCAS0VbjB4h0= + abab "^2.0.6" + whatwg-mimetype "^3.0.0" + whatwg-url "^12.0.0" -debug@2.6.9, debug@^2.1.1, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0, debug@^2.6.8, debug@^2.6.9: +debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0, debug@^2.6.9: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== @@ -4824,14 +4366,14 @@ debug@4, debug@4.3.4, debug@^4.3.2, debug@^4.3.4: dependencies: ms "2.1.2" -debug@^3.0.0, debug@^3.1.0, debug@^3.1.1, debug@^3.2.6, debug@^3.2.7: +debug@^3.0.0, debug@^3.2.6, debug@^3.2.7: version "3.2.7" resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== dependencies: ms "^2.1.1" -debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1: +debug@^4.1.0, debug@^4.1.1, debug@^4.3.1: version "4.3.3" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664" integrity sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q== @@ -4853,15 +4395,23 @@ decamelize-keys@^1.0.0: decamelize "^1.1.0" map-obj "^1.0.0" -decamelize@^1.1.0, decamelize@^1.1.2, decamelize@^1.2.0: +decamelize-keys@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/decamelize-keys/-/decamelize-keys-1.1.1.tgz#04a2d523b2f18d80d0158a43b895d56dff8d19d8" + integrity sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg== + dependencies: + decamelize "^1.1.0" + map-obj "^1.0.0" + +decamelize@^1.1.0, decamelize@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA= -decimal.js@^10.2.1: - version "10.4.2" - resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.4.2.tgz#0341651d1d997d86065a2ce3a441fbd0d8e8b98e" - integrity sha512-ic1yEvwT6GuvaYwBLLY6/aFFgjZdySKTE8en/fkU3QICTmRtgtSlFn0u0BXN06InZwtfCelR7j8LRiDI/02iGA== +decimal.js@^10.4.3: + version "10.4.3" + resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.4.3.tgz#1044092884d245d1b7f65725fa4ad4c6f781cc23" + integrity sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA== decode-uri-component@^0.2.0: version "0.2.0" @@ -4928,18 +4478,6 @@ decompress@^4.2.0: pify "^2.3.0" strip-dirs "^2.0.0" -deep-equal@^1.0.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.1.1.tgz#b5c98c942ceffaf7cb051e24e1434a25a2e6076a" - integrity sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g== - dependencies: - is-arguments "^1.0.4" - is-date-object "^1.0.1" - is-regex "^1.0.4" - object-is "^1.0.1" - object-keys "^1.1.1" - regexp.prototype.flags "^1.2.0" - deep-extend@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" @@ -4955,13 +4493,12 @@ deepmerge@^1.5.2: resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-1.5.2.tgz#10499d868844cdad4fee0842df8c7f6f0c95a753" integrity sha512-95k0GDqvBjZavkuvzx/YqVLv/6YYa17fz6ILMSf7neqQITCPbnfEnQvEgMPNjH4kgobe7+WIL0yJEHku+H3qtQ== -default-gateway@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/default-gateway/-/default-gateway-4.2.0.tgz#167104c7500c2115f6dd69b0a536bb8ed720552b" - integrity sha512-h6sMrVB1VMWVrW13mSc6ia/DwYYw5MN6+exNu1OaJeFac5aSAvwM7lZ0NVfTABuSkQelr4h5oebg3KB1XPdjgA== +default-gateway@^6.0.3: + version "6.0.3" + resolved "https://registry.yarnpkg.com/default-gateway/-/default-gateway-6.0.3.tgz#819494c888053bdb743edbf343d6cdf7f2943a71" + integrity sha512-fwSOJsbbNzZ/CUFpqFBqYfYNLj1NbMPm8MMCIzHjC83iSJRBEGmDUxU+WP661BaBQImeC2yHwXtz+P/O9o+XEg== dependencies: - execa "^1.0.0" - ip-regex "^2.1.0" + execa "^5.0.0" defaults@^1.0.3: version "1.0.3" @@ -4975,7 +4512,12 @@ defer-to-connect@^1.0.1: resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-1.1.3.tgz#331ae050c08dcf789f8c83a7b81f0ed94f4ac591" integrity sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ== -define-properties@^1.1.2, define-properties@^1.1.3: +define-lazy-prop@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" + integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og== + +define-properties@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1" integrity sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ== @@ -5004,79 +4546,69 @@ define-property@^2.0.2: is-descriptor "^1.0.2" isobject "^3.0.1" -del@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/del/-/del-4.1.1.tgz#9e8f117222ea44a31ff3a156c049b99052a9f0b4" - integrity sha512-QwGuEUouP2kVwQenAsOof5Fv8K9t3D8Ca8NxcXKrIpEHjTXK5J2nXLdP+ALI1cgv8wj7KuwBhTwBkOZSJKM5XQ== - dependencies: - "@types/glob" "^7.1.1" - globby "^6.1.0" - is-path-cwd "^2.0.0" - is-path-in-cwd "^2.0.0" - p-map "^2.0.0" - pify "^4.0.1" - rimraf "^2.6.3" - delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk= -depcheck@0.8.3: - version "0.8.3" - resolved "https://registry.yarnpkg.com/depcheck/-/depcheck-0.8.3.tgz#430aad19016820cfe7b0766ee561817fcdea5835" - integrity sha512-xcLTnaovCFFTts5Ge7mUUhMGHSu6eRfftvVvOjN7gXO5EFUhJfX6UQa1b08a0SIwKfzG9eKNn5mzZlXp0mZARA== - dependencies: - "@babel/parser" "^7.3.1" - "@babel/traverse" "^7.2.3" - builtin-modules "^3.0.0" - deprecate "^1.0.0" - deps-regex "^0.1.4" - js-yaml "^3.4.2" - lodash "^4.17.11" - minimatch "^3.0.2" - node-sass-tilde-importer "^1.0.2" - please-upgrade-node "^3.1.1" +depcheck@^1.3.1: + version "1.4.7" + resolved "https://registry.yarnpkg.com/depcheck/-/depcheck-1.4.7.tgz#57976e2fa43625f477efc0f19ad868ef94f8a26c" + integrity sha512-1lklS/bV5chOxwNKA/2XUUk/hPORp8zihZsXflr8x0kLwmcZ9Y9BsS6Hs3ssvA+2wUVbG0U2Ciqvm1SokNjPkA== + dependencies: + "@babel/parser" "^7.23.0" + "@babel/traverse" "^7.23.2" + "@vue/compiler-sfc" "^3.3.4" + callsite "^1.0.0" + camelcase "^6.3.0" + cosmiconfig "^7.1.0" + debug "^4.3.4" + deps-regex "^0.2.0" + findup-sync "^5.0.0" + ignore "^5.2.4" + is-core-module "^2.12.0" + js-yaml "^3.14.1" + json5 "^2.2.3" + lodash "^4.17.21" + minimatch "^7.4.6" + multimatch "^5.0.0" + please-upgrade-node "^3.2.0" + readdirp "^3.6.0" require-package-name "^2.0.1" - resolve "^1.10.0" - vue-template-compiler "^2.6.10" - walkdir "^0.3.2" - yargs "^13.2.2" + resolve "^1.22.3" + resolve-from "^5.0.0" + semver "^7.5.4" + yargs "^16.2.0" + +depd@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" + integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== depd@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak= -deprecate@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/deprecate/-/deprecate-1.1.1.tgz#4632e981fc815eeaf00be945a40359c0f8bf9913" - integrity sha512-ZGDXefq1xknT292LnorMY5s8UVU08/WKdzDZCUT6t9JzsiMSP4uzUhgpqugffNVcT5WC6wMBiSQ+LFjlv3v7iQ== - -deps-regex@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/deps-regex/-/deps-regex-0.1.4.tgz#518667b7691460a5e7e0a341be76eb7ce8090184" - integrity sha1-UYZnt2kUYKXn4KNBvnbrfOgJAYQ= +deps-regex@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/deps-regex/-/deps-regex-0.2.0.tgz#3ee7ddae5fd784f3accf29d5a711aa6e10044137" + integrity sha512-PwuBojGMQAYbWkMXOY9Pd/NWCDNHVH12pnS7WHqZkTSeMESe4hwnKKRp0yR87g37113x4JPbo/oIvXY+s/f56Q== -des.js@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.1.tgz#5382142e1bdc53f85d86d53e5f4aa7deb91e0843" - integrity sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA== - dependencies: - inherits "^2.0.1" - minimalistic-assert "^1.0.0" +destroy@1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015" + integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== -destroy@~1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" - integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA= +detect-file@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7" + integrity sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q== -detect-indent@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208" - integrity sha1-920GQ1LN9Docts5hnE7jqUdd4gg= - dependencies: - repeating "^2.0.0" +detect-libc@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" + integrity sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg== detect-node@^2.0.4: version "2.1.0" @@ -5091,22 +4623,6 @@ detect-port@^1.3.0: address "^1.0.1" debug "^2.6.0" -diffie-hellman@^5.0.0: - version "5.0.3" - resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875" - integrity sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg== - dependencies: - bn.js "^4.1.0" - miller-rabin "^4.0.0" - randombytes "^2.0.0" - -dingtalk-jsapi@~2.15.2: - version "2.15.4" - resolved "https://registry.yarnpkg.com/dingtalk-jsapi/-/dingtalk-jsapi-2.15.4.tgz#95426671568e834993408cb1b05d725f02e9d598" - integrity sha512-pPETqUhLJYKNZIewnS9hU1/QqcdRbP2Q9sHySimko0C2nm/n9NoakVLtcKwdqgORq1dkPIP/jqv7RnESxhA2bA== - dependencies: - promise-polyfill "^7.1.0" - dir-glob@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-2.0.0.tgz#0b205d2b6aef98238ca286598a8204d29d0a0034" @@ -5115,13 +4631,6 @@ dir-glob@2.0.0: arrify "^1.0.1" path-type "^3.0.0" -dir-glob@^2.0.0, dir-glob@^2.2.2: - version "2.2.2" - resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-2.2.2.tgz#fa09f0694153c8918b18ba0deafae94769fc50c4" - integrity sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw== - dependencies: - path-type "^3.0.0" - dir-glob@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" @@ -5129,25 +4638,12 @@ dir-glob@^3.0.1: dependencies: path-type "^4.0.0" -dns-equal@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/dns-equal/-/dns-equal-1.0.0.tgz#b39e7f1da6eb0a75ba9c17324b34753c47e0654d" - integrity sha1-s55/HabrCnW6nBcySzR1PEfgZU0= - -dns-packet@^1.3.1: - version "1.3.4" - resolved "https://registry.yarnpkg.com/dns-packet/-/dns-packet-1.3.4.tgz#e3455065824a2507ba886c55a89963bb107dec6f" - integrity sha512-BQ6F4vycLXBvdrJZ6S3gZewt6rcrks9KBgM9vrhW+knGRqc8uEdT7fuCwloc7nny5xNoMJ17HGH0R/6fpo8ECA== - dependencies: - ip "^1.1.0" - safe-buffer "^5.0.1" - -dns-txt@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/dns-txt/-/dns-txt-2.0.2.tgz#b91d806f5d27188e4ab3e7d107d881a1cc4642b6" - integrity sha1-uR2Ab10nGI5Ks+fRB9iBocxGQrY= +dns-packet@^5.2.2: + version "5.6.1" + resolved "https://registry.yarnpkg.com/dns-packet/-/dns-packet-5.6.1.tgz#ae888ad425a9d1478a0674256ab866de1012cf2f" + integrity sha512-l4gcSouhcgIKRvyy99RNVOgxXiicE+2jZoNmaNmZ6JXiGajBOJAesk1OBlJuM5k2c+eudGdLxDqXuPCKIj6kpw== dependencies: - buffer-indexof "^1.0.0" + "@leichtgewicht/ip-codec" "^2.0.1" doctrine@^2.1.0: version "2.1.0" @@ -5194,11 +4690,6 @@ dom7@^3.0.0: dependencies: ssr-window "^3.0.0-alpha.1" -domain-browser@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda" - integrity sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA== - domelementtype@1, domelementtype@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.1.tgz#d048c44b37b0d10a7f2a3d5fee3f4333d790481f" @@ -5209,12 +4700,12 @@ domelementtype@^2.0.1, domelementtype@^2.2.0: resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.2.0.tgz#9a0b6c2782ed6a1c7323d42267183df9bd8b1d57" integrity sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A== -domexception@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/domexception/-/domexception-2.0.1.tgz#fb44aefba793e1574b0af6aed2801d057529f304" - integrity sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg== +domexception@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/domexception/-/domexception-4.0.0.tgz#4ad1be56ccadc86fc76d033353999a8037d03673" + integrity sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw== dependencies: - webidl-conversions "^5.0.0" + webidl-conversions "^7.0.0" domhandler@^2.3.0: version "2.4.2" @@ -5255,13 +4746,6 @@ dot-case@^3.0.4: no-case "^3.0.4" tslib "^2.0.3" -dot-prop@^4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-4.2.1.tgz#45884194a71fc2cda71cbb4bceb3a4dd2f433ba4" - integrity sha512-l0p4+mIuJIua0mhxGoh4a+iNL9bmeK5DvnSVQa6T0OhrVmaEa1XScX5Etc673FePCJOArq/4Pa2cLGODUWTPOQ== - dependencies: - is-obj "^1.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" @@ -5269,6 +4753,16 @@ dot-prop@^5.2.0: dependencies: is-obj "^2.0.0" +dotenv-expand@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-9.0.0.tgz#1fd37e2cd63ea0b5f7389fb87256efc38b035b26" + integrity sha512-uW8Hrhp5ammm9x7kBLR6jDfujgaDarNA02tprvZdyrJ7MpdzD1KyrIHG4l+YoC2fJ2UcdFdNWNWIjt+sexBHJw== + +dotenv@^16.0.3: + version "16.4.5" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.4.5.tgz#cdd3b3b604cb327e286b4762e13502f717cb099f" + integrity sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg== + download-git-repo@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/download-git-repo/-/download-git-repo-2.0.0.tgz#0af3fe7c92de7d21827522969beeae0d06525a55" @@ -5301,15 +4795,10 @@ duplexer3@^0.1.4: resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2" integrity sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI= -duplexify@^3.4.2, duplexify@^3.6.0: - version "3.7.1" - resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.7.1.tgz#2a4df5317f6ccfd91f86d6fd25d8d8a103b88309" - integrity sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g== - dependencies: - end-of-stream "^1.0.0" - inherits "^2.0.1" - readable-stream "^2.0.0" - stream-shift "^1.0.0" +eastasianwidth@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" + integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== ecc-jsbn@~0.1.1: version "0.1.2" @@ -5324,50 +4813,25 @@ ee-first@1.1.1: resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= -ejs@^2.6.1: - version "2.7.4" - resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.7.4.tgz#48661287573dcc53e366c7a1ae52c3a120eec9ba" - integrity sha512-7vmuyh5+kuUyJKePhQfRQBhXV5Ce+RnaeeQArKu1EAMpL3WbgMt5WG6uQZpEVvYSSsxMXRKOewtDk9RaTKXRlA== - -ejs@^3.1.5: - version "3.1.6" - resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.6.tgz#5bfd0a0689743bb5268b3550cceeebbc1702822a" - integrity sha512-9lt9Zse4hPucPkoP7FHDF0LQAlGyF9JVpnClFLFH3aSSbxmyoqINRpp/9wePWJTUl4KOQwRL72Iw3InHPDkoGw== - dependencies: - jake "^10.6.1" - electron-to-chromium@^1.3.47, electron-to-chromium@^1.4.17: version "1.4.70" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.70.tgz#b389047a844ccc84bd185f480f52d2b6306a4cfd" integrity sha512-joSEu0IwP/rOY8mHcQ6J2MEm5GgsvVcrNDSGg2wQiV0epjsq6pNvRk4UA2nqV8aK0PPL+Z1Z/uD73bG8swzroA== -elliptic@^6.5.3: - version "6.5.4" - resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" - integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== - dependencies: - bn.js "^4.11.9" - brorand "^1.1.0" - hash.js "^1.0.0" - hmac-drbg "^1.0.1" - inherits "^2.0.4" - minimalistic-assert "^1.0.1" - minimalistic-crypto-utils "^1.0.1" - -emoji-regex@^7.0.1: - version "7.0.3" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" - integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== +electron-to-chromium@^1.4.668: + version "1.4.692" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.692.tgz#82139d20585a4b2318a02066af7593a3e6bec993" + integrity sha512-d5rZRka9n2Y3MkWRN74IoAsxR0HK3yaAt7T50e3iT9VZmCCQDT3geXUO5ZRMhDToa1pkCeQXuNo+0g+NfDOVPA== emoji-regex@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== -emojis-list@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389" - integrity sha1-TapNnbAPmBmIDHn6RXrlsJof04k= +emoji-regex@^9.2.2: + version "9.2.2" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" + integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== emojis-list@^3.0.0: version "3.0.0" @@ -5386,14 +4850,13 @@ end-of-stream@^1.0.0, end-of-stream@^1.1.0: dependencies: once "^1.4.0" -enhanced-resolve@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz#2f3cfd84dbe3b487f18f2db2ef1e064a571ca5ec" - integrity sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg== +enhanced-resolve@^5.9.3: + version "5.15.1" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.15.1.tgz#384391e025f099e67b4b00bfd7f0906a408214e1" + integrity sha512-3d3JRbwsCLJsYgvb6NuWEG44jjPSOMuS73L/6+7BZuoKm3W+qXnSoIYVHi8dG7Qcg4inAY4jbzkZ7MnskePeDg== dependencies: - graceful-fs "^4.1.2" - memory-fs "^0.5.0" - tapable "^1.0.0" + graceful-fs "^4.2.4" + tapable "^2.2.0" entities@^1.1.1: version "1.1.2" @@ -5405,32 +4868,30 @@ entities@^2.0.0: resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55" integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A== -envinfo@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-6.0.1.tgz#dec51f2dd38fb4a1fb5bf568488c06ad1e7e08a7" - integrity sha512-IbMWvMQulMm1hiky1Zt5YTcSDEdZs0r9bt77mcLa4RUAKRYTGZvrb3MtAt47FuldPxwL+u2LtQex1FajIW1/Cw== +entities@^4.4.0, entities@^4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48" + integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw== + +envinfo@^7.8.1: + version "7.11.1" + resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.11.1.tgz#2ffef77591057081b0129a8fd8cf6118da1b94e1" + integrity sha512-8PiZgZNIB4q/Lw4AhOvAfB/ityHAd2bli3lESSWmWSzSsl5dKpy5N1d1Rfkd2teq/g9xN90lc6o98DOjMeYHpg== -errno@^0.1.1, errno@^0.1.3, errno@~0.1.7: +errno@^0.1.1: version "0.1.8" resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.8.tgz#8bb3e9c7d463be4976ff888f76b4809ebc2e811f" integrity sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A== dependencies: prr "~1.0.1" -error-ex@^1.2.0, error-ex@^1.3.1: +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" -error-stack-parser@^1.3.3: - version "1.3.6" - resolved "https://registry.yarnpkg.com/error-stack-parser/-/error-stack-parser-1.3.6.tgz#e0e73b93e417138d1cd7c0b746b1a4a14854c292" - integrity sha1-4Oc7k+QXE40c18C3RrGkoUhUwpI= - dependencies: - stackframe "^0.3.1" - es-abstract@^1.19.0, es-abstract@^1.19.1: version "1.19.1" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.19.1.tgz#d4885796876916959de78edaa0df456627115ec3" @@ -5457,6 +4918,11 @@ es-abstract@^1.19.0, es-abstract@^1.19.1: string.prototype.trimstart "^1.0.4" unbox-primitive "^1.0.1" +es-module-lexer@^0.10.4: + version "0.10.5" + resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.10.5.tgz#06f76d51fa53b1f78e3bd8bb36dd275eda2fdd53" + integrity sha512-+7IwY/kiGAacQfY+YBhKMvEmyAJnw5grTUgjG85Pe7vcUI/6b7pZjZG8nQ7+48YhzEAEqrEgD2dCz/JIK+AYvw== + es-to-primitive@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" @@ -5466,37 +4932,184 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" -es5-ext@^0.10.35, es5-ext@^0.10.50: - version "0.10.53" - resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.53.tgz#93c5a3acfdbef275220ad72644ad02ee18368de1" - integrity sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q== - dependencies: - es6-iterator "~2.0.3" - es6-symbol "~3.1.3" - next-tick "~1.0.0" - -es6-iterator@2.0.3, es6-iterator@~2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7" - integrity sha1-p96IkUGgWpSwhUQDstCg+/qY87c= - dependencies: - d "1" - es5-ext "^0.10.35" - es6-symbol "^3.1.1" - -es6-symbol@^3.1.1, es6-symbol@~3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" - integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA== - dependencies: - d "^1.0.1" - ext "^1.1.2" +esbuild-android-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-android-64/-/esbuild-android-64-0.14.54.tgz#505f41832884313bbaffb27704b8bcaa2d8616be" + integrity sha512-Tz2++Aqqz0rJ7kYBfz+iqyE3QMycD4vk7LBRyWaAVFgFtQ/O8EJOnVmTOiDWYZ/uYzB4kvP+bqejYdVKzE5lAQ== + +esbuild-android-arm64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-android-arm64/-/esbuild-android-arm64-0.14.54.tgz#8ce69d7caba49646e009968fe5754a21a9871771" + integrity sha512-F9E+/QDi9sSkLaClO8SOV6etqPd+5DgJje1F9lOWoNncDdOBL2YF59IhsWATSt0TLZbYCf3pNlTHvVV5VfHdvg== + +esbuild-darwin-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-darwin-64/-/esbuild-darwin-64-0.14.54.tgz#24ba67b9a8cb890a3c08d9018f887cc221cdda25" + integrity sha512-jtdKWV3nBviOd5v4hOpkVmpxsBy90CGzebpbO9beiqUYVMBtSc0AL9zGftFuBon7PNDcdvNCEuQqw2x0wP9yug== + +esbuild-darwin-arm64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.54.tgz#3f7cdb78888ee05e488d250a2bdaab1fa671bf73" + integrity sha512-OPafJHD2oUPyvJMrsCvDGkRrVCar5aVyHfWGQzY1dWnzErjrDuSETxwA2HSsyg2jORLY8yBfzc1MIpUkXlctmw== + +esbuild-freebsd-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.54.tgz#09250f997a56ed4650f3e1979c905ffc40bbe94d" + integrity sha512-OKwd4gmwHqOTp4mOGZKe/XUlbDJ4Q9TjX0hMPIDBUWWu/kwhBAudJdBoxnjNf9ocIB6GN6CPowYpR/hRCbSYAg== + +esbuild-freebsd-arm64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.54.tgz#bafb46ed04fc5f97cbdb016d86947a79579f8e48" + integrity sha512-sFwueGr7OvIFiQT6WeG0jRLjkjdqWWSrfbVwZp8iMP+8UHEHRBvlaxL6IuKNDwAozNUmbb8nIMXa7oAOARGs1Q== + +esbuild-linux-32@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-32/-/esbuild-linux-32-0.14.54.tgz#e2a8c4a8efdc355405325033fcebeb941f781fe5" + integrity sha512-1ZuY+JDI//WmklKlBgJnglpUL1owm2OX+8E1syCD6UAxcMM/XoWd76OHSjl/0MR0LisSAXDqgjT3uJqT67O3qw== + +esbuild-linux-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-64/-/esbuild-linux-64-0.14.54.tgz#de5fdba1c95666cf72369f52b40b03be71226652" + integrity sha512-EgjAgH5HwTbtNsTqQOXWApBaPVdDn7XcK+/PtJwZLT1UmpLoznPd8c5CxqsH2dQK3j05YsB3L17T8vE7cp4cCg== + +esbuild-linux-arm64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.54.tgz#dae4cd42ae9787468b6a5c158da4c84e83b0ce8b" + integrity sha512-WL71L+0Rwv+Gv/HTmxTEmpv0UgmxYa5ftZILVi2QmZBgX3q7+tDeOQNqGtdXSdsL8TQi1vIaVFHUPDe0O0kdig== + +esbuild-linux-arm@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-arm/-/esbuild-linux-arm-0.14.54.tgz#a2c1dff6d0f21dbe8fc6998a122675533ddfcd59" + integrity sha512-qqz/SjemQhVMTnvcLGoLOdFpCYbz4v4fUo+TfsWG+1aOu70/80RV6bgNpR2JCrppV2moUQkww+6bWxXRL9YMGw== + +esbuild-linux-mips64le@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.54.tgz#d9918e9e4cb972f8d6dae8e8655bf9ee131eda34" + integrity sha512-qTHGQB8D1etd0u1+sB6p0ikLKRVuCWhYQhAHRPkO+OF3I/iSlTKNNS0Lh2Oc0g0UFGguaFZZiPJdJey3AGpAlw== + +esbuild-linux-ppc64le@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.54.tgz#3f9a0f6d41073fb1a640680845c7de52995f137e" + integrity sha512-j3OMlzHiqwZBDPRCDFKcx595XVfOfOnv68Ax3U4UKZ3MTYQB5Yz3X1mn5GnodEVYzhtZgxEBidLWeIs8FDSfrQ== + +esbuild-linux-riscv64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.14.54.tgz#618853c028178a61837bc799d2013d4695e451c8" + integrity sha512-y7Vt7Wl9dkOGZjxQZnDAqqn+XOqFD7IMWiewY5SPlNlzMX39ocPQlOaoxvT4FllA5viyV26/QzHtvTjVNOxHZg== + +esbuild-linux-s390x@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.54.tgz#d1885c4c5a76bbb5a0fe182e2c8c60eb9e29f2a6" + integrity sha512-zaHpW9dziAsi7lRcyV4r8dhfG1qBidQWUXweUjnw+lliChJqQr+6XD71K41oEIC3Mx1KStovEmlzm+MkGZHnHA== + +esbuild-loader@2.18.0: + version "2.18.0" + resolved "https://registry.yarnpkg.com/esbuild-loader/-/esbuild-loader-2.18.0.tgz#7b9548578ab954574fd94655693d22aa5ec74120" + integrity sha512-AKqxM3bI+gvGPV8o6NAhR+cBxVO8+dh+O0OXBHIXXwuSGumckbPWHzZ17subjBGI2YEGyJ1STH7Haj8aCrwL/w== + dependencies: + esbuild "^0.14.6" + joycon "^3.0.1" + json5 "^2.2.0" + loader-utils "^2.0.0" + tapable "^2.2.0" + webpack-sources "^2.2.0" + +esbuild-netbsd-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.54.tgz#69ae917a2ff241b7df1dbf22baf04bd330349e81" + integrity sha512-PR01lmIMnfJTgeU9VJTDY9ZerDWVFIUzAtJuDHwwceppW7cQWjBBqP48NdeRtoP04/AtO9a7w3viI+PIDr6d+w== + +esbuild-openbsd-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.54.tgz#db4c8495287a350a6790de22edea247a57c5d47b" + integrity sha512-Qyk7ikT2o7Wu76UsvvDS5q0amJvmRzDyVlL0qf5VLsLchjCa1+IAvd8kTBgUxD7VBUUVgItLkk609ZHUc1oCaw== + +esbuild-sunos-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-sunos-64/-/esbuild-sunos-64-0.14.54.tgz#54287ee3da73d3844b721c21bc80c1dc7e1bf7da" + integrity sha512-28GZ24KmMSeKi5ueWzMcco6EBHStL3B6ubM7M51RmPwXQGLe0teBGJocmWhgwccA1GeFXqxzILIxXpHbl9Q/Kw== + +esbuild-windows-32@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-windows-32/-/esbuild-windows-32-0.14.54.tgz#f8aaf9a5667630b40f0fb3aa37bf01bbd340ce31" + integrity sha512-T+rdZW19ql9MjS7pixmZYVObd9G7kcaZo+sETqNH4RCkuuYSuv9AGHUVnPoP9hhuE1WM1ZimHz1CIBHBboLU7w== + +esbuild-windows-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-windows-64/-/esbuild-windows-64-0.14.54.tgz#bf54b51bd3e9b0f1886ffdb224a4176031ea0af4" + integrity sha512-AoHTRBUuYwXtZhjXZbA1pGfTo8cJo3vZIcWGLiUcTNgHpJJMC1rVA44ZereBHMJtotyN71S8Qw0npiCIkW96cQ== + +esbuild-windows-arm64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.54.tgz#937d15675a15e4b0e4fafdbaa3a01a776a2be982" + integrity sha512-M0kuUvXhot1zOISQGXwWn6YtS+Y/1RT9WrVIOywZnJHo3jCDyewAc79aKNQWFCQm+xNHVTq9h8dZKvygoXQQRg== + +esbuild@^0.14.6: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.14.54.tgz#8b44dcf2b0f1a66fc22459943dccf477535e9aa2" + integrity sha512-Cy9llcy8DvET5uznocPyqL3BFRrFXSVqbgpMJ9Wz8oVjZlh/zUSNbPRbov0VX7VxN2JH1Oa0uNxZ7eLRb62pJA== + optionalDependencies: + "@esbuild/linux-loong64" "0.14.54" + esbuild-android-64 "0.14.54" + esbuild-android-arm64 "0.14.54" + esbuild-darwin-64 "0.14.54" + esbuild-darwin-arm64 "0.14.54" + esbuild-freebsd-64 "0.14.54" + esbuild-freebsd-arm64 "0.14.54" + esbuild-linux-32 "0.14.54" + esbuild-linux-64 "0.14.54" + esbuild-linux-arm "0.14.54" + esbuild-linux-arm64 "0.14.54" + esbuild-linux-mips64le "0.14.54" + esbuild-linux-ppc64le "0.14.54" + esbuild-linux-riscv64 "0.14.54" + esbuild-linux-s390x "0.14.54" + esbuild-netbsd-64 "0.14.54" + esbuild-openbsd-64 "0.14.54" + esbuild-sunos-64 "0.14.54" + esbuild-windows-32 "0.14.54" + esbuild-windows-64 "0.14.54" + esbuild-windows-arm64 "0.14.54" + +esbuild@~0.19.5: + version "0.19.12" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.19.12.tgz#dc82ee5dc79e82f5a5c3b4323a2a641827db3e04" + integrity sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg== + optionalDependencies: + "@esbuild/aix-ppc64" "0.19.12" + "@esbuild/android-arm" "0.19.12" + "@esbuild/android-arm64" "0.19.12" + "@esbuild/android-x64" "0.19.12" + "@esbuild/darwin-arm64" "0.19.12" + "@esbuild/darwin-x64" "0.19.12" + "@esbuild/freebsd-arm64" "0.19.12" + "@esbuild/freebsd-x64" "0.19.12" + "@esbuild/linux-arm" "0.19.12" + "@esbuild/linux-arm64" "0.19.12" + "@esbuild/linux-ia32" "0.19.12" + "@esbuild/linux-loong64" "0.19.12" + "@esbuild/linux-mips64el" "0.19.12" + "@esbuild/linux-ppc64" "0.19.12" + "@esbuild/linux-riscv64" "0.19.12" + "@esbuild/linux-s390x" "0.19.12" + "@esbuild/linux-x64" "0.19.12" + "@esbuild/netbsd-x64" "0.19.12" + "@esbuild/openbsd-x64" "0.19.12" + "@esbuild/sunos-x64" "0.19.12" + "@esbuild/win32-arm64" "0.19.12" + "@esbuild/win32-ia32" "0.19.12" + "@esbuild/win32-x64" "0.19.12" escalade@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== +escape-goat@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/escape-goat/-/escape-goat-2.1.1.tgz#1b2dc77003676c457ec760b2dc68edb648188675" + integrity sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q== + escape-html@~1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" @@ -5524,13 +5137,13 @@ escodegen@^2.0.0: optionalDependencies: source-map "~0.6.1" -eslint-config-taro@3.5.6: - version "3.5.6" - resolved "https://registry.yarnpkg.com/eslint-config-taro/-/eslint-config-taro-3.5.6.tgz#9731b6b9ab358d60067aad890c65e8e3782c0d6d" - integrity sha512-X//VSTXgFU9fkrv9+JwJ4GsUSwObVXunnwU2siyJvzWRocqHY+GXKSa6ev8XmI8bIVUzOPtaUUbz8TTTLWSa1g== +eslint-config-taro@3.6.24: + version "3.6.24" + resolved "https://registry.yarnpkg.com/eslint-config-taro/-/eslint-config-taro-3.6.24.tgz#93006f0339e5d66ffce118c62a490b6200570433" + integrity sha512-7iyBXIskrcoWYRq4r5QGxLvBJomwLQXKMsqe0aaOPhwSdhumO29hdvCou941z6j5P6q/NNR3yKonr1AjTJA31A== dependencies: "@babel/eslint-parser" "^7.17.0" - "@typescript-eslint/parser" "^5.20.0" + "@typescript-eslint/parser" "^6.2.0" eslint-import-resolver-node@^0.3.6: version "0.3.6" @@ -5572,16 +5185,6 @@ eslint-plugin-react-hooks@^4.2.0: resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.3.0.tgz#318dbf312e06fab1c835a4abef00121751ac1172" integrity sha512-XslZy0LnMn+84NEG9jSGR6eGqaZB3133L8xewQo3fQagbQuGt7a63gf+P1NGKZavEYEC3UXaWEAA/AqDkuN6xA== -eslint-plugin-react@7.10.0: - version "7.10.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.10.0.tgz#af5c1fef31c4704db02098f9be18202993828b50" - integrity sha512-18rzWn4AtbSUxFKKM7aCVcj5LXOhOKdwBino3KKWy4psxfPW0YtIbE8WNRDUdyHFL50BeLb6qFd4vpvNYyp7hw== - dependencies: - doctrine "^2.1.0" - has "^1.0.3" - jsx-ast-utils "^2.0.1" - prop-types "^15.6.2" - eslint-plugin-react@^7.8.2: version "7.28.0" resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.28.0.tgz#8f3ff450677571a659ce76efc6d80b6a525adbdf" @@ -5602,22 +5205,7 @@ eslint-plugin-react@^7.8.2: semver "^6.3.0" string.prototype.matchall "^4.0.6" -eslint-plugin-taro@^2.2.10: - version "2.2.18" - resolved "https://registry.yarnpkg.com/eslint-plugin-taro/-/eslint-plugin-taro-2.2.18.tgz#61a843ad738ab7bc2deb7521402ff18bcfb954a4" - integrity sha512-RF04ya0DJz7NsnlqJB4QpxKze6zqAkoz4oVFQTE8R7E4zPoEBLyEtAAPYZ3b5sROyALxlRBqpnXhzZuHbhmNtA== - dependencies: - has "^1.0.1" - -eslint-scope@3.7.1: - version "3.7.1" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-3.7.1.tgz#3d63c3edfda02e06e01a452ad88caacc7cdcb6e8" - integrity sha1-PWPD7f2gLgbgGkUq2IyqzHzctug= - dependencies: - esrecurse "^4.1.0" - estraverse "^4.1.1" - -eslint-scope@5.1.1, eslint-scope@^5.0.0, eslint-scope@^5.1.1: +eslint-scope@5.1.1, eslint-scope@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== @@ -5625,14 +5213,6 @@ eslint-scope@5.1.1, eslint-scope@^5.0.0, eslint-scope@^5.1.1: esrecurse "^4.3.0" estraverse "^4.1.1" -eslint-scope@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848" - integrity sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg== - dependencies: - esrecurse "^4.1.0" - estraverse "^4.1.1" - eslint-scope@^7.1.1: version "7.1.1" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.1.1.tgz#fff34894c2f65e5226d3041ac480b4513a163642" @@ -5641,12 +5221,13 @@ eslint-scope@^7.1.1: esrecurse "^4.3.0" estraverse "^5.2.0" -eslint-utils@^1.3.1, eslint-utils@^1.4.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.4.3.tgz#74fec7c54d0776b6f67e0251040b5806564e981f" - integrity sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q== +eslint-scope@^7.2.0: + version "7.2.2" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f" + integrity sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg== dependencies: - eslint-visitor-keys "^1.1.0" + esrecurse "^4.3.0" + estraverse "^5.2.0" eslint-utils@^3.0.0: version "3.0.0" @@ -5655,11 +5236,6 @@ eslint-utils@^3.0.0: dependencies: eslint-visitor-keys "^2.0.0" -eslint-visitor-keys@^1.0.0, eslint-visitor-keys@^1.1.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" - integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== - eslint-visitor-keys@^2.0.0, eslint-visitor-keys@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" @@ -5670,90 +5246,55 @@ eslint-visitor-keys@^3.3.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826" integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA== -eslint@5.16.0: - version "5.16.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.16.0.tgz#a1e3ac1aae4a3fbd8296fcf8f7ab7314cbb6abea" - integrity sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg== - dependencies: - "@babel/code-frame" "^7.0.0" - ajv "^6.9.1" - chalk "^2.1.0" - cross-spawn "^6.0.5" - debug "^4.0.1" - doctrine "^3.0.0" - eslint-scope "^4.0.3" - eslint-utils "^1.3.1" - eslint-visitor-keys "^1.0.0" - espree "^5.0.1" - esquery "^1.0.1" - esutils "^2.0.2" - file-entry-cache "^5.0.1" - functional-red-black-tree "^1.0.1" - glob "^7.1.2" - globals "^11.7.0" - ignore "^4.0.6" - import-fresh "^3.0.0" - imurmurhash "^0.1.4" - inquirer "^6.2.2" - js-yaml "^3.13.0" - json-stable-stringify-without-jsonify "^1.0.1" - levn "^0.3.0" - lodash "^4.17.11" - minimatch "^3.0.4" - mkdirp "^0.5.1" - natural-compare "^1.4.0" - optionator "^0.8.2" - path-is-inside "^1.0.2" - progress "^2.0.0" - regexpp "^2.0.1" - semver "^5.5.1" - strip-ansi "^4.0.0" - strip-json-comments "^2.0.1" - table "^5.2.3" - text-table "^0.2.0" - -eslint@^6.8.0: - version "6.8.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.8.0.tgz#62262d6729739f9275723824302fb227c8c93ffb" - integrity sha512-K+Iayyo2LtyYhDSYwz5D5QdWw0hCacNzyq1Y821Xna2xSJj7cijoLLYmLxTQgcgZ9mC61nryMy9S7GRbYpI5Ig== - dependencies: - "@babel/code-frame" "^7.0.0" +eslint-visitor-keys@^3.4.1: + version "3.4.3" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" + integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== + +eslint@8.41.0: + version "8.41.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.41.0.tgz#3062ca73363b4714b16dbc1e60f035e6134b6f1c" + integrity sha512-WQDQpzGBOP5IrXPo4Hc0814r4/v2rrIsB0rhT7jtunIalgg6gYXWhRMOejVO8yH21T/FGaxjmFjBMNqcIlmH1Q== + dependencies: + "@eslint-community/eslint-utils" "^4.2.0" + "@eslint-community/regexpp" "^4.4.0" + "@eslint/eslintrc" "^2.0.3" + "@eslint/js" "8.41.0" + "@humanwhocodes/config-array" "^0.11.8" + "@humanwhocodes/module-importer" "^1.0.1" + "@nodelib/fs.walk" "^1.2.8" ajv "^6.10.0" - chalk "^2.1.0" - cross-spawn "^6.0.5" - debug "^4.0.1" + chalk "^4.0.0" + cross-spawn "^7.0.2" + debug "^4.3.2" doctrine "^3.0.0" - eslint-scope "^5.0.0" - eslint-utils "^1.4.3" - eslint-visitor-keys "^1.1.0" - espree "^6.1.2" - esquery "^1.0.1" + escape-string-regexp "^4.0.0" + eslint-scope "^7.2.0" + eslint-visitor-keys "^3.4.1" + espree "^9.5.2" + esquery "^1.4.2" esutils "^2.0.2" - file-entry-cache "^5.0.1" - functional-red-black-tree "^1.0.1" - glob-parent "^5.0.0" - globals "^12.1.0" - ignore "^4.0.6" + fast-deep-equal "^3.1.3" + file-entry-cache "^6.0.1" + find-up "^5.0.0" + glob-parent "^6.0.2" + globals "^13.19.0" + graphemer "^1.4.0" + ignore "^5.2.0" import-fresh "^3.0.0" imurmurhash "^0.1.4" - inquirer "^7.0.0" is-glob "^4.0.0" - js-yaml "^3.13.1" + is-path-inside "^3.0.3" + js-yaml "^4.1.0" json-stable-stringify-without-jsonify "^1.0.1" - levn "^0.3.0" - lodash "^4.17.14" - minimatch "^3.0.4" - mkdirp "^0.5.1" + levn "^0.4.1" + lodash.merge "^4.6.2" + minimatch "^3.1.2" natural-compare "^1.4.0" - optionator "^0.8.3" - progress "^2.0.0" - regexpp "^2.0.1" - semver "^6.1.2" - strip-ansi "^5.2.0" - strip-json-comments "^3.0.1" - table "^5.2.3" + optionator "^0.9.1" + strip-ansi "^6.0.1" + strip-json-comments "^3.1.0" text-table "^0.2.0" - v8-compile-cache "^2.0.3" eslint@^8.12.0: version "8.25.0" @@ -5799,24 +5340,6 @@ eslint@^8.12.0: strip-json-comments "^3.1.0" text-table "^0.2.0" -espree@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/espree/-/espree-5.0.1.tgz#5d6526fa4fc7f0788a5cf75b15f30323e2f81f7a" - integrity sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A== - dependencies: - acorn "^6.0.7" - acorn-jsx "^5.0.0" - eslint-visitor-keys "^1.0.0" - -espree@^6.1.2: - version "6.2.1" - resolved "https://registry.yarnpkg.com/espree/-/espree-6.2.1.tgz#77fc72e1fd744a2052c20f38a5b575832e82734a" - integrity sha512-ysCxRQY3WaXJz9tdbWOwuWr5Y/XrPTGX9Kiz3yoUXwW0VZ4w30HTkQLaGx/+ttFjF8i+ACbArnB4ce68a9m5hw== - dependencies: - acorn "^7.1.1" - acorn-jsx "^5.2.0" - eslint-visitor-keys "^1.1.0" - espree@^9.4.0: version "9.4.0" resolved "https://registry.yarnpkg.com/espree/-/espree-9.4.0.tgz#cd4bc3d6e9336c433265fc0aa016fc1aaf182f8a" @@ -5826,19 +5349,35 @@ espree@^9.4.0: acorn-jsx "^5.3.2" eslint-visitor-keys "^3.3.0" +espree@^9.5.2, espree@^9.6.0: + version "9.6.1" + resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.1.tgz#a2a17b8e434690a5432f2f8018ce71d331a48c6f" + integrity sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ== + dependencies: + acorn "^8.9.0" + acorn-jsx "^5.3.2" + eslint-visitor-keys "^3.4.1" + esprima@^4.0.0, esprima@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== -esquery@^1.0.1, esquery@^1.4.0: +esquery@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.4.0.tgz#2148ffc38b82e8c7057dfed48425b3e61f0f24a5" integrity sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w== dependencies: estraverse "^5.1.0" -esrecurse@^4.1.0, esrecurse@^4.3.0: +esquery@^1.4.2: + version "1.5.0" + resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.5.0.tgz#6ce17738de8577694edd7361c57182ac8cb0db0b" + integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg== + dependencies: + estraverse "^5.1.0" + +esrecurse@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== @@ -5855,6 +5394,11 @@ estraverse@^5.1.0, estraverse@^5.2.0, estraverse@^5.3.0: resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== +estree-walker@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac" + integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w== + esutils@^2.0.2: version "2.0.3" resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" @@ -5870,60 +5414,20 @@ eventemitter3@^4.0.0: resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== -events@^3.0.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" - integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== - -eventsource@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/eventsource/-/eventsource-2.0.2.tgz#76dfcc02930fb2ff339520b6d290da573a9e8508" - integrity sha512-IzUmBGPR3+oUG9dUeXynyNmf91/3zUSJg1lCktzKw47OXuhco54U3r9B7O4XX+Rb1Itm9OZ2b0RkTs10bICOxA== - -evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz#7fcbdb198dc71959432efe13842684e0525acb02" - integrity sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA== - dependencies: - md5.js "^1.3.4" - safe-buffer "^5.1.1" - -execa@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/execa/-/execa-0.2.2.tgz#e2ead472c2c31aad6f73f1ac956eef45e12320cb" - integrity sha1-4urUcsLDGq1vc/GslW7vReEjIMs= - dependencies: - cross-spawn-async "^2.1.1" - npm-run-path "^1.0.0" - object-assign "^4.0.1" - path-key "^1.0.0" - strip-eof "^1.0.0" - -execa@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" - integrity sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c= - dependencies: - cross-spawn "^5.0.1" - get-stream "^3.0.0" - is-stream "^1.1.0" - npm-run-path "^2.0.0" - p-finally "^1.0.0" - signal-exit "^3.0.0" - strip-eof "^1.0.0" - -execa@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8" - integrity sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA== +execa@^5.0.0: + version "5.1.1" + resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" + integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== dependencies: - cross-spawn "^6.0.0" - get-stream "^4.0.0" - is-stream "^1.1.0" - npm-run-path "^2.0.0" - p-finally "^1.0.0" - signal-exit "^3.0.0" - strip-eof "^1.0.0" + cross-spawn "^7.0.3" + get-stream "^6.0.0" + human-signals "^2.1.0" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.1" + onetime "^5.1.2" + signal-exit "^3.0.3" + strip-final-newline "^2.0.0" execall@^1.0.0: version "1.0.0" @@ -5932,11 +5436,6 @@ execall@^1.0.0: dependencies: clone-regexp "^1.0.0" -exit-hook@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/exit-hook/-/exit-hook-1.1.1.tgz#f05ca233b48c05d54fff07765df8507e95c02ff8" - integrity sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g= - expand-brackets@^0.1.4: version "0.1.5" resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" @@ -5976,38 +5475,39 @@ expr-parser@^1.0.0: resolved "https://registry.yarnpkg.com/expr-parser/-/expr-parser-1.0.0.tgz#b85be870efce3c764977578d4a505795233f9022" integrity sha512-ncuWTCWH0M5KbaYikXxZ3FG3Q+FTYIEXeXAbxYscdZLFNnR5Le5gRU2r/a/JUZHnxwBDZcxWEWzCoPQlW9Engg== -express@^4.17.1: - version "4.17.2" - resolved "https://registry.yarnpkg.com/express/-/express-4.17.2.tgz#c18369f265297319beed4e5558753cc8c1364cb3" - integrity sha512-oxlxJxcQlYwqPWKVJJtvQiwHgosH/LrLSPA+H4UxpyvSS6jC5aH+5MoHFM+KABgTOt0APue4w66Ha8jCUo9QGg== +express@^4.17.3: + version "4.18.3" + resolved "https://registry.yarnpkg.com/express/-/express-4.18.3.tgz#6870746f3ff904dee1819b82e4b51509afffb0d4" + integrity sha512-6VyCijWQ+9O7WuVMTRBTl+cjNNIzD5cY5mQ1WM8r/LEkI2u8EYpOotESNwzNlyCn3g+dmjKYI6BmNneSr/FSRw== dependencies: - accepts "~1.3.7" + accepts "~1.3.8" array-flatten "1.1.1" - body-parser "1.19.1" + body-parser "1.20.2" content-disposition "0.5.4" content-type "~1.0.4" - cookie "0.4.1" + cookie "0.5.0" cookie-signature "1.0.6" debug "2.6.9" - depd "~1.1.2" + depd "2.0.0" encodeurl "~1.0.2" escape-html "~1.0.3" etag "~1.8.1" - finalhandler "~1.1.2" + finalhandler "1.2.0" fresh "0.5.2" + http-errors "2.0.0" merge-descriptors "1.0.1" methods "~1.1.2" - on-finished "~2.3.0" + on-finished "2.4.1" parseurl "~1.3.3" path-to-regexp "0.1.7" proxy-addr "~2.0.7" - qs "6.9.6" + qs "6.11.0" range-parser "~1.2.1" safe-buffer "5.2.1" - send "0.17.2" - serve-static "1.14.2" + send "0.18.0" + serve-static "1.15.0" setprototypeof "1.2.0" - statuses "~1.5.0" + statuses "2.0.1" type-is "~1.6.18" utils-merge "1.0.1" vary "~1.1.2" @@ -6027,13 +5527,6 @@ ext-name@^5.0.0: ext-list "^2.0.0" sort-keys-length "^1.0.0" -ext@^1.1.2: - version "1.6.0" - resolved "https://registry.yarnpkg.com/ext/-/ext-1.6.0.tgz#3871d50641e874cc172e2b53f919842d19db4c52" - integrity sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg== - dependencies: - type "^2.5.0" - extend-shallow@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" @@ -6054,15 +5547,6 @@ extend@^3.0.0, extend@~3.0.2: resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== -external-editor@^2.1.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-2.2.0.tgz#045511cfd8d133f3846673d1047c154e214ad3d5" - integrity sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A== - dependencies: - chardet "^0.4.0" - iconv-lite "^0.4.17" - tmp "^0.0.33" - external-editor@^3.0.3: version "3.1.0" resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" @@ -6108,7 +5592,7 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== -fast-glob@^2.0.2, fast-glob@^2.2.6: +fast-glob@^2.0.2: version "2.2.7" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-2.2.7.tgz#6953857c3afa475fff92ee6015d52da70a4cd39d" integrity sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw== @@ -6120,6 +5604,17 @@ fast-glob@^2.0.2, fast-glob@^2.2.6: merge2 "^1.2.3" micromatch "^3.1.10" +fast-glob@^3.2.7: + version "3.3.2" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" + integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + fast-glob@^3.2.9: version "3.2.11" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9" @@ -6148,7 +5643,7 @@ fastq@^1.6.0: dependencies: reusify "^1.0.4" -faye-websocket@^0.11.3, faye-websocket@^0.11.4: +faye-websocket@^0.11.3: version "0.11.4" resolved "https://registry.yarnpkg.com/faye-websocket/-/faye-websocket-0.11.4.tgz#7f0d9275cfdd86a1c963dc8b65fcc451edcbb1da" integrity sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g== @@ -6162,26 +5657,6 @@ fd-slicer@~1.1.0: dependencies: pend "~1.2.0" -figgy-pudding@^3.5.1: - version "3.5.2" - resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.2.tgz#b4eee8148abb01dcf1d1ac34367d59e12fa61d6e" - integrity sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw== - -figures@^1.3.5: - version "1.7.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e" - integrity sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4= - dependencies: - escape-string-regexp "^1.0.5" - object-assign "^4.1.0" - -figures@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" - integrity sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI= - dependencies: - escape-string-regexp "^1.0.5" - figures@^3.0.0: version "3.2.0" resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" @@ -6197,13 +5672,6 @@ file-entry-cache@^2.0.0: flat-cache "^1.2.1" object-assign "^4.0.1" -file-entry-cache@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-5.0.1.tgz#ca0f6efa6dd3d561333fb14515065c2fafdf439c" - integrity sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g== - dependencies: - flat-cache "^2.0.1" - 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" @@ -6211,13 +5679,13 @@ file-entry-cache@^6.0.1: dependencies: flat-cache "^3.0.4" -file-loader@^6.0.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-6.2.0.tgz#baef7cf8e1840df325e4390b4484879480eebe4d" - integrity sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw== +file-loader@6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-6.0.0.tgz#97bbfaab7a2460c07bcbd72d3a6922407f67649f" + integrity sha512-/aMOAYEFXDdjG0wytpTL5YQLfZnnTmLNjn+AIrJ/6HVnTfDqLsVKUUwkDf4I4kgex36BvjuXEn/TX9B/1ESyqQ== dependencies: loader-utils "^2.0.0" - schema-utils "^3.0.0" + schema-utils "^2.6.5" file-type@^3.8.0: version "3.9.0" @@ -6244,18 +5712,6 @@ file-type@^8.1.0: resolved "https://registry.yarnpkg.com/file-type/-/file-type-8.1.0.tgz#244f3b7ef641bbe0cca196c7276e4b332399f68c" integrity sha512-qyQ0pzAy78gVoJsmYeNgl8uH8yKhr1lVhW7JbzJmnlRi0I4R2eEDEJZVKG8agpDnLpacwNbDhLNG/LMdxHD2YQ== -file-uri-to-path@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" - integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== - -filelist@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/filelist/-/filelist-1.0.2.tgz#80202f21462d4d1c2e214119b1807c1bc0380e5b" - integrity sha512-z7O0IS8Plc39rTCq6i6iHxk43duYOn8uFJiWSewIq0Bww1RNybVHSCjahmcC87ZqAm4OTvFzlzeGu3XAzG1ctQ== - dependencies: - minimatch "^3.0.4" - filename-regex@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" @@ -6303,22 +5759,17 @@ fill-range@^7.0.1: dependencies: to-regex-range "^5.0.1" -filter-obj@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/filter-obj/-/filter-obj-1.1.0.tgz#9b311112bc6c6127a16e016c6c5d7f19e0805c5b" - integrity sha1-mzERErxsYSehbgFsbF1/GeCAXFs= - -finalhandler@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.2.tgz#b7e7d000ffd11938d0fdb053506f6ebabe9f587d" - integrity sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA== +finalhandler@1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.2.0.tgz#7d23fe5731b207b4640e4fcd00aec1f9207a7b32" + integrity sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg== dependencies: debug "2.6.9" encodeurl "~1.0.2" escape-html "~1.0.3" - on-finished "~2.3.0" + on-finished "2.4.1" parseurl "~1.3.3" - statuses "~1.5.0" + statuses "2.0.1" unpipe "~1.0.0" find-cache-dir@^2.0.0, find-cache-dir@^2.1.0: @@ -6330,28 +5781,6 @@ find-cache-dir@^2.0.0, find-cache-dir@^2.1.0: make-dir "^2.0.0" pkg-dir "^3.0.0" -find-cache-dir@^3.3.1: - version "3.3.2" - resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-3.3.2.tgz#b30c5b6eff0730731aea9bbd9dbecbd80256d64b" - integrity sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig== - dependencies: - commondir "^1.0.1" - make-dir "^3.0.2" - pkg-dir "^4.1.0" - -find-parent-dir@^0.3.0: - version "0.3.1" - resolved "https://registry.yarnpkg.com/find-parent-dir/-/find-parent-dir-0.3.1.tgz#c5c385b96858c3351f95d446cab866cbf9f11125" - integrity sha512-o4UcykWV/XN9wm+jMEtWLPlV8RXCZnMhQI6F6OdHeSez7iiJWePw8ijOlskJZMsaQoGR/b7dH6lO02HhaTN7+A== - -find-up@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" - integrity sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8= - dependencies: - path-exists "^2.0.0" - pinkie-promise "^2.0.0" - find-up@^2.0.0, find-up@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" @@ -6366,7 +5795,7 @@ find-up@^3.0.0: dependencies: locate-path "^3.0.0" -find-up@^4.0.0: +find-up@^4.0.0, find-up@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== @@ -6382,6 +5811,14 @@ find-up@^5.0.0: locate-path "^6.0.0" path-exists "^4.0.0" +find-yarn-workspace-root2@1.2.16: + version "1.2.16" + resolved "https://registry.yarnpkg.com/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.16.tgz#60287009dd2f324f59646bdb4b7610a6b301c2a9" + integrity sha512-hr6hb1w8ePMpPVUK39S4RlwJzi+xPLuVuG8XlwXU3KD5Yn3qgBWVfy3AzNlDhWvE1EORCE65/Qm26rFQt3VLVA== + dependencies: + micromatch "^4.0.2" + pkg-dir "^4.2.0" + find-yarn-workspace-root@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/find-yarn-workspace-root/-/find-yarn-workspace-root-2.0.0.tgz#f47fb8d239c900eb78179aa81b66673eac88f7bd" @@ -6389,12 +5826,15 @@ find-yarn-workspace-root@2.0.0: dependencies: micromatch "^4.0.2" -first-chunk-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/first-chunk-stream/-/first-chunk-stream-2.0.0.tgz#1bdecdb8e083c0664b91945581577a43a9f31d70" - integrity sha1-G97NuOCDwGZLkZRVgVd6Q6nzHXA= +findup-sync@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-5.0.0.tgz#54380ad965a7edca00cc8f63113559aadc541bd2" + integrity sha512-MzwXju70AuyflbgeOhzvQWAvvQdo1XL0A9bVvlXsYcFEBM87WR4OakL4OfZq+QRmr+duJubio+UtNQCPsVESzQ== dependencies: - readable-stream "^2.0.2" + detect-file "^1.0.0" + is-glob "^4.0.3" + micromatch "^4.0.4" + resolve-dir "^1.0.1" flat-cache@^1.2.1: version "1.3.4" @@ -6406,15 +5846,6 @@ flat-cache@^1.2.1: rimraf "~2.6.2" write "^0.2.1" -flat-cache@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-2.0.1.tgz#5d296d6f04bda44a4630a301413bdbc2ec085ec0" - integrity sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA== - dependencies: - flatted "^2.0.0" - rimraf "2.6.3" - write "1.0.3" - flat-cache@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" @@ -6423,24 +5854,11 @@ flat-cache@^3.0.4: flatted "^3.1.0" rimraf "^3.0.2" -flatted@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138" - integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA== - flatted@^3.1.0: version "3.2.7" resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787" integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== -flush-write-stream@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/flush-write-stream/-/flush-write-stream-1.1.1.tgz#8dd7d873a1babc207d94ead0c2e0e44276ebf2e8" - integrity sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w== - dependencies: - inherits "^2.0.3" - readable-stream "^2.3.6" - follow-redirects@^1.0.0: version "1.14.8" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.8.tgz#016996fb9a11a100566398b1c6839337d7bfa8fc" @@ -6458,15 +5876,23 @@ for-own@^0.1.4: dependencies: for-in "^1.0.1" +foreground-child@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.1.1.tgz#1d173e776d75d2772fed08efe4a0de1ea1b12d0d" + integrity sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg== + dependencies: + cross-spawn "^7.0.0" + signal-exit "^4.0.1" + forever-agent@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE= -form-data@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-3.0.1.tgz#ebd53791b78356a99af9a300d4282c4d5eb9755f" - integrity sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg== +form-data@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" + integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== dependencies: asynckit "^0.4.0" combined-stream "^1.0.8" @@ -6498,7 +5924,7 @@ fresh@0.5.2: resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" integrity sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac= -from2@^2.1.0, from2@^2.1.1: +from2@^2.1.1: version "2.3.0" resolved "https://registry.yarnpkg.com/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af" integrity sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8= @@ -6520,36 +5946,16 @@ fs-extra@^8.0.1, fs-extra@^8.1.0: jsonfile "^4.0.0" universalify "^0.1.0" -fs-minipass@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" - integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg== - dependencies: - minipass "^3.0.0" - -fs-write-stream-atomic@^1.0.8: - version "1.0.10" - resolved "https://registry.yarnpkg.com/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz#b47df53493ef911df75731e70a9ded0189db40c9" - integrity sha1-tH31NJPvkR33VzHnCp3tAYnbQMk= - dependencies: - graceful-fs "^4.1.2" - iferr "^0.1.5" - imurmurhash "^0.1.4" - readable-stream "1 || 2" +fs-monkey@^1.0.4: + version "1.0.5" + resolved "https://registry.yarnpkg.com/fs-monkey/-/fs-monkey-1.0.5.tgz#fe450175f0db0d7ea758102e1d84096acb925788" + integrity sha512-8uMbBjrhzW76TYgEV27Y5E//W2f/lTFmx78P2w19FZSxarhI/798APGQyuGCwmkNxgwGRhrLfvWyLBvNtuOmew== fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= -fsevents@^1.2.7: - version "1.2.13" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.13.tgz#f325cb0455592428bcf11b383370ef70e3bfcc38" - integrity sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw== - dependencies: - bindings "^1.5.0" - nan "^2.12.1" - fsevents@~2.3.2: version "2.3.2" resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" @@ -6560,17 +5966,17 @@ function-bind@^1.1.1: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== -functional-red-black-tree@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" - integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc= +function-bind@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" + integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== 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" integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== -get-caller-file@^2.0.1, get-caller-file@^2.0.5: +get-caller-file@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== @@ -6591,11 +5997,6 @@ get-proxy@^2.0.0: dependencies: npm-conf "^1.1.0" -get-stdin@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe" - integrity sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4= - get-stdin@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-6.0.0.tgz#9e09bf712b360ab9225e812048f71fde9c89657b" @@ -6614,7 +6015,7 @@ get-stream@^2.2.0: object-assign "^4.0.1" pinkie-promise "^2.0.0" -get-stream@^4.0.0, get-stream@^4.1.0: +get-stream@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w== @@ -6628,6 +6029,11 @@ get-stream@^5.1.0: dependencies: pump "^3.0.0" +get-stream@^6.0.0: + version "6.0.1" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" + integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== + get-symbol-description@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" @@ -6681,14 +6087,14 @@ glob-parent@^3.1.0: is-glob "^3.1.0" path-dirname "^1.0.0" -glob-parent@^5.0.0, glob-parent@^5.1.2, glob-parent@~5.1.2: +glob-parent@^5.1.2, glob-parent@~5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== dependencies: is-glob "^4.0.1" -glob-parent@^6.0.1: +glob-parent@^6.0.1, glob-parent@^6.0.2: version "6.0.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3" integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== @@ -6700,18 +6106,18 @@ glob-to-regexp@^0.3.0: resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab" integrity sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs= -glob@^6.0.1: - version "6.0.4" - resolved "https://registry.yarnpkg.com/glob/-/glob-6.0.4.tgz#0f08860f6a155127b2fadd4f9ce24b1aab6e4d22" - integrity sha1-DwiGD2oVUSey+t1PnOJLGqtuTSI= +glob@10.2.6: + version "10.2.6" + resolved "https://registry.yarnpkg.com/glob/-/glob-10.2.6.tgz#1e27edbb3bbac055cb97113e27a066c100a4e5e1" + integrity sha512-U/rnDpXJGF414QQQZv5uVsabTVxMSwzS5CH0p3DRCIV6ownl4f7PzGnkGmvlum2wB+9RlJWJZ6ACU1INnBqiPA== dependencies: - inflight "^1.0.4" - inherits "2" - minimatch "2 || 3" - once "^1.3.0" - path-is-absolute "^1.0.0" + foreground-child "^3.1.0" + jackspeak "^2.0.3" + minimatch "^9.0.1" + minipass "^5.0.0 || ^6.0.2" + path-scurry "^1.7.0" -glob@^7.0.0, glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: +glob@^7.1.1, glob@^7.1.2, glob@^7.1.3: version "7.2.0" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023" integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q== @@ -6735,12 +6141,12 @@ glob@^7.1.6: once "^1.3.0" path-is-absolute "^1.0.0" -global-dirs@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445" - integrity sha1-sxnA3UYH81PzvpzKTHL8FIxJ9EU= +global-dirs@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-3.0.1.tgz#0c488971f066baceda21447aecb1a8b911d22485" + integrity sha512-NBcGGFbBA9s1VzD41QXDG+3++t9Mn5t1FpLdhESY6oKY4gYTFpX4wO3sqGUa0Srjtbfj3szX0RnemmrVRUdULA== dependencies: - ini "^1.3.4" + ini "2.0.0" global-modules@^1.0.0: version "1.0.0" @@ -6751,6 +6157,13 @@ global-modules@^1.0.0: is-windows "^1.0.1" resolve-dir "^1.0.0" +global-modules@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-2.0.0.tgz#997605ad2345f27f51539bea26574421215c7780" + integrity sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A== + dependencies: + global-prefix "^3.0.0" + global-prefix@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-1.0.2.tgz#dbf743c6c14992593c655568cb66ed32c0122ebe" @@ -6762,18 +6175,20 @@ global-prefix@^1.0.1: is-windows "^1.0.1" which "^1.2.14" -globals@^11.1.0, globals@^11.7.0: +global-prefix@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-3.0.0.tgz#fc85f73064df69f50421f47f883fe5b913ba9b97" + integrity sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg== + dependencies: + ini "^1.3.5" + kind-of "^6.0.2" + which "^1.3.1" + +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== -globals@^12.1.0: - version "12.4.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-12.4.0.tgz#a18813576a41b00a24a97e7f815918c2e19925f8" - integrity sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg== - dependencies: - type-fest "^0.8.1" - globals@^13.15.0: version "13.17.0" resolved "https://registry.yarnpkg.com/globals/-/globals-13.17.0.tgz#902eb1e680a41da93945adbdcb5a9f361ba69bd4" @@ -6781,12 +6196,14 @@ globals@^13.15.0: dependencies: type-fest "^0.20.2" -globals@^9.18.0: - version "9.18.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" - integrity sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ== +globals@^13.19.0: + version "13.24.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-13.24.0.tgz#8432a19d78ce0c1e833949c36adb345400bb1171" + integrity sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ== + dependencies: + type-fest "^0.20.2" -globby@^11.0.3, globby@^11.1.0: +globby@^11.0.2, globby@^11.1.0: version "11.1.0" resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== @@ -6798,40 +6215,17 @@ globby@^11.0.3, globby@^11.1.0: merge2 "^1.4.1" slash "^3.0.0" -globby@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-4.1.0.tgz#080f54549ec1b82a6c60e631fc82e1211dbe95f8" - integrity sha1-CA9UVJ7BuCpsYOYx/ILhIR2+lfg= - dependencies: - array-union "^1.0.1" - arrify "^1.0.0" - glob "^6.0.1" - object-assign "^4.0.1" - pify "^2.0.0" - pinkie-promise "^2.0.0" - -globby@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c" - integrity sha1-9abXDoOV4hyFj7BInWTfAkJNUGw= - dependencies: - array-union "^1.0.1" - glob "^7.0.3" - object-assign "^4.0.1" - pify "^2.0.0" - pinkie-promise "^2.0.0" - -globby@^7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/globby/-/globby-7.1.1.tgz#fb2ccff9401f8600945dfada97440cca972b8680" - integrity sha1-+yzP+UAfhgCUXfral0QMypcrhoA= +globby@^12.0.2: + version "12.2.0" + resolved "https://registry.yarnpkg.com/globby/-/globby-12.2.0.tgz#2ab8046b4fba4ff6eede835b29f678f90e3d3c22" + integrity sha512-wiSuFQLZ+urS9x2gGPl1H5drc5twabmm4m2gTR27XDFyjUHJUNsS8o/2aKyIF6IoBaR630atdher0XJ5g6OMmA== dependencies: - array-union "^1.0.1" - dir-glob "^2.0.0" - glob "^7.1.2" - ignore "^3.3.5" - pify "^3.0.0" - slash "^1.0.0" + array-union "^3.0.1" + dir-glob "^3.0.1" + fast-glob "^3.2.7" + ignore "^5.1.9" + merge2 "^1.4.1" + slash "^4.0.0" globby@^8.0.0: version "8.0.2" @@ -6846,20 +6240,6 @@ globby@^8.0.0: pify "^3.0.0" slash "^1.0.0" -globby@^9.2.0: - version "9.2.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-9.2.0.tgz#fd029a706c703d29bdd170f4b6db3a3f7a7cb63d" - integrity sha512-ollPHROa5mcxDEkwg6bPt3QbEf4pDQSNtd6JPL1YvOvAo/7/0VAm9TccUeoTmarjPw4pfUthSCqcyfNB1I3ZSg== - dependencies: - "@types/glob" "^7.1.1" - array-union "^1.0.2" - dir-glob "^2.2.2" - fast-glob "^2.2.6" - glob "^7.1.3" - ignore "^4.0.3" - pify "^4.0.1" - slash "^2.0.0" - globjoin@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/globjoin/-/globjoin-0.1.4.tgz#2f4494ac8919e3767c5cbb691e9f463324285d43" @@ -6879,23 +6259,6 @@ gonzales-pe@^4.2.3: dependencies: minimist "^1.2.5" -got@^6.7.1: - version "6.7.1" - resolved "https://registry.yarnpkg.com/got/-/got-6.7.1.tgz#240cd05785a9a18e561dc1b44b41c763ef1e8db0" - integrity sha1-JAzQV4WpoY5WHcG0S0HHY+8ejbA= - dependencies: - create-error-class "^3.0.0" - duplexer3 "^0.1.4" - get-stream "^3.0.0" - is-redirect "^1.0.0" - is-retry-allowed "^1.0.0" - is-stream "^1.0.0" - lowercase-keys "^1.0.0" - safe-buffer "^5.0.1" - timed-out "^4.0.0" - unzip-response "^2.0.1" - url-parse-lax "^1.0.0" - got@^8.3.1: version "8.3.2" resolved "https://registry.yarnpkg.com/got/-/got-8.3.2.tgz#1d23f64390e97f776cac52e5b936e5f514d2e937" @@ -6936,16 +6299,26 @@ got@^9.6.0: to-readable-stream "^1.0.0" url-parse-lax "^3.0.0" -graceful-fs@^4.1.10, graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.5, graceful-fs@^4.1.6, graceful-fs@^4.2.0: +graceful-fs@^4.1.10, graceful-fs@^4.1.2, graceful-fs@^4.1.5, graceful-fs@^4.1.6, graceful-fs@^4.2.0: version "4.2.9" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.9.tgz#041b05df45755e587a24942279b9d113146e1c96" integrity sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ== +graceful-fs@^4.2.4, graceful-fs@^4.2.6: + version "4.2.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" + integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== + grapheme-splitter@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== +graphemer@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6" + integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag== + handle-thing@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-2.0.1.tgz#857f79ce359580c340d43081cc648970d0bb234e" @@ -6964,6 +6337,11 @@ har-validator@~5.1.3: ajv "^6.12.3" har-schema "^2.0.0" +hard-rejection@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/hard-rejection/-/hard-rejection-2.1.0.tgz#1c6eda5c1685c63942766d79bb40ae773cecd883" + integrity sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA== + has-ansi@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" @@ -7046,31 +6424,31 @@ has-values@^1.0.0: is-number "^3.0.0" kind-of "^4.0.0" -has@^1.0.1, has@^1.0.3: +has-yarn@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/has-yarn/-/has-yarn-2.1.0.tgz#137e11354a7b5bf11aa5cb649cf0c6f3ff2b2e77" + integrity sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw== + +has@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== dependencies: function-bind "^1.1.1" -hash-base@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" - integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== - dependencies: - inherits "^2.0.4" - readable-stream "^3.6.0" - safe-buffer "^5.2.0" +hash-sum@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/hash-sum/-/hash-sum-1.0.2.tgz#33b40777754c6432573c120cc3808bbd10d47f04" + integrity sha512-fUs4B4L+mlt8/XAtSOGMUO1TXmAelItBPtJG7CyHJfYTdDjwisntGO2JQz7oUsatOY9o68+57eziUVNw/mRHmA== -hash.js@^1.0.0, hash.js@^1.0.3: - version "1.1.7" - resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" - integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== +hasown@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.1.tgz#26f48f039de2c0f8d3356c223fb8d50253519faa" + integrity sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA== dependencies: - inherits "^2.0.3" - minimalistic-assert "^1.0.1" + function-bind "^1.1.2" -he@^1.1.0, he@^1.2.0: +he@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== @@ -7089,40 +6467,11 @@ highlight.js@^10.7.1: resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-10.7.3.tgz#697272e3991356e40c3cac566a74eef681756531" integrity sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A== -himalaya-wxml@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/himalaya-wxml/-/himalaya-wxml-1.1.0.tgz#85d0341af1c5f53f3b021be8e4be890cc8b4d7af" - integrity sha512-n1l4NRjr9uIOiGy76t6bi5TO7EDZWTFe875OgygoR9myFXJAYWtrmVG9GY094j1SEazCwxYqhEMbaywLlOArbw== - -history@^5.1.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/history/-/history-5.2.0.tgz#7cdd31cf9bac3c5d31f09c231c9928fad0007b7c" - integrity sha512-uPSF6lAJb3nSePJ43hN3eKj1dTWpN9gMod0ZssbFTIsen+WehTmEadgL+kg78xLJFdRfrrC//SavDzmRVdE+Ig== - dependencies: - "@babel/runtime" "^7.7.6" - hls.js@^1.1.5: version "1.2.4" resolved "https://registry.yarnpkg.com/hls.js/-/hls.js-1.2.4.tgz#761d7f700c3da5c1701257c24c1db7ababea14eb" integrity sha512-yC3K79Kzq1W+OgjT12JxKMDXv9DbfvulppxmPBl7D04SaTyd2IwWk5eNASQV1mUaPlKbjr16yI9292qpSGo0ig== -hmac-drbg@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" - integrity sha1-0nRXAQJabHdabFRXk+1QL8DGSaE= - dependencies: - hash.js "^1.0.3" - minimalistic-assert "^1.0.0" - minimalistic-crypto-utils "^1.0.1" - -home-or-tmp@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8" - integrity sha1-42w/LSyufXRqhX440Y1fMqeILbg= - dependencies: - os-homedir "^1.0.0" - os-tmpdir "^1.0.1" - homedir-polyfill@^1.0.1: version "1.0.3" resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8" @@ -7135,6 +6484,13 @@ hosted-git-info@^2.1.4: resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9" integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw== +hosted-git-info@^4.0.1: + version "4.1.0" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-4.1.0.tgz#827b82867e9ff1c8d0c4d9d53880397d2c86d224" + integrity sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA== + dependencies: + lru-cache "^6.0.0" + hpack.js@^2.1.6: version "2.1.6" resolved "https://registry.yarnpkg.com/hpack.js/-/hpack.js-2.1.6.tgz#87774c0949e513f42e84575b3c45681fade2a0b2" @@ -7145,30 +6501,30 @@ hpack.js@^2.1.6: readable-stream "^2.0.1" wbuf "^1.1.0" -html-encoding-sniffer@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz#42a6dc4fd33f00281176e8b23759ca4e4fa185f3" - integrity sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ== +html-encoding-sniffer@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz#2cb1a8cf0db52414776e5b2a7a04d5dd98158de9" + integrity sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA== dependencies: - whatwg-encoding "^1.0.5" + whatwg-encoding "^2.0.0" -html-entities@^1.3.1: - version "1.4.0" - resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.4.0.tgz#cfbd1b01d2afaf9adca1b10ae7dffab98c71d2dc" - integrity sha512-8nxjcBcd8wovbeKx7h3wTji4e6+rhaVuPNpMqwWgnHh+N9ToqsCs6XztWRBPQ+UtzsoMAdKZtUENoVzU/EMtZA== +html-entities@^2.3.2: + version "2.5.2" + resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-2.5.2.tgz#201a3cf95d3a15be7099521620d19dfb4f65359f" + integrity sha512-K//PSRMQk4FZ78Kyau+mZurHn3FH0Vwr+H36eE0rPbeYkRRi9YxceYPhuN60UwWorxyKHhqoAJl2OFKa4BVtaA== -html-minifier-terser@^5.0.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/html-minifier-terser/-/html-minifier-terser-5.1.1.tgz#922e96f1f3bb60832c2634b79884096389b1f054" - integrity sha512-ZPr5MNObqnV/T9akshPKbVgyOqLmy+Bxo7juKCfTfnjNniTAMdy4hz21YQqoofMBJD2kdREaqPPdThoR78Tgxg== +html-minifier-terser@^6.0.2: + version "6.1.0" + resolved "https://registry.yarnpkg.com/html-minifier-terser/-/html-minifier-terser-6.1.0.tgz#bfc818934cc07918f6b3669f5774ecdfd48f32ab" + integrity sha512-YXxSlJBZTP7RS3tWnQw74ooKa6L9b9i9QYXY21eUEvhZ3u9XLfv6OnFsQq6RxkhHygsaUMvYsZRV5rU/OVNZxw== dependencies: - camel-case "^4.1.1" - clean-css "^4.2.3" - commander "^4.1.1" + camel-case "^4.1.2" + clean-css "^5.2.2" + commander "^8.3.0" he "^1.2.0" - param-case "^3.0.3" + param-case "^3.0.4" relateurl "^0.2.7" - terser "^4.6.3" + terser "^5.10.0" html-minifier@^4.0.0: version "4.0.0" @@ -7188,27 +6544,16 @@ html-tags@^2.0.0: resolved "https://registry.yarnpkg.com/html-tags/-/html-tags-2.0.0.tgz#10b30a386085f43cede353cc8fa7cb0deeea668b" integrity sha1-ELMKOGCF9Dzt41PMj6fLDe7qZos= -html-webpack-plugin@4: - version "4.5.2" - resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-4.5.2.tgz#76fc83fa1a0f12dd5f7da0404a54e2699666bc12" - integrity sha512-q5oYdzjKUIPQVjOosjgvCHQOv9Ett9CYYHlgvJeXG0qQvdSojnBq4vAdQBwn1+yGveAwHCoe/rMR86ozX3+c2A== - dependencies: - "@types/html-minifier-terser" "^5.0.0" - "@types/tapable" "^1.0.5" - "@types/webpack" "^4.41.8" - html-minifier-terser "^5.0.1" - loader-utils "^1.2.3" - lodash "^4.17.20" - pretty-error "^2.1.1" - tapable "^1.1.3" - util.promisify "1.0.0" - -html@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/html/-/html-1.0.0.tgz#a544fa9ea5492bfb3a2cca8210a10be7b5af1f61" - integrity sha1-pUT6nqVJK/s6LMqCEKEL57WvH2E= +html-webpack-plugin@5.5.0: + version "5.5.0" + resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-5.5.0.tgz#c3911936f57681c1f9f4d8b68c158cd9dfe52f50" + integrity sha512-sy88PC2cRTVxvETRgUHFrL4No3UxvcH8G1NepGhqaTT+GXN2kTamqasot0inS5hXeg1cMbFDt27zzo9p35lZVw== dependencies: - concat-stream "^1.4.7" + "@types/html-minifier-terser" "^6.0.0" + html-minifier-terser "^6.0.2" + lodash "^4.17.21" + pretty-error "^4.0.0" + tapable "^2.0.0" htmlparser2@^3.9.2: version "3.10.1" @@ -7247,15 +6592,15 @@ http-deceiver@^1.2.7: resolved "https://registry.yarnpkg.com/http-deceiver/-/http-deceiver-1.2.7.tgz#fa7168944ab9a519d337cb0bec7284dc3e723d87" integrity sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc= -http-errors@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.8.1.tgz#7c3f28577cbc8a207388455dbd62295ed07bd68c" - integrity sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g== +http-errors@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3" + integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ== dependencies: - depd "~1.1.2" + depd "2.0.0" inherits "2.0.4" setprototypeof "1.2.0" - statuses ">= 1.5.0 < 2" + statuses "2.0.1" toidentifier "1.0.1" http-errors@~1.6.2: @@ -7273,26 +6618,27 @@ http-parser-js@>=0.5.1: resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.5.tgz#d7c30d5d3c90d865b4a2e870181f9d6f22ac7ac5" integrity sha512-x+JVEkO2PoM8qqpbPbOL3cqHPwerep7OwzK7Ay+sMQjKzaKCqWvjoXm5tqMP9tXWWTnTzAjIhXg+J99XYuPhPA== -http-proxy-agent@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz#8a8c8ef7f5932ccf953c296ca8291b95aa74aa3a" - integrity sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg== +http-proxy-agent@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz#5129800203520d434f142bc78ff3c170800f2b43" + integrity sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w== dependencies: - "@tootallnate/once" "1" + "@tootallnate/once" "2" agent-base "6" debug "4" -http-proxy-middleware@0.19.1: - version "0.19.1" - resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-0.19.1.tgz#183c7dc4aa1479150306498c210cdaf96080a43a" - integrity sha512-yHYTgWMQO8VvwNS22eLLloAkvungsKdKTLO8AJlftYIKNfJr3GK3zK0ZCfzDDGUBttdGc8xFy1mCitvNKQtC3Q== +http-proxy-middleware@^2.0.3: + version "2.0.6" + resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz#e1a4dd6979572c7ab5a4e4b55095d1f32a74963f" + integrity sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw== dependencies: - http-proxy "^1.17.0" - is-glob "^4.0.0" - lodash "^4.17.11" - micromatch "^3.1.10" + "@types/http-proxy" "^1.17.8" + http-proxy "^1.18.1" + is-glob "^4.0.1" + is-plain-obj "^3.0.0" + micromatch "^4.0.2" -http-proxy@^1.17.0: +http-proxy@^1.18.1: version "1.18.1" resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549" integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ== @@ -7310,12 +6656,7 @@ http-signature@~1.2.0: jsprim "^1.2.2" sshpk "^1.7.0" -https-browserify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" - integrity sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM= - -https-proxy-agent@^5.0.0: +https-proxy-agent@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== @@ -7323,41 +6664,46 @@ https-proxy-agent@^5.0.0: agent-base "6" debug "4" -iconv-lite@0.4.24, iconv-lite@^0.4.17, iconv-lite@^0.4.24, iconv-lite@^0.4.4: +human-signals@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" + integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== + +iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.4: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== dependencies: safer-buffer ">= 2.1.2 < 3" -icss-utils@^4.0.0, icss-utils@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-4.1.1.tgz#21170b53789ee27447c2f47dd683081403f9a467" - integrity sha512-4aFq7wvWyMHKgxsH8QQtGpvbASCf+eM3wPRLI6R+MgAnTCZ6STYsRvttLvRWK0Nfif5piF394St3HeJDaljGPA== +iconv-lite@0.6.3: + version "0.6.3" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" + integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== dependencies: - postcss "^7.0.14" + safer-buffer ">= 2.1.2 < 3.0.0" + +icss-utils@^5.0.0, icss-utils@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-5.1.0.tgz#c6be6858abd013d768e98366ae47e25d5887b1ae" + integrity sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA== -ieee754@^1.1.13, ieee754@^1.1.4: +ieee754@^1.1.13: version "1.2.1" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== -iferr@^0.1.5: - version "0.1.5" - resolved "https://registry.yarnpkg.com/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501" - integrity sha1-xg7taebY/bazEEofy8ocGS3FtQE= - ignore@^3.3.3, ignore@^3.3.5: version "3.3.10" resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.10.tgz#0a97fb876986e8081c631160f8f9f389157f0043" integrity sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug== -ignore@^4.0.3, ignore@^4.0.6: - version "4.0.6" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" - integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== +ignore@^5.1.9, ignore@^5.2.4: + version "5.3.1" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.1.tgz#5073e554cd42c5b33b394375f538b8593e34d4ef" + integrity sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw== -ignore@^5.1.8, ignore@^5.2.0: +ignore@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a" integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== @@ -7380,7 +6726,7 @@ import-fresh@^2.0.0: caller-path "^2.0.0" resolve-from "^3.0.0" -import-fresh@^3.0.0, import-fresh@^3.2.1: +import-fresh@^3.0.0, 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== @@ -7398,26 +6744,11 @@ import-lazy@^3.1.0: resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-3.1.0.tgz#891279202c8a2280fdbd6674dbd8da1a1dfc67cc" integrity sha512-8/gvXvX2JMn0F+CDlSC4l6kOmVaLOO3XLkksI7CI3Ud95KDYJuYur2b9P/PUt/i/pDAMd/DulQsNbbbmRRsDIQ== -import-local@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/import-local/-/import-local-2.0.0.tgz#55070be38a5993cf18ef6db7e961f5bee5c5a09d" - integrity sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ== - dependencies: - pkg-dir "^3.0.0" - resolve-cwd "^2.0.0" - imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= -indent-string@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-2.1.0.tgz#8e2d48348742121b4a8218b7a137e9a52049dc80" - integrity sha1-ji1INIdCEhtKghi3oTfppSBJ3IA= - dependencies: - repeating "^2.0.0" - indent-string@^3.0.0: version "3.2.0" resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289" @@ -7433,11 +6764,6 @@ indexes-of@^1.0.1: resolved "https://registry.yarnpkg.com/indexes-of/-/indexes-of-1.0.1.tgz#f30f716c8e2bd346c7b67d3df3915566a7c05607" integrity sha1-8w9xbI4r00bHtn0985FVZqfAVgc= -infer-owner@^1.0.3, infer-owner@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467" - integrity sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A== - inflight@^1.0.4: version "1.0.6" resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" @@ -7446,84 +6772,27 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@2.0.4, inherits@^2.0.0, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3: +inherits@2, inherits@2.0.4, inherits@^2.0.0, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== -inherits@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" - integrity sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE= - inherits@2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= -ini@^1.3.4, ini@~1.3.0: +ini@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ini/-/ini-2.0.0.tgz#e5fd556ecdd5726be978fa1001862eacb0a94bc5" + integrity sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA== + +ini@^1.3.4, ini@^1.3.5, ini@~1.3.0: version "1.3.8" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== -inquirer@^0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-0.12.0.tgz#1ef2bfd63504df0bc75785fff8c2c41df12f077e" - integrity sha1-HvK/1jUE3wvHV4X/+MLEHfEvB34= - dependencies: - ansi-escapes "^1.1.0" - ansi-regex "^2.0.0" - chalk "^1.0.0" - cli-cursor "^1.0.1" - cli-width "^2.0.0" - figures "^1.3.5" - lodash "^4.3.0" - readline2 "^1.0.1" - run-async "^0.1.0" - rx-lite "^3.1.2" - string-width "^1.0.1" - strip-ansi "^3.0.0" - through "^2.3.6" - -inquirer@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-5.2.0.tgz#db350c2b73daca77ff1243962e9f22f099685726" - integrity sha512-E9BmnJbAKLPGonz0HeWHtbKf+EeSP93paWO3ZYoUpq/aowXvYGjjCSuashhXPpzbArIjBbji39THkxTz9ZeEUQ== - dependencies: - ansi-escapes "^3.0.0" - chalk "^2.0.0" - cli-cursor "^2.1.0" - cli-width "^2.0.0" - external-editor "^2.1.0" - figures "^2.0.0" - lodash "^4.3.0" - mute-stream "0.0.7" - run-async "^2.2.0" - rxjs "^5.5.2" - string-width "^2.1.0" - strip-ansi "^4.0.0" - through "^2.3.6" - -inquirer@^6.2.2: - version "6.5.2" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.5.2.tgz#ad50942375d036d327ff528c08bd5fab089928ca" - integrity sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ== - dependencies: - ansi-escapes "^3.2.0" - chalk "^2.4.2" - cli-cursor "^2.1.0" - cli-width "^2.0.0" - external-editor "^3.0.3" - figures "^2.0.0" - lodash "^4.17.12" - mute-stream "0.0.7" - run-async "^2.2.0" - rxjs "^6.4.0" - string-width "^2.1.0" - strip-ansi "^5.1.0" - through "^2.3.6" - -inquirer@^7.0.0: +inquirer@^7.3.3: version "7.3.3" resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.3.3.tgz#04d176b2af04afc157a83fd7c100e98ee0aad003" integrity sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA== @@ -7542,13 +6811,26 @@ inquirer@^7.0.0: strip-ansi "^6.0.0" through "^2.3.6" -internal-ip@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/internal-ip/-/internal-ip-4.3.0.tgz#845452baad9d2ca3b69c635a137acb9a0dad0907" - integrity sha512-S1zBo1D6zcsyuC6PMmY5+55YMILQ9av8lotMx447Bq6SAgo/sDK6y6uUKmuYhW7eacnIhFfsPmCNYdDzsnnDCg== +inquirer@^8.0.0: + version "8.2.6" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.6.tgz#733b74888195d8d400a67ac332011b5fae5ea562" + integrity sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg== dependencies: - default-gateway "^4.2.0" - ipaddr.js "^1.9.0" + ansi-escapes "^4.2.1" + chalk "^4.1.1" + cli-cursor "^3.1.0" + cli-width "^3.0.0" + external-editor "^3.0.3" + figures "^3.0.0" + lodash "^4.17.21" + mute-stream "0.0.8" + ora "^5.4.1" + run-async "^2.4.0" + rxjs "^7.5.5" + string-width "^4.1.0" + strip-ansi "^6.0.0" + through "^2.3.6" + wrap-ansi "^6.0.1" internal-slot@^1.0.3: version "1.0.3" @@ -7559,16 +6841,6 @@ internal-slot@^1.0.3: has "^1.0.3" side-channel "^1.0.4" -interpret@^1.0.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e" - integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== - -intersection-observer@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/intersection-observer/-/intersection-observer-0.7.0.tgz#ee16bee978db53516ead2f0a8154b09b400bbdc9" - integrity sha512-Id0Fij0HsB/vKWGeBe9PxeY45ttRiBmhFyyt/geBdDHBYNctMRTE3dC1U3ujzz3lap+hVXlEcVaB56kZP/eEUg== - into-stream@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/into-stream/-/into-stream-3.1.0.tgz#96fb0a936c12babd6ff1752a17d05616abd094c6" @@ -7577,32 +6849,15 @@ into-stream@^3.1.0: from2 "^2.1.1" p-is-promise "^1.1.0" -invariant@^2.2.0, invariant@^2.2.2: - version "2.2.4" - resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" - integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== - dependencies: - loose-envify "^1.0.0" - -ip-regex@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9" - integrity sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk= - -ip@^1.1.0, ip@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" - integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo= - -ipaddr.js@1.9.1, ipaddr.js@^1.9.0: +ipaddr.js@1.9.1: version "1.9.1" resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== -is-absolute-url@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/is-absolute-url/-/is-absolute-url-3.0.3.tgz#96c6a22b6a23929b11ea0afb1836c36ad4a5d698" - integrity sha512-opmNIX7uFnS96NtPmhWQgQx6/NYFgsUXYMllcfzwWKUMwfo8kku1TvE6hkNcH+Q1ts5cMVrsY7j0bxXQDciu9Q== +ipaddr.js@^2.0.1: + version "2.1.0" + resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-2.1.0.tgz#2119bc447ff8c257753b196fc5f1ce08a4cdf39f" + integrity sha512-LlbxQ7xKzfBusov6UMi4MFpEg0m+mAm9xyNGEduwXMEDuf4WfzB/RZwMVYEd7IKGvh4IUkEXYxtAVu9T3OelJQ== is-accessor-descriptor@^0.1.6: version "0.1.6" @@ -7636,14 +6891,6 @@ is-alphanumerical@^1.0.0: is-alphabetical "^1.0.0" is-decimal "^1.0.0" -is-arguments@^1.0.4: - version "1.1.1" - resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.1.1.tgz#15b3f88fda01f2a97fec84ca761a560f123efa9b" - integrity sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA== - dependencies: - call-bind "^1.0.2" - has-tostringtag "^1.0.0" - is-arrayish@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" @@ -7656,13 +6903,6 @@ is-bigint@^1.0.1: dependencies: has-bigints "^1.0.1" -is-binary-path@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" - integrity sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg= - dependencies: - binary-extensions "^1.0.0" - is-binary-path@~2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" @@ -7688,12 +6928,19 @@ is-callable@^1.1.4, is-callable@^1.2.4: resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945" integrity sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w== -is-ci@^1.0.10, is-ci@^1.0.8: - version "1.2.1" - resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.2.1.tgz#e3779c8ee17fccf428488f6e281187f2e632841c" - integrity sha512-s6tfsaQaQi3JNciBH6shVqEDvhGut0SUXr31ag8Pd8BBbVVlcGfWhpPmEOoM6RJ5TFhbypvf5yyRw/VXW1IiWg== +is-ci@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c" + integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w== + dependencies: + ci-info "^2.0.0" + +is-core-module@^2.12.0, is-core-module@^2.13.0, is-core-module@^2.5.0: + version "2.13.1" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.1.tgz#ad0d7532c6fea9da1ebdc82742d74525c6273384" + integrity sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw== dependencies: - ci-info "^1.5.0" + hasown "^2.0.0" is-core-module@^2.2.0, is-core-module@^2.8.0, is-core-module@^2.8.1: version "2.8.1" @@ -7758,7 +7005,7 @@ is-directory@^0.3.1: resolved "https://registry.yarnpkg.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1" integrity sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE= -is-docker@^2.0.0: +is-docker@^2.0.0, is-docker@^2.1.1: version "2.2.1" resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== @@ -7802,18 +7049,6 @@ is-extglob@^2.1.0, is-extglob@^2.1.1: resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= -is-finite@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.1.0.tgz#904135c77fb42c0641d6aa1bcdbc4daa8da082f3" - integrity sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w== - -is-fullwidth-code-point@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" - integrity sha1-754xOG8DGn8NZDr4L95QxFfvAMs= - dependencies: - number-is-nan "^1.0.0" - is-fullwidth-code-point@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" @@ -7850,13 +7085,13 @@ is-hexadecimal@^1.0.0: resolved "https://registry.yarnpkg.com/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz#cc35c97588da4bd49a8eedd6bc4082d44dcb23a7" integrity sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw== -is-installed-globally@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/is-installed-globally/-/is-installed-globally-0.1.0.tgz#0dfd98f5a9111716dd535dda6492f67bf3d25a80" - integrity sha1-Df2Y9akRFxbdU13aZJL2e/PSWoA= +is-installed-globally@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/is-installed-globally/-/is-installed-globally-0.4.0.tgz#9a0fd407949c30f86eb6959ef1b7994ed0b7b520" + integrity sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ== dependencies: - global-dirs "^0.1.0" - is-path-inside "^1.0.0" + global-dirs "^3.0.0" + is-path-inside "^3.0.2" is-interactive@^1.0.0: version "1.0.0" @@ -7878,10 +7113,10 @@ is-negative-zero@^2.0.1: resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA== -is-npm@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-1.0.0.tgz#f2fb63a65e4905b406c86072765a1a4dc793b9f4" - integrity sha1-8vtjpl5JBbQGyGBydloaTceTufQ= +is-npm@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-5.0.0.tgz#43e8d65cc56e1b67f8d47262cf667099193f45a8" + integrity sha512-WW/rQLOazUq+ST/bCAVBp/2oMERWLsR7OrKyt052dNDk4DHcDE0/7QSXITlmi+VBcV13DfIbysG3tZJm5RfdBA== is-number-object@^1.0.4: version "1.0.6" @@ -7914,52 +7149,31 @@ 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@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" - integrity sha1-PkcprB9f3gJc19g6iW2rn09n2w8= - 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-object@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-object/-/is-object-1.0.2.tgz#a56552e1c665c9e950b4a025461da87e72f86fcf" - integrity sha512-2rRIahhZr2UWb45fIOuvZGpFtz0TyOZLf32KxBbSoUCeZR495zCKlWUKKUByk3geS2eAs7ZAABt0Y/Rx0GiQGA== - -is-path-cwd@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-2.2.0.tgz#67d43b82664a7b5191fd9119127eb300048a9fdb" - integrity sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ== - -is-path-in-cwd@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-path-in-cwd/-/is-path-in-cwd-2.1.0.tgz#bfe2dca26c69f397265a4009963602935a053acb" - integrity sha512-rNocXHgipO+rvnP6dk3zI20RpOtrAM/kzbB258Uw5BWr3TpXi861yzjo16Dn4hUox07iw5AyeMLHWsujkjzvRQ== - dependencies: - is-path-inside "^2.1.0" - -is-path-inside@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" - integrity sha1-jvW33lBDej/cprToZe96pVy0gDY= - dependencies: - path-is-inside "^1.0.1" +is-object@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-object/-/is-object-1.0.2.tgz#a56552e1c665c9e950b4a025461da87e72f86fcf" + integrity sha512-2rRIahhZr2UWb45fIOuvZGpFtz0TyOZLf32KxBbSoUCeZR495zCKlWUKKUByk3geS2eAs7ZAABt0Y/Rx0GiQGA== -is-path-inside@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-2.1.0.tgz#7c9810587d659a40d27bcdb4d5616eab059494b2" - integrity sha512-wiyhTzfDWsvwAW53OBWF5zuvaOGlZ6PwYxAbPVDhpm+gM09xKQGjBq/8uYN12aDvMxnAnq3dxTyoSoRNmg5YFg== - dependencies: - path-is-inside "^1.0.2" +is-path-inside@^3.0.2, is-path-inside@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" + integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4= +is-plain-obj@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-3.0.0.tgz#af6f2ea14ac5a646183a5bbdb5baabbc156ad9d7" + integrity sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA== + is-plain-object@^2.0.3, is-plain-object@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" @@ -7982,12 +7196,7 @@ is-primitive@^2.0.0: resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" integrity sha1-IHurkWOEmcB7Kt8kCkGochADRXU= -is-redirect@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-redirect/-/is-redirect-1.0.0.tgz#1d03dded53bd8db0f30c26e4f95d36fc7c87dc24" - integrity sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ= - -is-regex@^1.0.4, is-regex@^1.1.4: +is-regex@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== @@ -8000,7 +7209,7 @@ is-regexp@^1.0.0: resolved "https://registry.yarnpkg.com/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069" integrity sha1-/S2INUXEa6xaYz57mgnof6LLUGk= -is-retry-allowed@^1.0.0, is-retry-allowed@^1.1.0: +is-retry-allowed@^1.1.0: version "1.2.0" resolved "https://registry.yarnpkg.com/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz#d778488bd0a4666a3be8a1482b9f2baafedea8b4" integrity sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg== @@ -8010,11 +7219,16 @@ is-shared-array-buffer@^1.0.1: resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz#97b0c85fbdacb59c9c446fe653b82cf2b5b7cfe6" integrity sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA== -is-stream@^1.0.0, is-stream@^1.1.0: +is-stream@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= +is-stream@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" + integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== + is-string@^1.0.5, is-string@^1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd" @@ -8034,15 +7248,15 @@ is-symbol@^1.0.2, is-symbol@^1.0.3: dependencies: has-symbols "^1.0.2" -is-typedarray@~1.0.0: +is-typedarray@^1.0.0, is-typedarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= -is-utf8@^0.2.0, is-utf8@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" - integrity sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI= +is-unicode-supported@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" + integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== is-weakref@^1.0.1: version "1.0.2" @@ -8071,28 +7285,23 @@ is-word-character@^1.0.0: resolved "https://registry.yarnpkg.com/is-word-character/-/is-word-character-1.0.4.tgz#ce0e73216f98599060592f62ff31354ddbeb0230" integrity sha512-5SMO8RVennx3nZrqtKwCGyyetPE9VDba5ugvKLaD4KopPG5kR4mQ7tNt/r7feL5yt5h3lpuBbIUmCOG2eSzXHA== -is-wsl@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" - integrity sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0= - -is-wsl@^2.1.1: +is-wsl@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== dependencies: is-docker "^2.0.0" -isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: +is-yarn-global@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/is-yarn-global/-/is-yarn-global-0.3.0.tgz#d502d3382590ea3004893746754c89139973e232" + integrity sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw== + +isarray@1.0.0, isarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= -isbinaryfile@^4.0.0: - version "4.0.8" - resolved "https://registry.yarnpkg.com/isbinaryfile/-/isbinaryfile-4.0.8.tgz#5d34b94865bd4946633ecc78a026fc76c5b11fcf" - integrity sha512-53h6XFniq77YdW+spoRrebh0mnmTxRPTlcuIArO57lmMdq4uBKFKaeTjnb92oYWrSn/LVL+LT+Hap2tFQj8V+w== - isexe@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" @@ -8132,29 +7341,33 @@ j-component@^1.4.6: miniprogram-api-typings "^3.2.2" miniprogram-exparser "2.15.0" -jake@^10.6.1: - version "10.8.2" - resolved "https://registry.yarnpkg.com/jake/-/jake-10.8.2.tgz#ebc9de8558160a66d82d0eadc6a2e58fbc500a7b" - integrity sha512-eLpKyrfG3mzvGE2Du8VoPbeSkRry093+tyNjdYaBbJS9v17knImYGNXQCUV0gLxQtF82m3E8iRb/wdSQZLoq7A== +jackspeak@^2.0.3: + version "2.3.6" + resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-2.3.6.tgz#647ecc472238aee4b06ac0e461acc21a8c505ca8" + integrity sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ== dependencies: - async "0.9.x" - chalk "^2.4.2" - filelist "^1.0.1" - minimatch "^3.0.4" + "@isaacs/cliui" "^8.0.2" + optionalDependencies: + "@pkgjs/parseargs" "^0.11.0" -javascript-stringify@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/javascript-stringify/-/javascript-stringify-1.6.0.tgz#142d111f3a6e3dae8f4a9afd77d45855b5a9cce3" - integrity sha1-FC0RHzpuPa6PSpr9d9RYVbWpzOM= +javascript-stringify@^2.0.1: + version "2.1.0" + resolved "https://registry.yarnpkg.com/javascript-stringify/-/javascript-stringify-2.1.0.tgz#27c76539be14d8bd128219a2d731b09337904e79" + integrity sha512-JVAfqNPTvNq3sB/VHQJAFxN/sPgKnsKrCwyRt15zwNCdrMMJDdcEOdubuy+DuJYYdm0ox1J4uzEuYKkN+9yhVg== -jest-worker@^26.2.1: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.6.2.tgz#7f72cbc4d643c365e27b9fd775f9d0eaa9c7a8ed" - integrity sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ== +jest-worker@^27.0.2, jest-worker@^27.4.5: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.5.1.tgz#8d146f0900e8973b106b6f73cc1e9a8cb86f8db0" + integrity sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg== dependencies: "@types/node" "*" merge-stream "^2.0.0" - supports-color "^7.0.0" + supports-color "^8.0.0" + +jiti@^1.20.0: + version "1.21.0" + resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.21.0.tgz#7c97f8fe045724e136a397f7340475244156105d" + integrity sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q== joi@^17.6.0: version "17.6.3" @@ -8167,6 +7380,11 @@ joi@^17.6.0: "@sideway/formula" "^3.0.0" "@sideway/pinpoint" "^2.0.0" +joycon@^3.0.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/joycon/-/joycon-3.1.1.tgz#bce8596d6ae808f8b68168f5fc69280996894f03" + integrity sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw== + js-base64@^2.1.9: version "2.6.4" resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.6.4.tgz#f4e686c5de1ea1f867dbcad3d46d969428df98c4" @@ -8177,7 +7395,7 @@ js-sdsl@^4.1.4: resolved "https://registry.yarnpkg.com/js-sdsl/-/js-sdsl-4.1.5.tgz#1ff1645e6b4d1b028cd3f862db88c9d887f26e2a" integrity sha512-08bOAKweV2NUC1wqTtf3qZlnpOX/R2DU9ikpjOHs0H+ibQv3zpncVQg6um4uYtRtrwIX8M4Nh3ytK4HGlYAq7Q== -js-tokens@^3.0.0, js-tokens@^3.0.2: +js-tokens@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls= @@ -8187,7 +7405,7 @@ js-tokens@^3.0.0, js-tokens@^3.0.2: resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== -js-yaml@^3.13.0, js-yaml@^3.13.1, js-yaml@^3.4.2, js-yaml@^3.9.0: +js-yaml@^3.13.0, js-yaml@^3.13.1, js-yaml@^3.14.1: version "3.14.1" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== @@ -8207,49 +7425,43 @@ jsbn@~0.1.0: resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM= -jsdom@^16.4.0: - version "16.7.0" - resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.7.0.tgz#918ae71965424b197c819f8183a754e18977b710" - integrity sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw== - dependencies: - abab "^2.0.5" - acorn "^8.2.4" - acorn-globals "^6.0.0" - cssom "^0.4.4" - cssstyle "^2.3.0" - data-urls "^2.0.0" - decimal.js "^10.2.1" - domexception "^2.0.1" +jsdom@^21.1.0: + version "21.1.2" + resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-21.1.2.tgz#6433f751b8718248d646af1cdf6662dc8a1ca7f9" + integrity sha512-sCpFmK2jv+1sjff4u7fzft+pUh2KSUbUrEHYHyfSIbGTIcmnjyp83qg6qLwdJ/I3LpTXx33ACxeRL7Lsyc6lGQ== + dependencies: + abab "^2.0.6" + acorn "^8.8.2" + acorn-globals "^7.0.0" + cssstyle "^3.0.0" + data-urls "^4.0.0" + decimal.js "^10.4.3" + domexception "^4.0.0" escodegen "^2.0.0" - form-data "^3.0.0" - html-encoding-sniffer "^2.0.1" - http-proxy-agent "^4.0.1" - https-proxy-agent "^5.0.0" + form-data "^4.0.0" + html-encoding-sniffer "^3.0.0" + http-proxy-agent "^5.0.0" + https-proxy-agent "^5.0.1" is-potential-custom-element-name "^1.0.1" - nwsapi "^2.2.0" - parse5 "6.0.1" - saxes "^5.0.1" + nwsapi "^2.2.4" + parse5 "^7.1.2" + rrweb-cssom "^0.6.0" + saxes "^6.0.0" symbol-tree "^3.2.4" - tough-cookie "^4.0.0" - w3c-hr-time "^1.0.2" - w3c-xmlserializer "^2.0.0" - webidl-conversions "^6.1.0" - whatwg-encoding "^1.0.5" - whatwg-mimetype "^2.3.0" - whatwg-url "^8.5.0" - ws "^7.4.6" - xml-name-validator "^3.0.0" - -jsesc@2, jsesc@^2.5.1: + tough-cookie "^4.1.2" + w3c-xmlserializer "^4.0.0" + webidl-conversions "^7.0.0" + whatwg-encoding "^2.0.0" + whatwg-mimetype "^3.0.0" + whatwg-url "^12.0.1" + ws "^8.13.0" + xml-name-validator "^4.0.0" + +jsesc@^2.5.1: version "2.5.2" resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== -jsesc@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b" - integrity sha1-RsP+yMGJKxKwgz25vHYiF226s0s= - jsesc@~0.5.0: version "0.5.0" resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" @@ -8260,7 +7472,7 @@ json-buffer@3.0.0: resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898" integrity sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg= -json-parse-better-errors@^1.0.1, json-parse-better-errors@^1.0.2: +json-parse-better-errors@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== @@ -8275,6 +7487,11 @@ json-schema-traverse@^0.4.1: resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== +json-schema-traverse@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2" + integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug== + json-schema@0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.4.0.tgz#f7de4cf6efab838ebaeb3236474cbba5a1930ab5" @@ -8290,16 +7507,6 @@ json-stringify-safe@~5.0.1: resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= -json5@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/json5/-/json5-0.4.0.tgz#054352e4c4c80c86c0923877d449de176a732c8d" - integrity sha1-BUNS5MTIDIbAkjh31EneF2pzLI0= - -json5@^0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" - integrity sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE= - json5@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe" @@ -8314,6 +7521,11 @@ json5@^2.1.2: dependencies: minimist "^1.2.5" +json5@^2.2.0, json5@^2.2.2, json5@^2.2.3: + version "2.2.3" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== + jsonfile@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" @@ -8321,13 +7533,6 @@ jsonfile@^4.0.0: optionalDependencies: graceful-fs "^4.1.6" -jsonp-retry@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/jsonp-retry/-/jsonp-retry-1.0.3.tgz#9e6b18b02ec767a621dd44b4e99439a8a43a6419" - integrity sha512-/jmE9+shtKP+oIt2AWO9Wx+C27NTGpLCEw4QHOqpoV2X6ta374HE9C+EEdgu8r3iLKgFMx7u5j0mCwxWN8UdlA== - dependencies: - object-assign "^4.1.1" - jsprim@^1.2.2: version "1.4.2" resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.2.tgz#712c65533a15c878ba59e9ed5f0e26d5b77c5feb" @@ -8338,14 +7543,6 @@ jsprim@^1.2.2: json-schema "0.4.0" verror "1.10.0" -jsx-ast-utils@^2.0.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-2.4.1.tgz#1114a4c1209481db06c690c2b4f488cc665f657e" - integrity sha512-z1xSldJ6imESSzOjd3NNkieVJKRlKYSOtMG8SFyCj2FIrvSaSuli/WjpBkEzCBoR9bYYYFgqJw61Xhu7Lcgk+w== - dependencies: - array-includes "^3.1.1" - object.assign "^4.1.0" - "jsx-ast-utils@^2.4.1 || ^3.0.0": version "3.2.1" resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-3.2.1.tgz#720b97bfe7d901b927d87c3773637ae8ea48781b" @@ -8368,11 +7565,6 @@ keyv@^3.0.0: dependencies: json-buffer "3.0.0" -killable@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/killable/-/killable-1.0.1.tgz#4c8ce441187a061c7474fb87ca08e2a638194892" - integrity sha512-LzqtLKlUwirEUyl/nicirVmNiPvYs7l5n8wOPP7fyJVpUPkvCnW/vuiXGpylGUlnPDnB7311rARzAt3Mhswpjg== - kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: version "3.2.2" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" @@ -8392,7 +7584,7 @@ kind-of@^5.0.0: resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" integrity sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw== -kind-of@^6.0.0, kind-of@^6.0.2: +kind-of@^6.0.0, kind-of@^6.0.2, kind-of@^6.0.3: version "6.0.3" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== @@ -8412,13 +7604,6 @@ known-css-properties@^0.6.0: resolved "https://registry.yarnpkg.com/known-css-properties/-/known-css-properties-0.6.1.tgz#31b5123ad03d8d1a3f36bd4155459c981173478b" integrity sha512-nQRpMcHm1cQ6gmztdvLcIvxocznSMqH/y6XtERrWrHaymOYdDGroRqetJvJycxGEr1aakXiigDgn7JnzuXlk6A== -latest-version@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/latest-version/-/latest-version-3.1.0.tgz#a205383fea322b33b5ae3b18abee0dc2f356ee15" - integrity sha1-ogU4P+oyKzO1rjsYq+4NwvNW7hU= - dependencies: - package-json "^4.0.0" - latest-version@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/latest-version/-/latest-version-5.1.0.tgz#119dfe908fe38d15dfa43ecd13fa12ec8832face" @@ -8426,14 +7611,12 @@ latest-version@^5.1.0: dependencies: package-json "^6.3.0" -less-loader@7.3.0: - version "7.3.0" - resolved "https://registry.yarnpkg.com/less-loader/-/less-loader-7.3.0.tgz#f9d6d36d18739d642067a05fb5bd70c8c61317e5" - integrity sha512-Mi8915g7NMaLlgi77mgTTQvK022xKRQBIVDSyfl3ErTuBhmZBQab0mjeJjNNqGbdR+qrfTleKXqbGI4uEFavxg== +less-loader@10.2.0: + version "10.2.0" + resolved "https://registry.yarnpkg.com/less-loader/-/less-loader-10.2.0.tgz#97286d8797dc3dc05b1d16b0ecec5f968bdd4e32" + integrity sha512-AV5KHWvCezW27GT90WATaDnfXBv99llDbtaj4bshq6DvAihMdNjaPDcUMa6EXKLRF+P2opFenJp89BXg91XLYg== dependencies: klona "^2.0.4" - loader-utils "^2.0.0" - schema-utils "^3.0.0" less@^3.10.3: version "3.13.1" @@ -8468,14 +7651,6 @@ less@^4.1.0: needle "^2.5.2" source-map "~0.6.0" -levn@^0.3.0, levn@~0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" - integrity sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4= - dependencies: - prelude-ls "~1.1.2" - type-check "~0.3.2" - levn@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" @@ -8484,22 +7659,86 @@ levn@^0.4.1: prelude-ls "^1.2.1" type-check "~0.4.0" +levn@~0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" + integrity sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4= + dependencies: + prelude-ls "~1.1.2" + type-check "~0.3.2" + +lightningcss-darwin-arm64@1.24.0: + version "1.24.0" + resolved "https://registry.yarnpkg.com/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.24.0.tgz#3d2450fe6881ed84c825f91510415dfa35dc3237" + integrity sha512-rTNPkEiynOu4CfGdd5ZfVOQe2gd2idfQd4EfX1l2ZUUwd+2SwSdbb7cG4rlwfnZckbzCAygm85xkpekRE5/wFw== + +lightningcss-darwin-x64@1.24.0: + version "1.24.0" + resolved "https://registry.yarnpkg.com/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.24.0.tgz#98cb96ad7ea78990ee24cd7741b9983696c1adab" + integrity sha512-4KCeF2RJjzp9xdGY8zIH68CUtptEg8uz8PfkHvsIdrP4t9t5CIgfDBhiB8AmuO75N6SofdmZexDZIKdy9vA7Ww== + +lightningcss-freebsd-x64@1.24.0: + version "1.24.0" + resolved "https://registry.yarnpkg.com/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.24.0.tgz#d8c94574f8e12b09cb8dcdd05333d9e2288cd906" + integrity sha512-FJAYlek1wXuVTsncNU0C6YD41q126dXcIUm97KAccMn9C4s/JfLSqGWT2gIzAblavPFkyGG2gIADTWp3uWfN1g== + +lightningcss-linux-arm-gnueabihf@1.24.0: + version "1.24.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.24.0.tgz#b59678c2f9e29176740193a54b62cd2c28112e13" + integrity sha512-N55K6JqzMx7C0hYUu1YmWqhkHwzEJlkQRMA6phY65noO0I1LOAvP4wBIoFWrzRE+O6zL0RmXJ2xppqyTbk3sYw== + +lightningcss-linux-arm64-gnu@1.24.0: + version "1.24.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.24.0.tgz#20af7648d894253c97afe3b58c91dc224243985c" + integrity sha512-MqqUB2TpYtFWeBvvf5KExDdClU3YGLW5bHKs50uKKootcvG9KoS7wYwd5UichS+W3mYLc5yXUPGD1DNWbLiYKw== + +lightningcss-linux-arm64-musl@1.24.0: + version "1.24.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.24.0.tgz#be696ac45e7d211accc812750bfe6d61ef37b480" + integrity sha512-5wn4d9tFwa5bS1ao9mLexYVJdh3nn09HNIipsII6ZF7z9ZA5J4dOEhMgKoeCl891axTGTUYd8Kxn+Hn3XUSYRQ== + +lightningcss-linux-x64-gnu@1.24.0: + version "1.24.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.24.0.tgz#1990787be06a75e396f03ee86f8fe7b90d34f945" + integrity sha512-3j5MdTh+LSDF3o6uDwRjRUgw4J+IfDCVtdkUrJvKxL79qBLUujXY7CTe5X3IQDDLKEe/3wu49r8JKgxr0MfjbQ== + +lightningcss-linux-x64-musl@1.24.0: + version "1.24.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.24.0.tgz#26edd10bcbd95833c602d3c4b71b628b26603d62" + integrity sha512-HI+rNnvaLz0o36z6Ki0gyG5igVGrJmzczxA5fznr6eFTj3cHORoR/j2q8ivMzNFR4UKJDkTWUH5LMhacwOHWBA== + +lightningcss-win32-x64-msvc@1.24.0: + version "1.24.0" + resolved "https://registry.yarnpkg.com/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.24.0.tgz#268a4a6ad2ef25703a7f0d9edec60c409f80dd09" + integrity sha512-oeije/t7OZ5N9vSs6amyW/34wIYoBCpE6HUlsSKcP2SR1CVgx9oKEM00GtQmtqNnYiMIfsSm7+ppMb4NLtD5vg== + +lightningcss@^1.14.0: + version "1.24.0" + resolved "https://registry.yarnpkg.com/lightningcss/-/lightningcss-1.24.0.tgz#41bcdf5de381ae5fe1e7f9a2bf6bcaded556082c" + integrity sha512-y36QEEDVx4IM7/yIZNsZJMRREIu26WzTsauIysf5s76YeCmlSbRZS7aC97IGPuoFRnyZ5Wx43OBsQBFB5Ne7ng== + dependencies: + detect-libc "^1.0.3" + optionalDependencies: + lightningcss-darwin-arm64 "1.24.0" + lightningcss-darwin-x64 "1.24.0" + lightningcss-freebsd-x64 "1.24.0" + lightningcss-linux-arm-gnueabihf "1.24.0" + lightningcss-linux-arm64-gnu "1.24.0" + lightningcss-linux-arm64-musl "1.24.0" + lightningcss-linux-x64-gnu "1.24.0" + lightningcss-linux-x64-musl "1.24.0" + lightningcss-win32-x64-msvc "1.24.0" + +lilconfig@^2.0.3: + version "2.1.0" + resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.1.0.tgz#78e23ac89ebb7e1bfbf25b18043de756548e7f52" + integrity sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ== + lines-and-columns@^1.1.6: version "1.2.4" resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== -load-json-file@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" - integrity sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA= - dependencies: - graceful-fs "^4.1.2" - parse-json "^2.2.0" - pify "^2.0.0" - pinkie-promise "^2.0.0" - strip-bom "^2.0.0" - load-json-file@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b" @@ -8510,30 +7749,16 @@ load-json-file@^4.0.0: pify "^3.0.0" strip-bom "^3.0.0" -load-yaml-file@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/load-yaml-file/-/load-yaml-file-0.1.1.tgz#dc9b8e89cee96757f6f15a5707ac53f76aa529e9" - integrity sha512-G910TofXH7u0NfslAzqv6c9pHpvBzObNOo2hMG0/KUDpdHeFY0wE/fTBMExt0Gb12gg5bXS7Hj6pb0e+xbBXLA== +load-yaml-file@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/load-yaml-file/-/load-yaml-file-0.2.0.tgz#af854edaf2bea89346c07549122753c07372f64d" + integrity sha512-OfCBkGEw4nN6JLtgRidPX6QxjBQGQf72q3si2uvqyFEMbycSFFHwAZeXx6cJgFM9wmLrf9zBwCP3Ivqa+LLZPw== dependencies: graceful-fs "^4.1.5" js-yaml "^3.13.0" - pify "^2.3.0" + pify "^4.0.1" strip-bom "^3.0.0" -loader-runner@^2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.4.0.tgz#ed47066bfe534d7e84c4c7b9998c2a75607d9357" - integrity sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw== - -loader-utils@1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.2.3.tgz#1ff5dc6911c9f0a062531a4c04b609406108c2c7" - integrity sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA== - dependencies: - big.js "^5.2.2" - emojis-list "^2.0.0" - json5 "^1.0.1" - loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.2.3, loader-utils@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.0.tgz#c579b5e34cb34b1a74edc6c1fb36bfa371d5a613" @@ -8597,12 +7822,22 @@ lodash.debounce@^4.0.8: resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168= +lodash.memoize@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" + integrity sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag== + lodash.merge@^4.6.2: version "4.6.2" resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== -"lodash@4.6.1 || ^4.16.1", lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.0, lodash@^4.3.0, lodash@^4.7.0: +lodash.uniq@^4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" + integrity sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ== + +"lodash@4.6.1 || ^4.16.1", lodash@^4.17.11, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -8614,19 +7849,20 @@ log-symbols@^2.0.0: dependencies: chalk "^2.0.1" -log-symbols@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-3.0.0.tgz#f3a08516a5dea893336a7dee14d18a1cfdab77c4" - integrity sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ== +log-symbols@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" + integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== dependencies: - chalk "^2.4.2" + chalk "^4.1.0" + is-unicode-supported "^0.1.0" loglevel-plugin-prefix@^0.8.4: version "0.8.4" resolved "https://registry.yarnpkg.com/loglevel-plugin-prefix/-/loglevel-plugin-prefix-0.8.4.tgz#2fe0e05f1a820317d98d8c123e634c1bd84ff644" integrity sha512-WpG9CcFAOjz/FtNht+QJeGpvVl/cdR6P0z6OcXSkr8wFJOsV2GRj2j10JLfjuA4aYkcKCNIEqRGCyTife9R8/g== -loglevel@^1.6.6, loglevel@^1.6.8: +loglevel@^1.6.6: version "1.8.0" resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.8.0.tgz#e7ec73a57e1e7b419cb6c6ac06bf050b67356114" integrity sha512-G6A/nJLRgWOuuwdNuA6koovfEV1YpqqAG4pRUlFaz3jj2QNZ8M4vBqnVA+HBTmU/AMNUtlOsMmSpF6NyOjztbA== @@ -8636,7 +7872,7 @@ longest-streak@^2.0.1: resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-2.0.4.tgz#b8599957da5b5dab64dee3fe316fa774597d90e4" integrity sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg== -loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.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== @@ -8678,7 +7914,7 @@ lowercase-keys@^2.0.0: resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== -lru-cache@^4.0.0, lru-cache@^4.0.1: +lru-cache@^4.1.2: version "4.1.5" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g== @@ -8686,13 +7922,6 @@ lru-cache@^4.0.0, lru-cache@^4.0.1: pseudomap "^1.0.2" yallist "^2.1.2" -lru-cache@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" - integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== - dependencies: - yallist "^3.0.2" - lru-cache@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" @@ -8700,6 +7929,18 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" +"lru-cache@^9.1.1 || ^10.0.0": + version "10.2.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.2.0.tgz#0bd445ca57363465900f4d1f9bd8db343a4d95c3" + integrity sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q== + +magic-string@^0.30.7: + version "0.30.8" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.8.tgz#14e8624246d2bedba70d5462aa99ac9681844613" + integrity sha512-ISQTe55T2ao7XtlAStud6qwYPZjE4GK1S/BeVPus4jrq6JuOnQ00YKQC581RWhR122W7msZV263KzVeLoqidyQ== + dependencies: + "@jridgewell/sourcemap-codec" "^1.4.15" + make-dir@^1.0.0, make-dir@^1.2.0: version "1.3.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c" @@ -8715,7 +7956,7 @@ make-dir@^2.0.0, make-dir@^2.1.0: pify "^4.0.1" semver "^5.6.0" -make-dir@^3.0.2: +make-dir@^3.0.0, make-dir@~3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== @@ -8727,7 +7968,7 @@ map-cache@^0.2.2: resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" integrity sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8= -map-obj@^1.0.0, map-obj@^1.0.1: +map-obj@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" integrity sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0= @@ -8737,6 +7978,11 @@ map-obj@^2.0.0: resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-2.0.0.tgz#a65cd29087a92598b8791257a523e021222ac1f9" integrity sha1-plzSkIepJZi4eRJXpSPgISIqwfk= +map-obj@^4.0.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a" + integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ== + map-visit@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" @@ -8764,15 +8010,6 @@ mathml-tag-names@^2.0.1: resolved "https://registry.yarnpkg.com/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz#4ddadd67308e780cf16a47685878ee27b736a0a3" integrity sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg== -md5.js@^1.3.4: - version "1.3.5" - resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" - integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== - dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" - safe-buffer "^5.1.2" - md5@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/md5/-/md5-2.3.0.tgz#c3da9a6aae3a30b46b7b0c349b87b110dc3bda4f" @@ -8794,6 +8031,11 @@ mdn-data@2.0.14: resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50" integrity sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow== +mdn-data@2.0.28: + version "2.0.28" + resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.28.tgz#5ec48e7bef120654539069e1ae4ddc81ca490eba" + integrity sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g== + mdn-data@~1.1.0: version "1.1.4" resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-1.1.4.tgz#50b5d4ffc4575276573c4eedb8780812a8419f01" @@ -8804,64 +8046,17 @@ media-typer@0.3.0: resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g= -mem-fs-editor@7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/mem-fs-editor/-/mem-fs-editor-7.1.0.tgz#2a16f143228df87bf918874556723a7ee73bfe88" - integrity sha512-BH6QEqCXSqGeX48V7zu+e3cMwHU7x640NB8Zk8VNvVZniz+p4FK60pMx/3yfkzo6miI6G3a8pH6z7FeuIzqrzA== - dependencies: - commondir "^1.0.1" - deep-extend "^0.6.0" - ejs "^3.1.5" - glob "^7.1.4" - globby "^9.2.0" - isbinaryfile "^4.0.0" - mkdirp "^1.0.0" - multimatch "^4.0.0" - rimraf "^3.0.0" - through2 "^3.0.2" - vinyl "^2.2.1" - -mem-fs@2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/mem-fs/-/mem-fs-2.2.1.tgz#c87bc8a53fb17971b129d4bcd59a9149fb78c5b1" - integrity sha512-yiAivd4xFOH/WXlUi6v/nKopBh1QLzwjFi36NK88cGt/PRXI8WeBASqY+YSjIVWvQTx3hR8zHKDBMV6hWmglNA== - dependencies: - "@types/node" "^15.6.1" - "@types/vinyl" "^2.0.4" - vinyl "^2.0.1" - vinyl-file "^3.0.0" - -memory-fs@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552" - integrity sha1-OpoguEYlI+RHz7x+i7gO1me/xVI= - dependencies: - errno "^0.1.3" - readable-stream "^2.0.1" - -memory-fs@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.5.0.tgz#324c01288b88652966d161db77838720845a8e3c" - integrity sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA== +memfs@^3.4.3: + version "3.6.0" + resolved "https://registry.yarnpkg.com/memfs/-/memfs-3.6.0.tgz#d7a2110f86f79dd950a8b6df6d57bc984aa185f6" + integrity sha512-EGowvkkgbMcIChjMTMkESFDbZeSh8xZ7kNSF0hAiAN4Jh6jgHCRS0Ga/+C8y6Au+oqpezRHCfPsmJ2+DwAgiwQ== dependencies: - errno "^0.1.3" - readable-stream "^2.0.1" + fs-monkey "^1.0.4" -meow@^3.7.0: - version "3.7.0" - resolved "https://registry.yarnpkg.com/meow/-/meow-3.7.0.tgz#72cb668b425228290abbfa856892587308a801fb" - integrity sha1-cstmi0JSKCkKu/qFaJJYcwioAfs= - dependencies: - camelcase-keys "^2.0.0" - decamelize "^1.1.2" - loud-rejection "^1.0.0" - map-obj "^1.0.1" - minimist "^1.1.3" - normalize-package-data "^2.3.4" - object-assign "^4.0.1" - read-pkg-up "^1.0.1" - redent "^1.0.0" - trim-newlines "^1.0.0" +memoize-one@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/memoize-one/-/memoize-one-6.0.0.tgz#b2591b871ed82948aee4727dc6abceeeac8c1045" + integrity sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw== meow@^5.0.0: version "5.0.0" @@ -8878,11 +8073,36 @@ meow@^5.0.0: trim-newlines "^2.0.0" yargs-parser "^10.0.0" +meow@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/meow/-/meow-9.0.0.tgz#cd9510bc5cac9dee7d03c73ee1f9ad959f4ea364" + integrity sha512-+obSblOQmRhcyBt62furQqRAQpNyWXo8BuQ5bN7dG8wmwQ+vwHKp/rCFD4CrTP8CsDQD1sjoZ94K417XEUk8IQ== + dependencies: + "@types/minimist" "^1.2.0" + camelcase-keys "^6.2.2" + decamelize "^1.2.0" + decamelize-keys "^1.1.0" + hard-rejection "^2.1.0" + minimist-options "4.1.0" + normalize-package-data "^3.0.0" + read-pkg-up "^7.0.1" + redent "^3.0.0" + trim-newlines "^3.0.0" + type-fest "^0.18.0" + yargs-parser "^20.2.3" + merge-descriptors@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" integrity sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E= +merge-source-map@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/merge-source-map/-/merge-source-map-1.1.0.tgz#2fdde7e6020939f70906a68f2d7ae685e4c8c646" + integrity sha512-Qkcp7P2ygktpMPh2mCQZaf3jhN6D3Z/qVZHSdWvQ+2Ef5HgRAPBO57A77+ENm0CPx2+1Ce/MYKi3ymqdfuqibw== + dependencies: + source-map "^0.6.1" + merge-stream@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" @@ -8898,10 +8118,10 @@ methods@~1.1.2: resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" integrity sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4= -metro-react-native-babel-preset@^0.70.3: - version "0.70.3" - resolved "https://registry.yarnpkg.com/metro-react-native-babel-preset/-/metro-react-native-babel-preset-0.70.3.tgz#1c77ec4544ecd5fb6c803e70b21284d7483e4842" - integrity sha512-4Nxc1zEiHEu+GTdEMEsHnRgfaBkg8f/Td3+FcQ8NTSvs+xL3LBrQy6N07idWSQZHIdGFf+tTHvRfSIWLD8u8Tg== +metro-react-native-babel-preset@^0.72.1: + version "0.72.4" + resolved "https://registry.yarnpkg.com/metro-react-native-babel-preset/-/metro-react-native-babel-preset-0.72.4.tgz#2b320772d2489d1fb3a6413fc58dad13a56eea0e" + integrity sha512-YGCVaYe1H5fOFktdDdL9IwAyiXjPh1t2eZZFp3KFJak6fxKpN+q5PPhe1kzMa77dbCAqgImv43zkfGa6i27eyA== dependencies: "@babel/core" "^7.14.0" "@babel/plugin-proposal-async-generator-functions" "^7.0.0" @@ -8962,7 +8182,7 @@ micromatch@^2.3.11: parse-glob "^3.0.4" regex-cache "^0.4.2" -micromatch@^3.1.10, micromatch@^3.1.4: +micromatch@^3.1.10: version "3.1.10" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" integrity sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg== @@ -8989,40 +8209,39 @@ micromatch@^4.0.2, micromatch@^4.0.4: braces "^3.0.1" picomatch "^2.2.3" -miller-rabin@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d" - integrity sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA== - dependencies: - bn.js "^4.0.0" - brorand "^1.0.1" - mime-db@1.51.0, "mime-db@>= 1.43.0 < 2", mime-db@^1.28.0: version "1.51.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.51.0.tgz#d9ff62451859b18342d960850dc3cfb77e63fb0c" integrity sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g== -mime-types@^2.1.12, mime-types@^2.1.27, mime-types@~2.1.17, mime-types@~2.1.19, mime-types@~2.1.24, mime-types@~2.1.34: +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@^2.1.12, mime-types@~2.1.17, mime-types@~2.1.19, mime-types@~2.1.24, mime-types@~2.1.34: version "2.1.34" resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.34.tgz#5a712f9ec1503511a945803640fafe09d3793c24" integrity sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A== dependencies: mime-db "1.51.0" +mime-types@^2.1.26, mime-types@^2.1.31: + version "2.1.35" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + mime@1.6.0, mime@^1.4.1: version "1.6.0" resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== -mime@^2.3.1, mime@^2.4.4: - version "2.6.0" - resolved "https://registry.yarnpkg.com/mime/-/mime-2.6.0.tgz#a2a682a95cd4d0cb1d6257e28f83da7e35800367" - integrity sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg== - -mimic-fn@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" - integrity sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== +mime@~2.5.2: + version "2.5.2" + resolved "https://registry.yarnpkg.com/mime/-/mime-2.5.2.tgz#6e3dc6cc2b9510643830e5f19d5cb753da5eeabe" + integrity sha512-tqkh47FzKeCPD2PUiPB6pkbMzsCasjxAfC62/Wap5qrUWcb+sFasXUC5I3gYM5iBM8v/Qpn4UK0x+j0iHyFPDg== mimic-fn@^2.1.0: version "2.1.0" @@ -9034,40 +8253,67 @@ mimic-response@^1.0.0, mimic-response@^1.0.1: resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== -mini-css-extract-plugin@0.9.0: - version "0.9.0" - resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-0.9.0.tgz#47f2cf07aa165ab35733b1fc97d4c46c0564339e" - integrity sha512-lp3GeY7ygcgAmVIcRPBVhIkf8Us7FZjA+ILpal44qLdSu11wmjKQ3d9k15lfD7pO4esu9eUIAW7qiYIBppv40A== +min-indent@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" + integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== + +mini-css-extract-plugin@2.4.6: + version "2.4.6" + resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-2.4.6.tgz#0f925aaa02dd26513bac40802062a87ebe32e7cc" + integrity sha512-khHpc29bdsE9EQiGSLqQieLyMbGca+bkC42/BBL1gXC8yAS0nHpOTUCBYUK6En1FuRdfE9wKXhGtsab8vmsugg== dependencies: - loader-utils "^1.1.0" - normalize-url "1.9.1" - schema-utils "^1.0.0" - webpack-sources "^1.1.0" + schema-utils "^4.0.0" -minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: +minimalistic-assert@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== -minimalistic-crypto-utils@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" - integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo= +minimatch@9.0.3, minimatch@^9.0.1: + version "9.0.3" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825" + integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg== + dependencies: + brace-expansion "^2.0.1" -"minimatch@2 || 3", minimatch@^3.0.2, minimatch@^3.0.4: +minimatch@^3.0.2, minimatch@^3.0.4: version "3.1.1" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.1.tgz#879ad447200773912898b46cd516a7abbb5e50b0" integrity sha512-reLxBcKUPNBnc/sVtAbxgRVFSegoGeLaSjmphNhcwcolhYLRgtJscn5mRl6YRZNQv40Y7P6JM2YhSIsbL9OB5A== dependencies: brace-expansion "^1.1.7" -minimatch@^3.1.1, minimatch@^3.1.2: +minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== dependencies: brace-expansion "^1.1.7" +minimatch@^7.4.6: + version "7.4.6" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-7.4.6.tgz#845d6f254d8f4a5e4fd6baf44d5f10c8448365fb" + integrity sha512-sBz8G/YjVniEz6lKPNpKxXwazJe4c19fEfV2GDMX6AjFz+MX9uDWIZW8XreVhkFW3fkIdTv/gxWr/Kks5FFAVw== + dependencies: + brace-expansion "^2.0.1" + +minimatch@~3.0.4: + version "3.0.8" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.8.tgz#5e6a59bd11e2ab0de1cfb843eb2d82e546c321c1" + integrity sha512-6FsRAQsxQ61mw+qP1ZzbL9Bc78x2p5OqNgNpnoAFLTrX8n5Kxph0CsnhmKKNXTWjXqU5L0pGPR7hYk+XWZr60Q== + dependencies: + brace-expansion "^1.1.7" + +minimist-options@4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619" + integrity sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A== + dependencies: + arrify "^1.0.1" + is-plain-obj "^1.1.0" + kind-of "^6.0.3" + minimist-options@^3.0.1: version "3.0.2" resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-3.0.2.tgz#fba4c8191339e13ecf4d61beb03f070103f3d954" @@ -9076,38 +8322,25 @@ minimist-options@^3.0.1: arrify "^1.0.1" is-plain-obj "^1.1.0" -minimist@1.2.5, minimist@^1.1.3, minimist@^1.2.0, minimist@^1.2.5: +minimist@^1.2.0, minimist@^1.2.5: version "1.2.5" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== -minipass-collect@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/minipass-collect/-/minipass-collect-1.0.2.tgz#22b813bf745dc6edba2576b940022ad6edc8c617" - integrity sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA== - dependencies: - minipass "^3.0.0" - -minipass-flush@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/minipass-flush/-/minipass-flush-1.0.5.tgz#82e7135d7e89a50ffe64610a787953c4c4cbb373" - integrity sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw== - dependencies: - minipass "^3.0.0" +minimist@^1.2.8: + version "1.2.8" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" + integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== -minipass-pipeline@^1.2.2: - version "1.2.4" - resolved "https://registry.yarnpkg.com/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz#68472f79711c084657c067c5c6ad93cddea8214c" - integrity sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A== - dependencies: - minipass "^3.0.0" +"minipass@^5.0.0 || ^6.0.2": + version "6.0.2" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-6.0.2.tgz#542844b6c4ce95b202c0995b0a471f1229de4c81" + integrity sha512-MzWSV5nYVT7mVyWCwn2o7JH13w2TBRmmSqSRCKzTw+lmft9X4z+3wjvs06Tzijo5z4W/kahUCDpRXTF+ZrmF/w== -minipass@^3.0.0, minipass@^3.1.1: - version "3.1.6" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.1.6.tgz#3b8150aa688a711a1521af5e8779c1d3bb4f45ee" - integrity sha512-rty5kpw9/z8SX9dmxblFA6edItUmwJgMeYDZRrwlIVN27i8gysGbznJwUggw2V/FVqFSDdWy040ZPS811DYAqQ== - dependencies: - yallist "^4.0.0" +"minipass@^5.0.0 || ^6.0.2 || ^7.0.0": + version "7.0.4" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.4.tgz#dbce03740f50a4786ba994c1fb908844d27b038c" + integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ== miniprogram-api-typings@^3.2.2: version "3.4.5" @@ -9138,30 +8371,6 @@ miniprogram-simulate@^1.1.5: miniprogram-compiler latest postcss "^7.0.23" -minizlib@^2.1.1: - version "2.1.2" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" - integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg== - dependencies: - minipass "^3.0.0" - yallist "^4.0.0" - -mississippi@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/mississippi/-/mississippi-3.0.0.tgz#ea0a3291f97e0b5e8776b363d5f0a12d94c67022" - integrity sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA== - dependencies: - concat-stream "^1.5.0" - duplexify "^3.4.2" - end-of-stream "^1.1.0" - flush-write-stream "^1.0.0" - from2 "^2.1.0" - parallel-transform "^1.1.0" - pump "^3.0.0" - pumpify "^1.3.3" - stream-each "^1.1.0" - through2 "^2.0.0" - mixin-deep@^1.2.0: version "1.3.2" resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566" @@ -9170,35 +8379,18 @@ mixin-deep@^1.2.0: for-in "^1.0.2" is-extendable "^1.0.1" -mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@^0.5.5: +mkdirp@^0.5.1: version "0.5.5" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def" integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ== dependencies: minimist "^1.2.5" -mkdirp@^1.0.0, mkdirp@^1.0.3, mkdirp@^1.0.4, mkdirp@~1.0.4: +mkdirp@^1.0.4, mkdirp@~1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== -mobile-detect@^1.4.2: - version "1.4.5" - resolved "https://registry.yarnpkg.com/mobile-detect/-/mobile-detect-1.4.5.tgz#da393c3c413ca1a9bcdd9ced653c38281c0fb6ad" - integrity sha512-yc0LhH6tItlvfLBugVUEtgawwFU2sIe+cSdmRJJCTMZ5GEJyLxNyC/NIOAOGk67Fa8GNpOttO3Xz/1bHpXFD/g== - -move-concurrently@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92" - integrity sha1-viwAX9oy4LKa8fBdfEszIUxwH5I= - dependencies: - aproba "^1.1.1" - copy-concurrently "^1.0.0" - fs-write-stream-atomic "^1.0.8" - mkdirp "^0.5.1" - rimraf "^2.5.4" - run-queue "^1.0.3" - ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" @@ -9214,23 +8406,18 @@ ms@2.1.3, ms@^2.1.1: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== -multicast-dns-service-types@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/multicast-dns-service-types/-/multicast-dns-service-types-1.1.0.tgz#899f11d9686e5e05cb91b35d5f0e63b773cfc901" - integrity sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE= - -multicast-dns@^6.0.1: - version "6.2.3" - resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-6.2.3.tgz#a0ec7bd9055c4282f790c3c82f4e28db3b31b229" - integrity sha512-ji6J5enbMyGRHIAkAOu3WdV8nggqviKCEKtXcOqfphZZtQrmHKycfynJ2V7eVPUA4NhJ6V7Wf4TmGbTwKE9B6g== +multicast-dns@^7.2.5: + version "7.2.5" + resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-7.2.5.tgz#77eb46057f4d7adbd16d9290fa7299f6fa64cced" + integrity sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg== dependencies: - dns-packet "^1.3.1" + dns-packet "^5.2.2" thunky "^1.0.2" -multimatch@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/multimatch/-/multimatch-4.0.0.tgz#8c3c0f6e3e8449ada0af3dd29efb491a375191b3" - integrity sha512-lDmx79y1z6i7RNx0ZGCPq1bzJ6ZoDDKbvh7jxr9SJcWLkShMzXrHbYVpTdnhNM5MXpDUxCQ4DgqVttVXlBgiBQ== +multimatch@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/multimatch/-/multimatch-5.0.0.tgz#932b800963cea7a31a033328fa1e0c3a1874dbe6" + integrity sha512-ypMKuglUrZUD99Tk2bUQ+xNQj43lPEfAeX2o9cTteAmShXy2VHDJpuwu1o0xqoKCt9jLVAvwyFKdLTPXKAfJyA== dependencies: "@types/minimatch" "^3.0.3" array-differ "^3.0.0" @@ -9238,16 +8425,6 @@ multimatch@^4.0.0: arrify "^2.0.1" minimatch "^3.0.4" -mute-stream@0.0.5: - version "0.0.5" - resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.5.tgz#8fbfabb0a98a253d3184331f9e8deb7372fac6c0" - integrity sha1-j7+rsKmKJT0xhDMfno3rc3L6xsA= - -mute-stream@0.0.7: - version "0.0.7" - resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" - integrity sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s= - mute-stream@0.0.8: version "0.0.8" resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" @@ -9262,15 +8439,10 @@ mz@^2.4.0: object-assign "^4.0.1" thenify-all "^1.0.0" -nan@^2.12.1: - version "2.15.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.15.0.tgz#3f34a473ff18e15c1b5626b62903b5ad6e665fee" - integrity sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ== - -nanoid@^3.1.23: - version "3.3.0" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.0.tgz#5906f776fd886c66c24f3653e0c46fcb1d4ad6b0" - integrity sha512-JzxqqT5u/x+/KOFSd7JP15DOo9nOoHpx6DYatqIHUW2+flybkm+mdcraotSQR5WcnZr+qhGVh8Ted0KdfSMxlg== +nanoid@^3.3.7: + version "3.3.7" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8" + integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g== nanomatch@^1.2.9: version "1.2.13" @@ -9294,6 +8466,11 @@ native-request@^1.0.5: resolved "https://registry.yarnpkg.com/native-request/-/native-request-1.1.0.tgz#acdb30fe2eefa3e1bc8c54b3a6852e9c5c0d3cb0" integrity sha512-uZ5rQaeRn15XmpgE0xoPL8YWqcX90VtCFglYwAgkvKM5e8fog+vePLAhHxuuv/gRkrQxIeh5U3q9sMNUrENqWw== +natural-compare-lite@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4" + integrity sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g== + natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" @@ -9313,21 +8490,11 @@ negotiator@0.6.3: resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== -neo-async@^2.5.0, neo-async@^2.6.1, neo-async@^2.6.2: +neo-async@^2.6.2: version "2.6.2" resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== -next-tick@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c" - integrity sha1-yobR/ogoFpsBICCOPchCS524NCw= - -nice-try@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" - integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== - no-case@^2.2.0: version "2.3.2" resolved "https://registry.yarnpkg.com/no-case/-/no-case-2.3.2.tgz#60b813396be39b3f1288a4c1ed5d1e7d28b464ac" @@ -9343,60 +8510,29 @@ no-case@^3.0.4: lower-case "^2.0.2" tslib "^2.0.3" -node-emoji@^1.0.3: +node-emoji@^1.10.0: version "1.11.0" resolved "https://registry.yarnpkg.com/node-emoji/-/node-emoji-1.11.0.tgz#69a0150e6946e2f115e9d7ea4df7971e2628301c" integrity sha512-wo2DpQkQp7Sjm2A0cq+sN7EHKO6Sl0ctXeBdFZrL9T9+UywORbufTcTZxom8YqpLQt/FqNMUkOpkZrJVYSKD3A== dependencies: lodash "^4.17.21" -node-forge@^0.10.0: - version "0.10.0" - resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.10.0.tgz#32dea2afb3e9926f02ee5ce8794902691a676bf3" - integrity sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA== - -node-libs-browser@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.2.1.tgz#b64f513d18338625f90346d27b0d235e631f6425" - integrity sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q== - dependencies: - assert "^1.1.1" - browserify-zlib "^0.2.0" - buffer "^4.3.0" - console-browserify "^1.1.0" - constants-browserify "^1.0.0" - crypto-browserify "^3.11.0" - domain-browser "^1.1.1" - events "^3.0.0" - https-browserify "^1.0.0" - os-browserify "^0.3.0" - path-browserify "0.0.1" - process "^0.11.10" - punycode "^1.2.4" - querystring-es3 "^0.2.0" - readable-stream "^2.3.3" - stream-browserify "^2.0.1" - stream-http "^2.7.2" - string_decoder "^1.0.0" - timers-browserify "^2.0.4" - tty-browserify "0.0.0" - url "^0.11.0" - util "^0.11.0" - vm-browserify "^1.0.1" +node-forge@^1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-1.3.1.tgz#be8da2af243b2417d5f646a770663a92b7e9ded3" + integrity sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA== node-releases@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.2.tgz#7139fe71e2f4f11b47d4d2986aaf8c48699e0c01" integrity sha512-XxYDdcQ6eKqp/YjI+tb2C5WM2LgjnZrfYg4vgQt49EK268b6gYCHsBLrK2qvJo4FmCtqmKezb0WZFK4fkrZNsg== -node-sass-tilde-importer@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/node-sass-tilde-importer/-/node-sass-tilde-importer-1.0.2.tgz#1a15105c153f648323b4347693fdb0f331bad1ce" - integrity sha512-Swcmr38Y7uB78itQeBm3mThjxBy9/Ah/ykPIaURY/L6Nec9AyRoL/jJ7ECfMR+oZeCTVQNxVMu/aHU+TLRVbdg== - dependencies: - find-parent-dir "^0.3.0" +node-releases@^2.0.14: + version "2.0.14" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.14.tgz#2ffb053bceb8b2be8495ece1ab6ce600c4461b0b" + integrity sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw== -normalize-package-data@^2.3.2, normalize-package-data@^2.3.4: +normalize-package-data@^2.3.2, normalize-package-data@^2.3.4, normalize-package-data@^2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== @@ -9406,7 +8542,17 @@ normalize-package-data@^2.3.2, normalize-package-data@^2.3.4: semver "2 || 3 || 4 || 5" validate-npm-package-license "^3.0.1" -normalize-path@^2.0.1, normalize-path@^2.1.1: +normalize-package-data@^3.0.0: + version "3.0.3" + resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-3.0.3.tgz#dbcc3e2da59509a0983422884cd172eefdfa525e" + integrity sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA== + dependencies: + hosted-git-info "^4.0.1" + is-core-module "^2.5.0" + semver "^7.3.4" + validate-npm-package-license "^3.0.1" + +normalize-path@^2.0.1: version "2.1.1" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" integrity sha1-GrKLVW4Zg2Oowab35vogE3/mrtk= @@ -9428,16 +8574,6 @@ normalize-selector@^0.2.0: resolved "https://registry.yarnpkg.com/normalize-selector/-/normalize-selector-0.2.0.tgz#d0b145eb691189c63a78d201dc4fdb1293ef0c03" integrity sha1-0LFF62kRicY6eNIB3E/bEpPvDAM= -normalize-url@1.9.1: - version "1.9.1" - resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-1.9.1.tgz#2cc0d66b31ea23036458436e3620d85954c66c3c" - integrity sha1-LMDWazHqIwNkWENuNiDYWVTGbDw= - dependencies: - object-assign "^4.0.1" - prepend-http "^1.0.0" - query-string "^4.1.0" - sort-keys "^1.0.0" - normalize-url@2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-2.0.1.tgz#835a9da1551fa26f70e92329069a23aa6574d7e6" @@ -9452,37 +8588,43 @@ normalize-url@^4.1.0: resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-4.5.1.tgz#0dd90cf1288ee1d1313b87081c9a5932ee48518a" integrity sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA== -npm-check@^5.9.0: - version "5.9.2" - resolved "https://registry.yarnpkg.com/npm-check/-/npm-check-5.9.2.tgz#3b8a6230a3f8c11db113a9735b19b1ceac157dbb" - integrity sha512-YlTZGP1A8+Rad5wldGil9STYxgZpZl18X6GZI03f4Ch6qTI1TLHIYM0ISco19qgg8M3UHfooEqMfYOpOkF3AeA== +normalize-url@^6.0.1: + version "6.1.0" + resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a" + integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== + +npm-check@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/npm-check/-/npm-check-6.0.1.tgz#0df44d6ed8ab7bb29cf52fb3338b59adb6af1cd6" + integrity sha512-tlEhXU3689VLUHYEZTS/BC61vfeN2xSSZwoWDT6WLuenZTpDmGmNT5mtl15erTR0/A15ldK06/NEKg9jYJ9OTQ== dependencies: - babel-runtime "^6.6.1" - callsite-record "^3.0.0" - chalk "^1.1.3" + callsite-record "^4.1.3" + chalk "^4.1.0" co "^4.6.0" - depcheck "0.8.3" - execa "^0.2.2" + depcheck "^1.3.1" + execa "^5.0.0" giturl "^1.0.0" - global-modules "^1.0.0" - globby "^4.0.0" - inquirer "^0.12.0" - is-ci "^1.0.8" - lodash "^4.17.15" - meow "^3.7.0" + global-modules "^2.0.0" + globby "^11.0.2" + inquirer "^7.3.3" + is-ci "^2.0.0" + lodash "^4.17.20" + meow "^9.0.0" minimatch "^3.0.2" - node-emoji "^1.0.3" - ora "^0.2.1" - package-json "^4.0.1" - path-exists "^2.1.0" - pkg-dir "^1.0.0" - preferred-pm "^1.0.1" - semver "^5.0.1" - semver-diff "^2.0.0" + node-emoji "^1.10.0" + ora "^5.3.0" + package-json "^6.5.0" + path-exists "^4.0.0" + pkg-dir "^5.0.0" + preferred-pm "^3.0.3" + rc-config-loader "^4.0.0" + semver "^7.3.4" + semver-diff "^3.1.1" + strip-ansi "^6.0.0" text-table "^0.2.0" - throat "^2.0.2" - update-notifier "^2.1.0" - xtend "^4.0.1" + throat "^6.0.1" + update-notifier "^5.1.0" + xtend "^4.0.2" npm-conf@^1.1.0: version "1.1.3" @@ -9492,19 +8634,12 @@ npm-conf@^1.1.0: config-chain "^1.1.11" pify "^3.0.0" -npm-run-path@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-1.0.0.tgz#f5c32bf595fe81ae927daec52e82f8b000ac3c8f" - integrity sha1-9cMr9ZX+ga6Sfa7FLoL4sACsPI8= - dependencies: - path-key "^1.0.0" - -npm-run-path@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" - integrity sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8= +npm-run-path@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" + integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== dependencies: - path-key "^2.0.0" + path-key "^3.0.0" nth-check@^2.0.1: version "2.0.1" @@ -9518,15 +8653,10 @@ num2fraction@^1.2.2: resolved "https://registry.yarnpkg.com/num2fraction/-/num2fraction-1.2.2.tgz#6f682b6a027a4e9ddfa4564cd2589d1d4e669ede" integrity sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4= -number-is-nan@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" - integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0= - -nwsapi@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7" - integrity sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ== +nwsapi@^2.2.4: + version "2.2.7" + resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.7.tgz#738e0707d3128cb750dddcfe90e4610482df0f30" + integrity sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ== oauth-sign@~0.9.0: version "0.9.0" @@ -9552,14 +8682,6 @@ object-inspect@^1.11.0, object-inspect@^1.9.0: resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.0.tgz#6e2c120e868fd1fd18cb4f18c31741d0d6e776f0" integrity sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g== -object-is@^1.0.1: - version "1.1.5" - resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.1.5.tgz#b9deeaa5fc7f1846a0faecdceec138e5778f53ac" - integrity sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - 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" @@ -9591,19 +8713,10 @@ object.entries@^1.1.5: define-properties "^1.1.3" es-abstract "^1.19.1" -object.fromentries@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.5.tgz#7b37b205109c21e741e605727fe8b0ad5fa08251" - integrity sha512-CAyG5mWQRRiBU57Re4FKoTBjXfDoNwdFVH2Y1tS9PqCsfUTymAohOkEMSG3aRNKmv4lV3O7p1et7c187q6bynw== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.1" - -object.getownpropertydescriptors@^2.0.3: - version "2.1.3" - resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.3.tgz#b223cf38e17fefb97a63c10c91df72ccb386df9e" - integrity sha512-VdDoCwvJI4QdC6ndjpqFmoL3/+HxffFBbcJzKi5hwLLqqx3mdbedRpfZDdK0SrOSauj8X4GzBvnDZl4vTN7dOw== +object.fromentries@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.5.tgz#7b37b205109c21e741e605727fe8b0ad5fa08251" + integrity sha512-CAyG5mWQRRiBU57Re4FKoTBjXfDoNwdFVH2Y1tS9PqCsfUTymAohOkEMSG3aRNKmv4lV3O7p1et7c187q6bynw== dependencies: call-bind "^1.0.2" define-properties "^1.1.3" @@ -9646,10 +8759,10 @@ obuf@^1.0.0, obuf@^1.1.2: resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e" integrity sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg== -on-finished@~2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" - integrity sha1-IPEzZIGwg811M3mSoWlxqi2QaUc= +on-finished@2.4.1: + version "2.4.1" + resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" + integrity sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg== dependencies: ee-first "1.1.1" @@ -9665,41 +8778,23 @@ once@^1.3.0, once@^1.3.1, once@^1.4.0: dependencies: wrappy "1" -onetime@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-1.1.0.tgz#a1f7838f8314c516f05ecefcbc4ccfe04b4ed789" - integrity sha1-ofeDj4MUxRbwXs78vEzP4EtO14k= - -onetime@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4" - integrity sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ= - dependencies: - mimic-fn "^1.0.0" - -onetime@^5.1.0: +onetime@^5.1.0, onetime@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== dependencies: mimic-fn "^2.1.0" -open@7.0.2: - version "7.0.2" - resolved "https://registry.yarnpkg.com/open/-/open-7.0.2.tgz#fb3681f11f157f2361d2392307548ca1792960e8" - integrity sha512-70E/pFTPr7nZ9nLDPNTcj3IVqnNvKuP4VsBmoKV9YGTnChe0mlS3C4qM7qKarhZ8rGaHKLfo+vBTHXDp6ZSyLQ== - dependencies: - is-docker "^2.0.0" - is-wsl "^2.1.1" - -opn@^5.5.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/opn/-/opn-5.5.0.tgz#fc7164fab56d235904c51c3b27da6758ca3b9bfc" - integrity sha512-PqHpggC9bLV0VeWcdKhkpxY+3JTzetLSqTCWL/z/tFIbI6G8JCjondXklT1JinczLz2Xib62sSp0T/gKT4KksA== +open@^8.0.9: + version "8.4.2" + resolved "https://registry.yarnpkg.com/open/-/open-8.4.2.tgz#5b5ffe2a8f793dcd2aad73e550cb87b59cb084f9" + integrity sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ== dependencies: - is-wsl "^1.1.0" + define-lazy-prop "^2.0.0" + is-docker "^2.1.1" + is-wsl "^2.2.0" -optionator@^0.8.1, optionator@^0.8.2, optionator@^0.8.3: +optionator@^0.8.1: version "0.8.3" resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" integrity sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA== @@ -9723,41 +8818,22 @@ optionator@^0.9.1: type-check "^0.4.0" word-wrap "^1.2.3" -ora@4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/ora/-/ora-4.0.3.tgz#752a1b7b4be4825546a7a3d59256fa523b6b6d05" - integrity sha512-fnDebVFyz309A73cqCipVL1fBZewq4vwgSHfxh43vVy31mbyoQ8sCH3Oeaog/owYOs/lLlGVPCISQonTneg6Pg== +ora@^5.0.0, ora@^5.3.0, ora@^5.4.1: + version "5.4.1" + resolved "https://registry.yarnpkg.com/ora/-/ora-5.4.1.tgz#1b2678426af4ac4a509008e5e4ac9e9959db9e18" + integrity sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ== dependencies: - chalk "^3.0.0" + bl "^4.1.0" + chalk "^4.1.0" cli-cursor "^3.1.0" - cli-spinners "^2.2.0" + cli-spinners "^2.5.0" is-interactive "^1.0.0" - log-symbols "^3.0.0" - mute-stream "0.0.8" + is-unicode-supported "^0.1.0" + log-symbols "^4.1.0" strip-ansi "^6.0.0" wcwidth "^1.0.1" -ora@^0.2.1: - version "0.2.3" - resolved "https://registry.yarnpkg.com/ora/-/ora-0.2.3.tgz#37527d220adcd53c39b73571d754156d5db657a4" - integrity sha1-N1J9Igrc1Tw5tzVx11QVbV22V6Q= - dependencies: - chalk "^1.1.1" - cli-cursor "^1.0.2" - cli-spinners "^0.1.2" - object-assign "^4.0.1" - -os-browserify@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27" - integrity sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc= - -os-homedir@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" - integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M= - -os-tmpdir@^1.0.1, os-tmpdir@~1.0.2: +os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= @@ -9796,7 +8872,7 @@ p-limit@^1.1.0: dependencies: p-try "^1.0.0" -p-limit@^2.0.0, p-limit@^2.2.0, p-limit@^2.2.1: +p-limit@^2.0.0, p-limit@^2.2.0: version "2.3.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== @@ -9838,24 +8914,13 @@ p-locate@^5.0.0: dependencies: p-limit "^3.0.2" -p-map@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175" - integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw== - -p-map@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" - integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== - dependencies: - aggregate-error "^3.0.0" - -p-retry@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-3.0.1.tgz#316b4c8893e2c8dc1cfa891f406c4b422bebf328" - integrity sha512-XE6G4+YTTkT2a0UWb2kjZe8xNwf8bIbnqpc/IS/idOBVhyves0mK5OJgeocjx7q5pvX/6m23xuzVPYT1uGM73w== +p-retry@^4.5.0: + version "4.6.2" + resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-4.6.2.tgz#9baae7184057edd4e17231cee04264106e092a16" + integrity sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ== dependencies: - retry "^0.12.0" + "@types/retry" "0.12.0" + retry "^0.13.1" p-timeout@^2.0.1: version "2.0.1" @@ -9874,17 +8939,7 @@ p-try@^2.0.0: resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== -package-json@^4.0.0, package-json@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/package-json/-/package-json-4.0.1.tgz#8869a0401253661c4c4ca3da6c2121ed555f5eed" - integrity sha1-iGmgQBJTZhxMTKPabCEh7VVfXu0= - dependencies: - got "^6.7.1" - registry-auth-token "^3.0.1" - registry-url "^3.0.3" - semver "^5.1.0" - -package-json@^6.3.0: +package-json@^6.3.0, package-json@^6.5.0: version "6.5.0" resolved "https://registry.yarnpkg.com/package-json/-/package-json-6.5.0.tgz#6feedaca35e75725876d0b0e64974697fed145b0" integrity sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ== @@ -9894,20 +8949,6 @@ package-json@^6.3.0: registry-url "^5.0.0" semver "^6.2.0" -pako@~1.0.5: - version "1.0.11" - resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" - integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== - -parallel-transform@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/parallel-transform/-/parallel-transform-1.2.0.tgz#9049ca37d6cb2182c3b1d2c720be94d14a5814fc" - integrity sha512-P2vSmIu38uIlvdcU7fDkyrxj33gTUy/ABO5ZUbGowxNCopBq/OoD42bP4UmMrJoPyk4Uqf0mu3mtWBhHCZD8yg== - dependencies: - cyclist "^1.0.1" - inherits "^2.0.3" - readable-stream "^2.1.5" - param-case@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/param-case/-/param-case-2.1.1.tgz#df94fd8cf6531ecf75e6bef9a0858fbc72be2247" @@ -9915,7 +8956,7 @@ param-case@^2.1.1: dependencies: no-case "^2.2.0" -param-case@^3.0.3: +param-case@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/param-case/-/param-case-3.0.4.tgz#7d17fe4aa12bde34d4a77d91acfb6219caad01c5" integrity sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A== @@ -9930,17 +8971,6 @@ parent-module@^1.0.0: dependencies: callsites "^3.0.0" -parse-asn1@^5.0.0, parse-asn1@^5.1.5: - version "5.1.6" - resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.6.tgz#385080a3ec13cb62a62d39409cb3e88844cdaed4" - integrity sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw== - dependencies: - asn1.js "^5.2.0" - browserify-aes "^1.0.0" - evp_bytestokey "^1.0.0" - pbkdf2 "^3.0.3" - safe-buffer "^5.1.1" - parse-entities@^1.0.2, parse-entities@^1.1.0: version "1.2.2" resolved "https://registry.yarnpkg.com/parse-entities/-/parse-entities-1.2.2.tgz#c31bf0f653b6661354f8973559cb86dd1d5edf50" @@ -9963,20 +8993,6 @@ parse-glob@^3.0.4: is-extglob "^1.0.0" is-glob "^2.0.0" -parse-json@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" - integrity sha1-9ID0BDTvgHQfhGkJn43qGPVaTck= - dependencies: - error-ex "^1.2.0" - -parse-json@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-3.0.0.tgz#fa6f47b18e23826ead32f263e744d0e1e847fb13" - integrity sha1-+m9HsY4jgm6tMvJj50TQ4ehH+xM= - dependencies: - error-ex "^1.3.1" - parse-json@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0" @@ -9985,7 +9001,7 @@ parse-json@^4.0.0: error-ex "^1.3.1" json-parse-better-errors "^1.0.1" -parse-json@^5.0.0: +parse-json@^5.0.0, parse-json@^5.2.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== @@ -10012,16 +9028,23 @@ parse5-htmlparser2-tree-adapter@^6.0.0: dependencies: parse5 "^6.0.1" -parse5@6.0.1, parse5@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/parse5/-/parse5-6.0.1.tgz#e1a1c085c569b3dc08321184f19a39cc27f7c30b" - integrity sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw== - parse5@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/parse5/-/parse5-5.1.1.tgz#f68e4e5ba1852ac2cadc00f4555fff6c2abb6178" integrity sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug== +parse5@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/parse5/-/parse5-6.0.1.tgz#e1a1c085c569b3dc08321184f19a39cc27f7c30b" + integrity sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw== + +parse5@^7.1.2: + version "7.1.2" + resolved "https://registry.yarnpkg.com/parse5/-/parse5-7.1.2.tgz#0736bebbfd77793823240a23b7fc5e010b7f8e32" + integrity sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw== + dependencies: + entities "^4.4.0" + parseurl@~1.3.2, parseurl@~1.3.3: version "1.3.3" resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" @@ -10040,28 +9063,11 @@ pascalcase@^0.1.1: resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" integrity sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ= -path-browserify@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.1.tgz#e6c4ddd7ed3aa27c68a20cc4e50e1a4ee83bbc4a" - integrity sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ== - path-dirname@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0" integrity sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA= -path-exists@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-1.0.0.tgz#d5a8998eb71ef37a74c34eb0d9eba6e878eea081" - integrity sha1-1aiZjrce83p0w06w2eum6HjuoIE= - -path-exists@^2.0.0, path-exists@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b" - integrity sha1-D+tsZPD8UY2adU3V77YscCJ2H0s= - dependencies: - pinkie-promise "^2.0.0" - path-exists@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" @@ -10072,27 +9078,12 @@ path-exists@^4.0.0: resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== -path-is-absolute@^1.0.0, path-is-absolute@^1.0.1: +path-is-absolute@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= -path-is-inside@^1.0.1, path-is-inside@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" - integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= - -path-key@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-1.0.0.tgz#5d53d578019646c0d68800db4e146e6bdc2ac7af" - integrity sha1-XVPVeAGWRsDWiADbThRua9wqx68= - -path-key@^2.0.0, path-key@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" - integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= - -path-key@^3.1.0: +path-key@^3.0.0, path-key@^3.1.0: version "3.1.1" resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== @@ -10102,25 +9093,19 @@ path-parse@^1.0.6, path-parse@^1.0.7: resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== +path-scurry@^1.7.0: + version "1.10.1" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.10.1.tgz#9ba6bf5aa8500fe9fd67df4f0d9483b2b0bfc698" + integrity sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ== + dependencies: + lru-cache "^9.1.1 || ^10.0.0" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + path-to-regexp@0.1.7: version "0.1.7" resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" integrity sha1-32BBeABfUi8V60SQ5yR6G/qmf4w= -path-to-regexp@^3.1.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-3.2.0.tgz#fa7877ecbc495c601907562222453c43cc204a5f" - integrity sha512-jczvQbCUS7XmS7o+y1aEO9OBVFeZBQ1MDSEqmO7xSoPgOPoowY/SxLpZ6Vh97/8qHZOteiCKb7gkG9gA2ZUxJA== - -path-type@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441" - integrity sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE= - dependencies: - graceful-fs "^4.1.2" - pify "^2.0.0" - pinkie-promise "^2.0.0" - path-type@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" @@ -10133,17 +9118,6 @@ path-type@^4.0.0: resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== -pbkdf2@^3.0.3: - version "3.1.2" - resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" - integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== - dependencies: - create-hash "^1.1.2" - create-hmac "^1.1.4" - ripemd160 "^2.0.1" - safe-buffer "^5.0.1" - sha.js "^2.4.8" - pend@~1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50" @@ -10169,7 +9143,7 @@ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3: resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== -pify@^2.0.0, pify@^2.3.0: +pify@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" integrity sha1-7RQaasBDqEnqWISY59yosVMw6Qw= @@ -10201,13 +9175,6 @@ pirates@^4.0.1, pirates@^4.0.5: resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b" integrity sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ== -pkg-dir@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-1.0.0.tgz#7a4b508a8d5bb2d629d447056ff4e9c9314cf3d4" - integrity sha1-ektQio1bstYp1EcFb/TpyTFM89Q= - dependencies: - find-up "^1.0.0" - pkg-dir@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-3.0.0.tgz#2749020f239ed990881b1f71210d51eb6523bea3" @@ -10215,40 +9182,82 @@ pkg-dir@^3.0.0: dependencies: find-up "^3.0.0" -pkg-dir@^4.1.0: +pkg-dir@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== dependencies: find-up "^4.0.0" -please-upgrade-node@^3.1.1: +pkg-dir@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-5.0.0.tgz#a02d6aebe6ba133a928f74aec20bafdfe6b8e760" + integrity sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA== + dependencies: + find-up "^5.0.0" + +please-upgrade-node@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz#aeddd3f994c933e4ad98b99d9a556efa0e2fe942" integrity sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg== dependencies: semver-compare "^1.0.0" -portfinder@^1.0.26: - version "1.0.28" - resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.28.tgz#67c4622852bd5374dd1dd900f779f53462fac778" - integrity sha512-Se+2isanIcEqf2XMHjyUKskczxbPH7dQnlMjXX6+dybayyHvAf/TCgyMRlzf/B6QDhAEFOGes0pzRo3by4AbMA== - dependencies: - async "^2.6.2" - debug "^3.1.1" - mkdirp "^0.5.5" - posix-character-classes@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs= -postcss-html-transform@3.5.6: - version "3.5.6" - resolved "https://registry.yarnpkg.com/postcss-html-transform/-/postcss-html-transform-3.5.6.tgz#333d98536f21b26b8ecd11ccb8f68ea34f3627b2" - integrity sha512-R87ter6ws1vJvDcHS6uuEAmLUhNI6D4KWYanYU2IUZJpwarsQs0rlBB1X4YxOkBXxdMsQkUpmOsSNcrEV8NLjw== +postcss-calc@^8.2.3: + version "8.2.4" + resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-8.2.4.tgz#77b9c29bfcbe8a07ff6693dc87050828889739a5" + integrity sha512-SmWMSJmB8MRnnULldx0lQIyhSNvuDl9HfrZkaqqE/WHAhToYsAvDq+yAsA/kIyINDszOp3Rh0GFoNuH5Ypsm3Q== + dependencies: + postcss-selector-parser "^6.0.9" + postcss-value-parser "^4.2.0" + +postcss-colormin@^5.3.1: + version "5.3.1" + resolved "https://registry.yarnpkg.com/postcss-colormin/-/postcss-colormin-5.3.1.tgz#86c27c26ed6ba00d96c79e08f3ffb418d1d1988f" + integrity sha512-UsWQG0AqTFQmpBegeLLc1+c3jIqBNB0zlDGRWR+dQ3pRKJL1oeMzyqmH3o2PIfn9MBdNrVPWhDbT769LxCTLJQ== + dependencies: + browserslist "^4.21.4" + caniuse-api "^3.0.0" + colord "^2.9.1" + postcss-value-parser "^4.2.0" + +postcss-convert-values@^5.1.3: + version "5.1.3" + resolved "https://registry.yarnpkg.com/postcss-convert-values/-/postcss-convert-values-5.1.3.tgz#04998bb9ba6b65aa31035d669a6af342c5f9d393" + integrity sha512-82pC1xkJZtcJEfiLw6UXnXVXScgtBrjlO5CBmuDQc+dlb88ZYheFsjTn40+zBVi3DkfF7iezO0nJUPLcJK3pvA== dependencies: - postcss "^6.0.22" + browserslist "^4.21.4" + postcss-value-parser "^4.2.0" + +postcss-discard-comments@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/postcss-discard-comments/-/postcss-discard-comments-5.1.2.tgz#8df5e81d2925af2780075840c1526f0660e53696" + integrity sha512-+L8208OVbHVF2UQf1iDmRcbdjJkuBF6IS29yBDSiWUIzpYaAhtNl6JYnYm12FnkeCwQqF5LeklOu6rAqgfBZqQ== + +postcss-discard-duplicates@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/postcss-discard-duplicates/-/postcss-discard-duplicates-5.1.0.tgz#9eb4fe8456706a4eebd6d3b7b777d07bad03e848" + integrity sha512-zmX3IoSI2aoenxHV6C7plngHWWhUOV3sP1T8y2ifzxzbtnuhk1EdPwm0S1bIUNaJ2eNbWeGLEwzw8huPD67aQw== + +postcss-discard-empty@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/postcss-discard-empty/-/postcss-discard-empty-5.1.1.tgz#e57762343ff7f503fe53fca553d18d7f0c369c6c" + integrity sha512-zPz4WljiSuLWsI0ir4Mcnr4qQQ5e1Ukc3i7UfE2XcrwKK2LIPIqE5jxMRxO6GbI3cv//ztXDsXwEWT3BHOGh3A== + +postcss-discard-overridden@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/postcss-discard-overridden/-/postcss-discard-overridden-5.1.0.tgz#7e8c5b53325747e9d90131bb88635282fb4a276e" + integrity sha512-21nOL7RqWR1kasIVdKs8HNqQJhFxLsyRfAnUDm4Fe4t4mCWL9OJiHvlHPjcd8zc5Myu89b/7wZDnOSjFgeWRtw== + +postcss-html-transform@3.6.24: + version "3.6.24" + resolved "https://registry.yarnpkg.com/postcss-html-transform/-/postcss-html-transform-3.6.24.tgz#d298559a64b0bfafdf25df5f23fa199a964e07fd" + integrity sha512-7rP5CzAhlTGtD2owJhNij73sXt/76Q4ONLvfxYkJIpBAEpn8f8biEBUDTrri7jOW7Z6UAqjkDYQ57o58OKJNxw== postcss-html@^0.28.0: version "0.28.0" @@ -10257,13 +9266,12 @@ postcss-html@^0.28.0: dependencies: htmlparser2 "^3.9.2" -postcss-import@12.0.1: - version "12.0.1" - resolved "https://registry.yarnpkg.com/postcss-import/-/postcss-import-12.0.1.tgz#cf8c7ab0b5ccab5649024536e565f841928b7153" - integrity sha512-3Gti33dmCjyKBgimqGxL3vcV8w9+bsHwO5UrBawp796+jdardbcFl4RP5w/76BwNL7aGzpKstIfF9I+kdE8pTw== +postcss-import@^14.0.0: + version "14.1.0" + resolved "https://registry.yarnpkg.com/postcss-import/-/postcss-import-14.1.0.tgz#a7333ffe32f0b8795303ee9e40215dac922781f0" + integrity sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw== dependencies: - postcss "^7.0.1" - postcss-value-parser "^3.2.3" + postcss-value-parser "^4.0.0" read-cache "^1.0.0" resolve "^1.1.7" @@ -10274,16 +9282,14 @@ postcss-less@^2.0.0: dependencies: postcss "^5.2.16" -postcss-loader@4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/postcss-loader/-/postcss-loader-4.3.0.tgz#2c4de9657cd4f07af5ab42bd60a673004da1b8cc" - integrity sha512-M/dSoIiNDOo8Rk0mUqoj4kpGq91gcxCfb9PoyZVdZ76/AuhxylHDYZblNE8o+EQ9AMSASeMFEKxZf5aU6wlx1Q== +postcss-loader@^7.0.1: + version "7.3.4" + resolved "https://registry.yarnpkg.com/postcss-loader/-/postcss-loader-7.3.4.tgz#aed9b79ce4ed7e9e89e56199d25ad1ec8f606209" + integrity sha512-iW5WTTBSC5BfsBJ9daFMPVrLT36MrNiC6fqOZTTaHjBNX6Pfd5p+hSBqe/fEeNd7pc13QiAyGt7VdGMw4eRC4A== dependencies: - cosmiconfig "^7.0.0" - klona "^2.0.4" - loader-utils "^2.0.0" - schema-utils "^3.0.0" - semver "^7.3.4" + cosmiconfig "^8.3.5" + jiti "^1.20.0" + semver "^7.5.4" postcss-markdown@^0.28.0: version "0.28.0" @@ -10298,52 +9304,179 @@ postcss-media-query-parser@^0.2.3: resolved "https://registry.yarnpkg.com/postcss-media-query-parser/-/postcss-media-query-parser-0.2.3.tgz#27b39c6f4d94f81b1a73b8f76351c609e5cef244" integrity sha1-J7Ocb02U+Bsac7j3Y1HGCeXO8kQ= -postcss-modules-extract-imports@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz#818719a1ae1da325f9832446b01136eeb493cd7e" - integrity sha512-LaYLDNS4SG8Q5WAWqIJgdHPJrDDr/Lv775rMBFUbgjTz6j34lUznACHcdRWroPvXANP2Vj7yNK57vp9eFqzLWQ== +postcss-merge-longhand@^5.1.7: + version "5.1.7" + resolved "https://registry.yarnpkg.com/postcss-merge-longhand/-/postcss-merge-longhand-5.1.7.tgz#24a1bdf402d9ef0e70f568f39bdc0344d568fb16" + integrity sha512-YCI9gZB+PLNskrK0BB3/2OzPnGhPkBEwmwhfYk1ilBHYVAZB7/tkTHFBAnCrvBBOmeYyMYw3DMjT55SyxMBzjQ== dependencies: - postcss "^7.0.5" + postcss-value-parser "^4.2.0" + stylehacks "^5.1.1" -postcss-modules-local-by-default@^3.0.2: - version "3.0.3" - resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-3.0.3.tgz#bb14e0cc78279d504dbdcbfd7e0ca28993ffbbb0" - integrity sha512-e3xDq+LotiGesympRlKNgaJ0PCzoUIdpH0dj47iWAui/kyTgh3CiAr1qP54uodmJhl6p9rN6BoNcdEDVJx9RDw== +postcss-merge-rules@^5.1.4: + version "5.1.4" + resolved "https://registry.yarnpkg.com/postcss-merge-rules/-/postcss-merge-rules-5.1.4.tgz#2f26fa5cacb75b1402e213789f6766ae5e40313c" + integrity sha512-0R2IuYpgU93y9lhVbO/OylTtKMVcHb67zjWIfCiKR9rWL3GUk1677LAqD/BcHizukdZEjT8Ru3oHRoAYoJy44g== dependencies: - icss-utils "^4.1.1" - postcss "^7.0.32" + browserslist "^4.21.4" + caniuse-api "^3.0.0" + cssnano-utils "^3.1.0" + postcss-selector-parser "^6.0.5" + +postcss-minify-font-values@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/postcss-minify-font-values/-/postcss-minify-font-values-5.1.0.tgz#f1df0014a726083d260d3bd85d7385fb89d1f01b" + integrity sha512-el3mYTgx13ZAPPirSVsHqFzl+BBBDrXvbySvPGFnQcTI4iNslrPaFq4muTkLZmKlGk4gyFAYUBMH30+HurREyA== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-minify-gradients@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/postcss-minify-gradients/-/postcss-minify-gradients-5.1.1.tgz#f1fe1b4f498134a5068240c2f25d46fcd236ba2c" + integrity sha512-VGvXMTpCEo4qHTNSa9A0a3D+dxGFZCYwR6Jokk+/3oB6flu2/PnPXAh2x7x52EkY5xlIHLm+Le8tJxe/7TNhzw== + dependencies: + colord "^2.9.1" + cssnano-utils "^3.1.0" + postcss-value-parser "^4.2.0" + +postcss-minify-params@^5.1.4: + version "5.1.4" + resolved "https://registry.yarnpkg.com/postcss-minify-params/-/postcss-minify-params-5.1.4.tgz#c06a6c787128b3208b38c9364cfc40c8aa5d7352" + integrity sha512-+mePA3MgdmVmv6g+30rn57USjOGSAyuxUmkfiWpzalZ8aiBkdPYjXWtHuwJGm1v5Ojy0Z0LaSYhHaLJQB0P8Jw== + dependencies: + browserslist "^4.21.4" + cssnano-utils "^3.1.0" + postcss-value-parser "^4.2.0" + +postcss-minify-selectors@^5.2.1: + version "5.2.1" + resolved "https://registry.yarnpkg.com/postcss-minify-selectors/-/postcss-minify-selectors-5.2.1.tgz#d4e7e6b46147b8117ea9325a915a801d5fe656c6" + integrity sha512-nPJu7OjZJTsVUmPdm2TcaiohIwxP+v8ha9NehQ2ye9szv4orirRU3SDdtUmKH+10nzn0bAyOXZ0UEr7OpvLehg== + dependencies: + postcss-selector-parser "^6.0.5" + +postcss-modules-extract-imports@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz#cda1f047c0ae80c97dbe28c3e76a43b88025741d" + integrity sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw== + +postcss-modules-local-by-default@^4.0.4: + version "4.0.4" + resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.4.tgz#7cbed92abd312b94aaea85b68226d3dec39a14e6" + integrity sha512-L4QzMnOdVwRm1Qb8m4x8jsZzKAaPAgrUF1r/hjDR2Xj7R+8Zsf97jAlSQzWtKx5YNiNGN8QxmPFIc/sh+RQl+Q== + dependencies: + icss-utils "^5.0.0" postcss-selector-parser "^6.0.2" postcss-value-parser "^4.1.0" -postcss-modules-scope@^2.1.1: - version "2.2.0" - resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-2.2.0.tgz#385cae013cc7743f5a7d7602d1073a89eaae62ee" - integrity sha512-YyEgsTMRpNd+HmyC7H/mh3y+MeFWevy7V1evVhJWewmMbjDHIbZbOXICC2y+m1xI1UVfIT1HMW/O04Hxyu9oXQ== +postcss-modules-scope@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-3.1.1.tgz#32cfab55e84887c079a19bbb215e721d683ef134" + integrity sha512-uZgqzdTleelWjzJY+Fhti6F3C9iF1JR/dODLs/JDefozYcKTBCdD8BIl6nNPbTbcLnGrk56hzwZC2DaGNvYjzA== dependencies: - postcss "^7.0.6" - postcss-selector-parser "^6.0.0" + postcss-selector-parser "^6.0.4" -postcss-modules-values@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/postcss-modules-values/-/postcss-modules-values-3.0.0.tgz#5b5000d6ebae29b4255301b4a3a54574423e7f10" - integrity sha512-1//E5jCBrZ9DmRX+zCtmQtRSV6PV42Ix7Bzj9GbwJceduuf7IqP8MgeTXuRDHOWj2m0VzZD5+roFWDuU8RQjcg== +postcss-modules-values@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz#d7c5e7e68c3bb3c9b27cbf48ca0bb3ffb4602c9c" + integrity sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ== + dependencies: + icss-utils "^5.0.0" + +postcss-normalize-charset@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/postcss-normalize-charset/-/postcss-normalize-charset-5.1.0.tgz#9302de0b29094b52c259e9b2cf8dc0879879f0ed" + integrity sha512-mSgUJ+pd/ldRGVx26p2wz9dNZ7ji6Pn8VWBajMXFf8jk7vUoSrZ2lt/wZR7DtlZYKesmZI680qjr2CeFF2fbUg== + +postcss-normalize-display-values@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/postcss-normalize-display-values/-/postcss-normalize-display-values-5.1.0.tgz#72abbae58081960e9edd7200fcf21ab8325c3da8" + integrity sha512-WP4KIM4o2dazQXWmFaqMmcvsKmhdINFblgSeRgn8BJ6vxaMyaJkwAzpPpuvSIoG/rmX3M+IrRZEz2H0glrQNEA== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-normalize-positions@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/postcss-normalize-positions/-/postcss-normalize-positions-5.1.1.tgz#ef97279d894087b59325b45c47f1e863daefbb92" + integrity sha512-6UpCb0G4eofTCQLFVuI3EVNZzBNPiIKcA1AKVka+31fTVySphr3VUgAIULBhxZkKgwLImhzMR2Bw1ORK+37INg== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-normalize-repeat-style@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-5.1.1.tgz#e9eb96805204f4766df66fd09ed2e13545420fb2" + integrity sha512-mFpLspGWkQtBcWIRFLmewo8aC3ImN2i/J3v8YCFUwDnPu3Xz4rLohDO26lGjwNsQxB3YF0KKRwspGzE2JEuS0g== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-normalize-string@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/postcss-normalize-string/-/postcss-normalize-string-5.1.0.tgz#411961169e07308c82c1f8c55f3e8a337757e228" + integrity sha512-oYiIJOf4T9T1N4i+abeIc7Vgm/xPCGih4bZz5Nm0/ARVJ7K6xrDlLwvwqOydvyL3RHNf8qZk6vo3aatiw/go3w== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-normalize-timing-functions@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-5.1.0.tgz#d5614410f8f0b2388e9f240aa6011ba6f52dafbb" + integrity sha512-DOEkzJ4SAXv5xkHl0Wa9cZLF3WCBhF3o1SKVxKQAa+0pYKlueTpCgvkFAHfk+Y64ezX9+nITGrDZeVGgITJXjg== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-normalize-unicode@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/postcss-normalize-unicode/-/postcss-normalize-unicode-5.1.1.tgz#f67297fca3fea7f17e0d2caa40769afc487aa030" + integrity sha512-qnCL5jzkNUmKVhZoENp1mJiGNPcsJCs1aaRmURmeJGES23Z/ajaln+EPTD+rBeNkSryI+2WTdW+lwcVdOikrpA== + dependencies: + browserslist "^4.21.4" + postcss-value-parser "^4.2.0" + +postcss-normalize-url@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/postcss-normalize-url/-/postcss-normalize-url-5.1.0.tgz#ed9d88ca82e21abef99f743457d3729a042adcdc" + integrity sha512-5upGeDO+PVthOxSmds43ZeMeZfKH+/DKgGRD7TElkkyS46JXAUhMzIKiCa7BabPeIy3AQcTkXwVVN7DbqsiCew== dependencies: - icss-utils "^4.0.0" - postcss "^7.0.6" + normalize-url "^6.0.1" + postcss-value-parser "^4.2.0" -postcss-plugin-constparse@3.5.6: - version "3.5.6" - resolved "https://registry.yarnpkg.com/postcss-plugin-constparse/-/postcss-plugin-constparse-3.5.6.tgz#8e88852da5fafa2dbac92e27b07de03d34fb9fae" - integrity sha512-kWLXIwsUoc0WWVs2G3WTIjnoXho0DmkCFbS+NHPbInonxfqtxLjfvu+cc8bIH51KHKYtBs29t9wA9o0Y0kbKKg== +postcss-normalize-whitespace@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/postcss-normalize-whitespace/-/postcss-normalize-whitespace-5.1.1.tgz#08a1a0d1ffa17a7cc6efe1e6c9da969cc4493cfa" + integrity sha512-83ZJ4t3NUDETIHTa3uEg6asWjSBYL5EdkVB0sDncx9ERzOKBVJIUeDO9RyA9Zwtig8El1d79HBp0JEi8wvGQnA== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-ordered-values@^5.1.3: + version "5.1.3" + resolved "https://registry.yarnpkg.com/postcss-ordered-values/-/postcss-ordered-values-5.1.3.tgz#b6fd2bd10f937b23d86bc829c69e7732ce76ea38" + integrity sha512-9UO79VUhPwEkzbb3RNpqqghc6lcYej1aveQteWY+4POIwlqkYE21HKWaLDF6lWNuqCobEAyTovVhtI32Rbv2RQ== + dependencies: + cssnano-utils "^3.1.0" + postcss-value-parser "^4.2.0" + +postcss-plugin-constparse@3.6.24: + version "3.6.24" + resolved "https://registry.yarnpkg.com/postcss-plugin-constparse/-/postcss-plugin-constparse-3.6.24.tgz#bdbb8b95d35075ad6b97b5f13a14413aabea7c21" + integrity sha512-+tHwV4KnPDZ6E0dJJ6ht31cTMSDxUcEp6J+Rm3oAuqTHX40QiJk9AsC9s7JsWCFS8PsZSMDxCtVrDvCUNLpINw== + +postcss-pxtransform@3.6.24: + version "3.6.24" + resolved "https://registry.yarnpkg.com/postcss-pxtransform/-/postcss-pxtransform-3.6.24.tgz#4c438b0f77c5263597362faa052f432d982bb459" + integrity sha512-CJqDKP7YtpjHpMLDFepp0d7CCH1wcX+OC6BwtiHxlKGOrFlC7lII0wyB8+pzizrXA+vZbwJc7EMENaLoEPqW0w== + +postcss-reduce-initial@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/postcss-reduce-initial/-/postcss-reduce-initial-5.1.2.tgz#798cd77b3e033eae7105c18c9d371d989e1382d6" + integrity sha512-dE/y2XRaqAi6OvjzD22pjTUQ8eOfc6m/natGHgKFBK9DxFmIm69YmaRVQrGgFlEfc1HePIurY0TmDeROK05rIg== dependencies: - postcss "^6.0.22" + browserslist "^4.21.4" + caniuse-api "^3.0.0" -postcss-pxtransform@3.5.6: - version "3.5.6" - resolved "https://registry.yarnpkg.com/postcss-pxtransform/-/postcss-pxtransform-3.5.6.tgz#feb198f9b18c8af7d24cecd5c077c71753b3576c" - integrity sha512-EKdQOv4+xYRG5VcB6lUy3N5wuofUyDnmKeYaXcdD1uFKUOeD1byBvHkBA3nUe/UCRU4oTAwmk4JxUS60nbwWmw== +postcss-reduce-transforms@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/postcss-reduce-transforms/-/postcss-reduce-transforms-5.1.0.tgz#333b70e7758b802f3dd0ddfe98bb1ccfef96b6e9" + integrity sha512-2fbdbmgir5AvpW9RLtdONx1QoYG2/EtqpNQbFASDlixBbAYuTcJ0dECwlqNqH7VbaUnEnh8SrxOe2sRIn24XyQ== dependencies: - postcss "^6.0.22" + postcss-value-parser "^4.2.0" postcss-reporter@^5.0.0: version "5.0.0" @@ -10391,7 +9524,7 @@ postcss-selector-parser@^3.1.0: indexes-of "^1.0.1" uniq "^1.0.1" -postcss-selector-parser@^6.0.0, postcss-selector-parser@^6.0.2: +postcss-selector-parser@^6.0.2: version "6.0.9" resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.9.tgz#ee71c3b9ff63d9cd130838876c13a2ec1a992b2f" integrity sha512-UO3SgnZOVTwu4kyLR22UQ1xZh086RyNZppb7lLAKBFK8a32ttG5i87Y/P3+2bRSjZNyJ1B7hfFNo273tKe9YxQ== @@ -10399,57 +9532,54 @@ postcss-selector-parser@^6.0.0, postcss-selector-parser@^6.0.2: cssesc "^3.0.0" util-deprecate "^1.0.2" +postcss-selector-parser@^6.0.4, postcss-selector-parser@^6.0.5, postcss-selector-parser@^6.0.9: + version "6.0.15" + resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.15.tgz#11cc2b21eebc0b99ea374ffb9887174855a01535" + integrity sha512-rEYkQOMUCEMhsKbK66tbEU9QVIxbhN18YiniAwA7XQYTVBqrBy+P2p5JcdqsHgKM2zWylp8d7J6eszocfds5Sw== + dependencies: + cssesc "^3.0.0" + util-deprecate "^1.0.2" + +postcss-svgo@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/postcss-svgo/-/postcss-svgo-5.1.0.tgz#0a317400ced789f233a28826e77523f15857d80d" + integrity sha512-D75KsH1zm5ZrHyxPakAxJWtkyXew5qwS70v56exwvw542d9CRtTo78K0WeFxZB4G7JXKKMbEZtZayTGdIky/eA== + dependencies: + postcss-value-parser "^4.2.0" + svgo "^2.7.0" + postcss-syntax@^0.28.0: version "0.28.0" resolved "https://registry.yarnpkg.com/postcss-syntax/-/postcss-syntax-0.28.0.tgz#e17572a7dcf5388f0c9b68232d2dad48fa7f0b12" integrity sha512-9W3T1fSE9QWKyW6s84kZapv0BP5uvj7mNBp34kwI93uGWULzZjaKv4xR4phubBD53cRgaM/qnvquVK1KLsl+Kg== -postcss-taro-unit-transform@1.2.15: - version "1.2.15" - resolved "https://registry.yarnpkg.com/postcss-taro-unit-transform/-/postcss-taro-unit-transform-1.2.15.tgz#bfb3f327c7a529995ccf6bfecca6d606b2fb9f45" - integrity sha512-qkhW6iXSyVCkh9fNe6D+lgJE0XK1mt5+AD2uCUVvQqz9Gw749SaYXjsMYJ5oPgmZjUMFxc2/dc8S9KiAg5HPIg== +postcss-unique-selectors@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/postcss-unique-selectors/-/postcss-unique-selectors-5.1.1.tgz#a9f273d1eacd09e9aa6088f4b0507b18b1b541b6" + integrity sha512-5JiODlELrz8L2HwxfPnhOWZYWDxVHWL83ufOv84NrcgipI7TaeRsatAhK4Tr2/ZiYldpK/wBvw5BD3qfaK96GA== dependencies: - postcss "^6.0.21" + postcss-selector-parser "^6.0.5" -postcss-url@8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/postcss-url/-/postcss-url-8.0.0.tgz#7b10059bd12929cdbb1971c60f61a0e5af86b4ca" - integrity sha512-E2cbOQ5aii2zNHh8F6fk1cxls7QVFZjLPSrqvmiza8OuXLzIpErij8BDS5Y3STPfJgpIMNCPEr8JlKQWEoozUw== +postcss-url@^10.1.3: + version "10.1.3" + resolved "https://registry.yarnpkg.com/postcss-url/-/postcss-url-10.1.3.tgz#54120cc910309e2475ec05c2cfa8f8a2deafdf1e" + integrity sha512-FUzyxfI5l2tKmXdYc6VTu3TWZsInayEKPbiyW+P6vmmIrrb4I6CGX0BFoewgYHLK+oIL5FECEK02REYRpBvUCw== dependencies: - mime "^2.3.1" - minimatch "^3.0.4" - mkdirp "^0.5.0" - postcss "^7.0.2" - xxhashjs "^0.2.1" + make-dir "~3.1.0" + mime "~2.5.2" + minimatch "~3.0.4" + xxhashjs "~0.2.2" postcss-value-parser@^3.2.3, postcss-value-parser@^3.3.0: version "3.3.1" resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz#9ff822547e2893213cf1c30efa51ac5fd1ba8281" integrity sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ== -postcss-value-parser@^4.0.2, postcss-value-parser@^4.1.0: +postcss-value-parser@^4.0.0, postcss-value-parser@^4.1.0, postcss-value-parser@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== -postcss@7.0.21: - version "7.0.21" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.21.tgz#06bb07824c19c2021c5d056d5b10c35b989f7e17" - integrity sha512-uIFtJElxJo29QC753JzhidoAhvp/e/Exezkdhfmt8AymWT6/5B7W1WmponYWkHk2eg6sONyTch0A3nkMPun3SQ== - dependencies: - chalk "^2.4.2" - source-map "^0.6.1" - supports-color "^6.1.0" - -postcss@8.3.5: - version "8.3.5" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.3.5.tgz#982216b113412bc20a86289e91eb994952a5b709" - integrity sha512-NxTuJocUhYGsMiMFHDUkmjSKT3EdH4/WbGF6GCi1NDGk+vbcUTun4fpbOqaPtD8IIsztA2ilZm2DhYCuyN58gA== - dependencies: - colorette "^1.2.2" - nanoid "^3.1.23" - source-map-js "^0.6.2" - postcss@^5.2.16: version "5.2.18" resolved "https://registry.yarnpkg.com/postcss/-/postcss-5.2.18.tgz#badfa1497d46244f6390f58b319830d9107853c5" @@ -10460,7 +9590,7 @@ postcss@^5.2.16: source-map "^0.5.6" supports-color "^3.2.3" -postcss@^6.0.14, postcss@^6.0.16, postcss@^6.0.21, postcss@^6.0.22, postcss@^6.0.23, postcss@^6.0.6, postcss@^6.0.8: +postcss@^6.0.14, postcss@^6.0.16, postcss@^6.0.23, postcss@^6.0.6, postcss@^6.0.8: version "6.0.23" resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.23.tgz#61c82cc328ac60e677645f979054eb98bc0e3324" integrity sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag== @@ -10469,7 +9599,7 @@ postcss@^6.0.14, postcss@^6.0.16, postcss@^6.0.21, postcss@^6.0.22, postcss@^6.0 source-map "^0.6.1" supports-color "^5.4.0" -postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.2, postcss@^7.0.23, postcss@^7.0.32, postcss@^7.0.35, postcss@^7.0.5, postcss@^7.0.6: +postcss@^7.0.1, postcss@^7.0.23, postcss@^7.0.32, postcss@^7.0.36: version "7.0.39" resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.39.tgz#9624375d965630e2e1f2c02a935c82a59cb48309" integrity sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA== @@ -10477,13 +9607,24 @@ postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.2, postcss@^7.0.23, postcss@^7.0.3 picocolors "^0.2.1" source-map "^0.6.1" -preferred-pm@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/preferred-pm/-/preferred-pm-1.0.1.tgz#539df37ce944b1b765ae944a8ba34a7e68694e8d" - integrity sha512-9Uxgin5Xnsl67DBvlNFsmDIlBuG9/XKK2cVBTj//7/7wW6ZY+IC9/GlLqxyHABpoasAsJ1MARFOdYPxMUtndxA== +postcss@^8.2.14, postcss@^8.3.5, postcss@^8.4.18, postcss@^8.4.33, postcss@^8.4.35: + version "8.4.35" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.35.tgz#60997775689ce09011edf083a549cea44aabe2f7" + integrity sha512-u5U8qYpBCpN13BsiEB0CbR1Hhh4Gc0zLFuedrHJKMctHCHAGrMdG0PRM/KErzAL3CU6/eckEtmHNB3x6e3c0vA== dependencies: - path-exists "^3.0.0" - which-pm "^1.0.1" + nanoid "^3.3.7" + picocolors "^1.0.0" + source-map-js "^1.0.2" + +preferred-pm@^3.0.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/preferred-pm/-/preferred-pm-3.1.3.tgz#4125ea5154603136c3b6444e5f5c94ecf90e4916" + integrity sha512-MkXsENfftWSRpzCzImcp4FRsCc3y1opwB73CfCNWyzMqArju2CrlMHlqB7VexKiPEOjGMbttv1r9fSCn5S610w== + dependencies: + find-up "^5.0.0" + find-yarn-workspace-root2 "1.2.16" + path-exists "^4.0.0" + which-pm "2.0.0" prelude-ls@^1.2.1: version "1.2.1" @@ -10495,11 +9636,6 @@ prelude-ls@~1.1.2: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= -prepend-http@^1.0.0, prepend-http@^1.0.1: - version "1.0.4" - resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" - integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw= - prepend-http@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" @@ -10510,55 +9646,35 @@ preserve@^0.2.0: resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" integrity sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks= -prettier@^1.14.2, prettier@^1.16.4: - version "1.19.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb" - integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew== +"prettier@^1.18.2 || ^2.0.0": + version "2.8.8" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" + integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q== pretty-bytes@^5.3.0: version "5.6.0" resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-5.6.0.tgz#356256f643804773c82f64723fe78c92c62beaeb" integrity sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg== -pretty-error@^2.1.1: - version "2.1.2" - resolved "https://registry.yarnpkg.com/pretty-error/-/pretty-error-2.1.2.tgz#be89f82d81b1c86ec8fdfbc385045882727f93b6" - integrity sha512-EY5oDzmsX5wvuynAByrmY0P0hcp+QpnAKbJng2A2MPjVKXCxrDSUkzghVJ4ZGPIv+JC4gX8fPUWscC0RtjsWGw== +pretty-error@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/pretty-error/-/pretty-error-4.0.0.tgz#90a703f46dd7234adb46d0f84823e9d1cb8f10d6" + integrity sha512-AoJ5YMAcXKYxKhuJGdcvse+Voc6v1RgnsR3nWcYU7q4t6z0Q6T86sv5Zq8VIRbOWWFpvdGE83LtdSMNd+6Y0xw== dependencies: lodash "^4.17.20" - renderkid "^2.0.4" + renderkid "^3.0.0" -private@^0.1.6, private@^0.1.8: - version "0.1.8" - resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" - integrity sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg== +pretty-time@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/pretty-time/-/pretty-time-1.1.0.tgz#ffb7429afabb8535c346a34e41873adf3d74dd0e" + integrity sha512-28iF6xPQrP8Oa6uxE6a1biz+lWeTOAPKggvjB8HAs6nVMKZwf5bG++632Dx614hIWgUPkgivRfG+a8uAXGTIbA== -process-nextick-args@^2.0.0, process-nextick-args@~2.0.0: +process-nextick-args@~2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== -process@^0.11.10: - version "0.11.10" - resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" - integrity sha1-czIwDoQBYb2j5podHZGn1LwW8YI= - -progress@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" - integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== - -promise-inflight@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" - integrity sha1-mEcocL8igTL8vdhoEputEsPAKeM= - -promise-polyfill@^7.1.0: - version "7.1.2" - resolved "https://registry.yarnpkg.com/promise-polyfill/-/promise-polyfill-7.1.2.tgz#ab05301d8c28536301622d69227632269a70ca3b" - integrity sha512-FuEc12/eKqqoRYIGBrUptCBRhobL19PS2U31vMNTfyck1FxPyMfgsXyW4Mav85y/ZN1hop3hOwRlUDok23oYfQ== - -prop-types@^15.6.2, prop-types@^15.7.2: +prop-types@^15.7.2: version "15.8.1" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== @@ -10600,26 +9716,6 @@ psl@^1.1.33: resolved "https://registry.yarnpkg.com/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7" integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag== -public-encrypt@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.3.tgz#4fcc9d77a07e48ba7527e7cbe0de33d0701331e0" - integrity sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q== - dependencies: - bn.js "^4.1.0" - browserify-rsa "^4.0.0" - create-hash "^1.1.0" - parse-asn1 "^5.0.0" - randombytes "^2.0.1" - safe-buffer "^5.1.2" - -pump@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909" - integrity sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - pump@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" @@ -10628,76 +9724,43 @@ pump@^3.0.0: end-of-stream "^1.1.0" once "^1.3.1" -pumpify@^1.3.3: - version "1.5.1" - resolved "https://registry.yarnpkg.com/pumpify/-/pumpify-1.5.1.tgz#36513be246ab27570b1a374a5ce278bfd74370ce" - integrity sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ== - dependencies: - duplexify "^3.6.0" - inherits "^2.0.3" - pump "^2.0.0" - -punycode@1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" - integrity sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0= - -punycode@^1.2.4: - version "1.4.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" - integrity sha1-wNWmOycYgArY4esPpSachN1BhF4= - punycode@^2.1.0, punycode@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== -qs@6.9.6: - version "6.9.6" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.9.6.tgz#26ed3c8243a431b2924aca84cc90471f35d5a0ee" - integrity sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ== +punycode@^2.3.0: + version "2.3.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5" + integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg== + +pupa@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/pupa/-/pupa-2.1.1.tgz#f5e8fd4afc2c5d97828faa523549ed8744a20d62" + integrity sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A== + dependencies: + escape-goat "^2.0.0" + +qs@6.11.0: + version "6.11.0" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a" + integrity sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q== + dependencies: + side-channel "^1.0.4" qs@~6.5.2: version "6.5.3" resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.3.tgz#3aeeffc91967ef6e35c0e488ef46fb296ab76aad" integrity sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA== -query-string@^4.1.0: - version "4.3.4" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-4.3.4.tgz#bbb693b9ca915c232515b228b1a02b609043dbeb" - integrity sha1-u7aTucqRXCMlFbIosaArYJBD2+s= - dependencies: - object-assign "^4.1.0" - strict-uri-encode "^1.0.0" - query-string@^5.0.1: version "5.1.1" resolved "https://registry.yarnpkg.com/query-string/-/query-string-5.1.1.tgz#a78c012b71c17e05f2e3fa2319dd330682efb3cb" - integrity sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw== - dependencies: - decode-uri-component "^0.2.0" - object-assign "^4.1.0" - strict-uri-encode "^1.0.0" - -query-string@^7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-7.1.1.tgz#754620669db978625a90f635f12617c271a088e1" - integrity sha512-MplouLRDHBZSG9z7fpuAAcI7aAYjDLhtsiVZsevsfaHWDS2IDdORKbSd1kWUA+V4zyva/HZoSfpwnYMMQDhb0w== - dependencies: - decode-uri-component "^0.2.0" - filter-obj "^1.1.0" - split-on-first "^1.0.0" - strict-uri-encode "^2.0.0" - -querystring-es3@^0.2.0: - version "0.2.1" - resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" - integrity sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM= - -querystring@0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" - integrity sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA= + integrity sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw== + dependencies: + decode-uri-component "^0.2.0" + object-assign "^4.1.0" + strict-uri-encode "^1.0.0" querystringify@^2.1.1: version "2.2.0" @@ -10714,6 +9777,11 @@ quick-lru@^1.0.0: resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-1.1.0.tgz#4360b17c61136ad38078397ff11416e186dcfbb8" integrity sha1-Q2CxfGETatOAeDl/8RQW4Ybc+7g= +quick-lru@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-4.0.1.tgz#5b8878f113a58217848c6482026c73e1ba57727f" + integrity sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g== + randomatic@^3.0.0: version "3.1.1" resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-3.1.1.tgz#b776efc59375984e36c537b2f51a1f0aff0da1ed" @@ -10723,37 +9791,39 @@ randomatic@^3.0.0: kind-of "^6.0.0" math-random "^1.0.1" -randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5, randombytes@^2.1.0: +randombytes@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== dependencies: safe-buffer "^5.1.0" -randomfill@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/randomfill/-/randomfill-1.0.4.tgz#c92196fc86ab42be983f1bf31778224931d61458" - integrity sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw== - dependencies: - randombytes "^2.0.5" - safe-buffer "^5.1.0" - range-parser@^1.2.1, range-parser@~1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== -raw-body@2.4.2: - version "2.4.2" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.4.2.tgz#baf3e9c21eebced59dd6533ac872b71f7b61cb32" - integrity sha512-RPMAFUJP19WIet/99ngh6Iv8fzAbqum4Li7AD6DtGaW2RpMB/11xDoalPiJMTbu6I3hkbMVkATvZrqb9EEqeeQ== +raw-body@2.5.2: + version "2.5.2" + resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.2.tgz#99febd83b90e08975087e8f1f9419a149366b68a" + integrity sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA== dependencies: - bytes "3.1.1" - http-errors "1.8.1" + bytes "3.1.2" + http-errors "2.0.0" iconv-lite "0.4.24" unpipe "1.0.0" -rc@^1.0.1, rc@^1.1.6, rc@^1.2.8: +rc-config-loader@^4.0.0: + version "4.1.3" + resolved "https://registry.yarnpkg.com/rc-config-loader/-/rc-config-loader-4.1.3.tgz#1352986b8a2d8d96d6fd054a5bb19a60c576876a" + integrity sha512-kD7FqML7l800i6pS6pvLyIE2ncbk9Du8Q0gp/4hMPhJU6ZxApkoLcGD8ZeqgiAlfwZ6BlETq6qqe+12DUL207w== + dependencies: + debug "^4.3.4" + js-yaml "^4.1.0" + json5 "^2.2.2" + require-from-string "^2.0.2" + +rc@^1.2.8: version "1.2.8" resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== @@ -10763,14 +9833,13 @@ rc@^1.0.1, rc@^1.1.6, rc@^1.2.8: minimist "^1.2.0" strip-json-comments "~2.0.1" -react-dom@^17.0.0: - version "17.0.2" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.2.tgz#ecffb6845e3ad8dbfcdc498f0d0a939736502c23" - integrity sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA== +react-dom@^18.0.0: + version "18.2.0" + resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" + integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== dependencies: loose-envify "^1.1.0" - object-assign "^4.1.1" - scheduler "^0.20.2" + scheduler "^0.23.0" react-is@^16.13.1: version "16.13.1" @@ -10785,18 +9854,22 @@ react-reconciler@0.27.0: loose-envify "^1.1.0" scheduler "^0.21.0" +react-refresh@^0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.11.0.tgz#77198b944733f0f1f1a90e791de4541f9f074046" + integrity sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A== + react-refresh@^0.4.0: version "0.4.3" resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.4.3.tgz#966f1750c191672e76e16c2efa569150cc73ab53" integrity sha512-Hwln1VNuGl/6bVwnd0Xdn1e84gT/8T9aYNL+HAKDArLCS7LWjwr7StE30IEYbIkx0Vi3vs+coQxe+SQDbGbbpA== -react@^17.0.0: - 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== +react@^18.0.0: + version "18.2.0" + resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" + integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== dependencies: loose-envify "^1.1.0" - object-assign "^4.1.1" read-cache@^1.0.0: version "1.0.0" @@ -10805,14 +9878,6 @@ read-cache@^1.0.0: dependencies: pify "^2.3.0" -read-pkg-up@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" - integrity sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI= - dependencies: - find-up "^1.0.0" - read-pkg "^1.0.0" - read-pkg-up@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-3.0.0.tgz#3ed496685dba0f8fe118d0691dc51f4a1ff96f07" @@ -10821,14 +9886,14 @@ read-pkg-up@^3.0.0: find-up "^2.0.0" read-pkg "^3.0.0" -read-pkg@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" - integrity sha1-9f+qXs0pyzHAR0vKfXVra7KePyg= +read-pkg-up@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-7.0.1.tgz#f3a6135758459733ae2b95638056e1854e7ef507" + integrity sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg== dependencies: - load-json-file "^1.0.0" - normalize-package-data "^2.3.2" - path-type "^1.0.0" + find-up "^4.1.0" + read-pkg "^5.2.0" + type-fest "^0.8.1" read-pkg@^3.0.0: version "3.0.0" @@ -10839,7 +9904,17 @@ read-pkg@^3.0.0: normalize-package-data "^2.3.2" path-type "^3.0.0" -"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.0, readable-stream@^2.3.3, readable-stream@^2.3.5, readable-stream@^2.3.6, readable-stream@~2.3.6: +read-pkg@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-5.2.0.tgz#7bf295438ca5a33e56cd30e053b34ee7250c93cc" + integrity sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg== + dependencies: + "@types/normalize-package-data" "^2.4.0" + normalize-package-data "^2.5.0" + parse-json "^5.0.0" + type-fest "^0.6.0" + +readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.3.0, readable-stream@^2.3.5: version "2.3.7" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== @@ -10852,7 +9927,7 @@ read-pkg@^3.0.0: string_decoder "~1.1.1" util-deprecate "~1.0.1" -"readable-stream@2 || 3", readable-stream@^3.0.6, readable-stream@^3.1.1, readable-stream@^3.6.0: +readable-stream@^3.0.6, readable-stream@^3.1.1: version "3.6.0" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== @@ -10861,46 +9936,22 @@ read-pkg@^3.0.0: string_decoder "^1.1.1" util-deprecate "^1.0.1" -readdirp@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525" - integrity sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ== +readable-stream@^3.4.0: + version "3.6.2" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" + integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== dependencies: - graceful-fs "^4.1.11" - micromatch "^3.1.10" - readable-stream "^2.0.2" + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" -readdirp@~3.6.0: +readdirp@^3.6.0, readdirp@~3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== dependencies: picomatch "^2.2.1" -readline2@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/readline2/-/readline2-1.0.1.tgz#41059608ffc154757b715d9989d199ffbf372e35" - integrity sha1-QQWWCP/BVHV7cV2ZidGZ/783LjU= - dependencies: - code-point-at "^1.0.0" - is-fullwidth-code-point "^1.0.0" - mute-stream "0.0.5" - -rechoir@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" - integrity sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q= - dependencies: - resolve "^1.1.6" - -redent@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/redent/-/redent-1.0.0.tgz#cf916ab1fd5f1f16dfb20822dd6ec7f730c2afde" - integrity sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94= - dependencies: - indent-string "^2.1.0" - strip-indent "^1.0.1" - redent@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/redent/-/redent-2.0.0.tgz#c1b2007b42d57eb1389079b3c8333639d5e1ccaa" @@ -10909,6 +9960,14 @@ redent@^2.0.0: indent-string "^3.0.0" strip-indent "^2.0.0" +redent@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/redent/-/redent-3.0.0.tgz#e557b7998316bb53c9f1f56fa626352c6963059f" + integrity sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg== + dependencies: + indent-string "^4.0.0" + strip-indent "^3.0.0" + regenerate-unicode-properties@^10.0.1: version "10.0.1" resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-10.0.1.tgz#7f442732aa7934a3740c779bb9b3340dccc1fb56" @@ -10928,7 +9987,7 @@ regenerate@^1.4.2: resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a" integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A== -regenerator-runtime@0.11, regenerator-runtime@^0.11.0: +regenerator-runtime@0.11: version "0.11.1" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg== @@ -10965,7 +10024,7 @@ regex-parser@^2.2.11: resolved "https://registry.yarnpkg.com/regex-parser/-/regex-parser-2.2.11.tgz#3b37ec9049e19479806e878cabe7c1ca83ccfe58" integrity sha512-jbD/FT0+9MBU2XAZluI7w2OBs1RBi6p9M83nkoZayQXXU9e8Robt69FcZc7wU4eJD/YFTjn1JdCk3rbMJajz8Q== -regexp.prototype.flags@^1.2.0, regexp.prototype.flags@^1.3.1: +regexp.prototype.flags@^1.3.1: version "1.4.1" resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.1.tgz#b3f4c0059af9e47eca9f3f660e51d81307e72307" integrity sha512-pMR7hBVUUGI7PMA37m2ofIdQCsomVnas+Jn5UPGAHQ+/LlwKm/aTLJHdasmHRzlfeZwHiAOaRSo2rbBDm3nNUQ== @@ -10973,12 +10032,7 @@ regexp.prototype.flags@^1.2.0, regexp.prototype.flags@^1.3.1: call-bind "^1.0.2" define-properties "^1.1.3" -regexpp@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-2.0.1.tgz#8d19d31cf632482b589049f8281f93dbcba4d07f" - integrity sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw== - -regexpp@^3.1.0, regexpp@^3.2.0: +regexpp@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg== @@ -11007,14 +10061,6 @@ regexpu-core@^5.1.0: unicode-match-property-ecmascript "^2.0.0" unicode-match-property-value-ecmascript "^2.0.0" -registry-auth-token@^3.0.1: - version "3.4.0" - resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-3.4.0.tgz#d7446815433f5d5ed6431cd5dca21048f66b397e" - integrity sha512-4LM6Fw8eBQdwMYcES4yTnn2TqIasbXuwDx3um+QRs7S55aMKCBKBxvPXl2RiUjHwuJLTyYfxSpmfSAjQpcuP+A== - dependencies: - rc "^1.1.6" - safe-buffer "^5.0.1" - registry-auth-token@^4.0.0: version "4.2.1" resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-4.2.1.tgz#6d7b4006441918972ccd5fedcd41dc322c79b250" @@ -11022,13 +10068,6 @@ registry-auth-token@^4.0.0: dependencies: rc "^1.2.8" -registry-url@^3.0.3: - version "3.1.0" - resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-3.1.0.tgz#3d4ef870f73dde1d77f0cf9a381432444e174942" - integrity sha1-PU74cPc93h138M+aOBQyRE4XSUI= - dependencies: - rc "^1.0.1" - registry-url@^5.0.0: version "5.1.0" resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-5.1.0.tgz#e98334b50d5434b81136b44ec638d9c2009c5009" @@ -11120,16 +10159,16 @@ remove-trailing-separator@^1.0.1: resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" integrity sha1-wkvOKig62tW8P1jg1IJJuSN52O8= -renderkid@^2.0.4: - version "2.0.7" - resolved "https://registry.yarnpkg.com/renderkid/-/renderkid-2.0.7.tgz#464f276a6bdcee606f4a15993f9b29fc74ca8609" - integrity sha512-oCcFyxaMrKsKcTY59qnCAtmDVSLfPbrv6A3tVbPdFMMrv5jaK10V6m40cKsoPNhAqN6rmHW9sswW4o3ruSrwUQ== +renderkid@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/renderkid/-/renderkid-3.0.0.tgz#5fd823e4d6951d37358ecc9a58b1f06836b6268a" + integrity sha512-q/7VIQA8lmM1hF+jn+sFSPWGlMkSAeNYcPLmDQx2zzuiDfaLrOmumR8iaUKlenFgh0XRPIUeSPlH3A+AW3Z5pg== dependencies: css-select "^4.1.3" dom-converter "^0.2.0" htmlparser2 "^6.1.0" lodash "^4.17.21" - strip-ansi "^3.0.1" + strip-ansi "^6.0.1" repeat-element@^1.1.2: version "1.1.4" @@ -11141,23 +10180,11 @@ repeat-string@^1.5.2, repeat-string@^1.5.4, repeat-string@^1.6.1: resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc= -repeating@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" - integrity sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo= - dependencies: - is-finite "^1.0.0" - replace-ext@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.0.tgz#de63128373fcbf7c3ccfa4de5a480c45a67958eb" integrity sha1-3mMSg3P8v3w8z6TeWkgMRaZ5WOs= -replace-ext@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.1.tgz#2d6d996d04a15855d967443631dd5f77825b016a" - integrity sha512-yD5BHCe7quCgBph4rMQ+0KkIRKwWCrHDOX1p1Gp6HwjPM5kVoCdKGNhN7ydqqsX6lJEnQDKZ/tFMiEdQ1dvPEw== - request@^2.88.0: version "2.88.2" resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" @@ -11189,16 +10216,11 @@ require-directory@^2.1.1: resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= -require-from-string@^2.0.1: +require-from-string@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== -require-main-filename@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" - integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== - require-package-name@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/require-package-name/-/require-package-name-2.0.1.tgz#c11e97276b65b8e2923f75dabf5fb2ef0c3841b9" @@ -11209,17 +10231,10 @@ requires-port@^1.0.0: resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8= -resolve-cwd@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a" - integrity sha1-AKn3OHVW4nA46uIyyqNypqWbZlo= - dependencies: - resolve-from "^3.0.0" - -resolve-dir@^1.0.0: +resolve-dir@^1.0.0, resolve-dir@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/resolve-dir/-/resolve-dir-1.0.1.tgz#79a40644c362be82f26effe739c9bb5382046f43" - integrity sha1-eaQGRMNivoLybv/nOcm7U4IEb0M= + integrity sha512-R7uiTjECzvOsWSfdM0QKFNBVFcK27aHOUwdvK53BcW8zqnGdYp0Fbj82cy54+2A4P2tFM22J5kRfe1R+lM/1yg== dependencies: expand-tilde "^2.0.0" global-modules "^1.0.0" @@ -11234,36 +10249,25 @@ resolve-from@^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-pathname@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/resolve-pathname/-/resolve-pathname-3.0.0.tgz#99d02224d3cf263689becbb393bc560313025dcd" integrity sha512-C7rARubxI8bXFNB/hqcp/4iUeIXJhJZvFPFPiSPRnhU5UPxzMFIl+2E6yY6c4k9giDJAhtV+enfA+G89N6Csng== -resolve-url-loader@3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/resolve-url-loader/-/resolve-url-loader-3.1.3.tgz#49ec68340f67d8d2ab6b401948d5def3ab2d0367" - integrity sha512-WbDSNFiKPPLem1ln+EVTE+bFUBdTTytfQZWbmghroaFNFaAVmGq0Saqw6F/306CwgPXsGwXVxbODE+3xAo/YbA== - dependencies: - adjust-sourcemap-loader "3.0.0" - camelcase "5.3.1" - compose-function "3.0.3" - convert-source-map "1.7.0" - es6-iterator "2.0.3" - loader-utils "1.2.3" - postcss "7.0.21" - rework "1.0.1" - rework-visit "1.0.0" - source-map "0.6.1" - -resolve-url-loader@4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/resolve-url-loader/-/resolve-url-loader-4.0.0.tgz#d50d4ddc746bb10468443167acf800dcd6c3ad57" - integrity sha512-05VEMczVREcbtT7Bz+C+96eUO5HDNvdthIiMB34t7FcF8ehcu4wC0sSgPUubs3XW2Q3CNLJk/BJrCU9wVRymiA== +resolve-url-loader@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/resolve-url-loader/-/resolve-url-loader-5.0.0.tgz#ee3142fb1f1e0d9db9524d539cfa166e9314f795" + integrity sha512-uZtduh8/8srhBoMx//5bwqjQ+rfYOUq8zC9NrMUGtjBiGTtFJM42s58/36+hTqeqINcnYe08Nj3LkK9lW4N8Xg== dependencies: adjust-sourcemap-loader "^4.0.0" convert-source-map "^1.7.0" loader-utils "^2.0.0" - postcss "^7.0.35" + postcss "^8.2.14" source-map "0.6.1" resolve-url@^0.2.1: @@ -11271,7 +10275,7 @@ resolve-url@^0.2.1: resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= -resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.14.2, resolve@^1.20.0: +resolve@^1.1.7, resolve@^1.10.0, resolve@^1.14.2, resolve@^1.20.0: version "1.22.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.0.tgz#5e0b8c67c15df57a89bdbabe603a002f21731198" integrity sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw== @@ -11289,6 +10293,15 @@ resolve@^1.22.0: path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" +resolve@^1.22.3: + version "1.22.8" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d" + integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw== + dependencies: + is-core-module "^2.13.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + resolve@^2.0.0-next.3: version "2.0.0-next.3" resolved "https://registry.yarnpkg.com/resolve/-/resolve-2.0.0-next.3.tgz#d41016293d4a8586a39ca5d9b5f15cbea1f55e46" @@ -11304,22 +10317,6 @@ responselike@1.0.2, responselike@^1.0.2: dependencies: lowercase-keys "^1.0.0" -restore-cursor@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-1.0.1.tgz#34661f46886327fed2991479152252df92daa541" - integrity sha1-NGYfRohjJ/7SmRR5FSJS35LapUE= - dependencies: - exit-hook "^1.0.0" - onetime "^1.0.0" - -restore-cursor@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" - integrity sha1-n37ih/gv0ybU/RYpI9YhKe7g368= - dependencies: - onetime "^2.0.0" - signal-exit "^3.0.2" - restore-cursor@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" @@ -11333,66 +10330,43 @@ ret@~0.1.10: resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg== -retry@^0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" - integrity sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs= +retry@^0.13.1: + version "0.13.1" + resolved "https://registry.yarnpkg.com/retry/-/retry-0.13.1.tgz#185b1587acf67919d63b357349e03537b2484658" + integrity sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg== reusify@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -rework-visit@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/rework-visit/-/rework-visit-1.0.0.tgz#9945b2803f219e2f7aca00adb8bc9f640f842c9a" - integrity sha1-mUWygD8hni96ygCtuLyfZA+ELJo= - -rework@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/rework/-/rework-1.0.1.tgz#30806a841342b54510aa4110850cd48534144aa7" - integrity sha1-MIBqhBNCtUUQqkEQhQzUhTQUSqc= - dependencies: - convert-source-map "^0.3.3" - css "^2.0.0" - -rimraf@2.6.3, rimraf@~2.6.2: - version "2.6.3" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" - integrity sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA== - dependencies: - glob "^7.1.3" - -rimraf@^2.5.4, rimraf@^2.6.3: +rimraf@^2.6.3: version "2.7.1" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== dependencies: glob "^7.1.3" -rimraf@^3.0.0, rimraf@^3.0.2: +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== dependencies: glob "^7.1.3" -ripemd160@^2.0.0, ripemd160@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" - integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== +rimraf@~2.6.2: + version "2.6.3" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" + integrity sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA== dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" + glob "^7.1.3" -run-async@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/run-async/-/run-async-0.1.0.tgz#c8ad4a5e110661e402a7d21b530e009f25f8e389" - integrity sha1-yK1KXhEGYeQCp9IbUw4AnyX444k= - dependencies: - once "^1.3.0" +rrweb-cssom@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/rrweb-cssom/-/rrweb-cssom-0.6.0.tgz#ed298055b97cbddcdeb278f904857629dec5e0e1" + integrity sha512-APM0Gt1KoXBz0iIkkdB/kfvGOwC4UuJFeG/c+yV7wSc7q96cG/kJ0HiYCnzivD9SB53cLV1MlHFNfOuPaadYSw== -run-async@^2.2.0, run-async@^2.4.0: +run-async@^2.4.0: version "2.4.1" resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== @@ -11404,38 +10378,26 @@ run-parallel@^1.1.9: dependencies: queue-microtask "^1.2.2" -run-queue@^1.0.0, run-queue@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/run-queue/-/run-queue-1.0.3.tgz#e848396f057d223f24386924618e25694161ec47" - integrity sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec= - dependencies: - aproba "^1.1.1" - -rx-lite@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-3.1.2.tgz#19ce502ca572665f3b647b10939f97fd1615f102" - integrity sha1-Gc5QLKVyZl87ZHsQk5+X/RYV8QI= - -rxjs@^5.5.2: - version "5.5.12" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.5.12.tgz#6fa61b8a77c3d793dbaf270bee2f43f652d741cc" - integrity sha512-xx2itnL5sBbqeeiVgNPVuQQ1nC8Jp2WfNJhXWHmElW9YmrpS9UVnNzhP3EH3HFqexO5Tlp8GhYY+WEcqcVMvGw== - dependencies: - symbol-observable "1.0.1" - -rxjs@^6.4.0, rxjs@^6.6.0: +rxjs@^6.6.0: version "6.6.7" resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== dependencies: tslib "^1.9.0" +rxjs@^7.5.5: + version "7.8.1" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543" + integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg== + dependencies: + tslib "^2.1.0" + safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: version "5.1.2" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: +safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== @@ -11447,21 +10409,18 @@ safe-regex@^1.1.0: dependencies: ret "~0.1.10" -"safer-buffer@>= 2.1.2 < 3", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@^2.1.2, safer-buffer@~2.1.0: +"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@^2.1.2, safer-buffer@~2.1.0: version "2.1.2" resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== -sass-loader@10.2.0: - version "10.2.0" - resolved "https://registry.yarnpkg.com/sass-loader/-/sass-loader-10.2.0.tgz#3d64c1590f911013b3fa48a0b22a83d5e1494716" - integrity sha512-kUceLzC1gIHz0zNJPpqRsJyisWatGYNFRmv2CKZK2/ngMJgLqxTbXwe/hJ85luyvZkgqU3VlJ33UVF2T/0g6mw== +sass-loader@12.4.0: + version "12.4.0" + resolved "https://registry.yarnpkg.com/sass-loader/-/sass-loader-12.4.0.tgz#260b0d51a8a373bb8e88efc11f6ba5583fea0bcf" + integrity sha512-7xN+8khDIzym1oL9XyS6zP6Ges+Bo2B2xbPrjdMHEYyV3AQYhd/wXeru++3ODHF0zMjYmVadblSKrPrjEkL8mg== dependencies: klona "^2.0.4" - loader-utils "^2.0.0" neo-async "^2.6.2" - schema-utils "^3.0.0" - semver "^7.3.2" sass@1.50.0: version "1.50.0" @@ -11486,21 +10445,13 @@ sax@1.2.4, sax@>=0.6.0, sax@^1.2.4, sax@~1.2.4: resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw== -saxes@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/saxes/-/saxes-5.0.1.tgz#eebab953fa3b7608dbe94e5dadb15c888fa6696d" - integrity sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw== +saxes@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/saxes/-/saxes-6.0.0.tgz#fe5b4a4768df4f14a201b1ba6a65c1f3d9988cc5" + integrity sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA== dependencies: xmlchars "^2.2.0" -scheduler@^0.20.1, scheduler@^0.20.2: - version "0.20.2" - resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.20.2.tgz#4baee39436e34aa93b4874bddcbf0fe8b8b50e91" - integrity sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ== - dependencies: - loose-envify "^1.1.0" - object-assign "^4.1.1" - scheduler@^0.21.0: version "0.21.0" resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.21.0.tgz#6fd2532ff5a6d877b6edb12f00d8ab7e8f308820" @@ -11508,16 +10459,14 @@ scheduler@^0.21.0: dependencies: loose-envify "^1.1.0" -schema-utils@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-1.0.0.tgz#0b79a93204d7b600d4b2850d1f66c2a34951c770" - integrity sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g== +scheduler@^0.23.0: + version "0.23.0" + resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" + integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== dependencies: - ajv "^6.1.0" - ajv-errors "^1.0.0" - ajv-keywords "^3.1.0" + loose-envify "^1.1.0" -schema-utils@^2.6.0, schema-utils@^2.6.5, schema-utils@^2.6.6, schema-utils@^2.7.0: +schema-utils@^2.6.5: version "2.7.1" resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.7.1.tgz#1ca4f32d1b24c590c203b8e7a50bf0ea4cd394d7" integrity sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg== @@ -11526,15 +10475,25 @@ schema-utils@^2.6.0, schema-utils@^2.6.5, schema-utils@^2.6.6, schema-utils@^2.7 ajv "^6.12.4" ajv-keywords "^3.5.2" -schema-utils@^3.0.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.1.1.tgz#bc74c4b6b6995c1d88f76a8b77bea7219e0c8281" - integrity sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw== +schema-utils@^3.1.1: + version "3.3.0" + resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.3.0.tgz#f50a88877c3c01652a15b622ae9e9795df7a60fe" + integrity sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg== dependencies: "@types/json-schema" "^7.0.8" ajv "^6.12.5" ajv-keywords "^3.5.2" +schema-utils@^4.0.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-4.2.0.tgz#70d7c93e153a273a805801882ebd3bff20d89c8b" + integrity sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw== + dependencies: + "@types/json-schema" "^7.0.9" + ajv "^8.9.0" + ajv-formats "^2.1.1" + ajv-keywords "^5.1.0" + scss-bundle@^3.0.2: version "3.1.2" resolved "https://registry.yarnpkg.com/scss-bundle/-/scss-bundle-3.1.2.tgz#8919dd7603d01a84822e8aab5210e5b0b50c548b" @@ -11571,26 +10530,27 @@ select-hose@^2.0.0: resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca" integrity sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo= -selfsigned@^1.10.8: - version "1.10.14" - resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-1.10.14.tgz#ee51d84d9dcecc61e07e4aba34f229ab525c1574" - integrity sha512-lkjaiAye+wBZDCBsu5BGi0XiLRxeUlsGod5ZP924CRSEoGuZAw/f7y9RKu28rwTfiHVhdavhB0qH0INV6P1lEA== +selfsigned@^2.1.1: + version "2.4.1" + resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-2.4.1.tgz#560d90565442a3ed35b674034cec4e95dceb4ae0" + integrity sha512-th5B4L2U+eGLq1TVh7zNRGBapioSORUeymIydxgFpwww9d2qyKvtuPU2jJuHvYAwwqi2Y596QBL3eEqcPEYL8Q== dependencies: - node-forge "^0.10.0" + "@types/node-forge" "^1.3.0" + node-forge "^1" semver-compare@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/semver-compare/-/semver-compare-1.0.0.tgz#0dee216a1c941ab37e9efb1788f6afc5ff5537fc" integrity sha1-De4hahyUGrN+nvsXiPavxf9VN/w= -semver-diff@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/semver-diff/-/semver-diff-2.1.0.tgz#4bbb8437c8d37e4b0cf1a68fd726ec6d645d6d36" - integrity sha1-S7uEN8jTfksM8aaP1ybsbWRdbTY= +semver-diff@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/semver-diff/-/semver-diff-3.1.1.tgz#05f77ce59f325e00e2706afd67bb506ddb1ca32b" + integrity sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg== dependencies: - semver "^5.0.3" + semver "^6.3.0" -"semver@2 || 3 || 4 || 5", semver@^5.0.1, semver@^5.0.3, semver@^5.1.0, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0: +"semver@2 || 3 || 4 || 5", semver@^5.6.0: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== @@ -11605,7 +10565,14 @@ semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== -semver@^7.3.2, semver@^7.3.4, semver@^7.3.5: +semver@^7.0.0, semver@^7.3.8, semver@^7.5.4: + version "7.6.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.0.tgz#1a46a4db4bffcccd97b743b5005c8325f23d4e2d" + integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg== + dependencies: + lru-cache "^6.0.0" + +semver@^7.3.4: version "7.3.5" resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7" integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ== @@ -11619,29 +10586,29 @@ semver@^7.3.7: dependencies: lru-cache "^6.0.0" -send@0.17.2: - version "0.17.2" - resolved "https://registry.yarnpkg.com/send/-/send-0.17.2.tgz#926622f76601c41808012c8bf1688fe3906f7820" - integrity sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww== +send@0.18.0: + version "0.18.0" + resolved "https://registry.yarnpkg.com/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be" + integrity sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg== dependencies: debug "2.6.9" - depd "~1.1.2" - destroy "~1.0.4" + depd "2.0.0" + destroy "1.2.0" encodeurl "~1.0.2" escape-html "~1.0.3" etag "~1.8.1" fresh "0.5.2" - http-errors "1.8.1" + http-errors "2.0.0" mime "1.6.0" ms "2.1.3" - on-finished "~2.3.0" + on-finished "2.4.1" range-parser "~1.2.1" - statuses "~1.5.0" + statuses "2.0.1" -serialize-javascript@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-4.0.0.tgz#b525e1238489a5ecfc42afacc3fe99e666f4b1aa" - integrity sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw== +serialize-javascript@^6.0.0, serialize-javascript@^6.0.1: + version "6.0.2" + resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.2.tgz#defa1e055c83bf6d59ea805d8da862254eb6a6c2" + integrity sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g== dependencies: randombytes "^2.1.0" @@ -11658,20 +10625,15 @@ serve-index@^1.9.1: mime-types "~2.1.17" parseurl "~1.3.2" -serve-static@1.14.2: - version "1.14.2" - resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.14.2.tgz#722d6294b1d62626d41b43a013ece4598d292bfa" - integrity sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ== +serve-static@1.15.0: + version "1.15.0" + resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.15.0.tgz#faaef08cffe0a1a62f60cad0c4e513cff0ac9540" + integrity sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g== dependencies: encodeurl "~1.0.2" escape-html "~1.0.3" parseurl "~1.3.3" - send "0.17.2" - -set-blocking@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" - integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= + send "0.18.0" set-value@^2.0.0, set-value@^2.0.1: version "2.0.1" @@ -11683,11 +10645,6 @@ set-value@^2.0.0, set-value@^2.0.1: is-plain-object "^2.0.3" split-string "^3.0.1" -setimmediate@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" - integrity sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU= - setprototypeof@1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" @@ -11698,14 +10655,6 @@ setprototypeof@1.2.0: resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== -sha.js@^2.4.0, sha.js@^2.4.8: - version "2.4.11" - resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" - integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" - shallow-clone@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" @@ -11713,13 +10662,6 @@ shallow-clone@^3.0.0: dependencies: kind-of "^6.0.2" -shebang-command@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" - integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo= - dependencies: - shebang-regex "^1.0.0" - shebang-command@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" @@ -11727,25 +10669,11 @@ shebang-command@^2.0.0: dependencies: shebang-regex "^3.0.0" -shebang-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" - integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM= - shebang-regex@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -shelljs@^0.8.1: - version "0.8.5" - resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.5.tgz#de055408d8361bed66c669d2f000538ced8ee20c" - integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow== - dependencies: - glob "^7.0.0" - interpret "^1.0.0" - rechoir "^0.6.2" - side-channel@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" @@ -11755,26 +10683,31 @@ side-channel@^1.0.4: get-intrinsic "^1.0.2" object-inspect "^1.9.0" -signal-exit@^3.0.0, signal-exit@^3.0.2: +signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3: version "3.0.7" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== +signal-exit@^4.0.1: + version "4.1.0" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" + integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== + slash@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" integrity sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU= -slash@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" - integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== - slash@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== +slash@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-4.0.0.tgz#2422372176c4c6c5addb5e2ada885af984b396a7" + integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew== + slice-ansi@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-1.0.0.tgz#044f1a49d8842ff307aad6b505ed178bd950134d" @@ -11782,15 +10715,6 @@ slice-ansi@1.0.0: dependencies: is-fullwidth-code-point "^2.0.0" -slice-ansi@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-2.1.0.tgz#cacd7693461a637a5788d92a7dd4fba068e81636" - integrity sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ== - dependencies: - ansi-styles "^3.2.0" - astral-regex "^1.0.0" - is-fullwidth-code-point "^2.0.0" - snapdragon-node@^2.0.1: version "2.1.1" resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" @@ -11821,18 +10745,7 @@ snapdragon@^0.8.1: source-map-resolve "^0.5.0" use "^3.1.0" -sockjs-client@^1.5.0: - version "1.6.1" - resolved "https://registry.yarnpkg.com/sockjs-client/-/sockjs-client-1.6.1.tgz#350b8eda42d6d52ddc030c39943364c11dcad806" - integrity sha512-2g0tjOR+fRs0amxENLi/q5TiJTqY+WXFOzb5UwXndlK6TO3U/mirZznpx6w34HVMoc3g7cY24yC/ZMIYnDlfkw== - dependencies: - debug "^3.2.7" - eventsource "^2.0.2" - faye-websocket "^0.11.4" - inherits "^2.0.4" - url-parse "^1.5.10" - -sockjs@^0.3.21: +sockjs@^0.3.24: version "0.3.24" resolved "https://registry.yarnpkg.com/sockjs/-/sockjs-0.3.24.tgz#c9bc8995f33a111bea0395ec30aa3206bdb5ccce" integrity sha512-GJgLTZ7vYb/JtPSSZ10hsOYIvEYsjbNU+zPdIHcUaWVNUEPivzxku31865sSSud0Da0W4lEeOPlmw93zLQchuQ== @@ -11862,22 +10775,17 @@ sort-keys@^2.0.0: dependencies: is-plain-obj "^1.0.0" -source-list-map@^2.0.0: +source-list-map@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34" integrity sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw== -"source-map-js@>=0.6.2 <2.0.0": +"source-map-js@>=0.6.2 <2.0.0", source-map-js@^1.0.1, source-map-js@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== -source-map-js@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-0.6.2.tgz#0bb5de631b41cfbda6cfba8bd05a80efdfd2385e" - integrity sha512-/3GptzWzu0+0MBQFrDKzw/DvvMTUORvgY6k6jd/VS6iCR4RDTKWH6v6WPwQoUO8667uQEf9Oe38DxAYWY5F/Ug== - -source-map-resolve@^0.5.0, source-map-resolve@^0.5.2: +source-map-resolve@^0.5.0: version "0.5.3" resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a" integrity sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw== @@ -11896,14 +10804,7 @@ source-map-resolve@^0.6.0: atob "^2.1.2" decode-uri-component "^0.2.0" -source-map-support@^0.4.15: - version "0.4.18" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f" - integrity sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA== - dependencies: - source-map "^0.5.6" - -source-map-support@^0.5.13, source-map-support@^0.5.16, source-map-support@~0.5.12: +source-map-support@^0.5.13, source-map-support@^0.5.16, source-map-support@~0.5.20: version "0.5.21" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== @@ -11921,7 +10822,7 @@ source-map@0.6.1, source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, sourc resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== -source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@^0.5.7: +source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6: version "0.5.7" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= @@ -11985,11 +10886,6 @@ specificity@^0.3.1: resolved "https://registry.yarnpkg.com/specificity/-/specificity-0.3.2.tgz#99e6511eceef0f8d9b57924937aac2cb13d13c42" integrity sha512-Nc/QN/A425Qog7j9aHmwOrlwX2e7pNI47ciwxwy4jOlvbbMHkNNJchit+FX+UjF3IAdiaaV5BKeWuDUnws6G1A== -split-on-first@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" - integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== - split-string@^3.0.1, split-string@^3.0.2: version "3.1.0" resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" @@ -12022,24 +10918,15 @@ ssr-window@^3.0.0, ssr-window@^3.0.0-alpha.1: resolved "https://registry.yarnpkg.com/ssr-window/-/ssr-window-3.0.0.tgz#fd5b82801638943e0cc704c4691801435af7ac37" integrity sha512-q+8UfWDg9Itrg0yWK7oe5p/XRCJpJF9OBtXfOPgSJl+u3Xd5KI328RUEvUqSMVM9CiQUEf1QdBzJMkYGErj9QA== -ssri@^6.0.1: - version "6.0.2" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-6.0.2.tgz#157939134f20464e7301ddba3e90ffa8f7728ac5" - integrity sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q== - dependencies: - figgy-pudding "^3.5.1" - -ssri@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-8.0.1.tgz#638e4e439e2ffbd2cd289776d5ca457c4f51a2af" - integrity sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ== - dependencies: - minipass "^3.1.1" +stable@^0.1.8: + version "0.1.8" + resolved "https://registry.yarnpkg.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf" + integrity sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w== -stackframe@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/stackframe/-/stackframe-0.3.1.tgz#33aa84f1177a5548c8935533cbfeb3420975f5a4" - integrity sha1-M6qE8Rd6VUjIk1Uzy/6zQgl19aQ= +stackframe@^1.1.1: + version "1.3.4" + resolved "https://registry.yarnpkg.com/stackframe/-/stackframe-1.3.4.tgz#b881a004c8c149a5e8efef37d51b16e412943310" + integrity sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw== state-toggle@^1.0.0: version "1.0.3" @@ -12054,63 +10941,36 @@ static-extend@^0.1.1: define-property "^0.2.5" object-copy "^0.1.0" -"statuses@>= 1.4.0 < 2", "statuses@>= 1.5.0 < 2", statuses@~1.5.0: +statuses@2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" + integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== + +"statuses@>= 1.4.0 < 2": version "1.5.0" resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= -stream-browserify@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.2.tgz#87521d38a44aa7ee91ce1cd2a47df0cb49dd660b" - integrity sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg== - dependencies: - inherits "~2.0.1" - readable-stream "^2.0.2" - -stream-each@^1.1.0: - version "1.2.3" - resolved "https://registry.yarnpkg.com/stream-each/-/stream-each-1.2.3.tgz#ebe27a0c389b04fbcc233642952e10731afa9bae" - integrity sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw== - dependencies: - end-of-stream "^1.1.0" - stream-shift "^1.0.0" - -stream-http@^2.7.2: - version "2.8.3" - resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.8.3.tgz#b2d242469288a5a27ec4fe8933acf623de6514fc" - integrity sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw== - dependencies: - builtin-status-codes "^3.0.0" - inherits "^2.0.1" - readable-stream "^2.3.6" - to-arraybuffer "^1.0.0" - xtend "^4.0.0" - -stream-shift@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.1.tgz#d7088281559ab2778424279b0877da3c392d5a3d" - integrity sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ== +std-env@^3.0.1: + version "3.7.0" + resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.7.0.tgz#c9f7386ced6ecf13360b6c6c55b8aaa4ef7481d2" + integrity sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg== strict-uri-encode@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713" integrity sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM= -strict-uri-encode@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" - integrity sha1-ucczDHBChi9rFC3CdLvMWGbONUY= - -string-width@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" - integrity sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M= +"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== dependencies: - code-point-at "^1.0.0" - is-fullwidth-code-point "^1.0.0" - strip-ansi "^3.0.0" + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" -string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1: +string-width@^2.1.0, string-width@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== @@ -12118,23 +10978,14 @@ string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" -string-width@^3.0.0, string-width@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" - integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== - dependencies: - emoji-regex "^7.0.1" - is-fullwidth-code-point "^2.0.0" - strip-ansi "^5.1.0" - -string-width@^4.1.0, string-width@^4.2.0: - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== +string-width@^5.0.1, string-width@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" + integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" + eastasianwidth "^0.2.0" + emoji-regex "^9.2.2" + strip-ansi "^7.0.1" string.fromcodepoint@^0.2.1: version "0.2.1" @@ -12171,7 +11022,7 @@ string.prototype.trimstart@^1.0.4: call-bind "^1.0.2" define-properties "^1.1.3" -string_decoder@^1.0.0, string_decoder@^1.1.1: +string_decoder@^1.1.1: version "1.3.0" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== @@ -12195,7 +11046,14 @@ stringify-entities@^1.0.1: is-alphanumerical "^1.0.0" is-hexadecimal "^1.0.0" -strip-ansi@^3.0.0, strip-ansi@^3.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.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-ansi@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" integrity sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8= @@ -12209,41 +11067,12 @@ strip-ansi@^4.0.0: dependencies: ansi-regex "^3.0.0" -strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" - integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== - dependencies: - ansi-regex "^4.1.0" - -strip-ansi@^6.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-buf@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-bom-buf/-/strip-bom-buf-1.0.0.tgz#1cb45aaf57530f4caf86c7f75179d2c9a51dd572" - integrity sha1-HLRar1dTD0yvhsf3UXnSyaUd1XI= - dependencies: - is-utf8 "^0.2.1" - -strip-bom-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strip-bom-stream/-/strip-bom-stream-2.0.0.tgz#f87db5ef2613f6968aa545abfe1ec728b6a829ca" - integrity sha1-+H217yYT9paKpUWr/h7HKLaoKco= - dependencies: - first-chunk-stream "^2.0.0" - strip-bom "^2.0.0" - -strip-bom@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" - integrity sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4= +strip-ansi@^7.0.1: + version "7.1.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" + integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ== dependencies: - is-utf8 "^0.2.0" + ansi-regex "^6.0.1" strip-bom@^3.0.0: version "3.0.0" @@ -12257,33 +11086,33 @@ strip-dirs@^2.0.0: dependencies: is-natural-number "^4.0.1" -strip-eof@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" - integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8= - -strip-indent@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-1.0.1.tgz#0c7962a6adefa7bbd4ac366460a638552ae1a0a2" - integrity sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI= - dependencies: - get-stdin "^4.0.1" +strip-final-newline@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" + integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== strip-indent@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68" integrity sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g= -strip-json-comments@^2.0.1, strip-json-comments@~2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" - integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= +strip-indent@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001" + integrity sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ== + dependencies: + min-indent "^1.0.0" -strip-json-comments@^3.0.1, strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: +strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== +strip-json-comments@~2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" + integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= + strip-outer@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/strip-outer/-/strip-outer-1.0.1.tgz#b2fd2abf6604b9d1e6013057195df836b8a9d631" @@ -12291,19 +11120,24 @@ strip-outer@^1.0.0: dependencies: escape-string-regexp "^1.0.2" -style-loader@1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-1.3.0.tgz#828b4a3b3b7e7aa5847ce7bae9e874512114249e" - integrity sha512-V7TCORko8rs9rIqkSrlMfkqA63DfoGBBJmK1kKGCcSi+BWb4cqz0SRsnp4l6rU5iwOEd0/2ePv68SV22VXon4Q== - dependencies: - loader-utils "^2.0.0" - schema-utils "^2.7.0" +style-loader@3.3.1: + version "3.3.1" + resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-3.3.1.tgz#057dfa6b3d4d7c7064462830f9113ed417d38575" + integrity sha512-GPcQ+LDJbrcxHORTRes6Jy2sfvK2kS6hpSfI/fXhPt+spVzxF6LJ1dHLN9zIGmVaaP044YKaIatFaufENRiDoQ== style-search@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/style-search/-/style-search-0.1.0.tgz#7958c793e47e32e07d2b5cafe5c0bf8e12e77902" integrity sha1-eVjHk+R+MuB9K1yv5cC/jhLneQI= +stylehacks@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/stylehacks/-/stylehacks-5.1.1.tgz#7934a34eb59d7152149fa69d6e9e56f2fc34bcc9" + integrity sha512-sBpcd5Hx7G6seo7b1LkpttvTz7ikD0LlH5RmdcBNb6fFR0Fl7LQwHDFr300q4cwUqi+IYrFGmsIHieMBfnN/Bw== + dependencies: + browserslist "^4.21.4" + postcss-selector-parser "^6.0.4" + stylelint@9.3.0: version "9.3.0" resolved "https://registry.yarnpkg.com/stylelint/-/stylelint-9.3.0.tgz#fe176e4e421ac10eac1a6b6d9f28e908eb58c5db" @@ -12353,14 +11187,14 @@ stylelint@9.3.0: svg-tags "^1.0.0" table "^4.0.1" -stylus-loader@3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/stylus-loader/-/stylus-loader-3.0.2.tgz#27a706420b05a38e038e7cacb153578d450513c6" - integrity sha512-+VomPdZ6a0razP+zinir61yZgpw2NfljeSsdUF5kJuEzlo3khXhY19Fn6l8QQz1GRJGtMCo8nG5C04ePyV7SUA== +stylus-loader@6.2.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/stylus-loader/-/stylus-loader-6.2.0.tgz#0ba499e744e7fb9d9b3977784c8639728a7ced8c" + integrity sha512-5dsDc7qVQGRoc6pvCL20eYgRUxepZ9FpeK28XhdXaIPP6kXr6nI1zAAKFQgP5OBkOfKaURp4WUpJzspg1f01Gg== dependencies: - loader-utils "^1.0.2" - lodash.clonedeep "^4.5.0" - when "~3.6.x" + fast-glob "^3.2.7" + klona "^2.0.4" + normalize-path "^3.0.0" stylus@^0.55.0: version "0.55.0" @@ -12402,13 +11236,6 @@ supports-color@^5.3.0, supports-color@^5.4.0: dependencies: has-flag "^3.0.0" -supports-color@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-6.1.0.tgz#0764abc69c63d5ac842dd4867e8d025e880df8f3" - integrity sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ== - dependencies: - has-flag "^3.0.0" - supports-color@^7.0.0, supports-color@^7.1.0: version "7.2.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" @@ -12416,6 +11243,13 @@ supports-color@^7.0.0, supports-color@^7.1.0: dependencies: has-flag "^4.0.0" +supports-color@^8.0.0: + version "8.1.1" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" + integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== + dependencies: + has-flag "^4.0.0" + supports-hyperlinks@^2.2.0: version "2.3.0" resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz#3943544347c1ff90b15effb03fc14ae45ec10624" @@ -12434,6 +11268,19 @@ svg-tags@^1.0.0: resolved "https://registry.yarnpkg.com/svg-tags/-/svg-tags-1.0.0.tgz#58f71cee3bd519b59d4b2a843b6c7de64ac04764" integrity sha1-WPcc7jvVGbWdSyqEO2x95krAR2Q= +svgo@^2.7.0: + version "2.8.0" + resolved "https://registry.yarnpkg.com/svgo/-/svgo-2.8.0.tgz#4ff80cce6710dc2795f0c7c74101e6764cfccd24" + integrity sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg== + dependencies: + "@trysound/sax" "0.2.0" + commander "^7.2.0" + css-select "^4.1.3" + css-tree "^1.1.3" + csso "^4.2.0" + picocolors "^1.0.0" + stable "^0.1.8" + swiper@6.8.0: version "6.8.0" resolved "https://registry.yarnpkg.com/swiper/-/swiper-6.8.0.tgz#61c850f49ba778e403f00a01fe0b768bd85d0d20" @@ -12442,11 +11289,6 @@ swiper@6.8.0: dom7 "^3.0.0" ssr-window "^3.0.0" -symbol-observable@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.1.tgz#8340fc4702c3122df5d22288f88283f513d3fdd4" - integrity sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ= - symbol-tree@^3.2.4: version "3.2.4" resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" @@ -12464,21 +11306,16 @@ table@^4.0.1: slice-ansi "1.0.0" string-width "^2.1.1" -table@^5.2.3: - version "5.4.6" - resolved "https://registry.yarnpkg.com/table/-/table-5.4.6.tgz#1292d19500ce3f86053b05f0e8e7e4a3bb21079e" - integrity sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug== - dependencies: - ajv "^6.10.2" - lodash "^4.17.14" - slice-ansi "^2.1.0" - string-width "^3.0.0" - -tapable@^1.0.0, tapable@^1.1.3: +tapable@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== +tapable@^2.0.0, tapable@^2.2.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" + integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== + tar-stream@^1.5.2: version "1.6.2" resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-1.6.2.tgz#8ea55dab37972253d9a9af90fdcd559ae435c555" @@ -12492,83 +11329,26 @@ tar-stream@^1.5.2: to-buffer "^1.1.1" xtend "^4.0.0" -tar@^6.0.2: - version "6.1.11" - resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.11.tgz#6760a38f003afa1b2ffd0ffe9e9abbd0eab3d621" - integrity sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA== - dependencies: - chownr "^2.0.0" - fs-minipass "^2.0.0" - minipass "^3.0.0" - minizlib "^2.1.1" - mkdirp "^1.0.3" - yallist "^4.0.0" - -taro-css-to-react-native@3.5.6: - version "3.5.6" - resolved "https://registry.yarnpkg.com/taro-css-to-react-native/-/taro-css-to-react-native-3.5.6.tgz#8fc49fe8c004d76c17202e38d423d6a458d1daef" - integrity sha512-cEXlkoEs3KGaAC3Clb4+jk46Agn7/35lYIlUWRPW1uwssNqAqmUrZA9xgQ8iMOi08LUpob910bH1w9uEU+Mb/Q== - dependencies: - camelize "^1.0.0" - css "^3.0.0" - css-color-keywords "^1.0.0" - css-mediaquery "^0.1.2" - postcss-value-parser "^3.3.0" - -term-size@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/term-size/-/term-size-1.2.0.tgz#458b83887f288fc56d6fffbfad262e26638efa69" - integrity sha1-RYuDiH8oj8Vtb/+/rSYuJmOO+mk= - dependencies: - execa "^0.7.0" - -terser-webpack-plugin@^1.4.3: - version "1.4.5" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-1.4.5.tgz#a217aefaea330e734ffacb6120ec1fa312d6040b" - integrity sha512-04Rfe496lN8EYruwi6oPQkG0vo8C+HT49X687FZnpPF0qMAIHONI6HEXYPKDOE8e5HjXTyKfqRd/agHtH0kOtw== - dependencies: - cacache "^12.0.2" - find-cache-dir "^2.1.0" - is-wsl "^1.1.0" - schema-utils "^1.0.0" - serialize-javascript "^4.0.0" - source-map "^0.6.1" - terser "^4.1.2" - webpack-sources "^1.4.0" - worker-farm "^1.7.0" - -terser-webpack-plugin@^3.0.5: - version "3.1.0" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-3.1.0.tgz#91e6d39571460ed240c0cf69d295bcf30ebf98cb" - integrity sha512-cjdZte66fYkZ65rQ2oJfrdCAkkhJA7YLYk5eGOcGCSGlq0ieZupRdjedSQXYknMPo2IveQL+tPdrxUkERENCFA== - dependencies: - cacache "^15.0.5" - find-cache-dir "^3.3.1" - jest-worker "^26.2.1" - p-limit "^3.0.2" - schema-utils "^2.6.6" - serialize-javascript "^4.0.0" - source-map "^0.6.1" - terser "^4.8.0" - webpack-sources "^1.4.3" - -terser@^4.1.2, terser@^4.8.0: - version "4.8.0" - resolved "https://registry.yarnpkg.com/terser/-/terser-4.8.0.tgz#63056343d7c70bb29f3af665865a46fe03a0df17" - integrity sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw== +terser-webpack-plugin@^5.1.3: + version "5.3.10" + resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz#904f4c9193c6fd2a03f693a2150c62a92f40d199" + integrity sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w== dependencies: - commander "^2.20.0" - source-map "~0.6.1" - source-map-support "~0.5.12" + "@jridgewell/trace-mapping" "^0.3.20" + jest-worker "^27.4.5" + schema-utils "^3.1.1" + serialize-javascript "^6.0.1" + terser "^5.26.0" -terser@^4.6.3: - version "4.8.1" - resolved "https://registry.yarnpkg.com/terser/-/terser-4.8.1.tgz#a00e5634562de2239fd404c649051bf6fc21144f" - integrity sha512-4GnLC0x667eJG0ewJTa6z/yXrbLGv80D9Ru6HIpCQmO+Q4PfEtBFi0ObSckqwL6VyQv/7ENJieXHo2ANmdQwgw== +terser@^5.10.0, terser@^5.26.0: + version "5.28.1" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.28.1.tgz#bf00f7537fd3a798c352c2d67d67d65c915d1b28" + integrity sha512-wM+bZp54v/E9eRRGXb5ZFDvinrJIOaTapx3WUokyVGZu5ucVCK55zEgGd5Dl2fSr3jUo5sDiERErUWLY6QPFyA== dependencies: + "@jridgewell/source-map" "^0.3.3" + acorn "^8.8.2" commander "^2.20.0" - source-map "~0.6.1" - source-map-support "~0.5.12" + source-map-support "~0.5.20" text-table@^0.2.0: version "0.2.0" @@ -12589,26 +11369,10 @@ thenify-all@^1.0.0: dependencies: any-promise "^1.0.0" -throat@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/throat/-/throat-2.0.2.tgz#a9fce808b69e133a632590780f342c30a6249b02" - integrity sha1-qfzoCLaeEzpjJZB4DzQsMKYkmwI= - -through2@^2.0.0: - version "2.0.5" - resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" - integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ== - dependencies: - readable-stream "~2.3.6" - xtend "~4.0.1" - -through2@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/through2/-/through2-3.0.2.tgz#99f88931cfc761ec7678b41d5d7336b5b6a07bf4" - integrity sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ== - dependencies: - inherits "^2.0.4" - readable-stream "2 || 3" +throat@^6.0.1: + version "6.0.2" + resolved "https://registry.yarnpkg.com/throat/-/throat-6.0.2.tgz#51a3fbb5e11ae72e2cf74861ed5c8020f89f29fe" + integrity sha512-WKexMoJj3vEuK0yFEapj8y64V0A6xcuPuK9Gt1d0R+dzCSJc0lHqQytAbSB4cDAK0dWh4T0E2ETkoLE2WZ41OQ== through@^2.3.6, through@^2.3.8: version "2.3.8" @@ -12620,18 +11384,11 @@ thunky@^1.0.2: resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.1.0.tgz#5abaf714a9405db0504732bbccd2cedd9ef9537d" integrity sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA== -timed-out@^4.0.0, timed-out@^4.0.1: +timed-out@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" integrity sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8= -timers-browserify@^2.0.4: - version "2.0.12" - resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.12.tgz#44a45c11fbf407f34f97bccd1577c652361b00ee" - integrity sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ== - dependencies: - setimmediate "^1.0.4" - tmp@^0.0.33: version "0.0.33" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" @@ -12639,21 +11396,11 @@ tmp@^0.0.33: dependencies: os-tmpdir "~1.0.2" -to-arraybuffer@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43" - integrity sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M= - to-buffer@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/to-buffer/-/to-buffer-1.1.1.tgz#493bd48f62d7c43fcded313a03dcadb2e1213a80" integrity sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg== -to-fast-properties@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47" - integrity sha1-uDVx+k2MJbguIxsG46MFXeTKGkc= - to-fast-properties@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" @@ -12701,10 +11448,10 @@ toidentifier@1.0.1: resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== -tough-cookie@^4.0.0: - version "4.1.2" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.2.tgz#e53e84b85f24e0b65dd526f46628db6c85f6b874" - integrity sha512-G9fqXWoYFZgTc2z8Q5zaHy/vJMjm+WV0AkAeHxVCQiEB1b+dGvWzFW6QV07cY5jQ5gRkeid2qIkzkxUnmoQZUQ== +tough-cookie@^4.1.2: + version "4.1.3" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.3.tgz#97b9adb0728b42280aa3d814b6b999b2ff0318bf" + integrity sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw== dependencies: psl "^1.1.33" punycode "^2.1.1" @@ -12719,28 +11466,23 @@ tough-cookie@~2.5.0: psl "^1.1.28" punycode "^2.1.1" -tr46@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-2.1.0.tgz#fa87aa81ca5d5941da8cbf1f9b749dc969a4e240" - integrity sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw== +tr46@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-4.1.1.tgz#281a758dcc82aeb4fe38c7dfe4d11a395aac8469" + integrity sha512-2lv/66T7e5yNyhAAC4NaKe5nVavzuGJQVVtRYLyQ2OI8tsJ61PMLlelehb0wi2Hx6+hT/OJUWZcw8MjlSRnxvw== dependencies: - punycode "^2.1.1" - -traverse@0.6.6: - version "0.6.6" - resolved "https://registry.yarnpkg.com/traverse/-/traverse-0.6.6.tgz#cbdf560fd7b9af632502fed40f918c157ea97137" - integrity sha1-y99WD9e5r2MlAv7UD5GMFX6pcTc= - -trim-newlines@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613" - integrity sha1-WIeWa7WCpFA6QetST301ARgVphM= + punycode "^2.3.0" trim-newlines@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-2.0.0.tgz#b403d0b91be50c331dfc4b82eeceb22c3de16d20" integrity sha1-tAPQuRvlDDMd/EuC7s6yLD3hbSA= +trim-newlines@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144" + integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw== + trim-repeated@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/trim-repeated/-/trim-repeated-1.0.0.tgz#e3646a2ea4e891312bf7eace6cfb05380bc01c21" @@ -12748,11 +11490,6 @@ trim-repeated@^1.0.0: dependencies: escape-string-regexp "^1.0.2" -trim-right@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" - integrity sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM= - trim-trailing-lines@^1.0.0: version "1.1.4" resolved "https://registry.yarnpkg.com/trim-trailing-lines/-/trim-trailing-lines-1.1.4.tgz#bd4abbec7cc880462f10b2c8b5ce1d8d1ec7c2c0" @@ -12768,6 +11505,11 @@ trough@^1.0.0: resolved "https://registry.yarnpkg.com/trough/-/trough-1.0.5.tgz#b8b639cefad7d0bb2abd37d433ff8293efa5f406" integrity sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA== +ts-api-utils@^1.0.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.2.1.tgz#f716c7e027494629485b21c0df6180f4d08f5e8b" + integrity sha512-RIYA36cJn2WiH9Hy77hdF9r7oEwxAtB/TS9/S4Qd90Ap4z5FSiin5zEiTL44OII1Y3IIlEvxwxFUVgrHSZ/UpA== + tsconfig-paths@^3.12.0: version "3.12.0" resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.12.0.tgz#19769aca6ee8f6a1a341e38c8fa45dd9fb18899b" @@ -12788,6 +11530,11 @@ tslib@^2.0.3: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== +tslib@^2.1.0, tslib@^2.6.2: + version "2.6.2" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" + integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== + tslib@^2.3.0: version "2.3.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01" @@ -12800,11 +11547,6 @@ tsutils@^3.21.0: dependencies: tslib "^1.8.1" -tty-browserify@0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" - integrity sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY= - tunnel-agent@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" @@ -12831,6 +11573,11 @@ type-check@~0.3.2: dependencies: prelude-ls "~1.1.2" +type-fest@^0.18.0: + version "0.18.1" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.18.1.tgz#db4bc151a4a2cf4eebf9add5db75508db6cc841f" + integrity sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw== + type-fest@^0.20.2: version "0.20.2" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" @@ -12841,6 +11588,11 @@ type-fest@^0.21.3: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== +type-fest@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b" + integrity sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg== + type-fest@^0.8.1: version "0.8.1" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" @@ -12854,25 +11606,12 @@ type-is@~1.6.18: media-typer "0.3.0" mime-types "~2.1.24" -type@^1.0.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" - integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== - -type@^2.5.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/type/-/type-2.6.0.tgz#3ca6099af5981d36ca86b78442973694278a219f" - integrity sha512-eiDBDOmkih5pMbo9OqsqPRGMljLodLcwd5XD5JbtNB0o89xZAwynY9EdCDsJU7LtcVCClu9DvM7/0Ep1hYX3EQ== - -typedarray@^0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" - integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= - -typescript@^3.2.2: - version "3.9.10" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8" - integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q== +typedarray-to-buffer@^3.1.5: + version "3.1.5" + resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" + integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== + dependencies: + is-typedarray "^1.0.0" typescript@^4.1.0: version "4.5.5" @@ -12967,26 +11706,12 @@ uniq@^1.0.1: resolved "https://registry.yarnpkg.com/uniq/-/uniq-1.0.1.tgz#b31c5ae8254844a3a8281541ce2b04b865a734ff" integrity sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8= -unique-filename@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230" - integrity sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ== - dependencies: - unique-slug "^2.0.0" - -unique-slug@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-2.0.2.tgz#baabce91083fc64e945b0f3ad613e264f7cd4e6c" - integrity sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w== - dependencies: - imurmurhash "^0.1.4" - -unique-string@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unique-string/-/unique-string-1.0.0.tgz#9e1057cca851abb93398f8b33ae187b99caec11a" - integrity sha1-nhBXzKhRq7kzmPizOuGHuZyuwRo= +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 "^1.0.0" + crypto-random-string "^2.0.0" unist-util-find-all-after@^1.0.2: version "1.0.5" @@ -13026,13 +11751,6 @@ unist-util-visit@^1.1.0: dependencies: unist-util-visit-parents "^2.0.0" -universal-router@^8.3.0: - version "8.3.0" - resolved "https://registry.yarnpkg.com/universal-router/-/universal-router-8.3.0.tgz#533bce135d7b1abf591421c5d2028d54407a34a0" - integrity sha512-cBkihRoHvRQAjdUnDE1GGuuw/TPAIi8z2pEsSmUVAWLeZdgjHzzAb1+0VOO6NvBOvySItOTQikzaGlRxRdJBnA== - dependencies: - path-to-regexp "^3.1.0" - universalify@^0.1.0: version "0.1.2" resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" @@ -13056,31 +11774,33 @@ unset-value@^1.0.0: has-value "^0.3.1" isobject "^3.0.0" -unzip-response@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97" - integrity sha1-0vD3N9FrBhXnKmk17QQhRXLVb5c= - -upath@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894" - integrity sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg== +update-browserslist-db@^1.0.13: + version "1.0.13" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz#3c5e4f5c083661bd38ef64b6328c26ed6c8248c4" + integrity sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg== + dependencies: + escalade "^3.1.1" + picocolors "^1.0.0" -update-notifier@^2.1.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-2.5.0.tgz#d0744593e13f161e406acb1d9408b72cad08aff6" - integrity sha512-gwMdhgJHGuj/+wHJJs9e6PcCszpxR1b236igrOkUofGhqJuG+amlIKwApH1IW1WWl7ovZxsX49lMBWLxSdm5Dw== +update-notifier@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-5.1.0.tgz#4ab0d7c7f36a231dd7316cf7729313f0214d9ad9" + integrity sha512-ItnICHbeMh9GqUy31hFPrD1kcuZ3rpxDZbf4KUDavXwS0bW5m7SLbDQpGX3UYr072cbrF5hFUs3r5tUsPwjfHw== dependencies: - boxen "^1.2.1" - chalk "^2.0.1" - configstore "^3.0.0" + boxen "^5.0.0" + chalk "^4.1.0" + configstore "^5.0.1" + has-yarn "^2.1.0" import-lazy "^2.1.0" - is-ci "^1.0.10" - is-installed-globally "^0.1.0" - is-npm "^1.0.0" - latest-version "^3.0.0" - semver-diff "^2.0.0" - xdg-basedir "^3.0.0" + is-ci "^2.0.0" + is-installed-globally "^0.4.0" + is-npm "^5.0.0" + is-yarn-global "^0.3.0" + latest-version "^5.1.0" + pupa "^2.1.1" + semver "^7.3.4" + semver-diff "^3.1.1" + xdg-basedir "^4.0.0" upper-case@^1.1.1: version "1.1.3" @@ -13099,21 +11819,14 @@ urix@^0.1.0: resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI= -url-loader@^4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/url-loader/-/url-loader-4.1.1.tgz#28505e905cae158cf07c92ca622d7f237e70a4e2" - integrity sha512-3BTV812+AVHHOJQO8O5MkWgZ5aosP7GnROJwvzLS9hWDj00lZ6Z0wNak423Lp9PBZN05N+Jk/N5Si8jRAlGyWA== +url-loader@4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/url-loader/-/url-loader-4.1.0.tgz#c7d6b0d6b0fccd51ab3ffc58a78d32b8d89a7be2" + integrity sha512-IzgAAIC8wRrg6NYkFIJY09vtktQcsvU8V6HhtQj9PTefbYImzLB1hufqo4m+RyM5N3mLx5BqJKccgxJS+W3kqw== dependencies: loader-utils "^2.0.0" - mime-types "^2.1.27" - schema-utils "^3.0.0" - -url-parse-lax@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-1.0.0.tgz#7af8f303645e9bd79a272e7a14ac68bc0609da73" - integrity sha1-evjzA2Rem9eaJy56FKxovAYJ2nM= - dependencies: - prepend-http "^1.0.1" + mime-types "^2.1.26" + schema-utils "^2.6.5" url-parse-lax@^3.0.0: version "3.0.0" @@ -13122,7 +11835,7 @@ url-parse-lax@^3.0.0: dependencies: prepend-http "^2.0.0" -url-parse@^1.5.10, url-parse@^1.5.3: +url-parse@^1.5.3: version "1.5.10" resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.10.tgz#9d3c2f736c1d75dd3bd2be507dcc111f1e2ea9c1" integrity sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ== @@ -13135,14 +11848,6 @@ url-to-options@^1.0.1: resolved "https://registry.yarnpkg.com/url-to-options/-/url-to-options-1.0.1.tgz#1505a03a289a48cbd7a434efbaeec5055f5633a9" integrity sha1-FQWgOiiaSMvXpDTvuu7FBV9WM6k= -url@^0.11.0: - version "0.11.0" - resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" - integrity sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE= - dependencies: - punycode "1.3.2" - querystring "0.2.0" - use@^3.1.0: version "3.1.1" resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f" @@ -13153,28 +11858,6 @@ util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= -util.promisify@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/util.promisify/-/util.promisify-1.0.0.tgz#440f7165a459c9a16dc145eb8e72f35687097030" - integrity sha512-i+6qA2MPhvoKLuxnJNpXAGhg7HphQOSUq2LKMZD0m15EiskXUkMvKdF4Uui0WYeCUGea+o2cw/ZuwehtfsrNkA== - dependencies: - define-properties "^1.1.2" - object.getownpropertydescriptors "^2.0.3" - -util@0.10.3: - version "0.10.3" - resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" - integrity sha1-evsa/lCAUkZInj23/g7TeTNqwPk= - dependencies: - inherits "2.0.1" - -util@^0.11.0: - version "0.11.1" - resolved "https://registry.yarnpkg.com/util/-/util-0.11.1.tgz#3236733720ec64bb27f6e26f421aaa2e1b588d61" - integrity sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ== - dependencies: - inherits "2.0.3" - utila@~0.4: version "0.4.0" resolved "https://registry.yarnpkg.com/utila/-/utila-0.4.0.tgz#8a16a05d445657a3aea5eecc5b12a4fa5379772c" @@ -13195,11 +11878,6 @@ uuid@^8.3.2: resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== -v8-compile-cache@^2.0.3: - version "2.3.0" - resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" - integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== - validate-npm-package-license@^3.0.1: version "3.0.4" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" @@ -13208,6 +11886,13 @@ validate-npm-package-license@^3.0.1: spdx-correct "^3.0.0" spdx-expression-parse "^3.0.0" +validate-npm-package-name@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-5.0.0.tgz#f16afd48318e6f90a1ec101377fa0384cfc8c713" + integrity sha512-YuKoXDAhBYxY7SfOKxHBDoSyENFeW5VvIIQp2TGQuit8gpK6MnWaQelBKxso72DoxTZfZdcP3W90LqpSkgPzLQ== + dependencies: + builtins "^5.0.0" + vary@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" @@ -13244,34 +11929,6 @@ vfile@^2.0.0: unist-util-stringify-position "^1.0.0" vfile-message "^1.0.0" -vinyl-file@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/vinyl-file/-/vinyl-file-3.0.0.tgz#b104d9e4409ffa325faadd520642d0a3b488b365" - integrity sha1-sQTZ5ECf+jJfqt1SBkLQo7SIs2U= - dependencies: - graceful-fs "^4.1.2" - pify "^2.3.0" - strip-bom-buf "^1.0.0" - strip-bom-stream "^2.0.0" - vinyl "^2.0.1" - -vinyl@^2.0.1, vinyl@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-2.2.1.tgz#23cfb8bbab5ece3803aa2c0a1eb28af7cbba1974" - integrity sha512-LII3bXRFBZLlezoG5FfZVcXflZgWP/4dCwKtxd5ky9+LOtM4CS3bIRQsmR1KMnMW07jpE8fqR2lcxPZ+8sJIcw== - dependencies: - clone "^2.1.1" - clone-buffer "^1.0.0" - clone-stats "^1.0.0" - cloneable-readable "^1.0.0" - remove-trailing-separator "^1.0.1" - replace-ext "^1.0.0" - -vm-browserify@^1.0.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0" - integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ== - vm2@^3.8.4: version "3.9.7" resolved "https://registry.yarnpkg.com/vm2/-/vm2-3.9.7.tgz#bb87aa677c97c61e23a6cb6547e44e990517a6f6" @@ -13280,50 +11937,41 @@ vm2@^3.8.4: acorn "^8.7.0" acorn-walk "^8.2.0" -vue-template-compiler@^2.6.10: - version "2.6.14" - resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.6.14.tgz#a2f0e7d985670d42c9c9ee0d044fed7690f4f763" - integrity sha512-ODQS1SyMbjKoO1JBJZojSw6FE4qnh9rIpUZn2EUT86FKizx9uH5z6uXiIrm4/Nb/gwxTi/o17ZDEGWAXHvtC7g== - dependencies: - de-indent "^1.0.2" - he "^1.1.0" +vue-hot-reload-api@^2.3.0: + version "2.3.4" + resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz#532955cc1eb208a3d990b3a9f9a70574657e08f2" + integrity sha512-BXq3jwIagosjgNVae6tkHzzIk6a8MHFtzAdwhnV5VlvPTFxDCvIttgSiHWjdGoTJvXtmRu5HacExfdarRcFhog== -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" - integrity sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ== +vue-loader@^15.10.1: + version "15.11.1" + resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-15.11.1.tgz#dee91169211276ed43c5715caef88a56b1f497b0" + integrity sha512-0iw4VchYLePqJfJu9s62ACWUXeSqM30SQqlIftbYWM3C+jpPcEHKSPUZBLjSF9au4HTHQ/naF6OGnO3Q/qGR3Q== dependencies: - browser-process-hrtime "^1.0.0" + "@vue/component-compiler-utils" "^3.1.0" + hash-sum "^1.0.2" + loader-utils "^1.1.0" + vue-hot-reload-api "^2.3.0" + vue-style-loader "^4.1.0" -w3c-xmlserializer@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz#3e7104a05b75146cc60f564380b7f683acf1020a" - integrity sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA== +vue-style-loader@^4.1.0: + version "4.1.3" + resolved "https://registry.yarnpkg.com/vue-style-loader/-/vue-style-loader-4.1.3.tgz#6d55863a51fa757ab24e89d9371465072aa7bc35" + integrity sha512-sFuh0xfbtpRlKfm39ss/ikqs9AbKCoXZBpHeVZ8Tx650o0k0q/YCM7FRvigtxpACezfq6af+a7JeqVTWvncqDg== dependencies: - xml-name-validator "^3.0.0" - -walkdir@^0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/walkdir/-/walkdir-0.3.2.tgz#ac8437a288c295656848ebc19981ebc677a5f590" - integrity sha512-0Twghia4Z5wDGDYWURlhZmI47GvERMCsXIu0QZWVVZyW9ZjpbbZvD9Zy9M6cWiQQRRbAcYajIyKNavaZZDt1Uw== + hash-sum "^1.0.2" + loader-utils "^1.0.2" -watchpack-chokidar2@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/watchpack-chokidar2/-/watchpack-chokidar2-2.0.1.tgz#38500072ee6ece66f3769936950ea1771be1c957" - integrity sha512-nCFfBIPKr5Sh61s4LPpy1Wtfi0HE8isJ3d2Yb5/Ppw2P2B/3eVSEBjKfN0fmHJSK14+31KwMKmcrzs2GM4P0Ww== - dependencies: - chokidar "^2.1.8" +vue-template-es2015-compiler@^1.9.0: + version "1.9.1" + resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825" + integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw== -watchpack@^1.7.4: - version "1.7.5" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.7.5.tgz#1267e6c55e0b9b5be44c2023aed5437a2c26c453" - integrity sha512-9P3MWk6SrKjHsGkLT2KHXdQ/9SNkyoJbabxnKOoJepsvJjJG8uYTR3yTPxPQvNDI3w4Nz1xnE0TLHK4RIVe/MQ== +w3c-xmlserializer@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/w3c-xmlserializer/-/w3c-xmlserializer-4.0.0.tgz#aebdc84920d806222936e3cdce408e32488a3073" + integrity sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw== dependencies: - graceful-fs "^4.1.2" - neo-async "^2.5.0" - optionalDependencies: - chokidar "^3.4.1" - watchpack-chokidar2 "^2.0.1" + xml-name-validator "^4.0.0" wbuf@^1.1.0, wbuf@^1.7.3: version "1.7.3" @@ -13339,89 +11987,72 @@ wcwidth@^1.0.1: dependencies: defaults "^1.0.3" -webidl-conversions@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-5.0.0.tgz#ae59c8a00b121543a2acc65c0434f57b0fc11aff" - integrity sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA== - -webidl-conversions@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-6.1.0.tgz#9111b4d7ea80acd40f5270d666621afa78b69514" - integrity sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w== +webidl-conversions@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-7.0.0.tgz#256b4e1882be7debbf01d05f0aa2039778ea080a" + integrity sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g== -webpack-chain@4.9.0: - version "4.9.0" - resolved "https://registry.yarnpkg.com/webpack-chain/-/webpack-chain-4.9.0.tgz#2f0794d34d79a7cc5db1416f497b76ad33df30ee" - integrity sha512-DQbqFAVEQg1+u9kXDMNyA4yZzQIf/tZD34GQ4ev97G3DrKtGYMyUyyUYZxt50qBPG1MMlKG12PwMrUjlth3uxg== +webpack-chain@6.5.1: + version "6.5.1" + resolved "https://registry.yarnpkg.com/webpack-chain/-/webpack-chain-6.5.1.tgz#4f27284cbbb637e3c8fbdef43eef588d4d861206" + integrity sha512-7doO/SRtLu8q5WM0s7vPKPWX580qhi0/yBHkOxNkv50f6qB76Zy9o2wRTrrPULqYTvQlVHuvbA8v+G5ayuUDsA== dependencies: deepmerge "^1.5.2" - javascript-stringify "^1.6.0" + javascript-stringify "^2.0.1" -webpack-dev-middleware@^3.7.2: - version "3.7.3" - resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-3.7.3.tgz#0639372b143262e2b84ab95d3b91a7597061c2c5" - integrity sha512-djelc/zGiz9nZj/U7PTBi2ViorGJXEWo/3ltkPbDyxCXhhEXkW0ce99falaok4TPj+AsxLiXJR0EBOb0zh9fKQ== +webpack-dev-middleware@^5.3.1: + version "5.3.3" + resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz#efae67c2793908e7311f1d9b06f2a08dcc97e51f" + integrity sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA== dependencies: - memory-fs "^0.4.1" - mime "^2.4.4" - mkdirp "^0.5.1" + colorette "^2.0.10" + memfs "^3.4.3" + mime-types "^2.1.31" range-parser "^1.2.1" - webpack-log "^2.0.0" - -webpack-dev-server@3.11.3: - version "3.11.3" - resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.11.3.tgz#8c86b9d2812bf135d3c9bce6f07b718e30f7c3d3" - integrity sha512-3x31rjbEQWKMNzacUZRE6wXvUFuGpH7vr0lIEbYpMAG9BOxi0928QU1BBswOAP3kg3H1O4hiS+sq4YyAn6ANnA== - dependencies: - ansi-html-community "0.0.8" - bonjour "^3.5.0" - chokidar "^2.1.8" + schema-utils "^4.0.0" + +webpack-dev-server@4.11.1: + version "4.11.1" + resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-4.11.1.tgz#ae07f0d71ca0438cf88446f09029b92ce81380b5" + integrity sha512-lILVz9tAUy1zGFwieuaQtYiadImb5M3d+H+L1zDYalYoDl0cksAB1UNyuE5MMWJrG6zR1tXkCP2fitl7yoUJiw== + dependencies: + "@types/bonjour" "^3.5.9" + "@types/connect-history-api-fallback" "^1.3.5" + "@types/express" "^4.17.13" + "@types/serve-index" "^1.9.1" + "@types/serve-static" "^1.13.10" + "@types/sockjs" "^0.3.33" + "@types/ws" "^8.5.1" + ansi-html-community "^0.0.8" + bonjour-service "^1.0.11" + chokidar "^3.5.3" + colorette "^2.0.10" compression "^1.7.4" - connect-history-api-fallback "^1.6.0" - debug "^4.1.1" - del "^4.1.1" - express "^4.17.1" - html-entities "^1.3.1" - http-proxy-middleware "0.19.1" - import-local "^2.0.0" - internal-ip "^4.3.0" - ip "^1.1.5" - is-absolute-url "^3.0.3" - killable "^1.0.1" - loglevel "^1.6.8" - opn "^5.5.0" - p-retry "^3.0.1" - portfinder "^1.0.26" - schema-utils "^1.0.0" - selfsigned "^1.10.8" - semver "^6.3.0" + connect-history-api-fallback "^2.0.0" + default-gateway "^6.0.3" + express "^4.17.3" + graceful-fs "^4.2.6" + html-entities "^2.3.2" + http-proxy-middleware "^2.0.3" + ipaddr.js "^2.0.1" + open "^8.0.9" + p-retry "^4.5.0" + rimraf "^3.0.2" + schema-utils "^4.0.0" + selfsigned "^2.1.1" serve-index "^1.9.1" - sockjs "^0.3.21" - sockjs-client "^1.5.0" + sockjs "^0.3.24" spdy "^4.0.2" - strip-ansi "^3.0.1" - supports-color "^6.1.0" - url "^0.11.0" - webpack-dev-middleware "^3.7.2" - webpack-log "^2.0.0" - ws "^6.2.1" - yargs "^13.3.2" - -webpack-format-messages@^2.0.5: + webpack-dev-middleware "^5.3.1" + ws "^8.4.2" + +webpack-format-messages@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/webpack-format-messages/-/webpack-format-messages-2.0.6.tgz#d8bb0d4fb2e9171efc8a252d6294f29c50d7ecd2" integrity sha512-JOUviZSCupGTf6uJjrxKMEyOawWws566e3phwSyuWBsQxuBU6Gm4QV5wdU8UfkPIhWyhAqSGKeq8fNE9Q4rs9Q== dependencies: kleur "^3.0.0" -webpack-log@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/webpack-log/-/webpack-log-2.0.0.tgz#5b7928e0637593f119d32f6227c1e0ac31e1b47f" - integrity sha512-cX8G2vR/85UYG59FgkoMamwHUIkSSlV3bBMRsbxVXVUk2j6NleCKjQ/WE9eYg9WY4w25O9w8wKP4rzNZFmUcUg== - dependencies: - ansi-colors "^3.0.0" - uuid "^3.3.2" - webpack-merge@^4.2.2: version "4.2.2" resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-4.2.2.tgz#a27c52ea783d1398afd2087f547d7b9d2f43634d" @@ -13429,42 +12060,28 @@ webpack-merge@^4.2.2: dependencies: lodash "^4.17.15" -webpack-sources@^1.0.1, webpack-sources@^1.1.0, webpack-sources@^1.4.0, webpack-sources@^1.4.1, webpack-sources@^1.4.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.4.3.tgz#eedd8ec0b928fbf1cbfe994e22d2d890f330a933" - integrity sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ== +webpack-sources@^2.2.0: + version "2.3.1" + resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-2.3.1.tgz#570de0af163949fe272233c2cefe1b56f74511fd" + integrity sha512-y9EI9AO42JjEcrTJFOYmVywVZdKVUfOvDUPsJea5GIr1JOEGFVqwlY2K098fFoIjOkDzHn2AjRvM8dsBZu+gCA== dependencies: - source-list-map "^2.0.0" - source-map "~0.6.1" + source-list-map "^2.0.1" + source-map "^0.6.1" -webpack@4.46.0: - version "4.46.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.46.0.tgz#bf9b4404ea20a073605e0a011d188d77cb6ad542" - integrity sha512-6jJuJjg8znb/xRItk7bkT0+Q7AHCYjjFnvKIWQPkNIOyRqoCGvkOs0ipeQzrqz4l5FtN5ZI/ukEHroeX/o1/5Q== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-module-context" "1.9.0" - "@webassemblyjs/wasm-edit" "1.9.0" - "@webassemblyjs/wasm-parser" "1.9.0" - acorn "^6.4.1" - ajv "^6.10.2" - ajv-keywords "^3.4.1" - chrome-trace-event "^1.0.2" - enhanced-resolve "^4.5.0" - eslint-scope "^4.0.3" - json-parse-better-errors "^1.0.2" - loader-runner "^2.4.0" - loader-utils "^1.2.3" - memory-fs "^0.4.1" - micromatch "^3.1.10" - mkdirp "^0.5.3" - neo-async "^2.6.1" - node-libs-browser "^2.2.1" - schema-utils "^1.0.0" - tapable "^1.1.3" - terser-webpack-plugin "^1.4.3" - watchpack "^1.7.4" - webpack-sources "^1.4.1" +webpack-virtual-modules@^0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/webpack-virtual-modules/-/webpack-virtual-modules-0.5.0.tgz#362f14738a56dae107937ab98ea7062e8bdd3b6c" + integrity sha512-kyDivFZ7ZM0BVOUteVbDFhlRt7Ah/CSPwJdi8hBpkK7QLumUqdLtVfm/PX/hkcnrvr0i77fO5+TjZ94Pe+C9iw== + +webpackbar@^5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/webpackbar/-/webpackbar-5.0.2.tgz#d3dd466211c73852741dfc842b7556dcbc2b0570" + integrity sha512-BmFJo7veBDgQzfWXl/wwYXr/VFus0614qZ8i9znqcl9fnEdiVkdbi0TedLQ6xAK92HZHDJ0QmyQ0fmuZPAgCYQ== + dependencies: + chalk "^4.1.0" + consola "^2.15.3" + pretty-time "^1.1.0" + std-env "^3.0.1" websocket-driver@>=0.5.1, websocket-driver@^0.7.4: version "0.7.4" @@ -13480,41 +12097,25 @@ websocket-extensions@>=0.1.1: resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.4.tgz#7f8473bc839dfd87608adb95d7eb075211578a42" integrity sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg== -weui@^1.1.2: - version "1.1.3" - resolved "https://registry.yarnpkg.com/weui/-/weui-1.1.3.tgz#0f0899bb61bb2ec603b2648367a8139298f81514" - integrity sha512-vC6eWUvG1MYoE8yLsvBBmLB2+4DZWynQOL47MUscHMwPVltOZPGsiRb2PE7y3z+w3ElF1SsmJsyhr40wiXgP5A== - -whatwg-encoding@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0" - integrity sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw== +whatwg-encoding@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz#e7635f597fd87020858626805a2729fa7698ac53" + integrity sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg== dependencies: - iconv-lite "0.4.24" + iconv-lite "0.6.3" -whatwg-fetch@^3.4.0: - version "3.6.2" - resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.6.2.tgz#dced24f37f2624ed0281725d51d0e2e3fe677f8c" - integrity sha512-bJlen0FcuU/0EMLrdbJ7zOnW6ITZLrZMIarMUVmdKtsGvZna8vxKYaexICWPfZ8qwf9fzNq+UEIZrnSaApt6RA== - -whatwg-mimetype@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf" - integrity sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g== +whatwg-mimetype@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz#5fa1a7623867ff1af6ca3dc72ad6b8a4208beba7" + integrity sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q== -whatwg-url@^8.0.0, whatwg-url@^8.5.0: - version "8.7.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-8.7.0.tgz#656a78e510ff8f3937bc0bcbe9f5c0ac35941b77" - integrity sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg== +whatwg-url@^12.0.0, whatwg-url@^12.0.1: + version "12.0.1" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-12.0.1.tgz#fd7bcc71192e7c3a2a97b9a8d6b094853ed8773c" + integrity sha512-Ed/LrqB8EPlGxjS+TrsXcpUond1mhccS3pchLhzSgPCnTimUCKj3IZE75pAs5m6heB2U2TMerKFUXheyHY+VDQ== dependencies: - lodash "^4.7.0" - tr46 "^2.1.0" - webidl-conversions "^6.1.0" - -when@~3.6.x: - version "3.6.4" - resolved "https://registry.yarnpkg.com/when/-/when-3.6.4.tgz#473b517ec159e2b85005497a13983f095412e34e" - integrity sha1-RztRfsFZ4rhQBUl6E5g/CVQS404= + tr46 "^4.1.1" + webidl-conversions "^7.0.0" which-boxed-primitive@^1.0.2: version "1.0.2" @@ -13527,20 +12128,15 @@ which-boxed-primitive@^1.0.2: is-string "^1.0.5" is-symbol "^1.0.3" -which-module@^2.0.0: +which-pm@2.0.0: version "2.0.0" - resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" - integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= - -which-pm@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/which-pm/-/which-pm-1.1.0.tgz#5c0fc3f722f003707dea7b20cd17effd3ad2fc33" - integrity sha512-7GHHJQpALk7BWMD8I+xSILSbHyngvBlfSXlwGpdRFY2voFwVCx+eJAybXTzTnUYmt7zio6B9SEdI81T0fBjxNA== + resolved "https://registry.yarnpkg.com/which-pm/-/which-pm-2.0.0.tgz#8245609ecfe64bf751d0eef2f376d83bf1ddb7ae" + integrity sha512-Lhs9Pmyph0p5n5Z3mVnN0yWcbQYUAD7rbQUiMsQxOJ3T57k7RFe35SUwWMf7dsbDZks1uOmw4AecB/JMDj3v/w== dependencies: - load-yaml-file "^0.1.0" - path-exists "^3.0.0" + load-yaml-file "^0.2.0" + path-exists "^4.0.0" -which@^1.2.14, which@^1.2.8, which@^1.2.9: +which@^1.2.14, which@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== @@ -13554,35 +12150,19 @@ which@^2.0.1: dependencies: isexe "^2.0.0" -widest-line@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-2.0.1.tgz#7438764730ec7ef4381ce4df82fb98a53142a3fc" - integrity sha512-Ba5m9/Fa4Xt9eb2ELXt77JxVDV8w7qQrH0zS/TWSJdLyAwQjWoOzpzj5lwVftDz6n/EOu3tNACS84v509qwnJA== +widest-line@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-3.1.0.tgz#8292333bbf66cb45ff0de1603b136b7ae1496eca" + integrity sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg== dependencies: - string-width "^2.1.1" + string-width "^4.0.0" word-wrap@^1.2.3, word-wrap@~1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== -worker-farm@^1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.7.0.tgz#26a94c5391bbca926152002f69b84a4bf772e5a8" - integrity sha512-rvw3QTZc8lAxyVrqcSGVm5yP/IJ2UcB3U0graE3LCFoZ0Yn2x4EoVSqJKdB/T5M+FLcRPjz4TDacRf3OCfNUzw== - dependencies: - errno "~0.1.7" - -wrap-ansi@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09" - integrity sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q== - dependencies: - ansi-styles "^3.2.0" - string-width "^3.0.0" - strip-ansi "^5.0.0" - -wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -13591,26 +12171,38 @@ wrap-ansi@^7.0.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^6.0.1: + version "6.2.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" + integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + +wrap-ansi@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" + integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== + dependencies: + ansi-styles "^6.1.0" + string-width "^5.0.1" + strip-ansi "^7.0.1" + wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= -write-file-atomic@^2.0.0: - version "2.4.3" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.4.3.tgz#1fd2e9ae1df3e75b8d8c367443c692d4ca81f481" - integrity sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ== +write-file-atomic@^3.0.0: + version "3.0.3" + resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8" + integrity sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q== dependencies: - graceful-fs "^4.1.11" imurmurhash "^0.1.4" + is-typedarray "^1.0.0" signal-exit "^3.0.2" - -write@1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/write/-/write-1.0.3.tgz#0800e14523b923a387e415123c865616aae0f5c3" - integrity sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig== - dependencies: - mkdirp "^0.5.1" + typedarray-to-buffer "^3.1.5" write@^0.2.1: version "0.2.1" @@ -13619,37 +12211,30 @@ write@^0.2.1: dependencies: mkdirp "^0.5.1" -ws@^6.2.1: - version "6.2.2" - resolved "https://registry.yarnpkg.com/ws/-/ws-6.2.2.tgz#dd5cdbd57a9979916097652d78f1cc5faea0c32e" - integrity sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw== - dependencies: - async-limiter "~1.0.0" - -ws@^7.4.6: - version "7.5.9" - resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" - integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== +ws@^8.13.0, ws@^8.4.2: + version "8.16.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.16.0.tgz#d1cd774f36fbc07165066a60e40323eab6446fd4" + integrity sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ== x-is-string@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/x-is-string/-/x-is-string-0.1.0.tgz#474b50865af3a49a9c4657f05acd145458f77d82" integrity sha1-R0tQhlrzpJqcRlfwWs0UVFj3fYI= -xdg-basedir@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-3.0.0.tgz#496b2cc109eca8dbacfe2dc72b603c17c5870ad4" - integrity sha1-SWsswQnsqNus/i3HK2A8F8WHCtQ= +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" - integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw== +xml-name-validator@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-4.0.0.tgz#79a006e2e63149a8600f15430f0a4725d1524835" + integrity sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw== -xml2js@^0.4.19: - version "0.4.23" - resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.23.tgz#a0c69516752421eb2ac758ee4d4ccf58843eac66" - integrity sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug== +xml2js@^0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.5.0.tgz#d9440631fbb2ed800203fad106f2724f62c493b7" + integrity sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA== dependencies: sax ">=0.6.0" xmlbuilder "~11.0.0" @@ -13664,23 +12249,18 @@ xmlchars@^2.2.0: resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== -xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.1: +xtend@^4.0.0, xtend@^4.0.1, xtend@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== -xxhashjs@^0.2.1, xxhashjs@^0.2.2: +xxhashjs@~0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/xxhashjs/-/xxhashjs-0.2.2.tgz#8a6251567621a1c46a5ae204da0249c7f8caa9d8" integrity sha512-AkTuIuVTET12tpsVIQo+ZU6f/qDmKuRUcjaqR+OIvm+aCBsZ95i7UVY5WJ9TMsSaZ0DA2WxoZ4acu0sPH+OKAw== dependencies: cuint "^0.2.2" -y18n@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.3.tgz#b5f259c82cd6e336921efd7bfd8bf560de9eeedf" - integrity sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ== - y18n@^5.0.5: version "5.0.8" resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" @@ -13691,17 +12271,12 @@ yallist@^2.1.2: resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" integrity sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI= -yallist@^3.0.2: - version "3.1.1" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" - integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== - yallist@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== -yaml@^1.10.0: +yaml@^1.10.0, yaml@^1.10.2: version "1.10.2" resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== @@ -13713,36 +12288,12 @@ yargs-parser@^10.0.0: dependencies: camelcase "^4.1.0" -yargs-parser@^13.1.2: - version "13.1.2" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.2.tgz#130f09702ebaeef2650d54ce6e3e5706f7a4fb38" - integrity sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg== - dependencies: - camelcase "^5.0.0" - decamelize "^1.2.0" - -yargs-parser@^20.2.2: +yargs-parser@^20.2.2, yargs-parser@^20.2.3: version "20.2.9" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== -yargs@^13.2.2, yargs@^13.3.2: - version "13.3.2" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.2.tgz#ad7ffefec1aa59565ac915f82dccb38a9c31a2dd" - integrity sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw== - dependencies: - cliui "^5.0.0" - find-up "^3.0.0" - get-caller-file "^2.0.1" - require-directory "^2.1.1" - require-main-filename "^2.0.0" - set-blocking "^2.0.0" - string-width "^3.0.0" - which-module "^2.0.0" - y18n "^4.0.0" - yargs-parser "^13.1.2" - -yargs@^16.0.0: +yargs@^16.0.0, yargs@^16.2.0: version "16.2.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== diff --git a/examples/taro-list/config/dev.ts b/examples/taro-list/config/dev.ts index c37eb434ba63..af34163774fc 100644 --- a/examples/taro-list/config/dev.ts +++ b/examples/taro-list/config/dev.ts @@ -1,4 +1,5 @@ import type { UserConfigExport } from "@tarojs/cli"; + export default { logger: { quiet: false, diff --git a/examples/taro-list/config/prod.ts b/examples/taro-list/config/prod.ts index c9ba67fcd1e4..0dcb02c63274 100644 --- a/examples/taro-list/config/prod.ts +++ b/examples/taro-list/config/prod.ts @@ -1,4 +1,5 @@ import type { UserConfigExport } from "@tarojs/cli"; + export default { mini: {}, h5: { diff --git a/packages/taro-runtime-rn/src/EventChannel.ts b/packages/shared/src/event-channel.ts similarity index 88% rename from packages/taro-runtime-rn/src/EventChannel.ts rename to packages/shared/src/event-channel.ts index bb6a2a35d7da..9e3f2911718a 100644 --- a/packages/taro-runtime-rn/src/EventChannel.ts +++ b/packages/shared/src/event-channel.ts @@ -1,4 +1,4 @@ -import { Events } from './emmiter' +import { Events } from './event-emitter' interface ExeListItem { eventName: string @@ -41,7 +41,7 @@ const pageChannel: PageEvt = new PageEvts() class RouteEvts extends Events { emit (events, data) { - pageChannel.off(events, null, null) + pageChannel.off(events) pageChannel.exeList.push({ eventName: events, data @@ -51,7 +51,7 @@ class RouteEvts extends Events { addEvents (events) { if (!events || typeof events !== 'object') return Object.keys(events).forEach(key => { - this.off(key, null, null) + this.off(key) this.on(key, events[key], this) }) } @@ -59,7 +59,4 @@ class RouteEvts extends Events { const routeChannel: RouteEvt = new RouteEvts() -export default { - routeChannel, - pageChannel -} +export const EventChannel = { pageChannel, routeChannel } diff --git a/packages/shared/src/index.ts b/packages/shared/src/index.ts index 5174a52b7717..4abab854fba0 100644 --- a/packages/shared/src/index.ts +++ b/packages/shared/src/index.ts @@ -1,5 +1,6 @@ export * from './components' export * from './constants' +export * from './event-channel' export * from './event-emitter' export * from './is' export * from './native-apis' diff --git a/packages/taro-cli/src/presets/platforms/plugin.ts b/packages/taro-cli/src/presets/platforms/plugin.ts index d3ea0145b145..91279009defa 100644 --- a/packages/taro-cli/src/presets/platforms/plugin.ts +++ b/packages/taro-cli/src/presets/platforms/plugin.ts @@ -1,4 +1,6 @@ +import { fs } from '@tarojs/helper' import { getPlatformType } from '@tarojs/shared' +import * as path from 'path' import type { IPluginContext } from '@tarojs/service' @@ -35,7 +37,7 @@ export default (ctx: IPluginContext) => { ...config, isBuildPlugin: true, isWatch, - outputRoot: `${config.outputRoot}`, + outputRoot: `${config.outputRoot}/plugin`, platform }, options: Object.assign({}, options, { @@ -63,7 +65,15 @@ export default (ctx: IPluginContext) => { }) } - buildPlugin(plugin) + await buildPlugin(plugin) + + try { + const docSrcPath = path.join(process.cwd(), 'src/plugin/doc') + const docDestPath = path.join(process.cwd(), 'miniprogram/doc') + fs.copy(docSrcPath, docDestPath) + } catch (err) { + console.error('[@tarojs/cli] build plugin doc failed: ', err) + } } }) } diff --git a/packages/taro-cli/templates/default/_env.dev b/packages/taro-cli/templates/default/_env.development similarity index 100% rename from packages/taro-cli/templates/default/_env.dev rename to packages/taro-cli/templates/default/_env.development diff --git a/packages/taro-cli/templates/default/_env.prod b/packages/taro-cli/templates/default/_env.production similarity index 100% rename from packages/taro-cli/templates/default/_env.prod rename to packages/taro-cli/templates/default/_env.production diff --git a/packages/taro-components/src/components/movable-area/movable-view.tsx b/packages/taro-components/src/components/movable-area/movable-view.tsx index c02b79a28c85..6f4e52d966e0 100644 --- a/packages/taro-components/src/components/movable-area/movable-view.tsx +++ b/packages/taro-components/src/components/movable-area/movable-view.tsx @@ -21,8 +21,8 @@ export class MovableView { * 超过可移动区域后,是否还可以移动 */ @Prop() outOfBounds: boolean = false - /** - * 是否带有惯性 + /** + * 是否带有惯性 */ @Prop() inertia: boolean = false /** @@ -404,7 +404,10 @@ export class MovableView { if (this.disabled || !this.element || this.scaling || !this.touching || touches.length > 1) { return } - e.preventDefault() + + if (this.direction !== "horizontal") { + e.preventDefault() + } const touch = touches[0] diff --git a/packages/taro-components/src/components/tabbar/style/index.scss b/packages/taro-components/src/components/tabbar/style/index.scss index 4fd95901c876..99a535c965d9 100644 --- a/packages/taro-components/src/components/tabbar/style/index.scss +++ b/packages/taro-components/src/components/tabbar/style/index.scss @@ -8,7 +8,7 @@ body { } :root { - --taro-tabbar-height: $weuiTabBarHeight; + --taro-tabbar-height: #{$weuiTabBarHeight}; } #app { diff --git a/packages/taro-components/src/styles/widget/weui-tab/weui-tabbar.scss b/packages/taro-components/src/styles/widget/weui-tab/weui-tabbar.scss index c7186498dfa7..9224dc09c9fe 100644 --- a/packages/taro-components/src/styles/widget/weui-tab/weui-tabbar.scss +++ b/packages/taro-components/src/styles/widget/weui-tab/weui-tabbar.scss @@ -1,5 +1,6 @@ .weui-tabbar { display: flex; + align-items: center; position: absolute; // relative; z-index: 500; bottom: 0; diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/alipay.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/alipay.spec.ts.snap index 997c714fc1af..0f8c7cfa4387 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/alipay.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/alipay.spec.ts.snap @@ -37,8 +37,8 @@ require("./taro"); function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -46,7 +46,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -70,34 +70,12 @@ require("./taro"); function useTabItemTap() {} function useScope() {} }, - 10: function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _defineProperty; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); - function _defineProperty(obj, key, value) { - key = Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } - }, - 14: function(module, __webpack_exports__, __webpack_require__) { + 12: function(module, __webpack_exports__, __webpack_require__) { "use strict"; (function(navigator) { - var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); - var _tarojs_shared__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0); - var needPromiseApis = new Set([ "addCardAuth", "getOpenUserInfo", "chooseAlipayContact", "chooseCity", "chooseContact", "choosePhoneContact", "datePicker", "getAddress", "getAuthCode", "getPhoneNumber", "getRunData", "getRunScene", "getServerTime", "getTitleColor", "rsa", "paySignCenter", "tradePay", "isCollected", "multiLevelSelect", "onLocatedComplete", "optionsSelect", "prompt", "regionPicker", "setLocatedCity", "showAuthGuide", "textRiskIdentification", "vibrate", "watchShake", "connectBLEDevice", "disconnectBLEDevice", "makeBluetoothPair", "writeBLECharacteristicValue", "readBLECharacteristicValue", "notifyBLECharacteristicValueChange", "getBLEDeviceServices", "getBLEDeviceCharacteristics", "openBluetoothAdapter", "closeBluetoothAdapter", "getBluetoothAdapterState", "startBluetoothDevicesDiscovery", "stopBluetoothDevicesDiscovery", "getBluetoothDevices", "getConnectedBluetoothDevices" ]); - var apiDiff = { + var _tarojs_shared__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); + const needPromiseApis = new Set([ "addCardAuth", "getOpenUserInfo", "chooseAlipayContact", "chooseCity", "chooseContact", "choosePhoneContact", "datePicker", "getAddress", "getAuthCode", "getPhoneNumber", "getRunData", "getRunScene", "getServerTime", "getTitleColor", "rsa", "paySignCenter", "tradePay", "isCollected", "multiLevelSelect", "onLocatedComplete", "optionsSelect", "prompt", "regionPicker", "setLocatedCity", "showAuthGuide", "textRiskIdentification", "vibrate", "watchShake", "connectBLEDevice", "disconnectBLEDevice", "makeBluetoothPair", "writeBLECharacteristicValue", "readBLECharacteristicValue", "notifyBLECharacteristicValueChange", "getBLEDeviceServices", "getBLEDeviceCharacteristics", "openBluetoothAdapter", "closeBluetoothAdapter", "getBluetoothAdapterState", "startBluetoothDevicesDiscovery", "stopBluetoothDevicesDiscovery", "getBluetoothDevices", "getConnectedBluetoothDevices" ]); + const apiDiff = { login: { alias: "getAuthCode", options: { @@ -126,7 +104,7 @@ require("./taro"); } ], set: [ { key: "type", - value: function value(options) { + value(options) { if (options.type === "error") { return "fail"; } @@ -171,7 +149,7 @@ require("./taro"); options: { set: [ { key: "current", - value: function value(options) { + value(options) { return options.urls.indexOf(options.current || options.urls[0]); } } ] @@ -213,12 +191,12 @@ require("./taro"); options: { set: [ { key: "latitude", - value: function value(options) { + value(options) { return String(options.latitude); } }, { key: "longitude", - value: function value(options) { + value(options) { return String(options.longitude); } } ] @@ -261,7 +239,7 @@ require("./taro"); } ], set: [ { key: "type", - value: function value(options) { + value(options) { return options.scanType && options.scanType[0].slice(0, -4) || "qr"; } } ] @@ -288,12 +266,12 @@ require("./taro"); alias: "disconnectBLEDevice" } }; - var asyncResultApiDiff = { + const asyncResultApiDiff = { alert: { res: { set: [ { key: "confirm", - value: function value(res) { + value(res) { return res.success; } } ] @@ -303,7 +281,7 @@ require("./taro"); res: { set: [ { key: "value", - value: function value(res) { + value(res) { return res.brightness; } } ], @@ -314,7 +292,7 @@ require("./taro"); res: { set: [ { key: "result", - value: function value(res) { + value(res) { return res.code; } } ] @@ -324,7 +302,7 @@ require("./taro"); res: { set: [ { key: "data", - value: function value(res) { + value(res) { return res.text; } } ] @@ -334,7 +312,7 @@ require("./taro"); res: { set: [ { key: "tempFilePaths", - value: function value(res) { + value(res) { return res.apFilePaths; } } ] @@ -344,7 +322,7 @@ require("./taro"); res: { set: [ { key: "tempFilePath", - value: function value(res) { + value(res) { return res.apFilePath; } } ] @@ -354,7 +332,7 @@ require("./taro"); res: { set: [ { key: "code", - value: function value(res) { + value(res) { return res.authCode; } } ] @@ -364,7 +342,7 @@ require("./taro"); res: { set: [ { key: "extConfig", - value: function value(res) { + value(res) { return res.data; } } ] @@ -374,7 +352,7 @@ require("./taro"); res: { set: [ { key: "savedFilePath", - value: function value(res) { + value(res) { return res.apFilePath; } } ] @@ -384,12 +362,10 @@ require("./taro"); res: { set: [ { key: "services", - value: function value(res) { - return res.services.map((function(item) { - return { - uuid: item.serviceId, - isPrimary: item.isPrimary - }; + value(res) { + return res.services.map(item => ({ + uuid: item.serviceId, + isPrimary: item.isPrimary })); } } ] @@ -403,23 +379,23 @@ require("./taro"); url: options }; } - var defaultHeaders = { + const defaultHeaders = { "content-type": "application/json" }; options.headers = defaultHeaders; if (options.header) { - for (var k in options.header) { - var lowerK = k.toLocaleLowerCase(); + for (const k in options.header) { + const lowerK = k.toLocaleLowerCase(); options.headers[lowerK] = options.header[k]; } delete options.header; } - var originSuccess = options.success; - var originFail = options.fail; - var originComplete = options.complete; - var requestTask; - var p = new Promise((function(resolve, reject) { - options.success = function(res) { + const originSuccess = options.success; + const originFail = options.fail; + const originComplete = options.complete; + let requestTask; + const p = new Promise((resolve, reject) => { + options.success = res => { res.statusCode = res.status; delete res.status; res.header = res.headers; @@ -427,17 +403,17 @@ require("./taro"); originSuccess && originSuccess(res); resolve(res); }; - options.fail = function(res) { + options.fail = res => { originFail && originFail(res); reject(res); }; - options.complete = function(res) { + options.complete = res => { originComplete && originComplete(res); }; - var nativeRequest = my.canIUse("request") ? my.request : my.httpRequest; + const nativeRequest = my.canIUse("request") ? my.request : my.httpRequest; requestTask = nativeRequest(options); - })); - p.abort = function(cb) { + }); + p.abort = cb => { cb && cb(); if (requestTask) { requestTask.abort(); @@ -448,12 +424,12 @@ require("./taro"); } function handleSyncApis(key, global, args) { if (key === "getStorageSync") { - var arg1 = args[0]; + const arg1 = args[0]; if (arg1 != null) { - var res = global[key]({ + const res = global[key]({ key: arg1 }); - var data = null; + let data = null; if (res.hasOwnProperty("data")) { data = res.data; } else if (res.hasOwnProperty("APDataStorage")) { @@ -464,27 +440,27 @@ require("./taro"); return console.error("getStorageSync \\u4f20\\u5165\\u53c2\\u6570\\u9519\\u8bef"); } if (key === "setStorageSync") { - var _arg = args[0]; - var arg2 = args[1]; - if (_arg != null) { + const arg1 = args[0]; + const arg2 = args[1]; + if (arg1 != null) { return global[key]({ - key: _arg, + key: arg1, data: arg2 }); } return console.error("setStorageSync \\u4f20\\u5165\\u53c2\\u6570\\u9519\\u8bef"); } if (key === "removeStorageSync") { - var _arg2 = args[0]; - if (_arg2 != null) { + const arg1 = args[0]; + if (arg1 != null) { return global[key]({ - key: _arg2 + key: arg1 }); } return console.error("removeStorageSync \\u4f20\\u5165\\u53c2\\u6570\\u9519\\u8bef"); } if (key === "createSelectorQuery") { - var query = global[key](); + const query = global[key](); query.in = function() { return query; }; @@ -493,7 +469,7 @@ require("./taro"); return global[key].apply(global, args); } function transformMeta(api, options) { - var apiAlias = api; + let apiAlias = api; if (api === "showModal") { options.cancelButtonText = options.cancelText || "\\u53d6\\u6d88"; options.confirmButtonText = options.confirmText || "\\u786e\\u5b9a"; @@ -503,28 +479,28 @@ require("./taro"); apiAlias = "alert"; } } else { - Object.keys(apiDiff).forEach((function(item) { - var apiItem = apiDiff[item]; + Object.keys(apiDiff).forEach(item => { + const apiItem = apiDiff[item]; if (api === item) { if (apiItem.alias) { apiAlias = apiItem.alias; } if (apiItem.options) { - var change = apiItem.options.change; - var set = apiItem.options.set; + const change = apiItem.options.change; + const set = apiItem.options.set; if (change) { - change.forEach((function(changeItem) { + change.forEach(changeItem => { options[changeItem.new] = options[changeItem.old]; - })); + }); } if (set) { - set.forEach((function(setItem) { + set.forEach(setItem => { options[setItem.key] = typeof setItem.value === "function" ? setItem.value(options) : setItem.value; - })); + }); } } } - })); + }); } return { key: apiAlias, @@ -532,11 +508,11 @@ require("./taro"); }; } function modifyApis(apis) { - Object.keys(apiDiff).map((function(key) { + Object.keys(apiDiff).map(key => { apis.add(key); - var platformKey = apiDiff[key].alias; + const platformKey = apiDiff[key].alias; platformKey && apis.delete(platformKey); - })); + }); apis.add("showModal"); apis.delete("confirm"); apis.delete("alert"); @@ -562,30 +538,30 @@ require("./taro"); my.closeSocket(); }; } - Object.keys(asyncResultApiDiff).forEach((function(apiKey) { - var apiItem = asyncResultApiDiff[apiKey]; + Object.keys(asyncResultApiDiff).forEach(apiKey => { + const apiItem = asyncResultApiDiff[apiKey]; if (key !== apiKey) { return; } if (!apiItem.res) { return; } - var set = apiItem.res.set; - var remove = apiItem.res.remove; + const set = apiItem.res.set; + const remove = apiItem.res.remove; if (set) { - set.forEach((function(setItem) { + set.forEach(setItem => { res[setItem.key] = typeof setItem.value === "function" ? setItem.value(res) : setItem.value; - })); + }); } if (remove) { - remove.forEach((function(removeItem) { + remove.forEach(removeItem => { delete res[removeItem]; - })); + }); } - })); + }); } function initNativeApi(taro) { - Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["e"])(taro, my, { + Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["e"])(taro, my, { needPromiseApis: needPromiseApis, handleSyncApis: handleSyncApis, transformMeta: transformMeta, @@ -594,7 +570,7 @@ require("./taro"); request: request }); } - var components = { + const components = { View: { "disable-scroll": "false", hidden: "false", @@ -652,7 +628,7 @@ require("./taro"); Slider: { "track-size": "4", "handle-size": "22", - "handle-color": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("#ffffff") + "handle-color": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("#ffffff") }, Switch: { controlled: "false" @@ -681,23 +657,23 @@ require("./taro"); "default-source": "" }, Camera: { - mode: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("normal"), - "output-dimension": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("720P"), - "frame-size": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("medium"), + mode: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("normal"), + "output-dimension": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("720P"), + "frame-size": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("medium"), bindScanCode: "", bindReady: "" }, Canvas: { type: "", - width: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("300px"), - height: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("225px"), + width: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("300px"), + height: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("225px"), bindReady: "" }, Video: { - "poster-size": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("contain"), + "poster-size": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("contain"), "show-thin-progress-bar": "false", "mobilenet-hint-type": "1", - "floating-mode": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("none"), + "floating-mode": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("none"), enableNative: "true", bindLoading: "", bindUserAction: "", @@ -738,15 +714,15 @@ require("./taro"); "tnt-inst-id": "", scene: "", size: "25", - color: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("#00A3FF"), + color: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("#00A3FF"), icon: "", "alipay-card-no": "", "ext-info": "" }, ArCamera: { - devicePosition: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("back"), + devicePosition: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("back"), marker: "", - mode: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("imageTracking"), + mode: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("imageTracking"), useCapturedImage: "false", bindInit: "", bindStop: "", @@ -758,7 +734,7 @@ require("./taro"); duration: "300", "z-index": "100", overlay: "true", - position: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("bottom"), + position: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("bottom"), round: "false", "close-on-slide-down": "false", "overlay-style": "", @@ -777,7 +753,7 @@ require("./taro"); name: "", transform: "false", duration: "300", - "easing-function": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("ease-out") + "easing-function": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("ease-out") }, RootPortal: { enable: "true" @@ -795,46 +771,46 @@ require("./taro"); bindScroll: "" } }; - var BUBBLE_EVENTS = new Set([ "touchStart", "touchMove", "touchEnd", "touchCancel", "tap", "longTap" ]); - var hostConfig = { + const BUBBLE_EVENTS = new Set([ "touchStart", "touchMove", "touchEnd", "touchCancel", "tap", "longTap" ]); + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { + getMiniLifecycle(config) { config.component[0] = "didMount"; config.component[1] = "didUnmount"; return config; }, - getEventCenter: function getEventCenter(Events) { + getEventCenter(Events) { if (!my.taroEventCenter) { my.taroEventCenter = new Events; } return my.taroEventCenter; }, - modifyTaroEvent: function modifyTaroEvent(event, node) { + modifyTaroEvent(event, node) { if (node.tagName === "SWIPER" && event.type === "animationend") { event.type = "animationfinish"; } }, - isBubbleEvents: function isBubbleEvents(eventName) { + isBubbleEvents(eventName) { return BUBBLE_EVENTS.has(eventName); }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var page = getCurrentPages()[0]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["a"])({}, Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["toCamelCase"])(data.nn), data)); - return _ref = { - sid: element.sid - }, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["a"])(_ref, "v", ""), - Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["a"])(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["toCamelCase"])(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } }, - modifyRecursiveComponentConfig: function modifyRecursiveComponentConfig(componentConfig, _ref2) { - var isCustomWrapper = _ref2.isCustomWrapper; + modifyRecursiveComponentConfig(componentConfig, {isCustomWrapper: isCustomWrapper}) { return isCustomWrapper ? Object.assign(Object.assign({}, componentConfig), { - deriveDataFromProps: function deriveDataFromProps(nextProps) { + deriveDataFromProps(nextProps) { if (this.data.i !== undefined && this.props.i !== nextProps.i) { this.setData({ i: nextProps.i @@ -844,31 +820,31 @@ require("./taro"); }) : componentConfig; } }; - var _navigator = navigator, userAgent = _navigator.userAgent; + const {userAgent: userAgent} = navigator; Object.defineProperty(navigator, "userAgent", { configurable: true, enumerable: true, - get: function get() { + get() { return userAgent || navigator.swuserAgent || ""; } }); - Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["d"])(hostConfig); - Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["c"])(components); + Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["d"])(hostConfig); + Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["c"])(components); }).call(this, __webpack_require__(4)["navigator"]); }, - 15: function(module, exports, __webpack_require__) {}, - 19: function(module, __webpack_exports__, __webpack_require__) { + 13: function(module, exports, __webpack_require__) {}, + 17: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var runtime = __webpack_require__(14); + var runtime = __webpack_require__(12); var taro_runtime = __webpack_require__(4); var taro = __webpack_require__(0); var classCallCheck = __webpack_require__(5); - var createClass = __webpack_require__(6); + var createClass = __webpack_require__(7); var inherits = __webpack_require__(8); - var createSuper = __webpack_require__(7); + var createSuper = __webpack_require__(6); var react = __webpack_require__(1); - var app = __webpack_require__(15); + var app = __webpack_require__(13); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -894,7 +870,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_src_app = app_App; - var taro_react = __webpack_require__(11); + var taro_react = __webpack_require__(9); var config = { pages: [ "pages/index/index" ], window: { @@ -918,7 +894,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 19, 0, 1, 3, 2 ] ] ]); +}, [ [ 17, 0, 1, 3, 2 ] ] ]); @@ -1095,8 +1071,8 @@ require("./taro"); /** filePath: dist/pages/index/index.js **/ /*! For license information please see index.js.LICENSE.txt */ (my["webpackJsonp"] = my["webpackJsonp"] || []).push([ [ 7 ], { - 17: function(module, exports, __webpack_require__) {}, - 18: function(module, __webpack_exports__, __webpack_require__) { + 15: function(module, exports, __webpack_require__) {}, + 16: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(4); @@ -1436,12 +1412,12 @@ require("./taro"); }; } var classCallCheck = __webpack_require__(5); - var createClass = __webpack_require__(6); + var createClass = __webpack_require__(7); var inherits = __webpack_require__(8); - var createSuper = __webpack_require__(7); + var createSuper = __webpack_require__(6); var react = __webpack_require__(1); var taro_components = __webpack_require__(2); - var index = __webpack_require__(17); + var index = __webpack_require__(15); var index_Index = function(_Component) { Object(inherits["a"])(Index, _Component); var _super = Object(createSuper["a"])(Index); @@ -1507,7 +1483,7 @@ require("./taro"); }, config || {})); var pages_index = __webpack_exports__["default"] = index_Index; } -}, [ [ 18, 0, 1, 3, 2 ] ] ]); +}, [ [ 16, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/index/index.js.LICENSE.txt **/ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ @@ -1521,10 +1497,6 @@ require("./taro"); /** filePath: dist/taro.js **/ (my["webpackJsonp"] = my["webpackJsonp"] || []).push([ [ 1 ], { - 11: function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_exports__["a"] = "taro-react-mock"; - }, 2: function(module, __webpack_exports__, __webpack_require__) { "use strict"; var _unused_webpack_default_export = "taro-components-mock"; @@ -1533,6 +1505,10 @@ require("./taro"); "use strict"; __webpack_require__.r(__webpack_exports__); __webpack_exports__["default"] = "taro-runtime-mock"; + }, + 9: function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_exports__["a"] = "taro-react-mock"; } } ]); @@ -1580,29 +1556,6 @@ export default { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1653,6 +1606,43 @@ export default { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(3); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1681,26 +1671,6 @@ export default { }); if (superClass) _setPrototypeOf(subClass, superClass); } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(3); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); " `; diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/babel.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/babel.spec.ts.snap index d6831f000994..e3dbdec59432 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/babel.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/babel.spec.ts.snap @@ -14,33 +14,18 @@ require("./vendors"); require("./taro"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 4 ], { - 12: function(module, exports, __webpack_require__) {}, - 16: function(module, __webpack_exports__, __webpack_require__) { + 11: function(module, exports, __webpack_require__) {}, + 15: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var toPropertyKey = __webpack_require__(7); - function _defineProperty(obj, key, value) { - key = Object(toPropertyKey["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -48,7 +33,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -71,19 +56,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -103,11 +86,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -521,27 +504,28 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; @@ -549,11 +533,11 @@ require("./taro"); mergeInternalComponents(components); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var app = __webpack_require__(12); + var app = __webpack_require__(11); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -579,7 +563,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_src_app = app_App; - var taro_react = __webpack_require__(9); + var taro_react = __webpack_require__(8); var config = { pages: [ "pages/index/index" ], window: { @@ -603,7 +587,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 16, 0, 1, 3, 2 ] ] ]); +}, [ [ 15, 0, 1, 3, 2 ] ] ]); @@ -1340,13 +1324,13 @@ require("./taro"); /** filePath: dist/comp.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 6 ], { - 13: function(module, __webpack_exports__, __webpack_require__) { + 12: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__["createRecursiveComponentConfig"])()); } -}, [ [ 13, 0, 1 ] ] ]); +}, [ [ 12, 0, 1 ] ] ]); /** filePath: dist/comp.json **/ {"component":true,"usingComponents":{"comp":"./comp"}} @@ -1358,18 +1342,18 @@ require("./taro"); /** filePath: dist/pages/index/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 8 ], { - 15: function(module, exports, __webpack_require__) {}, - 17: function(module, __webpack_exports__, __webpack_require__) { + 14: function(module, exports, __webpack_require__) {}, + 16: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var taro_components = __webpack_require__(8); - var index = __webpack_require__(15); + var taro_components = __webpack_require__(7); + var index = __webpack_require__(14); var index_Index = function(_Component) { Object(inherits["a"])(Index, _Component); var _super = Object(createSuper["a"])(Index); @@ -1402,7 +1386,7 @@ require("./taro"); }, config || {})); var pages_index = __webpack_exports__["default"] = index_Index; } -}, [ [ 17, 0, 1, 3, 2 ] ] ]); +}, [ [ 16, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/index/index.json **/ {"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}} @@ -1423,11 +1407,11 @@ require("./taro"); "use strict"; var _unused_webpack_default_export = "taro-runtime-mock"; }, - 8: function(module, __webpack_exports__, __webpack_require__) { + 7: function(module, __webpack_exports__, __webpack_require__) { "use strict"; var _unused_webpack_default_export = "taro-components-mock"; }, - 9: function(module, __webpack_exports__, __webpack_require__) { + 8: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_exports__["a"] = "taro-react-mock"; } @@ -1498,29 +1482,6 @@ module.exports = { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1571,6 +1532,43 @@ module.exports = { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(2); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1599,26 +1597,6 @@ module.exports = { }); if (superClass) _setPrototypeOf(subClass, superClass); } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(2); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); " `; diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/bytedance.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/bytedance.spec.ts.snap index 2a8bee88d9a8..67894ad74796 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/bytedance.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/bytedance.spec.ts.snap @@ -24,8 +24,8 @@ require("./taro"); function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -33,7 +33,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -56,13 +56,13 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "applyRefund", "canRateAwemeOrders", "checkFollowAwemeState", "checkFollowState", "continueToPay", "createOrder", "exitMiniProgram", "followAwemeUser", "followOfficialAccount", "getMenuButtonLayout", "getUserProfile", "hideInteractionBar", "navigateToVideoView", "openAwemeUserProfile", "openEcGood", "openWebcastRoom", "pay", "rateAwemeOrder", "showDouyinOpenAuth", "showInteractionBar" ]); - var apiDiff = { + const needPromiseApis = new Set([ "applyRefund", "canRateAwemeOrders", "checkFollowAwemeState", "checkFollowState", "continueToPay", "createOrder", "exitMiniProgram", "followAwemeUser", "followOfficialAccount", "getMenuButtonLayout", "getUserProfile", "hideInteractionBar", "navigateToVideoView", "openAwemeUserProfile", "openEcGood", "openWebcastRoom", "pay", "rateAwemeOrder", "showDouyinOpenAuth", "showInteractionBar" ]); + const apiDiff = { showToast: { options: { set: [ { key: "icon", - value: function value(options) { + value(options) { return options.icon === "error" ? "fail" : options.icon; } } ] @@ -70,29 +70,29 @@ require("./taro"); } }; function transformMeta(api, options) { - var apiAlias = api; - Object.keys(apiDiff).forEach((function(item) { - var apiItem = apiDiff[item]; + let apiAlias = api; + Object.keys(apiDiff).forEach(item => { + const apiItem = apiDiff[item]; if (api === item) { if (apiItem.alias) { apiAlias = apiItem.alias; } if (apiItem.options) { - var change = apiItem.options.change; - var set = apiItem.options.set; + const change = apiItem.options.change; + const set = apiItem.options.set; if (change) { - change.forEach((function(changeItem) { + change.forEach(changeItem => { options[changeItem.new] = options[changeItem.old]; - })); + }); } if (set) { - set.forEach((function(setItem) { + set.forEach(setItem => { options[setItem.key] = typeof setItem.value === "function" ? setItem.value(options) : setItem.value; - })); + }); } } } - })); + }); return { key: apiAlias, options: options @@ -104,10 +104,10 @@ require("./taro"); transformMeta: transformMeta }); } - var _true = "!0"; - var _false = "!1"; - var _empty = ""; - var components = { + const _true = "!0"; + const _false = "!1"; + const _empty = ""; + const components = { Icon: { size: "24" }, @@ -271,14 +271,14 @@ require("./taro"); bindError: _empty } }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - modifyMpEventImpl: function modifyMpEventImpl(event) { + modifyMpEventImpl(event) { if (event.type === "regionchange") { event.type = event.detail.type; } }, - modifyTaroEventReturn: function modifyTaroEventReturn(node, event, returnVal) { + modifyTaroEventReturn(node, event, returnVal) { if (node.nodeName === "pay-button") { if (event.type === "applyrefund" || event.type === "getgoodsinfo") { return returnVal; diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/common-style.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/common-style.spec.ts.snap index ff72e147a9bf..8f4b2d988b4d 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/common-style.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/common-style.spec.ts.snap @@ -17,33 +17,18 @@ require("./vendors"); require("./taro"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 4 ], { - 14: function(module, exports, __webpack_require__) {}, - 18: function(module, __webpack_exports__, __webpack_require__) { + 13: function(module, exports, __webpack_require__) {}, + 17: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var toPropertyKey = __webpack_require__(9); - function _defineProperty(obj, key, value) { - key = Object(toPropertyKey["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -51,7 +36,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -74,19 +59,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -106,11 +89,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -524,27 +507,28 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; @@ -552,11 +536,11 @@ require("./taro"); mergeInternalComponents(components); var taro_runtime = __webpack_require__(1); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(0); - var app = __webpack_require__(14); + var app = __webpack_require__(13); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -582,7 +566,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_src_app = app_App; - var taro_react = __webpack_require__(10); + var taro_react = __webpack_require__(9); var config = { pages: [ "pages/index/index", "pages/about/index" ], window: { @@ -606,7 +590,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 18, 0, 1, 3, 2 ] ] ]); +}, [ [ 17, 0, 1, 3, 2 ] ] ]); @@ -1343,19 +1327,19 @@ require("./taro"); __webpack_require__.r(__webpack_exports__); __webpack_exports__["default"] = "react-mock"; }, - 17: function(module, exports, __webpack_require__) {}, + 16: function(module, exports, __webpack_require__) {}, 8: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { return Index; })); var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3); - var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4); + var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5); var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6); - var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5); + var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4); var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(0); var _tarojs_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2); - var _index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(17); + var _index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(16); var _index_scss__WEBPACK_IMPORTED_MODULE_6___default = __webpack_require__.n(_index_scss__WEBPACK_IMPORTED_MODULE_6__); var Index = function(_Component) { Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__["a"])(Index, _Component); @@ -1382,13 +1366,13 @@ require("./taro"); /** filePath: dist/comp.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 6 ], { - 15: function(module, __webpack_exports__, __webpack_require__) { + 14: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1); Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__["createRecursiveComponentConfig"])()); } -}, [ [ 15, 0, 1 ] ] ]); +}, [ [ 14, 0, 1 ] ] ]); /** filePath: dist/comp.json **/ {"component":true,"usingComponents":{"comp":"./comp"}} @@ -1400,14 +1384,14 @@ require("./taro"); /** filePath: dist/pages/about/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 8 ], { - 20: function(module, __webpack_exports__, __webpack_require__) { + 19: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(1); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(0); var taro_components = __webpack_require__(2); var title = __webpack_require__(8); @@ -1440,7 +1424,7 @@ require("./taro"); }, config || {})); var about = __webpack_exports__["default"] = about_Index; } -}, [ [ 20, 0, 1, 3, 2 ] ] ]); +}, [ [ 19, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/about/index.json **/ {"navigationBarTitleText":"关于","usingComponents":{"comp":"../../comp"}} @@ -1451,14 +1435,14 @@ require("./taro"); /** filePath: dist/pages/index/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 10 ], { - 19: function(module, __webpack_exports__, __webpack_require__) { + 18: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(1); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(0); var taro_components = __webpack_require__(2); var title = __webpack_require__(8); @@ -1491,7 +1475,7 @@ require("./taro"); }, config || {})); var index = __webpack_exports__["default"] = index_Index; } -}, [ [ 19, 0, 1, 3, 2 ] ] ]); +}, [ [ 18, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/index/index.json **/ {"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}} @@ -1509,13 +1493,13 @@ require("./taro"); "use strict"; var _unused_webpack_default_export = "taro-runtime-mock"; }, - 10: function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_exports__["a"] = "taro-react-mock"; - }, 2: function(module, __webpack_exports__, __webpack_require__) { "use strict"; var _unused_webpack_default_export = "taro-components-mock"; + }, + 9: function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_exports__["a"] = "taro-react-mock"; } } ]); @@ -1571,29 +1555,6 @@ module.exports = { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1644,6 +1605,43 @@ module.exports = { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(7); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1685,26 +1683,6 @@ module.exports = { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -}, , function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(7); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); " `; diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap index 099a9e1a9675..d4f605352a92 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap @@ -14,33 +14,18 @@ require("./vendors"); require("./taro"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 4 ], { - 11: function(module, exports, __webpack_require__) {}, - 15: function(module, __webpack_exports__, __webpack_require__) { + 10: function(module, exports, __webpack_require__) {}, + 14: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var toPropertyKey = __webpack_require__(7); - function _defineProperty(obj, key, value) { - key = Object(toPropertyKey["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -48,7 +33,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -71,19 +56,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -103,11 +86,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -521,27 +504,28 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; @@ -549,11 +533,11 @@ require("./taro"); mergeInternalComponents(components); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var app = __webpack_require__(11); + var app = __webpack_require__(10); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -579,7 +563,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_src_app = app_App; - var taro_react = __webpack_require__(9); + var taro_react = __webpack_require__(8); var config = { pages: [ "pages/index/index" ], window: { @@ -603,7 +587,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 15, 0, 1, 3, 2 ] ] ]); +}, [ [ 14, 0, 1, 3, 2 ] ] ]); @@ -1340,13 +1324,13 @@ require("./taro"); /** filePath: dist/comp.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 6 ], { - 12: function(module, __webpack_exports__, __webpack_require__) { + 11: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__["createRecursiveComponentConfig"])()); } -}, [ [ 12, 0, 1 ] ] ]); +}, [ [ 11, 0, 1 ] ] ]); /** filePath: dist/comp.json **/ {"component":true,"usingComponents":{"comp":"./comp"}} @@ -1358,18 +1342,18 @@ require("./taro"); /** filePath: dist/pages/index/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 8 ], { - 14: function(module, exports, __webpack_require__) {}, - 16: function(module, __webpack_exports__, __webpack_require__) { + 13: function(module, exports, __webpack_require__) {}, + 15: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var taro_components = __webpack_require__(8); - var index = __webpack_require__(14); + var taro_components = __webpack_require__(7); + var index = __webpack_require__(13); var index_Index = function(_Component) { Object(inherits["a"])(Index, _Component); var _super = Object(createSuper["a"])(Index); @@ -1397,7 +1381,7 @@ require("./taro"); }, config || {})); var pages_index = __webpack_exports__["default"] = index_Index; } -}, [ [ 16, 0, 1, 3, 2 ] ] ]); +}, [ [ 15, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/index/index.json **/ {"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}} @@ -1418,11 +1402,11 @@ require("./taro"); "use strict"; var _unused_webpack_default_export = "taro-runtime-mock"; }, - 8: function(module, __webpack_exports__, __webpack_require__) { + 7: function(module, __webpack_exports__, __webpack_require__) { "use strict"; var _unused_webpack_default_export = "taro-components-mock"; }, - 9: function(module, __webpack_exports__, __webpack_require__) { + 8: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_exports__["a"] = "taro-react-mock"; } @@ -1493,29 +1477,6 @@ module.exports = { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1566,6 +1527,43 @@ module.exports = { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(2); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1594,26 +1592,6 @@ module.exports = { }); if (superClass) _setPrototypeOf(subClass, superClass); } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(2); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); " `; diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/config.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/config.spec.ts.snap index 37da30b29b42..ac1c42a7326a 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/config.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/config.spec.ts.snap @@ -14,33 +14,18 @@ require("./vendors"); require("./taro"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 4 ], { - 12: function(module, exports, __webpack_require__) {}, - 16: function(module, __webpack_exports__, __webpack_require__) { + 11: function(module, exports, __webpack_require__) {}, + 15: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var toPropertyKey = __webpack_require__(7); - function _defineProperty(obj, key, value) { - key = Object(toPropertyKey["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -48,7 +33,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -71,19 +56,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -103,11 +86,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -521,27 +504,28 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; @@ -549,11 +533,11 @@ require("./taro"); mergeInternalComponents(components); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var app = __webpack_require__(12); + var app = __webpack_require__(11); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -579,7 +563,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_origin_app = app_App; - var taro_react = __webpack_require__(9); + var taro_react = __webpack_require__(8); var config = { pages: [ "pages/index/index" ], window: { @@ -603,7 +587,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 16, 0, 1, 3, 2 ] ] ]); +}, [ [ 15, 0, 1, 3, 2 ] ] ]); @@ -1500,13 +1484,13 @@ require("./taro"); /** filePath: dist/comp.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 6 ], { - 13: function(module, __webpack_exports__, __webpack_require__) { + 12: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__["createRecursiveComponentConfig"])()); } -}, [ [ 13, 0, 1 ] ] ]); +}, [ [ 12, 0, 1 ] ] ]); /** filePath: dist/comp.json **/ {"component":true,"usingComponents":{"comp":"./comp"}} @@ -1518,24 +1502,24 @@ require("./taro"); /** filePath: dist/pages/index/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 8 ], { - 15: function(module, exports, __webpack_require__) {}, - 17: function(module, __webpack_exports__, __webpack_require__) { + 14: function(module, exports, __webpack_require__) {}, + 16: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var taro_components = __webpack_require__(8); + var taro_components = __webpack_require__(7); function say() { console.log("little cat"); } function miao() { console.log("say: ", say()); } - var index = __webpack_require__(15); + var index = __webpack_require__(14); var index_Index = function(_Component) { Object(inherits["a"])(Index, _Component); var _super = Object(createSuper["a"])(Index); @@ -1568,7 +1552,7 @@ require("./taro"); }, config || {})); var pages_index = __webpack_exports__["default"] = index_Index; } -}, [ [ 17, 0, 1, 3, 2 ] ] ]); +}, [ [ 16, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/index/index.json **/ {"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}} @@ -1589,11 +1573,11 @@ require("./taro"); "use strict"; var _unused_webpack_default_export = "taro-runtime-mock"; }, - 8: function(module, __webpack_exports__, __webpack_require__) { + 7: function(module, __webpack_exports__, __webpack_require__) { "use strict"; var _unused_webpack_default_export = "taro-components-mock"; }, - 9: function(module, __webpack_exports__, __webpack_require__) { + 8: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_exports__["a"] = "taro-react-mock"; } @@ -1664,29 +1648,6 @@ module.exports = { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1737,6 +1698,43 @@ module.exports = { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(2); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1765,26 +1763,6 @@ module.exports = { }); if (superClass) _setPrototypeOf(subClass, superClass); } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(2); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); " `; @@ -1803,33 +1781,18 @@ require("./vendors"); require("./taro"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 4 ], { - 12: function(module, exports, __webpack_require__) {}, - 16: function(module, __webpack_exports__, __webpack_require__) { + 11: function(module, exports, __webpack_require__) {}, + 15: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var toPropertyKey = __webpack_require__(7); - function _defineProperty(obj, key, value) { - key = Object(toPropertyKey["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -1837,7 +1800,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -1860,19 +1823,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -1892,11 +1853,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -2310,27 +2271,28 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; @@ -2338,11 +2300,11 @@ require("./taro"); mergeInternalComponents(components); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var app = __webpack_require__(12); + var app = __webpack_require__(11); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -2368,7 +2330,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_origin_app = app_App; - var taro_react = __webpack_require__(9); + var taro_react = __webpack_require__(8); var config = { pages: [ "pages/index/index" ], window: { @@ -2392,7 +2354,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 16, 0, 1, 3, 2 ] ] ]); +}, [ [ 15, 0, 1, 3, 2 ] ] ]); @@ -3129,13 +3091,13 @@ require("./taro"); /** filePath: output/comp.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 6 ], { - 13: function(module, __webpack_exports__, __webpack_require__) { + 12: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__["createRecursiveComponentConfig"])()); } -}, [ [ 13, 0, 1 ] ] ]); +}, [ [ 12, 0, 1 ] ] ]); /** filePath: output/comp.json **/ {"component":true,"usingComponents":{"comp":"./comp"}} @@ -3147,24 +3109,24 @@ require("./taro"); /** filePath: output/pages/index/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 8 ], { - 15: function(module, exports, __webpack_require__) {}, - 17: function(module, __webpack_exports__, __webpack_require__) { + 14: function(module, exports, __webpack_require__) {}, + 16: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var taro_components = __webpack_require__(8); + var taro_components = __webpack_require__(7); function say() { console.log("little cat"); } function miao() { console.log("say: ", say()); } - var index = __webpack_require__(15); + var index = __webpack_require__(14); var index_Index = function(_Component) { Object(inherits["a"])(Index, _Component); var _super = Object(createSuper["a"])(Index); @@ -3197,7 +3159,7 @@ require("./taro"); }, config || {})); var pages_index = __webpack_exports__["default"] = index_Index; } -}, [ [ 17, 0, 1, 3, 2 ] ] ]); +}, [ [ 16, 0, 1, 3, 2 ] ] ]); /** filePath: output/pages/index/index.json **/ {"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}} @@ -3332,11 +3294,11 @@ require("./taro"); "use strict"; var _unused_webpack_default_export = "taro-runtime-mock"; }, - 8: function(module, __webpack_exports__, __webpack_require__) { + 7: function(module, __webpack_exports__, __webpack_require__) { "use strict"; var _unused_webpack_default_export = "taro-components-mock"; }, - 9: function(module, __webpack_exports__, __webpack_require__) { + 8: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_exports__["a"] = "taro-react-mock"; } @@ -3407,29 +3369,6 @@ module.exports = { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -3480,6 +3419,43 @@ module.exports = { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(2); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -3508,26 +3484,6 @@ module.exports = { }); if (superClass) _setPrototypeOf(subClass, superClass); } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(2); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); " `; @@ -3546,33 +3502,18 @@ require("./vendors"); require("./taro"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 4 ], { - 12: function(module, exports, __webpack_require__) {}, - 16: function(module, __webpack_exports__, __webpack_require__) { + 11: function(module, exports, __webpack_require__) {}, + 15: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var toPropertyKey = __webpack_require__(7); - function _defineProperty(obj, key, value) { - key = Object(toPropertyKey["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -3580,7 +3521,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -3603,19 +3544,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -3635,11 +3574,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -4053,27 +3992,28 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; @@ -4081,11 +4021,11 @@ require("./taro"); mergeInternalComponents(components); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var app = __webpack_require__(12); + var app = __webpack_require__(11); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -4111,7 +4051,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_origin_app = app_App; - var taro_react = __webpack_require__(9); + var taro_react = __webpack_require__(8); var config = { pages: [ "pages/index/index" ], window: { @@ -4135,7 +4075,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 16, 0, 1, 3, 2 ] ] ]); +}, [ [ 15, 0, 1, 3, 2 ] ] ]); @@ -4872,13 +4812,13 @@ require("./taro"); /** filePath: dist/comp.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 6 ], { - 13: function(module, __webpack_exports__, __webpack_require__) { + 12: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__["createRecursiveComponentConfig"])()); } -}, [ [ 13, 0, 1 ] ] ]); +}, [ [ 12, 0, 1 ] ] ]); /** filePath: dist/comp.json **/ {"component":true,"usingComponents":{"comp":"./comp"}} @@ -4894,24 +4834,24 @@ I m irrelevant. /** filePath: dist/pages/index/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 8 ], { - 15: function(module, exports, __webpack_require__) {}, - 17: function(module, __webpack_exports__, __webpack_require__) { + 14: function(module, exports, __webpack_require__) {}, + 16: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var taro_components = __webpack_require__(8); + var taro_components = __webpack_require__(7); function say() { console.log("little cat"); } function miao() { console.log("say: ", say()); } - var index = __webpack_require__(15); + var index = __webpack_require__(14); var index_Index = function(_Component) { Object(inherits["a"])(Index, _Component); var _super = Object(createSuper["a"])(Index); @@ -4944,7 +4884,7 @@ I m irrelevant. }, config || {})); var pages_index = __webpack_exports__["default"] = index_Index; } -}, [ [ 17, 0, 1, 3, 2 ] ] ]); +}, [ [ 16, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/index/index.json **/ {"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}} @@ -4965,11 +4905,11 @@ I m irrelevant. "use strict"; var _unused_webpack_default_export = "taro-runtime-mock"; }, - 8: function(module, __webpack_exports__, __webpack_require__) { + 7: function(module, __webpack_exports__, __webpack_require__) { "use strict"; var _unused_webpack_default_export = "taro-components-mock"; }, - 9: function(module, __webpack_exports__, __webpack_require__) { + 8: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_exports__["a"] = "taro-react-mock"; } @@ -5040,29 +4980,6 @@ module.exports = { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -5113,6 +5030,43 @@ module.exports = { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(2); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -5141,26 +5095,6 @@ module.exports = { }); if (superClass) _setPrototypeOf(subClass, superClass); } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(2); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); /** filePath: dist/weapp/index.wxml **/ diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap index d50d99cec423..4419f5b15697 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap @@ -14,35 +14,20 @@ require("./vendors"); require("./taro"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 4 ], { - 14: function(module, exports, __webpack_require__) { + 13: function(module, exports, __webpack_require__) { module.exports = {}; }, - 18: function(module, __webpack_exports__, __webpack_require__) { + 17: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var toPropertyKey = __webpack_require__(7); - function _defineProperty(obj, key, value) { - key = Object(toPropertyKey["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -50,7 +35,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -73,19 +58,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -105,11 +88,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -523,27 +506,28 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; @@ -551,11 +535,11 @@ require("./taro"); mergeInternalComponents(components); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var app = __webpack_require__(14); + var app = __webpack_require__(13); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -581,7 +565,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_src_app = app_App; - var taro_react = __webpack_require__(10); + var taro_react = __webpack_require__(9); var config = { pages: [ "pages/index/index" ], window: { @@ -605,7 +589,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 18, 0, 1, 3, 2 ] ] ]); +}, [ [ 17, 0, 1, 3, 2 ] ] ]); @@ -1342,13 +1326,13 @@ require("./taro"); /** filePath: dist/comp.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 6 ], { - 15: function(module, __webpack_exports__, __webpack_require__) { + 14: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__["createRecursiveComponentConfig"])()); } -}, [ [ 15, 0, 1 ] ] ]); +}, [ [ 14, 0, 1 ] ] ]); /** filePath: dist/comp.json **/ {"component":true,"usingComponents":{"comp":"./comp"}} @@ -1360,27 +1344,27 @@ require("./taro"); /** filePath: dist/pages/index/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 8 ], { - 11: function(module, exports, __webpack_require__) { + 10: function(module, exports, __webpack_require__) { module.exports = { cwrapper: "index__cwrapper___bFOj1" }; }, - 17: function(module, exports, __webpack_require__) {}, - 19: function(module, __webpack_exports__, __webpack_require__) { + 16: function(module, exports, __webpack_require__) {}, + 18: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var taro_components = __webpack_require__(8); - var index_module = __webpack_require__(9); + var taro_components = __webpack_require__(7); + var index_module = __webpack_require__(8); var index_module_default = __webpack_require__.n(index_module); - var index = __webpack_require__(11); + var index = __webpack_require__(10); var index_default = __webpack_require__.n(index); - var index_global = __webpack_require__(17); + var index_global = __webpack_require__(16); var index_Index = function(_Component) { Object(inherits["a"])(Index, _Component); var _super = Object(createSuper["a"])(Index); @@ -1422,13 +1406,13 @@ require("./taro"); }, config || {})); var pages_index = __webpack_exports__["default"] = index_Index; }, - 9: function(module, exports, __webpack_require__) { + 8: function(module, exports, __webpack_require__) { module.exports = { cbody: "index-module__cbody___7MNr8", ctext: "index-module__ctext___Oge7c" }; } -}, [ [ 19, 0, 1, 3, 2 ] ] ]); +}, [ [ 18, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/index/index.json **/ {"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}} @@ -1449,13 +1433,13 @@ require("./taro"); "use strict"; var _unused_webpack_default_export = "taro-runtime-mock"; }, - 10: function(module, __webpack_exports__, __webpack_require__) { + 7: function(module, __webpack_exports__, __webpack_require__) { "use strict"; - __webpack_exports__["a"] = "taro-react-mock"; + var _unused_webpack_default_export = "taro-components-mock"; }, - 8: function(module, __webpack_exports__, __webpack_require__) { + 9: function(module, __webpack_exports__, __webpack_require__) { "use strict"; - var _unused_webpack_default_export = "taro-components-mock"; + __webpack_exports__["a"] = "taro-react-mock"; } } ]); @@ -1524,29 +1508,6 @@ module.exports = { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1597,6 +1558,43 @@ module.exports = { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(2); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1625,26 +1623,6 @@ module.exports = { }); if (superClass) _setPrototypeOf(subClass, superClass); } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(2); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); " `; @@ -1663,33 +1641,18 @@ require("./vendors"); require("./taro"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 4 ], { - 14: function(module, exports, __webpack_require__) {}, - 18: function(module, __webpack_exports__, __webpack_require__) { + 13: function(module, exports, __webpack_require__) {}, + 17: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var toPropertyKey = __webpack_require__(7); - function _defineProperty(obj, key, value) { - key = Object(toPropertyKey["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -1697,7 +1660,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -1720,19 +1683,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -1752,11 +1713,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -2170,27 +2131,28 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; @@ -2198,11 +2160,11 @@ require("./taro"); mergeInternalComponents(components); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var app = __webpack_require__(14); + var app = __webpack_require__(13); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -2228,7 +2190,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_src_app = app_App; - var taro_react = __webpack_require__(10); + var taro_react = __webpack_require__(9); var config = { pages: [ "pages/index/index" ], window: { @@ -2252,7 +2214,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 18, 0, 1, 3, 2 ] ] ]); +}, [ [ 17, 0, 1, 3, 2 ] ] ]); @@ -2989,13 +2951,13 @@ require("./taro"); /** filePath: dist/comp.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 6 ], { - 15: function(module, __webpack_exports__, __webpack_require__) { + 14: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__["createRecursiveComponentConfig"])()); } -}, [ [ 15, 0, 1 ] ] ]); +}, [ [ 14, 0, 1 ] ] ]); /** filePath: dist/comp.json **/ {"component":true,"usingComponents":{"comp":"./comp"}} @@ -3007,23 +2969,23 @@ require("./taro"); /** filePath: dist/pages/index/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 8 ], { - 11: function(module, exports, __webpack_require__) {}, - 17: function(module, exports, __webpack_require__) {}, - 19: function(module, __webpack_exports__, __webpack_require__) { + 10: function(module, exports, __webpack_require__) {}, + 16: function(module, exports, __webpack_require__) {}, + 18: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var taro_components = __webpack_require__(8); - var index_module = __webpack_require__(9); + var taro_components = __webpack_require__(7); + var index_module = __webpack_require__(8); var index_module_default = __webpack_require__.n(index_module); - var index = __webpack_require__(11); + var index = __webpack_require__(10); var index_default = __webpack_require__.n(index); - var index_global = __webpack_require__(17); + var index_global = __webpack_require__(16); var index_Index = function(_Component) { Object(inherits["a"])(Index, _Component); var _super = Object(createSuper["a"])(Index); @@ -3065,13 +3027,13 @@ require("./taro"); }, config || {})); var pages_index = __webpack_exports__["default"] = index_Index; }, - 9: function(module, exports, __webpack_require__) { + 8: function(module, exports, __webpack_require__) { module.exports = { cbody: "index-module__cbody___7MNr8", ctext: "index-module__ctext___Oge7c" }; } -}, [ [ 19, 0, 1, 3, 2 ] ] ]); +}, [ [ 18, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/index/index.json **/ {"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}} @@ -3092,13 +3054,13 @@ require("./taro"); "use strict"; var _unused_webpack_default_export = "taro-runtime-mock"; }, - 10: function(module, __webpack_exports__, __webpack_require__) { + 7: function(module, __webpack_exports__, __webpack_require__) { "use strict"; - __webpack_exports__["a"] = "taro-react-mock"; + var _unused_webpack_default_export = "taro-components-mock"; }, - 8: function(module, __webpack_exports__, __webpack_require__) { + 9: function(module, __webpack_exports__, __webpack_require__) { "use strict"; - var _unused_webpack_default_export = "taro-components-mock"; + __webpack_exports__["a"] = "taro-react-mock"; } } ]); @@ -3167,29 +3129,6 @@ module.exports = { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -3240,6 +3179,43 @@ module.exports = { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(2); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -3268,26 +3244,6 @@ module.exports = { }); if (superClass) _setPrototypeOf(subClass, superClass); } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(2); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); " `; diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/custom-tabbar.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/custom-tabbar.spec.ts.snap index 166152bdc912..0243c6aba3c8 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/custom-tabbar.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/custom-tabbar.spec.ts.snap @@ -14,39 +14,22 @@ require("./vendors"); require("./taro"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 4 ], { - 15: function(module, exports, __webpack_require__) {}, - 19: function(module, __webpack_exports__, __webpack_require__) { + 14: function(module, exports, __webpack_require__) {}, + 18: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var toPropertyKey = __webpack_require__(9); - function _defineProperty(obj, key, value) { - key = Object(toPropertyKey["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = __webpack_require__(2); - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { Object(mocks_taro["f"])(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -66,11 +49,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -484,27 +467,28 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, Object(mocks_taro["toCamelCase"])(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [Object(mocks_taro["toCamelCase"])(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; @@ -512,11 +496,11 @@ require("./taro"); Object(mocks_taro["d"])(components); var taro_runtime = __webpack_require__(1); var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); + var createClass = __webpack_require__(6); var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(0); - var app = __webpack_require__(15); + var app = __webpack_require__(14); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -542,7 +526,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_src_app = app_App; - var taro_react = __webpack_require__(10); + var taro_react = __webpack_require__(9); var config = { pages: [ "pages/index/index", "pages/detail/index" ], window: { @@ -584,7 +568,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 19, 0, 1, 3, 2 ] ] ]); +}, [ [ 18, 0, 1, 3, 2 ] ] ]); @@ -1499,8 +1483,8 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -1508,7 +1492,7 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -1535,13 +1519,13 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 /** filePath: dist/comp.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 6 ], { - 16: function(module, __webpack_exports__, __webpack_require__) { + 15: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1); Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__["createRecursiveComponentConfig"])()); } -}, [ [ 16, 0, 1 ] ] ]); +}, [ [ 15, 0, 1 ] ] ]); /** filePath: dist/comp.json **/ {"component":true,"usingComponents":{"comp":"./comp"}} @@ -1553,19 +1537,19 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 /** filePath: dist/custom-tab-bar/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 7 ], { - 18: function(module, exports, __webpack_require__) {}, - 22: function(module, __webpack_exports__, __webpack_require__) { + 17: function(module, exports, __webpack_require__) {}, + 21: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(1); var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); + var createClass = __webpack_require__(6); var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(0); var taro_components = __webpack_require__(3); var taro = __webpack_require__(2); - var custom_tab_bar = __webpack_require__(18); + var custom_tab_bar = __webpack_require__(17); var custom_tab_bar_Index = function(_Component) { Object(inherits["a"])(Index, _Component); var _super = Object(createSuper["a"])(Index); @@ -1602,7 +1586,7 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 var inst = Component(Object(taro_runtime["createComponentConfig"])(custom_tab_bar_Index, "custom-tab-bar/index")); var src_custom_tab_bar = __webpack_exports__["default"] = custom_tab_bar_Index; } -}, [ [ 22, 0, 1, 3, 2 ] ] ]); +}, [ [ 21, 0, 1, 3, 2 ] ] ]); /** filePath: dist/custom-tab-bar/index.json **/ {} @@ -1616,14 +1600,14 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 /** filePath: dist/pages/detail/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 10 ], { - 21: function(module, __webpack_exports__, __webpack_require__) { + 20: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(1); var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); + var createClass = __webpack_require__(6); var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(0); var taro_components = __webpack_require__(3); var detail_Index = function(_Component) { @@ -1653,7 +1637,7 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 }, config || {})); var detail = __webpack_exports__["default"] = detail_Index; } -}, [ [ 21, 0, 1, 3, 2 ] ] ]); +}, [ [ 20, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/detail/index.json **/ {"navigationBarTitleText":"详情页","usingComponents":{"comp":"../../comp"}} @@ -1664,14 +1648,14 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 /** filePath: dist/pages/index/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 12 ], { - 20: function(module, __webpack_exports__, __webpack_require__) { + 19: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(1); var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); + var createClass = __webpack_require__(6); var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(0); var taro_components = __webpack_require__(3); var index_Index = function(_Component) { @@ -1701,7 +1685,7 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 }, config || {})); var index = __webpack_exports__["default"] = index_Index; } -}, [ [ 20, 0, 1, 3, 2 ] ] ]); +}, [ [ 19, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/index/index.json **/ {"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}} @@ -1719,13 +1703,13 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 "use strict"; var _unused_webpack_default_export = "taro-runtime-mock"; }, - 10: function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_exports__["a"] = "taro-react-mock"; - }, 3: function(module, __webpack_exports__, __webpack_require__) { "use strict"; var _unused_webpack_default_export = "taro-components-mock"; + }, + 9: function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_exports__["a"] = "taro-react-mock"; } } ]); @@ -1781,29 +1765,6 @@ module.exports = { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1854,6 +1815,43 @@ module.exports = { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(8); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1895,26 +1893,6 @@ module.exports = { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(8); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); " `; diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/jd.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/jd.spec.ts.snap index 9bfacc9cb6e9..500552fc179e 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/jd.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/jd.spec.ts.snap @@ -24,8 +24,8 @@ require("./taro"); function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -33,7 +33,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -65,7 +65,7 @@ require("./taro"); } }; } - var components = { + const components = { Swiper: { "easing-function": undefined("default") }, @@ -89,7 +89,7 @@ require("./taro"); "adjust-position": "true" } }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi }; mergeReconciler(hostConfig); diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap index fd2e34fab198..af007fa01bcb 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap @@ -14,33 +14,18 @@ require("./vendors"); require("./taro"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 4 ], { - 12: function(module, exports, __webpack_require__) {}, - 16: function(module, __webpack_exports__, __webpack_require__) { + 11: function(module, exports, __webpack_require__) {}, + 15: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var toPropertyKey = __webpack_require__(7); - function _defineProperty(obj, key, value) { - key = Object(toPropertyKey["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -48,7 +33,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -71,19 +56,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -103,11 +86,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -521,27 +504,28 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; @@ -549,11 +533,11 @@ require("./taro"); mergeInternalComponents(components); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var app = __webpack_require__(12); + var app = __webpack_require__(11); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -579,7 +563,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_src_app = app_App; - var taro_react = __webpack_require__(9); + var taro_react = __webpack_require__(8); var config = { pages: [ "pages/index/index" ], window: { @@ -603,7 +587,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 16, 0, 1, 3, 2 ] ] ]); +}, [ [ 15, 0, 1, 3, 2 ] ] ]); @@ -1340,13 +1324,13 @@ require("./taro"); /** filePath: dist/comp.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 6 ], { - 13: function(module, __webpack_exports__, __webpack_require__) { + 12: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__["createRecursiveComponentConfig"])()); } -}, [ [ 13, 0, 1 ] ] ]); +}, [ [ 12, 0, 1 ] ] ]); /** filePath: dist/comp.json **/ {"component":true,"usingComponents":{"comp":"./comp"}} @@ -1358,18 +1342,18 @@ require("./taro"); /** filePath: dist/pages/index/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 8 ], { - 15: function(module, exports, __webpack_require__) {}, - 17: function(module, __webpack_exports__, __webpack_require__) { + 14: function(module, exports, __webpack_require__) {}, + 16: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var taro_components = __webpack_require__(8); - var index = __webpack_require__(15); + var taro_components = __webpack_require__(7); + var index = __webpack_require__(14); var index_Index = function(_Component) { Object(inherits["a"])(Index, _Component); var _super = Object(createSuper["a"])(Index); @@ -1402,7 +1386,7 @@ require("./taro"); }, config || {})); var pages_index = __webpack_exports__["default"] = index_Index; } -}, [ [ 17, 0, 1, 3, 2 ] ] ]); +}, [ [ 16, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/index/index.json **/ {"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}} @@ -1423,11 +1407,11 @@ require("./taro"); "use strict"; var _unused_webpack_default_export = "taro-runtime-mock"; }, - 8: function(module, __webpack_exports__, __webpack_require__) { + 7: function(module, __webpack_exports__, __webpack_require__) { "use strict"; var _unused_webpack_default_export = "taro-components-mock"; }, - 9: function(module, __webpack_exports__, __webpack_require__) { + 8: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_exports__["a"] = "taro-react-mock"; } @@ -1498,29 +1482,6 @@ module.exports = { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1571,6 +1532,43 @@ module.exports = { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(2); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1599,26 +1597,6 @@ module.exports = { }); if (superClass) _setPrototypeOf(subClass, superClass); } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(2); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); " `; diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap index cd47cd50682e..0ea9ce6a5cba 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap @@ -18,15 +18,14 @@ require("./taro"); 18: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var defineProperty = __webpack_require__(3); var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -34,7 +33,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -57,19 +56,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -89,11 +86,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -507,37 +504,38 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(Object(defineProperty["a"])({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, Object(defineProperty["a"])(_ref, "v", ""), Object(defineProperty["a"])(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); var taro_runtime = __webpack_require__(2); - var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); - var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var classCallCheck = __webpack_require__(3); + var createClass = __webpack_require__(4); + var inherits = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(0); var app = __webpack_require__(14); var app_App = function(_Component) { @@ -1362,12 +1360,12 @@ require("./taro"); "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(2); - var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); - var assertThisInitialized = __webpack_require__(8); - var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); - var defineProperty = __webpack_require__(3); + var classCallCheck = __webpack_require__(3); + var createClass = __webpack_require__(4); + var assertThisInitialized = __webpack_require__(7); + var inherits = __webpack_require__(6); + var createSuper = __webpack_require__(5); + var defineProperty = __webpack_require__(9); var react = __webpack_require__(0); var taro_components = __webpack_require__(1); var region = [ { @@ -2654,12 +2652,12 @@ require("./taro"); "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(2); - var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); - var assertThisInitialized = __webpack_require__(8); - var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); - var defineProperty = __webpack_require__(3); + var classCallCheck = __webpack_require__(3); + var createClass = __webpack_require__(4); + var assertThisInitialized = __webpack_require__(7); + var inherits = __webpack_require__(6); + var createSuper = __webpack_require__(5); + var defineProperty = __webpack_require__(9); var react = __webpack_require__(0); var taro_components = __webpack_require__(1); var normal_Index = function(_Component) { @@ -2709,10 +2707,10 @@ require("./taro"); "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(2); - var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); - var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var classCallCheck = __webpack_require__(3); + var createClass = __webpack_require__(4); + var inherits = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(0); var taro_components = __webpack_require__(1); var index = __webpack_require__(17); @@ -2828,26 +2826,6 @@ module.exports = { /** filePath: dist/vendors.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 3 ], [ , , , function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _defineProperty; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); - function _defineProperty(obj, key, value) { - key = Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } -}, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { return _classCallCheck; @@ -2902,8 +2880,8 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(9); - var assertThisInitialized = __webpack_require__(8); + var esm_typeof = __webpack_require__(8); + var assertThisInitialized = __webpack_require__(7); function _possibleConstructorReturn(self, call) { if (call && (Object(esm_typeof["a"])(call) === "object" || typeof call === "function")) { return call; @@ -2977,12 +2955,32 @@ module.exports = { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _defineProperty; + })); + var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); + function _defineProperty(obj, key, value) { + key = Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(key); + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + return obj; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { return _toPropertyKey; })); - var esm_typeof = __webpack_require__(9); + var esm_typeof = __webpack_require__(8); function _toPrimitive(input, hint) { if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; @@ -3019,15 +3017,14 @@ require("./taro"); 18: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var defineProperty = __webpack_require__(3); var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -3035,7 +3032,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -3058,19 +3055,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -3090,11 +3085,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -3508,37 +3503,38 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(Object(defineProperty["a"])({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, Object(defineProperty["a"])(_ref, "v", ""), Object(defineProperty["a"])(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); var taro_runtime = __webpack_require__(2); - var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); - var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var classCallCheck = __webpack_require__(3); + var createClass = __webpack_require__(4); + var inherits = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(0); var app = __webpack_require__(14); var app_App = function(_Component) { @@ -4363,12 +4359,12 @@ require("./taro"); "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(2); - var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); - var assertThisInitialized = __webpack_require__(8); - var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); - var defineProperty = __webpack_require__(3); + var classCallCheck = __webpack_require__(3); + var createClass = __webpack_require__(4); + var assertThisInitialized = __webpack_require__(7); + var inherits = __webpack_require__(6); + var createSuper = __webpack_require__(5); + var defineProperty = __webpack_require__(9); var react = __webpack_require__(0); var taro_components = __webpack_require__(1); var region = [ { @@ -5655,12 +5651,12 @@ require("./taro"); "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(2); - var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); - var assertThisInitialized = __webpack_require__(8); - var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); - var defineProperty = __webpack_require__(3); + var classCallCheck = __webpack_require__(3); + var createClass = __webpack_require__(4); + var assertThisInitialized = __webpack_require__(7); + var inherits = __webpack_require__(6); + var createSuper = __webpack_require__(5); + var defineProperty = __webpack_require__(9); var react = __webpack_require__(0); var taro_components = __webpack_require__(1); var normal_Index = function(_Component) { @@ -5710,10 +5706,10 @@ require("./taro"); "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(2); - var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); - var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var classCallCheck = __webpack_require__(3); + var createClass = __webpack_require__(4); + var inherits = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(0); var taro_components = __webpack_require__(1); var index = __webpack_require__(17); @@ -5829,26 +5825,6 @@ module.exports = { /** filePath: dist/vendors.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 3 ], [ , , , function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _defineProperty; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); - function _defineProperty(obj, key, value) { - key = Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } -}, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { return _classCallCheck; @@ -5903,8 +5879,8 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(9); - var assertThisInitialized = __webpack_require__(8); + var esm_typeof = __webpack_require__(8); + var assertThisInitialized = __webpack_require__(7); function _possibleConstructorReturn(self, call) { if (call && (Object(esm_typeof["a"])(call) === "object" || typeof call === "function")) { return call; @@ -5978,12 +5954,32 @@ module.exports = { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _defineProperty; + })); + var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); + function _defineProperty(obj, key, value) { + key = Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(key); + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + return obj; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { return _toPropertyKey; })); - var esm_typeof = __webpack_require__(9); + var esm_typeof = __webpack_require__(8); function _toPrimitive(input, hint) { if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; @@ -6020,15 +6016,14 @@ require("./taro"); 18: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var defineProperty = __webpack_require__(3); var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -6036,7 +6031,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -6059,19 +6054,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -6091,11 +6084,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -6509,37 +6502,38 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(Object(defineProperty["a"])({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, Object(defineProperty["a"])(_ref, "v", ""), Object(defineProperty["a"])(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); var taro_runtime = __webpack_require__(2); - var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); - var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var classCallCheck = __webpack_require__(3); + var createClass = __webpack_require__(4); + var inherits = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(0); var app = __webpack_require__(14); var app_App = function(_Component) { @@ -7364,12 +7358,12 @@ require("./taro"); "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(2); - var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); - var assertThisInitialized = __webpack_require__(8); - var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); - var defineProperty = __webpack_require__(3); + var classCallCheck = __webpack_require__(3); + var createClass = __webpack_require__(4); + var assertThisInitialized = __webpack_require__(7); + var inherits = __webpack_require__(6); + var createSuper = __webpack_require__(5); + var defineProperty = __webpack_require__(9); var react = __webpack_require__(0); var taro_components = __webpack_require__(1); var region = [ { @@ -8656,12 +8650,12 @@ require("./taro"); "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(2); - var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); - var assertThisInitialized = __webpack_require__(8); - var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); - var defineProperty = __webpack_require__(3); + var classCallCheck = __webpack_require__(3); + var createClass = __webpack_require__(4); + var assertThisInitialized = __webpack_require__(7); + var inherits = __webpack_require__(6); + var createSuper = __webpack_require__(5); + var defineProperty = __webpack_require__(9); var react = __webpack_require__(0); var taro_components = __webpack_require__(1); var normal_Index = function(_Component) { @@ -8711,10 +8705,10 @@ require("./taro"); "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(2); - var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); - var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var classCallCheck = __webpack_require__(3); + var createClass = __webpack_require__(4); + var inherits = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(0); var taro_components = __webpack_require__(1); var index = __webpack_require__(17); @@ -8830,26 +8824,6 @@ module.exports = { /** filePath: dist/vendors.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 3 ], [ , , , function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _defineProperty; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); - function _defineProperty(obj, key, value) { - key = Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } -}, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { return _classCallCheck; @@ -8904,8 +8878,8 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(9); - var assertThisInitialized = __webpack_require__(8); + var esm_typeof = __webpack_require__(8); + var assertThisInitialized = __webpack_require__(7); function _possibleConstructorReturn(self, call) { if (call && (Object(esm_typeof["a"])(call) === "object" || typeof call === "function")) { return call; @@ -8979,12 +8953,32 @@ module.exports = { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _defineProperty; + })); + var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); + function _defineProperty(obj, key, value) { + key = Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(key); + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + return obj; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { return _toPropertyKey; })); - var esm_typeof = __webpack_require__(9); + var esm_typeof = __webpack_require__(8); function _toPrimitive(input, hint) { if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/qq.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/qq.spec.ts.snap index 14a1b375cef9..f0ba57ecebdb 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/qq.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/qq.spec.ts.snap @@ -14,58 +14,18 @@ require("./vendors"); require("./taro"); (qq["webpackJsonp"] = qq["webpackJsonp"] || []).push([ [ 4 ], { - 12: function(module, exports, __webpack_require__) {}, - 16: function(module, __webpack_exports__, __webpack_require__) { + 11: function(module, exports, __webpack_require__) {}, + 15: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - function _arrayLikeToArray(arr, len) { - if (len == null || len > arr.length) len = arr.length; - for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; - return arr2; - } - function _arrayWithoutHoles(arr) { - if (Array.isArray(arr)) return _arrayLikeToArray(arr); - } - function _iterableToArray(iter) { - if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); - } - function _unsupportedIterableToArray(o, minLen) { - if (!o) return; - if (typeof o === "string") return _arrayLikeToArray(o, minLen); - var n = Object.prototype.toString.call(o).slice(8, -1); - if (n === "Object" && o.constructor) n = o.constructor.name; - if (n === "Map" || n === "Set") return Array.from(o); - if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); - } - function _nonIterableSpread() { - throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); - } - function _toConsumableArray(arr) { - return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); - } - var toPropertyKey = __webpack_require__(8); - function _defineProperty(obj, key, value) { - key = Object(toPropertyKey["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -73,7 +33,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -96,19 +56,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -128,11 +86,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -546,38 +504,39 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; - var asyncApis = new Set([ "getQQRunData", "requestWxPayment", "setAvatar", "shareInvite", "updateBookshelfReadTime" ]); + const asyncApis = new Set([ "getQQRunData", "requestWxPayment", "setAvatar", "shareInvite", "updateBookshelfReadTime" ]); function runtime_initNativeApi(taro) { processApis(taro, qq, { - needPromiseApis: new Set([].concat(_toConsumableArray(needPromiseApis), _toConsumableArray(asyncApis))) + needPromiseApis: new Set([ ...needPromiseApis, ...asyncApis ]) }); taro.cloud = qq.cloud; } - var runtime_components = { + const runtime_components = { Button: { "app-packagename": "", "app-bundleid": "", @@ -605,7 +564,7 @@ require("./taro"); bindsize: "" } }; - var runtime_hostConfig = { + const runtime_hostConfig = { initNativeApi: runtime_initNativeApi }; mergeReconciler(runtime_hostConfig); @@ -613,11 +572,11 @@ require("./taro"); mergeInternalComponents(runtime_components); var taro_runtime = __webpack_require__(3); var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); + var createClass = __webpack_require__(6); var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(0); - var app = __webpack_require__(12); + var app = __webpack_require__(11); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -643,7 +602,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_src_app = app_App; - var taro_react = __webpack_require__(9); + var taro_react = __webpack_require__(8); var config = { pages: [ "pages/index/index" ], window: { @@ -667,7 +626,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 16, 0, 1, 3, 2 ] ] ]); +}, [ [ 15, 0, 1, 3, 2 ] ] ]); @@ -1636,13 +1595,13 @@ require("./taro"); /** filePath: dist/comp.js **/ (qq["webpackJsonp"] = qq["webpackJsonp"] || []).push([ [ 6 ], { - 13: function(module, __webpack_exports__, __webpack_require__) { + 12: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3); Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__["createRecursiveComponentConfig"])()); } -}, [ [ 13, 0, 1 ] ] ]); +}, [ [ 12, 0, 1 ] ] ]); /** filePath: dist/comp.json **/ {"component":true,"usingComponents":{"comp":"./comp"}} @@ -1655,8 +1614,8 @@ require("./taro"); /** filePath: dist/pages/index/index.js **/ /*! For license information please see index.js.LICENSE.txt */ (qq["webpackJsonp"] = qq["webpackJsonp"] || []).push([ [ 8 ], { - 15: function(module, exports, __webpack_require__) {}, - 17: function(module, __webpack_exports__, __webpack_require__) { + 14: function(module, exports, __webpack_require__) {}, + 16: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(3); @@ -1996,12 +1955,12 @@ require("./taro"); }; } var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); + var createClass = __webpack_require__(6); var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(0); var taro_components = __webpack_require__(1); - var index = __webpack_require__(15); + var index = __webpack_require__(14); var index_Index = function(_Component) { Object(inherits["a"])(Index, _Component); var _super = Object(createSuper["a"])(Index); @@ -2067,7 +2026,7 @@ require("./taro"); }, config || {})); var pages_index = __webpack_exports__["default"] = index_Index; } -}, [ [ 17, 0, 1, 3, 2 ] ] ]); +}, [ [ 16, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/index/index.js.LICENSE.txt **/ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ @@ -2096,7 +2055,7 @@ require("./taro"); "use strict"; var _unused_webpack_default_export = "taro-runtime-mock"; }, - 9: function(module, __webpack_exports__, __webpack_require__) { + 8: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_exports__["a"] = "taro-react-mock"; } @@ -2167,29 +2126,6 @@ module.exports = { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -2240,6 +2176,43 @@ module.exports = { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(2); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -2268,26 +2241,6 @@ module.exports = { }); if (superClass) _setPrototypeOf(subClass, superClass); } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(2); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); " `; @@ -2306,58 +2259,18 @@ require("./vendors"); require("./taro"); (qq["webpackJsonp"] = qq["webpackJsonp"] || []).push([ [ 4 ], { - 12: function(module, exports, __webpack_require__) {}, - 16: function(module, __webpack_exports__, __webpack_require__) { + 11: function(module, exports, __webpack_require__) {}, + 15: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - function _arrayLikeToArray(arr, len) { - if (len == null || len > arr.length) len = arr.length; - for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; - return arr2; - } - function _arrayWithoutHoles(arr) { - if (Array.isArray(arr)) return _arrayLikeToArray(arr); - } - function _iterableToArray(iter) { - if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); - } - function _unsupportedIterableToArray(o, minLen) { - if (!o) return; - if (typeof o === "string") return _arrayLikeToArray(o, minLen); - var n = Object.prototype.toString.call(o).slice(8, -1); - if (n === "Object" && o.constructor) n = o.constructor.name; - if (n === "Map" || n === "Set") return Array.from(o); - if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); - } - function _nonIterableSpread() { - throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); - } - function _toConsumableArray(arr) { - return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); - } - var toPropertyKey = __webpack_require__(8); - function _defineProperty(obj, key, value) { - key = Object(toPropertyKey["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -2365,7 +2278,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -2388,19 +2301,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -2420,11 +2331,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -2838,38 +2749,39 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; - var asyncApis = new Set([ "getQQRunData", "requestWxPayment", "setAvatar", "shareInvite", "updateBookshelfReadTime" ]); + const asyncApis = new Set([ "getQQRunData", "requestWxPayment", "setAvatar", "shareInvite", "updateBookshelfReadTime" ]); function runtime_initNativeApi(taro) { processApis(taro, qq, { - needPromiseApis: new Set([].concat(_toConsumableArray(needPromiseApis), _toConsumableArray(asyncApis))) + needPromiseApis: new Set([ ...needPromiseApis, ...asyncApis ]) }); taro.cloud = qq.cloud; } - var runtime_components = { + const runtime_components = { Button: { "app-packagename": "", "app-bundleid": "", @@ -2897,7 +2809,7 @@ require("./taro"); bindsize: "" } }; - var runtime_hostConfig = { + const runtime_hostConfig = { initNativeApi: runtime_initNativeApi }; mergeReconciler(runtime_hostConfig); @@ -2905,11 +2817,11 @@ require("./taro"); mergeInternalComponents(runtime_components); var taro_runtime = __webpack_require__(3); var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); + var createClass = __webpack_require__(6); var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(0); - var app = __webpack_require__(12); + var app = __webpack_require__(11); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -2935,7 +2847,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_src_app = app_App; - var taro_react = __webpack_require__(9); + var taro_react = __webpack_require__(8); var config = { pages: [ "pages/index/index" ], window: { @@ -2959,7 +2871,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 16, 0, 1, 3, 2 ] ] ]); +}, [ [ 15, 0, 1, 3, 2 ] ] ]); @@ -3928,13 +3840,13 @@ require("./taro"); /** filePath: dist/comp.js **/ (qq["webpackJsonp"] = qq["webpackJsonp"] || []).push([ [ 6 ], { - 13: function(module, __webpack_exports__, __webpack_require__) { + 12: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3); Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__["createRecursiveComponentConfig"])()); } -}, [ [ 13, 0, 1 ] ] ]); +}, [ [ 12, 0, 1 ] ] ]); /** filePath: dist/comp.json **/ {"component":true,"usingComponents":{"comp":"./comp"}} @@ -3947,8 +3859,8 @@ require("./taro"); /** filePath: dist/pages/index/index.js **/ /*! For license information please see index.js.LICENSE.txt */ (qq["webpackJsonp"] = qq["webpackJsonp"] || []).push([ [ 8 ], { - 15: function(module, exports, __webpack_require__) {}, - 17: function(module, __webpack_exports__, __webpack_require__) { + 14: function(module, exports, __webpack_require__) {}, + 16: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(3); @@ -4288,12 +4200,12 @@ require("./taro"); }; } var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); + var createClass = __webpack_require__(6); var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(0); var taro_components = __webpack_require__(1); - var index = __webpack_require__(15); + var index = __webpack_require__(14); var index_Index = function(_Component) { Object(inherits["a"])(Index, _Component); var _super = Object(createSuper["a"])(Index); @@ -4359,7 +4271,7 @@ require("./taro"); }, config || {})); var pages_index = __webpack_exports__["default"] = index_Index; } -}, [ [ 17, 0, 1, 3, 2 ] ] ]); +}, [ [ 16, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/index/index.js.LICENSE.txt **/ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ @@ -4388,7 +4300,7 @@ require("./taro"); "use strict"; var _unused_webpack_default_export = "taro-runtime-mock"; }, - 9: function(module, __webpack_exports__, __webpack_require__) { + 8: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_exports__["a"] = "taro-react-mock"; } @@ -4459,29 +4371,6 @@ module.exports = { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -4532,6 +4421,43 @@ module.exports = { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(2); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -4560,26 +4486,6 @@ module.exports = { }); if (superClass) _setPrototypeOf(subClass, superClass); } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(2); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); " `; diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/react.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/react.spec.ts.snap index 5573beb98c4a..8b7e6b33f8e9 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/react.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/react.spec.ts.snap @@ -14,33 +14,18 @@ require("./vendors"); require("./taro"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 4 ], { - 12: function(module, exports, __webpack_require__) {}, - 16: function(module, __webpack_exports__, __webpack_require__) { + 11: function(module, exports, __webpack_require__) {}, + 15: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var toPropertyKey = __webpack_require__(8); - function _defineProperty(obj, key, value) { - key = Object(toPropertyKey["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -48,7 +33,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -71,19 +56,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -103,11 +86,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -521,27 +504,28 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; @@ -549,11 +533,11 @@ require("./taro"); mergeInternalComponents(components); var taro_runtime = __webpack_require__(3); var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); + var createClass = __webpack_require__(6); var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(0); - var app = __webpack_require__(12); + var app = __webpack_require__(11); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -579,7 +563,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_src_app = app_App; - var taro_react = __webpack_require__(9); + var taro_react = __webpack_require__(8); var config = { pages: [ "pages/index/index" ], window: { @@ -603,7 +587,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 16, 0, 1, 3, 2 ] ] ]); +}, [ [ 15, 0, 1, 3, 2 ] ] ]); @@ -1572,13 +1556,13 @@ require("./taro"); /** filePath: dist/comp.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 6 ], { - 13: function(module, __webpack_exports__, __webpack_require__) { + 12: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3); Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__["createRecursiveComponentConfig"])()); } -}, [ [ 13, 0, 1 ] ] ]); +}, [ [ 12, 0, 1 ] ] ]); /** filePath: dist/comp.json **/ {"component":true,"usingComponents":{"comp":"./comp"}} @@ -1591,8 +1575,8 @@ require("./taro"); /** filePath: dist/pages/index/index.js **/ /*! For license information please see index.js.LICENSE.txt */ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 8 ], { - 15: function(module, exports, __webpack_require__) {}, - 17: function(module, __webpack_exports__, __webpack_require__) { + 14: function(module, exports, __webpack_require__) {}, + 16: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(3); @@ -1932,12 +1916,12 @@ require("./taro"); }; } var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); + var createClass = __webpack_require__(6); var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(0); var taro_components = __webpack_require__(1); - var index = __webpack_require__(15); + var index = __webpack_require__(14); var index_Index = function(_Component) { Object(inherits["a"])(Index, _Component); var _super = Object(createSuper["a"])(Index); @@ -2003,7 +1987,7 @@ require("./taro"); }, config || {})); var pages_index = __webpack_exports__["default"] = index_Index; } -}, [ [ 17, 0, 1, 3, 2 ] ] ]); +}, [ [ 16, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/index/index.js.LICENSE.txt **/ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ @@ -2032,7 +2016,7 @@ require("./taro"); "use strict"; var _unused_webpack_default_export = "taro-runtime-mock"; }, - 9: function(module, __webpack_exports__, __webpack_require__) { + 8: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_exports__["a"] = "taro-react-mock"; } @@ -2103,29 +2087,6 @@ module.exports = { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -2176,6 +2137,43 @@ module.exports = { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(2); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -2204,26 +2202,6 @@ module.exports = { }); if (superClass) _setPrototypeOf(subClass, superClass); } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(2); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); " `; diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/sass.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/sass.spec.ts.snap index 9cd203d6911f..be1ee8d672fc 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/sass.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/sass.spec.ts.snap @@ -14,33 +14,18 @@ require("./vendors"); require("./taro"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 4 ], { - 12: function(module, exports, __webpack_require__) {}, - 16: function(module, __webpack_exports__, __webpack_require__) { + 11: function(module, exports, __webpack_require__) {}, + 15: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var toPropertyKey = __webpack_require__(7); - function _defineProperty(obj, key, value) { - key = Object(toPropertyKey["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -48,7 +33,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -71,19 +56,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -103,11 +86,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -521,27 +504,28 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; @@ -549,11 +533,11 @@ require("./taro"); mergeInternalComponents(components); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var app = __webpack_require__(12); + var app = __webpack_require__(11); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -579,7 +563,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_src_app = app_App; - var taro_react = __webpack_require__(9); + var taro_react = __webpack_require__(8); var config = { pages: [ "pages/index/index" ], window: { @@ -603,7 +587,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 16, 0, 1, 3, 2 ] ] ]); +}, [ [ 15, 0, 1, 3, 2 ] ] ]); @@ -1340,13 +1324,13 @@ require("./taro"); /** filePath: dist/comp.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 6 ], { - 13: function(module, __webpack_exports__, __webpack_require__) { + 12: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__["createRecursiveComponentConfig"])()); } -}, [ [ 13, 0, 1 ] ] ]); +}, [ [ 12, 0, 1 ] ] ]); /** filePath: dist/comp.json **/ {"component":true,"usingComponents":{"comp":"./comp"}} @@ -1358,18 +1342,18 @@ require("./taro"); /** filePath: dist/pages/index/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 8 ], { - 15: function(module, exports, __webpack_require__) {}, - 17: function(module, __webpack_exports__, __webpack_require__) { + 14: function(module, exports, __webpack_require__) {}, + 16: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var taro_components = __webpack_require__(8); - var index = __webpack_require__(15); + var taro_components = __webpack_require__(7); + var index = __webpack_require__(14); var index_Index = function(_Component) { Object(inherits["a"])(Index, _Component); var _super = Object(createSuper["a"])(Index); @@ -1409,7 +1393,7 @@ require("./taro"); }, config || {})); var pages_index = __webpack_exports__["default"] = index_Index; } -}, [ [ 17, 0, 1, 3, 2 ] ] ]); +}, [ [ 16, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/index/index.json **/ {"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}} @@ -1430,11 +1414,11 @@ require("./taro"); "use strict"; var _unused_webpack_default_export = "taro-runtime-mock"; }, - 8: function(module, __webpack_exports__, __webpack_require__) { + 7: function(module, __webpack_exports__, __webpack_require__) { "use strict"; var _unused_webpack_default_export = "taro-components-mock"; }, - 9: function(module, __webpack_exports__, __webpack_require__) { + 8: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_exports__["a"] = "taro-react-mock"; } @@ -1505,29 +1489,6 @@ module.exports = { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1578,6 +1539,43 @@ module.exports = { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(2); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1606,26 +1604,6 @@ module.exports = { }); if (superClass) _setPrototypeOf(subClass, superClass); } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(2); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); " `; @@ -1644,33 +1622,18 @@ require("./vendors"); require("./taro"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 4 ], { - 12: function(module, exports, __webpack_require__) {}, - 16: function(module, __webpack_exports__, __webpack_require__) { + 11: function(module, exports, __webpack_require__) {}, + 15: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var toPropertyKey = __webpack_require__(7); - function _defineProperty(obj, key, value) { - key = Object(toPropertyKey["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -1678,7 +1641,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -1701,19 +1664,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -1733,11 +1694,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -2151,27 +2112,28 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; @@ -2179,11 +2141,11 @@ require("./taro"); mergeInternalComponents(components); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var app = __webpack_require__(12); + var app = __webpack_require__(11); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -2209,7 +2171,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_src_app = app_App; - var taro_react = __webpack_require__(9); + var taro_react = __webpack_require__(8); var config = { pages: [ "pages/index/index" ], window: { @@ -2233,7 +2195,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 16, 0, 1, 3, 2 ] ] ]); +}, [ [ 15, 0, 1, 3, 2 ] ] ]); @@ -2970,13 +2932,13 @@ require("./taro"); /** filePath: dist/comp.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 6 ], { - 13: function(module, __webpack_exports__, __webpack_require__) { + 12: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__["createRecursiveComponentConfig"])()); } -}, [ [ 13, 0, 1 ] ] ]); +}, [ [ 12, 0, 1 ] ] ]); /** filePath: dist/comp.json **/ {"component":true,"usingComponents":{"comp":"./comp"}} @@ -2988,18 +2950,18 @@ require("./taro"); /** filePath: dist/pages/index/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 8 ], { - 15: function(module, exports, __webpack_require__) {}, - 17: function(module, __webpack_exports__, __webpack_require__) { + 14: function(module, exports, __webpack_require__) {}, + 16: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var taro_components = __webpack_require__(8); - var index = __webpack_require__(15); + var taro_components = __webpack_require__(7); + var index = __webpack_require__(14); var index_Index = function(_Component) { Object(inherits["a"])(Index, _Component); var _super = Object(createSuper["a"])(Index); @@ -3039,7 +3001,7 @@ require("./taro"); }, config || {})); var pages_index = __webpack_exports__["default"] = index_Index; } -}, [ [ 17, 0, 1, 3, 2 ] ] ]); +}, [ [ 16, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/index/index.json **/ {"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}} @@ -3060,11 +3022,11 @@ require("./taro"); "use strict"; var _unused_webpack_default_export = "taro-runtime-mock"; }, - 8: function(module, __webpack_exports__, __webpack_require__) { + 7: function(module, __webpack_exports__, __webpack_require__) { "use strict"; var _unused_webpack_default_export = "taro-components-mock"; }, - 9: function(module, __webpack_exports__, __webpack_require__) { + 8: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_exports__["a"] = "taro-react-mock"; } @@ -3135,29 +3097,6 @@ module.exports = { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -3208,6 +3147,43 @@ module.exports = { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(2); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -3236,26 +3212,6 @@ module.exports = { }); if (superClass) _setPrototypeOf(subClass, superClass); } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(2); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); " `; @@ -3274,33 +3230,18 @@ require("./vendors"); require("./taro"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 4 ], { - 12: function(module, exports, __webpack_require__) {}, - 16: function(module, __webpack_exports__, __webpack_require__) { + 11: function(module, exports, __webpack_require__) {}, + 15: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var toPropertyKey = __webpack_require__(7); - function _defineProperty(obj, key, value) { - key = Object(toPropertyKey["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -3308,7 +3249,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -3331,19 +3272,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -3363,11 +3302,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -3781,27 +3720,28 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; @@ -3809,11 +3749,11 @@ require("./taro"); mergeInternalComponents(components); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var app = __webpack_require__(12); + var app = __webpack_require__(11); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -3839,7 +3779,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_src_app = app_App; - var taro_react = __webpack_require__(9); + var taro_react = __webpack_require__(8); var config = { pages: [ "pages/index/index" ], window: { @@ -3863,7 +3803,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 16, 0, 1, 3, 2 ] ] ]); +}, [ [ 15, 0, 1, 3, 2 ] ] ]); @@ -4600,13 +4540,13 @@ require("./taro"); /** filePath: dist/comp.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 6 ], { - 13: function(module, __webpack_exports__, __webpack_require__) { + 12: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__["createRecursiveComponentConfig"])()); } -}, [ [ 13, 0, 1 ] ] ]); +}, [ [ 12, 0, 1 ] ] ]); /** filePath: dist/comp.json **/ {"component":true,"usingComponents":{"comp":"./comp"}} @@ -4618,18 +4558,18 @@ require("./taro"); /** filePath: dist/pages/index/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 8 ], { - 15: function(module, exports, __webpack_require__) {}, - 17: function(module, __webpack_exports__, __webpack_require__) { + 14: function(module, exports, __webpack_require__) {}, + 16: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var taro_components = __webpack_require__(8); - var index = __webpack_require__(15); + var taro_components = __webpack_require__(7); + var index = __webpack_require__(14); var index_Index = function(_Component) { Object(inherits["a"])(Index, _Component); var _super = Object(createSuper["a"])(Index); @@ -4669,7 +4609,7 @@ require("./taro"); }, config || {})); var pages_index = __webpack_exports__["default"] = index_Index; } -}, [ [ 17, 0, 1, 3, 2 ] ] ]); +}, [ [ 16, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/index/index.json **/ {"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}} @@ -4690,11 +4630,11 @@ require("./taro"); "use strict"; var _unused_webpack_default_export = "taro-runtime-mock"; }, - 8: function(module, __webpack_exports__, __webpack_require__) { + 7: function(module, __webpack_exports__, __webpack_require__) { "use strict"; var _unused_webpack_default_export = "taro-components-mock"; }, - 9: function(module, __webpack_exports__, __webpack_require__) { + 8: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_exports__["a"] = "taro-react-mock"; } @@ -4765,29 +4705,6 @@ module.exports = { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -4838,6 +4755,43 @@ module.exports = { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(2); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -4866,26 +4820,6 @@ module.exports = { }); if (superClass) _setPrototypeOf(subClass, superClass); } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(2); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); " `; @@ -4904,33 +4838,18 @@ require("./vendors"); require("./taro"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 4 ], { - 12: function(module, exports, __webpack_require__) {}, - 16: function(module, __webpack_exports__, __webpack_require__) { + 11: function(module, exports, __webpack_require__) {}, + 15: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var toPropertyKey = __webpack_require__(7); - function _defineProperty(obj, key, value) { - key = Object(toPropertyKey["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -4938,7 +4857,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -4961,19 +4880,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -4993,11 +4910,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -5411,27 +5328,28 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; @@ -5439,11 +5357,11 @@ require("./taro"); mergeInternalComponents(components); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var app = __webpack_require__(12); + var app = __webpack_require__(11); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -5469,7 +5387,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_src_app = app_App; - var taro_react = __webpack_require__(9); + var taro_react = __webpack_require__(8); var config = { pages: [ "pages/index/index" ], window: { @@ -5493,7 +5411,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 16, 0, 1, 3, 2 ] ] ]); +}, [ [ 15, 0, 1, 3, 2 ] ] ]); @@ -6230,13 +6148,13 @@ require("./taro"); /** filePath: dist/comp.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 6 ], { - 13: function(module, __webpack_exports__, __webpack_require__) { + 12: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__["createRecursiveComponentConfig"])()); } -}, [ [ 13, 0, 1 ] ] ]); +}, [ [ 12, 0, 1 ] ] ]); /** filePath: dist/comp.json **/ {"component":true,"usingComponents":{"comp":"./comp"}} @@ -6248,18 +6166,18 @@ require("./taro"); /** filePath: dist/pages/index/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 8 ], { - 15: function(module, exports, __webpack_require__) {}, - 17: function(module, __webpack_exports__, __webpack_require__) { + 14: function(module, exports, __webpack_require__) {}, + 16: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var taro_components = __webpack_require__(8); - var index = __webpack_require__(15); + var taro_components = __webpack_require__(7); + var index = __webpack_require__(14); var index_Index = function(_Component) { Object(inherits["a"])(Index, _Component); var _super = Object(createSuper["a"])(Index); @@ -6299,7 +6217,7 @@ require("./taro"); }, config || {})); var pages_index = __webpack_exports__["default"] = index_Index; } -}, [ [ 17, 0, 1, 3, 2 ] ] ]); +}, [ [ 16, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/index/index.json **/ {"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}} @@ -6320,11 +6238,11 @@ require("./taro"); "use strict"; var _unused_webpack_default_export = "taro-runtime-mock"; }, - 8: function(module, __webpack_exports__, __webpack_require__) { + 7: function(module, __webpack_exports__, __webpack_require__) { "use strict"; var _unused_webpack_default_export = "taro-components-mock"; }, - 9: function(module, __webpack_exports__, __webpack_require__) { + 8: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_exports__["a"] = "taro-react-mock"; } @@ -6395,29 +6313,6 @@ module.exports = { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -6468,6 +6363,43 @@ module.exports = { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(2); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -6496,26 +6428,6 @@ module.exports = { }); if (superClass) _setPrototypeOf(subClass, superClass); } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(2); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); " `; diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap index ee302bcf94db..f291208f06ee 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap @@ -14,39 +14,22 @@ require("./vendors"); require("./taro"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 5 ], { - 16: function(module, exports, __webpack_require__) {}, - 20: function(module, __webpack_exports__, __webpack_require__) { + 15: function(module, exports, __webpack_require__) {}, + 19: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var toPropertyKey = __webpack_require__(10); - function _defineProperty(obj, key, value) { - key = Object(toPropertyKey["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = __webpack_require__(2); - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { Object(mocks_taro["f"])(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -66,11 +49,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -484,27 +467,28 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, Object(mocks_taro["toCamelCase"])(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [Object(mocks_taro["toCamelCase"])(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; @@ -512,11 +496,11 @@ require("./taro"); Object(mocks_taro["d"])(components); var taro_runtime = __webpack_require__(1); var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); + var createClass = __webpack_require__(6); var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(0); - var app = __webpack_require__(16); + var app = __webpack_require__(15); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -542,7 +526,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_src_app = app_App; - var taro_react = __webpack_require__(11); + var taro_react = __webpack_require__(10); var config = { pages: [ "pages/index/index" ], window: { @@ -570,7 +554,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 20, 0, 1, 3, 2 ] ] ]); +}, [ [ 19, 0, 1, 3, 2 ] ] ]); @@ -1323,8 +1307,8 @@ require("./taro"); function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -1332,7 +1316,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -1359,13 +1343,13 @@ require("./taro"); /** filePath: dist/comp.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 7 ], { - 17: function(module, __webpack_exports__, __webpack_require__) { + 16: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1); Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__["createRecursiveComponentConfig"])()); } -}, [ [ 17, 0, 1 ] ] ]); +}, [ [ 16, 0, 1 ] ] ]); /** filePath: dist/comp.json **/ {"component":true,"usingComponents":{"comp":"./comp"}} @@ -1379,19 +1363,19 @@ require("./taro"); require("../../sub-utils"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 9 ], { - 19: function(module, exports, __webpack_require__) {}, - 22: function(module, __webpack_exports__, __webpack_require__) { + 18: function(module, exports, __webpack_require__) {}, + 21: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(1); var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); + var createClass = __webpack_require__(6); var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(0); var taro_components = __webpack_require__(3); var common = __webpack_require__(9); - var detail = __webpack_require__(19); + var detail = __webpack_require__(18); var detail_Detail = function(_Component) { Object(inherits["a"])(Detail, _Component); var _super = Object(createSuper["a"])(Detail); @@ -1424,7 +1408,7 @@ require("../../sub-utils"); }, config || {})); var packageA_detail = __webpack_exports__["default"] = detail_Detail; } -}, [ [ 22, 0, 4, 1, 3, 2 ] ] ]); +}, [ [ 21, 0, 4, 1, 3, 2 ] ] ]); @@ -1442,14 +1426,14 @@ require("../../sub-utils"); require("../../sub-utils"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 11 ], { - 23: function(module, __webpack_exports__, __webpack_require__) { + 22: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(1); var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); + var createClass = __webpack_require__(6); var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(0); var taro_components = __webpack_require__(3); var common = __webpack_require__(9); @@ -1483,7 +1467,7 @@ require("../../sub-utils"); }, config || {})); var my = __webpack_exports__["default"] = my_My; } -}, [ [ 23, 0, 4, 1, 3, 2 ] ] ]); +}, [ [ 22, 0, 4, 1, 3, 2 ] ] ]); @@ -1496,14 +1480,14 @@ require("../../sub-utils"); /** filePath: dist/pages/index/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 13 ], { - 21: function(module, __webpack_exports__, __webpack_require__) { + 20: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(1); var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); + var createClass = __webpack_require__(6); var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(0); var taro_components = __webpack_require__(3); var taro = __webpack_require__(2); @@ -1546,7 +1530,7 @@ require("../../sub-utils"); }, config || {})); var index = __webpack_exports__["default"] = index_Index; } -}, [ [ 21, 0, 1, 3, 2 ] ] ]); +}, [ [ 20, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/index/index.json **/ {"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}} @@ -1577,7 +1561,7 @@ require("../../sub-utils"); "use strict"; var _unused_webpack_default_export = "taro-runtime-mock"; }, - 11: function(module, __webpack_exports__, __webpack_require__) { + 10: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_exports__["a"] = "taro-react-mock"; }, @@ -1639,29 +1623,6 @@ module.exports = { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1712,6 +1673,43 @@ module.exports = { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(8); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1753,26 +1751,6 @@ module.exports = { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -}, , function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(8); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); " `; diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/swan.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/swan.spec.ts.snap index a978f1118885..6fe6666fd74f 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/swan.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/swan.spec.ts.snap @@ -27,8 +27,8 @@ require("./taro"); function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -36,7 +36,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -59,36 +59,36 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addEventOnCalendar", "chooseAlbum", "closeCommunityEditor", "getSwanId", "requestPolymerPayment", "navigateBackSmartProgram", "navigateToSmartProgram", "setPageInfo", "closeReplyEditor", "deleteBookShelf", "deleteEventOnCalendar", "getSystemRiskInfo", "insertBookshelf", "loadSubPackage", "openCommunityEditor", "openReplyEditor", "openShare", "setDocumentTitle", "setMetaDescription", "setMetaKeywords", "shareFile", "subscribeService", "updateBookshelfReadTime" ]); - var apiDiff = { + const needPromiseApis = new Set([ "addEventOnCalendar", "chooseAlbum", "closeCommunityEditor", "getSwanId", "requestPolymerPayment", "navigateBackSmartProgram", "navigateToSmartProgram", "setPageInfo", "closeReplyEditor", "deleteBookShelf", "deleteEventOnCalendar", "getSystemRiskInfo", "insertBookshelf", "loadSubPackage", "openCommunityEditor", "openReplyEditor", "openShare", "setDocumentTitle", "setMetaDescription", "setMetaKeywords", "shareFile", "subscribeService", "updateBookshelfReadTime" ]); + const apiDiff = { login: { alias: "getLoginCode" } }; function transformMeta(api, options) { - var apiAlias = api; - Object.keys(apiDiff).forEach((function(item) { - var apiItem = apiDiff[item]; + let apiAlias = api; + Object.keys(apiDiff).forEach(item => { + const apiItem = apiDiff[item]; if (api === item) { if (apiItem.alias) { apiAlias = apiItem.alias; } if (apiItem.options) { - var change = apiItem.options.change; - var set = apiItem.options.set; + const change = apiItem.options.change; + const set = apiItem.options.set; if (change) { - change.forEach((function(changeItem) { + change.forEach(changeItem => { options[changeItem.new] = options[changeItem.old]; - })); + }); } if (set) { - set.forEach((function(setItem) { + set.forEach(setItem => { options[setItem.key] = typeof setItem.value === "function" ? setItem.value(options) : setItem.value; - })); + }); } } } - })); + }); return { key: apiAlias, options: options @@ -100,7 +100,7 @@ require("./taro"); transformMeta: transformMeta }); } - var components = { + const components = { Progress: { "border-radius": "0", "font-size": "16", @@ -317,26 +317,26 @@ require("./taro"); bindError: "" } }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getPathIndex: function getPathIndex(indexOfNode) { - return "".concat(indexOfNode); + getPathIndex(indexOfNode) { + return \`\${indexOfNode}\`; }, - getSpecialNodes: function getSpecialNodes() { + getSpecialNodes() { return [ "text", "image" ]; }, - modifyTaroEvent: function modifyTaroEvent(event, node) { + modifyTaroEvent(event, node) { if (node.tagName === "MAP" && event.type === "regionchange") { event.type = "end"; } }, - getMiniLifecycle: function getMiniLifecycle(config) { + getMiniLifecycle(config) { config.page[0] = "onInit"; return config; } }; mergeReconciler(hostConfig); - var internalComponents = mergeInternalComponents(components); + const internalComponents = mergeInternalComponents(components); delete internalComponents.Input.cursor; delete internalComponents.Input["selection-start"]; delete internalComponents.Input["selection-end"]; diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap index 55f87e3c07d5..6f1d6e0b59fa 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap @@ -37,8 +37,8 @@ require("./taro"); function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -46,7 +46,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -70,34 +70,12 @@ require("./taro"); function useTabItemTap() {} function useScope() {} }, - 10: function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _defineProperty; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); - function _defineProperty(obj, key, value) { - key = Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } - }, - 15: function(module, __webpack_exports__, __webpack_require__) { + 13: function(module, __webpack_exports__, __webpack_require__) { "use strict"; (function(navigator) { - var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); - var _tarojs_shared__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0); - var needPromiseApis = new Set([ "addCardAuth", "getOpenUserInfo", "chooseAlipayContact", "chooseCity", "chooseContact", "choosePhoneContact", "datePicker", "getAddress", "getAuthCode", "getPhoneNumber", "getRunData", "getRunScene", "getServerTime", "getTitleColor", "rsa", "paySignCenter", "tradePay", "isCollected", "multiLevelSelect", "onLocatedComplete", "optionsSelect", "prompt", "regionPicker", "setLocatedCity", "showAuthGuide", "textRiskIdentification", "vibrate", "watchShake", "connectBLEDevice", "disconnectBLEDevice", "makeBluetoothPair", "writeBLECharacteristicValue", "readBLECharacteristicValue", "notifyBLECharacteristicValueChange", "getBLEDeviceServices", "getBLEDeviceCharacteristics", "openBluetoothAdapter", "closeBluetoothAdapter", "getBluetoothAdapterState", "startBluetoothDevicesDiscovery", "stopBluetoothDevicesDiscovery", "getBluetoothDevices", "getConnectedBluetoothDevices" ]); - var apiDiff = { + var _tarojs_shared__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); + const needPromiseApis = new Set([ "addCardAuth", "getOpenUserInfo", "chooseAlipayContact", "chooseCity", "chooseContact", "choosePhoneContact", "datePicker", "getAddress", "getAuthCode", "getPhoneNumber", "getRunData", "getRunScene", "getServerTime", "getTitleColor", "rsa", "paySignCenter", "tradePay", "isCollected", "multiLevelSelect", "onLocatedComplete", "optionsSelect", "prompt", "regionPicker", "setLocatedCity", "showAuthGuide", "textRiskIdentification", "vibrate", "watchShake", "connectBLEDevice", "disconnectBLEDevice", "makeBluetoothPair", "writeBLECharacteristicValue", "readBLECharacteristicValue", "notifyBLECharacteristicValueChange", "getBLEDeviceServices", "getBLEDeviceCharacteristics", "openBluetoothAdapter", "closeBluetoothAdapter", "getBluetoothAdapterState", "startBluetoothDevicesDiscovery", "stopBluetoothDevicesDiscovery", "getBluetoothDevices", "getConnectedBluetoothDevices" ]); + const apiDiff = { login: { alias: "getAuthCode", options: { @@ -126,7 +104,7 @@ require("./taro"); } ], set: [ { key: "type", - value: function value(options) { + value(options) { if (options.type === "error") { return "fail"; } @@ -171,7 +149,7 @@ require("./taro"); options: { set: [ { key: "current", - value: function value(options) { + value(options) { return options.urls.indexOf(options.current || options.urls[0]); } } ] @@ -213,12 +191,12 @@ require("./taro"); options: { set: [ { key: "latitude", - value: function value(options) { + value(options) { return String(options.latitude); } }, { key: "longitude", - value: function value(options) { + value(options) { return String(options.longitude); } } ] @@ -261,7 +239,7 @@ require("./taro"); } ], set: [ { key: "type", - value: function value(options) { + value(options) { return options.scanType && options.scanType[0].slice(0, -4) || "qr"; } } ] @@ -288,12 +266,12 @@ require("./taro"); alias: "disconnectBLEDevice" } }; - var asyncResultApiDiff = { + const asyncResultApiDiff = { alert: { res: { set: [ { key: "confirm", - value: function value(res) { + value(res) { return res.success; } } ] @@ -303,7 +281,7 @@ require("./taro"); res: { set: [ { key: "value", - value: function value(res) { + value(res) { return res.brightness; } } ], @@ -314,7 +292,7 @@ require("./taro"); res: { set: [ { key: "result", - value: function value(res) { + value(res) { return res.code; } } ] @@ -324,7 +302,7 @@ require("./taro"); res: { set: [ { key: "data", - value: function value(res) { + value(res) { return res.text; } } ] @@ -334,7 +312,7 @@ require("./taro"); res: { set: [ { key: "tempFilePaths", - value: function value(res) { + value(res) { return res.apFilePaths; } } ] @@ -344,7 +322,7 @@ require("./taro"); res: { set: [ { key: "tempFilePath", - value: function value(res) { + value(res) { return res.apFilePath; } } ] @@ -354,7 +332,7 @@ require("./taro"); res: { set: [ { key: "code", - value: function value(res) { + value(res) { return res.authCode; } } ] @@ -364,7 +342,7 @@ require("./taro"); res: { set: [ { key: "extConfig", - value: function value(res) { + value(res) { return res.data; } } ] @@ -374,7 +352,7 @@ require("./taro"); res: { set: [ { key: "savedFilePath", - value: function value(res) { + value(res) { return res.apFilePath; } } ] @@ -384,12 +362,10 @@ require("./taro"); res: { set: [ { key: "services", - value: function value(res) { - return res.services.map((function(item) { - return { - uuid: item.serviceId, - isPrimary: item.isPrimary - }; + value(res) { + return res.services.map(item => ({ + uuid: item.serviceId, + isPrimary: item.isPrimary })); } } ] @@ -403,23 +379,23 @@ require("./taro"); url: options }; } - var defaultHeaders = { + const defaultHeaders = { "content-type": "application/json" }; options.headers = defaultHeaders; if (options.header) { - for (var k in options.header) { - var lowerK = k.toLocaleLowerCase(); + for (const k in options.header) { + const lowerK = k.toLocaleLowerCase(); options.headers[lowerK] = options.header[k]; } delete options.header; } - var originSuccess = options.success; - var originFail = options.fail; - var originComplete = options.complete; - var requestTask; - var p = new Promise((function(resolve, reject) { - options.success = function(res) { + const originSuccess = options.success; + const originFail = options.fail; + const originComplete = options.complete; + let requestTask; + const p = new Promise((resolve, reject) => { + options.success = res => { res.statusCode = res.status; delete res.status; res.header = res.headers; @@ -427,17 +403,17 @@ require("./taro"); originSuccess && originSuccess(res); resolve(res); }; - options.fail = function(res) { + options.fail = res => { originFail && originFail(res); reject(res); }; - options.complete = function(res) { + options.complete = res => { originComplete && originComplete(res); }; - var nativeRequest = my.canIUse("request") ? my.request : my.httpRequest; + const nativeRequest = my.canIUse("request") ? my.request : my.httpRequest; requestTask = nativeRequest(options); - })); - p.abort = function(cb) { + }); + p.abort = cb => { cb && cb(); if (requestTask) { requestTask.abort(); @@ -448,12 +424,12 @@ require("./taro"); } function handleSyncApis(key, global, args) { if (key === "getStorageSync") { - var arg1 = args[0]; + const arg1 = args[0]; if (arg1 != null) { - var res = global[key]({ + const res = global[key]({ key: arg1 }); - var data = null; + let data = null; if (res.hasOwnProperty("data")) { data = res.data; } else if (res.hasOwnProperty("APDataStorage")) { @@ -464,27 +440,27 @@ require("./taro"); return console.error("getStorageSync \\u4f20\\u5165\\u53c2\\u6570\\u9519\\u8bef"); } if (key === "setStorageSync") { - var _arg = args[0]; - var arg2 = args[1]; - if (_arg != null) { + const arg1 = args[0]; + const arg2 = args[1]; + if (arg1 != null) { return global[key]({ - key: _arg, + key: arg1, data: arg2 }); } return console.error("setStorageSync \\u4f20\\u5165\\u53c2\\u6570\\u9519\\u8bef"); } if (key === "removeStorageSync") { - var _arg2 = args[0]; - if (_arg2 != null) { + const arg1 = args[0]; + if (arg1 != null) { return global[key]({ - key: _arg2 + key: arg1 }); } return console.error("removeStorageSync \\u4f20\\u5165\\u53c2\\u6570\\u9519\\u8bef"); } if (key === "createSelectorQuery") { - var query = global[key](); + const query = global[key](); query.in = function() { return query; }; @@ -493,7 +469,7 @@ require("./taro"); return global[key].apply(global, args); } function transformMeta(api, options) { - var apiAlias = api; + let apiAlias = api; if (api === "showModal") { options.cancelButtonText = options.cancelText || "\\u53d6\\u6d88"; options.confirmButtonText = options.confirmText || "\\u786e\\u5b9a"; @@ -503,28 +479,28 @@ require("./taro"); apiAlias = "alert"; } } else { - Object.keys(apiDiff).forEach((function(item) { - var apiItem = apiDiff[item]; + Object.keys(apiDiff).forEach(item => { + const apiItem = apiDiff[item]; if (api === item) { if (apiItem.alias) { apiAlias = apiItem.alias; } if (apiItem.options) { - var change = apiItem.options.change; - var set = apiItem.options.set; + const change = apiItem.options.change; + const set = apiItem.options.set; if (change) { - change.forEach((function(changeItem) { + change.forEach(changeItem => { options[changeItem.new] = options[changeItem.old]; - })); + }); } if (set) { - set.forEach((function(setItem) { + set.forEach(setItem => { options[setItem.key] = typeof setItem.value === "function" ? setItem.value(options) : setItem.value; - })); + }); } } } - })); + }); } return { key: apiAlias, @@ -532,11 +508,11 @@ require("./taro"); }; } function modifyApis(apis) { - Object.keys(apiDiff).map((function(key) { + Object.keys(apiDiff).map(key => { apis.add(key); - var platformKey = apiDiff[key].alias; + const platformKey = apiDiff[key].alias; platformKey && apis.delete(platformKey); - })); + }); apis.add("showModal"); apis.delete("confirm"); apis.delete("alert"); @@ -562,30 +538,30 @@ require("./taro"); my.closeSocket(); }; } - Object.keys(asyncResultApiDiff).forEach((function(apiKey) { - var apiItem = asyncResultApiDiff[apiKey]; + Object.keys(asyncResultApiDiff).forEach(apiKey => { + const apiItem = asyncResultApiDiff[apiKey]; if (key !== apiKey) { return; } if (!apiItem.res) { return; } - var set = apiItem.res.set; - var remove = apiItem.res.remove; + const set = apiItem.res.set; + const remove = apiItem.res.remove; if (set) { - set.forEach((function(setItem) { + set.forEach(setItem => { res[setItem.key] = typeof setItem.value === "function" ? setItem.value(res) : setItem.value; - })); + }); } if (remove) { - remove.forEach((function(removeItem) { + remove.forEach(removeItem => { delete res[removeItem]; - })); + }); } - })); + }); } function initNativeApi(taro) { - Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["e"])(taro, my, { + Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["e"])(taro, my, { needPromiseApis: needPromiseApis, handleSyncApis: handleSyncApis, transformMeta: transformMeta, @@ -594,7 +570,7 @@ require("./taro"); request: request }); } - var components = { + const components = { View: { "disable-scroll": "false", hidden: "false", @@ -652,7 +628,7 @@ require("./taro"); Slider: { "track-size": "4", "handle-size": "22", - "handle-color": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("#ffffff") + "handle-color": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("#ffffff") }, Switch: { controlled: "false" @@ -681,23 +657,23 @@ require("./taro"); "default-source": "" }, Camera: { - mode: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("normal"), - "output-dimension": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("720P"), - "frame-size": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("medium"), + mode: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("normal"), + "output-dimension": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("720P"), + "frame-size": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("medium"), bindScanCode: "", bindReady: "" }, Canvas: { type: "", - width: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("300px"), - height: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("225px"), + width: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("300px"), + height: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("225px"), bindReady: "" }, Video: { - "poster-size": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("contain"), + "poster-size": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("contain"), "show-thin-progress-bar": "false", "mobilenet-hint-type": "1", - "floating-mode": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("none"), + "floating-mode": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("none"), enableNative: "true", bindLoading: "", bindUserAction: "", @@ -738,15 +714,15 @@ require("./taro"); "tnt-inst-id": "", scene: "", size: "25", - color: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("#00A3FF"), + color: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("#00A3FF"), icon: "", "alipay-card-no": "", "ext-info": "" }, ArCamera: { - devicePosition: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("back"), + devicePosition: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("back"), marker: "", - mode: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("imageTracking"), + mode: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("imageTracking"), useCapturedImage: "false", bindInit: "", bindStop: "", @@ -758,7 +734,7 @@ require("./taro"); duration: "300", "z-index": "100", overlay: "true", - position: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("bottom"), + position: Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("bottom"), round: "false", "close-on-slide-down": "false", "overlay-style": "", @@ -777,7 +753,7 @@ require("./taro"); name: "", transform: "false", duration: "300", - "easing-function": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["singleQuote"])("ease-out") + "easing-function": Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["singleQuote"])("ease-out") }, RootPortal: { enable: "true" @@ -795,46 +771,46 @@ require("./taro"); bindScroll: "" } }; - var BUBBLE_EVENTS = new Set([ "touchStart", "touchMove", "touchEnd", "touchCancel", "tap", "longTap" ]); - var hostConfig = { + const BUBBLE_EVENTS = new Set([ "touchStart", "touchMove", "touchEnd", "touchCancel", "tap", "longTap" ]); + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { + getMiniLifecycle(config) { config.component[0] = "didMount"; config.component[1] = "didUnmount"; return config; }, - getEventCenter: function getEventCenter(Events) { + getEventCenter(Events) { if (!my.taroEventCenter) { my.taroEventCenter = new Events; } return my.taroEventCenter; }, - modifyTaroEvent: function modifyTaroEvent(event, node) { + modifyTaroEvent(event, node) { if (node.tagName === "SWIPER" && event.type === "animationend") { event.type = "animationfinish"; } }, - isBubbleEvents: function isBubbleEvents(eventName) { + isBubbleEvents(eventName) { return BUBBLE_EVENTS.has(eventName); }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var page = getCurrentPages()[0]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["a"])({}, Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["toCamelCase"])(data.nn), data)); - return _ref = { - sid: element.sid - }, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["a"])(_ref, "v", ""), - Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["a"])(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["toCamelCase"])(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } }, - modifyRecursiveComponentConfig: function modifyRecursiveComponentConfig(componentConfig, _ref2) { - var isCustomWrapper = _ref2.isCustomWrapper; + modifyRecursiveComponentConfig(componentConfig, {isCustomWrapper: isCustomWrapper}) { return isCustomWrapper ? Object.assign(Object.assign({}, componentConfig), { - deriveDataFromProps: function deriveDataFromProps(nextProps) { + deriveDataFromProps(nextProps) { if (this.data.i !== undefined && this.props.i !== nextProps.i) { this.setData({ i: nextProps.i @@ -844,31 +820,31 @@ require("./taro"); }) : componentConfig; } }; - var _navigator = navigator, userAgent = _navigator.userAgent; + const {userAgent: userAgent} = navigator; Object.defineProperty(navigator, "userAgent", { configurable: true, enumerable: true, - get: function get() { + get() { return userAgent || navigator.swuserAgent || ""; } }); - Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["d"])(hostConfig); - Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_1__["c"])(components); + Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["d"])(hostConfig); + Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__["c"])(components); }).call(this, __webpack_require__(2)["navigator"]); }, - 16: function(module, exports, __webpack_require__) {}, - 18: function(module, __webpack_exports__, __webpack_require__) { + 14: function(module, exports, __webpack_require__) {}, + 16: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var runtime = __webpack_require__(15); + var runtime = __webpack_require__(13); var taro_runtime = __webpack_require__(2); var taro = __webpack_require__(0); var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); + var createClass = __webpack_require__(6); var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(1); - var app = __webpack_require__(16); + var app = __webpack_require__(14); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -894,7 +870,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_src_app = app_App; - var taro_react = __webpack_require__(11); + var taro_react = __webpack_require__(9); var config = { pages: [ "pages/index/index", "pages/about/index" ], window: { @@ -933,7 +909,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 18, 0, 1, 3, 2 ] ] ]); +}, [ [ 16, 0, 1, 3, 2 ] ] ]); @@ -1072,14 +1048,14 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 /** filePath: dist/pages/about/index.js **/ (my["webpackJsonp"] = my["webpackJsonp"] || []).push([ [ 7 ], { - 20: function(module, __webpack_exports__, __webpack_require__) { + 18: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(2); var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); + var createClass = __webpack_require__(6); var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(1); var taro_components = __webpack_require__(8); var about_Index = function(_Component) { @@ -1109,7 +1085,7 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 }, config || {})); var about = __webpack_exports__["default"] = about_Index; } -}, [ [ 20, 0, 1, 3, 2 ] ] ]); +}, [ [ 18, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/about/index.json **/ {"navigationBarTitleText":"关于","usingComponents":{}} @@ -1120,14 +1096,14 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 /** filePath: dist/pages/index/index.js **/ (my["webpackJsonp"] = my["webpackJsonp"] || []).push([ [ 9 ], { - 19: function(module, __webpack_exports__, __webpack_require__) { + 17: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(2); var classCallCheck = __webpack_require__(4); - var createClass = __webpack_require__(5); + var createClass = __webpack_require__(6); var inherits = __webpack_require__(7); - var createSuper = __webpack_require__(6); + var createSuper = __webpack_require__(5); var react = __webpack_require__(1); var taro_components = __webpack_require__(8); var index_Index = function(_Component) { @@ -1157,7 +1133,7 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 }, config || {})); var index = __webpack_exports__["default"] = index_Index; } -}, [ [ 19, 0, 1, 3, 2 ] ] ]); +}, [ [ 17, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/index/index.json **/ {"navigationBarTitleText":"首页","usingComponents":{}} @@ -1167,10 +1143,6 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 /** filePath: dist/taro.js **/ (my["webpackJsonp"] = my["webpackJsonp"] || []).push([ [ 1 ], { - 11: function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_exports__["a"] = "taro-react-mock"; - }, 2: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); @@ -1179,6 +1151,10 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 8: function(module, __webpack_exports__, __webpack_require__) { "use strict"; var _unused_webpack_default_export = "taro-components-mock"; + }, + 9: function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_exports__["a"] = "taro-react-mock"; } } ]); @@ -1226,29 +1202,6 @@ export default { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1299,6 +1252,43 @@ export default { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(3); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1327,26 +1317,6 @@ export default { }); if (superClass) _setPrototypeOf(subClass, superClass); } -}, , function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(3); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); " `; @@ -1365,33 +1335,18 @@ require("./vendors"); require("./taro"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 4 ], { - 13: function(module, exports, __webpack_require__) {}, - 16: function(module, __webpack_exports__, __webpack_require__) { + 12: function(module, exports, __webpack_require__) {}, + 15: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var toPropertyKey = __webpack_require__(8); - function _defineProperty(obj, key, value) { - key = Object(toPropertyKey["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -1399,7 +1354,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -1422,19 +1377,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -1454,11 +1407,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -1872,27 +1825,28 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; @@ -1900,11 +1854,11 @@ require("./taro"); mergeInternalComponents(components); var taro_runtime = __webpack_require__(1); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(0); - var app = __webpack_require__(13); + var app = __webpack_require__(12); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -1930,7 +1884,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_src_app = app_App; - var taro_react = __webpack_require__(9); + var taro_react = __webpack_require__(8); var config = { pages: [ "pages/index/index", "pages/about/index" ], window: { @@ -1969,7 +1923,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 16, 0, 1, 3, 2 ] ] ]); +}, [ [ 15, 0, 1, 3, 2 ] ] ]); @@ -2740,13 +2694,13 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 /** filePath: dist/comp.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 6 ], { - 14: function(module, __webpack_exports__, __webpack_require__) { + 13: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1); Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__["createRecursiveComponentConfig"])()); } -}, [ [ 14, 0, 1 ] ] ]); +}, [ [ 13, 0, 1 ] ] ]); /** filePath: dist/comp.json **/ {"component":true,"usingComponents":{"comp":"./comp"}} @@ -2758,14 +2712,14 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 /** filePath: dist/pages/about/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 8 ], { - 18: function(module, __webpack_exports__, __webpack_require__) { + 17: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(1); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(0); var taro_components = __webpack_require__(7); var about_Index = function(_Component) { @@ -2795,7 +2749,7 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 }, config || {})); var about = __webpack_exports__["default"] = about_Index; } -}, [ [ 18, 0, 1, 3, 2 ] ] ]); +}, [ [ 17, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/about/index.json **/ {"navigationBarTitleText":"关于","usingComponents":{"comp":"../../comp"}} @@ -2806,14 +2760,14 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 /** filePath: dist/pages/index/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 10 ], { - 17: function(module, __webpack_exports__, __webpack_require__) { + 16: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(1); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(0); var taro_components = __webpack_require__(7); var index_Index = function(_Component) { @@ -2843,7 +2797,7 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 }, config || {})); var index = __webpack_exports__["default"] = index_Index; } -}, [ [ 17, 0, 1, 3, 2 ] ] ]); +}, [ [ 16, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/index/index.json **/ {"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}} @@ -2865,7 +2819,7 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 "use strict"; var _unused_webpack_default_export = "taro-components-mock"; }, - 9: function(module, __webpack_exports__, __webpack_require__) { + 8: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_exports__["a"] = "taro-react-mock"; } @@ -2936,29 +2890,6 @@ module.exports = { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -3009,6 +2940,43 @@ module.exports = { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(2); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -3037,26 +3005,6 @@ module.exports = { }); if (superClass) _setPrototypeOf(subClass, superClass); } -}, , function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(2); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); " `; diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/ts.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/ts.spec.ts.snap index f3cd7427aab6..ede3e0e62fe9 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/ts.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/ts.spec.ts.snap @@ -14,33 +14,18 @@ require("./vendors"); require("./taro"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 4 ], { - 12: function(module, exports, __webpack_require__) {}, - 16: function(module, __webpack_exports__, __webpack_require__) { + 11: function(module, exports, __webpack_require__) {}, + 15: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - var toPropertyKey = __webpack_require__(7); - function _defineProperty(obj, key, value) { - key = Object(toPropertyKey["a"])(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -48,7 +33,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -71,19 +56,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -103,11 +86,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -521,27 +504,28 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; @@ -549,11 +533,11 @@ require("./taro"); mergeInternalComponents(components); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var app = __webpack_require__(12); + var app = __webpack_require__(11); var app_App = function(_Component) { Object(inherits["a"])(App, _Component); var _super = Object(createSuper["a"])(App); @@ -579,7 +563,7 @@ require("./taro"); return App; }(react["Component"]); var entry_cachename_app_src_app = app_App; - var taro_react = __webpack_require__(9); + var taro_react = __webpack_require__(8); var config = { pages: [ "pages/index/index" ], window: { @@ -603,7 +587,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 16, 0, 1, 3, 2 ] ] ]); +}, [ [ 15, 0, 1, 3, 2 ] ] ]); @@ -1340,13 +1324,13 @@ require("./taro"); /** filePath: dist/comp.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 6 ], { - 13: function(module, __webpack_exports__, __webpack_require__) { + 12: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__["createRecursiveComponentConfig"])()); } -}, [ [ 13, 0, 1 ] ] ]); +}, [ [ 12, 0, 1 ] ] ]); /** filePath: dist/comp.json **/ {"component":true,"usingComponents":{"comp":"./comp"}} @@ -1358,18 +1342,18 @@ require("./taro"); /** filePath: dist/pages/index/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 8 ], { - 15: function(module, exports, __webpack_require__) {}, - 17: function(module, __webpack_exports__, __webpack_require__) { + 14: function(module, exports, __webpack_require__) {}, + 16: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(0); var classCallCheck = __webpack_require__(3); - var createClass = __webpack_require__(4); + var createClass = __webpack_require__(5); var inherits = __webpack_require__(6); - var createSuper = __webpack_require__(5); + var createSuper = __webpack_require__(4); var react = __webpack_require__(1); - var taro_components = __webpack_require__(8); - var index = __webpack_require__(15); + var taro_components = __webpack_require__(7); + var index = __webpack_require__(14); var index_Index = function(_Component) { Object(inherits["a"])(Index, _Component); var _super = Object(createSuper["a"])(Index); @@ -1412,7 +1396,7 @@ require("./taro"); }, config || {})); var pages_index = __webpack_exports__["default"] = index_Index; } -}, [ [ 17, 0, 1, 3, 2 ] ] ]); +}, [ [ 16, 0, 1, 3, 2 ] ] ]); /** filePath: dist/pages/index/index.json **/ {"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}} @@ -1433,11 +1417,11 @@ require("./taro"); "use strict"; var _unused_webpack_default_export = "taro-runtime-mock"; }, - 8: function(module, __webpack_exports__, __webpack_require__) { + 7: function(module, __webpack_exports__, __webpack_require__) { "use strict"; var _unused_webpack_default_export = "taro-components-mock"; }, - 9: function(module, __webpack_exports__, __webpack_require__) { + 8: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_exports__["a"] = "taro-react-mock"; } @@ -1508,29 +1492,6 @@ module.exports = { throw new TypeError("Cannot call a class as a function"); } } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _createClass; - })); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7); - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["a"])(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1581,6 +1542,43 @@ module.exports = { return _possibleConstructorReturn(this, result); }; } +}, function(module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.d(__webpack_exports__, "a", (function() { + return _createClass; + })); + var esm_typeof = __webpack_require__(2); + function _toPrimitive(input, hint) { + if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (Object(esm_typeof["a"])(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); + } + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); + } + } + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; + } }, function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.d(__webpack_exports__, "a", (function() { @@ -1609,26 +1607,6 @@ module.exports = { }); if (superClass) _setPrototypeOf(subClass, superClass); } -}, function(module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.d(__webpack_exports__, "a", (function() { - return _toPropertyKey; - })); - var esm_typeof = __webpack_require__(2); - function _toPrimitive(input, hint) { - if (Object(esm_typeof["a"])(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (Object(esm_typeof["a"])(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return Object(esm_typeof["a"])(key) === "symbol" ? key : String(key); - } } ] ]); " `; diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/vue.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/vue.spec.ts.snap index 78be8ffe4c6e..dd3fa9729dc9 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/vue.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/vue.spec.ts.snap @@ -11,53 +11,17 @@ require("./taro"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 2 ], { 3: function(module, exports, __webpack_require__) {}, - 6: function(module, __webpack_exports__, __webpack_require__) { + 7: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - function _typeof(obj) { - "@babel/helpers - typeof"; - return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj) { - return typeof obj; - } : function(obj) { - return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; - }, _typeof(obj); - } - function _toPrimitive(input, hint) { - if (_typeof(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (_typeof(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return _typeof(key) === "symbol" ? key : String(key); - } - function _defineProperty(obj, key, value) { - key = _toPropertyKey(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -65,7 +29,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -88,19 +52,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -120,11 +82,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -538,27 +500,28 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; @@ -597,7 +560,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 6, 0, 1 ] ] ]); +}, [ [ 7, 0, 1 ] ] ]); @@ -1345,7 +1308,7 @@ require("./taro"); /** filePath: dist/pages/index/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 6 ], { - 7: function(module, __webpack_exports__, __webpack_require__) { + 6: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(0); @@ -1428,7 +1391,7 @@ require("./taro"); }, config || {})); var pages_index = __webpack_exports__["default"] = index; } -}, [ [ 7, 0, 1 ] ] ]); +}, [ [ 6, 0, 1 ] ] ]); /** filePath: dist/pages/index/index.json **/ {"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}} diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/vue3.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/vue3.spec.ts.snap index ecc640e4c05b..d9d4da4357e4 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/vue3.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/vue3.spec.ts.snap @@ -13,53 +13,17 @@ require("./taro"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 3 ], { 4: function(module, exports, __webpack_require__) {}, - 7: function(module, __webpack_exports__, __webpack_require__) { + 8: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); - function _typeof(obj) { - "@babel/helpers - typeof"; - return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj) { - return typeof obj; - } : function(obj) { - return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; - }, _typeof(obj); - } - function _toPrimitive(input, hint) { - if (_typeof(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (_typeof(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return _typeof(key) === "symbol" ? key : String(key); - } - function _defineProperty(obj, key, value) { - key = _toPropertyKey(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } var mocks_taro = "taro"; function mergeReconciler() {} function mergeInternalComponents() {} function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -67,7 +31,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -90,19 +54,17 @@ require("./taro"); function useRouter() {} function useTabItemTap() {} function useScope() {} - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map(item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item); } return { key: api, @@ -122,11 +84,11 @@ require("./taro"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -540,27 +502,28 @@ require("./taro"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, undefined(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [undefined(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; @@ -596,7 +559,7 @@ require("./taro"); targetUnit: undefined }); } -}, [ [ 7, 0, 1, 2 ] ] ]); +}, [ [ 8, 0, 1, 2 ] ] ]); @@ -1350,7 +1313,7 @@ require("./taro"); /** filePath: dist/pages/index/index.js **/ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 7 ], { - 8: function(module, __webpack_exports__, __webpack_require__) { + 7: function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var taro_runtime = __webpack_require__(0); @@ -1435,7 +1398,7 @@ require("./taro"); }, config || {})); var pages_index = __webpack_exports__["default"] = index; } -}, [ [ 8, 0, 1, 2 ] ] ]); +}, [ [ 7, 0, 1, 2 ] ] ]); /** filePath: dist/pages/index/index.json **/ {"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}} diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap index 0b5267fe1cd4..ac70f4762a83 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap @@ -1431,8 +1431,8 @@ require("./taro"); function isFunction() {} function isArray() {} function processApis() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -1440,7 +1440,7 @@ require("./taro"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} diff --git a/packages/taro-mini-runner/src/webpack/chain.ts b/packages/taro-mini-runner/src/webpack/chain.ts index 6b10ca5832f1..80b067c1dc08 100644 --- a/packages/taro-mini-runner/src/webpack/chain.ts +++ b/packages/taro-mini-runner/src/webpack/chain.ts @@ -392,19 +392,16 @@ export const getModule = (appPath: string, { } } - if (compile.exclude && compile.exclude.length) { - scriptRule.exclude = [ - ...compile.exclude, - filename => /css-loader/.test(filename) || (/node_modules/.test(filename) && !(/taro/.test(filename))) - ] - } else if (compile.include && compile.include.length) { - scriptRule.include = [ - ...compile.include, - sourceDir, - filename => /taro/.test(filename) - ] - } else { - scriptRule.exclude = [filename => /css-loader/.test(filename) || (/node_modules/.test(filename) && !(/taro/.test(filename)))] + scriptRule.include = [ + sourceDir, + filename => /(?<=node_modules[\\/]).*taro/.test(filename) + ] + if (Array.isArray(compile.include)) { + scriptRule.include.unshift(...compile.include) + } + + if (Array.isArray(compile.exclude)) { + scriptRule.exclude = [...compile.exclude] } const rule: Record = { @@ -448,7 +445,7 @@ export const getModule = (appPath: string, { // 否则,证明是外层,存在一下两种可能 // resourcePath /xxx/uuu/aaa/node_modules/yy/zzz.wxml // --> result: npm/yy/zzz.wxml - + // resourcePath /xxx/uuu/aaa/bbb/abc/yy/zzz.wxml // --> result: bbb/abc/yy/zzz.wxml return resourcePath.replace(appPath + '/', '').replace(/node_modules/gi, 'npm') diff --git a/packages/taro-plugin-react/src/runtime/connect-native.ts b/packages/taro-plugin-react/src/runtime/connect-native.ts index ebed7f5537d5..e3f5a127329b 100644 --- a/packages/taro-plugin-react/src/runtime/connect-native.ts +++ b/packages/taro-plugin-react/src/runtime/connect-native.ts @@ -148,7 +148,7 @@ function initNativeComponentEntry (params: InitNativeComponentEntryParams) { // create const nativeApp = document.createElement('nativeComponent') // insert - app?.appendChild(nativeApp) + app?.parentNode?.appendChild(nativeApp) app = nativeApp } ReactDOM.render( diff --git a/packages/taro-router/package.json b/packages/taro-router/package.json index 630a111c5998..c65a59487e35 100644 --- a/packages/taro-router/package.json +++ b/packages/taro-router/package.json @@ -46,6 +46,7 @@ "@rollup/plugin-typescript": "^11.1.0", "@tarojs/runtime": "workspace:*", "@tarojs/taro": "workspace:*", + "@tarojs/shared": "workspace:*", "@types/jest": "^29.4.0", "jest": "^29.3.1", "jest-cli": "^29.3.1", @@ -59,6 +60,7 @@ }, "peerDependencies": { "@tarojs/runtime": "workspace:*", - "@tarojs/taro": "workspace:*" + "@tarojs/taro": "workspace:*", + "@tarojs/shared": "workspace:*" } } diff --git a/packages/taro-router/src/api.ts b/packages/taro-router/src/api.ts index fb57563476fe..6ec4f2b44d5f 100644 --- a/packages/taro-router/src/api.ts +++ b/packages/taro-router/src/api.ts @@ -1,4 +1,5 @@ import { addLeadingSlash } from '@tarojs/runtime' +import { EventChannel } from '@tarojs/shared' import Taro from '@tarojs/taro' import { parsePath } from 'history' @@ -7,10 +8,12 @@ import { RouterConfig } from './router' import stacks from './router/stack' import { routesAlias } from './utils' -import type { NavigateBackOption, Option } from '../types/api' +import type { NavigateBackOption, NavigateOption, Option } from '../types/api' type MethodName = 'navigateTo' | 'navigateBack' | 'switchTab' | 'redirectTo' | 'reLaunch' +const routeEvtChannel = EventChannel.routeChannel + function processNavigateUrl (option: Option) { const pathPieces = parsePath(option.url) @@ -44,7 +47,11 @@ async function navigate (option: Option | NavigateBackOption, method: MethodName stacks.method = method const { success, complete, fail } = option const unListen = history.listen(() => { - const res = { errMsg: `${method}:ok` } + const res: any = { errMsg: `${method}:ok` } + if (method === 'navigateTo') { + res.eventChannel = routeEvtChannel + routeEvtChannel.addEvents((option as NavigateOption).events) + } success?.(res) complete?.(res) resolve(res) diff --git a/packages/taro-router/types/api.d.ts b/packages/taro-router/types/api.d.ts index d7fe98c12493..ba8e84722eaa 100644 --- a/packages/taro-router/types/api.d.ts +++ b/packages/taro-router/types/api.d.ts @@ -11,3 +11,8 @@ export interface Option extends Base { export interface NavigateBackOption extends Base { delta: number } + + export interface NavigateOption extends BaseOption { + url: string + events?: Record +} diff --git a/packages/taro-runtime-rn/package.json b/packages/taro-runtime-rn/package.json index cec9e95b42f4..c9f10b3ad3ab 100644 --- a/packages/taro-runtime-rn/package.json +++ b/packages/taro-runtime-rn/package.json @@ -27,6 +27,7 @@ "dependencies": { "@tarojs/components-rn": "workspace:*", "@tarojs/router-rn": "workspace:*", + "@tarojs/shared": "workspace:*", "react-native-device-info": "~10.3.0", "react-native-root-siblings": "^4.1.1" }, @@ -34,6 +35,7 @@ "@types/react-native": "^0.69.8" }, "peerDependencies": { + "@tarojs/shared": "workspace:*", "react-native-device-info": "~10.3.0" } } diff --git a/packages/taro-runtime-rn/src/app.tsx b/packages/taro-runtime-rn/src/app.tsx index 6606d63a3963..c3889a957c9b 100644 --- a/packages/taro-runtime-rn/src/app.tsx +++ b/packages/taro-runtime-rn/src/app.tsx @@ -1,9 +1,9 @@ import { Provider as TCNProvider } from '@tarojs/components-rn' +import { EventChannel } from '@tarojs/shared' import React, { Component, ComponentProps, createElement, createRef, forwardRef } from 'react' import { RootSiblingParent } from 'react-native-root-siblings' import { Current } from './current' -import EventChannel from './EventChannel' import { AppInstance, PageLifeCycle } from './instance' import { getPageInstance } from './page' import { createRouter, getInitOptions, getRouteEventChannel } from './router' diff --git a/packages/taro-runtime-rn/src/emmiter.ts b/packages/taro-runtime-rn/src/emmiter.ts index 1315ba336bd4..8a78e391f424 100644 --- a/packages/taro-runtime-rn/src/emmiter.ts +++ b/packages/taro-runtime-rn/src/emmiter.ts @@ -1,119 +1,5 @@ -/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ -/* eslint-disable no-dupe-class-members */ -type Callback1 = (arg1: T1) => any; -type Callback2 = (arg1: T1, arg2: T2) => any; -type Callback3 = (arg1: T1, arg2: T2, arg3: T3) => any; -type Callback4 = (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => any; -type Callback5 = (arg1: T1, arg2: T2, arg3: T3, - arg4: T4, arg5: T5) => any; -type Callback6Rest = (arg1: T1, arg2: T2, arg3: T3, - arg4: T4, arg5: T5, arg6: T6, - ...rest: any[]) => any; +import { Events } from '@tarojs/shared' -export class Events { - private callbacks?: Record - static eventSplitter = /\s+/ +const eventCenter: Events = new Events() - constructor (opts?) { - if (typeof opts !== 'undefined' && opts.callbacks) { - this.callbacks = opts.callbacks - } else { - this.callbacks = {} - } - } - - on(event: string, callback: Callback1, context): this - on(event: string, callback: Callback2, context): this - on(event: string, callback: Callback3, context): this - on(event: string, callback: Callback4, comtext): this - on(event: string, callback: Callback5, context): this - on(event: string, callback: Callback6Rest, context): this - on (eventName, callback, context): this { - let event, node, tail, list - if (!callback) { - return this - } - eventName = eventName.split(Events.eventSplitter) - const calls = this.callbacks || [] - while ((event = eventName.shift())) { - list = calls[event] - node = list ? list.tail : {} - node.next = tail = {} - node.context = context - node.callback = callback - calls[event] = { - tail, - next: list ? list.next : node - } - } - return this - } - - once (events, callback, context) { - const wrapper = (...args) => { - callback.apply(this, args) - this.off(events, wrapper, context) - } - - this.on(events, wrapper, context) - - return this - } - - off (events, callback, context) { - let event, calls, node, tail, cb, ctx - if (!(calls = this.callbacks)) { - return this - } - if (!(events || callback || context)) { - delete this.callbacks - return this - } - events = events ? events.split(Events.eventSplitter) : Object.keys(calls) - while ((event = events.shift())) { - node = calls[event] - delete calls[event] - if (!node || !(callback || context)) { - continue - } - tail = node.tail - while ((node = node.next) !== tail) { - cb = node.callback - ctx = node.context - if ((callback && cb !== callback) || (context && ctx !== context)) { - this.on(event, cb, ctx) - } - } - } - return this - } - - trigger(event: string) - trigger(event: string, arg: T1) - trigger(event: string, arg1: T1, arg2: T2) - trigger(event: string, arg1: T1, arg2: T2, arg3: T3) - trigger(event: string, arg1: T1, arg2: T2, arg3: T3, arg4: T4) - trigger(event: string, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) - trigger(event: string, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, - arg6: T6, ...rest: any[]) - - trigger (events) { - let event, node, calls, tail - if (!(calls = this.callbacks)) { - return this - } - events = events.split(Events.eventSplitter) - const rest = [].slice.call(arguments, 1) - while ((event = events.shift())) { - if ((node = calls[event])) { - tail = node.tail - while ((node = node.next) !== tail) { - node.callback.apply(node.context || this, rest) - } - } - } - return this - } -} - -export const eventCenter: Events = new Events() +export { eventCenter, Events } diff --git a/packages/taro-runtime-rn/src/page.ts b/packages/taro-runtime-rn/src/page.ts index 4c3303da26b7..f48d3e4063a6 100644 --- a/packages/taro-runtime-rn/src/page.ts +++ b/packages/taro-runtime-rn/src/page.ts @@ -1,10 +1,10 @@ +import { EventChannel } from '@tarojs/shared' import { Component, Context, createContext, createElement, createRef, forwardRef, RefObject } from 'react' import { AppState, Dimensions, EmitterSubscription, RefreshControl, ScrollView } from 'react-native' import { isClassComponent } from './app' import { Current } from './current' import { eventCenter } from './emmiter' -import EventChannel from './EventChannel' import { Instance, PageInstance } from './instance' import { getCurrentRoute, isTabPage, PageProvider } from './router' import { diff --git a/packages/taro-runtime/src/dsl/common.ts b/packages/taro-runtime/src/dsl/common.ts index 5e1ad28f26bd..72096f6142e8 100644 --- a/packages/taro-runtime/src/dsl/common.ts +++ b/packages/taro-runtime/src/dsl/common.ts @@ -1,6 +1,7 @@ /* eslint-disable dot-notation */ import { - EMPTY_OBJ, ensure, getComponentsAlias, hooks, internalComponents, + EMPTY_OBJ, ensure, EventChannel, + getComponentsAlias, hooks, internalComponents, isArray, isFunction, isString, isUndefined, Shortcuts } from '@tarojs/shared' @@ -230,6 +231,12 @@ export function createPageConfig (component: any, pageName?: string, data?: Reco } } + if (process.env.TARO_PLATFORM === 'web') { + config.getOpenerEventChannel = () => { + return EventChannel.pageChannel + } + } + LIFECYCLES.forEach((lifecycle) => { let isDefer = false lifecycle = lifecycle.replace(/^defer:/, () => { diff --git a/packages/taro-runtime/src/dsl/instance.ts b/packages/taro-runtime/src/dsl/instance.ts index b3987a8f7119..2cf12393b709 100644 --- a/packages/taro-runtime/src/dsl/instance.ts +++ b/packages/taro-runtime/src/dsl/instance.ts @@ -71,6 +71,8 @@ export interface PageInstance extends PageLifeCycle { options?: Record /** 页面渲染引擎类型 */ renderer?: 'webview' | 'skyline' + /** 获得一个 EventChannel 对象,用于页面间通讯 */ + getOpenerEventChannel?(): Record } interface Show { diff --git a/packages/taro-webpack-runner/src/index.ts b/packages/taro-webpack-runner/src/index.ts index 329f47094cd9..8d1cbd0303d0 100644 --- a/packages/taro-webpack-runner/src/index.ts +++ b/packages/taro-webpack-runner/src/index.ts @@ -167,16 +167,18 @@ const buildDev = async (appPath: string, config: BuildConfig, appHelper: AppHelp publicPath, contentBase: outputPath, writeToDisk: config.isBuildNativeComp, + proxy, + }, + baseDevServerOption, + customDevServerOption, + { historyApiFallback: { rewrites: [{ from: /./, to: publicPath }] - }, - proxy, - }, - baseDevServerOption, - customDevServerOption + } + } ) if (devServerOptions.proxy?.length < 1) { diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/babel.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/babel.spec.ts.snap index dfd2fbe7ce45..c2465b08a1ff 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/babel.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/babel.spec.ts.snap @@ -14,22 +14,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 660: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 925: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -47,29 +32,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} - _c = Events; function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var _c; - $RefreshReg$(_c, "Events"); - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -89,11 +69,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -507,33 +487,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -541,7 +522,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -566,11 +547,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -625,7 +606,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(660); + return __webpack_exec__(925); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1360,17 +1341,17 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -1387,7 +1368,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -1398,8 +1379,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -1407,7 +1388,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1424,24 +1405,24 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { - 640: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + 718: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var taro_components = "taro-components-mock"; var Index = function(_Component) { (0, inherits.Z)(Index, _Component); @@ -1480,7 +1461,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(640); + return __webpack_exec__(718); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1543,7 +1524,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -1555,20 +1536,34 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(817); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -1580,7 +1575,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -1603,7 +1598,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -1632,7 +1627,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -1662,29 +1657,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -1828,7 +1801,7 @@ exports[`babel should convert do expressions web 2`] = ` return _possibleConstructorReturn(this, result); }; } - var Component = {}; + const Component = {}; var react = "react-mock"; var App = function(_Component) { _inherits(App, _Component); diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap index 86dff3f13979..7afc9c3b8234 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap @@ -14,22 +14,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 660: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 925: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -47,29 +32,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} - _c = Events; function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var _c; - $RefreshReg$(_c, "Events"); - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -89,11 +69,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -507,33 +487,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -541,7 +522,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -566,11 +547,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -625,7 +606,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(660); + return __webpack_exec__(925); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1360,17 +1341,17 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -1387,7 +1368,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -1398,8 +1379,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -1407,7 +1388,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1424,24 +1405,24 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { - 640: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + 718: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var taro_components = "taro-components-mock"; var Index = function(_Component) { (0, inherits.Z)(Index, _Component); @@ -1475,7 +1456,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(640); + return __webpack_exec__(718); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1538,7 +1519,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -1550,20 +1531,34 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(817); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -1575,7 +1570,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -1598,7 +1593,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -1627,7 +1622,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -1657,29 +1652,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -1823,7 +1796,7 @@ exports[`compiler-macros - defineAppConfig and definePageConfig should read app return _possibleConstructorReturn(this, result); }; } - var Component = {}; + const Component = {}; var react = "react-mock"; var App = function(_Component) { _inherits(App, _Component); diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/config.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/config.spec.ts.snap index 763179fdcc55..8a0530d08291 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/config.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/config.spec.ts.snap @@ -14,22 +14,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 809: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 121: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -47,29 +32,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} - _c = Events; function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var _c; - $RefreshReg$(_c, "Events"); - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -89,11 +69,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -507,33 +487,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -541,7 +522,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -566,11 +547,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -625,7 +606,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(809); + return __webpack_exec__(121); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1520,17 +1501,17 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -1547,7 +1528,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -1558,8 +1539,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -1567,7 +1548,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1584,24 +1565,24 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { - 849: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + 456: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var taro_components = "taro-components-mock"; function say() { console.log("little cat"); @@ -1646,7 +1627,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(849); + return __webpack_exec__(456); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1709,7 +1690,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -1721,20 +1702,34 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(817); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -1746,7 +1741,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -1769,7 +1764,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -1798,7 +1793,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -1828,29 +1823,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -1883,22 +1856,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 809: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 121: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -1916,29 +1874,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} - _c = Events; function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var _c; - $RefreshReg$(_c, "Events"); - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -1958,11 +1911,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -2376,33 +2329,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -2410,7 +2364,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -2435,11 +2389,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -2494,7 +2448,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(809); + return __webpack_exec__(121); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -3229,17 +3183,17 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -3256,7 +3210,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -3267,8 +3221,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -3276,7 +3230,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -3293,24 +3247,24 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { - 849: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + 456: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var taro_components = "taro-components-mock"; function say() { console.log("little cat"); @@ -3355,7 +3309,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(849); + return __webpack_exec__(456); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -3533,7 +3487,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -3545,20 +3499,34 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(817); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -3570,7 +3538,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -3593,7 +3561,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -3622,7 +3590,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -3652,29 +3620,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -3818,7 +3764,7 @@ exports[`config should build from origin and pipe to output web 2`] = ` return _possibleConstructorReturn(this, result); }; } - var Component = {}; + const Component = {}; var react = "react-mock"; var App = function(_Component) { _inherits(App, _Component); @@ -3863,22 +3809,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 809: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 121: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -3896,29 +3827,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} - _c = Events; function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var _c; - $RefreshReg$(_c, "Events"); - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -3938,11 +3864,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -4356,33 +4282,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -4390,7 +4317,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -4415,11 +4342,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -4474,7 +4401,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(809); + return __webpack_exec__(121); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -5209,17 +5136,17 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -5236,7 +5163,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -5247,8 +5174,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -5256,7 +5183,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -5277,24 +5204,24 @@ I m irrelevant. "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { - 849: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + 456: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var taro_components = "taro-components-mock"; function say() { console.log("little cat"); @@ -5339,7 +5266,7 @@ I m irrelevant. return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(849); + return __webpack_exec__(456); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -5402,7 +5329,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -5414,20 +5341,34 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(817); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -5439,7 +5380,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -5462,7 +5403,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -5491,7 +5432,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -5521,29 +5462,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -5695,7 +5614,7 @@ I m irrelevant. return _possibleConstructorReturn(this, result); }; } - var Component = {}; + const Component = {}; var react = "react-mock"; var App = function(_Component) { _inherits(App, _Component); @@ -5744,22 +5663,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 809: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 121: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -5777,29 +5681,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} - _c = Events; function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var _c; - $RefreshReg$(_c, "Events"); - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -5819,11 +5718,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -6237,33 +6136,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -6271,7 +6171,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -6296,11 +6196,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -6355,7 +6255,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(809); + return __webpack_exec__(121); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -7090,17 +6990,17 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -7117,7 +7017,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -7128,8 +7028,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -7137,7 +7037,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -7154,24 +7054,24 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { - 849: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + 456: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var taro_components = "taro-components-mock"; function say() { console.log("little cat"); @@ -7216,7 +7116,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(849); + return __webpack_exec__(456); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -7279,7 +7179,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -7291,20 +7191,34 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(817); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -7316,7 +7230,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -7339,7 +7253,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -7368,7 +7282,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -7398,29 +7312,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -7591,7 +7483,7 @@ exports[`config should resolved alias web 2`] = ` return _possibleConstructorReturn(this, result); }; } - var Component = {}; + const Component = {}; var react = "react-mock"; var App = function(_Component) { _inherits(App, _Component); diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap index 05bbe28cb6a2..d050c66a5e40 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap @@ -14,22 +14,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 547: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 62: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -47,29 +32,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} - _c = Events; function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var _c; - $RefreshReg$(_c, "Events"); - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -89,11 +69,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -507,33 +487,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -541,7 +522,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -566,11 +547,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app = {}; var app_App = function(_Component) { (0, inherits.Z)(App, _Component); @@ -626,7 +607,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(547); + return __webpack_exec__(62); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1361,17 +1342,17 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -1388,7 +1369,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -1399,8 +1380,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -1408,7 +1389,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1425,24 +1406,24 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { - 214: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + 799: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var taro_components = "taro-components-mock"; var index_module = { cbody: "index-module__cbody___iSq4C", @@ -1497,7 +1478,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(214); + return __webpack_exec__(799); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1560,7 +1541,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -1572,20 +1553,34 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(817); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -1597,7 +1592,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -1620,7 +1615,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -1649,7 +1644,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -1679,29 +1674,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -1845,7 +1818,7 @@ exports[`css modules should use css modules with global mode web 2`] = ` return _possibleConstructorReturn(this, result); }; } - var Component = {}; + const Component = {}; var react = "react-mock"; var app = {}; var App = function(_Component) { @@ -1891,22 +1864,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 660: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 925: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -1924,29 +1882,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} - _c = Events; function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var _c; - $RefreshReg$(_c, "Events"); - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -1966,11 +1919,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -2384,33 +2337,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -2418,7 +2372,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -2443,11 +2397,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -2502,7 +2456,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(660); + return __webpack_exec__(925); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -3237,17 +3191,17 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -3264,7 +3218,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -3275,8 +3229,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -3284,7 +3238,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -3301,26 +3255,26 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { - 6: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + 223: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { var index_namespaceObject = {}; __webpack_require__.r(index_namespaceObject); - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var taro_components = "taro-components-mock"; var index_module = { cbody: "index-module__cbody___iSq4C", @@ -3372,7 +3326,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(6); + return __webpack_exec__(223); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -3435,7 +3389,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -3447,20 +3401,34 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(817); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -3472,7 +3440,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -3495,7 +3463,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -3524,7 +3492,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -3554,29 +3522,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -3720,7 +3666,7 @@ exports[`css modules should use css modules with module mode web 2`] = ` return _possibleConstructorReturn(this, result); }; } - var Component = {}; + const Component = {}; var react = "react-mock"; var App = function(_Component) { _inherits(App, _Component); diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/framework.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/framework.spec.ts.snap index 9f0b6b7ba20b..b6c8d754acb3 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/framework.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/framework.spec.ts.snap @@ -14,22 +14,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 443: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 983: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -47,26 +32,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -86,11 +69,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -504,33 +487,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -538,7 +522,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -563,11 +547,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var nerv = __webpack_require__(366); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var nerv = __webpack_require__(578); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -621,7 +605,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(443); + return __webpack_exec__(983); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1588,16 +1572,16 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 366: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 578: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { w: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["Z"] = "nervjs-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -1614,7 +1598,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -1625,8 +1609,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -1634,7 +1618,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1651,24 +1635,24 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { - 640: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var nerv = __webpack_require__(366); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + 718: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var nerv = __webpack_require__(578); + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var taro_components = "taro-components-mock"; var Index = function(_Component) { (0, inherits.Z)(Index, _Component); @@ -1714,7 +1698,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(640); + return __webpack_exec__(718); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1777,7 +1761,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -1789,20 +1773,34 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(817); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -1814,7 +1812,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -1837,7 +1835,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -1866,7 +1864,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -1896,29 +1894,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -2062,7 +2038,7 @@ exports[`framework should build nerv app web 2`] = ` return _possibleConstructorReturn(this, result); }; } - var Component = {}; + const Component = {}; var nerv = "nervjs-mock"; var App = function(_Component) { _inherits(App, _Component); @@ -2107,22 +2083,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 660: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 925: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -2140,29 +2101,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} - _c = Events; function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var _c; - $RefreshReg$(_c, "Events"); - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -2182,11 +2138,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -2600,33 +2556,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -2634,7 +2591,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -2659,11 +2616,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -2718,7 +2675,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(660); + return __webpack_exec__(925); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -3685,17 +3642,17 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -3712,7 +3669,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -3723,8 +3680,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -3732,7 +3689,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -3750,9 +3707,9 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { - 953: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var esm_typeof = __webpack_require__(671); + 504: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var taro_runtime = __webpack_require__(521); + var esm_typeof = __webpack_require__(817); function _regeneratorRuntime() { "use strict"; _regeneratorRuntime = function _regeneratorRuntime() { @@ -4087,22 +4044,22 @@ require("./runtime"); })); }; } - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var taro_components = "taro-components-mock"; var Index = function(_Component) { (0, inherits.Z)(Index, _Component); @@ -4174,7 +4131,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(953); + return __webpack_exec__(504); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -4241,7 +4198,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -4253,20 +4210,34 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(817); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -4278,7 +4249,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -4301,7 +4272,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -4330,7 +4301,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -4360,29 +4331,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -4526,7 +4475,7 @@ exports[`framework should build react app web 2`] = ` return _possibleConstructorReturn(this, result); }; } - var Component = {}; + const Component = {}; var react = "react-mock"; var App = function(_Component) { _inherits(App, _Component); @@ -4569,43 +4518,7 @@ require("./common"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 26: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - function _typeof(obj) { - "@babel/helpers - typeof"; - return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj) { - return typeof obj; - } : function(obj) { - return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; - }, _typeof(obj); - } - function _toPrimitive(input, hint) { - if (_typeof(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (_typeof(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return _typeof(key) === "symbol" ? key : String(key); - } - function _defineProperty(obj, key, value) { - key = _toPropertyKey(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 381: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -4623,26 +4536,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -4662,11 +4573,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -5080,33 +4991,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(619); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -5114,7 +5026,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -5177,7 +5089,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(26); + return __webpack_exec__(381); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -6144,7 +6056,7 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 619: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -6161,7 +6073,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -6172,8 +6084,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 30: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(619); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -6181,7 +6093,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(30); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -6199,7 +6111,7 @@ require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { 169: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(619); + var taro_runtime = __webpack_require__(521); var render = function render() { var _vm = this, _c = _vm._self._c; return _c("view", { @@ -6382,43 +6294,7 @@ require("./common"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 659: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - function _typeof(obj) { - "@babel/helpers - typeof"; - return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj) { - return typeof obj; - } : function(obj) { - return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; - }, _typeof(obj); - } - function _toPrimitive(input, hint) { - if (_typeof(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (_typeof(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return _typeof(key) === "symbol" ? key : String(key); - } - function _defineProperty(obj, key, value) { - key = _toPropertyKey(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 770: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -6436,26 +6312,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -6475,11 +6349,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -6893,33 +6767,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(83); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -6927,7 +6802,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -6952,7 +6827,7 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var vue = __webpack_require__(721); + var vue = __webpack_require__(113); var app_App = (0, vue.r)({ onShow: function onShow(options) {} }); @@ -6985,7 +6860,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(659); + return __webpack_exec__(770); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -7952,7 +7827,7 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 83: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -7969,12 +7844,12 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} }, - 721: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 113: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { h: function() { return h; @@ -7993,8 +7868,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 865: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(83); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -8002,7 +7877,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(865); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -8020,7 +7895,7 @@ require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { 356: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(83); + var taro_runtime = __webpack_require__(521); var render = function render() { var _vm = this, _c = _vm._self._c; return _c("view", { @@ -8029,7 +7904,7 @@ require("./runtime"); }; var staticRenderFns = []; render._withStripped = true; - var vue = __webpack_require__(721); + var vue = __webpack_require__(113); var indexvue_type_script_lang_js_ = { setup: function setup() { var msg = (0, vue.ref)("Hello world"); diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/mini-platform.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/mini-platform.spec.ts.snap index 39696f7bff0e..5254c84959f7 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/mini-platform.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/mini-platform.spec.ts.snap @@ -17,22 +17,7 @@ require("./vendors"); require("./runtime"); (my["webpackJsonp"] = my["webpackJsonp"] || []).push([ [ 143 ], { - 553: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 140: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -50,16 +35,16 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var runtime_navigator = __webpack_require__(184)["navigator"]; - var needPromiseApis = new Set([ "addCardAuth", "getOpenUserInfo", "chooseAlipayContact", "chooseCity", "chooseContact", "choosePhoneContact", "datePicker", "getAddress", "getAuthCode", "getPhoneNumber", "getRunData", "getRunScene", "getServerTime", "getTitleColor", "rsa", "paySignCenter", "tradePay", "isCollected", "multiLevelSelect", "onLocatedComplete", "optionsSelect", "prompt", "regionPicker", "setLocatedCity", "showAuthGuide", "textRiskIdentification", "vibrate", "watchShake", "connectBLEDevice", "disconnectBLEDevice", "makeBluetoothPair", "writeBLECharacteristicValue", "readBLECharacteristicValue", "notifyBLECharacteristicValueChange", "getBLEDeviceServices", "getBLEDeviceCharacteristics", "openBluetoothAdapter", "closeBluetoothAdapter", "getBluetoothAdapterState", "startBluetoothDevicesDiscovery", "stopBluetoothDevicesDiscovery", "getBluetoothDevices", "getConnectedBluetoothDevices" ]); - var apiDiff = { + var runtime_navigator = __webpack_require__(521)["navigator"]; + const needPromiseApis = new Set([ "addCardAuth", "getOpenUserInfo", "chooseAlipayContact", "chooseCity", "chooseContact", "choosePhoneContact", "datePicker", "getAddress", "getAuthCode", "getPhoneNumber", "getRunData", "getRunScene", "getServerTime", "getTitleColor", "rsa", "paySignCenter", "tradePay", "isCollected", "multiLevelSelect", "onLocatedComplete", "optionsSelect", "prompt", "regionPicker", "setLocatedCity", "showAuthGuide", "textRiskIdentification", "vibrate", "watchShake", "connectBLEDevice", "disconnectBLEDevice", "makeBluetoothPair", "writeBLECharacteristicValue", "readBLECharacteristicValue", "notifyBLECharacteristicValueChange", "getBLEDeviceServices", "getBLEDeviceCharacteristics", "openBluetoothAdapter", "closeBluetoothAdapter", "getBluetoothAdapterState", "startBluetoothDevicesDiscovery", "stopBluetoothDevicesDiscovery", "getBluetoothDevices", "getConnectedBluetoothDevices" ]); + const apiDiff = { login: { alias: "getAuthCode", options: { @@ -88,7 +73,7 @@ require("./runtime"); } ], set: [ { key: "type", - value: function value(options) { + value(options) { if (options.type === "error") { return "fail"; } @@ -133,7 +118,7 @@ require("./runtime"); options: { set: [ { key: "current", - value: function value(options) { + value(options) { return options.urls.indexOf(options.current || options.urls[0]); } } ] @@ -175,12 +160,12 @@ require("./runtime"); options: { set: [ { key: "latitude", - value: function value(options) { + value(options) { return String(options.latitude); } }, { key: "longitude", - value: function value(options) { + value(options) { return String(options.longitude); } } ] @@ -223,7 +208,7 @@ require("./runtime"); } ], set: [ { key: "type", - value: function value(options) { + value(options) { return options.scanType && options.scanType[0].slice(0, -4) || "qr"; } } ] @@ -250,12 +235,12 @@ require("./runtime"); alias: "disconnectBLEDevice" } }; - var asyncResultApiDiff = { + const asyncResultApiDiff = { alert: { res: { set: [ { key: "confirm", - value: function value(res) { + value(res) { return res.success; } } ] @@ -265,7 +250,7 @@ require("./runtime"); res: { set: [ { key: "value", - value: function value(res) { + value(res) { return res.brightness; } } ], @@ -276,7 +261,7 @@ require("./runtime"); res: { set: [ { key: "result", - value: function value(res) { + value(res) { return res.code; } } ] @@ -286,7 +271,7 @@ require("./runtime"); res: { set: [ { key: "data", - value: function value(res) { + value(res) { return res.text; } } ] @@ -296,7 +281,7 @@ require("./runtime"); res: { set: [ { key: "tempFilePaths", - value: function value(res) { + value(res) { return res.apFilePaths; } } ] @@ -306,7 +291,7 @@ require("./runtime"); res: { set: [ { key: "tempFilePath", - value: function value(res) { + value(res) { return res.apFilePath; } } ] @@ -316,7 +301,7 @@ require("./runtime"); res: { set: [ { key: "code", - value: function value(res) { + value(res) { return res.authCode; } } ] @@ -326,7 +311,7 @@ require("./runtime"); res: { set: [ { key: "extConfig", - value: function value(res) { + value(res) { return res.data; } } ] @@ -336,7 +321,7 @@ require("./runtime"); res: { set: [ { key: "savedFilePath", - value: function value(res) { + value(res) { return res.apFilePath; } } ] @@ -346,13 +331,11 @@ require("./runtime"); res: { set: [ { key: "services", - value: function value(res) { - return res.services.map((function(item) { - return { - uuid: item.serviceId, - isPrimary: item.isPrimary - }; - })); + value(res) { + return res.services.map((item => ({ + uuid: item.serviceId, + isPrimary: item.isPrimary + }))); } } ] } @@ -365,23 +348,23 @@ require("./runtime"); url: options }; } - var defaultHeaders = { + const defaultHeaders = { "content-type": "application/json" }; options.headers = defaultHeaders; if (options.header) { - for (var k in options.header) { - var lowerK = k.toLocaleLowerCase(); + for (const k in options.header) { + const lowerK = k.toLocaleLowerCase(); options.headers[lowerK] = options.header[k]; } delete options.header; } - var originSuccess = options.success; - var originFail = options.fail; - var originComplete = options.complete; - var requestTask; - var p = new Promise((function(resolve, reject) { - options.success = function(res) { + const originSuccess = options.success; + const originFail = options.fail; + const originComplete = options.complete; + let requestTask; + const p = new Promise(((resolve, reject) => { + options.success = res => { res.statusCode = res.status; delete res.status; res.header = res.headers; @@ -389,17 +372,17 @@ require("./runtime"); originSuccess && originSuccess(res); resolve(res); }; - options.fail = function(res) { + options.fail = res => { originFail && originFail(res); reject(res); }; - options.complete = function(res) { + options.complete = res => { originComplete && originComplete(res); }; - var nativeRequest = my.canIUse("request") ? my.request : my.httpRequest; + const nativeRequest = my.canIUse("request") ? my.request : my.httpRequest; requestTask = nativeRequest(options); })); - p.abort = function(cb) { + p.abort = cb => { cb && cb(); if (requestTask) { requestTask.abort(); @@ -410,12 +393,12 @@ require("./runtime"); } function handleSyncApis(key, global, args) { if (key === "getStorageSync") { - var arg1 = args[0]; + const arg1 = args[0]; if (arg1 != null) { - var res = global[key]({ + const res = global[key]({ key: arg1 }); - var data = null; + let data = null; if (res.hasOwnProperty("data")) { data = res.data; } else if (res.hasOwnProperty("APDataStorage")) { @@ -426,27 +409,27 @@ require("./runtime"); return console.error("getStorageSync \\u4f20\\u5165\\u53c2\\u6570\\u9519\\u8bef"); } if (key === "setStorageSync") { - var _arg = args[0]; - var arg2 = args[1]; - if (_arg != null) { + const arg1 = args[0]; + const arg2 = args[1]; + if (arg1 != null) { return global[key]({ - key: _arg, + key: arg1, data: arg2 }); } return console.error("setStorageSync \\u4f20\\u5165\\u53c2\\u6570\\u9519\\u8bef"); } if (key === "removeStorageSync") { - var _arg2 = args[0]; - if (_arg2 != null) { + const arg1 = args[0]; + if (arg1 != null) { return global[key]({ - key: _arg2 + key: arg1 }); } return console.error("removeStorageSync \\u4f20\\u5165\\u53c2\\u6570\\u9519\\u8bef"); } if (key === "createSelectorQuery") { - var query = global[key](); + const query = global[key](); query.in = function() { return query; }; @@ -455,7 +438,7 @@ require("./runtime"); return global[key].apply(global, args); } function transformMeta(api, options) { - var apiAlias = api; + let apiAlias = api; if (api === "showModal") { options.cancelButtonText = options.cancelText || "\\u53d6\\u6d88"; options.confirmButtonText = options.confirmText || "\\u786e\\u5b9a"; @@ -465,22 +448,22 @@ require("./runtime"); apiAlias = "alert"; } } else { - Object.keys(apiDiff).forEach((function(item) { - var apiItem = apiDiff[item]; + Object.keys(apiDiff).forEach((item => { + const apiItem = apiDiff[item]; if (api === item) { if (apiItem.alias) { apiAlias = apiItem.alias; } if (apiItem.options) { - var change = apiItem.options.change; - var set = apiItem.options.set; + const change = apiItem.options.change; + const set = apiItem.options.set; if (change) { - change.forEach((function(changeItem) { + change.forEach((changeItem => { options[changeItem.new] = options[changeItem.old]; })); } if (set) { - set.forEach((function(setItem) { + set.forEach((setItem => { options[setItem.key] = typeof setItem.value === "function" ? setItem.value(options) : setItem.value; })); } @@ -494,9 +477,9 @@ require("./runtime"); }; } function modifyApis(apis) { - Object.keys(apiDiff).map((function(key) { + Object.keys(apiDiff).map((key => { apis.add(key); - var platformKey = apiDiff[key].alias; + const platformKey = apiDiff[key].alias; platformKey && apis.delete(platformKey); })); apis.add("showModal"); @@ -524,23 +507,23 @@ require("./runtime"); my.closeSocket(); }; } - Object.keys(asyncResultApiDiff).forEach((function(apiKey) { - var apiItem = asyncResultApiDiff[apiKey]; + Object.keys(asyncResultApiDiff).forEach((apiKey => { + const apiItem = asyncResultApiDiff[apiKey]; if (key !== apiKey) { return; } if (!apiItem.res) { return; } - var set = apiItem.res.set; - var remove = apiItem.res.remove; + const set = apiItem.res.set; + const remove = apiItem.res.remove; if (set) { - set.forEach((function(setItem) { + set.forEach((setItem => { res[setItem.key] = typeof setItem.value === "function" ? setItem.value(res) : setItem.value; })); } if (remove) { - remove.forEach((function(removeItem) { + remove.forEach((removeItem => { delete res[removeItem]; })); } @@ -556,7 +539,7 @@ require("./runtime"); request: request }); } - var components = { + const components = { View: { "disable-scroll": "false", hidden: "false", @@ -757,45 +740,46 @@ require("./runtime"); bindScroll: "" } }; - var BUBBLE_EVENTS = new Set([ "touchStart", "touchMove", "touchEnd", "touchCancel", "tap", "longTap" ]); - var hostConfig = { + const BUBBLE_EVENTS = new Set([ "touchStart", "touchMove", "touchEnd", "touchCancel", "tap", "longTap" ]); + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { + getMiniLifecycle(config) { config.component[0] = "didMount"; config.component[1] = "didUnmount"; return config; }, - getEventCenter: function getEventCenter(Events) { + getEventCenter(Events) { if (!my.taroEventCenter) { my.taroEventCenter = new Events; } return my.taroEventCenter; }, - modifyTaroEvent: function modifyTaroEvent(event, node) { + modifyTaroEvent(event, node) { if (node.tagName === "SWIPER" && event.type === "animationend") { event.type = "animationfinish"; } }, - isBubbleEvents: function isBubbleEvents(eventName) { + isBubbleEvents(eventName) { return BUBBLE_EVENTS.has(eventName); }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var page = getCurrentPages()[0]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } }, - modifyRecursiveComponentConfig: function modifyRecursiveComponentConfig(componentConfig, _ref2) { - var isCustomWrapper = _ref2.isCustomWrapper; + modifyRecursiveComponentConfig(componentConfig, {isCustomWrapper: isCustomWrapper}) { return isCustomWrapper ? Object.assign(Object.assign({}, componentConfig), { - deriveDataFromProps: function deriveDataFromProps(nextProps) { + deriveDataFromProps(nextProps) { if (this.data.i !== undefined && this.props.i !== nextProps.i) { this.setData({ i: nextProps.i @@ -805,17 +789,17 @@ require("./runtime"); }) : componentConfig; } }; - var _navigator = runtime_navigator, userAgent = _navigator.userAgent; + const {userAgent: userAgent} = runtime_navigator; Object.defineProperty(runtime_navigator, "userAgent", { configurable: true, enumerable: true, - get: function get() { + get() { return userAgent || runtime_navigator.swuserAgent || ""; } }); mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -823,7 +807,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -848,11 +832,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -907,7 +891,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(553); + return __webpack_exec__(140); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1074,17 +1058,17 @@ require("./runtime"); "use strict"; (my["webpackJsonp"] = my["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -1101,7 +1085,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -1120,9 +1104,9 @@ require("./runtime"); "use strict"; (my["webpackJsonp"] = my["webpackJsonp"] || []).push([ [ 539 ], { - 953: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var esm_typeof = __webpack_require__(671); + 504: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var taro_runtime = __webpack_require__(521); + var esm_typeof = __webpack_require__(817); function _regeneratorRuntime() { "use strict"; _regeneratorRuntime = function _regeneratorRuntime() { @@ -1457,22 +1441,22 @@ require("./runtime"); })); }; } - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var taro_components = "taro-components-mock"; var Index = function(_Component) { (0, inherits.Z)(Index, _Component); @@ -1544,7 +1528,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(953); + return __webpack_exec__(504); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1583,7 +1567,7 @@ export default { "use strict"; (my["webpackJsonp"] = my["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -1595,20 +1579,34 @@ export default { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(817); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -1620,7 +1618,7 @@ export default { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -1643,7 +1641,7 @@ export default { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -1672,7 +1670,7 @@ export default { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -1702,29 +1700,7 @@ export default { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -1757,7 +1733,7 @@ require("./vendors"); require("./runtime"); (tt["webpackJsonp"] = tt["webpackJsonp"] || []).push([ [ 143 ], { - 419: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + 25: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -1775,20 +1751,20 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var needPromiseApis = new Set([ "applyRefund", "canRateAwemeOrders", "checkFollowAwemeState", "checkFollowState", "continueToPay", "createOrder", "exitMiniProgram", "followAwemeUser", "followOfficialAccount", "getMenuButtonLayout", "getUserProfile", "hideInteractionBar", "navigateToVideoView", "openAwemeUserProfile", "openEcGood", "openWebcastRoom", "pay", "rateAwemeOrder", "showDouyinOpenAuth", "showInteractionBar" ]); - var apiDiff = { + const needPromiseApis = new Set([ "applyRefund", "canRateAwemeOrders", "checkFollowAwemeState", "checkFollowState", "continueToPay", "createOrder", "exitMiniProgram", "followAwemeUser", "followOfficialAccount", "getMenuButtonLayout", "getUserProfile", "hideInteractionBar", "navigateToVideoView", "openAwemeUserProfile", "openEcGood", "openWebcastRoom", "pay", "rateAwemeOrder", "showDouyinOpenAuth", "showInteractionBar" ]); + const apiDiff = { showToast: { options: { set: [ { key: "icon", - value: function value(options) { + value(options) { return options.icon === "error" ? "fail" : options.icon; } } ] @@ -1796,23 +1772,23 @@ require("./runtime"); } }; function transformMeta(api, options) { - var apiAlias = api; - Object.keys(apiDiff).forEach((function(item) { - var apiItem = apiDiff[item]; + let apiAlias = api; + Object.keys(apiDiff).forEach((item => { + const apiItem = apiDiff[item]; if (api === item) { if (apiItem.alias) { apiAlias = apiItem.alias; } if (apiItem.options) { - var change = apiItem.options.change; - var set = apiItem.options.set; + const change = apiItem.options.change; + const set = apiItem.options.set; if (change) { - change.forEach((function(changeItem) { + change.forEach((changeItem => { options[changeItem.new] = options[changeItem.old]; })); } if (set) { - set.forEach((function(setItem) { + set.forEach((setItem => { options[setItem.key] = typeof setItem.value === "function" ? setItem.value(options) : setItem.value; })); } @@ -1830,10 +1806,10 @@ require("./runtime"); transformMeta: transformMeta }); } - var _true = "!0"; - var _false = "!1"; - var _empty = ""; - var components = { + const _true = "!0"; + const _false = "!1"; + const _empty = ""; + const components = { Icon: { size: "24" }, @@ -1997,14 +1973,14 @@ require("./runtime"); bindError: _empty } }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - modifyMpEventImpl: function modifyMpEventImpl(event) { + modifyMpEventImpl(event) { if (event.type === "regionchange") { event.type = event.detail.type; } }, - modifyTaroEventReturn: function modifyTaroEventReturn(node, event, returnVal) { + modifyTaroEventReturn(node, event, returnVal) { if (node.nodeName === "pay-button") { if (event.type === "applyrefund" || event.type === "getgoodsinfo") { return returnVal; @@ -2014,7 +1990,7 @@ require("./runtime"); }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -2022,7 +1998,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -2047,11 +2023,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(815); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -2106,7 +2082,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(419); + return __webpack_exec__(25); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -2280,17 +2256,17 @@ require("./runtime"); "use strict"; (tt["webpackJsonp"] = tt["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -2307,7 +2283,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -2319,9 +2295,9 @@ require("./runtime"); "use strict"; (tt["webpackJsonp"] = tt["webpackJsonp"] || []).push([ [ 539 ], { - 953: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var esm_typeof = __webpack_require__(671); + 504: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var taro_runtime = __webpack_require__(521); + var esm_typeof = __webpack_require__(817); function _regeneratorRuntime() { "use strict"; _regeneratorRuntime = function _regeneratorRuntime() { @@ -2656,22 +2632,22 @@ require("./runtime"); })); }; } - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(815); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var taro_components = "taro-components-mock"; var Index = function(_Component) { (0, inherits.Z)(Index, _Component); @@ -2743,7 +2719,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(953); + return __webpack_exec__(504); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -2787,7 +2763,7 @@ module.exports = { "use strict"; (tt["webpackJsonp"] = tt["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -2799,13 +2775,13 @@ module.exports = { } } }, - 815: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _toPrimitive(input, hint) { if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; @@ -2838,7 +2814,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -2861,7 +2837,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -2890,7 +2866,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -2920,7 +2896,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -2953,7 +2929,7 @@ require("./vendors"); require("./runtime"); (jd["webpackJsonp"] = jd["webpackJsonp"] || []).push([ [ 143 ], { - 679: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + 711: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -2971,8 +2947,8 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} function ensure() {} function noop() {} @@ -2987,7 +2963,7 @@ require("./runtime"); } }; } - var components = { + const components = { Swiper: { "easing-function": singleQuote("default") }, @@ -3011,12 +2987,12 @@ require("./runtime"); "adjust-position": "true" } }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -3024,7 +3000,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -3049,11 +3025,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(815); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -3108,7 +3084,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(679); + return __webpack_exec__(711); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -4075,17 +4051,17 @@ require("./runtime"); "use strict"; (jd["webpackJsonp"] = jd["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -4102,7 +4078,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -4113,8 +4089,8 @@ require("./runtime"); "use strict"; (jd["webpackJsonp"] = jd["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -4122,7 +4098,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -4140,9 +4116,9 @@ require("./runtime"); "use strict"; (jd["webpackJsonp"] = jd["webpackJsonp"] || []).push([ [ 539 ], { - 953: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var esm_typeof = __webpack_require__(671); + 504: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var taro_runtime = __webpack_require__(521); + var esm_typeof = __webpack_require__(817); function _regeneratorRuntime() { "use strict"; _regeneratorRuntime = function _regeneratorRuntime() { @@ -4477,22 +4453,22 @@ require("./runtime"); })); }; } - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(815); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var taro_components = "taro-components-mock"; var Index = function(_Component) { (0, inherits.Z)(Index, _Component); @@ -4564,7 +4540,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(953); + return __webpack_exec__(504); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -4631,7 +4607,7 @@ module.exports = { "use strict"; (jd["webpackJsonp"] = jd["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -4643,13 +4619,13 @@ module.exports = { } } }, - 815: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _toPrimitive(input, hint) { if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; @@ -4682,7 +4658,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -4705,7 +4681,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -4734,7 +4710,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -4764,7 +4740,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -4908,7 +4884,7 @@ exports[`mini-platform qq should base template loop 10 times 2`] = ` return _possibleConstructorReturn(this, result); }; } - var Component = {}; + const Component = {}; var react = "react-mock"; var App = function(_Component) { _inherits(App, _Component); @@ -5064,7 +5040,7 @@ exports[`mini-platform qq should build qq app 2`] = ` return _possibleConstructorReturn(this, result); }; } - var Component = {}; + const Component = {}; var react = "react-mock"; var App = function(_Component) { _inherits(App, _Component); @@ -5220,7 +5196,7 @@ exports[`mini-platform swan should build swan app 2`] = ` return _possibleConstructorReturn(this, result); }; } - var Component = {}; + const Component = {}; var react = "react-mock"; var App = function(_Component) { _inherits(App, _Component); diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap index 4870c88df030..7344c76d0fe6 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap @@ -14,22 +14,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 660: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 925: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -47,26 +32,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -86,11 +69,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -504,33 +487,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -538,7 +522,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -563,11 +547,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -622,7 +606,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(660); + return __webpack_exec__(925); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1357,17 +1341,17 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -1384,7 +1368,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -1395,8 +1379,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -1404,7 +1388,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1421,24 +1405,24 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { - 640: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + 718: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var taro_components = "taro-components-mock"; var Index = function(_Component) { (0, inherits.Z)(Index, _Component); @@ -1477,7 +1461,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(640); + return __webpack_exec__(718); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1540,7 +1524,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -1552,20 +1536,34 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(817); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -1577,7 +1575,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -1600,7 +1598,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -1629,7 +1627,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -1659,29 +1657,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap index 5a26a138a79a..8915262fe04c 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap @@ -14,8 +14,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 246: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var defineProperty = __webpack_require__(365); + 925: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -33,26 +32,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -72,11 +69,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -490,33 +487,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData((0, defineProperty.Z)({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, (0, defineProperty.Z)(_ref, "v", ""), (0, defineProperty.Z)(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -524,7 +522,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -549,11 +547,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(396); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(481); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(552); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -611,7 +609,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(246); + return __webpack_exec__(925); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1357,17 +1355,17 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 809: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 829: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { G7: function() { return View; @@ -1379,20 +1377,20 @@ require("./runtime"); return Text; } }); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var __WEBPACK_DEFAULT_EXPORT__ = "taro-components-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -1409,7 +1407,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -1420,8 +1418,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -1429,7 +1427,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1447,15 +1445,15 @@ require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 302 ], { 922: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var assertThisInitialized = __webpack_require__(577); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(396); - var defineProperty = __webpack_require__(365); - var react = __webpack_require__(757); - var taro_components = __webpack_require__(809); + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(481); + var assertThisInitialized = __webpack_require__(287); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(552); + var defineProperty = __webpack_require__(569); + var react = __webpack_require__(525); + var taro_components = __webpack_require__(829); var region = [ { name: "\\u5317\\u4eac\\u5e02", city: [ { @@ -2747,15 +2745,15 @@ require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 236 ], { 267: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var assertThisInitialized = __webpack_require__(577); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(396); - var defineProperty = __webpack_require__(365); - var react = __webpack_require__(757); - var taro_components = __webpack_require__(809); + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(481); + var assertThisInitialized = __webpack_require__(287); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(552); + var defineProperty = __webpack_require__(569); + var react = __webpack_require__(525); + var taro_components = __webpack_require__(829); var Index = function(_Component) { (0, inherits.Z)(Index, _Component); var _super = (0, createSuper.Z)(Index); @@ -2809,13 +2807,13 @@ require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { 309: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(396); - var react = __webpack_require__(757); - var taro_components = __webpack_require__(809); + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(481); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(552); + var react = __webpack_require__(525); + var taro_components = __webpack_require__(829); var Index = function(_Component) { (0, inherits.Z)(Index, _Component); var _super = (0, createSuper.Z)(Index); @@ -2922,7 +2920,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 577: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 287: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _assertThisInitialized; @@ -2935,7 +2933,7 @@ module.exports = { return self; } }, - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -2947,13 +2945,13 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 481: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(423); function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; @@ -2972,7 +2970,7 @@ module.exports = { return Constructor; } }, - 396: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 552: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -2995,8 +2993,8 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); - var assertThisInitialized = __webpack_require__(577); + var esm_typeof = __webpack_require__(817); + var assertThisInitialized = __webpack_require__(287); function _possibleConstructorReturn(self, call) { if (call && ((0, esm_typeof.Z)(call) === "object" || typeof call === "function")) { return call; @@ -3019,13 +3017,13 @@ module.exports = { }; } }, - 365: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 569: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _defineProperty; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(423); function _defineProperty(obj, key, value) { key = (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(key); if (key in obj) { @@ -3041,7 +3039,7 @@ module.exports = { return obj; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -3071,13 +3069,13 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 423: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _toPropertyKey; } }); - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _toPrimitive(input, hint) { if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; @@ -3093,7 +3091,7 @@ module.exports = { return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); } }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -3126,8 +3124,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 246: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var defineProperty = __webpack_require__(365); + 925: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -3145,26 +3142,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -3184,11 +3179,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -3602,33 +3597,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData((0, defineProperty.Z)({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, (0, defineProperty.Z)(_ref, "v", ""), (0, defineProperty.Z)(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -3636,7 +3632,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -3661,11 +3657,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(396); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(481); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(552); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -3723,7 +3719,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(246); + return __webpack_exec__(925); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -4469,17 +4465,17 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 809: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 829: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { G7: function() { return View; @@ -4491,20 +4487,20 @@ require("./runtime"); return Text; } }); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var __WEBPACK_DEFAULT_EXPORT__ = "taro-components-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -4521,7 +4517,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -4532,8 +4528,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -4541,7 +4537,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -4559,15 +4555,15 @@ require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 302 ], { 922: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var assertThisInitialized = __webpack_require__(577); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(396); - var defineProperty = __webpack_require__(365); - var react = __webpack_require__(757); - var taro_components = __webpack_require__(809); + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(481); + var assertThisInitialized = __webpack_require__(287); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(552); + var defineProperty = __webpack_require__(569); + var react = __webpack_require__(525); + var taro_components = __webpack_require__(829); var region = [ { name: "\\u5317\\u4eac\\u5e02", city: [ { @@ -5859,15 +5855,15 @@ require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 236 ], { 267: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var assertThisInitialized = __webpack_require__(577); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(396); - var defineProperty = __webpack_require__(365); - var react = __webpack_require__(757); - var taro_components = __webpack_require__(809); + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(481); + var assertThisInitialized = __webpack_require__(287); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(552); + var defineProperty = __webpack_require__(569); + var react = __webpack_require__(525); + var taro_components = __webpack_require__(829); var Index = function(_Component) { (0, inherits.Z)(Index, _Component); var _super = (0, createSuper.Z)(Index); @@ -5921,13 +5917,13 @@ require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { 309: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(396); - var react = __webpack_require__(757); - var taro_components = __webpack_require__(809); + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(481); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(552); + var react = __webpack_require__(525); + var taro_components = __webpack_require__(829); var Index = function(_Component) { (0, inherits.Z)(Index, _Component); var _super = (0, createSuper.Z)(Index); @@ -6034,7 +6030,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 577: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 287: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _assertThisInitialized; @@ -6047,7 +6043,7 @@ module.exports = { return self; } }, - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -6059,13 +6055,13 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 481: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(423); function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; @@ -6084,7 +6080,7 @@ module.exports = { return Constructor; } }, - 396: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 552: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -6107,8 +6103,8 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); - var assertThisInitialized = __webpack_require__(577); + var esm_typeof = __webpack_require__(817); + var assertThisInitialized = __webpack_require__(287); function _possibleConstructorReturn(self, call) { if (call && ((0, esm_typeof.Z)(call) === "object" || typeof call === "function")) { return call; @@ -6131,13 +6127,13 @@ module.exports = { }; } }, - 365: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 569: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _defineProperty; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(423); function _defineProperty(obj, key, value) { key = (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(key); if (key in obj) { @@ -6153,7 +6149,7 @@ module.exports = { return obj; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -6183,13 +6179,13 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 423: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _toPropertyKey; } }); - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _toPrimitive(input, hint) { if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; @@ -6205,7 +6201,7 @@ module.exports = { return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); } }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -6238,8 +6234,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 246: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var defineProperty = __webpack_require__(365); + 925: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -6257,26 +6252,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -6296,11 +6289,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -6714,33 +6707,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData((0, defineProperty.Z)({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, (0, defineProperty.Z)(_ref, "v", ""), (0, defineProperty.Z)(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -6748,7 +6742,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -6773,11 +6767,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(396); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(481); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(552); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -6835,7 +6829,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(246); + return __webpack_exec__(925); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -7581,17 +7575,17 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 809: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 829: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { G7: function() { return View; @@ -7603,20 +7597,20 @@ require("./runtime"); return Text; } }); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var __WEBPACK_DEFAULT_EXPORT__ = "taro-components-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -7633,7 +7627,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -7644,8 +7638,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -7653,7 +7647,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -7671,15 +7665,15 @@ require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 302 ], { 922: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var assertThisInitialized = __webpack_require__(577); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(396); - var defineProperty = __webpack_require__(365); - var react = __webpack_require__(757); - var taro_components = __webpack_require__(809); + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(481); + var assertThisInitialized = __webpack_require__(287); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(552); + var defineProperty = __webpack_require__(569); + var react = __webpack_require__(525); + var taro_components = __webpack_require__(829); var region = [ { name: "\\u5317\\u4eac\\u5e02", city: [ { @@ -8971,15 +8965,15 @@ require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 236 ], { 267: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var assertThisInitialized = __webpack_require__(577); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(396); - var defineProperty = __webpack_require__(365); - var react = __webpack_require__(757); - var taro_components = __webpack_require__(809); + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(481); + var assertThisInitialized = __webpack_require__(287); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(552); + var defineProperty = __webpack_require__(569); + var react = __webpack_require__(525); + var taro_components = __webpack_require__(829); var Index = function(_Component) { (0, inherits.Z)(Index, _Component); var _super = (0, createSuper.Z)(Index); @@ -9033,13 +9027,13 @@ require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { 309: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(396); - var react = __webpack_require__(757); - var taro_components = __webpack_require__(809); + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(481); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(552); + var react = __webpack_require__(525); + var taro_components = __webpack_require__(829); var Index = function(_Component) { (0, inherits.Z)(Index, _Component); var _super = (0, createSuper.Z)(Index); @@ -9146,7 +9140,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 577: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 287: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _assertThisInitialized; @@ -9159,7 +9153,7 @@ module.exports = { return self; } }, - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -9171,13 +9165,13 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 481: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(423); function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; @@ -9196,7 +9190,7 @@ module.exports = { return Constructor; } }, - 396: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 552: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -9219,8 +9213,8 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); - var assertThisInitialized = __webpack_require__(577); + var esm_typeof = __webpack_require__(817); + var assertThisInitialized = __webpack_require__(287); function _possibleConstructorReturn(self, call) { if (call && ((0, esm_typeof.Z)(call) === "object" || typeof call === "function")) { return call; @@ -9243,13 +9237,13 @@ module.exports = { }; } }, - 365: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 569: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _defineProperty; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(423); function _defineProperty(obj, key, value) { key = (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(key); if (key in obj) { @@ -9265,7 +9259,7 @@ module.exports = { return obj; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -9295,13 +9289,13 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 423: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _toPropertyKey; } }); - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _toPrimitive(input, hint) { if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; @@ -9317,7 +9311,7 @@ module.exports = { return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); } }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/sass.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/sass.spec.ts.snap index 4f2529577651..b0478d871ab7 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/sass.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/sass.spec.ts.snap @@ -14,22 +14,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 193: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 849: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -47,29 +32,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} - _c = Events; function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var _c; - $RefreshReg$(_c, "Events"); - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -89,11 +69,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -507,33 +487,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -541,7 +522,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -566,11 +547,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -616,7 +597,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(193); + return __webpack_exec__(849); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1348,17 +1329,17 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -1375,7 +1356,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -1386,8 +1367,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -1395,7 +1376,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1412,24 +1393,24 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { - 335: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + 631: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var taro_components = "taro-components-mock"; var Index = function(_Component) { (0, inherits.Z)(Index, _Component); @@ -1463,7 +1444,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(335); + return __webpack_exec__(631); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1526,7 +1507,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -1538,20 +1519,34 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(327); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -1563,7 +1558,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -1586,7 +1581,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(327); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -1615,7 +1610,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -1645,29 +1640,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 327: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -1808,7 +1781,7 @@ exports[`sass should build app with sass web 2`] = ` return _possibleConstructorReturn(this, result); }; } - var Component = {}; + const Component = {}; var react = "react-mock"; var App = function(_Component) { _inherits(App, _Component); @@ -1844,22 +1817,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 660: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 925: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -1877,29 +1835,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} - _c = Events; function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var _c; - $RefreshReg$(_c, "Events"); - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -1919,11 +1872,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -2337,33 +2290,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -2371,7 +2325,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -2396,11 +2350,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -2455,7 +2409,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(660); + return __webpack_exec__(925); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -3190,17 +3144,17 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -3217,7 +3171,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -3228,8 +3182,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -3237,7 +3191,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -3254,24 +3208,24 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { - 640: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + 718: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var taro_components = "taro-components-mock"; var Index = function(_Component) { (0, inherits.Z)(Index, _Component); @@ -3317,7 +3271,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(640); + return __webpack_exec__(718); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -3380,7 +3334,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -3392,20 +3346,34 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(817); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -3417,7 +3385,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -3440,7 +3408,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -3469,7 +3437,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -3499,29 +3467,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -3665,7 +3611,7 @@ exports[`sass should build app with scss web 2`] = ` return _possibleConstructorReturn(this, result); }; } - var Component = {}; + const Component = {}; var react = "react-mock"; var App = function(_Component) { _inherits(App, _Component); @@ -3710,22 +3656,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 660: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 925: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -3743,29 +3674,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} - _c = Events; function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var _c; - $RefreshReg$(_c, "Events"); - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -3785,11 +3711,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -4203,33 +4129,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -4237,7 +4164,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -4262,11 +4189,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -4321,7 +4248,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(660); + return __webpack_exec__(925); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -5056,17 +4983,17 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -5083,7 +5010,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -5094,8 +5021,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -5103,7 +5030,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -5120,24 +5047,24 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { - 640: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + 718: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var taro_components = "taro-components-mock"; var Index = function(_Component) { (0, inherits.Z)(Index, _Component); @@ -5183,7 +5110,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(640); + return __webpack_exec__(718); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -5246,7 +5173,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -5258,20 +5185,34 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(817); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -5283,7 +5224,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -5306,7 +5247,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -5335,7 +5276,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -5365,29 +5306,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -5531,7 +5450,7 @@ exports[`sass should set global sass content with data web 2`] = ` return _possibleConstructorReturn(this, result); }; } - var Component = {}; + const Component = {}; var react = "react-mock"; var App = function(_Component) { _inherits(App, _Component); @@ -5576,22 +5495,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 660: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 925: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -5609,29 +5513,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} - _c = Events; function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var _c; - $RefreshReg$(_c, "Events"); - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -5651,11 +5550,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -6069,33 +5968,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -6103,7 +6003,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -6128,11 +6028,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -6187,7 +6087,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(660); + return __webpack_exec__(925); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -6922,17 +6822,17 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -6949,7 +6849,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -6960,8 +6860,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -6969,7 +6869,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -6986,24 +6886,24 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { - 640: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + 718: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var taro_components = "taro-components-mock"; var Index = function(_Component) { (0, inherits.Z)(Index, _Component); @@ -7049,7 +6949,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(640); + return __webpack_exec__(718); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -7112,7 +7012,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -7124,20 +7024,34 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(817); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -7149,7 +7063,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -7172,7 +7086,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -7201,7 +7115,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -7231,29 +7145,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -7397,7 +7289,7 @@ exports[`sass should set global sass content with source & dir web 2`] = ` return _possibleConstructorReturn(this, result); }; } - var Component = {}; + const Component = {}; var react = "react-mock"; var App = function(_Component) { _inherits(App, _Component); @@ -7442,22 +7334,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 660: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 925: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -7475,29 +7352,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} - _c = Events; function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var _c; - $RefreshReg$(_c, "Events"); - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -7517,11 +7389,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -7935,33 +7807,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -7969,7 +7842,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -7994,11 +7867,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -8053,7 +7926,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(660); + return __webpack_exec__(925); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -8788,17 +8661,17 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -8815,7 +8688,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -8826,8 +8699,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -8835,7 +8708,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -8852,24 +8725,24 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { - 640: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + 718: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var taro_components = "taro-components-mock"; var Index = function(_Component) { (0, inherits.Z)(Index, _Component); @@ -8915,7 +8788,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(640); + return __webpack_exec__(718); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -8978,7 +8851,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -8990,20 +8863,34 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(817); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -9015,7 +8902,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -9038,7 +8925,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -9067,7 +8954,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -9097,29 +8984,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -9263,7 +9128,7 @@ exports[`sass should set global sass content with source web 2`] = ` return _possibleConstructorReturn(this, result); }; } - var Component = {}; + const Component = {}; var react = "react-mock"; var App = function(_Component) { _inherits(App, _Component); diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap index 93b56e8421b0..3f80978a3075 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap @@ -14,22 +14,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 323: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 923: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -47,29 +32,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} - _c = Events; function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var _c; - $RefreshReg$(_c, "Events"); - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -89,11 +69,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -507,39 +487,40 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); - var taro = __webpack_require__(946); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var taro_runtime = __webpack_require__(521); + var taro = __webpack_require__(39); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -598,7 +579,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(323); + return __webpack_exec__(923); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1333,17 +1314,17 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 809: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 829: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { G7: function() { return View; @@ -1352,20 +1333,20 @@ require("./runtime"); return Text; } }); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var __WEBPACK_DEFAULT_EXPORT__ = "taro-components-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -1382,12 +1363,12 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} }, - 946: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 39: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { J1: function() { return initPxTransform; @@ -1403,7 +1384,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -1435,8 +1416,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -1444,7 +1425,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1464,13 +1445,13 @@ require("../../sub-utils"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 239 ], { 297: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var taro_components = __webpack_require__(809); + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + var taro_components = __webpack_require__(829); var common = __webpack_require__(510); var Detail = function(_Component) { (0, inherits.Z)(Detail, _Component); @@ -1533,13 +1514,13 @@ require("../../sub-utils"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 227 ], { 696: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var taro_components = __webpack_require__(809); + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + var taro_components = __webpack_require__(829); var common = __webpack_require__(510); var My = function(_Component) { (0, inherits.Z)(My, _Component); @@ -1614,14 +1595,14 @@ require("../../sub-utils"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { 309: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var taro_components = __webpack_require__(809); - var taro = __webpack_require__(946); + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + var taro_components = __webpack_require__(829); + var taro = __webpack_require__(39); var Index = function(_Component) { (0, inherits.Z)(Index, _Component); var _super = (0, createSuper.Z)(Index); @@ -1726,7 +1707,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -1738,20 +1719,34 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(817); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -1763,7 +1758,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -1786,7 +1781,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -1815,7 +1810,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -1845,29 +1840,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -2011,7 +1984,7 @@ exports[`subpackages should process subpackages web 2`] = ` return _possibleConstructorReturn(this, result); }; } - var Component = {}; + const Component = {}; var react = "react-mock"; var App = function(_Component) { _inherits(App, _Component); diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap index 4d041817a421..a3c18f81c961 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap @@ -14,22 +14,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 323: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 923: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -47,26 +32,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -86,11 +69,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -504,39 +487,40 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); - var taro = __webpack_require__(946); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var taro_runtime = __webpack_require__(521); + var taro = __webpack_require__(39); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -609,7 +593,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(323); + return __webpack_exec__(923); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1506,17 +1490,17 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 809: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 829: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { G7: function() { return View; @@ -1531,20 +1515,20 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 return CoverImage; } }); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var __WEBPACK_DEFAULT_EXPORT__ = "taro-components-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -1561,12 +1545,12 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} }, - 946: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 39: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { J1: function() { return initPxTransform; @@ -1582,7 +1566,7 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -1614,8 +1598,8 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -1623,7 +1607,7 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1641,14 +1625,14 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 23 ], { 222: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var taro_components = __webpack_require__(809); - var taro = __webpack_require__(946); + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + var taro_components = __webpack_require__(829); + var taro = __webpack_require__(39); var Index = function(_Component) { (0, inherits.Z)(Index, _Component); var _super = (0, createSuper.Z)(Index); @@ -1710,13 +1694,13 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 32 ], { 314: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var taro_components = __webpack_require__(809); + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + var taro_components = __webpack_require__(829); var Index = function(_Component) { (0, inherits.Z)(Index, _Component); var _super = (0, createSuper.Z)(Index); @@ -1766,13 +1750,13 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { 309: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var taro_components = __webpack_require__(809); + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + var taro_components = __webpack_require__(829); var Index = function(_Component) { (0, inherits.Z)(Index, _Component); var _super = (0, createSuper.Z)(Index); @@ -1865,7 +1849,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -1877,20 +1861,34 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(817); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -1902,7 +1900,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -1925,7 +1923,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -1954,7 +1952,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -1984,29 +1982,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -2042,22 +2018,7 @@ require("./vendors"); require("./runtime"); (my["webpackJsonp"] = my["webpackJsonp"] || []).push([ [ 143 ], { - 553: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 140: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -2075,16 +2036,16 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var runtime_navigator = __webpack_require__(184)["navigator"]; - var needPromiseApis = new Set([ "addCardAuth", "getOpenUserInfo", "chooseAlipayContact", "chooseCity", "chooseContact", "choosePhoneContact", "datePicker", "getAddress", "getAuthCode", "getPhoneNumber", "getRunData", "getRunScene", "getServerTime", "getTitleColor", "rsa", "paySignCenter", "tradePay", "isCollected", "multiLevelSelect", "onLocatedComplete", "optionsSelect", "prompt", "regionPicker", "setLocatedCity", "showAuthGuide", "textRiskIdentification", "vibrate", "watchShake", "connectBLEDevice", "disconnectBLEDevice", "makeBluetoothPair", "writeBLECharacteristicValue", "readBLECharacteristicValue", "notifyBLECharacteristicValueChange", "getBLEDeviceServices", "getBLEDeviceCharacteristics", "openBluetoothAdapter", "closeBluetoothAdapter", "getBluetoothAdapterState", "startBluetoothDevicesDiscovery", "stopBluetoothDevicesDiscovery", "getBluetoothDevices", "getConnectedBluetoothDevices" ]); - var apiDiff = { + var runtime_navigator = __webpack_require__(521)["navigator"]; + const needPromiseApis = new Set([ "addCardAuth", "getOpenUserInfo", "chooseAlipayContact", "chooseCity", "chooseContact", "choosePhoneContact", "datePicker", "getAddress", "getAuthCode", "getPhoneNumber", "getRunData", "getRunScene", "getServerTime", "getTitleColor", "rsa", "paySignCenter", "tradePay", "isCollected", "multiLevelSelect", "onLocatedComplete", "optionsSelect", "prompt", "regionPicker", "setLocatedCity", "showAuthGuide", "textRiskIdentification", "vibrate", "watchShake", "connectBLEDevice", "disconnectBLEDevice", "makeBluetoothPair", "writeBLECharacteristicValue", "readBLECharacteristicValue", "notifyBLECharacteristicValueChange", "getBLEDeviceServices", "getBLEDeviceCharacteristics", "openBluetoothAdapter", "closeBluetoothAdapter", "getBluetoothAdapterState", "startBluetoothDevicesDiscovery", "stopBluetoothDevicesDiscovery", "getBluetoothDevices", "getConnectedBluetoothDevices" ]); + const apiDiff = { login: { alias: "getAuthCode", options: { @@ -2113,7 +2074,7 @@ require("./runtime"); } ], set: [ { key: "type", - value: function value(options) { + value(options) { if (options.type === "error") { return "fail"; } @@ -2158,7 +2119,7 @@ require("./runtime"); options: { set: [ { key: "current", - value: function value(options) { + value(options) { return options.urls.indexOf(options.current || options.urls[0]); } } ] @@ -2200,12 +2161,12 @@ require("./runtime"); options: { set: [ { key: "latitude", - value: function value(options) { + value(options) { return String(options.latitude); } }, { key: "longitude", - value: function value(options) { + value(options) { return String(options.longitude); } } ] @@ -2248,7 +2209,7 @@ require("./runtime"); } ], set: [ { key: "type", - value: function value(options) { + value(options) { return options.scanType && options.scanType[0].slice(0, -4) || "qr"; } } ] @@ -2275,12 +2236,12 @@ require("./runtime"); alias: "disconnectBLEDevice" } }; - var asyncResultApiDiff = { + const asyncResultApiDiff = { alert: { res: { set: [ { key: "confirm", - value: function value(res) { + value(res) { return res.success; } } ] @@ -2290,7 +2251,7 @@ require("./runtime"); res: { set: [ { key: "value", - value: function value(res) { + value(res) { return res.brightness; } } ], @@ -2301,7 +2262,7 @@ require("./runtime"); res: { set: [ { key: "result", - value: function value(res) { + value(res) { return res.code; } } ] @@ -2311,7 +2272,7 @@ require("./runtime"); res: { set: [ { key: "data", - value: function value(res) { + value(res) { return res.text; } } ] @@ -2321,7 +2282,7 @@ require("./runtime"); res: { set: [ { key: "tempFilePaths", - value: function value(res) { + value(res) { return res.apFilePaths; } } ] @@ -2331,7 +2292,7 @@ require("./runtime"); res: { set: [ { key: "tempFilePath", - value: function value(res) { + value(res) { return res.apFilePath; } } ] @@ -2341,7 +2302,7 @@ require("./runtime"); res: { set: [ { key: "code", - value: function value(res) { + value(res) { return res.authCode; } } ] @@ -2351,7 +2312,7 @@ require("./runtime"); res: { set: [ { key: "extConfig", - value: function value(res) { + value(res) { return res.data; } } ] @@ -2361,7 +2322,7 @@ require("./runtime"); res: { set: [ { key: "savedFilePath", - value: function value(res) { + value(res) { return res.apFilePath; } } ] @@ -2371,13 +2332,11 @@ require("./runtime"); res: { set: [ { key: "services", - value: function value(res) { - return res.services.map((function(item) { - return { - uuid: item.serviceId, - isPrimary: item.isPrimary - }; - })); + value(res) { + return res.services.map((item => ({ + uuid: item.serviceId, + isPrimary: item.isPrimary + }))); } } ] } @@ -2390,23 +2349,23 @@ require("./runtime"); url: options }; } - var defaultHeaders = { + const defaultHeaders = { "content-type": "application/json" }; options.headers = defaultHeaders; if (options.header) { - for (var k in options.header) { - var lowerK = k.toLocaleLowerCase(); + for (const k in options.header) { + const lowerK = k.toLocaleLowerCase(); options.headers[lowerK] = options.header[k]; } delete options.header; } - var originSuccess = options.success; - var originFail = options.fail; - var originComplete = options.complete; - var requestTask; - var p = new Promise((function(resolve, reject) { - options.success = function(res) { + const originSuccess = options.success; + const originFail = options.fail; + const originComplete = options.complete; + let requestTask; + const p = new Promise(((resolve, reject) => { + options.success = res => { res.statusCode = res.status; delete res.status; res.header = res.headers; @@ -2414,17 +2373,17 @@ require("./runtime"); originSuccess && originSuccess(res); resolve(res); }; - options.fail = function(res) { + options.fail = res => { originFail && originFail(res); reject(res); }; - options.complete = function(res) { + options.complete = res => { originComplete && originComplete(res); }; - var nativeRequest = my.canIUse("request") ? my.request : my.httpRequest; + const nativeRequest = my.canIUse("request") ? my.request : my.httpRequest; requestTask = nativeRequest(options); })); - p.abort = function(cb) { + p.abort = cb => { cb && cb(); if (requestTask) { requestTask.abort(); @@ -2435,12 +2394,12 @@ require("./runtime"); } function handleSyncApis(key, global, args) { if (key === "getStorageSync") { - var arg1 = args[0]; + const arg1 = args[0]; if (arg1 != null) { - var res = global[key]({ + const res = global[key]({ key: arg1 }); - var data = null; + let data = null; if (res.hasOwnProperty("data")) { data = res.data; } else if (res.hasOwnProperty("APDataStorage")) { @@ -2451,27 +2410,27 @@ require("./runtime"); return console.error("getStorageSync \\u4f20\\u5165\\u53c2\\u6570\\u9519\\u8bef"); } if (key === "setStorageSync") { - var _arg = args[0]; - var arg2 = args[1]; - if (_arg != null) { + const arg1 = args[0]; + const arg2 = args[1]; + if (arg1 != null) { return global[key]({ - key: _arg, + key: arg1, data: arg2 }); } return console.error("setStorageSync \\u4f20\\u5165\\u53c2\\u6570\\u9519\\u8bef"); } if (key === "removeStorageSync") { - var _arg2 = args[0]; - if (_arg2 != null) { + const arg1 = args[0]; + if (arg1 != null) { return global[key]({ - key: _arg2 + key: arg1 }); } return console.error("removeStorageSync \\u4f20\\u5165\\u53c2\\u6570\\u9519\\u8bef"); } if (key === "createSelectorQuery") { - var query = global[key](); + const query = global[key](); query.in = function() { return query; }; @@ -2480,7 +2439,7 @@ require("./runtime"); return global[key].apply(global, args); } function transformMeta(api, options) { - var apiAlias = api; + let apiAlias = api; if (api === "showModal") { options.cancelButtonText = options.cancelText || "\\u53d6\\u6d88"; options.confirmButtonText = options.confirmText || "\\u786e\\u5b9a"; @@ -2490,22 +2449,22 @@ require("./runtime"); apiAlias = "alert"; } } else { - Object.keys(apiDiff).forEach((function(item) { - var apiItem = apiDiff[item]; + Object.keys(apiDiff).forEach((item => { + const apiItem = apiDiff[item]; if (api === item) { if (apiItem.alias) { apiAlias = apiItem.alias; } if (apiItem.options) { - var change = apiItem.options.change; - var set = apiItem.options.set; + const change = apiItem.options.change; + const set = apiItem.options.set; if (change) { - change.forEach((function(changeItem) { + change.forEach((changeItem => { options[changeItem.new] = options[changeItem.old]; })); } if (set) { - set.forEach((function(setItem) { + set.forEach((setItem => { options[setItem.key] = typeof setItem.value === "function" ? setItem.value(options) : setItem.value; })); } @@ -2519,9 +2478,9 @@ require("./runtime"); }; } function modifyApis(apis) { - Object.keys(apiDiff).map((function(key) { + Object.keys(apiDiff).map((key => { apis.add(key); - var platformKey = apiDiff[key].alias; + const platformKey = apiDiff[key].alias; platformKey && apis.delete(platformKey); })); apis.add("showModal"); @@ -2549,23 +2508,23 @@ require("./runtime"); my.closeSocket(); }; } - Object.keys(asyncResultApiDiff).forEach((function(apiKey) { - var apiItem = asyncResultApiDiff[apiKey]; + Object.keys(asyncResultApiDiff).forEach((apiKey => { + const apiItem = asyncResultApiDiff[apiKey]; if (key !== apiKey) { return; } if (!apiItem.res) { return; } - var set = apiItem.res.set; - var remove = apiItem.res.remove; + const set = apiItem.res.set; + const remove = apiItem.res.remove; if (set) { - set.forEach((function(setItem) { + set.forEach((setItem => { res[setItem.key] = typeof setItem.value === "function" ? setItem.value(res) : setItem.value; })); } if (remove) { - remove.forEach((function(removeItem) { + remove.forEach((removeItem => { delete res[removeItem]; })); } @@ -2581,7 +2540,7 @@ require("./runtime"); request: request }); } - var components = { + const components = { View: { "disable-scroll": "false", hidden: "false", @@ -2782,45 +2741,46 @@ require("./runtime"); bindScroll: "" } }; - var BUBBLE_EVENTS = new Set([ "touchStart", "touchMove", "touchEnd", "touchCancel", "tap", "longTap" ]); - var hostConfig = { + const BUBBLE_EVENTS = new Set([ "touchStart", "touchMove", "touchEnd", "touchCancel", "tap", "longTap" ]); + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { + getMiniLifecycle(config) { config.component[0] = "didMount"; config.component[1] = "didUnmount"; return config; }, - getEventCenter: function getEventCenter(Events) { + getEventCenter(Events) { if (!my.taroEventCenter) { my.taroEventCenter = new Events; } return my.taroEventCenter; }, - modifyTaroEvent: function modifyTaroEvent(event, node) { + modifyTaroEvent(event, node) { if (node.tagName === "SWIPER" && event.type === "animationend") { event.type = "animationfinish"; } }, - isBubbleEvents: function isBubbleEvents(eventName) { + isBubbleEvents(eventName) { return BUBBLE_EVENTS.has(eventName); }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var page = getCurrentPages()[0]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } }, - modifyRecursiveComponentConfig: function modifyRecursiveComponentConfig(componentConfig, _ref2) { - var isCustomWrapper = _ref2.isCustomWrapper; + modifyRecursiveComponentConfig(componentConfig, {isCustomWrapper: isCustomWrapper}) { return isCustomWrapper ? Object.assign(Object.assign({}, componentConfig), { - deriveDataFromProps: function deriveDataFromProps(nextProps) { + deriveDataFromProps(nextProps) { if (this.data.i !== undefined && this.props.i !== nextProps.i) { this.setData({ i: nextProps.i @@ -2830,17 +2790,17 @@ require("./runtime"); }) : componentConfig; } }; - var _navigator = runtime_navigator, userAgent = _navigator.userAgent; + const {userAgent: userAgent} = runtime_navigator; Object.defineProperty(runtime_navigator, "userAgent", { configurable: true, enumerable: true, - get: function get() { + get() { return userAgent || runtime_navigator.swuserAgent || ""; } }); mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -2848,7 +2808,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -2873,11 +2833,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -2947,7 +2907,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(553); + return __webpack_exec__(140); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -3080,17 +3040,17 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 "use strict"; (my["webpackJsonp"] = my["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 809: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 829: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { G7: function() { return View; @@ -3099,20 +3059,20 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 return Text; } }); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var __WEBPACK_DEFAULT_EXPORT__ = "taro-components-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -3129,7 +3089,7 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -3145,13 +3105,13 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 (my["webpackJsonp"] = my["webpackJsonp"] || []).push([ [ 567 ], { 996: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var taro_components = __webpack_require__(809); + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + var taro_components = __webpack_require__(829); var Index = function(_Component) { (0, inherits.Z)(Index, _Component); var _super = (0, createSuper.Z)(Index); @@ -3201,13 +3161,13 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 (my["webpackJsonp"] = my["webpackJsonp"] || []).push([ [ 539 ], { 309: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var taro_components = __webpack_require__(809); + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + var taro_components = __webpack_require__(829); var Index = function(_Component) { (0, inherits.Z)(Index, _Component); var _super = (0, createSuper.Z)(Index); @@ -3275,7 +3235,7 @@ export default { "use strict"; (my["webpackJsonp"] = my["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -3287,20 +3247,34 @@ export default { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(817); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -3312,7 +3286,7 @@ export default { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -3335,7 +3309,7 @@ export default { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -3364,7 +3338,7 @@ export default { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -3394,29 +3368,7 @@ export default { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -3449,22 +3401,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 660: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 925: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -3482,26 +3419,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -3521,11 +3456,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -3939,33 +3874,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -3973,7 +3909,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -3998,11 +3934,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -4072,7 +4008,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(660); + return __webpack_exec__(925); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -4841,17 +4777,17 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 809: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 829: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { G7: function() { return View; @@ -4860,20 +4796,20 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 return Text; } }); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var __WEBPACK_DEFAULT_EXPORT__ = "taro-components-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -4890,7 +4826,7 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -4901,8 +4837,8 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -4910,7 +4846,7 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -4928,13 +4864,13 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 567 ], { 996: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var taro_components = __webpack_require__(809); + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + var taro_components = __webpack_require__(829); var Index = function(_Component) { (0, inherits.Z)(Index, _Component); var _super = (0, createSuper.Z)(Index); @@ -4984,13 +4920,13 @@ h�hځ��r������Nb2��х��K~��>;;ːL�1 (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { 309: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var taro_components = __webpack_require__(809); + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + var taro_components = __webpack_require__(829); var Index = function(_Component) { (0, inherits.Z)(Index, _Component); var _super = (0, createSuper.Z)(Index); @@ -5083,7 +5019,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -5095,20 +5031,34 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(817); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -5120,7 +5070,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -5143,7 +5093,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -5172,7 +5122,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -5202,29 +5152,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/ts.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/ts.spec.ts.snap index 50b3c82fad5d..01187ee4b781 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/ts.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/ts.spec.ts.snap @@ -14,22 +14,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 489: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var toPropertyKey = __webpack_require__(25); - function _defineProperty(obj, key, value) { - key = (0, toPropertyKey.Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } + 647: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -47,29 +32,24 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} - _c = Events; function ensure() {} function noop() {} function warn() {} var taro_shared = "taro-shared-mock"; - var _c; - $RefreshReg$(_c, "Events"); - var needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); + const needPromiseApis = new Set([ "addFileToFavorites", "addVideoToFavorites", "authPrivateMessage", "checkIsAddedToMyMiniProgram", "chooseContact", "cropImage", "disableAlertBeforeUnload", "editImage", "enableAlertBeforeUnload", "getBackgroundFetchData", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getFuzzyLocation", "getGroupEnterInfo", "getLocalIPAddress", "getShareInfo", "getUserProfile", "getWeRunData", "join1v1Chat", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsUserProfile", "openCustomerServiceChat", "openVideoEditor", "saveFileToDisk", "scanItem", "setEnable1v1Chat", "setWindowSize", "sendBizRedPacket", "startFacialRecognitionVerify" ]); function initNativeApi(taro) { processApis(taro, wx, { needPromiseApis: needPromiseApis, - modifyApis: function modifyApis(apis) { + modifyApis(apis) { apis.delete("lanDebug"); }, - transformMeta: function transformMeta(api, options) { + transformMeta(api, options) { var _a; if (api === "showShareMenu") { - options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((function(item) { - return item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item; - })); + options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item => item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item)); } return { key: api, @@ -89,11 +69,11 @@ require("./runtime"); return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview"; }; } - var _true = "true"; - var _false = "false"; - var _empty = ""; - var _zero = "0"; - var components = { + const _true = "true"; + const _false = "false"; + const _empty = ""; + const _zero = "0"; + const components = { Progress: { "border-radius": _zero, "font-size": "16", @@ -507,33 +487,34 @@ require("./runtime"); }, Snapshot: {} }; - var hostConfig = { + const hostConfig = { initNativeApi: initNativeApi, - getMiniLifecycle: function getMiniLifecycle(config) { - var methods = config.page[5]; + getMiniLifecycle(config) { + const methods = config.page[5]; if (methods.indexOf("onSaveExitState") === -1) { methods.push("onSaveExitState"); } return config; }, - transferHydrateData: function transferHydrateData(data, element, componentsAlias) { + transferHydrateData(data, element, componentsAlias) { var _a; if (element.isTransferElement) { - var _ref; - var pages = getCurrentPages(); - var page = pages[pages.length - 1]; + const page = getCurrentPages()[0]; data["nn"] = element.dataName; - page.setData(_defineProperty({}, toCamelCase(data.nn), data)); - return _ref = { - sid: element.sid - }, _defineProperty(_ref, "v", ""), _defineProperty(_ref, "nn", ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"), - _ref; + page.setData({ + [toCamelCase(data.nn)]: data + }); + return { + sid: element.sid, + ["v"]: "", + ["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8" + }; } } }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); function setReconciler() {} function connectReactPage() {} function createReactApp() {} @@ -541,7 +522,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -566,11 +547,11 @@ require("./runtime"); function useScope() {} function initPxTransform() {} var taro = "taro"; - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); var app_App = function(_Component) { (0, inherits.Z)(App, _Component); var _super = (0, createSuper.Z)(App); @@ -625,7 +606,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(489); + return __webpack_exec__(647); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1360,17 +1341,17 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -1387,7 +1368,7 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} @@ -1398,8 +1379,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 227: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -1407,7 +1388,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(227); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1424,24 +1405,24 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { - 83: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var taro_runtime = __webpack_require__(184); - var classCallCheck = __webpack_require__(113); - var createClass = __webpack_require__(599); - var inherits = __webpack_require__(730); - var createSuper = __webpack_require__(605); - var react = __webpack_require__(757); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + 392: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var taro_runtime = __webpack_require__(521); + var classCallCheck = __webpack_require__(517); + var createClass = __webpack_require__(872); + var inherits = __webpack_require__(557); + var createSuper = __webpack_require__(361); + var react = __webpack_require__(525); + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var taro_components = "taro-components-mock"; var Index = function(_Component) { (0, inherits.Z)(Index, _Component); @@ -1490,7 +1471,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(83); + return __webpack_exec__(392); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1553,7 +1534,7 @@ module.exports = { "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 216 ], { - 113: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 517: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _classCallCheck; @@ -1565,20 +1546,34 @@ module.exports = { } } }, - 599: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 872: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createClass; } }); - var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); + var esm_typeof = __webpack_require__(817); + function _toPrimitive(input, hint) { + if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if ((0, esm_typeof.Z)(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } + function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); + } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, (0, _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key), descriptor); + Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { @@ -1590,7 +1585,7 @@ module.exports = { return Constructor; } }, - 605: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 361: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _createSuper; @@ -1613,7 +1608,7 @@ module.exports = { return false; } } - var esm_typeof = __webpack_require__(671); + var esm_typeof = __webpack_require__(817); function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -1642,7 +1637,7 @@ module.exports = { }; } }, - 730: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 557: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _inherits; @@ -1672,29 +1667,7 @@ module.exports = { if (superClass) _setPrototypeOf(subClass, superClass); } }, - 25: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - __webpack_require__.d(__webpack_exports__, { - Z: function() { - return _toPropertyKey; - } - }); - var esm_typeof = __webpack_require__(671); - function _toPrimitive(input, hint) { - if ((0, esm_typeof.Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0, esm_typeof.Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return (0, esm_typeof.Z)(key) === "symbol" ? key : String(key); - } - }, - 671: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + 817: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { Z: function() { return _typeof; @@ -1838,7 +1811,7 @@ exports[`typescript should build project with ts web 2`] = ` return _possibleConstructorReturn(this, result); }; } - var Component = {}; + const Component = {}; var react = "react-mock"; var App = function(_Component) { _inherits(App, _Component); diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap index 13e69c278995..c603ffc7c858 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap @@ -14,7 +14,7 @@ require("./vendors"); require("./runtime"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 143 ], { - 78: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + 923: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { function mergeReconciler() {} function mergeInternalComponents() {} function isArray() {} @@ -32,8 +32,8 @@ require("./runtime"); function toDashed() {} function processApis() {} function singleQuote() {} - var EMPTY_OBJ = {}; - var hooks = {}; + const EMPTY_OBJ = {}; + const hooks = {}; function Events() {} function ensure() {} function noop() {} @@ -515,13 +515,13 @@ require("./runtime"); }; mergeReconciler(hostConfig); mergeInternalComponents(components); - var taro_runtime = __webpack_require__(184); - var taro = __webpack_require__(946); + var taro_runtime = __webpack_require__(521); + var taro = __webpack_require__(39); var classCallCheck = __webpack_require__(517); var createClass = __webpack_require__(872); var inherits = __webpack_require__(557); var createSuper = __webpack_require__(361); - var react = __webpack_require__(757); + var react = __webpack_require__(525); var app_App = function(_React$Component) { (0, inherits.Z)(App, _React$Component); var _super = (0, createSuper.Z)(App); @@ -579,7 +579,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(78); + return __webpack_exec__(923); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1442,17 +1442,17 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 592 ], { - 757: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 525: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { Component: function() { return Component; } }); - var Component = {}; + const Component = {}; __webpack_exports__["default"] = "react-mock"; }, - 184: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 521: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { createReactApp: function() { @@ -1469,12 +1469,12 @@ require("./runtime"); } }); __webpack_exports__["default"] = "taro-runtime-mock"; - var window = {}; + const window = {}; function createReactApp() {} function createVueApp() {} function createVue3App() {} }, - 946: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + 39: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { __webpack_require__.d(__webpack_exports__, { J1: function() { return initPxTransform; @@ -1490,7 +1490,7 @@ require("./runtime"); function connectVuePage() {} function createVueApp() {} function createVue3App() {} - var setGlobalDataPlugin = {}; + const setGlobalDataPlugin = {}; function useDidHide() {} function useDidShow() {} function useError() {} @@ -1522,8 +1522,8 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 367 ], { - 823: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184); + 27: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(521); Component((0, _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)()); } }, function(__webpack_require__) { @@ -1531,7 +1531,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 592 ], (function() { - return __webpack_exec__(823); + return __webpack_exec__(27); })); var __webpack_exports__ = __webpack_require__.O(); } ]); @@ -1600,7 +1600,7 @@ require("./runtime"); "use strict"; (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([ [ 539 ], { - 900: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + 609: function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { var taro_components_namespaceObject = {}; __webpack_require__.r(taro_components_namespaceObject); __webpack_require__.d(taro_components_namespaceObject, { @@ -1608,24 +1608,24 @@ require("./runtime"); return View; } }); - var taro_runtime = __webpack_require__(184); + var taro_runtime = __webpack_require__(521); var classCallCheck = __webpack_require__(517); var createClass = __webpack_require__(872); var inherits = __webpack_require__(557); var createSuper = __webpack_require__(361); - var taro = __webpack_require__(946); - var react = __webpack_require__(757); - var Canvas = {}; - var CoverView = {}; - var CoverImage = {}; - var Input = {}; - var Picker = {}; - var Swiper = {}; - var SwiperItem = {}; - var Text = {}; - var Textarea = {}; - var Video = {}; - var View = {}; + var taro = __webpack_require__(39); + var react = __webpack_require__(525); + const Canvas = {}; + const CoverView = {}; + const CoverImage = {}; + const Input = {}; + const Picker = {}; + const Swiper = {}; + const SwiperItem = {}; + const Text = {}; + const Textarea = {}; + const Video = {}; + const View = {}; var taro_components = "taro-components-mock"; var Index = function(_React$Component) { (0, inherits.Z)(Index, _React$Component); @@ -1702,7 +1702,7 @@ require("./runtime"); return __webpack_require__(__webpack_require__.s = moduleId); }; __webpack_require__.O(0, [ 216, 592 ], (function() { - return __webpack_exec__(900); + return __webpack_exec__(609); })); var __webpack_exports__ = __webpack_require__.O(); } ]); diff --git a/packages/taro-webpack5-runner/src/index.h5.ts b/packages/taro-webpack5-runner/src/index.h5.ts index 0d4f90275b70..62f394291fa9 100644 --- a/packages/taro-webpack5-runner/src/index.h5.ts +++ b/packages/taro-webpack5-runner/src/index.h5.ts @@ -261,14 +261,16 @@ async function getDevServerOptions (appPath: string, config: H5BuildConfig): Pro const pathname = chunkFilename.replace('[name]', path.basename(context.parsedUrl.pathname).replace(/\.[^.]*.hot-update\.(js|json)/, '')) return (['', 'auto'].includes(publicPath) ? '' : publicPath) + pathname } - }, { - from: /./, - to: publicPath }] }, proxy }, - customDevServerOption + customDevServerOption, + { + historyApiFallback: { + rewrites: [{ from: /./, to: publicPath }] + } + } ) const originalPort = Number(devServerOptions.port) diff --git a/packages/taro-webpack5-runner/src/plugins/MiniPlugin.ts b/packages/taro-webpack5-runner/src/plugins/MiniPlugin.ts index 5d051afdf66f..fd367d1d5a00 100644 --- a/packages/taro-webpack5-runner/src/plugins/MiniPlugin.ts +++ b/packages/taro-webpack5-runner/src/plugins/MiniPlugin.ts @@ -449,7 +449,7 @@ export default class TaroMiniPlugin { return independentPackage } }) - } + } getChangedFiles (compiler: Compiler) { return compiler.modifiedFiles @@ -494,14 +494,14 @@ export default class TaroMiniPlugin { Object.keys(pluginConfig).forEach(pluginKey => { if (pluginKey === 'pages') { Object.keys(pluginConfig[pluginKey]).forEach(pageKey => { - if (`plugin/${pluginConfig[pluginKey][pageKey]}` === key) { + if (`${pluginConfig[pluginKey][pageKey]}` === key) { isPage = true } }) } if (pluginKey === 'publicComponents') { Object.keys(pluginConfig[pluginKey]).forEach(pageKey => { - if (`plugin/${pluginConfig[pluginKey][pageKey]}` === key) { + if (`${pluginConfig[pluginKey][pageKey]}` === key) { isComponent = true } }) @@ -529,9 +529,9 @@ export default class TaroMiniPlugin { } }) if (!template.isSupportRecursive) { - this.addEntry(path.resolve(__dirname, '..', 'template/comp'), this.getIsBuildPluginPath('comp', true), META_TYPE.STATIC) + this.addEntry(path.resolve(__dirname, '..', 'template/comp'), 'comp', META_TYPE.STATIC) } - this.addEntry(path.resolve(__dirname, '..', 'template/custom-wrapper'), this.getIsBuildPluginPath('custom-wrapper', true), META_TYPE.STATIC) + this.addEntry(path.resolve(__dirname, '..', 'template/custom-wrapper'), 'custom-wrapper', META_TYPE.STATIC) normalFiles.forEach(item => { this.addEntry(item.path, item.name, META_TYPE.NORMAL, { library: { @@ -850,7 +850,7 @@ export default class TaroMiniPlugin { // 收集独立分包的组件,用于后续单独编译 independentPackage?.components?.push(componentPath) - + this.components.add(componentObj) this.compileFile(componentObj, independentPackage) } @@ -1090,8 +1090,8 @@ export default class TaroMiniPlugin { /** 生成小程序独立分包的相关文件 */ async generateIndependentMiniFiles (compilation: Compilation, compiler: Compiler) { - const { template, isBuildPlugin, sourceDir } = this.options - const baseTemplateName = this.getIsBuildPluginPath('base', isBuildPlugin) + const { template, sourceDir } = this.options + const baseTemplateName = 'base' const isUsingCustomWrapper = componentConfig.thirdPartyComponents.has('custom-wrapper') // @ts-ignore const childName = compilation.__name @@ -1119,7 +1119,7 @@ export default class TaroMiniPlugin { } }) this.generateTemplateFile(compilation, compiler, `${name}/${customWrapperName}`, template.buildCustomComponentTemplate, this.options.fileType.templ) - this.generateXSFile(compilation, compiler, `${name}/utils`, isBuildPlugin) + this.generateXSFile(compilation, compiler, `${name}/utils`) }) this.pages.forEach(page => { @@ -1144,8 +1144,8 @@ export default class TaroMiniPlugin { } if (config) { - const importBaseCompPath = promoteRelativePath(path.relative(page.path, path.join(sourceDir, independentName, this.getTargetFilePath(this.getIsBuildPluginPath(baseCompName, isBuildPlugin), '')))) - const importCustomWrapperPath = promoteRelativePath(path.relative(page.path, path.join(sourceDir, independentName, this.getTargetFilePath(this.getIsBuildPluginPath(customWrapperName, isBuildPlugin), '')))) + const importBaseCompPath = promoteRelativePath(path.relative(page.path, path.join(sourceDir, independentName, this.getTargetFilePath(baseCompName, '')))) + const importCustomWrapperPath = promoteRelativePath(path.relative(page.path, path.join(sourceDir, independentName, this.getTargetFilePath(customWrapperName, '')))) config.content.usingComponents = { ...config.content.usingComponents } @@ -1166,7 +1166,7 @@ export default class TaroMiniPlugin { const { RawSource } = compiler.webpack.sources const { template, combination, isBuildPlugin, sourceDir } = this.options const { modifyMiniConfigs } = combination.config - const baseTemplateName = this.getIsBuildPluginPath('base', isBuildPlugin) + const baseTemplateName = 'base' const isUsingCustomWrapper = componentConfig.thirdPartyComponents.has('custom-wrapper') /** @@ -1191,7 +1191,7 @@ export default class TaroMiniPlugin { } if (!template.isSupportRecursive) { // 如微信、QQ 不支持递归模版的小程序,需要使用自定义组件协助递归 - this.generateTemplateFile(compilation, compiler, this.getIsBuildPluginPath(baseCompName, isBuildPlugin), template.buildBaseComponentTemplate, this.options.fileType.templ) + this.generateTemplateFile(compilation, compiler, baseCompName, template.buildBaseComponentTemplate, this.options.fileType.templ) const baseCompConfig = { component: true, usingComponents: { @@ -1200,7 +1200,7 @@ export default class TaroMiniPlugin { } if (isUsingCustomWrapper) { baseCompConfig.usingComponents[customWrapperName] = `./${customWrapperName}` - this.generateConfigFile(compilation, compiler, this.getIsBuildPluginPath(customWrapperName, isBuildPlugin), { + this.generateConfigFile(compilation, compiler, customWrapperName, { component: true, usingComponents: { [baseCompName]: `./${baseCompName}`, @@ -1208,10 +1208,10 @@ export default class TaroMiniPlugin { } }) } - this.generateConfigFile(compilation, compiler, this.getIsBuildPluginPath(baseCompName, isBuildPlugin), baseCompConfig) + this.generateConfigFile(compilation, compiler, baseCompName, baseCompConfig) } else { if (isUsingCustomWrapper) { - this.generateConfigFile(compilation, compiler, this.getIsBuildPluginPath(customWrapperName, isBuildPlugin), { + this.generateConfigFile(compilation, compiler, customWrapperName, { component: true, usingComponents: { [customWrapperName]: `./${customWrapperName}` @@ -1220,11 +1220,10 @@ export default class TaroMiniPlugin { } } this.generateTemplateFile(compilation, compiler, baseTemplateName, template.buildTemplate, componentConfig) - isUsingCustomWrapper && this.generateTemplateFile(compilation, compiler, this.getIsBuildPluginPath(customWrapperName, isBuildPlugin), template.buildCustomComponentTemplate, this.options.fileType.templ) - this.generateXSFile(compilation, compiler, 'utils', isBuildPlugin) - + isUsingCustomWrapper && this.generateTemplateFile(compilation, compiler, customWrapperName, template.buildCustomComponentTemplate, this.options.fileType.templ) + this.generateXSFile(compilation, compiler, 'utils') this.components.forEach(component => { - const importBaseTemplatePath = promoteRelativePath(path.relative(component.path, path.join(sourceDir, this.getTemplatePath(baseTemplateName)))) + const importBaseTemplatePath = promoteRelativePath(path.relative(component.path, path.join(sourceDir, isBuildPlugin ? 'plugin' : '', this.getTemplatePath(baseTemplateName)))) const config = this.filesConfig[this.getConfigFilePath(component.name)] if (config) { this.generateConfigFile(compilation, compiler, component.path, config.content) @@ -1234,7 +1233,7 @@ export default class TaroMiniPlugin { } }) this.pages.forEach(page => { - const importBaseTemplatePath = promoteRelativePath(path.relative(page.path, path.join(sourceDir, this.getTemplatePath(baseTemplateName)))) + const importBaseTemplatePath = promoteRelativePath(path.relative(page.path, path.join(sourceDir, isBuildPlugin ? 'plugin' : '', this.getTemplatePath(baseTemplateName)))) const config = this.filesConfig[this.getConfigFilePath(page.name)] // pages 里面会混合独立分包的,在这里需要过滤一下,避免重复生成 assets const isIndependent = !!this.getIndependentPackage(page.path) @@ -1247,8 +1246,8 @@ export default class TaroMiniPlugin { } if (config) { - const importBaseCompPath = promoteRelativePath(path.relative(page.path, path.join(sourceDir, this.getTargetFilePath(this.getIsBuildPluginPath(baseCompName, isBuildPlugin), '')))) - const importCustomWrapperPath = promoteRelativePath(path.relative(page.path, path.join(sourceDir, this.getTargetFilePath(this.getIsBuildPluginPath(customWrapperName, isBuildPlugin), '')))) + const importBaseCompPath = promoteRelativePath(path.relative(page.path, path.join(sourceDir, this.getTargetFilePath(baseCompName, '')))) + const importCustomWrapperPath = promoteRelativePath(path.relative(page.path, path.join(sourceDir, this.getTargetFilePath(customWrapperName, '')))) config.content.usingComponents = { ...config.content.usingComponents } @@ -1272,8 +1271,7 @@ export default class TaroMiniPlugin { if (fs.existsSync(pluginJSONPath)) { const pluginJSON = fs.readJSONSync(pluginJSONPath) this.modifyPluginJSON(pluginJSON) - const relativePath = pluginJSONPath.replace(sourceDir, '').replace(/\\/g, '/') - compilation.assets[relativePath] = new RawSource(JSON.stringify(pluginJSON)) + compilation.assets['plugin.json'] = new RawSource(JSON.stringify(pluginJSON)) } } } @@ -1328,7 +1326,7 @@ export default class TaroMiniPlugin { compilation.assets[fileTemplName] = new RawSource(templStr) } - generateXSFile (compilation: Compilation, compiler: Compiler, xsPath, isBuildPlugin: boolean) { + generateXSFile (compilation: Compilation, compiler: Compiler, xsPath) { const { RawSource } = compiler.webpack.sources const ext = this.options.fileType.xs const isSupportXS = this.options.template.supportXS @@ -1339,7 +1337,7 @@ export default class TaroMiniPlugin { const xs = this.options.template.buildXScript() const fileXsName = this.getTargetFilePath(xsPath, ext) - const filePath = this.getIsBuildPluginPath(fileXsName, isBuildPlugin) + const filePath = fileXsName compilation.assets[filePath] = new RawSource(xs) } @@ -1350,15 +1348,14 @@ export default class TaroMiniPlugin { componentName = componentName.replace(/node_modules/gi, 'npm') } else { componentName = componentPath.replace(this.options.sourceDir, '').replace(/\\/g, '/').replace(path.extname(componentPath), '') + if (this.options.isBuildPlugin) { + componentName = componentName.replace(/plugin\//, '') + } } return componentName.replace(/^(\/|\\)/, '') } - getIsBuildPluginPath (filePath, isBuildPlugin) { - return isBuildPlugin ? `plugin/${filePath}` : filePath - } - /** * 根据 app、页面、组件的路径获取对应的 config 配置文件的路径 * @returns config 的路径 diff --git a/packages/taro-webpack5-runner/src/webpack/BuildNativePlugin.ts b/packages/taro-webpack5-runner/src/webpack/BuildNativePlugin.ts index f98279369eca..7f436cfc01ff 100644 --- a/packages/taro-webpack5-runner/src/webpack/BuildNativePlugin.ts +++ b/packages/taro-webpack5-runner/src/webpack/BuildNativePlugin.ts @@ -11,12 +11,10 @@ export class BuildNativePlugin { entry: EntryObject pluginConfig: Record pluginMainEntry: string - chunkPrefix: string - commonChunks = ['plugin/runtime', 'plugin/vendors', 'plugin/taro', 'plugin/common'] + commonChunks = ['runtime', 'vendors', 'taro', 'common'] constructor (combination: MiniCombination) { this.combination = combination - this.chunkPrefix = 'plugin/' this.init() } @@ -41,12 +39,12 @@ export class BuildNativePlugin { if (key === 'main') { const filePath = path.join(pluginDir, pluginConfig[key]) const fileName = path.basename(filePath).replace(path.extname(filePath), '') - pluginMainEntry = `plugin/${fileName}` + pluginMainEntry = `${fileName}` entryObj[pluginMainEntry] = [resolveMainFilePath(filePath.replace(path.extname(filePath), ''))] } else if (key === 'publicComponents' || key === 'pages') { Object.keys(pluginConfig[key]).forEach(subKey => { const filePath = path.join(pluginDir, pluginConfig[key][subKey]) - entryObj[`plugin/${pluginConfig[key][subKey]}`] = [resolveMainFilePath(filePath.replace(path.extname(filePath), ''))] + entryObj[`${pluginConfig[key][subKey]}`] = [resolveMainFilePath(filePath.replace(path.extname(filePath), ''))] }) } }) @@ -55,12 +53,4 @@ export class BuildNativePlugin { this.pluginConfig = pluginConfig this.pluginMainEntry = pluginMainEntry } - - getCopyPattern () { - const { sourceRoot, outputRoot } = this.combination - return { - from: path.join(sourceRoot, 'plugin', 'doc'), - to: path.join(outputRoot, 'doc') - } - } } diff --git a/packages/taro-webpack5-runner/src/webpack/H5WebpackModule.ts b/packages/taro-webpack5-runner/src/webpack/H5WebpackModule.ts index 0b7d47af24e5..80f9035a2202 100644 --- a/packages/taro-webpack5-runner/src/webpack/H5WebpackModule.ts +++ b/packages/taro-webpack5-runner/src/webpack/H5WebpackModule.ts @@ -260,30 +260,17 @@ export class H5WebpackModule { const { compile = {} } = this.combination.config const rule: IRule = WebpackModule.getScriptRule() - if (compile.exclude && compile.exclude.length) { - rule.exclude = [ - ...compile.exclude, - filename => /css-loader/.test(filename) || (/node_modules/.test(filename) && !(/taro/.test(filename))) - ] - } else if (compile.include && compile.include.length) { - rule.include = [ - ...compile.include, - sourceDir, - filename => /taro/.test(filename) - ] - } else { - /** - * 要优先处理 css-loader 问题 - * - * https://github.com/webpack-contrib/mini-css-extract-plugin/issues/471#issuecomment-750266195 - * - * 若包含 @tarojs/components,则跳过 babel-loader 处理 - * 除了包含 taro 和 inversify 的第三方依赖均不经过 babel-loader 处理 - */ - rule.exclude = [filename => - /css-loader/.test(filename) - || /@tarojs[\\/]components/.test(filename) - || (/node_modules/.test(filename) && !(/taro/.test(filename) || /inversify/.test(filename)))] + rule.include = [ + sourceDir, + filename => /(?<=node_modules[\\/]).*taro/.test(filename) + ] + if (Array.isArray(compile.include)) { + rule.include.unshift(...compile.include) + } + + rule.exclude = [filename => /@tarojs[\\/]components/.test(filename)] + if (Array.isArray(compile.exclude)) { + rule.exclude.unshift(...compile.exclude) } return rule diff --git a/packages/taro-webpack5-runner/src/webpack/MiniCombination.ts b/packages/taro-webpack5-runner/src/webpack/MiniCombination.ts index ec0322274a83..83ac4c88c075 100644 --- a/packages/taro-webpack5-runner/src/webpack/MiniCombination.ts +++ b/packages/taro-webpack5-runner/src/webpack/MiniCombination.ts @@ -1,4 +1,5 @@ import { taroJsComponents } from '@tarojs/helper' +import path from 'path' import { componentConfig } from '../utils/component' import { BuildNativePlugin } from './BuildNativePlugin' @@ -47,6 +48,9 @@ export class MiniCombination extends Combination { // 编译目标 - 小程序原生插件 this.isBuildPlugin = true this.buildNativePlugin = BuildNativePlugin.getPlugin(this) + chain.merge({ + context: path.join(process.cwd(), this.sourceRoot, 'plugin') + }) } if (optimizeMainPackage) { @@ -107,12 +111,10 @@ export class MiniCombination extends Combination { } getOptimization () { - const chunkPrefix = this.isBuildPlugin ? this.buildNativePlugin.chunkPrefix : '' - return { usedExports: true, runtimeChunk: { - name: `${chunkPrefix}runtime` + name: 'runtime' }, splitChunks: { chunks: 'all', @@ -122,18 +124,18 @@ export class MiniCombination extends Combination { default: false, defaultVendors: false, common: { - name: `${chunkPrefix}common`, + name: 'common', minChunks: 2, priority: 1 }, vendors: { - name: `${chunkPrefix}vendors`, + name: 'vendors', minChunks: 2, test: module => /[\\/]node_modules[\\/]/.test(module.resource), priority: 10 }, taro: { - name: `${chunkPrefix}taro`, + name: 'taro', test: module => /@tarojs[\\/][a-z]+/.test(module.context), priority: 100 } diff --git a/packages/taro-webpack5-runner/src/webpack/MiniWebpackModule.ts b/packages/taro-webpack5-runner/src/webpack/MiniWebpackModule.ts index 031e9427a0b7..6230c47a3bcc 100644 --- a/packages/taro-webpack5-runner/src/webpack/MiniWebpackModule.ts +++ b/packages/taro-webpack5-runner/src/webpack/MiniWebpackModule.ts @@ -200,19 +200,16 @@ export class MiniWebpackModule { const { compile = {} } = this.combination.config const rule: IRule = WebpackModule.getScriptRule() - if (compile.exclude && compile.exclude.length) { - rule.exclude = [ - ...compile.exclude, - filename => /css-loader/.test(filename) || (/node_modules/.test(filename) && !(/taro/.test(filename))) - ] - } else if (compile.include && compile.include.length) { - rule.include = [ - ...compile.include, - sourceDir, - filename => /taro/.test(filename) - ] - } else { - rule.exclude = [filename => /css-loader/.test(filename) || (/node_modules/.test(filename) && !(/taro/.test(filename)))] + rule.include = [ + sourceDir, + filename => /(?<=node_modules[\\/]).*taro/.test(filename) + ] + if (Array.isArray(compile.include)) { + rule.include.unshift(...compile.include) + } + + if (Array.isArray(compile.exclude)) { + rule.exclude = [...compile.exclude] } if (config.experimental?.compileMode === true) { diff --git a/packages/taro-webpack5-runner/src/webpack/MiniWebpackPlugin.ts b/packages/taro-webpack5-runner/src/webpack/MiniWebpackPlugin.ts index f6bf4aa661b3..deb4d9a1b6cf 100644 --- a/packages/taro-webpack5-runner/src/webpack/MiniWebpackPlugin.ts +++ b/packages/taro-webpack5-runner/src/webpack/MiniWebpackPlugin.ts @@ -1,6 +1,6 @@ import { PLATFORMS } from '@tarojs/helper' import { isArray, isFunction, PLATFORM_TYPE } from '@tarojs/shared' -import { ICopyOptions, IPostcssOption } from '@tarojs/taro/types/compile' +import { IPostcssOption } from '@tarojs/taro/types/compile' import BuildNativePlugin from '../plugins/BuildNativePlugin' import MiniCompileModePlugin from '../plugins/MiniCompileModePlugin' @@ -97,16 +97,10 @@ export class MiniWebpackPlugin { getCopyWebpackPlugin () { const combination = this.combination - const { appPath, config, isBuildPlugin } = combination - let { copy } = config + const { appPath, config } = combination + const { copy } = config let copyWebpackPlugin - if (isBuildPlugin) { - copy ||= {} as ICopyOptions - copy!.patterns ||= [] - copy.patterns.push(combination.buildNativePlugin.getCopyPattern()) - } - if (copy?.patterns.length) { copyWebpackPlugin = WebpackPlugin.getCopyWebpackPlugin(appPath, copy) } diff --git a/packages/taro/types/compile/config/h5.d.ts b/packages/taro/types/compile/config/h5.d.ts index bffca29af4f1..5aeaec609640 100644 --- a/packages/taro/types/compile/config/h5.d.ts +++ b/packages/taro/types/compile/config/h5.d.ts @@ -96,7 +96,7 @@ export interface IH5Config { /** 配置需要额外的经由 Taro 预设的 postcss 编译的模块 */ esnextModules?: string[] - /** 用于控制在 H5 端是否使用兼容性组件库,详情请看 [React 兼容性组件库](https://taro-docs.jd.com/docs/next/h5#react-兼容性组件库)。(默认值:false) */ + /** 用于控制在 H5 端是否使用兼容性组件库,详情请看 [React 兼容性组件库](https://taro-docs.jd.com/docs/h5#react-兼容性组件库)。(默认值:false) */ useHtmlComponents?: boolean /** 用于控制在 H5 端是否使用旧版本适配器,旧版本采用全局注册组件,懒加载组件相关依赖;新版本适配器会自动注册相关组件,不再需要引入 @tarojs/components/loader 中的全局 defineCustomElements 方法。(默认值:false) */ diff --git a/packages/taro/types/compile/config/rn.d.ts b/packages/taro/types/compile/config/rn.d.ts index 221a8660976c..a7a481e261fd 100644 --- a/packages/taro/types/compile/config/rn.d.ts +++ b/packages/taro/types/compile/config/rn.d.ts @@ -20,7 +20,7 @@ export interface IRNConfig { /** [less](https://lesscss.org/usage/#less-options) 相关配置 */ less?: IOption - /** [stylus](https://github.com/NervJS/taro/blob/next/packages/taro-rn-style-transformer/README.md#rnstylus) 相关配置 */ + /** [stylus](https://github.com/NervJS/taro/blob/main/packages/taro-rn-style-transformer/README.md#rnstylus) 相关配置 */ stylus?: IOption /** 配置 postcss 相关插件 */ diff --git a/packages/taro/types/taro.component.d.ts b/packages/taro/types/taro.component.d.ts index 2de199d1e2d5..0d0a4c502728 100644 --- a/packages/taro/types/taro.component.d.ts +++ b/packages/taro/types/taro.component.d.ts @@ -139,5 +139,7 @@ declare module './index' { path?: string /** 页面的组件选项 */ options?: Record + /** 获得一个 EventChannel 对象,用于页面间通讯 */ + getOpenerEventChannel?(): Record } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9b173d46a3bf..32b9fd84ae6c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1433,6 +1433,8 @@ importers: specifier: 18.1.0 version: registry.npmjs.org/react-test-renderer@18.1.0(react@18.1.0) + packages/taro-components/dist/hydrate: {} + packages/taro-components/loader: {} packages/taro-extend: @@ -3015,6 +3017,9 @@ importers: '@tarojs/runtime': specifier: workspace:* version: link:../taro-runtime + '@tarojs/shared': + specifier: workspace:* + version: link:../shared '@tarojs/taro': specifier: workspace:* version: link:../taro @@ -3161,6 +3166,9 @@ importers: '@tarojs/router-rn': specifier: workspace:* version: link:../taro-router-rn + '@tarojs/shared': + specifier: workspace:* + version: link:../shared react-native-device-info: specifier: ~10.3.0 version: registry.npmjs.org/react-native-device-info@10.3.1