@sap/cds-dk 9.9.2 → 10.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +95 -0
- package/bin/add.js +1 -1
- package/bin/cds.js +4 -1
- package/bin/data-products/import.js +1 -1
- package/bin/data-products/{index.js → load.js} +0 -3
- package/bin/debug.js +19 -0
- package/bin/export.js +21 -15
- package/bin/import.js +6 -1
- package/bin/login.js +4 -8
- package/bin/logout.js +4 -9
- package/bin/pull.js +4 -8
- package/bin/push.js +8 -23
- package/bin/up.js +50 -1
- package/bin/upgrade-tenant.js +78 -0
- package/bin/upgrade.js +55 -53
- package/bin/util/log.js +1 -2
- package/bin/version.js +44 -60
- package/lib/bind/shared.js +5 -1
- package/lib/build/index.js +3 -3
- package/lib/build/plugins/fiori/index.js +5 -5
- package/lib/build/plugins/hana/index.js +13 -12
- package/lib/build/plugins/hana/template/package.json +1 -1
- package/lib/build/plugins/internal.js +4 -3
- package/lib/build/plugins/mtx-sidecar/index.js +8 -25
- package/lib/build/plugins/nodejs/index.js +4 -2
- package/lib/build/plugins/plugin.js +4 -10
- package/lib/build/util.js +0 -41
- package/lib/import/common.js +3 -2
- package/lib/import/importapi.js +1 -1
- package/lib/import/odata/annotationParser.js +316 -0
- package/lib/import/odata/v2parser.js +217 -0
- package/lib/import/odata/v4parser.js +8 -232
- package/lib/import/openapi/importOpenAPI.js +15 -3
- package/lib/index.js +1 -1
- package/lib/init/bas.js +2 -3
- package/lib/init/constants.js +8 -7
- package/lib/init/index.js +1 -17
- package/lib/init/projectReader.js +14 -5
- package/lib/init/registries/mta.js +12 -0
- package/lib/init/template/ai/files/mta.yaml.hbs +14 -0
- package/lib/init/template/ai/files/package.json.hbs +25 -0
- package/lib/init/template/ai/files/values.yaml +7 -0
- package/lib/init/template/ai/index.js +48 -0
- package/lib/init/template/ams/files/Chart.yaml.hbs +2 -2
- package/lib/init/template/ams/files/containerize.yaml.hbs +5 -5
- package/lib/init/template/ams/files/mta.yaml.hbs +1 -1
- package/lib/init/template/ams/files/package.json.hbs +3 -0
- package/lib/init/template/ams/index.js +2 -2
- package/lib/init/template/app-frontend/files/app-package.json.hbs +2 -2
- package/lib/init/template/app-frontend/files/containerize.yaml.hbs +13 -0
- package/lib/init/template/app-frontend/files/index.html.hbs +1 -1
- package/lib/init/template/app-frontend/files/mta.yaml.hbs +1 -1
- package/lib/init/template/app-frontend/files/ui5.yaml.hbs +4 -4
- package/lib/init/template/app-frontend/files/values.yaml.hbs +21 -9
- package/lib/init/template/app-frontend/index.js +37 -29
- package/lib/init/template/application-logging/files/mta.yaml.hbs +1 -1
- package/lib/init/template/application-logging/index.js +3 -3
- package/lib/init/template/approuter/files/containerize.yaml.hbs +4 -4
- package/lib/init/template/approuter/files/mta.yaml.hbs +1 -1
- package/lib/init/template/approuter/index.js +5 -5
- package/lib/init/template/attachments/files/mta.yaml.hbs +1 -1
- package/lib/init/template/attachments/files/values.yaml +1 -1
- package/lib/init/template/attachments/index.js +4 -4
- package/lib/init/template/audit-logging/files/mta.yaml.hbs +1 -1
- package/lib/init/template/audit-logging/index.js +4 -4
- package/lib/init/template/cf-manifest/files/manifest.yml.hbs +3 -3
- package/lib/init/template/cjs/files/package.json.hbs +3 -0
- package/lib/init/template/{esm → cjs}/index.js +2 -2
- package/lib/init/template/cloud-logging/files/mta.yaml.hbs +1 -1
- package/lib/init/template/cloud-logging/index.js +3 -3
- package/lib/init/template/completion/completionSetup.js +1 -1
- package/lib/init/template/connectivity/files/mta.yaml.hbs +1 -1
- package/lib/init/template/connectivity/index.js +4 -4
- package/lib/init/template/data/as-json.js +0 -10
- package/lib/init/template/destination/files/mta.yaml.hbs +1 -1
- package/lib/init/template/destination/index.js +4 -4
- package/lib/init/template/dynatrace/files/mta.yaml.hbs +1 -1
- package/lib/init/template/dynatrace/index.js +3 -3
- package/lib/init/template/enterprise-messaging/files/mta.yaml.hbs +1 -1
- package/lib/init/template/enterprise-messaging/index.js +39 -23
- package/lib/init/template/enterprise-messaging-shared/files/mta.yaml.hbs +1 -1
- package/lib/init/template/enterprise-messaging-shared/index.js +22 -44
- package/lib/init/template/event-mesh/files/event-mesh.json.hbs +31 -0
- package/lib/init/template/event-mesh/files/mta.yaml.hbs +22 -0
- package/lib/init/template/event-mesh/files/package.json.hbs +20 -0
- package/lib/init/template/event-mesh/files/values.yaml +7 -0
- package/lib/init/template/event-mesh/files/xs-security.json.hbs +19 -0
- package/lib/init/template/event-mesh/index.js +16 -0
- package/lib/init/template/event-mesh-shared/files/event-mesh.json.hbs +31 -0
- package/lib/init/template/event-mesh-shared/files/mta.yaml.hbs +15 -0
- package/lib/init/template/event-mesh-shared/files/package.json.hbs +23 -0
- package/lib/init/template/event-mesh-shared/files/values.yaml +7 -0
- package/lib/init/template/event-mesh-shared/index.js +16 -0
- package/lib/init/template/extensibility/files/package.json.hbs +1 -1
- package/lib/init/template/github-actions/files/workflows/cf.yaml.hbs +2 -2
- package/lib/init/template/github-actions/files/workflows/test.yaml.hbs +2 -2
- package/lib/init/template/hana/files/containerize.yaml.hbs +5 -5
- package/lib/init/template/hana/files/mta.yaml.hbs +1 -1
- package/lib/init/template/hana/files/package.json.hbs +1 -1
- package/lib/init/template/hana/files/src/.hdiconfig +1 -1
- package/lib/init/template/hana/index.js +5 -8
- package/lib/init/template/handler/files/extension/handler.xs.hbs +1 -1
- package/lib/init/template/handler/index.js +1 -19
- package/lib/init/template/html5-repo/files/app-package.json.hbs +2 -2
- package/lib/init/template/html5-repo/files/containerize.yaml.hbs +5 -7
- package/lib/init/template/html5-repo/files/mta.yaml.hbs +4 -4
- package/lib/init/template/html5-repo/files/ui5.yaml.hbs +4 -4
- package/lib/init/template/html5-repo/files/values.yaml.hbs +9 -0
- package/lib/init/template/html5-repo/index.js +23 -22
- package/lib/init/template/ias/files/Chart.yaml.hbs +2 -2
- package/lib/init/template/ias/files/mta.yaml.hbs +1 -1
- package/lib/init/template/ias/index.js +5 -5
- package/lib/init/template/initial/index.js +2 -10
- package/lib/init/template/kafka/files/mta.yaml.hbs +1 -1
- package/lib/init/template/kafka/files/values.yaml +1 -1
- package/lib/init/template/kafka/index.js +4 -4
- package/lib/init/template/kyma/files/containerize.yaml.hbs +11 -11
- package/lib/init/template/kyma/files/values.schema.json +1 -1
- package/lib/init/template/kyma/index.js +10 -10
- package/lib/init/template/lint/files/package.json +1 -1
- package/lib/init/template/malware-scanner/files/mta.yaml.hbs +2 -2
- package/lib/init/template/malware-scanner/files/package.json.hbs +1 -1
- package/lib/init/template/malware-scanner/files/values.yaml +1 -1
- package/lib/init/template/malware-scanner/index.js +4 -4
- package/lib/init/template/mta/files/mta.yaml.hbs +1 -1
- package/lib/init/template/mta/files/package.json +1 -1
- package/lib/init/template/multitenancy/files/containerize.yaml.hbs +5 -5
- package/lib/init/template/multitenancy/files/mta.yaml.hbs +1 -1
- package/lib/init/template/multitenancy/files/package.json.hbs +1 -1
- package/lib/init/template/multitenancy/files/package.sidecar.json.hbs +5 -5
- package/lib/init/template/multitenancy/index.js +10 -11
- package/lib/init/template/nodejs/files/package.json.hbs +3 -2
- package/lib/init/template/portal/files/containerize.yaml.hbs +4 -4
- package/lib/init/template/portal/files/mta.yaml.hbs +1 -1
- package/lib/init/template/portal/files/values.yaml.hbs +3 -32
- package/lib/init/template/portal/index.js +5 -13
- package/lib/init/template/postgres/files/containerize.yaml.hbs +4 -4
- package/lib/init/template/postgres/files/mta.yml.hbs +1 -1
- package/lib/init/template/postgres/files/package.json.hbs +1 -1
- package/lib/init/template/postgres/index.js +4 -4
- package/lib/init/template/react/files/{index.html → index.html.hbs} +1 -1
- package/lib/init/template/react/files/{vite.config.js → vite.config.js.hbs} +2 -1
- package/lib/init/template/react/index.js +15 -7
- package/lib/init/template/redis/files/mta.yaml.hbs +1 -1
- package/lib/init/template/redis/index.js +4 -4
- package/lib/init/template/sample/files/app/admin-books/webapp/manifest.json +2 -1
- package/lib/init/template/side-by-side-extensibility/files/mta.yaml.hbs +1 -1
- package/lib/init/template/sqlite/files/package.json.hbs +2 -2
- package/lib/init/template/toggles/files/package.json.hbs +1 -1
- package/lib/init/template/typer/files/gitignore +1 -1
- package/lib/init/template/typescript/files/package.json +1 -1
- package/lib/init/template/vue/files/{index.html → index.html.hbs} +1 -1
- package/lib/init/template/vue/files/{vite.config.js → vite.config.js.hbs} +2 -1
- package/lib/init/template/vue/index.js +16 -8
- package/lib/init/template/workzone-standard/files/mta.yaml.hbs +1 -1
- package/lib/init/template/workzone-standard/index.js +3 -3
- package/lib/init/template/xsuaa/files/mta.yaml.hbs +1 -1
- package/lib/init/template/xsuaa/index.js +3 -3
- package/lib/lint/Linter.js +5 -4
- package/lib/lint/eslintHelp.json +1 -1
- package/lib/mtx/params.js +0 -4
- package/lib/mtx/pull.js +1 -1
- package/lib/mtx/push.js +4 -3
- package/lib/mtx/settings_manager.js +9 -14
- package/lib/mtx/tenant_action.js +6 -6
- package/lib/mtx/util/question.js +0 -18
- package/lib/upgrade/constants.js +102 -0
- package/lib/upgrade/context.js +24 -0
- package/lib/upgrade/index.js +65 -0
- package/lib/upgrade/migrations/cds10/migrations.json +705 -0
- package/lib/upgrade/preflight/cds-version.js +61 -0
- package/lib/upgrade/preflight/consistency.js +94 -0
- package/lib/upgrade/preflight/index.js +49 -0
- package/lib/upgrade/preflight/project-type.js +224 -0
- package/lib/upgrade/steps/analyze/classification.js +92 -0
- package/lib/upgrade/steps/analyze/detector.js +22 -0
- package/lib/upgrade/steps/analyze/evaluator.js +91 -0
- package/lib/upgrade/steps/analyze/index.js +124 -0
- package/lib/upgrade/steps/analyze/reporter.js +339 -0
- package/lib/upgrade/steps/analyze/setup.js +71 -0
- package/lib/upgrade/steps/analyze/utils/detection.js +63 -0
- package/lib/upgrade/steps/analyze/utils/files.js +114 -0
- package/lib/upgrade/steps/analyze/utils/grep.js +95 -0
- package/lib/upgrade/steps/analyze/utils/yaml.js +58 -0
- package/lib/upgrade/steps/install.js +115 -0
- package/lib/upgrade/steps/openrewrite.js +293 -0
- package/lib/upgrade/steps/removals.js +88 -0
- package/lib/upgrade/steps/rewrite.js +167 -0
- package/lib/upgrade/steps/verify.js +96 -0
- package/lib/upgrade/util/pom.js +46 -0
- package/lib/upgrade/util/prompt.js +28 -0
- package/lib/upgrade/util/workspaces.js +111 -0
- package/lib/util/cf.js +23 -12
- package/lib/util/term.js +1 -1
- package/lib/watch/vite-watch.js +33 -8
- package/lib/watch/watcher.js +27 -1
- package/node_modules/@cap-js/asyncapi/LICENSE +201 -0
- package/node_modules/@cap-js/asyncapi/README.md +46 -0
- package/node_modules/@cap-js/asyncapi/index.js +4 -0
- package/node_modules/@cap-js/asyncapi/lib/compile/channels.js +18 -0
- package/node_modules/@cap-js/asyncapi/lib/compile/components/messageTraits/index.js +89 -0
- package/node_modules/@cap-js/asyncapi/lib/compile/components/messages/index.js +179 -0
- package/node_modules/@cap-js/asyncapi/lib/compile/components/schemas/annotations.js +36 -0
- package/node_modules/@cap-js/asyncapi/lib/compile/components/schemas/array.js +8 -0
- package/node_modules/@cap-js/asyncapi/lib/compile/components/schemas/cache.js +16 -0
- package/node_modules/@cap-js/asyncapi/lib/compile/components/schemas/definition.js +191 -0
- package/node_modules/@cap-js/asyncapi/lib/compile/components/schemas/enum.js +15 -0
- package/node_modules/@cap-js/asyncapi/lib/compile/components/schemas/examples.js +10 -0
- package/node_modules/@cap-js/asyncapi/lib/compile/components/schemas/index.js +14 -0
- package/node_modules/@cap-js/asyncapi/lib/compile/components/schemas/localized.js +29 -0
- package/node_modules/@cap-js/asyncapi/lib/compile/components/schemas/primitiveElement.js +41 -0
- package/node_modules/@cap-js/asyncapi/lib/compile/components/schemas/ref.js +45 -0
- package/node_modules/@cap-js/asyncapi/lib/compile/components/schemas/utils.js +108 -0
- package/node_modules/@cap-js/asyncapi/lib/compile/index.js +277 -0
- package/node_modules/@cap-js/asyncapi/lib/compile/message.js +13 -0
- package/node_modules/@cap-js/asyncapi/lib/compile/utils.js +77 -0
- package/node_modules/@cap-js/asyncapi/package.json +34 -0
- package/node_modules/@cap-js/openapi/LICENSE +201 -0
- package/node_modules/@cap-js/openapi/README.md +96 -0
- package/node_modules/@cap-js/openapi/index.js +5 -0
- package/node_modules/@cap-js/openapi/lib/compile/csdl-types.d.ts +546 -0
- package/node_modules/@cap-js/openapi/lib/compile/csdl.js +212 -0
- package/node_modules/@cap-js/openapi/lib/compile/csdl2openapi.js +2753 -0
- package/node_modules/@cap-js/openapi/lib/compile/diagram.js +112 -0
- package/node_modules/@cap-js/openapi/lib/compile/index.js +259 -0
- package/node_modules/@cap-js/openapi/lib/compile/string-util.js +20 -0
- package/node_modules/@cap-js/openapi/lib/compile/types.d.ts +117 -0
- package/node_modules/@cap-js/openapi/package.json +44 -0
- package/node_modules/@eslint/js/LICENSE +19 -0
- package/node_modules/@eslint/js/README.md +103 -0
- package/node_modules/@eslint/js/package.json +44 -0
- package/node_modules/@eslint/js/src/configs/eslint-all.js +210 -0
- package/node_modules/@eslint/js/src/configs/eslint-recommended.js +75 -0
- package/node_modules/@eslint/js/src/index.js +23 -0
- package/node_modules/@eslint/js/types/index.d.ts +14 -0
- package/node_modules/@sap/cds/CHANGELOG.md +810 -0
- package/node_modules/@sap/cds/LICENSE +32 -0
- package/node_modules/@sap/cds/README.md +13 -0
- package/node_modules/@sap/cds/_i18n/i18n.properties +113 -0
- package/node_modules/@sap/cds/_i18n/i18n_ar.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_bg.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_cs.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_da.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_de.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_el.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_en.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_en_US_saptrc.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_es.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_es_MX.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_fi.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_fr.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_he.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_hr.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_hu.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_it.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_ja.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_kk.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_ko.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_ms.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_nl.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_no.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_pl.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_pt.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_ro.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_ru.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_sh.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_sk.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_sl.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_sv.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_th.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_tr.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_uk.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_vi.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_zh_CN.properties +58 -0
- package/node_modules/@sap/cds/_i18n/i18n_zh_TW.properties +58 -0
- package/node_modules/@sap/cds/_i18n/messages.properties +196 -0
- package/node_modules/@sap/cds/_i18n/messages_ar.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_bg.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_cs.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_da.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_de.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_el.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_en.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_en_US_saptrc.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_es.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_es_MX.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_fi.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_fr.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_he.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_hr.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_hu.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_it.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_ja.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_kk.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_ko.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_ms.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_nl.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_no.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_pl.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_pt.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_ro.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_ru.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_sh.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_sk.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_sl.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_sv.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_th.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_tr.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_uk.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_vi.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_zh_CN.properties +103 -0
- package/node_modules/@sap/cds/_i18n/messages_zh_TW.properties +103 -0
- package/node_modules/@sap/cds/app/etc/livereload.js +9 -0
- package/node_modules/@sap/cds/app/favicon.ico +0 -0
- package/node_modules/@sap/cds/app/index.css +132 -0
- package/node_modules/@sap/cds/app/index.html +32 -0
- package/node_modules/@sap/cds/app/index.js +100 -0
- package/node_modules/@sap/cds/bin/args.js +34 -0
- package/node_modules/@sap/cds/bin/deploy.js +29 -0
- package/node_modules/@sap/cds/bin/serve.js +398 -0
- package/node_modules/@sap/cds/common.cds +216 -0
- package/node_modules/@sap/cds/eslint.config.mjs +153 -0
- package/node_modules/@sap/cds/lib/compile/cds-compile.js +63 -0
- package/node_modules/@sap/cds/lib/compile/cdsc.js +166 -0
- package/node_modules/@sap/cds/lib/compile/etc/_localized.js +75 -0
- package/node_modules/@sap/cds/lib/compile/etc/csv.js +87 -0
- package/node_modules/@sap/cds/lib/compile/etc/properties.js +44 -0
- package/node_modules/@sap/cds/lib/compile/etc/yaml.js +9 -0
- package/node_modules/@sap/cds/lib/compile/extend.js +39 -0
- package/node_modules/@sap/cds/lib/compile/for/assert.js +64 -0
- package/node_modules/@sap/cds/lib/compile/for/direct_crud.js +49 -0
- package/node_modules/@sap/cds/lib/compile/for/flows.js +396 -0
- package/node_modules/@sap/cds/lib/compile/for/java.js +49 -0
- package/node_modules/@sap/cds/lib/compile/for/lean_drafts.js +230 -0
- package/node_modules/@sap/cds/lib/compile/for/nodejs.js +94 -0
- package/node_modules/@sap/cds/lib/compile/for/odata.js +19 -0
- package/node_modules/@sap/cds/lib/compile/for/sql.js +9 -0
- package/node_modules/@sap/cds/lib/compile/load.js +59 -0
- package/node_modules/@sap/cds/lib/compile/minify.js +112 -0
- package/node_modules/@sap/cds/lib/compile/parse.js +140 -0
- package/node_modules/@sap/cds/lib/compile/resolve.js +166 -0
- package/node_modules/@sap/cds/lib/compile/to/cdl.js +22 -0
- package/node_modules/@sap/cds/lib/compile/to/csn.js +80 -0
- package/node_modules/@sap/cds/lib/compile/to/edm-files.js +80 -0
- package/node_modules/@sap/cds/lib/compile/to/edm.js +97 -0
- package/node_modules/@sap/cds/lib/compile/to/hana.js +31 -0
- package/node_modules/@sap/cds/lib/compile/to/hdbtabledata.js +152 -0
- package/node_modules/@sap/cds/lib/compile/to/json.js +63 -0
- package/node_modules/@sap/cds/lib/compile/to/sql.js +62 -0
- package/node_modules/@sap/cds/lib/compile/to/srvinfo.js +135 -0
- package/node_modules/@sap/cds/lib/core/classes.js +230 -0
- package/node_modules/@sap/cds/lib/core/entities.js +132 -0
- package/node_modules/@sap/cds/lib/core/linked-csn.js +188 -0
- package/node_modules/@sap/cds/lib/core/types.js +67 -0
- package/node_modules/@sap/cds/lib/dbs/cds-deploy.js +420 -0
- package/node_modules/@sap/cds/lib/env/cds-env.js +584 -0
- package/node_modules/@sap/cds/lib/env/cds-requires.js +315 -0
- package/node_modules/@sap/cds/lib/env/compat.js +95 -0
- package/node_modules/@sap/cds/lib/env/defaults.js +227 -0
- package/node_modules/@sap/cds/lib/env/schemas/cds-package.js +27 -0
- package/node_modules/@sap/cds/lib/env/schemas/cds-rc.js +1124 -0
- package/node_modules/@sap/cds/lib/env/schemas/index.js +12 -0
- package/node_modules/@sap/cds/lib/env/serviceBindings.js +157 -0
- package/node_modules/@sap/cds/lib/i18n/bundles.js +114 -0
- package/node_modules/@sap/cds/lib/i18n/files.js +140 -0
- package/node_modules/@sap/cds/lib/i18n/index.js +63 -0
- package/node_modules/@sap/cds/lib/i18n/locale.js +42 -0
- package/node_modules/@sap/cds/lib/i18n/localize.js +137 -0
- package/node_modules/@sap/cds/lib/index.js +156 -0
- package/node_modules/@sap/cds/lib/log/cds-error.js +114 -0
- package/node_modules/@sap/cds/lib/log/cds-log.js +215 -0
- package/node_modules/@sap/cds/lib/log/format/aspects/als.js +27 -0
- package/node_modules/@sap/cds/lib/log/format/aspects/cf.js +36 -0
- package/node_modules/@sap/cds/lib/log/format/aspects/cls.js +19 -0
- package/node_modules/@sap/cds/lib/log/format/json.js +143 -0
- package/node_modules/@sap/cds/lib/log/service/index.js +96 -0
- package/node_modules/@sap/cds/lib/log/service/model.cds +21 -0
- package/node_modules/@sap/cds/lib/log/service/test.http +16 -0
- package/node_modules/@sap/cds/lib/log/service/vue.html +73 -0
- package/node_modules/@sap/cds/lib/plugins.js +45 -0
- package/node_modules/@sap/cds/lib/ql/CREATE.js +30 -0
- package/node_modules/@sap/cds/lib/ql/DELETE.js +26 -0
- package/node_modules/@sap/cds/lib/ql/DROP.js +33 -0
- package/node_modules/@sap/cds/lib/ql/INSERT.js +57 -0
- package/node_modules/@sap/cds/lib/ql/SELECT.js +207 -0
- package/node_modules/@sap/cds/lib/ql/UPDATE.js +111 -0
- package/node_modules/@sap/cds/lib/ql/UPSERT.js +17 -0
- package/node_modules/@sap/cds/lib/ql/Whereable.js +58 -0
- package/node_modules/@sap/cds/lib/ql/cds-ql.js +228 -0
- package/node_modules/@sap/cds/lib/ql/cds.ql-Query.js +111 -0
- package/node_modules/@sap/cds/lib/ql/cds.ql-infer.js +148 -0
- package/node_modules/@sap/cds/lib/ql/cds.ql-predicates.js +136 -0
- package/node_modules/@sap/cds/lib/ql/cds.ql-projections.js +111 -0
- package/node_modules/@sap/cds/lib/ql/cqn.d.ts +146 -0
- package/node_modules/@sap/cds/lib/req/assert.js +71 -0
- package/node_modules/@sap/cds/lib/req/context.js +216 -0
- package/node_modules/@sap/cds/lib/req/event.js +14 -0
- package/node_modules/@sap/cds/lib/req/request.js +183 -0
- package/node_modules/@sap/cds/lib/req/response.js +54 -0
- package/node_modules/@sap/cds/lib/req/spawn.js +38 -0
- package/node_modules/@sap/cds/lib/req/user.js +77 -0
- package/node_modules/@sap/cds/lib/req/validate.js +339 -0
- package/node_modules/@sap/cds/lib/srv/bindings.js +170 -0
- package/node_modules/@sap/cds/lib/srv/cds-connect.js +79 -0
- package/node_modules/@sap/cds/lib/srv/cds-serve.js +84 -0
- package/node_modules/@sap/cds/lib/srv/cds.Service.js +214 -0
- package/node_modules/@sap/cds/lib/srv/factory.js +78 -0
- package/node_modules/@sap/cds/lib/srv/middlewares/auth/basic-auth.js +55 -0
- package/node_modules/@sap/cds/lib/srv/middlewares/auth/dummy-auth.js +8 -0
- package/node_modules/@sap/cds/lib/srv/middlewares/auth/ias-auth.js +167 -0
- package/node_modules/@sap/cds/lib/srv/middlewares/auth/index.js +53 -0
- package/node_modules/@sap/cds/lib/srv/middlewares/auth/jwt-auth.js +89 -0
- package/node_modules/@sap/cds/lib/srv/middlewares/auth/mocked-users.js +73 -0
- package/node_modules/@sap/cds/lib/srv/middlewares/auth/xssec.js +7 -0
- package/node_modules/@sap/cds/lib/srv/middlewares/cds-context.js +17 -0
- package/node_modules/@sap/cds/lib/srv/middlewares/ctx-model.js +25 -0
- package/node_modules/@sap/cds/lib/srv/middlewares/errors.js +42 -0
- package/node_modules/@sap/cds/lib/srv/middlewares/index.js +51 -0
- package/node_modules/@sap/cds/lib/srv/middlewares/trace.js +117 -0
- package/node_modules/@sap/cds/lib/srv/protocols/hcql.js +170 -0
- package/node_modules/@sap/cds/lib/srv/protocols/http.js +207 -0
- package/node_modules/@sap/cds/lib/srv/protocols/index.js +186 -0
- package/node_modules/@sap/cds/lib/srv/protocols/odata-v4.js +1 -0
- package/node_modules/@sap/cds/lib/srv/protocols/rest.js +1 -0
- package/node_modules/@sap/cds/lib/srv/srv-dispatch.js +117 -0
- package/node_modules/@sap/cds/lib/srv/srv-handlers.js +173 -0
- package/node_modules/@sap/cds/lib/srv/srv-methods.js +86 -0
- package/node_modules/@sap/cds/lib/srv/srv-models.js +167 -0
- package/node_modules/@sap/cds/lib/srv/srv-resolve.js +21 -0
- package/node_modules/@sap/cds/lib/srv/srv-tx.js +204 -0
- package/node_modules/@sap/cds/lib/test/cds-test.js +5 -0
- package/node_modules/@sap/cds/lib/utils/cds-utils.js +411 -0
- package/node_modules/@sap/cds/lib/utils/colors.js +56 -0
- package/node_modules/@sap/cds/lib/utils/csv-reader.js +100 -0
- package/node_modules/@sap/cds/lib/utils/extend.js +20 -0
- package/node_modules/@sap/cds/lib/utils/inflect.js +25 -0
- package/node_modules/@sap/cds/lib/utils/lazify.js +33 -0
- package/node_modules/@sap/cds/lib/utils/tar-lib.js +58 -0
- package/node_modules/@sap/cds/lib/utils/tar-win.js +106 -0
- package/node_modules/@sap/cds/lib/utils/tar.js +180 -0
- package/node_modules/@sap/cds/lib/utils/version.js +11 -0
- package/node_modules/@sap/cds/libx/_runtime/cds.js +25 -0
- package/node_modules/@sap/cds/libx/_runtime/common/Service.js +96 -0
- package/node_modules/@sap/cds/libx/_runtime/common/aspects/Association.js +82 -0
- package/node_modules/@sap/cds/libx/_runtime/common/aspects/any.js +34 -0
- package/node_modules/@sap/cds/libx/_runtime/common/aspects/entity.js +41 -0
- package/node_modules/@sap/cds/libx/_runtime/common/aspects/service.js +25 -0
- package/node_modules/@sap/cds/libx/_runtime/common/constants/draft.js +48 -0
- package/node_modules/@sap/cds/libx/_runtime/common/constants/events.js +6 -0
- package/node_modules/@sap/cds/libx/_runtime/common/generic/assert.js +225 -0
- package/node_modules/@sap/cds/libx/_runtime/common/generic/auth/autoexpose.js +26 -0
- package/node_modules/@sap/cds/libx/_runtime/common/generic/auth/capabilities.js +87 -0
- package/node_modules/@sap/cds/libx/_runtime/common/generic/auth/expand.js +74 -0
- package/node_modules/@sap/cds/libx/_runtime/common/generic/auth/index.js +84 -0
- package/node_modules/@sap/cds/libx/_runtime/common/generic/auth/insertOnly.js +13 -0
- package/node_modules/@sap/cds/libx/_runtime/common/generic/auth/readOnly.js +13 -0
- package/node_modules/@sap/cds/libx/_runtime/common/generic/auth/requires.js +40 -0
- package/node_modules/@sap/cds/libx/_runtime/common/generic/auth/restrict.js +296 -0
- package/node_modules/@sap/cds/libx/_runtime/common/generic/auth/restrictions.js +124 -0
- package/node_modules/@sap/cds/libx/_runtime/common/generic/auth/service.js +18 -0
- package/node_modules/@sap/cds/libx/_runtime/common/generic/auth/utils.js +200 -0
- package/node_modules/@sap/cds/libx/_runtime/common/generic/crud.js +82 -0
- package/node_modules/@sap/cds/libx/_runtime/common/generic/etag.js +100 -0
- package/node_modules/@sap/cds/libx/_runtime/common/generic/flows.js +235 -0
- package/node_modules/@sap/cds/libx/_runtime/common/generic/input.js +441 -0
- package/node_modules/@sap/cds/libx/_runtime/common/generic/media.js +25 -0
- package/node_modules/@sap/cds/libx/_runtime/common/generic/paging.js +47 -0
- package/node_modules/@sap/cds/libx/_runtime/common/generic/sorting.js +83 -0
- package/node_modules/@sap/cds/libx/_runtime/common/generic/temporal.js +86 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/binary.js +9 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/compareJson.js +378 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/copy.js +44 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/cqn.js +73 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/csn.js +153 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/differ.js +183 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/draft.js +82 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/entityFromCqn.js +42 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/etag.js +30 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/foreignKeyPropagations.js +299 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/keys.js +105 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/normalizeTimestamp.js +34 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/postProcess.js +102 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/propagateForeignKeys.js +108 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/resolveStructured.js +58 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/resolveView.js +732 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/rewriteAsterisks.js +199 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/rowUUIDGenerator.js +21 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/streamProp.js +72 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/structured.js +314 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/template.js +154 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/templateDelimiter.js +1 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/templateProcessor.js +83 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/templateProcessorPathSerializer.js +51 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/vcap.js +28 -0
- package/node_modules/@sap/cds/libx/_runtime/common/utils/waitingTime.js +14 -0
- package/node_modules/@sap/cds/libx/_runtime/fiori/lean-draft.js +2604 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/AMQPWebhookMessaging.js +71 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/common-utils/AMQPClient.js +90 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/common-utils/appId.js +9 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/common-utils/authorizedRequest.js +66 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/common-utils/connections.js +81 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/common-utils/normalizeIncomingMessage.js +29 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/common-utils/optionsForSubdomain.js +14 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/common-utils/runInSequence.js +6 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/composite.js +47 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/enterprise-messaging-shared.js +61 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/enterprise-messaging-utils/EMManagement.js +473 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/enterprise-messaging-utils/cloudEvents.js +31 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/enterprise-messaging-utils/getTenantInfo.js +24 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/enterprise-messaging-utils/options-management.js +24 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/enterprise-messaging-utils/options-messaging.js +73 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/enterprise-messaging-utils/registerEndpoints.js +158 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/enterprise-messaging.js +209 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/file-based.js +104 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/http-utils/token.js +75 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/kafka.js +273 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/message-queuing-utils/options-management.js +34 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/message-queuing-utils/options-messaging.js +40 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/message-queuing.js +238 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/redis-messaging.js +95 -0
- package/node_modules/@sap/cds/libx/_runtime/messaging/service.js +147 -0
- package/node_modules/@sap/cds/libx/_runtime/remote/Service.js +330 -0
- package/node_modules/@sap/cds/libx/_runtime/remote/utils/client.js +287 -0
- package/node_modules/@sap/cds/libx/_runtime/remote/utils/cloudSdkProvider.js +60 -0
- package/node_modules/@sap/cds/libx/_runtime/remote/utils/data.js +177 -0
- package/node_modules/@sap/cds/libx/_runtime/remote/utils/fetchClient.js +180 -0
- package/node_modules/@sap/cds/libx/_runtime/remote/utils/query.js +196 -0
- package/node_modules/@sap/cds/libx/_runtime/ucl/Service.js +450 -0
- package/node_modules/@sap/cds/libx/_runtime/ucl/queries.js +61 -0
- package/node_modules/@sap/cds/libx/common/utils/path.js +47 -0
- package/node_modules/@sap/cds/libx/common/utils/streaming.js +72 -0
- package/node_modules/@sap/cds/libx/http/body-parser.js +44 -0
- package/node_modules/@sap/cds/libx/http/location.js +42 -0
- package/node_modules/@sap/cds/libx/http/put.js +36 -0
- package/node_modules/@sap/cds/libx/odata/ODataAdapter.js +129 -0
- package/node_modules/@sap/cds/libx/odata/index.js +137 -0
- package/node_modules/@sap/cds/libx/odata/middleware/batch.js +695 -0
- package/node_modules/@sap/cds/libx/odata/middleware/create.js +113 -0
- package/node_modules/@sap/cds/libx/odata/middleware/delete.js +73 -0
- package/node_modules/@sap/cds/libx/odata/middleware/error.js +19 -0
- package/node_modules/@sap/cds/libx/odata/middleware/metadata.js +138 -0
- package/node_modules/@sap/cds/libx/odata/middleware/operation.js +192 -0
- package/node_modules/@sap/cds/libx/odata/middleware/parse.js +49 -0
- package/node_modules/@sap/cds/libx/odata/middleware/read.js +311 -0
- package/node_modules/@sap/cds/libx/odata/middleware/service-document.js +79 -0
- package/node_modules/@sap/cds/libx/odata/middleware/stream.js +180 -0
- package/node_modules/@sap/cds/libx/odata/middleware/update.js +178 -0
- package/node_modules/@sap/cds/libx/odata/parse/afterburner.js +1033 -0
- package/node_modules/@sap/cds/libx/odata/parse/cqn2odata.js +615 -0
- package/node_modules/@sap/cds/libx/odata/parse/grammar.peggy +1416 -0
- package/node_modules/@sap/cds/libx/odata/parse/multipartToJson.js +220 -0
- package/node_modules/@sap/cds/libx/odata/parse/parser.js +1 -0
- package/node_modules/@sap/cds/libx/odata/utils/etag.js +21 -0
- package/node_modules/@sap/cds/libx/odata/utils/index.js +348 -0
- package/node_modules/@sap/cds/libx/odata/utils/metadata.js +223 -0
- package/node_modules/@sap/cds/libx/odata/utils/normalizeTimeData.js +43 -0
- package/node_modules/@sap/cds/libx/odata/utils/odataBind.js +43 -0
- package/node_modules/@sap/cds/libx/odata/utils/postProcess.js +86 -0
- package/node_modules/@sap/cds/libx/odata/utils/readAfterWrite.js +144 -0
- package/node_modules/@sap/cds/libx/odata/utils/result.js +91 -0
- package/node_modules/@sap/cds/libx/queue/JobExecutor.js +80 -0
- package/node_modules/@sap/cds/libx/queue/SchedulingService.js +213 -0
- package/node_modules/@sap/cds/libx/queue/TaskRunner.js +92 -0
- package/node_modules/@sap/cds/libx/queue/api.js +28 -0
- package/node_modules/@sap/cds/libx/queue/consts.js +13 -0
- package/node_modules/@sap/cds/libx/queue/index.js +608 -0
- package/node_modules/@sap/cds/libx/queue/processing.js +645 -0
- package/node_modules/@sap/cds/libx/queue/utils.js +159 -0
- package/node_modules/@sap/cds/libx/rest/RestAdapter.js +102 -0
- package/node_modules/@sap/cds/libx/rest/middleware/create.js +50 -0
- package/node_modules/@sap/cds/libx/rest/middleware/delete.js +17 -0
- package/node_modules/@sap/cds/libx/rest/middleware/operation.js +54 -0
- package/node_modules/@sap/cds/libx/rest/middleware/parse.js +142 -0
- package/node_modules/@sap/cds/libx/rest/middleware/read.js +34 -0
- package/node_modules/@sap/cds/libx/rest/middleware/update.js +28 -0
- package/node_modules/@sap/cds/libx/rest/middleware/upsert.js +35 -0
- package/node_modules/@sap/cds/libx/rest/post-processing.js +33 -0
- package/node_modules/@sap/cds/libx/rest/pre-processing.js +28 -0
- package/node_modules/@sap/cds/package.json +49 -0
- package/node_modules/@sap/cds/server.js +119 -0
- package/node_modules/@sap/cds/srv/app-service.js +1 -0
- package/node_modules/@sap/cds/srv/db-service.js +1 -0
- package/node_modules/@sap/cds/srv/msg-service.js +1 -0
- package/node_modules/@sap/cds/srv/outbox.cds +15 -0
- package/node_modules/@sap/cds/srv/remote-service.js +1 -0
- package/node_modules/@sap/cds/srv/ucl-service.cds +58 -0
- package/node_modules/@sap/cds/srv/ucl-service.js +1 -0
- package/node_modules/@sap/cds/tasks/enterprise-messaging-deploy.js +52 -0
- package/node_modules/@sap/cds-compiler/CHANGELOG.md +987 -0
- package/node_modules/@sap/cds-compiler/LICENSE +32 -0
- package/node_modules/@sap/cds-compiler/README.md +44 -0
- package/node_modules/@sap/cds-compiler/bin/cds_update_identifiers.js +141 -0
- package/node_modules/@sap/cds-compiler/bin/cdsc.js +776 -0
- package/node_modules/@sap/cds-compiler/bin/cdshi.js +83 -0
- package/node_modules/@sap/cds-compiler/bin/cdsse.js +210 -0
- package/node_modules/@sap/cds-compiler/bin/cdsv2m.js +52 -0
- package/node_modules/@sap/cds-compiler/doc/API.md +16 -0
- package/node_modules/@sap/cds-compiler/doc/IncompatibleChanges_v5.md +436 -0
- package/node_modules/@sap/cds-compiler/doc/IncompatibleChanges_v6.md +659 -0
- package/node_modules/@sap/cds-compiler/doc/IncompatibleChanges_v7.md +639 -0
- package/node_modules/@sap/cds-compiler/doc/Versioning.md +79 -0
- package/node_modules/@sap/cds-compiler/lib/api/main.js +1415 -0
- package/node_modules/@sap/cds-compiler/lib/api/options.js +275 -0
- package/node_modules/@sap/cds-compiler/lib/api/validate.js +209 -0
- package/node_modules/@sap/cds-compiler/lib/base/builtins.js +122 -0
- package/node_modules/@sap/cds-compiler/lib/base/cloneCsn.js +226 -0
- package/node_modules/@sap/cds-compiler/lib/base/csnRefs.js +1420 -0
- package/node_modules/@sap/cds-compiler/lib/base/error.js +30 -0
- package/node_modules/@sap/cds-compiler/lib/base/keywords.js +930 -0
- package/node_modules/@sap/cds-compiler/lib/base/location.js +304 -0
- package/node_modules/@sap/cds-compiler/lib/base/message-registry.js +1635 -0
- package/node_modules/@sap/cds-compiler/lib/base/messages.js +1994 -0
- package/node_modules/@sap/cds-compiler/lib/base/meta.js +10 -0
- package/node_modules/@sap/cds-compiler/lib/base/model-api.js +82 -0
- package/node_modules/@sap/cds-compiler/lib/base/optionProcessor.js +593 -0
- package/node_modules/@sap/cds-compiler/lib/base/specialOptions.js +125 -0
- package/node_modules/@sap/cds-compiler/lib/base/trace.js +91 -0
- package/node_modules/@sap/cds-compiler/lib/base/xprAsTree.js +85 -0
- package/node_modules/@sap/cds-compiler/lib/checks/actionsFunctions.js +128 -0
- package/node_modules/@sap/cds-compiler/lib/checks/annotationsOData.js +126 -0
- package/node_modules/@sap/cds-compiler/lib/checks/arrayOfs.js +52 -0
- package/node_modules/@sap/cds-compiler/lib/checks/assocOutsideService.js +29 -0
- package/node_modules/@sap/cds-compiler/lib/checks/cdsMap.js +27 -0
- package/node_modules/@sap/cds-compiler/lib/checks/cdsPersistence.js +24 -0
- package/node_modules/@sap/cds-compiler/lib/checks/checkForTypes.js +35 -0
- package/node_modules/@sap/cds-compiler/lib/checks/checkPathsInStoredCalcElement.js +84 -0
- package/node_modules/@sap/cds-compiler/lib/checks/defaultValues.js +34 -0
- package/node_modules/@sap/cds-compiler/lib/checks/elements.js +345 -0
- package/node_modules/@sap/cds-compiler/lib/checks/enricher.js +225 -0
- package/node_modules/@sap/cds-compiler/lib/checks/enums.js +31 -0
- package/node_modules/@sap/cds-compiler/lib/checks/existsExpressionsOnlyForeignKeys.js +77 -0
- package/node_modules/@sap/cds-compiler/lib/checks/existsInForbiddenPlaces.js +32 -0
- package/node_modules/@sap/cds-compiler/lib/checks/existsMustEndInAssoc.js +32 -0
- package/node_modules/@sap/cds-compiler/lib/checks/existsMustNotStartWithDollarSelf.js +31 -0
- package/node_modules/@sap/cds-compiler/lib/checks/featureFlags.js +69 -0
- package/node_modules/@sap/cds-compiler/lib/checks/foreignKeys.js +80 -0
- package/node_modules/@sap/cds-compiler/lib/checks/hasPersistedElements.js +69 -0
- package/node_modules/@sap/cds-compiler/lib/checks/invalidTarget.js +64 -0
- package/node_modules/@sap/cds-compiler/lib/checks/managedInType.js +84 -0
- package/node_modules/@sap/cds-compiler/lib/checks/managedWithoutKeys.js +20 -0
- package/node_modules/@sap/cds-compiler/lib/checks/manyExpand.js +28 -0
- package/node_modules/@sap/cds-compiler/lib/checks/manyNavigations.js +33 -0
- package/node_modules/@sap/cds-compiler/lib/checks/nullableKeys.js +13 -0
- package/node_modules/@sap/cds-compiler/lib/checks/onConditions.js +268 -0
- package/node_modules/@sap/cds-compiler/lib/checks/parameters.js +46 -0
- package/node_modules/@sap/cds-compiler/lib/checks/queryNoDbArtifacts.js +225 -0
- package/node_modules/@sap/cds-compiler/lib/checks/selectItems.js +57 -0
- package/node_modules/@sap/cds-compiler/lib/checks/sql-snippets.js +117 -0
- package/node_modules/@sap/cds-compiler/lib/checks/structuredAnnoExpressions.js +26 -0
- package/node_modules/@sap/cds-compiler/lib/checks/typeParameters.js +162 -0
- package/node_modules/@sap/cds-compiler/lib/checks/types.js +198 -0
- package/node_modules/@sap/cds-compiler/lib/checks/utils.js +96 -0
- package/node_modules/@sap/cds-compiler/lib/checks/validator.js +292 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/assert-consistency.js +1115 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/base.js +153 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/builtins.js +499 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/checks.js +1447 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/cycle-detector.js +135 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/define.js +1190 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/dictionaries.js +109 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/extend.js +1928 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/finalize-parse-cdl.js +170 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/generate.js +910 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/index.js +695 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/kick-start.js +142 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/lsp-api.js +506 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/moduleLayers.js +75 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/populate.js +1425 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/propagator.js +457 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/resolve.js +1996 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/shared.js +2272 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/tweak-assocs.js +1388 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/utils.js +929 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/xpr-rewrite.js +778 -0
- package/node_modules/@sap/cds-compiler/lib/compiler/xsn-model.js +50 -0
- package/node_modules/@sap/cds-compiler/lib/edm/EdmPrimitiveTypeDefinitions.js +263 -0
- package/node_modules/@sap/cds-compiler/lib/edm/annotations/edmJson.js +1245 -0
- package/node_modules/@sap/cds-compiler/lib/edm/annotations/genericTranslation.js +1873 -0
- package/node_modules/@sap/cds-compiler/lib/edm/annotations/preprocessAnnotations.js +308 -0
- package/node_modules/@sap/cds-compiler/lib/edm/annotations/vocabularyDefinitions.js +166 -0
- package/node_modules/@sap/cds-compiler/lib/edm/csn2edm.js +1226 -0
- package/node_modules/@sap/cds-compiler/lib/edm/edm.js +1628 -0
- package/node_modules/@sap/cds-compiler/lib/edm/edmAnnoPreprocessor.js +312 -0
- package/node_modules/@sap/cds-compiler/lib/edm/edmInboundChecks.js +182 -0
- package/node_modules/@sap/cds-compiler/lib/edm/edmPreprocessor.js +2320 -0
- package/node_modules/@sap/cds-compiler/lib/edm/edmUtils.js +949 -0
- package/node_modules/@sap/cds-compiler/lib/gen/BaseParser.js +892 -0
- package/node_modules/@sap/cds-compiler/lib/gen/CdlGrammar.checksum +1 -0
- package/node_modules/@sap/cds-compiler/lib/gen/CdlParser.js +4549 -0
- package/node_modules/@sap/cds-compiler/lib/gen/Dictionary.json +5124 -0
- package/node_modules/@sap/cds-compiler/lib/gen/cdlKeywords.json +26 -0
- package/node_modules/@sap/cds-compiler/lib/json/csnVersion.js +53 -0
- package/node_modules/@sap/cds-compiler/lib/json/from-csn.js +2217 -0
- package/node_modules/@sap/cds-compiler/lib/json/to-csn.js +1621 -0
- package/node_modules/@sap/cds-compiler/lib/language/docCommentParser.js +181 -0
- package/node_modules/@sap/cds-compiler/lib/language/genericAntlrParser.js +0 -0
- package/node_modules/@sap/cds-compiler/lib/language/multiLineStringParser.js +525 -0
- package/node_modules/@sap/cds-compiler/lib/language/textUtils.js +61 -0
- package/node_modules/@sap/cds-compiler/lib/main.d.ts +1631 -0
- package/node_modules/@sap/cds-compiler/lib/main.js +212 -0
- package/node_modules/@sap/cds-compiler/lib/model/csnUtils.js +1532 -0
- package/node_modules/@sap/cds-compiler/lib/model/sortViews.js +121 -0
- package/node_modules/@sap/cds-compiler/lib/modelCompare/compare.js +475 -0
- package/node_modules/@sap/cds-compiler/lib/modelCompare/utils/filter.js +230 -0
- package/node_modules/@sap/cds-compiler/lib/parsers/AstBuildingParser.js +1696 -0
- package/node_modules/@sap/cds-compiler/lib/parsers/Lexer.js +253 -0
- package/node_modules/@sap/cds-compiler/lib/parsers/XprTree.js +269 -0
- package/node_modules/@sap/cds-compiler/lib/parsers/identifiers.js +22 -0
- package/node_modules/@sap/cds-compiler/lib/parsers/index.js +120 -0
- package/node_modules/@sap/cds-compiler/lib/render/DuplicateChecker.js +126 -0
- package/node_modules/@sap/cds-compiler/lib/render/manageConstraints.js +257 -0
- package/node_modules/@sap/cds-compiler/lib/render/toCdl.js +3084 -0
- package/node_modules/@sap/cds-compiler/lib/render/toRename.js +115 -0
- package/node_modules/@sap/cds-compiler/lib/render/toSql.js +1789 -0
- package/node_modules/@sap/cds-compiler/lib/render/utils/common.js +784 -0
- package/node_modules/@sap/cds-compiler/lib/render/utils/delta.js +291 -0
- package/node_modules/@sap/cds-compiler/lib/render/utils/operators.js +160 -0
- package/node_modules/@sap/cds-compiler/lib/render/utils/pretty.js +337 -0
- package/node_modules/@sap/cds-compiler/lib/render/utils/sql.js +225 -0
- package/node_modules/@sap/cds-compiler/lib/render/utils/standardDatabaseFunctions.js +834 -0
- package/node_modules/@sap/cds-compiler/lib/render/utils/stringEscapes.js +112 -0
- package/node_modules/@sap/cds-compiler/lib/render/utils/unique.js +52 -0
- package/node_modules/@sap/cds-compiler/lib/sql-identifier.js +109 -0
- package/node_modules/@sap/cds-compiler/lib/tool-lib/enrichCsn.js +383 -0
- package/node_modules/@sap/cds-compiler/lib/tool-lib/index.js +14 -0
- package/node_modules/@sap/cds-compiler/lib/tool-lib/inspectModelStatistics.js +82 -0
- package/node_modules/@sap/cds-compiler/lib/tool-lib/inspectPropagation.js +191 -0
- package/node_modules/@sap/cds-compiler/lib/tool-lib/inspectUtils.js +44 -0
- package/node_modules/@sap/cds-compiler/lib/tool-lib/revealInternalProperties.js +419 -0
- package/node_modules/@sap/cds-compiler/lib/transform/addTenantFields.js +431 -0
- package/node_modules/@sap/cds-compiler/lib/transform/db/applyTransformations.js +444 -0
- package/node_modules/@sap/cds-compiler/lib/transform/db/assertUnique.js +307 -0
- package/node_modules/@sap/cds-compiler/lib/transform/db/associations.js +270 -0
- package/node_modules/@sap/cds-compiler/lib/transform/db/assocsToQueries/normalizeFrom.js +33 -0
- package/node_modules/@sap/cds-compiler/lib/transform/db/assocsToQueries/transformExists.js +401 -0
- package/node_modules/@sap/cds-compiler/lib/transform/db/assocsToQueries/utils.js +449 -0
- package/node_modules/@sap/cds-compiler/lib/transform/db/backlinks.js +333 -0
- package/node_modules/@sap/cds-compiler/lib/transform/db/cdsPersistence.js +127 -0
- package/node_modules/@sap/cds-compiler/lib/transform/db/constraints.js +619 -0
- package/node_modules/@sap/cds-compiler/lib/transform/db/expansion.js +913 -0
- package/node_modules/@sap/cds-compiler/lib/transform/db/flattening.js +814 -0
- package/node_modules/@sap/cds-compiler/lib/transform/db/groupByOrderBy.js +84 -0
- package/node_modules/@sap/cds-compiler/lib/transform/db/killAnnotations.js +44 -0
- package/node_modules/@sap/cds-compiler/lib/transform/db/processSqlServices.js +135 -0
- package/node_modules/@sap/cds-compiler/lib/transform/db/rewriteCalculatedElements.js +507 -0
- package/node_modules/@sap/cds-compiler/lib/transform/db/temporal.js +263 -0
- package/node_modules/@sap/cds-compiler/lib/transform/db/views.js +404 -0
- package/node_modules/@sap/cds-compiler/lib/transform/draft/db.js +381 -0
- package/node_modules/@sap/cds-compiler/lib/transform/draft/odata.js +302 -0
- package/node_modules/@sap/cds-compiler/lib/transform/effective/annotations.js +342 -0
- package/node_modules/@sap/cds-compiler/lib/transform/effective/associations.js +81 -0
- package/node_modules/@sap/cds-compiler/lib/transform/effective/flattening.js +124 -0
- package/node_modules/@sap/cds-compiler/lib/transform/effective/main.js +164 -0
- package/node_modules/@sap/cds-compiler/lib/transform/effective/misc.js +106 -0
- package/node_modules/@sap/cds-compiler/lib/transform/effective/queries.js +40 -0
- package/node_modules/@sap/cds-compiler/lib/transform/effective/service.js +34 -0
- package/node_modules/@sap/cds-compiler/lib/transform/effective/types.js +168 -0
- package/node_modules/@sap/cds-compiler/lib/transform/featureFlags.js +10 -0
- package/node_modules/@sap/cds-compiler/lib/transform/fioriTreeViews.js +196 -0
- package/node_modules/@sap/cds-compiler/lib/transform/forOdata.js +687 -0
- package/node_modules/@sap/cds-compiler/lib/transform/forRelationalDB.js +658 -0
- package/node_modules/@sap/cds-compiler/lib/transform/localized.js +758 -0
- package/node_modules/@sap/cds-compiler/lib/transform/odata/adaptAnnotationRefs.js +101 -0
- package/node_modules/@sap/cds-compiler/lib/transform/odata/createForeignKeys.js +203 -0
- package/node_modules/@sap/cds-compiler/lib/transform/odata/flattening.js +730 -0
- package/node_modules/@sap/cds-compiler/lib/transform/odata/foreignKeyRefsInXprAnnos.js +124 -0
- package/node_modules/@sap/cds-compiler/lib/transform/odata/toFinalBaseType.js +297 -0
- package/node_modules/@sap/cds-compiler/lib/transform/odata/typesExposure.js +455 -0
- package/node_modules/@sap/cds-compiler/lib/transform/odata/utils.js +65 -0
- package/node_modules/@sap/cds-compiler/lib/transform/transformUtils.js +1000 -0
- package/node_modules/@sap/cds-compiler/lib/transform/translateAssocsToJoins.js +1905 -0
- package/node_modules/@sap/cds-compiler/lib/transform/tupleExpansion.js +548 -0
- package/node_modules/@sap/cds-compiler/lib/transform/universalCsn/coreComputed.js +194 -0
- package/node_modules/@sap/cds-compiler/lib/transform/universalCsn/universalCsnEnricher.js +800 -0
- package/node_modules/@sap/cds-compiler/lib/transform/universalCsn/utils.js +63 -0
- package/node_modules/@sap/cds-compiler/lib/utils/file.js +267 -0
- package/node_modules/@sap/cds-compiler/lib/utils/lazyload.js +37 -0
- package/node_modules/@sap/cds-compiler/lib/utils/moduleResolve.js +608 -0
- package/node_modules/@sap/cds-compiler/lib/utils/node-helpers.js +44 -0
- package/node_modules/@sap/cds-compiler/lib/utils/objectUtils.js +112 -0
- package/node_modules/@sap/cds-compiler/lib/utils/optionProcessorHelper.js +652 -0
- package/node_modules/@sap/cds-compiler/lib/utils/shuffle.js +54 -0
- package/node_modules/@sap/cds-compiler/lib/utils/term.js +102 -0
- package/node_modules/@sap/cds-compiler/lib/utils/timetrace.js +158 -0
- package/node_modules/@sap/cds-compiler/package.json +30 -0
- package/node_modules/@sap/cds-compiler/share/messages/.markdownlintrc +13 -0
- package/node_modules/@sap/cds-compiler/share/messages/README.md +62 -0
- package/node_modules/@sap/cds-compiler/share/messages/anno-duplicate-unrelated-layer.md +69 -0
- package/node_modules/@sap/cds-compiler/share/messages/anno-missing-rewrite.md +45 -0
- package/node_modules/@sap/cds-compiler/share/messages/check-proper-type-of.md +46 -0
- package/node_modules/@sap/cds-compiler/share/messages/def-duplicate-autoexposed.md +82 -0
- package/node_modules/@sap/cds-compiler/share/messages/def-missing-type.md +48 -0
- package/node_modules/@sap/cds-compiler/share/messages/def-upcoming-virtual-change.md +55 -0
- package/node_modules/@sap/cds-compiler/share/messages/extend-repeated-intralayer.md +47 -0
- package/node_modules/@sap/cds-compiler/share/messages/extend-unrelated-layer.md +58 -0
- package/node_modules/@sap/cds-compiler/share/messages/file-unexpected-case-mismatch.md +61 -0
- package/node_modules/@sap/cds-compiler/share/messages/message-explanations.json +22 -0
- package/node_modules/@sap/cds-compiler/share/messages/redirected-to-ambiguous.md +72 -0
- package/node_modules/@sap/cds-compiler/share/messages/redirected-to-complex.md +66 -0
- package/node_modules/@sap/cds-compiler/share/messages/redirected-to-unrelated.md +78 -0
- package/node_modules/@sap/cds-compiler/share/messages/rewrite-not-supported.md +61 -0
- package/node_modules/@sap/cds-compiler/share/messages/rewrite-undefined-key.md +94 -0
- package/node_modules/@sap/cds-compiler/share/messages/syntax-expecting-unsigned-int.md +41 -0
- package/node_modules/@sap/cds-compiler/share/messages/type-missing-enum-value.md +59 -0
- package/node_modules/@sap/cds-compiler/share/messages/wildcard-excluding-one.md +37 -0
- package/node_modules/@sap/cds-fiori/CHANGELOG.md +163 -0
- package/node_modules/@sap/cds-fiori/LICENSE +32 -0
- package/node_modules/@sap/cds-fiori/README.md +11 -0
- package/node_modules/@sap/cds-fiori/app/preview.js +360 -0
- package/node_modules/@sap/cds-fiori/app/routes.js +74 -0
- package/node_modules/@sap/cds-fiori/cds-plugin.js +5 -0
- package/node_modules/@sap/cds-fiori/package.json +42 -0
- package/node_modules/@sap/cds-mtxs/CHANGELOG.md +1322 -0
- package/node_modules/@sap/cds-mtxs/LICENSE +32 -0
- package/node_modules/@sap/cds-mtxs/README.md +9 -0
- package/node_modules/@sap/cds-mtxs/bin/cds-mtx-migrate.js +115 -0
- package/node_modules/@sap/cds-mtxs/bin/cds-mtx.js +134 -0
- package/node_modules/@sap/cds-mtxs/cds-plugin.js +30 -0
- package/node_modules/@sap/cds-mtxs/db/extensions.cds +10 -0
- package/node_modules/@sap/cds-mtxs/db/t0.cds +46 -0
- package/node_modules/@sap/cds-mtxs/lib/index.js +26 -0
- package/node_modules/@sap/cds-mtxs/lib/migration/extension-project-builder.js +129 -0
- package/node_modules/@sap/cds-mtxs/lib/migration/extension-project.js +89 -0
- package/node_modules/@sap/cds-mtxs/lib/migration/migration.js +485 -0
- package/node_modules/@sap/cds-mtxs/lib/migration/mtx-adapter.js +230 -0
- package/node_modules/@sap/cds-mtxs/lib/utils.js +255 -0
- package/node_modules/@sap/cds-mtxs/package.json +257 -0
- package/node_modules/@sap/cds-mtxs/srv/bootstrap.cds +2 -0
- package/node_modules/@sap/cds-mtxs/srv/bootstrap.js +33 -0
- package/node_modules/@sap/cds-mtxs/srv/cf/abstract-provisioning-service.js +307 -0
- package/node_modules/@sap/cds-mtxs/srv/cf/saas-provisioning-service.cds +30 -0
- package/node_modules/@sap/cds-mtxs/srv/cf/saas-provisioning-service.js +59 -0
- package/node_modules/@sap/cds-mtxs/srv/cf/sms-provisioning-service.cds +37 -0
- package/node_modules/@sap/cds-mtxs/srv/cf/sms-provisioning-service.js +115 -0
- package/node_modules/@sap/cds-mtxs/srv/config.js +16 -0
- package/node_modules/@sap/cds-mtxs/srv/dberrors.js +45 -0
- package/node_modules/@sap/cds-mtxs/srv/deployment-service.cds +54 -0
- package/node_modules/@sap/cds-mtxs/srv/deployment-service.js +26 -0
- package/node_modules/@sap/cds-mtxs/srv/extensibility/compat/update.js +95 -0
- package/node_modules/@sap/cds-mtxs/srv/extensibility/linter/allowlist.js +292 -0
- package/node_modules/@sap/cds-mtxs/srv/extensibility/linter/annotations.js +168 -0
- package/node_modules/@sap/cds-mtxs/srv/extensibility/linter/config.js +98 -0
- package/node_modules/@sap/cds-mtxs/srv/extensibility/linter/index.js +76 -0
- package/node_modules/@sap/cds-mtxs/srv/extensibility/linter/message.js +57 -0
- package/node_modules/@sap/cds-mtxs/srv/extensibility/linter/namespace.js +94 -0
- package/node_modules/@sap/cds-mtxs/srv/extensibility-service.cds +82 -0
- package/node_modules/@sap/cds-mtxs/srv/extensibility-service.js +550 -0
- package/node_modules/@sap/cds-mtxs/srv/jobs-service.cds +37 -0
- package/node_modules/@sap/cds-mtxs/srv/jobs-service.js +346 -0
- package/node_modules/@sap/cds-mtxs/srv/model-provider.cds +85 -0
- package/node_modules/@sap/cds-mtxs/srv/model-provider.js +412 -0
- package/node_modules/@sap/cds-mtxs/srv/plugins/common.js +130 -0
- package/node_modules/@sap/cds-mtxs/srv/plugins/hana/ctnr-mgr-base.js +154 -0
- package/node_modules/@sap/cds-mtxs/srv/plugins/hana/hdi-ctnr-mgr.js +15 -0
- package/node_modules/@sap/cds-mtxs/srv/plugins/hana/hdi.js +167 -0
- package/node_modules/@sap/cds-mtxs/srv/plugins/hana/srv-mgr.js +323 -0
- package/node_modules/@sap/cds-mtxs/srv/plugins/hana/tms.js +542 -0
- package/node_modules/@sap/cds-mtxs/srv/plugins/hana.js +381 -0
- package/node_modules/@sap/cds-mtxs/srv/plugins/sqlite.js +122 -0
- package/node_modules/@sap/cds-mtxs/srv/worker/load.js +14 -0
- package/node_modules/@sap/cds-mtxs/srv/worker/pool.js +54 -0
- package/node_modules/@sap/hdi/CHANGELOG.md +159 -0
- package/node_modules/@sap/hdi/LICENSE +38 -0
- package/node_modules/@sap/hdi/README.md +244 -0
- package/node_modules/@sap/hdi/index.js +58 -0
- package/node_modules/@sap/hdi/lib/ResultTuple.js +33 -0
- package/node_modules/@sap/hdi/lib/main/Container.js +1107 -0
- package/node_modules/@sap/hdi/lib/main/ContainerGroup.js +147 -0
- package/node_modules/@sap/hdi/lib/main/ContainerGroupBase.js +788 -0
- package/node_modules/@sap/hdi/lib/main/HDI.js +437 -0
- package/node_modules/@sap/hdi/lib/main/HDIBase.js +592 -0
- package/node_modules/@sap/hdi/lib/main/promises/ContainerGroupPromises.js +401 -0
- package/node_modules/@sap/hdi/lib/main/promises/ContainerPromises.js +454 -0
- package/node_modules/@sap/hdi/lib/main/promises/HDIPromises.js +218 -0
- package/node_modules/@sap/hdi/lib/parameter/APIPrivilege.js +47 -0
- package/node_modules/@sap/hdi/lib/parameter/File.js +25 -0
- package/node_modules/@sap/hdi/lib/parameter/FileWithContent.js +24 -0
- package/node_modules/@sap/hdi/lib/parameter/Folder.js +25 -0
- package/node_modules/@sap/hdi/lib/parameter/FolderWithContent.js +24 -0
- package/node_modules/@sap/hdi/lib/parameter/HDIObject.js +40 -0
- package/node_modules/@sap/hdi/lib/parameter/LibraryConfiguration.js +62 -0
- package/node_modules/@sap/hdi/lib/parameter/Parameter.js +73 -0
- package/node_modules/@sap/hdi/lib/parameter/Path.js +39 -0
- package/node_modules/@sap/hdi/lib/parameter/PathParameter.js +43 -0
- package/node_modules/@sap/hdi/lib/parameter/PathWithContent.js +41 -0
- package/node_modules/@sap/hdi/lib/parameter/SchemaPrivilege.js +44 -0
- package/node_modules/@sap/hdi/lib/parameter/SchemaRole.js +44 -0
- package/node_modules/@sap/hdi/lib/parameter/TableRow.js +72 -0
- package/node_modules/@sap/hdi/lib/parameter/parameterCheck.js +41 -0
- package/node_modules/@sap/hdi/lib/result/DependencyResultTuple.js +105 -0
- package/node_modules/@sap/hdi/lib/result/LibraryInformationResultTuple.js +62 -0
- package/node_modules/@sap/hdi/lib/result/MakeGroupResultTuple.js +57 -0
- package/node_modules/@sap/hdi/lib/result/MetadataContentResultTuple.js +56 -0
- package/node_modules/@sap/hdi/lib/result/MetadataResult.js +40 -0
- package/node_modules/@sap/hdi/lib/result/MetadataResultTuple.js +37 -0
- package/node_modules/@sap/hdi/lib/result/StatusResultTuple.js +59 -0
- package/node_modules/@sap/hdi/lib/util/Constants.js +55 -0
- package/node_modules/@sap/hdi/lib/util/callback.js +18 -0
- package/node_modules/@sap/hdi/lib/util/connection.js +20 -0
- package/node_modules/@sap/hdi/lib/util/schema_escaping.js +11 -0
- package/node_modules/@sap/hdi/lib/util/typeCheck.js +43 -0
- package/node_modules/@sap/hdi/lib/util/wrap.js +23 -0
- package/node_modules/@sap/hdi/package.json +37 -0
- package/node_modules/@sap/hdi-deploy/CHANGELOG.md +672 -0
- package/node_modules/@sap/hdi-deploy/LICENSE +38 -0
- package/node_modules/@sap/hdi-deploy/README.md +1237 -0
- package/node_modules/@sap/hdi-deploy/deploy.js +1070 -0
- package/node_modules/@sap/hdi-deploy/lib/IgnoreFile.js +56 -0
- package/node_modules/@sap/hdi-deploy/lib/arguments.js +203 -0
- package/node_modules/@sap/hdi-deploy/lib/check_client.js +31 -0
- package/node_modules/@sap/hdi-deploy/lib/client-info.js +80 -0
- package/node_modules/@sap/hdi-deploy/lib/connections.js +4 -0
- package/node_modules/@sap/hdi-deploy/lib/content.js +478 -0
- package/node_modules/@sap/hdi-deploy/lib/deploy.js +113 -0
- package/node_modules/@sap/hdi-deploy/lib/features.client.js +59 -0
- package/node_modules/@sap/hdi-deploy/lib/fileWalker.js +58 -0
- package/node_modules/@sap/hdi-deploy/lib/fileWorker.js +85 -0
- package/node_modules/@sap/hdi-deploy/lib/filters/PathFilter.js +211 -0
- package/node_modules/@sap/hdi-deploy/lib/filters/regex-helper.js +87 -0
- package/node_modules/@sap/hdi-deploy/lib/hana-helper.js +1055 -0
- package/node_modules/@sap/hdi-deploy/lib/hdi.js +77 -0
- package/node_modules/@sap/hdi-deploy/lib/hdiTables.js +32 -0
- package/node_modules/@sap/hdi-deploy/lib/hdi_utils.js +356 -0
- package/node_modules/@sap/hdi-deploy/lib/info.js +44 -0
- package/node_modules/@sap/hdi-deploy/lib/json-comment-stripper.js +147 -0
- package/node_modules/@sap/hdi-deploy/lib/liveness-ping.js +53 -0
- package/node_modules/@sap/hdi-deploy/lib/logger.js +434 -0
- package/node_modules/@sap/hdi-deploy/lib/make.js +460 -0
- package/node_modules/@sap/hdi-deploy/lib/messages.hdi.js +7 -0
- package/node_modules/@sap/hdi-deploy/lib/options.js +49 -0
- package/node_modules/@sap/hdi-deploy/lib/ownership_checker.js +87 -0
- package/node_modules/@sap/hdi-deploy/lib/paths.js +71 -0
- package/node_modules/@sap/hdi-deploy/lib/privileges/grantor.js +94 -0
- package/node_modules/@sap/hdi-deploy/lib/privileges/privilege_utils.js +414 -0
- package/node_modules/@sap/hdi-deploy/lib/privileges/privileges.js +73 -0
- package/node_modules/@sap/hdi-deploy/lib/privileges/revoker.js +94 -0
- package/node_modules/@sap/hdi-deploy/lib/privileges/strategies.js +1049 -0
- package/node_modules/@sap/hdi-deploy/lib/services.js +253 -0
- package/node_modules/@sap/hdi-deploy/lib/shared-password-service.js +62 -0
- package/node_modules/@sap/hdi-deploy/lib/status.js +113 -0
- package/node_modules/@sap/hdi-deploy/lib/tasks.js +985 -0
- package/node_modules/@sap/hdi-deploy/lib/template.js +91 -0
- package/node_modules/@sap/hdi-deploy/lib/utils.js +717 -0
- package/node_modules/@sap/hdi-deploy/lib/version.cloud.js +71 -0
- package/node_modules/@sap/hdi-deploy/lib/version.container-api.js +100 -0
- package/node_modules/@sap/hdi-deploy/lib/version.hdi-version.js +101 -0
- package/node_modules/@sap/hdi-deploy/lib/version.server.js +145 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/Generator.js +598 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/artifact-visitors/AccessArtifactParserVisitor.js +68 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/artifact-visitors/ArtifactVisitor.js +11 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/artifact-visitors/DataArtifactParserVisitor.js +75 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/file-artifacts/AccessContainerDuplicate.js +16 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/file-artifacts/DataContainerDuplicate.js +16 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/file-artifacts/FileArtifact.js +228 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/file-artifacts/FileArtifactsFactory.js +243 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/file-artifacts/HDBCDS.js +182 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/file-artifacts/HDBRole.js +26 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/file-artifacts/HDBSequence.js +29 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/file-artifacts/HDBTable.js +82 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/file-artifacts/HDIConfig.js +203 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/file-artifacts/HDINamespace.js +16 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/model/Model.js +306 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/model/ModelSerializer.js +132 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/model-artifacts/Column.js +19 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/model-artifacts/Context.js +117 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/model-artifacts/DataControlLanguageModelArtifact.js +14 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/model-artifacts/DerivedType.js +23 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/model-artifacts/Entity.js +14 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/model-artifacts/ModelArtifact.js +22 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/model-artifacts/ModelArtifactsFactory.js +80 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/model-artifacts/StructuredType.js +23 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/model-artifacts/TableModelArtifact.js +41 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/generator/model-artifacts/View.js +14 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/resources/cfg/projectionViewConfig.hdbprojectionviewconfig.template +8 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/resources/cfg/synonym.hdbsynonymconfig.template +8 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/resources/cfg/zdm_data_access.hdbgrants.template +10 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/resources/src/namespace.hdinamespace.template +4 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/resources/src/projectionView.hdbprojectionview.template +5 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/resources/src/synonym.hdbsynonym.template +4 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/resources/src/zdm_access.hdbrole.template +10 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/resources/src/zdm_sequences.hdbrole.template +12 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/tasks/FinalizeTask.js +80 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/tasks/InstallTask.js +93 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/tasks/StartTask.js +101 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/tasks/Task.js +110 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/tasks/taskFactory.js +23 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/zdmDeployer.js +34 -0
- package/node_modules/@sap/hdi-deploy/lib/zdm/zdmUtils.js +257 -0
- package/node_modules/@sap/hdi-deploy/library.js +129 -0
- package/node_modules/@sap/hdi-deploy/package.json +42 -0
- package/node_modules/@sap/xsenv/CHANGELOG.md +236 -0
- package/node_modules/@sap/xsenv/LICENSE +37 -0
- package/node_modules/@sap/xsenv/README.md +548 -0
- package/node_modules/@sap/xsenv/index.js +17 -0
- package/node_modules/@sap/xsenv/lib/cacert.js +26 -0
- package/node_modules/@sap/xsenv/lib/cfservice.js +59 -0
- package/node_modules/@sap/xsenv/lib/filter.js +42 -0
- package/node_modules/@sap/xsenv/lib/k8sservice.js +121 -0
- package/node_modules/@sap/xsenv/lib/loadEnv.js +31 -0
- package/node_modules/@sap/xsenv/lib/redactServiceData.js +32 -0
- package/node_modules/@sap/xsenv/lib/serviceBindingService.js +146 -0
- package/node_modules/@sap/xsenv/lib/xsservices.js +180 -0
- package/node_modules/@sap/xsenv/migration.md +49 -0
- package/node_modules/@sap/xsenv/package.json +49 -0
- package/node_modules/accepts/HISTORY.md +250 -0
- package/node_modules/accepts/LICENSE +23 -0
- package/node_modules/accepts/README.md +140 -0
- package/node_modules/accepts/index.js +238 -0
- package/node_modules/accepts/package.json +47 -0
- package/node_modules/assert-plus/AUTHORS +6 -0
- package/node_modules/assert-plus/CHANGES.md +14 -0
- package/node_modules/assert-plus/README.md +162 -0
- package/node_modules/assert-plus/assert.js +211 -0
- package/node_modules/assert-plus/package.json +23 -0
- package/node_modules/async/CHANGELOG.md +351 -0
- package/node_modules/async/LICENSE +19 -0
- package/node_modules/async/README.md +59 -0
- package/node_modules/async/all.js +119 -0
- package/node_modules/async/allLimit.js +46 -0
- package/node_modules/async/allSeries.js +45 -0
- package/node_modules/async/any.js +122 -0
- package/node_modules/async/anyLimit.js +47 -0
- package/node_modules/async/anySeries.js +46 -0
- package/node_modules/async/apply.js +11 -0
- package/node_modules/async/applyEach.js +57 -0
- package/node_modules/async/applyEachSeries.js +37 -0
- package/node_modules/async/asyncify.js +118 -0
- package/node_modules/async/auto.js +333 -0
- package/node_modules/async/autoInject.js +182 -0
- package/node_modules/async/bower.json +17 -0
- package/node_modules/async/cargo.js +63 -0
- package/node_modules/async/cargoQueue.js +71 -0
- package/node_modules/async/compose.js +55 -0
- package/node_modules/async/concat.js +115 -0
- package/node_modules/async/concatLimit.js +60 -0
- package/node_modules/async/concatSeries.js +41 -0
- package/node_modules/async/constant.js +14 -0
- package/node_modules/async/detect.js +96 -0
- package/node_modules/async/detectLimit.js +48 -0
- package/node_modules/async/detectSeries.js +47 -0
- package/node_modules/async/dir.js +43 -0
- package/node_modules/async/dist/async.js +6061 -0
- package/node_modules/async/dist/async.min.js +1 -0
- package/node_modules/async/dist/async.mjs +5948 -0
- package/node_modules/async/doDuring.js +68 -0
- package/node_modules/async/doUntil.js +46 -0
- package/node_modules/async/doWhilst.js +68 -0
- package/node_modules/async/during.js +78 -0
- package/node_modules/async/each.js +129 -0
- package/node_modules/async/eachLimit.js +50 -0
- package/node_modules/async/eachOf.js +185 -0
- package/node_modules/async/eachOfLimit.js +47 -0
- package/node_modules/async/eachOfSeries.js +39 -0
- package/node_modules/async/eachSeries.js +44 -0
- package/node_modules/async/ensureAsync.js +67 -0
- package/node_modules/async/every.js +119 -0
- package/node_modules/async/everyLimit.js +46 -0
- package/node_modules/async/everySeries.js +45 -0
- package/node_modules/async/filter.js +93 -0
- package/node_modules/async/filterLimit.js +45 -0
- package/node_modules/async/filterSeries.js +43 -0
- package/node_modules/async/find.js +96 -0
- package/node_modules/async/findLimit.js +48 -0
- package/node_modules/async/findSeries.js +47 -0
- package/node_modules/async/flatMap.js +115 -0
- package/node_modules/async/flatMapLimit.js +60 -0
- package/node_modules/async/flatMapSeries.js +41 -0
- package/node_modules/async/foldl.js +153 -0
- package/node_modules/async/foldr.js +41 -0
- package/node_modules/async/forEach.js +129 -0
- package/node_modules/async/forEachLimit.js +50 -0
- package/node_modules/async/forEachOf.js +185 -0
- package/node_modules/async/forEachOfLimit.js +47 -0
- package/node_modules/async/forEachOfSeries.js +39 -0
- package/node_modules/async/forEachSeries.js +44 -0
- package/node_modules/async/forever.js +68 -0
- package/node_modules/async/groupBy.js +108 -0
- package/node_modules/async/groupByLimit.js +71 -0
- package/node_modules/async/groupBySeries.js +36 -0
- package/node_modules/async/index.js +588 -0
- package/node_modules/async/inject.js +153 -0
- package/node_modules/async/internal/DoublyLinkedList.js +92 -0
- package/node_modules/async/internal/Heap.js +120 -0
- package/node_modules/async/internal/applyEach.js +29 -0
- package/node_modules/async/internal/asyncEachOfLimit.js +75 -0
- package/node_modules/async/internal/awaitify.js +28 -0
- package/node_modules/async/internal/breakLoop.js +10 -0
- package/node_modules/async/internal/consoleFunc.js +31 -0
- package/node_modules/async/internal/createTester.js +40 -0
- package/node_modules/async/internal/eachOfLimit.js +90 -0
- package/node_modules/async/internal/filter.js +55 -0
- package/node_modules/async/internal/getIterator.js +11 -0
- package/node_modules/async/internal/initialParams.js +14 -0
- package/node_modules/async/internal/isArrayLike.js +10 -0
- package/node_modules/async/internal/iterator.js +57 -0
- package/node_modules/async/internal/map.js +30 -0
- package/node_modules/async/internal/once.js +17 -0
- package/node_modules/async/internal/onlyOnce.js +15 -0
- package/node_modules/async/internal/parallel.js +34 -0
- package/node_modules/async/internal/promiseCallback.js +23 -0
- package/node_modules/async/internal/queue.js +294 -0
- package/node_modules/async/internal/range.js +14 -0
- package/node_modules/async/internal/reject.js +26 -0
- package/node_modules/async/internal/setImmediate.js +34 -0
- package/node_modules/async/internal/withoutIndex.js +10 -0
- package/node_modules/async/internal/wrapAsync.js +34 -0
- package/node_modules/async/log.js +41 -0
- package/node_modules/async/map.js +142 -0
- package/node_modules/async/mapLimit.js +45 -0
- package/node_modules/async/mapSeries.js +44 -0
- package/node_modules/async/mapValues.js +152 -0
- package/node_modules/async/mapValuesLimit.js +61 -0
- package/node_modules/async/mapValuesSeries.js +37 -0
- package/node_modules/async/memoize.js +91 -0
- package/node_modules/async/nextTick.js +52 -0
- package/node_modules/async/package.json +75 -0
- package/node_modules/async/parallel.js +180 -0
- package/node_modules/async/parallelLimit.js +41 -0
- package/node_modules/async/priorityQueue.js +60 -0
- package/node_modules/async/queue.js +24 -0
- package/node_modules/async/race.js +67 -0
- package/node_modules/async/reduce.js +153 -0
- package/node_modules/async/reduceRight.js +41 -0
- package/node_modules/async/reflect.js +78 -0
- package/node_modules/async/reflectAll.js +93 -0
- package/node_modules/async/reject.js +87 -0
- package/node_modules/async/rejectLimit.js +45 -0
- package/node_modules/async/rejectSeries.js +43 -0
- package/node_modules/async/retry.js +159 -0
- package/node_modules/async/retryable.js +77 -0
- package/node_modules/async/select.js +93 -0
- package/node_modules/async/selectLimit.js +45 -0
- package/node_modules/async/selectSeries.js +43 -0
- package/node_modules/async/seq.js +79 -0
- package/node_modules/async/series.js +186 -0
- package/node_modules/async/setImmediate.js +45 -0
- package/node_modules/async/some.js +122 -0
- package/node_modules/async/someLimit.js +47 -0
- package/node_modules/async/someSeries.js +46 -0
- package/node_modules/async/sortBy.js +190 -0
- package/node_modules/async/timeout.js +89 -0
- package/node_modules/async/times.js +50 -0
- package/node_modules/async/timesLimit.js +43 -0
- package/node_modules/async/timesSeries.js +32 -0
- package/node_modules/async/transform.js +173 -0
- package/node_modules/async/tryEach.js +78 -0
- package/node_modules/async/unmemoize.js +25 -0
- package/node_modules/async/until.js +61 -0
- package/node_modules/async/waterfall.js +105 -0
- package/node_modules/async/whilst.js +78 -0
- package/node_modules/async/wrapSync.js +118 -0
- package/node_modules/body-parser/LICENSE +23 -0
- package/node_modules/body-parser/README.md +509 -0
- package/node_modules/body-parser/index.js +55 -0
- package/node_modules/body-parser/lib/read.js +247 -0
- package/node_modules/body-parser/lib/types/json.js +186 -0
- package/node_modules/body-parser/lib/types/raw.js +42 -0
- package/node_modules/body-parser/lib/types/text.js +36 -0
- package/node_modules/body-parser/lib/types/urlencoded.js +138 -0
- package/node_modules/body-parser/lib/utils.js +100 -0
- package/node_modules/body-parser/node_modules/content-type/LICENSE +22 -0
- package/node_modules/body-parser/node_modules/content-type/README.md +69 -0
- package/node_modules/body-parser/node_modules/content-type/dist/index.d.ts +26 -0
- package/node_modules/body-parser/node_modules/content-type/dist/index.js +170 -0
- package/node_modules/body-parser/node_modules/content-type/dist/index.js.map +1 -0
- package/node_modules/body-parser/node_modules/content-type/package.json +52 -0
- package/node_modules/body-parser/package.json +65 -0
- package/node_modules/braces/LICENSE +21 -0
- package/node_modules/braces/README.md +586 -0
- package/node_modules/braces/index.js +170 -0
- package/node_modules/braces/lib/compile.js +60 -0
- package/node_modules/braces/lib/constants.js +57 -0
- package/node_modules/braces/lib/expand.js +113 -0
- package/node_modules/braces/lib/parse.js +331 -0
- package/node_modules/braces/lib/stringify.js +32 -0
- package/node_modules/braces/lib/utils.js +122 -0
- package/node_modules/braces/package.json +77 -0
- package/node_modules/bytes/History.md +97 -0
- package/node_modules/bytes/LICENSE +23 -0
- package/node_modules/bytes/Readme.md +152 -0
- package/node_modules/bytes/index.js +170 -0
- package/node_modules/bytes/package.json +42 -0
- package/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
- package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
- package/node_modules/call-bind-apply-helpers/.nycrc +9 -0
- package/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
- package/node_modules/call-bind-apply-helpers/LICENSE +21 -0
- package/node_modules/call-bind-apply-helpers/README.md +62 -0
- package/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
- package/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
- package/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
- package/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
- package/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
- package/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
- package/node_modules/call-bind-apply-helpers/index.js +15 -0
- package/node_modules/call-bind-apply-helpers/package.json +85 -0
- package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
- package/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
- package/node_modules/call-bind-apply-helpers/test/index.js +63 -0
- package/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
- package/node_modules/call-bound/.eslintrc +13 -0
- package/node_modules/call-bound/.github/FUNDING.yml +12 -0
- package/node_modules/call-bound/.nycrc +9 -0
- package/node_modules/call-bound/CHANGELOG.md +42 -0
- package/node_modules/call-bound/LICENSE +21 -0
- package/node_modules/call-bound/README.md +53 -0
- package/node_modules/call-bound/index.d.ts +94 -0
- package/node_modules/call-bound/index.js +19 -0
- package/node_modules/call-bound/package.json +99 -0
- package/node_modules/call-bound/test/index.js +61 -0
- package/node_modules/call-bound/tsconfig.json +10 -0
- package/node_modules/clone/.npmignore +4 -0
- package/node_modules/clone/LICENSE +18 -0
- package/node_modules/clone/README.md +194 -0
- package/node_modules/clone/clone.iml +10 -0
- package/node_modules/clone/clone.js +257 -0
- package/node_modules/clone/package.json +56 -0
- package/node_modules/content-disposition/LICENSE +22 -0
- package/node_modules/content-disposition/README.md +141 -0
- package/node_modules/content-disposition/index.js +536 -0
- package/node_modules/content-disposition/package.json +40 -0
- package/node_modules/content-type/HISTORY.md +29 -0
- package/node_modules/content-type/LICENSE +22 -0
- package/node_modules/content-type/README.md +94 -0
- package/node_modules/content-type/index.js +225 -0
- package/node_modules/content-type/package.json +42 -0
- package/node_modules/cookie/LICENSE +24 -0
- package/node_modules/cookie/README.md +317 -0
- package/node_modules/cookie/SECURITY.md +25 -0
- package/node_modules/cookie/index.js +335 -0
- package/node_modules/cookie/package.json +44 -0
- package/node_modules/cookie-signature/History.md +70 -0
- package/node_modules/cookie-signature/LICENSE +22 -0
- package/node_modules/cookie-signature/Readme.md +23 -0
- package/node_modules/cookie-signature/index.js +47 -0
- package/node_modules/cookie-signature/package.json +28 -0
- package/node_modules/core-util-is/LICENSE +19 -0
- package/node_modules/core-util-is/README.md +3 -0
- package/node_modules/core-util-is/float.patch +604 -0
- package/node_modules/core-util-is/lib/util.js +107 -0
- package/node_modules/core-util-is/package.json +32 -0
- package/node_modules/core-util-is/test.js +68 -0
- package/node_modules/debug/LICENSE +20 -0
- package/node_modules/debug/README.md +481 -0
- package/node_modules/debug/package.json +64 -0
- package/node_modules/debug/src/browser.js +272 -0
- package/node_modules/debug/src/common.js +292 -0
- package/node_modules/debug/src/index.js +10 -0
- package/node_modules/debug/src/node.js +263 -0
- package/node_modules/depd/History.md +103 -0
- package/node_modules/depd/LICENSE +22 -0
- package/node_modules/depd/Readme.md +280 -0
- package/node_modules/depd/index.js +538 -0
- package/node_modules/depd/lib/browser/index.js +77 -0
- package/node_modules/depd/package.json +45 -0
- package/node_modules/dotenv/CHANGELOG.md +520 -0
- package/node_modules/dotenv/LICENSE +23 -0
- package/node_modules/dotenv/README-es.md +411 -0
- package/node_modules/dotenv/README.md +645 -0
- package/node_modules/dotenv/SECURITY.md +1 -0
- package/node_modules/dotenv/config.d.ts +1 -0
- package/node_modules/dotenv/config.js +9 -0
- package/node_modules/dotenv/lib/cli-options.js +17 -0
- package/node_modules/dotenv/lib/env-options.js +28 -0
- package/node_modules/dotenv/lib/main.d.ts +162 -0
- package/node_modules/dotenv/lib/main.js +386 -0
- package/node_modules/dotenv/package.json +62 -0
- package/node_modules/dunder-proto/.eslintrc +5 -0
- package/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
- package/node_modules/dunder-proto/.nycrc +13 -0
- package/node_modules/dunder-proto/CHANGELOG.md +24 -0
- package/node_modules/dunder-proto/LICENSE +21 -0
- package/node_modules/dunder-proto/README.md +54 -0
- package/node_modules/dunder-proto/get.d.ts +5 -0
- package/node_modules/dunder-proto/get.js +30 -0
- package/node_modules/dunder-proto/package.json +76 -0
- package/node_modules/dunder-proto/set.d.ts +5 -0
- package/node_modules/dunder-proto/set.js +35 -0
- package/node_modules/dunder-proto/test/get.js +34 -0
- package/node_modules/dunder-proto/test/index.js +4 -0
- package/node_modules/dunder-proto/test/set.js +50 -0
- package/node_modules/dunder-proto/tsconfig.json +9 -0
- package/node_modules/ee-first/LICENSE +22 -0
- package/node_modules/ee-first/README.md +80 -0
- package/node_modules/ee-first/index.js +95 -0
- package/node_modules/ee-first/package.json +29 -0
- package/node_modules/encodeurl/LICENSE +22 -0
- package/node_modules/encodeurl/README.md +109 -0
- package/node_modules/encodeurl/index.js +60 -0
- package/node_modules/encodeurl/package.json +40 -0
- package/node_modules/es-define-property/.eslintrc +13 -0
- package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/node_modules/es-define-property/.nycrc +9 -0
- package/node_modules/es-define-property/CHANGELOG.md +29 -0
- package/node_modules/es-define-property/LICENSE +21 -0
- package/node_modules/es-define-property/README.md +49 -0
- package/node_modules/es-define-property/index.d.ts +3 -0
- package/node_modules/es-define-property/index.js +14 -0
- package/node_modules/es-define-property/package.json +81 -0
- package/node_modules/es-define-property/test/index.js +56 -0
- package/node_modules/es-define-property/tsconfig.json +10 -0
- package/node_modules/es-errors/.eslintrc +5 -0
- package/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/node_modules/es-errors/CHANGELOG.md +40 -0
- package/node_modules/es-errors/LICENSE +21 -0
- package/node_modules/es-errors/README.md +55 -0
- package/node_modules/es-errors/eval.d.ts +3 -0
- package/node_modules/es-errors/eval.js +4 -0
- package/node_modules/es-errors/index.d.ts +3 -0
- package/node_modules/es-errors/index.js +4 -0
- package/node_modules/es-errors/package.json +80 -0
- package/node_modules/es-errors/range.d.ts +3 -0
- package/node_modules/es-errors/range.js +4 -0
- package/node_modules/es-errors/ref.d.ts +3 -0
- package/node_modules/es-errors/ref.js +4 -0
- package/node_modules/es-errors/syntax.d.ts +3 -0
- package/node_modules/es-errors/syntax.js +4 -0
- package/node_modules/es-errors/test/index.js +19 -0
- package/node_modules/es-errors/tsconfig.json +49 -0
- package/node_modules/es-errors/type.d.ts +3 -0
- package/node_modules/es-errors/type.js +4 -0
- package/node_modules/es-errors/uri.d.ts +3 -0
- package/node_modules/es-errors/uri.js +4 -0
- package/node_modules/es-object-atoms/.eslintrc +16 -0
- package/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
- package/node_modules/es-object-atoms/CHANGELOG.md +44 -0
- package/node_modules/es-object-atoms/LICENSE +21 -0
- package/node_modules/es-object-atoms/README.md +63 -0
- package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
- package/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
- package/node_modules/es-object-atoms/ToObject.d.ts +7 -0
- package/node_modules/es-object-atoms/ToObject.js +10 -0
- package/node_modules/es-object-atoms/index.d.ts +3 -0
- package/node_modules/es-object-atoms/index.js +4 -0
- package/node_modules/es-object-atoms/isObject.d.ts +3 -0
- package/node_modules/es-object-atoms/isObject.js +6 -0
- package/node_modules/es-object-atoms/package.json +79 -0
- package/node_modules/es-object-atoms/test/index.js +38 -0
- package/node_modules/es-object-atoms/tsconfig.json +7 -0
- package/node_modules/escape-html/LICENSE +24 -0
- package/node_modules/escape-html/Readme.md +43 -0
- package/node_modules/escape-html/index.js +78 -0
- package/node_modules/escape-html/package.json +24 -0
- package/node_modules/etag/HISTORY.md +83 -0
- package/node_modules/etag/LICENSE +22 -0
- package/node_modules/etag/README.md +159 -0
- package/node_modules/etag/index.js +131 -0
- package/node_modules/etag/package.json +47 -0
- package/node_modules/express/LICENSE +24 -0
- package/node_modules/express/Readme.md +276 -0
- package/node_modules/express/index.js +11 -0
- package/node_modules/express/lib/application.js +631 -0
- package/node_modules/express/lib/express.js +81 -0
- package/node_modules/express/lib/request.js +514 -0
- package/node_modules/express/lib/response.js +1053 -0
- package/node_modules/express/lib/utils.js +271 -0
- package/node_modules/express/lib/view.js +205 -0
- package/node_modules/express/package.json +99 -0
- package/node_modules/extsprintf/.gitmodules +3 -0
- package/node_modules/extsprintf/CHANGES.md +10 -0
- package/node_modules/extsprintf/CONTRIBUTING.md +17 -0
- package/node_modules/extsprintf/LICENSE +19 -0
- package/node_modules/extsprintf/Makefile +30 -0
- package/node_modules/extsprintf/Makefile.targ +285 -0
- package/node_modules/extsprintf/README.md +46 -0
- package/node_modules/extsprintf/jsl.node.conf +137 -0
- package/node_modules/extsprintf/lib/extsprintf.js +225 -0
- package/node_modules/extsprintf/package.json +14 -0
- package/node_modules/extsprintf/test/tst.basic.js +118 -0
- package/node_modules/extsprintf/test/tst.invalid.js +78 -0
- package/node_modules/fill-range/LICENSE +21 -0
- package/node_modules/fill-range/README.md +237 -0
- package/node_modules/fill-range/index.js +248 -0
- package/node_modules/fill-range/package.json +74 -0
- package/node_modules/finalhandler/HISTORY.md +239 -0
- package/node_modules/finalhandler/LICENSE +22 -0
- package/node_modules/finalhandler/README.md +150 -0
- package/node_modules/finalhandler/index.js +293 -0
- package/node_modules/finalhandler/package.json +47 -0
- package/node_modules/forwarded/HISTORY.md +21 -0
- package/node_modules/forwarded/LICENSE +22 -0
- package/node_modules/forwarded/README.md +57 -0
- package/node_modules/forwarded/index.js +90 -0
- package/node_modules/forwarded/package.json +45 -0
- package/node_modules/fresh/HISTORY.md +80 -0
- package/node_modules/fresh/LICENSE +23 -0
- package/node_modules/fresh/README.md +117 -0
- package/node_modules/fresh/index.js +136 -0
- package/node_modules/fresh/package.json +46 -0
- package/node_modules/function-bind/.eslintrc +21 -0
- package/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/node_modules/function-bind/.nycrc +13 -0
- package/node_modules/function-bind/CHANGELOG.md +136 -0
- package/node_modules/function-bind/LICENSE +20 -0
- package/node_modules/function-bind/README.md +46 -0
- package/node_modules/function-bind/implementation.js +84 -0
- package/node_modules/function-bind/index.js +5 -0
- package/node_modules/function-bind/package.json +87 -0
- package/node_modules/function-bind/test/.eslintrc +9 -0
- package/node_modules/function-bind/test/index.js +252 -0
- package/node_modules/get-intrinsic/.eslintrc +42 -0
- package/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/node_modules/get-intrinsic/.nycrc +9 -0
- package/node_modules/get-intrinsic/CHANGELOG.md +186 -0
- package/node_modules/get-intrinsic/LICENSE +21 -0
- package/node_modules/get-intrinsic/README.md +71 -0
- package/node_modules/get-intrinsic/index.js +378 -0
- package/node_modules/get-intrinsic/package.json +97 -0
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/node_modules/get-proto/.eslintrc +10 -0
- package/node_modules/get-proto/.github/FUNDING.yml +12 -0
- package/node_modules/get-proto/.nycrc +9 -0
- package/node_modules/get-proto/CHANGELOG.md +21 -0
- package/node_modules/get-proto/LICENSE +21 -0
- package/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
- package/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/node_modules/get-proto/README.md +50 -0
- package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
- package/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
- package/node_modules/get-proto/index.d.ts +5 -0
- package/node_modules/get-proto/index.js +27 -0
- package/node_modules/get-proto/package.json +81 -0
- package/node_modules/get-proto/test/index.js +68 -0
- package/node_modules/get-proto/tsconfig.json +9 -0
- package/node_modules/gopd/.eslintrc +16 -0
- package/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/node_modules/gopd/CHANGELOG.md +45 -0
- package/node_modules/gopd/LICENSE +21 -0
- package/node_modules/gopd/README.md +40 -0
- package/node_modules/gopd/gOPD.d.ts +1 -0
- package/node_modules/gopd/gOPD.js +4 -0
- package/node_modules/gopd/index.d.ts +5 -0
- package/node_modules/gopd/index.js +15 -0
- package/node_modules/gopd/package.json +77 -0
- package/node_modules/gopd/test/index.js +36 -0
- package/node_modules/gopd/tsconfig.json +9 -0
- package/node_modules/handlebars/LICENSE +19 -0
- package/node_modules/handlebars/README.markdown +167 -0
- package/node_modules/handlebars/bin/.eslintrc.js +6 -0
- package/node_modules/handlebars/bin/handlebars +176 -0
- package/node_modules/handlebars/dist/amd/handlebars/base.js +106 -0
- package/node_modules/handlebars/dist/amd/handlebars/compiler/ast.js +31 -0
- package/node_modules/handlebars/dist/amd/handlebars/compiler/base.js +102 -0
- package/node_modules/handlebars/dist/amd/handlebars/compiler/code-gen.js +165 -0
- package/node_modules/handlebars/dist/amd/handlebars/compiler/compiler.js +562 -0
- package/node_modules/handlebars/dist/amd/handlebars/compiler/helpers.js +228 -0
- package/node_modules/handlebars/dist/amd/handlebars/compiler/javascript-compiler.js +1158 -0
- package/node_modules/handlebars/dist/amd/handlebars/compiler/parser.js +737 -0
- package/node_modules/handlebars/dist/amd/handlebars/compiler/printer.js +186 -0
- package/node_modules/handlebars/dist/amd/handlebars/compiler/visitor.js +138 -0
- package/node_modules/handlebars/dist/amd/handlebars/compiler/whitespace-control.js +219 -0
- package/node_modules/handlebars/dist/amd/handlebars/decorators/inline.js +25 -0
- package/node_modules/handlebars/dist/amd/handlebars/decorators.js +16 -0
- package/node_modules/handlebars/dist/amd/handlebars/exception.js +64 -0
- package/node_modules/handlebars/dist/amd/handlebars/helpers/block-helper-missing.js +35 -0
- package/node_modules/handlebars/dist/amd/handlebars/helpers/each.js +99 -0
- package/node_modules/handlebars/dist/amd/handlebars/helpers/helper-missing.js +22 -0
- package/node_modules/handlebars/dist/amd/handlebars/helpers/if.js +41 -0
- package/node_modules/handlebars/dist/amd/handlebars/helpers/log.js +24 -0
- package/node_modules/handlebars/dist/amd/handlebars/helpers/lookup.js +14 -0
- package/node_modules/handlebars/dist/amd/handlebars/helpers/with.js +38 -0
- package/node_modules/handlebars/dist/amd/handlebars/helpers.js +45 -0
- package/node_modules/handlebars/dist/amd/handlebars/internal/proto-access.js +76 -0
- package/node_modules/handlebars/dist/amd/handlebars/internal/wrapHelper.js +21 -0
- package/node_modules/handlebars/dist/amd/handlebars/logger.js +44 -0
- package/node_modules/handlebars/dist/amd/handlebars/no-conflict.js +28 -0
- package/node_modules/handlebars/dist/amd/handlebars/runtime.js +363 -0
- package/node_modules/handlebars/dist/amd/handlebars/safe-string.js +15 -0
- package/node_modules/handlebars/dist/amd/handlebars/utils.js +126 -0
- package/node_modules/handlebars/dist/amd/handlebars.js +52 -0
- package/node_modules/handlebars/dist/amd/handlebars.runtime.js +44 -0
- package/node_modules/handlebars/dist/amd/precompiler.js +345 -0
- package/node_modules/handlebars/dist/cjs/handlebars/base.js +116 -0
- package/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js +31 -0
- package/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js +116 -0
- package/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js +168 -0
- package/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js +566 -0
- package/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js +228 -0
- package/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js +1166 -0
- package/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js +737 -0
- package/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js +186 -0
- package/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js +140 -0
- package/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js +221 -0
- package/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js +29 -0
- package/node_modules/handlebars/dist/cjs/handlebars/decorators.js +16 -0
- package/node_modules/handlebars/dist/cjs/handlebars/exception.js +64 -0
- package/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js +39 -0
- package/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js +104 -0
- package/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js +25 -0
- package/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js +46 -0
- package/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js +26 -0
- package/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js +16 -0
- package/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js +43 -0
- package/node_modules/handlebars/dist/cjs/handlebars/helpers.js +57 -0
- package/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js +78 -0
- package/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js +19 -0
- package/node_modules/handlebars/dist/cjs/handlebars/logger.js +47 -0
- package/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js +30 -0
- package/node_modules/handlebars/dist/cjs/handlebars/runtime.js +379 -0
- package/node_modules/handlebars/dist/cjs/handlebars/safe-string.js +15 -0
- package/node_modules/handlebars/dist/cjs/handlebars/utils.js +124 -0
- package/node_modules/handlebars/dist/cjs/handlebars.js +66 -0
- package/node_modules/handlebars/dist/cjs/handlebars.runtime.js +66 -0
- package/node_modules/handlebars/dist/cjs/precompiler.js +359 -0
- package/node_modules/handlebars/dist/handlebars.amd.js +4694 -0
- package/node_modules/handlebars/dist/handlebars.amd.min.js +29 -0
- package/node_modules/handlebars/dist/handlebars.js +6026 -0
- package/node_modules/handlebars/dist/handlebars.min.js +29 -0
- package/node_modules/handlebars/dist/handlebars.runtime.amd.js +1292 -0
- package/node_modules/handlebars/dist/handlebars.runtime.amd.min.js +27 -0
- package/node_modules/handlebars/dist/handlebars.runtime.js +2548 -0
- package/node_modules/handlebars/dist/handlebars.runtime.min.js +27 -0
- package/node_modules/handlebars/lib/.eslintrc.js +8 -0
- package/node_modules/handlebars/lib/handlebars/base.js +94 -0
- package/node_modules/handlebars/lib/handlebars/compiler/ast.js +32 -0
- package/node_modules/handlebars/lib/handlebars/compiler/base.js +101 -0
- package/node_modules/handlebars/lib/handlebars/compiler/code-gen.js +171 -0
- package/node_modules/handlebars/lib/handlebars/compiler/compiler.js +594 -0
- package/node_modules/handlebars/lib/handlebars/compiler/helpers.js +219 -0
- package/node_modules/handlebars/lib/handlebars/compiler/javascript-compiler.js +1306 -0
- package/node_modules/handlebars/lib/handlebars/compiler/parser.js +622 -0
- package/node_modules/handlebars/lib/handlebars/compiler/printer.js +178 -0
- package/node_modules/handlebars/lib/handlebars/compiler/visitor.js +136 -0
- package/node_modules/handlebars/lib/handlebars/compiler/whitespace-control.js +234 -0
- package/node_modules/handlebars/lib/handlebars/decorators/inline.js +22 -0
- package/node_modules/handlebars/lib/handlebars/decorators.js +5 -0
- package/node_modules/handlebars/lib/handlebars/exception.js +68 -0
- package/node_modules/handlebars/lib/handlebars/helpers/block-helper-missing.js +35 -0
- package/node_modules/handlebars/lib/handlebars/helpers/each.js +101 -0
- package/node_modules/handlebars/lib/handlebars/helpers/helper-missing.js +15 -0
- package/node_modules/handlebars/lib/handlebars/helpers/if.js +33 -0
- package/node_modules/handlebars/lib/handlebars/helpers/log.js +19 -0
- package/node_modules/handlebars/lib/handlebars/helpers/lookup.js +9 -0
- package/node_modules/handlebars/lib/handlebars/helpers/with.js +39 -0
- package/node_modules/handlebars/lib/handlebars/helpers.js +27 -0
- package/node_modules/handlebars/lib/handlebars/internal/proto-access.js +69 -0
- package/node_modules/handlebars/lib/handlebars/internal/wrapHelper.js +13 -0
- package/node_modules/handlebars/lib/handlebars/logger.js +39 -0
- package/node_modules/handlebars/lib/handlebars/no-conflict.js +23 -0
- package/node_modules/handlebars/lib/handlebars/runtime.js +452 -0
- package/node_modules/handlebars/lib/handlebars/safe-string.js +10 -0
- package/node_modules/handlebars/lib/handlebars/utils.js +116 -0
- package/node_modules/handlebars/lib/handlebars.js +46 -0
- package/node_modules/handlebars/lib/handlebars.runtime.js +37 -0
- package/node_modules/handlebars/lib/index.js +26 -0
- package/node_modules/handlebars/lib/precompiler.js +378 -0
- package/node_modules/handlebars/package.json +134 -0
- package/node_modules/handlebars/release-notes.md +1112 -0
- package/node_modules/handlebars/runtime.d.ts +5 -0
- package/node_modules/handlebars/runtime.js +3 -0
- package/node_modules/handlebars/types/index.d.ts +422 -0
- package/node_modules/has-symbols/.eslintrc +11 -0
- package/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/node_modules/has-symbols/.nycrc +9 -0
- package/node_modules/has-symbols/CHANGELOG.md +91 -0
- package/node_modules/has-symbols/LICENSE +21 -0
- package/node_modules/has-symbols/README.md +46 -0
- package/node_modules/has-symbols/index.d.ts +3 -0
- package/node_modules/has-symbols/index.js +14 -0
- package/node_modules/has-symbols/package.json +111 -0
- package/node_modules/has-symbols/shams.d.ts +3 -0
- package/node_modules/has-symbols/shams.js +45 -0
- package/node_modules/has-symbols/test/index.js +22 -0
- package/node_modules/has-symbols/test/shams/core-js.js +29 -0
- package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
- package/node_modules/has-symbols/test/tests.js +58 -0
- package/node_modules/has-symbols/tsconfig.json +10 -0
- package/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/node_modules/hasown/.nycrc +13 -0
- package/node_modules/hasown/CHANGELOG.md +58 -0
- package/node_modules/hasown/LICENSE +21 -0
- package/node_modules/hasown/README.md +40 -0
- package/node_modules/hasown/eslint.config.mjs +6 -0
- package/node_modules/hasown/index.d.ts +3 -0
- package/node_modules/hasown/index.js +8 -0
- package/node_modules/hasown/package.json +91 -0
- package/node_modules/hasown/tsconfig.json +6 -0
- package/node_modules/hdb/.claude/skills/hdb-commit-msg/SKILL.md +132 -0
- package/node_modules/hdb/.hyperspace/pull_request_bot.json +26 -0
- package/node_modules/hdb/.jshintrc +41 -0
- package/node_modules/hdb/.pipeline/config.yml +21 -0
- package/node_modules/hdb/.reuse/dep5 +28 -0
- package/node_modules/hdb/CLAUDE.md +41 -0
- package/node_modules/hdb/LICENSE +202 -0
- package/node_modules/hdb/LICENSES/Apache-2.0.txt +73 -0
- package/node_modules/hdb/Makefile +41 -0
- package/node_modules/hdb/README.md +778 -0
- package/node_modules/hdb/cfg/VERSION +1 -0
- package/node_modules/hdb/cfg/xmake.cfg +7 -0
- package/node_modules/hdb/chrome/sockets/tcp.js +28 -0
- package/node_modules/hdb/index.js +21 -0
- package/node_modules/hdb/lib/Client.js +327 -0
- package/node_modules/hdb/lib/index.js +37 -0
- package/node_modules/hdb/lib/protocol/ClientInfo.js +77 -0
- package/node_modules/hdb/lib/protocol/Compressor.js +122 -0
- package/node_modules/hdb/lib/protocol/Connection.js +707 -0
- package/node_modules/hdb/lib/protocol/ConnectionManager.js +124 -0
- package/node_modules/hdb/lib/protocol/ConnectionTopology.js +303 -0
- package/node_modules/hdb/lib/protocol/ExecuteTask.js +266 -0
- package/node_modules/hdb/lib/protocol/Lob.js +168 -0
- package/node_modules/hdb/lib/protocol/MessageBuffer.js +74 -0
- package/node_modules/hdb/lib/protocol/Parser.js +258 -0
- package/node_modules/hdb/lib/protocol/PhysicalConnection.js +442 -0
- package/node_modules/hdb/lib/protocol/Proxy.js +373 -0
- package/node_modules/hdb/lib/protocol/Reader.js +470 -0
- package/node_modules/hdb/lib/protocol/Result.js +287 -0
- package/node_modules/hdb/lib/protocol/ResultSet.js +490 -0
- package/node_modules/hdb/lib/protocol/ResultSetTransform.js +126 -0
- package/node_modules/hdb/lib/protocol/Statement.js +219 -0
- package/node_modules/hdb/lib/protocol/Stringifier.js +82 -0
- package/node_modules/hdb/lib/protocol/Transaction.js +64 -0
- package/node_modules/hdb/lib/protocol/Writer.js +1205 -0
- package/node_modules/hdb/lib/protocol/auth/JWT.js +40 -0
- package/node_modules/hdb/lib/protocol/auth/LDAP.js +133 -0
- package/node_modules/hdb/lib/protocol/auth/Manager.js +162 -0
- package/node_modules/hdb/lib/protocol/auth/SAML.js +40 -0
- package/node_modules/hdb/lib/protocol/auth/SCRAMSHA256.js +175 -0
- package/node_modules/hdb/lib/protocol/auth/SessionCookie.js +43 -0
- package/node_modules/hdb/lib/protocol/auth/X509.js +211 -0
- package/node_modules/hdb/lib/protocol/auth/index.js +20 -0
- package/node_modules/hdb/lib/protocol/common/ClientContextOption.js +20 -0
- package/node_modules/hdb/lib/protocol/common/ClientDistributionMode.js +21 -0
- package/node_modules/hdb/lib/protocol/common/CommandOption.js +21 -0
- package/node_modules/hdb/lib/protocol/common/CommitOption.js +18 -0
- package/node_modules/hdb/lib/protocol/common/ConnectOption.js +43 -0
- package/node_modules/hdb/lib/protocol/common/ConnectOptionType.js +45 -0
- package/node_modules/hdb/lib/protocol/common/Constants.js +32 -0
- package/node_modules/hdb/lib/protocol/common/DataFormatVersion.js +29 -0
- package/node_modules/hdb/lib/protocol/common/DbConnectInfoOption.js +21 -0
- package/node_modules/hdb/lib/protocol/common/DistributionProtocolVersion.js +19 -0
- package/node_modules/hdb/lib/protocol/common/ErrorLevel.js +20 -0
- package/node_modules/hdb/lib/protocol/common/FunctionCode.js +41 -0
- package/node_modules/hdb/lib/protocol/common/IoType.js +20 -0
- package/node_modules/hdb/lib/protocol/common/LobOptions.js +20 -0
- package/node_modules/hdb/lib/protocol/common/LobSourceType.js +21 -0
- package/node_modules/hdb/lib/protocol/common/MessageType.js +41 -0
- package/node_modules/hdb/lib/protocol/common/NormalizedTypeCode.js +83 -0
- package/node_modules/hdb/lib/protocol/common/ParameterMode.js +23 -0
- package/node_modules/hdb/lib/protocol/common/PartAttributes.js +23 -0
- package/node_modules/hdb/lib/protocol/common/PartKind.js +70 -0
- package/node_modules/hdb/lib/protocol/common/ProxyConstants.js +129 -0
- package/node_modules/hdb/lib/protocol/common/ReadFunction.js +85 -0
- package/node_modules/hdb/lib/protocol/common/RedirectType.js +21 -0
- package/node_modules/hdb/lib/protocol/common/SegmentKind.js +21 -0
- package/node_modules/hdb/lib/protocol/common/SessionContext.js +23 -0
- package/node_modules/hdb/lib/protocol/common/StatementContext.js +19 -0
- package/node_modules/hdb/lib/protocol/common/StatementContextType.js +21 -0
- package/node_modules/hdb/lib/protocol/common/TopologyInformation.js +31 -0
- package/node_modules/hdb/lib/protocol/common/TransactionFlag.js +24 -0
- package/node_modules/hdb/lib/protocol/common/TransactionFlagType.js +26 -0
- package/node_modules/hdb/lib/protocol/common/TypeCode.js +93 -0
- package/node_modules/hdb/lib/protocol/common/index.js +70 -0
- package/node_modules/hdb/lib/protocol/data/Binary.js +42 -0
- package/node_modules/hdb/lib/protocol/data/Default.js +42 -0
- package/node_modules/hdb/lib/protocol/data/Fields.js +139 -0
- package/node_modules/hdb/lib/protocol/data/Int32.js +55 -0
- package/node_modules/hdb/lib/protocol/data/MultilineOptions.js +74 -0
- package/node_modules/hdb/lib/protocol/data/Options.js +188 -0
- package/node_modules/hdb/lib/protocol/data/ParameterMetadata.js +76 -0
- package/node_modules/hdb/lib/protocol/data/Parameters.js +52 -0
- package/node_modules/hdb/lib/protocol/data/ReadLobReply.js +72 -0
- package/node_modules/hdb/lib/protocol/data/ReadLobRequest.js +69 -0
- package/node_modules/hdb/lib/protocol/data/ResultSetMetadata.js +101 -0
- package/node_modules/hdb/lib/protocol/data/SqlError.js +70 -0
- package/node_modules/hdb/lib/protocol/data/Text.js +44 -0
- package/node_modules/hdb/lib/protocol/data/Text20.js +44 -0
- package/node_modules/hdb/lib/protocol/data/TextList.js +82 -0
- package/node_modules/hdb/lib/protocol/data/TransactionFlags.js +26 -0
- package/node_modules/hdb/lib/protocol/data/WriteLobReply.js +32 -0
- package/node_modules/hdb/lib/protocol/data/index.js +76 -0
- package/node_modules/hdb/lib/protocol/index.js +38 -0
- package/node_modules/hdb/lib/protocol/part/AbstractOptions.js +55 -0
- package/node_modules/hdb/lib/protocol/part/ClientContextOptions.js +46 -0
- package/node_modules/hdb/lib/protocol/part/ConnectOptions.js +155 -0
- package/node_modules/hdb/lib/protocol/part/DbConnectInfoOptions.js +41 -0
- package/node_modules/hdb/lib/protocol/part/StatementContext.js +52 -0
- package/node_modules/hdb/lib/protocol/part/index.js +19 -0
- package/node_modules/hdb/lib/protocol/reply/Part.js +126 -0
- package/node_modules/hdb/lib/protocol/reply/Segment.js +204 -0
- package/node_modules/hdb/lib/protocol/reply/index.js +17 -0
- package/node_modules/hdb/lib/protocol/request/Part.js +52 -0
- package/node_modules/hdb/lib/protocol/request/Segment.js +120 -0
- package/node_modules/hdb/lib/protocol/request/index.js +209 -0
- package/node_modules/hdb/lib/protocol/tcp.js +186 -0
- package/node_modules/hdb/lib/util/Network.js +230 -0
- package/node_modules/hdb/lib/util/Queue.js +124 -0
- package/node_modules/hdb/lib/util/bignum.js +844 -0
- package/node_modules/hdb/lib/util/calendar.js +121 -0
- package/node_modules/hdb/lib/util/convert.js +36 -0
- package/node_modules/hdb/lib/util/index.js +314 -0
- package/node_modules/hdb/lib/util/zeropad.js +110 -0
- package/node_modules/hdb/node_modules/iconv-lite/Changelog.md +236 -0
- package/node_modules/hdb/node_modules/iconv-lite/LICENSE +21 -0
- package/node_modules/hdb/node_modules/iconv-lite/README.md +138 -0
- package/node_modules/hdb/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/node_modules/hdb/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/node_modules/hdb/node_modules/iconv-lite/encodings/index.js +23 -0
- package/node_modules/hdb/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/node_modules/hdb/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/node_modules/hdb/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/node_modules/hdb/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
- package/node_modules/hdb/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/node_modules/hdb/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/node_modules/hdb/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/node_modules/hdb/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/node_modules/hdb/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/node_modules/hdb/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/node_modules/hdb/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/node_modules/hdb/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/node_modules/hdb/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/node_modules/hdb/node_modules/iconv-lite/encodings/utf32.js +307 -0
- package/node_modules/hdb/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/node_modules/hdb/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/node_modules/hdb/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/node_modules/hdb/node_modules/iconv-lite/lib/index.d.ts +41 -0
- package/node_modules/hdb/node_modules/iconv-lite/lib/index.js +183 -0
- package/node_modules/hdb/node_modules/iconv-lite/lib/streams.js +105 -0
- package/node_modules/hdb/node_modules/iconv-lite/package.json +59 -0
- package/node_modules/hdb/package.json +58 -0
- package/node_modules/http-errors/HISTORY.md +186 -0
- package/node_modules/http-errors/LICENSE +23 -0
- package/node_modules/http-errors/README.md +169 -0
- package/node_modules/http-errors/index.js +290 -0
- package/node_modules/http-errors/package.json +54 -0
- package/node_modules/iconv-lite/LICENSE +21 -0
- package/node_modules/iconv-lite/README.md +138 -0
- package/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/node_modules/iconv-lite/encodings/index.js +23 -0
- package/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
- package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/node_modules/iconv-lite/encodings/utf32.js +307 -0
- package/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/node_modules/iconv-lite/lib/index.d.ts +129 -0
- package/node_modules/iconv-lite/lib/index.js +182 -0
- package/node_modules/iconv-lite/lib/streams.js +105 -0
- package/node_modules/iconv-lite/package.json +70 -0
- package/node_modules/iconv-lite/types/encodings.d.ts +423 -0
- package/node_modules/inherits/LICENSE +16 -0
- package/node_modules/inherits/README.md +42 -0
- package/node_modules/inherits/inherits.js +9 -0
- package/node_modules/inherits/inherits_browser.js +27 -0
- package/node_modules/inherits/package.json +29 -0
- package/node_modules/ipaddr.js/LICENSE +19 -0
- package/node_modules/ipaddr.js/README.md +233 -0
- package/node_modules/ipaddr.js/ipaddr.min.js +1 -0
- package/node_modules/ipaddr.js/lib/ipaddr.js +673 -0
- package/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +68 -0
- package/node_modules/ipaddr.js/package.json +35 -0
- package/node_modules/is-number/LICENSE +21 -0
- package/node_modules/is-number/README.md +187 -0
- package/node_modules/is-number/index.js +18 -0
- package/node_modules/is-number/package.json +82 -0
- package/node_modules/is-promise/LICENSE +19 -0
- package/node_modules/is-promise/index.d.ts +2 -0
- package/node_modules/is-promise/index.js +6 -0
- package/node_modules/is-promise/index.mjs +3 -0
- package/node_modules/is-promise/package.json +30 -0
- package/node_modules/is-promise/readme.md +33 -0
- package/node_modules/livereload-js/.github/workflows/main.yml +23 -0
- package/node_modules/livereload-js/LICENSE +20 -0
- package/node_modules/livereload-js/README.md +250 -0
- package/node_modules/livereload-js/dist/livereload.js +3795 -0
- package/node_modules/livereload-js/dist/livereload.min.js +1 -0
- package/node_modules/livereload-js/package.json +53 -0
- package/node_modules/livereload-js/src/connector.js +169 -0
- package/node_modules/livereload-js/src/customevents.js +37 -0
- package/node_modules/livereload-js/src/less.js +60 -0
- package/node_modules/livereload-js/src/livereload.js +245 -0
- package/node_modules/livereload-js/src/options.js +96 -0
- package/node_modules/livereload-js/src/protocol.js +98 -0
- package/node_modules/livereload-js/src/reloader.js +611 -0
- package/node_modules/livereload-js/src/startup.js +16 -0
- package/node_modules/livereload-js/src/timer.js +35 -0
- package/node_modules/lz4-wasm-nodejs/LICENSE_APACHE +176 -0
- package/node_modules/lz4-wasm-nodejs/LICENSE_MIT +25 -0
- package/node_modules/lz4-wasm-nodejs/README.md +71 -0
- package/node_modules/lz4-wasm-nodejs/lz4_wasm_nodejs.d.ts +12 -0
- package/node_modules/lz4-wasm-nodejs/lz4_wasm_nodejs.js +127 -0
- package/node_modules/lz4-wasm-nodejs/lz4_wasm_nodejs_bg.wasm +0 -0
- package/node_modules/lz4-wasm-nodejs/package.json +26 -0
- package/node_modules/math-intrinsics/.eslintrc +16 -0
- package/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
- package/node_modules/math-intrinsics/CHANGELOG.md +24 -0
- package/node_modules/math-intrinsics/LICENSE +21 -0
- package/node_modules/math-intrinsics/README.md +50 -0
- package/node_modules/math-intrinsics/abs.d.ts +1 -0
- package/node_modules/math-intrinsics/abs.js +4 -0
- package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
- package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
- package/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxValue.js +5 -0
- package/node_modules/math-intrinsics/floor.d.ts +1 -0
- package/node_modules/math-intrinsics/floor.js +4 -0
- package/node_modules/math-intrinsics/isFinite.d.ts +3 -0
- package/node_modules/math-intrinsics/isFinite.js +12 -0
- package/node_modules/math-intrinsics/isInteger.d.ts +3 -0
- package/node_modules/math-intrinsics/isInteger.js +16 -0
- package/node_modules/math-intrinsics/isNaN.d.ts +1 -0
- package/node_modules/math-intrinsics/isNaN.js +6 -0
- package/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
- package/node_modules/math-intrinsics/isNegativeZero.js +6 -0
- package/node_modules/math-intrinsics/max.d.ts +1 -0
- package/node_modules/math-intrinsics/max.js +4 -0
- package/node_modules/math-intrinsics/min.d.ts +1 -0
- package/node_modules/math-intrinsics/min.js +4 -0
- package/node_modules/math-intrinsics/mod.d.ts +3 -0
- package/node_modules/math-intrinsics/mod.js +9 -0
- package/node_modules/math-intrinsics/package.json +86 -0
- package/node_modules/math-intrinsics/pow.d.ts +1 -0
- package/node_modules/math-intrinsics/pow.js +4 -0
- package/node_modules/math-intrinsics/round.d.ts +1 -0
- package/node_modules/math-intrinsics/round.js +4 -0
- package/node_modules/math-intrinsics/sign.d.ts +3 -0
- package/node_modules/math-intrinsics/sign.js +11 -0
- package/node_modules/math-intrinsics/test/index.js +192 -0
- package/node_modules/math-intrinsics/tsconfig.json +3 -0
- package/node_modules/media-typer/HISTORY.md +50 -0
- package/node_modules/media-typer/LICENSE +22 -0
- package/node_modules/media-typer/README.md +93 -0
- package/node_modules/media-typer/index.js +143 -0
- package/node_modules/media-typer/package.json +33 -0
- package/node_modules/merge-descriptors/index.d.ts +11 -0
- package/node_modules/merge-descriptors/index.js +26 -0
- package/node_modules/merge-descriptors/license +11 -0
- package/node_modules/merge-descriptors/package.json +50 -0
- package/node_modules/merge-descriptors/readme.md +55 -0
- package/node_modules/micromatch/LICENSE +21 -0
- package/node_modules/micromatch/README.md +1024 -0
- package/node_modules/micromatch/index.js +474 -0
- package/node_modules/micromatch/node_modules/picomatch/LICENSE +21 -0
- package/node_modules/micromatch/node_modules/picomatch/README.md +716 -0
- package/node_modules/micromatch/node_modules/picomatch/index.js +3 -0
- package/node_modules/micromatch/node_modules/picomatch/lib/constants.js +184 -0
- package/node_modules/micromatch/node_modules/picomatch/lib/parse.js +1392 -0
- package/node_modules/micromatch/node_modules/picomatch/lib/picomatch.js +342 -0
- package/node_modules/micromatch/node_modules/picomatch/lib/scan.js +391 -0
- package/node_modules/micromatch/node_modules/picomatch/lib/utils.js +64 -0
- package/node_modules/micromatch/node_modules/picomatch/package.json +81 -0
- package/node_modules/micromatch/package.json +119 -0
- package/node_modules/mime-db/HISTORY.md +541 -0
- package/node_modules/mime-db/LICENSE +23 -0
- package/node_modules/mime-db/README.md +109 -0
- package/node_modules/mime-db/db.json +9342 -0
- package/node_modules/mime-db/index.js +12 -0
- package/node_modules/mime-db/package.json +56 -0
- package/node_modules/mime-types/HISTORY.md +428 -0
- package/node_modules/mime-types/LICENSE +23 -0
- package/node_modules/mime-types/README.md +126 -0
- package/node_modules/mime-types/index.js +211 -0
- package/node_modules/mime-types/mimeScore.js +57 -0
- package/node_modules/mime-types/package.json +49 -0
- package/node_modules/minimist/.eslintrc +29 -0
- package/node_modules/minimist/.github/FUNDING.yml +12 -0
- package/node_modules/minimist/.nycrc +14 -0
- package/node_modules/minimist/CHANGELOG.md +298 -0
- package/node_modules/minimist/LICENSE +18 -0
- package/node_modules/minimist/README.md +121 -0
- package/node_modules/minimist/example/parse.js +4 -0
- package/node_modules/minimist/index.js +263 -0
- package/node_modules/minimist/package.json +75 -0
- package/node_modules/minimist/test/all_bool.js +34 -0
- package/node_modules/minimist/test/bool.js +177 -0
- package/node_modules/minimist/test/dash.js +43 -0
- package/node_modules/minimist/test/default_bool.js +37 -0
- package/node_modules/minimist/test/dotted.js +24 -0
- package/node_modules/minimist/test/kv_short.js +32 -0
- package/node_modules/minimist/test/long.js +33 -0
- package/node_modules/minimist/test/num.js +38 -0
- package/node_modules/minimist/test/parse.js +209 -0
- package/node_modules/minimist/test/parse_modified.js +11 -0
- package/node_modules/minimist/test/proto.js +64 -0
- package/node_modules/minimist/test/short.js +69 -0
- package/node_modules/minimist/test/stop_early.js +17 -0
- package/node_modules/minimist/test/unknown.js +104 -0
- package/node_modules/minimist/test/whitespace.js +10 -0
- package/node_modules/ms/index.js +162 -0
- package/node_modules/ms/license.md +21 -0
- package/node_modules/ms/package.json +38 -0
- package/node_modules/ms/readme.md +59 -0
- package/node_modules/mustache/CHANGELOG.md +618 -0
- package/node_modules/mustache/LICENSE +11 -0
- package/node_modules/mustache/README.md +621 -0
- package/node_modules/mustache/bin/mustache +150 -0
- package/node_modules/mustache/mustache.js +772 -0
- package/node_modules/mustache/mustache.min.js +1 -0
- package/node_modules/mustache/mustache.mjs +764 -0
- package/node_modules/mustache/package.json +67 -0
- package/node_modules/mustache/wrappers/dojo/mustache.js.post +4 -0
- package/node_modules/mustache/wrappers/dojo/mustache.js.pre +9 -0
- package/node_modules/mustache/wrappers/jquery/mustache.js.post +13 -0
- package/node_modules/mustache/wrappers/jquery/mustache.js.pre +9 -0
- package/node_modules/mustache/wrappers/mootools/mustache.js.post +5 -0
- package/node_modules/mustache/wrappers/mootools/mustache.js.pre +2 -0
- package/node_modules/mustache/wrappers/qooxdoo/mustache.js.post +9 -0
- package/node_modules/mustache/wrappers/qooxdoo/mustache.js.pre +172 -0
- package/node_modules/mustache/wrappers/yui3/mustache.js.post +4 -0
- package/node_modules/mustache/wrappers/yui3/mustache.js.pre +1 -0
- package/node_modules/negotiator/HISTORY.md +114 -0
- package/node_modules/negotiator/LICENSE +24 -0
- package/node_modules/negotiator/README.md +212 -0
- package/node_modules/negotiator/index.js +83 -0
- package/node_modules/negotiator/lib/charset.js +169 -0
- package/node_modules/negotiator/lib/encoding.js +205 -0
- package/node_modules/negotiator/lib/language.js +179 -0
- package/node_modules/negotiator/lib/mediaType.js +294 -0
- package/node_modules/negotiator/package.json +43 -0
- package/node_modules/neo-async/LICENSE +22 -0
- package/node_modules/neo-async/README.md +273 -0
- package/node_modules/neo-async/all.js +3 -0
- package/node_modules/neo-async/allLimit.js +3 -0
- package/node_modules/neo-async/allSeries.js +3 -0
- package/node_modules/neo-async/angelFall.js +3 -0
- package/node_modules/neo-async/any.js +3 -0
- package/node_modules/neo-async/anyLimit.js +3 -0
- package/node_modules/neo-async/anySeries.js +3 -0
- package/node_modules/neo-async/apply.js +3 -0
- package/node_modules/neo-async/applyEach.js +3 -0
- package/node_modules/neo-async/applyEachSeries.js +3 -0
- package/node_modules/neo-async/async.js +9184 -0
- package/node_modules/neo-async/async.min.js +80 -0
- package/node_modules/neo-async/asyncify.js +3 -0
- package/node_modules/neo-async/auto.js +3 -0
- package/node_modules/neo-async/autoInject.js +3 -0
- package/node_modules/neo-async/cargo.js +3 -0
- package/node_modules/neo-async/compose.js +3 -0
- package/node_modules/neo-async/concat.js +3 -0
- package/node_modules/neo-async/concatLimit.js +3 -0
- package/node_modules/neo-async/concatSeries.js +3 -0
- package/node_modules/neo-async/constant.js +3 -0
- package/node_modules/neo-async/createLogger.js +3 -0
- package/node_modules/neo-async/detect.js +3 -0
- package/node_modules/neo-async/detectLimit.js +3 -0
- package/node_modules/neo-async/detectSeries.js +3 -0
- package/node_modules/neo-async/dir.js +3 -0
- package/node_modules/neo-async/doDuring.js +3 -0
- package/node_modules/neo-async/doUntil.js +3 -0
- package/node_modules/neo-async/doWhilst.js +3 -0
- package/node_modules/neo-async/during.js +3 -0
- package/node_modules/neo-async/each.js +3 -0
- package/node_modules/neo-async/eachLimit.js +3 -0
- package/node_modules/neo-async/eachOf.js +3 -0
- package/node_modules/neo-async/eachOfLimit.js +3 -0
- package/node_modules/neo-async/eachOfSeries.js +3 -0
- package/node_modules/neo-async/eachSeries.js +3 -0
- package/node_modules/neo-async/ensureAsync.js +3 -0
- package/node_modules/neo-async/every.js +3 -0
- package/node_modules/neo-async/everyLimit.js +3 -0
- package/node_modules/neo-async/everySeries.js +3 -0
- package/node_modules/neo-async/fast.js +3 -0
- package/node_modules/neo-async/filter.js +3 -0
- package/node_modules/neo-async/filterLimit.js +3 -0
- package/node_modules/neo-async/filterSeries.js +3 -0
- package/node_modules/neo-async/find.js +3 -0
- package/node_modules/neo-async/findLimit.js +3 -0
- package/node_modules/neo-async/findSeries.js +3 -0
- package/node_modules/neo-async/foldl.js +3 -0
- package/node_modules/neo-async/foldr.js +3 -0
- package/node_modules/neo-async/forEach.js +3 -0
- package/node_modules/neo-async/forEachLimit.js +3 -0
- package/node_modules/neo-async/forEachOf.js +3 -0
- package/node_modules/neo-async/forEachOfLimit.js +3 -0
- package/node_modules/neo-async/forEachOfSeries.js +3 -0
- package/node_modules/neo-async/forEachSeries.js +3 -0
- package/node_modules/neo-async/forever.js +3 -0
- package/node_modules/neo-async/groupBy.js +3 -0
- package/node_modules/neo-async/groupByLimit.js +3 -0
- package/node_modules/neo-async/groupBySeries.js +3 -0
- package/node_modules/neo-async/inject.js +3 -0
- package/node_modules/neo-async/iterator.js +3 -0
- package/node_modules/neo-async/log.js +3 -0
- package/node_modules/neo-async/map.js +3 -0
- package/node_modules/neo-async/mapLimit.js +3 -0
- package/node_modules/neo-async/mapSeries.js +3 -0
- package/node_modules/neo-async/mapValues.js +3 -0
- package/node_modules/neo-async/mapValuesLimit.js +3 -0
- package/node_modules/neo-async/mapValuesSeries.js +3 -0
- package/node_modules/neo-async/memoize.js +3 -0
- package/node_modules/neo-async/nextTick.js +3 -0
- package/node_modules/neo-async/omit.js +3 -0
- package/node_modules/neo-async/omitLimit.js +3 -0
- package/node_modules/neo-async/omitSeries.js +3 -0
- package/node_modules/neo-async/package.json +57 -0
- package/node_modules/neo-async/parallel.js +3 -0
- package/node_modules/neo-async/parallelLimit.js +3 -0
- package/node_modules/neo-async/pick.js +3 -0
- package/node_modules/neo-async/pickLimit.js +3 -0
- package/node_modules/neo-async/pickSeries.js +3 -0
- package/node_modules/neo-async/priorityQueue.js +3 -0
- package/node_modules/neo-async/queue.js +3 -0
- package/node_modules/neo-async/race.js +3 -0
- package/node_modules/neo-async/reduce.js +3 -0
- package/node_modules/neo-async/reduceRight.js +3 -0
- package/node_modules/neo-async/reflect.js +3 -0
- package/node_modules/neo-async/reflectAll.js +3 -0
- package/node_modules/neo-async/reject.js +3 -0
- package/node_modules/neo-async/rejectLimit.js +3 -0
- package/node_modules/neo-async/rejectSeries.js +3 -0
- package/node_modules/neo-async/retry.js +3 -0
- package/node_modules/neo-async/retryable.js +3 -0
- package/node_modules/neo-async/safe.js +3 -0
- package/node_modules/neo-async/select.js +3 -0
- package/node_modules/neo-async/selectLimit.js +3 -0
- package/node_modules/neo-async/selectSeries.js +3 -0
- package/node_modules/neo-async/seq.js +3 -0
- package/node_modules/neo-async/series.js +3 -0
- package/node_modules/neo-async/setImmediate.js +3 -0
- package/node_modules/neo-async/some.js +3 -0
- package/node_modules/neo-async/someLimit.js +3 -0
- package/node_modules/neo-async/someSeries.js +3 -0
- package/node_modules/neo-async/sortBy.js +3 -0
- package/node_modules/neo-async/sortByLimit.js +3 -0
- package/node_modules/neo-async/sortBySeries.js +3 -0
- package/node_modules/neo-async/timeout.js +3 -0
- package/node_modules/neo-async/times.js +3 -0
- package/node_modules/neo-async/timesLimit.js +3 -0
- package/node_modules/neo-async/timesSeries.js +3 -0
- package/node_modules/neo-async/transform.js +3 -0
- package/node_modules/neo-async/transformLimit.js +3 -0
- package/node_modules/neo-async/transformSeries.js +3 -0
- package/node_modules/neo-async/tryEach.js +3 -0
- package/node_modules/neo-async/unmemoize.js +3 -0
- package/node_modules/neo-async/until.js +3 -0
- package/node_modules/neo-async/waterfall.js +3 -0
- package/node_modules/neo-async/whilst.js +3 -0
- package/node_modules/neo-async/wrapSync.js +3 -0
- package/node_modules/node-cache/.nvmrc +1 -0
- package/node_modules/node-cache/.nycrc.yaml +7 -0
- package/node_modules/node-cache/LICENSE +21 -0
- package/node_modules/node-cache/README.md +497 -0
- package/node_modules/node-cache/_src/test/typedefinition_test.ts +108 -0
- package/node_modules/node-cache/index.d.ts +380 -0
- package/node_modules/node-cache/index.js +17 -0
- package/node_modules/node-cache/lib/node_cache.js +802 -0
- package/node_modules/node-cache/package.json +68 -0
- package/node_modules/node-cache/tsconfig.json +8 -0
- package/node_modules/object-inspect/.eslintrc +53 -0
- package/node_modules/object-inspect/.github/FUNDING.yml +12 -0
- package/node_modules/object-inspect/.nycrc +13 -0
- package/node_modules/object-inspect/CHANGELOG.md +424 -0
- package/node_modules/object-inspect/LICENSE +21 -0
- package/node_modules/object-inspect/example/all.js +23 -0
- package/node_modules/object-inspect/example/circular.js +6 -0
- package/node_modules/object-inspect/example/fn.js +5 -0
- package/node_modules/object-inspect/example/inspect.js +10 -0
- package/node_modules/object-inspect/index.js +544 -0
- package/node_modules/object-inspect/package-support.json +20 -0
- package/node_modules/object-inspect/package.json +105 -0
- package/node_modules/object-inspect/readme.markdown +84 -0
- package/node_modules/object-inspect/test/bigint.js +58 -0
- package/node_modules/object-inspect/test/browser/dom.js +15 -0
- package/node_modules/object-inspect/test/circular.js +16 -0
- package/node_modules/object-inspect/test/deep.js +12 -0
- package/node_modules/object-inspect/test/element.js +53 -0
- package/node_modules/object-inspect/test/err.js +48 -0
- package/node_modules/object-inspect/test/fakes.js +29 -0
- package/node_modules/object-inspect/test/fn.js +76 -0
- package/node_modules/object-inspect/test/global.js +17 -0
- package/node_modules/object-inspect/test/has.js +15 -0
- package/node_modules/object-inspect/test/holes.js +15 -0
- package/node_modules/object-inspect/test/indent-option.js +271 -0
- package/node_modules/object-inspect/test/inspect.js +139 -0
- package/node_modules/object-inspect/test/lowbyte.js +12 -0
- package/node_modules/object-inspect/test/number.js +58 -0
- package/node_modules/object-inspect/test/quoteStyle.js +26 -0
- package/node_modules/object-inspect/test/toStringTag.js +40 -0
- package/node_modules/object-inspect/test/undef.js +12 -0
- package/node_modules/object-inspect/test/values.js +261 -0
- package/node_modules/object-inspect/test-core-js.js +26 -0
- package/node_modules/object-inspect/util.inspect.js +1 -0
- package/node_modules/on-finished/HISTORY.md +98 -0
- package/node_modules/on-finished/LICENSE +23 -0
- package/node_modules/on-finished/README.md +162 -0
- package/node_modules/on-finished/index.js +234 -0
- package/node_modules/on-finished/package.json +39 -0
- package/node_modules/once/LICENSE +15 -0
- package/node_modules/once/README.md +79 -0
- package/node_modules/once/once.js +42 -0
- package/node_modules/once/package.json +33 -0
- package/node_modules/parseurl/HISTORY.md +58 -0
- package/node_modules/parseurl/LICENSE +24 -0
- package/node_modules/parseurl/README.md +133 -0
- package/node_modules/parseurl/index.js +158 -0
- package/node_modules/parseurl/package.json +40 -0
- package/node_modules/path-to-regexp/LICENSE +21 -0
- package/node_modules/path-to-regexp/Readme.md +224 -0
- package/node_modules/path-to-regexp/dist/index.d.ts +147 -0
- package/node_modules/path-to-regexp/dist/index.js +431 -0
- package/node_modules/path-to-regexp/dist/index.js.map +1 -0
- package/node_modules/path-to-regexp/package.json +64 -0
- package/node_modules/pluralize/LICENSE +21 -0
- package/node_modules/pluralize/Readme.md +100 -0
- package/node_modules/pluralize/package.json +40 -0
- package/node_modules/pluralize/pluralize.js +503 -0
- package/node_modules/proxy-addr/HISTORY.md +161 -0
- package/node_modules/proxy-addr/LICENSE +22 -0
- package/node_modules/proxy-addr/README.md +139 -0
- package/node_modules/proxy-addr/index.js +327 -0
- package/node_modules/proxy-addr/package.json +47 -0
- package/node_modules/qs/.editorconfig +46 -0
- package/node_modules/qs/.github/FUNDING.yml +12 -0
- package/node_modules/qs/.github/SECURITY.md +11 -0
- package/node_modules/qs/.github/THREAT_MODEL.md +78 -0
- package/node_modules/qs/.nycrc +13 -0
- package/node_modules/qs/CHANGELOG.md +833 -0
- package/node_modules/qs/LICENSE.md +29 -0
- package/node_modules/qs/README.md +758 -0
- package/node_modules/qs/dist/qs.js +141 -0
- package/node_modules/qs/eslint.config.mjs +57 -0
- package/node_modules/qs/lib/formats.js +23 -0
- package/node_modules/qs/lib/index.js +11 -0
- package/node_modules/qs/lib/parse.js +414 -0
- package/node_modules/qs/lib/stringify.js +363 -0
- package/node_modules/qs/lib/utils.js +381 -0
- package/node_modules/qs/package.json +95 -0
- package/node_modules/qs/test/empty-keys-cases.js +267 -0
- package/node_modules/qs/test/parse.js +1933 -0
- package/node_modules/qs/test/stringify.js +1448 -0
- package/node_modules/qs/test/utils.js +626 -0
- package/node_modules/range-parser/HISTORY.md +56 -0
- package/node_modules/range-parser/LICENSE +23 -0
- package/node_modules/range-parser/README.md +85 -0
- package/node_modules/range-parser/index.js +181 -0
- package/node_modules/range-parser/package.json +48 -0
- package/node_modules/raw-body/LICENSE +22 -0
- package/node_modules/raw-body/README.md +223 -0
- package/node_modules/raw-body/index.d.ts +85 -0
- package/node_modules/raw-body/index.js +336 -0
- package/node_modules/raw-body/package.json +46 -0
- package/node_modules/router/HISTORY.md +228 -0
- package/node_modules/router/LICENSE +23 -0
- package/node_modules/router/README.md +416 -0
- package/node_modules/router/index.js +748 -0
- package/node_modules/router/lib/layer.js +247 -0
- package/node_modules/router/lib/route.js +242 -0
- package/node_modules/router/package.json +44 -0
- package/node_modules/safer-buffer/LICENSE +21 -0
- package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/node_modules/safer-buffer/Readme.md +156 -0
- package/node_modules/safer-buffer/dangerous.js +58 -0
- package/node_modules/safer-buffer/package.json +34 -0
- package/node_modules/safer-buffer/safer.js +77 -0
- package/node_modules/safer-buffer/tests.js +406 -0
- package/node_modules/sax/LICENSE.md +55 -0
- package/node_modules/sax/README.md +227 -0
- package/node_modules/sax/lib/sax.js +1848 -0
- package/node_modules/sax/package.json +34 -0
- package/node_modules/semver/LICENSE +15 -0
- package/node_modules/semver/README.md +680 -0
- package/node_modules/semver/bin/semver.js +195 -0
- package/node_modules/semver/classes/comparator.js +143 -0
- package/node_modules/semver/classes/index.js +7 -0
- package/node_modules/semver/classes/range.js +577 -0
- package/node_modules/semver/classes/semver.js +350 -0
- package/node_modules/semver/functions/clean.js +8 -0
- package/node_modules/semver/functions/cmp.js +54 -0
- package/node_modules/semver/functions/coerce.js +62 -0
- package/node_modules/semver/functions/compare-build.js +9 -0
- package/node_modules/semver/functions/compare-loose.js +5 -0
- package/node_modules/semver/functions/compare.js +7 -0
- package/node_modules/semver/functions/diff.js +60 -0
- package/node_modules/semver/functions/eq.js +5 -0
- package/node_modules/semver/functions/gt.js +5 -0
- package/node_modules/semver/functions/gte.js +5 -0
- package/node_modules/semver/functions/inc.js +21 -0
- package/node_modules/semver/functions/lt.js +5 -0
- package/node_modules/semver/functions/lte.js +5 -0
- package/node_modules/semver/functions/major.js +5 -0
- package/node_modules/semver/functions/minor.js +5 -0
- package/node_modules/semver/functions/neq.js +5 -0
- package/node_modules/semver/functions/parse.js +18 -0
- package/node_modules/semver/functions/patch.js +5 -0
- package/node_modules/semver/functions/prerelease.js +8 -0
- package/node_modules/semver/functions/rcompare.js +5 -0
- package/node_modules/semver/functions/rsort.js +5 -0
- package/node_modules/semver/functions/satisfies.js +12 -0
- package/node_modules/semver/functions/sort.js +5 -0
- package/node_modules/semver/functions/truncate.js +48 -0
- package/node_modules/semver/functions/valid.js +8 -0
- package/node_modules/semver/index.js +93 -0
- package/node_modules/semver/internal/constants.js +37 -0
- package/node_modules/semver/internal/debug.js +11 -0
- package/node_modules/semver/internal/identifiers.js +29 -0
- package/node_modules/semver/internal/lrucache.js +42 -0
- package/node_modules/semver/internal/parse-options.js +17 -0
- package/node_modules/semver/internal/re.js +223 -0
- package/node_modules/semver/package.json +78 -0
- package/node_modules/semver/preload.js +4 -0
- package/node_modules/semver/range.bnf +17 -0
- package/node_modules/semver/ranges/gtr.js +6 -0
- package/node_modules/semver/ranges/intersects.js +9 -0
- package/node_modules/semver/ranges/ltr.js +6 -0
- package/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/node_modules/semver/ranges/min-version.js +63 -0
- package/node_modules/semver/ranges/outside.js +82 -0
- package/node_modules/semver/ranges/simplify.js +49 -0
- package/node_modules/semver/ranges/subset.js +249 -0
- package/node_modules/semver/ranges/to-comparators.js +10 -0
- package/node_modules/semver/ranges/valid.js +13 -0
- package/node_modules/send/LICENSE +23 -0
- package/node_modules/send/README.md +317 -0
- package/node_modules/send/index.js +997 -0
- package/node_modules/send/package.json +63 -0
- package/node_modules/serve-static/LICENSE +25 -0
- package/node_modules/serve-static/README.md +253 -0
- package/node_modules/serve-static/index.js +208 -0
- package/node_modules/serve-static/package.json +44 -0
- package/node_modules/setprototypeof/LICENSE +13 -0
- package/node_modules/setprototypeof/README.md +31 -0
- package/node_modules/setprototypeof/index.d.ts +2 -0
- package/node_modules/setprototypeof/index.js +17 -0
- package/node_modules/setprototypeof/package.json +38 -0
- package/node_modules/setprototypeof/test/index.js +24 -0
- package/node_modules/side-channel/.editorconfig +9 -0
- package/node_modules/side-channel/.eslintrc +12 -0
- package/node_modules/side-channel/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel/.nycrc +13 -0
- package/node_modules/side-channel/CHANGELOG.md +120 -0
- package/node_modules/side-channel/LICENSE +21 -0
- package/node_modules/side-channel/README.md +61 -0
- package/node_modules/side-channel/index.d.ts +14 -0
- package/node_modules/side-channel/index.js +46 -0
- package/node_modules/side-channel/package.json +85 -0
- package/node_modules/side-channel/test/index.js +120 -0
- package/node_modules/side-channel/tsconfig.json +9 -0
- package/node_modules/side-channel-list/.editorconfig +9 -0
- package/node_modules/side-channel-list/.eslintrc +11 -0
- package/node_modules/side-channel-list/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel-list/.nycrc +13 -0
- package/node_modules/side-channel-list/CHANGELOG.md +36 -0
- package/node_modules/side-channel-list/LICENSE +21 -0
- package/node_modules/side-channel-list/README.md +62 -0
- package/node_modules/side-channel-list/index.d.ts +13 -0
- package/node_modules/side-channel-list/index.js +111 -0
- package/node_modules/side-channel-list/list.d.ts +14 -0
- package/node_modules/side-channel-list/package.json +77 -0
- package/node_modules/side-channel-list/test/index.js +154 -0
- package/node_modules/side-channel-list/tsconfig.json +9 -0
- package/node_modules/side-channel-map/.editorconfig +9 -0
- package/node_modules/side-channel-map/.eslintrc +11 -0
- package/node_modules/side-channel-map/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel-map/.nycrc +13 -0
- package/node_modules/side-channel-map/CHANGELOG.md +22 -0
- package/node_modules/side-channel-map/LICENSE +21 -0
- package/node_modules/side-channel-map/README.md +62 -0
- package/node_modules/side-channel-map/index.d.ts +15 -0
- package/node_modules/side-channel-map/index.js +68 -0
- package/node_modules/side-channel-map/package.json +80 -0
- package/node_modules/side-channel-map/test/index.js +114 -0
- package/node_modules/side-channel-map/tsconfig.json +9 -0
- package/node_modules/side-channel-weakmap/.editorconfig +9 -0
- package/node_modules/side-channel-weakmap/.eslintrc +12 -0
- package/node_modules/side-channel-weakmap/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel-weakmap/.nycrc +13 -0
- package/node_modules/side-channel-weakmap/CHANGELOG.md +28 -0
- package/node_modules/side-channel-weakmap/LICENSE +21 -0
- package/node_modules/side-channel-weakmap/README.md +62 -0
- package/node_modules/side-channel-weakmap/index.d.ts +15 -0
- package/node_modules/side-channel-weakmap/index.js +84 -0
- package/node_modules/side-channel-weakmap/package.json +87 -0
- package/node_modules/side-channel-weakmap/test/index.js +114 -0
- package/node_modules/side-channel-weakmap/tsconfig.json +9 -0
- package/node_modules/source-map/CHANGELOG.md +301 -0
- package/node_modules/source-map/LICENSE +28 -0
- package/node_modules/source-map/README.md +742 -0
- package/node_modules/source-map/dist/source-map.debug.js +3234 -0
- package/node_modules/source-map/dist/source-map.js +3233 -0
- package/node_modules/source-map/dist/source-map.min.js +2 -0
- package/node_modules/source-map/dist/source-map.min.js.map +1 -0
- package/node_modules/source-map/lib/array-set.js +121 -0
- package/node_modules/source-map/lib/base64-vlq.js +140 -0
- package/node_modules/source-map/lib/base64.js +67 -0
- package/node_modules/source-map/lib/binary-search.js +111 -0
- package/node_modules/source-map/lib/mapping-list.js +79 -0
- package/node_modules/source-map/lib/quick-sort.js +114 -0
- package/node_modules/source-map/lib/source-map-consumer.js +1145 -0
- package/node_modules/source-map/lib/source-map-generator.js +425 -0
- package/node_modules/source-map/lib/source-node.js +413 -0
- package/node_modules/source-map/lib/util.js +488 -0
- package/node_modules/source-map/package.json +73 -0
- package/node_modules/source-map/source-map.d.ts +98 -0
- package/node_modules/source-map/source-map.js +8 -0
- package/node_modules/statuses/HISTORY.md +87 -0
- package/node_modules/statuses/LICENSE +23 -0
- package/node_modules/statuses/README.md +139 -0
- package/node_modules/statuses/codes.json +65 -0
- package/node_modules/statuses/index.js +146 -0
- package/node_modules/statuses/package.json +49 -0
- package/node_modules/to-regex-range/LICENSE +21 -0
- package/node_modules/to-regex-range/README.md +305 -0
- package/node_modules/to-regex-range/index.js +288 -0
- package/node_modules/to-regex-range/package.json +88 -0
- package/node_modules/toidentifier/HISTORY.md +9 -0
- package/node_modules/toidentifier/LICENSE +21 -0
- package/node_modules/toidentifier/README.md +61 -0
- package/node_modules/toidentifier/index.js +32 -0
- package/node_modules/toidentifier/package.json +38 -0
- package/node_modules/type-is/HISTORY.md +292 -0
- package/node_modules/type-is/LICENSE +23 -0
- package/node_modules/type-is/README.md +198 -0
- package/node_modules/type-is/index.js +240 -0
- package/node_modules/type-is/node_modules/content-type/LICENSE +22 -0
- package/node_modules/type-is/node_modules/content-type/README.md +69 -0
- package/node_modules/type-is/node_modules/content-type/dist/index.d.ts +26 -0
- package/node_modules/type-is/node_modules/content-type/dist/index.js +170 -0
- package/node_modules/type-is/node_modules/content-type/dist/index.js.map +1 -0
- package/node_modules/type-is/node_modules/content-type/package.json +52 -0
- package/node_modules/type-is/package.json +51 -0
- package/node_modules/uglify-js/LICENSE +29 -0
- package/node_modules/uglify-js/README.md +1479 -0
- package/node_modules/uglify-js/bin/uglifyjs +624 -0
- package/node_modules/uglify-js/lib/ast.js +2357 -0
- package/node_modules/uglify-js/lib/compress.js +14650 -0
- package/node_modules/uglify-js/lib/minify.js +278 -0
- package/node_modules/uglify-js/lib/mozilla-ast.js +1338 -0
- package/node_modules/uglify-js/lib/output.js +1983 -0
- package/node_modules/uglify-js/lib/parse.js +2589 -0
- package/node_modules/uglify-js/lib/propmangle.js +328 -0
- package/node_modules/uglify-js/lib/scope.js +883 -0
- package/node_modules/uglify-js/lib/sourcemap.js +195 -0
- package/node_modules/uglify-js/lib/transform.js +250 -0
- package/node_modules/uglify-js/lib/utils.js +300 -0
- package/node_modules/uglify-js/package.json +52 -0
- package/node_modules/uglify-js/tools/domprops.html +456 -0
- package/node_modules/uglify-js/tools/domprops.json +8327 -0
- package/node_modules/uglify-js/tools/exports.js +8 -0
- package/node_modules/uglify-js/tools/node.js +115 -0
- package/node_modules/uglify-js/tools/tty.js +22 -0
- package/node_modules/unpipe/HISTORY.md +4 -0
- package/node_modules/unpipe/LICENSE +22 -0
- package/node_modules/unpipe/README.md +43 -0
- package/node_modules/unpipe/index.js +69 -0
- package/node_modules/unpipe/package.json +27 -0
- package/node_modules/vary/HISTORY.md +39 -0
- package/node_modules/vary/LICENSE +22 -0
- package/node_modules/vary/README.md +101 -0
- package/node_modules/vary/index.js +149 -0
- package/node_modules/vary/package.json +43 -0
- package/node_modules/verror/CHANGES.md +28 -0
- package/node_modules/verror/CONTRIBUTING.md +16 -0
- package/node_modules/verror/LICENSE +19 -0
- package/node_modules/verror/README.md +528 -0
- package/node_modules/verror/lib/verror.js +451 -0
- package/node_modules/verror/package.json +30 -0
- package/node_modules/wordwrap/LICENSE +18 -0
- package/node_modules/wordwrap/README.markdown +70 -0
- package/node_modules/wordwrap/example/center.js +10 -0
- package/node_modules/wordwrap/example/meat.js +3 -0
- package/node_modules/wordwrap/index.js +76 -0
- package/node_modules/wordwrap/package.json +34 -0
- package/node_modules/wordwrap/test/break.js +32 -0
- package/node_modules/wordwrap/test/idleness.txt +63 -0
- package/node_modules/wordwrap/test/wrap.js +33 -0
- package/node_modules/wrappy/LICENSE +15 -0
- package/node_modules/wrappy/README.md +36 -0
- package/node_modules/wrappy/package.json +29 -0
- package/node_modules/wrappy/wrappy.js +33 -0
- package/node_modules/ws/LICENSE +20 -0
- package/node_modules/ws/README.md +548 -0
- package/node_modules/ws/browser.js +8 -0
- package/node_modules/ws/index.js +22 -0
- package/node_modules/ws/lib/buffer-util.js +131 -0
- package/node_modules/ws/lib/constants.js +19 -0
- package/node_modules/ws/lib/event-target.js +292 -0
- package/node_modules/ws/lib/extension.js +203 -0
- package/node_modules/ws/lib/limiter.js +55 -0
- package/node_modules/ws/lib/permessage-deflate.js +528 -0
- package/node_modules/ws/lib/receiver.js +760 -0
- package/node_modules/ws/lib/sender.js +607 -0
- package/node_modules/ws/lib/stream.js +161 -0
- package/node_modules/ws/lib/subprotocol.js +62 -0
- package/node_modules/ws/lib/validation.js +152 -0
- package/node_modules/ws/lib/websocket-server.js +562 -0
- package/node_modules/ws/lib/websocket.js +1407 -0
- package/node_modules/ws/package.json +70 -0
- package/node_modules/ws/wrapper.mjs +21 -0
- package/node_modules/xml-js/LICENSE +21 -0
- package/node_modules/xml-js/README.md +390 -0
- package/node_modules/xml-js/bin/cli-helper.js +47 -0
- package/node_modules/xml-js/bin/cli.js +83 -0
- package/node_modules/xml-js/bin/test.json +23 -0
- package/node_modules/xml-js/bin/test.xml +3 -0
- package/node_modules/xml-js/dist/xml-js.js +8310 -0
- package/node_modules/xml-js/dist/xml-js.min.js +8 -0
- package/node_modules/xml-js/index.js +1 -0
- package/node_modules/xml-js/lib/array-helper.js +11 -0
- package/node_modules/xml-js/lib/index.js +13 -0
- package/node_modules/xml-js/lib/js2xml.js +320 -0
- package/node_modules/xml-js/lib/json2xml.js +18 -0
- package/node_modules/xml-js/lib/options-helper.js +43 -0
- package/node_modules/xml-js/lib/xml2js.js +362 -0
- package/node_modules/xml-js/lib/xml2json.js +22 -0
- package/node_modules/xml-js/package.json +111 -0
- package/node_modules/xml-js/types/index.d.ts +154 -0
- package/node_modules/xml-js/types/tsconfig.json +14 -0
- package/node_modules/xml-js/types/typings.json +4 -0
- package/node_modules/xml-js/types/xml-js-tests.ts +60 -0
- package/node_modules/xml-js/webpack.config.js +28 -0
- package/node_modules/yaml/LICENSE +13 -0
- package/node_modules/yaml/README.md +172 -0
- package/node_modules/yaml/bin.mjs +11 -0
- package/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
- package/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
- package/node_modules/yaml/browser/dist/compose/compose-node.js +109 -0
- package/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
- package/node_modules/yaml/browser/dist/compose/composer.js +219 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
- package/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +225 -0
- package/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
- package/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
- package/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
- package/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
- package/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
- package/node_modules/yaml/browser/dist/doc/Document.js +335 -0
- package/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
- package/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
- package/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
- package/node_modules/yaml/browser/dist/doc/directives.js +176 -0
- package/node_modules/yaml/browser/dist/errors.js +57 -0
- package/node_modules/yaml/browser/dist/index.js +17 -0
- package/node_modules/yaml/browser/dist/log.js +11 -0
- package/node_modules/yaml/browser/dist/nodes/Alias.js +116 -0
- package/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
- package/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
- package/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
- package/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
- package/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
- package/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
- package/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
- package/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
- package/node_modules/yaml/browser/dist/parse/cst.js +98 -0
- package/node_modules/yaml/browser/dist/parse/lexer.js +721 -0
- package/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
- package/node_modules/yaml/browser/dist/parse/parser.js +975 -0
- package/node_modules/yaml/browser/dist/public-api.js +102 -0
- package/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
- package/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
- package/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
- package/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
- package/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
- package/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
- package/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
- package/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
- package/node_modules/yaml/browser/dist/schema/tags.js +96 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +67 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
- package/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
- package/node_modules/yaml/browser/dist/stringify/stringify.js +129 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +153 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +25 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
- package/node_modules/yaml/browser/dist/util.js +11 -0
- package/node_modules/yaml/browser/dist/visit.js +233 -0
- package/node_modules/yaml/browser/index.js +5 -0
- package/{lib/init/template/esm/files/package.json.hbs → node_modules/yaml/browser/package.json} +1 -1
- package/node_modules/yaml/dist/cli.d.ts +8 -0
- package/node_modules/yaml/dist/cli.mjs +201 -0
- package/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
- package/node_modules/yaml/dist/compose/compose-collection.js +90 -0
- package/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
- package/node_modules/yaml/dist/compose/compose-doc.js +45 -0
- package/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
- package/node_modules/yaml/dist/compose/compose-node.js +112 -0
- package/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
- package/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
- package/node_modules/yaml/dist/compose/composer.d.ts +63 -0
- package/node_modules/yaml/dist/compose/composer.js +224 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
- package/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-end.js +39 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +227 -0
- package/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
- package/node_modules/yaml/dist/compose/resolve-props.js +148 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
- package/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
- package/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
- package/node_modules/yaml/dist/doc/Document.d.ts +141 -0
- package/node_modules/yaml/dist/doc/Document.js +337 -0
- package/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
- package/node_modules/yaml/dist/doc/anchors.js +76 -0
- package/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
- package/node_modules/yaml/dist/doc/applyReviver.js +57 -0
- package/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
- package/node_modules/yaml/dist/doc/createNode.js +90 -0
- package/node_modules/yaml/dist/doc/directives.d.ts +49 -0
- package/node_modules/yaml/dist/doc/directives.js +178 -0
- package/node_modules/yaml/dist/errors.d.ts +21 -0
- package/node_modules/yaml/dist/errors.js +62 -0
- package/node_modules/yaml/dist/index.d.ts +25 -0
- package/node_modules/yaml/dist/index.js +50 -0
- package/node_modules/yaml/dist/log.d.ts +3 -0
- package/node_modules/yaml/dist/log.js +19 -0
- package/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/Alias.js +118 -0
- package/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
- package/node_modules/yaml/dist/nodes/Collection.js +151 -0
- package/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/Node.js +40 -0
- package/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
- package/node_modules/yaml/dist/nodes/Pair.js +39 -0
- package/node_modules/yaml/dist/nodes/Scalar.d.ts +47 -0
- package/node_modules/yaml/dist/nodes/Scalar.js +27 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
- package/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
- package/node_modules/yaml/dist/nodes/identity.js +53 -0
- package/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/toJS.js +39 -0
- package/node_modules/yaml/dist/options.d.ts +350 -0
- package/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
- package/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
- package/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
- package/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
- package/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
- package/node_modules/yaml/dist/parse/cst-visit.js +99 -0
- package/node_modules/yaml/dist/parse/cst.d.ts +109 -0
- package/node_modules/yaml/dist/parse/cst.js +112 -0
- package/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
- package/node_modules/yaml/dist/parse/lexer.js +723 -0
- package/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
- package/node_modules/yaml/dist/parse/line-counter.js +41 -0
- package/node_modules/yaml/dist/parse/parser.d.ts +84 -0
- package/node_modules/yaml/dist/parse/parser.js +980 -0
- package/node_modules/yaml/dist/public-api.d.ts +44 -0
- package/node_modules/yaml/dist/public-api.js +107 -0
- package/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
- package/node_modules/yaml/dist/schema/Schema.js +39 -0
- package/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/map.js +19 -0
- package/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
- package/node_modules/yaml/dist/schema/common/null.js +17 -0
- package/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/seq.js +19 -0
- package/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/string.js +16 -0
- package/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/bool.js +21 -0
- package/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/float.js +47 -0
- package/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/int.js +42 -0
- package/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/core/schema.js +25 -0
- package/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
- package/node_modules/yaml/dist/schema/json/schema.js +64 -0
- package/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
- package/node_modules/yaml/dist/schema/tags.d.ts +48 -0
- package/node_modules/yaml/dist/schema/tags.js +99 -0
- package/node_modules/yaml/dist/schema/types.d.ts +92 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +71 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
- package/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
- package/node_modules/yaml/dist/stringify/stringify.js +132 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.js +155 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.js +27 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
- package/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
- package/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
- package/node_modules/yaml/dist/test-events.d.ts +4 -0
- package/node_modules/yaml/dist/test-events.js +134 -0
- package/node_modules/yaml/dist/util.d.ts +16 -0
- package/node_modules/yaml/dist/util.js +28 -0
- package/node_modules/yaml/dist/visit.d.ts +102 -0
- package/node_modules/yaml/dist/visit.js +236 -0
- package/node_modules/yaml/package.json +97 -0
- package/node_modules/yaml/util.js +2 -0
- package/package.json +116 -9
- package/bin/data-products/get-csn-via-dp-cli.js +0 -41
- package/bin/extend.js +0 -74
- package/bin/migrate.js +0 -66
- package/lib/init/template/containerize/index.js +0 -22
- package/lib/init/template/helm/index.js +0 -163
- package/lib/init/template/helm-unified-runtime/index.js +0 -65
- package/lib/init/template/html5-repo/files/html5-deployer.package.json.hbs +0 -11
- package/lib/mtx/download_legacy.js +0 -43
- package/lib/mtx/util/legacy_ext.js +0 -15
- package/npm-shrinkwrap.json +0 -1725
|
@@ -0,0 +1,3795 @@
|
|
|
1
|
+
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
|
|
2
|
+
module.exports = function (it) {
|
|
3
|
+
if (typeof it != 'function') throw TypeError(it + ' is not a function!');
|
|
4
|
+
return it;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
},{}],2:[function(require,module,exports){
|
|
8
|
+
// 22.1.3.31 Array.prototype[@@unscopables]
|
|
9
|
+
var UNSCOPABLES = require('./_wks')('unscopables');
|
|
10
|
+
var ArrayProto = Array.prototype;
|
|
11
|
+
if (ArrayProto[UNSCOPABLES] == undefined) require('./_hide')(ArrayProto, UNSCOPABLES, {});
|
|
12
|
+
module.exports = function (key) {
|
|
13
|
+
ArrayProto[UNSCOPABLES][key] = true;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
},{"./_hide":27,"./_wks":81}],3:[function(require,module,exports){
|
|
17
|
+
'use strict';
|
|
18
|
+
var at = require('./_string-at')(true);
|
|
19
|
+
|
|
20
|
+
// `AdvanceStringIndex` abstract operation
|
|
21
|
+
// https://tc39.github.io/ecma262/#sec-advancestringindex
|
|
22
|
+
module.exports = function (S, index, unicode) {
|
|
23
|
+
return index + (unicode ? at(S, index).length : 1);
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
},{"./_string-at":68}],4:[function(require,module,exports){
|
|
27
|
+
var isObject = require('./_is-object');
|
|
28
|
+
module.exports = function (it) {
|
|
29
|
+
if (!isObject(it)) throw TypeError(it + ' is not an object!');
|
|
30
|
+
return it;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
},{"./_is-object":34}],5:[function(require,module,exports){
|
|
34
|
+
// false -> Array#indexOf
|
|
35
|
+
// true -> Array#includes
|
|
36
|
+
var toIObject = require('./_to-iobject');
|
|
37
|
+
var toLength = require('./_to-length');
|
|
38
|
+
var toAbsoluteIndex = require('./_to-absolute-index');
|
|
39
|
+
module.exports = function (IS_INCLUDES) {
|
|
40
|
+
return function ($this, el, fromIndex) {
|
|
41
|
+
var O = toIObject($this);
|
|
42
|
+
var length = toLength(O.length);
|
|
43
|
+
var index = toAbsoluteIndex(fromIndex, length);
|
|
44
|
+
var value;
|
|
45
|
+
// Array#includes uses SameValueZero equality algorithm
|
|
46
|
+
// eslint-disable-next-line no-self-compare
|
|
47
|
+
if (IS_INCLUDES && el != el) while (length > index) {
|
|
48
|
+
value = O[index++];
|
|
49
|
+
// eslint-disable-next-line no-self-compare
|
|
50
|
+
if (value != value) return true;
|
|
51
|
+
// Array#indexOf ignores holes, Array#includes - not
|
|
52
|
+
} else for (;length > index; index++) if (IS_INCLUDES || index in O) {
|
|
53
|
+
if (O[index] === el) return IS_INCLUDES || index || 0;
|
|
54
|
+
} return !IS_INCLUDES && -1;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
},{"./_to-absolute-index":72,"./_to-iobject":74,"./_to-length":75}],6:[function(require,module,exports){
|
|
59
|
+
// 0 -> Array#forEach
|
|
60
|
+
// 1 -> Array#map
|
|
61
|
+
// 2 -> Array#filter
|
|
62
|
+
// 3 -> Array#some
|
|
63
|
+
// 4 -> Array#every
|
|
64
|
+
// 5 -> Array#find
|
|
65
|
+
// 6 -> Array#findIndex
|
|
66
|
+
var ctx = require('./_ctx');
|
|
67
|
+
var IObject = require('./_iobject');
|
|
68
|
+
var toObject = require('./_to-object');
|
|
69
|
+
var toLength = require('./_to-length');
|
|
70
|
+
var asc = require('./_array-species-create');
|
|
71
|
+
module.exports = function (TYPE, $create) {
|
|
72
|
+
var IS_MAP = TYPE == 1;
|
|
73
|
+
var IS_FILTER = TYPE == 2;
|
|
74
|
+
var IS_SOME = TYPE == 3;
|
|
75
|
+
var IS_EVERY = TYPE == 4;
|
|
76
|
+
var IS_FIND_INDEX = TYPE == 6;
|
|
77
|
+
var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
|
|
78
|
+
var create = $create || asc;
|
|
79
|
+
return function ($this, callbackfn, that) {
|
|
80
|
+
var O = toObject($this);
|
|
81
|
+
var self = IObject(O);
|
|
82
|
+
var f = ctx(callbackfn, that, 3);
|
|
83
|
+
var length = toLength(self.length);
|
|
84
|
+
var index = 0;
|
|
85
|
+
var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
|
|
86
|
+
var val, res;
|
|
87
|
+
for (;length > index; index++) if (NO_HOLES || index in self) {
|
|
88
|
+
val = self[index];
|
|
89
|
+
res = f(val, index, O);
|
|
90
|
+
if (TYPE) {
|
|
91
|
+
if (IS_MAP) result[index] = res; // map
|
|
92
|
+
else if (res) switch (TYPE) {
|
|
93
|
+
case 3: return true; // some
|
|
94
|
+
case 5: return val; // find
|
|
95
|
+
case 6: return index; // findIndex
|
|
96
|
+
case 2: result.push(val); // filter
|
|
97
|
+
} else if (IS_EVERY) return false; // every
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
},{"./_array-species-create":8,"./_ctx":13,"./_iobject":31,"./_to-length":75,"./_to-object":76}],7:[function(require,module,exports){
|
|
105
|
+
var isObject = require('./_is-object');
|
|
106
|
+
var isArray = require('./_is-array');
|
|
107
|
+
var SPECIES = require('./_wks')('species');
|
|
108
|
+
|
|
109
|
+
module.exports = function (original) {
|
|
110
|
+
var C;
|
|
111
|
+
if (isArray(original)) {
|
|
112
|
+
C = original.constructor;
|
|
113
|
+
// cross-realm fallback
|
|
114
|
+
if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
|
|
115
|
+
if (isObject(C)) {
|
|
116
|
+
C = C[SPECIES];
|
|
117
|
+
if (C === null) C = undefined;
|
|
118
|
+
}
|
|
119
|
+
} return C === undefined ? Array : C;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
},{"./_is-array":33,"./_is-object":34,"./_wks":81}],8:[function(require,module,exports){
|
|
123
|
+
// 9.4.2.3 ArraySpeciesCreate(originalArray, length)
|
|
124
|
+
var speciesConstructor = require('./_array-species-constructor');
|
|
125
|
+
|
|
126
|
+
module.exports = function (original, length) {
|
|
127
|
+
return new (speciesConstructor(original))(length);
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
},{"./_array-species-constructor":7}],9:[function(require,module,exports){
|
|
131
|
+
// getting tag from 19.1.3.6 Object.prototype.toString()
|
|
132
|
+
var cof = require('./_cof');
|
|
133
|
+
var TAG = require('./_wks')('toStringTag');
|
|
134
|
+
// ES3 wrong here
|
|
135
|
+
var ARG = cof(function () { return arguments; }()) == 'Arguments';
|
|
136
|
+
|
|
137
|
+
// fallback for IE11 Script Access Denied error
|
|
138
|
+
var tryGet = function (it, key) {
|
|
139
|
+
try {
|
|
140
|
+
return it[key];
|
|
141
|
+
} catch (e) { /* empty */ }
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
module.exports = function (it) {
|
|
145
|
+
var O, T, B;
|
|
146
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
147
|
+
// @@toStringTag case
|
|
148
|
+
: typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
|
|
149
|
+
// builtinTag case
|
|
150
|
+
: ARG ? cof(O)
|
|
151
|
+
// ES3 arguments fallback
|
|
152
|
+
: (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
},{"./_cof":10,"./_wks":81}],10:[function(require,module,exports){
|
|
156
|
+
var toString = {}.toString;
|
|
157
|
+
|
|
158
|
+
module.exports = function (it) {
|
|
159
|
+
return toString.call(it).slice(8, -1);
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
},{}],11:[function(require,module,exports){
|
|
163
|
+
var core = module.exports = { version: '2.6.12' };
|
|
164
|
+
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
|
|
165
|
+
|
|
166
|
+
},{}],12:[function(require,module,exports){
|
|
167
|
+
'use strict';
|
|
168
|
+
var $defineProperty = require('./_object-dp');
|
|
169
|
+
var createDesc = require('./_property-desc');
|
|
170
|
+
|
|
171
|
+
module.exports = function (object, index, value) {
|
|
172
|
+
if (index in object) $defineProperty.f(object, index, createDesc(0, value));
|
|
173
|
+
else object[index] = value;
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
},{"./_object-dp":45,"./_property-desc":57}],13:[function(require,module,exports){
|
|
177
|
+
// optional / simple context binding
|
|
178
|
+
var aFunction = require('./_a-function');
|
|
179
|
+
module.exports = function (fn, that, length) {
|
|
180
|
+
aFunction(fn);
|
|
181
|
+
if (that === undefined) return fn;
|
|
182
|
+
switch (length) {
|
|
183
|
+
case 1: return function (a) {
|
|
184
|
+
return fn.call(that, a);
|
|
185
|
+
};
|
|
186
|
+
case 2: return function (a, b) {
|
|
187
|
+
return fn.call(that, a, b);
|
|
188
|
+
};
|
|
189
|
+
case 3: return function (a, b, c) {
|
|
190
|
+
return fn.call(that, a, b, c);
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
return function (/* ...args */) {
|
|
194
|
+
return fn.apply(that, arguments);
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
},{"./_a-function":1}],14:[function(require,module,exports){
|
|
199
|
+
// 7.2.1 RequireObjectCoercible(argument)
|
|
200
|
+
module.exports = function (it) {
|
|
201
|
+
if (it == undefined) throw TypeError("Can't call method on " + it);
|
|
202
|
+
return it;
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
},{}],15:[function(require,module,exports){
|
|
206
|
+
// Thank's IE8 for his funny defineProperty
|
|
207
|
+
module.exports = !require('./_fails')(function () {
|
|
208
|
+
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
|
209
|
+
});
|
|
210
|
+
|
|
211
|
+
},{"./_fails":21}],16:[function(require,module,exports){
|
|
212
|
+
var isObject = require('./_is-object');
|
|
213
|
+
var document = require('./_global').document;
|
|
214
|
+
// typeof document.createElement is 'object' in old IE
|
|
215
|
+
var is = isObject(document) && isObject(document.createElement);
|
|
216
|
+
module.exports = function (it) {
|
|
217
|
+
return is ? document.createElement(it) : {};
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
},{"./_global":25,"./_is-object":34}],17:[function(require,module,exports){
|
|
221
|
+
// IE 8- don't enum bug keys
|
|
222
|
+
module.exports = (
|
|
223
|
+
'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
|
|
224
|
+
).split(',');
|
|
225
|
+
|
|
226
|
+
},{}],18:[function(require,module,exports){
|
|
227
|
+
// all enumerable object keys, includes symbols
|
|
228
|
+
var getKeys = require('./_object-keys');
|
|
229
|
+
var gOPS = require('./_object-gops');
|
|
230
|
+
var pIE = require('./_object-pie');
|
|
231
|
+
module.exports = function (it) {
|
|
232
|
+
var result = getKeys(it);
|
|
233
|
+
var getSymbols = gOPS.f;
|
|
234
|
+
if (getSymbols) {
|
|
235
|
+
var symbols = getSymbols(it);
|
|
236
|
+
var isEnum = pIE.f;
|
|
237
|
+
var i = 0;
|
|
238
|
+
var key;
|
|
239
|
+
while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);
|
|
240
|
+
} return result;
|
|
241
|
+
};
|
|
242
|
+
|
|
243
|
+
},{"./_object-gops":50,"./_object-keys":53,"./_object-pie":54}],19:[function(require,module,exports){
|
|
244
|
+
var global = require('./_global');
|
|
245
|
+
var core = require('./_core');
|
|
246
|
+
var hide = require('./_hide');
|
|
247
|
+
var redefine = require('./_redefine');
|
|
248
|
+
var ctx = require('./_ctx');
|
|
249
|
+
var PROTOTYPE = 'prototype';
|
|
250
|
+
|
|
251
|
+
var $export = function (type, name, source) {
|
|
252
|
+
var IS_FORCED = type & $export.F;
|
|
253
|
+
var IS_GLOBAL = type & $export.G;
|
|
254
|
+
var IS_STATIC = type & $export.S;
|
|
255
|
+
var IS_PROTO = type & $export.P;
|
|
256
|
+
var IS_BIND = type & $export.B;
|
|
257
|
+
var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
|
|
258
|
+
var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
|
|
259
|
+
var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
|
|
260
|
+
var key, own, out, exp;
|
|
261
|
+
if (IS_GLOBAL) source = name;
|
|
262
|
+
for (key in source) {
|
|
263
|
+
// contains in native
|
|
264
|
+
own = !IS_FORCED && target && target[key] !== undefined;
|
|
265
|
+
// export native or passed
|
|
266
|
+
out = (own ? target : source)[key];
|
|
267
|
+
// bind timers to global for call from export context
|
|
268
|
+
exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
|
|
269
|
+
// extend global
|
|
270
|
+
if (target) redefine(target, key, out, type & $export.U);
|
|
271
|
+
// export
|
|
272
|
+
if (exports[key] != out) hide(exports, key, exp);
|
|
273
|
+
if (IS_PROTO && expProto[key] != out) expProto[key] = out;
|
|
274
|
+
}
|
|
275
|
+
};
|
|
276
|
+
global.core = core;
|
|
277
|
+
// type bitmap
|
|
278
|
+
$export.F = 1; // forced
|
|
279
|
+
$export.G = 2; // global
|
|
280
|
+
$export.S = 4; // static
|
|
281
|
+
$export.P = 8; // proto
|
|
282
|
+
$export.B = 16; // bind
|
|
283
|
+
$export.W = 32; // wrap
|
|
284
|
+
$export.U = 64; // safe
|
|
285
|
+
$export.R = 128; // real proto method for `library`
|
|
286
|
+
module.exports = $export;
|
|
287
|
+
|
|
288
|
+
},{"./_core":11,"./_ctx":13,"./_global":25,"./_hide":27,"./_redefine":58}],20:[function(require,module,exports){
|
|
289
|
+
var MATCH = require('./_wks')('match');
|
|
290
|
+
module.exports = function (KEY) {
|
|
291
|
+
var re = /./;
|
|
292
|
+
try {
|
|
293
|
+
'/./'[KEY](re);
|
|
294
|
+
} catch (e) {
|
|
295
|
+
try {
|
|
296
|
+
re[MATCH] = false;
|
|
297
|
+
return !'/./'[KEY](re);
|
|
298
|
+
} catch (f) { /* empty */ }
|
|
299
|
+
} return true;
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
},{"./_wks":81}],21:[function(require,module,exports){
|
|
303
|
+
module.exports = function (exec) {
|
|
304
|
+
try {
|
|
305
|
+
return !!exec();
|
|
306
|
+
} catch (e) {
|
|
307
|
+
return true;
|
|
308
|
+
}
|
|
309
|
+
};
|
|
310
|
+
|
|
311
|
+
},{}],22:[function(require,module,exports){
|
|
312
|
+
'use strict';
|
|
313
|
+
require('./es6.regexp.exec');
|
|
314
|
+
var redefine = require('./_redefine');
|
|
315
|
+
var hide = require('./_hide');
|
|
316
|
+
var fails = require('./_fails');
|
|
317
|
+
var defined = require('./_defined');
|
|
318
|
+
var wks = require('./_wks');
|
|
319
|
+
var regexpExec = require('./_regexp-exec');
|
|
320
|
+
|
|
321
|
+
var SPECIES = wks('species');
|
|
322
|
+
|
|
323
|
+
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
|
|
324
|
+
// #replace needs built-in support for named groups.
|
|
325
|
+
// #match works fine because it just return the exec results, even if it has
|
|
326
|
+
// a "grops" property.
|
|
327
|
+
var re = /./;
|
|
328
|
+
re.exec = function () {
|
|
329
|
+
var result = [];
|
|
330
|
+
result.groups = { a: '7' };
|
|
331
|
+
return result;
|
|
332
|
+
};
|
|
333
|
+
return ''.replace(re, '$<a>') !== '7';
|
|
334
|
+
});
|
|
335
|
+
|
|
336
|
+
var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {
|
|
337
|
+
// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
|
|
338
|
+
var re = /(?:)/;
|
|
339
|
+
var originalExec = re.exec;
|
|
340
|
+
re.exec = function () { return originalExec.apply(this, arguments); };
|
|
341
|
+
var result = 'ab'.split(re);
|
|
342
|
+
return result.length === 2 && result[0] === 'a' && result[1] === 'b';
|
|
343
|
+
})();
|
|
344
|
+
|
|
345
|
+
module.exports = function (KEY, length, exec) {
|
|
346
|
+
var SYMBOL = wks(KEY);
|
|
347
|
+
|
|
348
|
+
var DELEGATES_TO_SYMBOL = !fails(function () {
|
|
349
|
+
// String methods call symbol-named RegEp methods
|
|
350
|
+
var O = {};
|
|
351
|
+
O[SYMBOL] = function () { return 7; };
|
|
352
|
+
return ''[KEY](O) != 7;
|
|
353
|
+
});
|
|
354
|
+
|
|
355
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {
|
|
356
|
+
// Symbol-named RegExp methods call .exec
|
|
357
|
+
var execCalled = false;
|
|
358
|
+
var re = /a/;
|
|
359
|
+
re.exec = function () { execCalled = true; return null; };
|
|
360
|
+
if (KEY === 'split') {
|
|
361
|
+
// RegExp[@@split] doesn't call the regex's exec method, but first creates
|
|
362
|
+
// a new one. We need to return the patched regex when creating the new one.
|
|
363
|
+
re.constructor = {};
|
|
364
|
+
re.constructor[SPECIES] = function () { return re; };
|
|
365
|
+
}
|
|
366
|
+
re[SYMBOL]('');
|
|
367
|
+
return !execCalled;
|
|
368
|
+
}) : undefined;
|
|
369
|
+
|
|
370
|
+
if (
|
|
371
|
+
!DELEGATES_TO_SYMBOL ||
|
|
372
|
+
!DELEGATES_TO_EXEC ||
|
|
373
|
+
(KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||
|
|
374
|
+
(KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
|
|
375
|
+
) {
|
|
376
|
+
var nativeRegExpMethod = /./[SYMBOL];
|
|
377
|
+
var fns = exec(
|
|
378
|
+
defined,
|
|
379
|
+
SYMBOL,
|
|
380
|
+
''[KEY],
|
|
381
|
+
function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {
|
|
382
|
+
if (regexp.exec === regexpExec) {
|
|
383
|
+
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
|
384
|
+
// The native String method already delegates to @@method (this
|
|
385
|
+
// polyfilled function), leasing to infinite recursion.
|
|
386
|
+
// We avoid it by directly calling the native @@method method.
|
|
387
|
+
return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
|
|
388
|
+
}
|
|
389
|
+
return { done: true, value: nativeMethod.call(str, regexp, arg2) };
|
|
390
|
+
}
|
|
391
|
+
return { done: false };
|
|
392
|
+
}
|
|
393
|
+
);
|
|
394
|
+
var strfn = fns[0];
|
|
395
|
+
var rxfn = fns[1];
|
|
396
|
+
|
|
397
|
+
redefine(String.prototype, KEY, strfn);
|
|
398
|
+
hide(RegExp.prototype, SYMBOL, length == 2
|
|
399
|
+
// 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
|
|
400
|
+
// 21.2.5.11 RegExp.prototype[@@split](string, limit)
|
|
401
|
+
? function (string, arg) { return rxfn.call(string, this, arg); }
|
|
402
|
+
// 21.2.5.6 RegExp.prototype[@@match](string)
|
|
403
|
+
// 21.2.5.9 RegExp.prototype[@@search](string)
|
|
404
|
+
: function (string) { return rxfn.call(string, this); }
|
|
405
|
+
);
|
|
406
|
+
}
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
},{"./_defined":14,"./_fails":21,"./_hide":27,"./_redefine":58,"./_regexp-exec":60,"./_wks":81,"./es6.regexp.exec":93}],23:[function(require,module,exports){
|
|
410
|
+
'use strict';
|
|
411
|
+
// 21.2.5.3 get RegExp.prototype.flags
|
|
412
|
+
var anObject = require('./_an-object');
|
|
413
|
+
module.exports = function () {
|
|
414
|
+
var that = anObject(this);
|
|
415
|
+
var result = '';
|
|
416
|
+
if (that.global) result += 'g';
|
|
417
|
+
if (that.ignoreCase) result += 'i';
|
|
418
|
+
if (that.multiline) result += 'm';
|
|
419
|
+
if (that.unicode) result += 'u';
|
|
420
|
+
if (that.sticky) result += 'y';
|
|
421
|
+
return result;
|
|
422
|
+
};
|
|
423
|
+
|
|
424
|
+
},{"./_an-object":4}],24:[function(require,module,exports){
|
|
425
|
+
module.exports = require('./_shared')('native-function-to-string', Function.toString);
|
|
426
|
+
|
|
427
|
+
},{"./_shared":65}],25:[function(require,module,exports){
|
|
428
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
429
|
+
var global = module.exports = typeof window != 'undefined' && window.Math == Math
|
|
430
|
+
? window : typeof self != 'undefined' && self.Math == Math ? self
|
|
431
|
+
// eslint-disable-next-line no-new-func
|
|
432
|
+
: Function('return this')();
|
|
433
|
+
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
|
|
434
|
+
|
|
435
|
+
},{}],26:[function(require,module,exports){
|
|
436
|
+
var hasOwnProperty = {}.hasOwnProperty;
|
|
437
|
+
module.exports = function (it, key) {
|
|
438
|
+
return hasOwnProperty.call(it, key);
|
|
439
|
+
};
|
|
440
|
+
|
|
441
|
+
},{}],27:[function(require,module,exports){
|
|
442
|
+
var dP = require('./_object-dp');
|
|
443
|
+
var createDesc = require('./_property-desc');
|
|
444
|
+
module.exports = require('./_descriptors') ? function (object, key, value) {
|
|
445
|
+
return dP.f(object, key, createDesc(1, value));
|
|
446
|
+
} : function (object, key, value) {
|
|
447
|
+
object[key] = value;
|
|
448
|
+
return object;
|
|
449
|
+
};
|
|
450
|
+
|
|
451
|
+
},{"./_descriptors":15,"./_object-dp":45,"./_property-desc":57}],28:[function(require,module,exports){
|
|
452
|
+
var document = require('./_global').document;
|
|
453
|
+
module.exports = document && document.documentElement;
|
|
454
|
+
|
|
455
|
+
},{"./_global":25}],29:[function(require,module,exports){
|
|
456
|
+
module.exports = !require('./_descriptors') && !require('./_fails')(function () {
|
|
457
|
+
return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;
|
|
458
|
+
});
|
|
459
|
+
|
|
460
|
+
},{"./_descriptors":15,"./_dom-create":16,"./_fails":21}],30:[function(require,module,exports){
|
|
461
|
+
var isObject = require('./_is-object');
|
|
462
|
+
var setPrototypeOf = require('./_set-proto').set;
|
|
463
|
+
module.exports = function (that, target, C) {
|
|
464
|
+
var S = target.constructor;
|
|
465
|
+
var P;
|
|
466
|
+
if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {
|
|
467
|
+
setPrototypeOf(that, P);
|
|
468
|
+
} return that;
|
|
469
|
+
};
|
|
470
|
+
|
|
471
|
+
},{"./_is-object":34,"./_set-proto":61}],31:[function(require,module,exports){
|
|
472
|
+
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
473
|
+
var cof = require('./_cof');
|
|
474
|
+
// eslint-disable-next-line no-prototype-builtins
|
|
475
|
+
module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
|
|
476
|
+
return cof(it) == 'String' ? it.split('') : Object(it);
|
|
477
|
+
};
|
|
478
|
+
|
|
479
|
+
},{"./_cof":10}],32:[function(require,module,exports){
|
|
480
|
+
// check on default Array iterator
|
|
481
|
+
var Iterators = require('./_iterators');
|
|
482
|
+
var ITERATOR = require('./_wks')('iterator');
|
|
483
|
+
var ArrayProto = Array.prototype;
|
|
484
|
+
|
|
485
|
+
module.exports = function (it) {
|
|
486
|
+
return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
|
|
487
|
+
};
|
|
488
|
+
|
|
489
|
+
},{"./_iterators":41,"./_wks":81}],33:[function(require,module,exports){
|
|
490
|
+
// 7.2.2 IsArray(argument)
|
|
491
|
+
var cof = require('./_cof');
|
|
492
|
+
module.exports = Array.isArray || function isArray(arg) {
|
|
493
|
+
return cof(arg) == 'Array';
|
|
494
|
+
};
|
|
495
|
+
|
|
496
|
+
},{"./_cof":10}],34:[function(require,module,exports){
|
|
497
|
+
module.exports = function (it) {
|
|
498
|
+
return typeof it === 'object' ? it !== null : typeof it === 'function';
|
|
499
|
+
};
|
|
500
|
+
|
|
501
|
+
},{}],35:[function(require,module,exports){
|
|
502
|
+
// 7.2.8 IsRegExp(argument)
|
|
503
|
+
var isObject = require('./_is-object');
|
|
504
|
+
var cof = require('./_cof');
|
|
505
|
+
var MATCH = require('./_wks')('match');
|
|
506
|
+
module.exports = function (it) {
|
|
507
|
+
var isRegExp;
|
|
508
|
+
return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
|
|
509
|
+
};
|
|
510
|
+
|
|
511
|
+
},{"./_cof":10,"./_is-object":34,"./_wks":81}],36:[function(require,module,exports){
|
|
512
|
+
// call something on iterator step with safe closing on error
|
|
513
|
+
var anObject = require('./_an-object');
|
|
514
|
+
module.exports = function (iterator, fn, value, entries) {
|
|
515
|
+
try {
|
|
516
|
+
return entries ? fn(anObject(value)[0], value[1]) : fn(value);
|
|
517
|
+
// 7.4.6 IteratorClose(iterator, completion)
|
|
518
|
+
} catch (e) {
|
|
519
|
+
var ret = iterator['return'];
|
|
520
|
+
if (ret !== undefined) anObject(ret.call(iterator));
|
|
521
|
+
throw e;
|
|
522
|
+
}
|
|
523
|
+
};
|
|
524
|
+
|
|
525
|
+
},{"./_an-object":4}],37:[function(require,module,exports){
|
|
526
|
+
'use strict';
|
|
527
|
+
var create = require('./_object-create');
|
|
528
|
+
var descriptor = require('./_property-desc');
|
|
529
|
+
var setToStringTag = require('./_set-to-string-tag');
|
|
530
|
+
var IteratorPrototype = {};
|
|
531
|
+
|
|
532
|
+
// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
|
|
533
|
+
require('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });
|
|
534
|
+
|
|
535
|
+
module.exports = function (Constructor, NAME, next) {
|
|
536
|
+
Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
|
|
537
|
+
setToStringTag(Constructor, NAME + ' Iterator');
|
|
538
|
+
};
|
|
539
|
+
|
|
540
|
+
},{"./_hide":27,"./_object-create":44,"./_property-desc":57,"./_set-to-string-tag":63,"./_wks":81}],38:[function(require,module,exports){
|
|
541
|
+
'use strict';
|
|
542
|
+
var LIBRARY = require('./_library');
|
|
543
|
+
var $export = require('./_export');
|
|
544
|
+
var redefine = require('./_redefine');
|
|
545
|
+
var hide = require('./_hide');
|
|
546
|
+
var Iterators = require('./_iterators');
|
|
547
|
+
var $iterCreate = require('./_iter-create');
|
|
548
|
+
var setToStringTag = require('./_set-to-string-tag');
|
|
549
|
+
var getPrototypeOf = require('./_object-gpo');
|
|
550
|
+
var ITERATOR = require('./_wks')('iterator');
|
|
551
|
+
var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
|
|
552
|
+
var FF_ITERATOR = '@@iterator';
|
|
553
|
+
var KEYS = 'keys';
|
|
554
|
+
var VALUES = 'values';
|
|
555
|
+
|
|
556
|
+
var returnThis = function () { return this; };
|
|
557
|
+
|
|
558
|
+
module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
|
|
559
|
+
$iterCreate(Constructor, NAME, next);
|
|
560
|
+
var getMethod = function (kind) {
|
|
561
|
+
if (!BUGGY && kind in proto) return proto[kind];
|
|
562
|
+
switch (kind) {
|
|
563
|
+
case KEYS: return function keys() { return new Constructor(this, kind); };
|
|
564
|
+
case VALUES: return function values() { return new Constructor(this, kind); };
|
|
565
|
+
} return function entries() { return new Constructor(this, kind); };
|
|
566
|
+
};
|
|
567
|
+
var TAG = NAME + ' Iterator';
|
|
568
|
+
var DEF_VALUES = DEFAULT == VALUES;
|
|
569
|
+
var VALUES_BUG = false;
|
|
570
|
+
var proto = Base.prototype;
|
|
571
|
+
var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
|
|
572
|
+
var $default = $native || getMethod(DEFAULT);
|
|
573
|
+
var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
|
|
574
|
+
var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
|
|
575
|
+
var methods, key, IteratorPrototype;
|
|
576
|
+
// Fix native
|
|
577
|
+
if ($anyNative) {
|
|
578
|
+
IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
|
|
579
|
+
if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
|
|
580
|
+
// Set @@toStringTag to native iterators
|
|
581
|
+
setToStringTag(IteratorPrototype, TAG, true);
|
|
582
|
+
// fix for some old engines
|
|
583
|
+
if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
// fix Array#{values, @@iterator}.name in V8 / FF
|
|
587
|
+
if (DEF_VALUES && $native && $native.name !== VALUES) {
|
|
588
|
+
VALUES_BUG = true;
|
|
589
|
+
$default = function values() { return $native.call(this); };
|
|
590
|
+
}
|
|
591
|
+
// Define iterator
|
|
592
|
+
if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
|
|
593
|
+
hide(proto, ITERATOR, $default);
|
|
594
|
+
}
|
|
595
|
+
// Plug for library
|
|
596
|
+
Iterators[NAME] = $default;
|
|
597
|
+
Iterators[TAG] = returnThis;
|
|
598
|
+
if (DEFAULT) {
|
|
599
|
+
methods = {
|
|
600
|
+
values: DEF_VALUES ? $default : getMethod(VALUES),
|
|
601
|
+
keys: IS_SET ? $default : getMethod(KEYS),
|
|
602
|
+
entries: $entries
|
|
603
|
+
};
|
|
604
|
+
if (FORCED) for (key in methods) {
|
|
605
|
+
if (!(key in proto)) redefine(proto, key, methods[key]);
|
|
606
|
+
} else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
|
|
607
|
+
}
|
|
608
|
+
return methods;
|
|
609
|
+
};
|
|
610
|
+
|
|
611
|
+
},{"./_export":19,"./_hide":27,"./_iter-create":37,"./_iterators":41,"./_library":42,"./_object-gpo":51,"./_redefine":58,"./_set-to-string-tag":63,"./_wks":81}],39:[function(require,module,exports){
|
|
612
|
+
var ITERATOR = require('./_wks')('iterator');
|
|
613
|
+
var SAFE_CLOSING = false;
|
|
614
|
+
|
|
615
|
+
try {
|
|
616
|
+
var riter = [7][ITERATOR]();
|
|
617
|
+
riter['return'] = function () { SAFE_CLOSING = true; };
|
|
618
|
+
// eslint-disable-next-line no-throw-literal
|
|
619
|
+
Array.from(riter, function () { throw 2; });
|
|
620
|
+
} catch (e) { /* empty */ }
|
|
621
|
+
|
|
622
|
+
module.exports = function (exec, skipClosing) {
|
|
623
|
+
if (!skipClosing && !SAFE_CLOSING) return false;
|
|
624
|
+
var safe = false;
|
|
625
|
+
try {
|
|
626
|
+
var arr = [7];
|
|
627
|
+
var iter = arr[ITERATOR]();
|
|
628
|
+
iter.next = function () { return { done: safe = true }; };
|
|
629
|
+
arr[ITERATOR] = function () { return iter; };
|
|
630
|
+
exec(arr);
|
|
631
|
+
} catch (e) { /* empty */ }
|
|
632
|
+
return safe;
|
|
633
|
+
};
|
|
634
|
+
|
|
635
|
+
},{"./_wks":81}],40:[function(require,module,exports){
|
|
636
|
+
module.exports = function (done, value) {
|
|
637
|
+
return { value: value, done: !!done };
|
|
638
|
+
};
|
|
639
|
+
|
|
640
|
+
},{}],41:[function(require,module,exports){
|
|
641
|
+
module.exports = {};
|
|
642
|
+
|
|
643
|
+
},{}],42:[function(require,module,exports){
|
|
644
|
+
module.exports = false;
|
|
645
|
+
|
|
646
|
+
},{}],43:[function(require,module,exports){
|
|
647
|
+
var META = require('./_uid')('meta');
|
|
648
|
+
var isObject = require('./_is-object');
|
|
649
|
+
var has = require('./_has');
|
|
650
|
+
var setDesc = require('./_object-dp').f;
|
|
651
|
+
var id = 0;
|
|
652
|
+
var isExtensible = Object.isExtensible || function () {
|
|
653
|
+
return true;
|
|
654
|
+
};
|
|
655
|
+
var FREEZE = !require('./_fails')(function () {
|
|
656
|
+
return isExtensible(Object.preventExtensions({}));
|
|
657
|
+
});
|
|
658
|
+
var setMeta = function (it) {
|
|
659
|
+
setDesc(it, META, { value: {
|
|
660
|
+
i: 'O' + ++id, // object ID
|
|
661
|
+
w: {} // weak collections IDs
|
|
662
|
+
} });
|
|
663
|
+
};
|
|
664
|
+
var fastKey = function (it, create) {
|
|
665
|
+
// return primitive with prefix
|
|
666
|
+
if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
|
|
667
|
+
if (!has(it, META)) {
|
|
668
|
+
// can't set metadata to uncaught frozen object
|
|
669
|
+
if (!isExtensible(it)) return 'F';
|
|
670
|
+
// not necessary to add metadata
|
|
671
|
+
if (!create) return 'E';
|
|
672
|
+
// add missing metadata
|
|
673
|
+
setMeta(it);
|
|
674
|
+
// return object ID
|
|
675
|
+
} return it[META].i;
|
|
676
|
+
};
|
|
677
|
+
var getWeak = function (it, create) {
|
|
678
|
+
if (!has(it, META)) {
|
|
679
|
+
// can't set metadata to uncaught frozen object
|
|
680
|
+
if (!isExtensible(it)) return true;
|
|
681
|
+
// not necessary to add metadata
|
|
682
|
+
if (!create) return false;
|
|
683
|
+
// add missing metadata
|
|
684
|
+
setMeta(it);
|
|
685
|
+
// return hash weak collections IDs
|
|
686
|
+
} return it[META].w;
|
|
687
|
+
};
|
|
688
|
+
// add metadata on freeze-family methods calling
|
|
689
|
+
var onFreeze = function (it) {
|
|
690
|
+
if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);
|
|
691
|
+
return it;
|
|
692
|
+
};
|
|
693
|
+
var meta = module.exports = {
|
|
694
|
+
KEY: META,
|
|
695
|
+
NEED: false,
|
|
696
|
+
fastKey: fastKey,
|
|
697
|
+
getWeak: getWeak,
|
|
698
|
+
onFreeze: onFreeze
|
|
699
|
+
};
|
|
700
|
+
|
|
701
|
+
},{"./_fails":21,"./_has":26,"./_is-object":34,"./_object-dp":45,"./_uid":78}],44:[function(require,module,exports){
|
|
702
|
+
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
|
703
|
+
var anObject = require('./_an-object');
|
|
704
|
+
var dPs = require('./_object-dps');
|
|
705
|
+
var enumBugKeys = require('./_enum-bug-keys');
|
|
706
|
+
var IE_PROTO = require('./_shared-key')('IE_PROTO');
|
|
707
|
+
var Empty = function () { /* empty */ };
|
|
708
|
+
var PROTOTYPE = 'prototype';
|
|
709
|
+
|
|
710
|
+
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
711
|
+
var createDict = function () {
|
|
712
|
+
// Thrash, waste and sodomy: IE GC bug
|
|
713
|
+
var iframe = require('./_dom-create')('iframe');
|
|
714
|
+
var i = enumBugKeys.length;
|
|
715
|
+
var lt = '<';
|
|
716
|
+
var gt = '>';
|
|
717
|
+
var iframeDocument;
|
|
718
|
+
iframe.style.display = 'none';
|
|
719
|
+
require('./_html').appendChild(iframe);
|
|
720
|
+
iframe.src = 'javascript:'; // eslint-disable-line no-script-url
|
|
721
|
+
// createDict = iframe.contentWindow.Object;
|
|
722
|
+
// html.removeChild(iframe);
|
|
723
|
+
iframeDocument = iframe.contentWindow.document;
|
|
724
|
+
iframeDocument.open();
|
|
725
|
+
iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
|
|
726
|
+
iframeDocument.close();
|
|
727
|
+
createDict = iframeDocument.F;
|
|
728
|
+
while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
|
|
729
|
+
return createDict();
|
|
730
|
+
};
|
|
731
|
+
|
|
732
|
+
module.exports = Object.create || function create(O, Properties) {
|
|
733
|
+
var result;
|
|
734
|
+
if (O !== null) {
|
|
735
|
+
Empty[PROTOTYPE] = anObject(O);
|
|
736
|
+
result = new Empty();
|
|
737
|
+
Empty[PROTOTYPE] = null;
|
|
738
|
+
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
739
|
+
result[IE_PROTO] = O;
|
|
740
|
+
} else result = createDict();
|
|
741
|
+
return Properties === undefined ? result : dPs(result, Properties);
|
|
742
|
+
};
|
|
743
|
+
|
|
744
|
+
},{"./_an-object":4,"./_dom-create":16,"./_enum-bug-keys":17,"./_html":28,"./_object-dps":46,"./_shared-key":64}],45:[function(require,module,exports){
|
|
745
|
+
var anObject = require('./_an-object');
|
|
746
|
+
var IE8_DOM_DEFINE = require('./_ie8-dom-define');
|
|
747
|
+
var toPrimitive = require('./_to-primitive');
|
|
748
|
+
var dP = Object.defineProperty;
|
|
749
|
+
|
|
750
|
+
exports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {
|
|
751
|
+
anObject(O);
|
|
752
|
+
P = toPrimitive(P, true);
|
|
753
|
+
anObject(Attributes);
|
|
754
|
+
if (IE8_DOM_DEFINE) try {
|
|
755
|
+
return dP(O, P, Attributes);
|
|
756
|
+
} catch (e) { /* empty */ }
|
|
757
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
|
|
758
|
+
if ('value' in Attributes) O[P] = Attributes.value;
|
|
759
|
+
return O;
|
|
760
|
+
};
|
|
761
|
+
|
|
762
|
+
},{"./_an-object":4,"./_descriptors":15,"./_ie8-dom-define":29,"./_to-primitive":77}],46:[function(require,module,exports){
|
|
763
|
+
var dP = require('./_object-dp');
|
|
764
|
+
var anObject = require('./_an-object');
|
|
765
|
+
var getKeys = require('./_object-keys');
|
|
766
|
+
|
|
767
|
+
module.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
768
|
+
anObject(O);
|
|
769
|
+
var keys = getKeys(Properties);
|
|
770
|
+
var length = keys.length;
|
|
771
|
+
var i = 0;
|
|
772
|
+
var P;
|
|
773
|
+
while (length > i) dP.f(O, P = keys[i++], Properties[P]);
|
|
774
|
+
return O;
|
|
775
|
+
};
|
|
776
|
+
|
|
777
|
+
},{"./_an-object":4,"./_descriptors":15,"./_object-dp":45,"./_object-keys":53}],47:[function(require,module,exports){
|
|
778
|
+
var pIE = require('./_object-pie');
|
|
779
|
+
var createDesc = require('./_property-desc');
|
|
780
|
+
var toIObject = require('./_to-iobject');
|
|
781
|
+
var toPrimitive = require('./_to-primitive');
|
|
782
|
+
var has = require('./_has');
|
|
783
|
+
var IE8_DOM_DEFINE = require('./_ie8-dom-define');
|
|
784
|
+
var gOPD = Object.getOwnPropertyDescriptor;
|
|
785
|
+
|
|
786
|
+
exports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {
|
|
787
|
+
O = toIObject(O);
|
|
788
|
+
P = toPrimitive(P, true);
|
|
789
|
+
if (IE8_DOM_DEFINE) try {
|
|
790
|
+
return gOPD(O, P);
|
|
791
|
+
} catch (e) { /* empty */ }
|
|
792
|
+
if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
|
|
793
|
+
};
|
|
794
|
+
|
|
795
|
+
},{"./_descriptors":15,"./_has":26,"./_ie8-dom-define":29,"./_object-pie":54,"./_property-desc":57,"./_to-iobject":74,"./_to-primitive":77}],48:[function(require,module,exports){
|
|
796
|
+
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
|
|
797
|
+
var toIObject = require('./_to-iobject');
|
|
798
|
+
var gOPN = require('./_object-gopn').f;
|
|
799
|
+
var toString = {}.toString;
|
|
800
|
+
|
|
801
|
+
var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
|
|
802
|
+
? Object.getOwnPropertyNames(window) : [];
|
|
803
|
+
|
|
804
|
+
var getWindowNames = function (it) {
|
|
805
|
+
try {
|
|
806
|
+
return gOPN(it);
|
|
807
|
+
} catch (e) {
|
|
808
|
+
return windowNames.slice();
|
|
809
|
+
}
|
|
810
|
+
};
|
|
811
|
+
|
|
812
|
+
module.exports.f = function getOwnPropertyNames(it) {
|
|
813
|
+
return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
|
|
814
|
+
};
|
|
815
|
+
|
|
816
|
+
},{"./_object-gopn":49,"./_to-iobject":74}],49:[function(require,module,exports){
|
|
817
|
+
// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
|
|
818
|
+
var $keys = require('./_object-keys-internal');
|
|
819
|
+
var hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');
|
|
820
|
+
|
|
821
|
+
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
822
|
+
return $keys(O, hiddenKeys);
|
|
823
|
+
};
|
|
824
|
+
|
|
825
|
+
},{"./_enum-bug-keys":17,"./_object-keys-internal":52}],50:[function(require,module,exports){
|
|
826
|
+
exports.f = Object.getOwnPropertySymbols;
|
|
827
|
+
|
|
828
|
+
},{}],51:[function(require,module,exports){
|
|
829
|
+
// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
|
|
830
|
+
var has = require('./_has');
|
|
831
|
+
var toObject = require('./_to-object');
|
|
832
|
+
var IE_PROTO = require('./_shared-key')('IE_PROTO');
|
|
833
|
+
var ObjectProto = Object.prototype;
|
|
834
|
+
|
|
835
|
+
module.exports = Object.getPrototypeOf || function (O) {
|
|
836
|
+
O = toObject(O);
|
|
837
|
+
if (has(O, IE_PROTO)) return O[IE_PROTO];
|
|
838
|
+
if (typeof O.constructor == 'function' && O instanceof O.constructor) {
|
|
839
|
+
return O.constructor.prototype;
|
|
840
|
+
} return O instanceof Object ? ObjectProto : null;
|
|
841
|
+
};
|
|
842
|
+
|
|
843
|
+
},{"./_has":26,"./_shared-key":64,"./_to-object":76}],52:[function(require,module,exports){
|
|
844
|
+
var has = require('./_has');
|
|
845
|
+
var toIObject = require('./_to-iobject');
|
|
846
|
+
var arrayIndexOf = require('./_array-includes')(false);
|
|
847
|
+
var IE_PROTO = require('./_shared-key')('IE_PROTO');
|
|
848
|
+
|
|
849
|
+
module.exports = function (object, names) {
|
|
850
|
+
var O = toIObject(object);
|
|
851
|
+
var i = 0;
|
|
852
|
+
var result = [];
|
|
853
|
+
var key;
|
|
854
|
+
for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
|
|
855
|
+
// Don't enum bug & hidden keys
|
|
856
|
+
while (names.length > i) if (has(O, key = names[i++])) {
|
|
857
|
+
~arrayIndexOf(result, key) || result.push(key);
|
|
858
|
+
}
|
|
859
|
+
return result;
|
|
860
|
+
};
|
|
861
|
+
|
|
862
|
+
},{"./_array-includes":5,"./_has":26,"./_shared-key":64,"./_to-iobject":74}],53:[function(require,module,exports){
|
|
863
|
+
// 19.1.2.14 / 15.2.3.14 Object.keys(O)
|
|
864
|
+
var $keys = require('./_object-keys-internal');
|
|
865
|
+
var enumBugKeys = require('./_enum-bug-keys');
|
|
866
|
+
|
|
867
|
+
module.exports = Object.keys || function keys(O) {
|
|
868
|
+
return $keys(O, enumBugKeys);
|
|
869
|
+
};
|
|
870
|
+
|
|
871
|
+
},{"./_enum-bug-keys":17,"./_object-keys-internal":52}],54:[function(require,module,exports){
|
|
872
|
+
exports.f = {}.propertyIsEnumerable;
|
|
873
|
+
|
|
874
|
+
},{}],55:[function(require,module,exports){
|
|
875
|
+
// most Object methods by ES6 should accept primitives
|
|
876
|
+
var $export = require('./_export');
|
|
877
|
+
var core = require('./_core');
|
|
878
|
+
var fails = require('./_fails');
|
|
879
|
+
module.exports = function (KEY, exec) {
|
|
880
|
+
var fn = (core.Object || {})[KEY] || Object[KEY];
|
|
881
|
+
var exp = {};
|
|
882
|
+
exp[KEY] = exec(fn);
|
|
883
|
+
$export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);
|
|
884
|
+
};
|
|
885
|
+
|
|
886
|
+
},{"./_core":11,"./_export":19,"./_fails":21}],56:[function(require,module,exports){
|
|
887
|
+
// all object keys, includes non-enumerable and symbols
|
|
888
|
+
var gOPN = require('./_object-gopn');
|
|
889
|
+
var gOPS = require('./_object-gops');
|
|
890
|
+
var anObject = require('./_an-object');
|
|
891
|
+
var Reflect = require('./_global').Reflect;
|
|
892
|
+
module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {
|
|
893
|
+
var keys = gOPN.f(anObject(it));
|
|
894
|
+
var getSymbols = gOPS.f;
|
|
895
|
+
return getSymbols ? keys.concat(getSymbols(it)) : keys;
|
|
896
|
+
};
|
|
897
|
+
|
|
898
|
+
},{"./_an-object":4,"./_global":25,"./_object-gopn":49,"./_object-gops":50}],57:[function(require,module,exports){
|
|
899
|
+
module.exports = function (bitmap, value) {
|
|
900
|
+
return {
|
|
901
|
+
enumerable: !(bitmap & 1),
|
|
902
|
+
configurable: !(bitmap & 2),
|
|
903
|
+
writable: !(bitmap & 4),
|
|
904
|
+
value: value
|
|
905
|
+
};
|
|
906
|
+
};
|
|
907
|
+
|
|
908
|
+
},{}],58:[function(require,module,exports){
|
|
909
|
+
var global = require('./_global');
|
|
910
|
+
var hide = require('./_hide');
|
|
911
|
+
var has = require('./_has');
|
|
912
|
+
var SRC = require('./_uid')('src');
|
|
913
|
+
var $toString = require('./_function-to-string');
|
|
914
|
+
var TO_STRING = 'toString';
|
|
915
|
+
var TPL = ('' + $toString).split(TO_STRING);
|
|
916
|
+
|
|
917
|
+
require('./_core').inspectSource = function (it) {
|
|
918
|
+
return $toString.call(it);
|
|
919
|
+
};
|
|
920
|
+
|
|
921
|
+
(module.exports = function (O, key, val, safe) {
|
|
922
|
+
var isFunction = typeof val == 'function';
|
|
923
|
+
if (isFunction) has(val, 'name') || hide(val, 'name', key);
|
|
924
|
+
if (O[key] === val) return;
|
|
925
|
+
if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
|
|
926
|
+
if (O === global) {
|
|
927
|
+
O[key] = val;
|
|
928
|
+
} else if (!safe) {
|
|
929
|
+
delete O[key];
|
|
930
|
+
hide(O, key, val);
|
|
931
|
+
} else if (O[key]) {
|
|
932
|
+
O[key] = val;
|
|
933
|
+
} else {
|
|
934
|
+
hide(O, key, val);
|
|
935
|
+
}
|
|
936
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
937
|
+
})(Function.prototype, TO_STRING, function toString() {
|
|
938
|
+
return typeof this == 'function' && this[SRC] || $toString.call(this);
|
|
939
|
+
});
|
|
940
|
+
|
|
941
|
+
},{"./_core":11,"./_function-to-string":24,"./_global":25,"./_has":26,"./_hide":27,"./_uid":78}],59:[function(require,module,exports){
|
|
942
|
+
'use strict';
|
|
943
|
+
|
|
944
|
+
var classof = require('./_classof');
|
|
945
|
+
var builtinExec = RegExp.prototype.exec;
|
|
946
|
+
|
|
947
|
+
// `RegExpExec` abstract operation
|
|
948
|
+
// https://tc39.github.io/ecma262/#sec-regexpexec
|
|
949
|
+
module.exports = function (R, S) {
|
|
950
|
+
var exec = R.exec;
|
|
951
|
+
if (typeof exec === 'function') {
|
|
952
|
+
var result = exec.call(R, S);
|
|
953
|
+
if (typeof result !== 'object') {
|
|
954
|
+
throw new TypeError('RegExp exec method returned something other than an Object or null');
|
|
955
|
+
}
|
|
956
|
+
return result;
|
|
957
|
+
}
|
|
958
|
+
if (classof(R) !== 'RegExp') {
|
|
959
|
+
throw new TypeError('RegExp#exec called on incompatible receiver');
|
|
960
|
+
}
|
|
961
|
+
return builtinExec.call(R, S);
|
|
962
|
+
};
|
|
963
|
+
|
|
964
|
+
},{"./_classof":9}],60:[function(require,module,exports){
|
|
965
|
+
'use strict';
|
|
966
|
+
|
|
967
|
+
var regexpFlags = require('./_flags');
|
|
968
|
+
|
|
969
|
+
var nativeExec = RegExp.prototype.exec;
|
|
970
|
+
// This always refers to the native implementation, because the
|
|
971
|
+
// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
|
|
972
|
+
// which loads this file before patching the method.
|
|
973
|
+
var nativeReplace = String.prototype.replace;
|
|
974
|
+
|
|
975
|
+
var patchedExec = nativeExec;
|
|
976
|
+
|
|
977
|
+
var LAST_INDEX = 'lastIndex';
|
|
978
|
+
|
|
979
|
+
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
980
|
+
var re1 = /a/,
|
|
981
|
+
re2 = /b*/g;
|
|
982
|
+
nativeExec.call(re1, 'a');
|
|
983
|
+
nativeExec.call(re2, 'a');
|
|
984
|
+
return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;
|
|
985
|
+
})();
|
|
986
|
+
|
|
987
|
+
// nonparticipating capturing group, copied from es5-shim's String#split patch.
|
|
988
|
+
var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
|
|
989
|
+
|
|
990
|
+
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;
|
|
991
|
+
|
|
992
|
+
if (PATCH) {
|
|
993
|
+
patchedExec = function exec(str) {
|
|
994
|
+
var re = this;
|
|
995
|
+
var lastIndex, reCopy, match, i;
|
|
996
|
+
|
|
997
|
+
if (NPCG_INCLUDED) {
|
|
998
|
+
reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re));
|
|
999
|
+
}
|
|
1000
|
+
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];
|
|
1001
|
+
|
|
1002
|
+
match = nativeExec.call(re, str);
|
|
1003
|
+
|
|
1004
|
+
if (UPDATES_LAST_INDEX_WRONG && match) {
|
|
1005
|
+
re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;
|
|
1006
|
+
}
|
|
1007
|
+
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
1008
|
+
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
1009
|
+
// for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
|
|
1010
|
+
// eslint-disable-next-line no-loop-func
|
|
1011
|
+
nativeReplace.call(match[0], reCopy, function () {
|
|
1012
|
+
for (i = 1; i < arguments.length - 2; i++) {
|
|
1013
|
+
if (arguments[i] === undefined) match[i] = undefined;
|
|
1014
|
+
}
|
|
1015
|
+
});
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
return match;
|
|
1019
|
+
};
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
module.exports = patchedExec;
|
|
1023
|
+
|
|
1024
|
+
},{"./_flags":23}],61:[function(require,module,exports){
|
|
1025
|
+
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
1026
|
+
/* eslint-disable no-proto */
|
|
1027
|
+
var isObject = require('./_is-object');
|
|
1028
|
+
var anObject = require('./_an-object');
|
|
1029
|
+
var check = function (O, proto) {
|
|
1030
|
+
anObject(O);
|
|
1031
|
+
if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
|
|
1032
|
+
};
|
|
1033
|
+
module.exports = {
|
|
1034
|
+
set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
|
|
1035
|
+
function (test, buggy, set) {
|
|
1036
|
+
try {
|
|
1037
|
+
set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);
|
|
1038
|
+
set(test, []);
|
|
1039
|
+
buggy = !(test instanceof Array);
|
|
1040
|
+
} catch (e) { buggy = true; }
|
|
1041
|
+
return function setPrototypeOf(O, proto) {
|
|
1042
|
+
check(O, proto);
|
|
1043
|
+
if (buggy) O.__proto__ = proto;
|
|
1044
|
+
else set(O, proto);
|
|
1045
|
+
return O;
|
|
1046
|
+
};
|
|
1047
|
+
}({}, false) : undefined),
|
|
1048
|
+
check: check
|
|
1049
|
+
};
|
|
1050
|
+
|
|
1051
|
+
},{"./_an-object":4,"./_ctx":13,"./_is-object":34,"./_object-gopd":47}],62:[function(require,module,exports){
|
|
1052
|
+
'use strict';
|
|
1053
|
+
var global = require('./_global');
|
|
1054
|
+
var dP = require('./_object-dp');
|
|
1055
|
+
var DESCRIPTORS = require('./_descriptors');
|
|
1056
|
+
var SPECIES = require('./_wks')('species');
|
|
1057
|
+
|
|
1058
|
+
module.exports = function (KEY) {
|
|
1059
|
+
var C = global[KEY];
|
|
1060
|
+
if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {
|
|
1061
|
+
configurable: true,
|
|
1062
|
+
get: function () { return this; }
|
|
1063
|
+
});
|
|
1064
|
+
};
|
|
1065
|
+
|
|
1066
|
+
},{"./_descriptors":15,"./_global":25,"./_object-dp":45,"./_wks":81}],63:[function(require,module,exports){
|
|
1067
|
+
var def = require('./_object-dp').f;
|
|
1068
|
+
var has = require('./_has');
|
|
1069
|
+
var TAG = require('./_wks')('toStringTag');
|
|
1070
|
+
|
|
1071
|
+
module.exports = function (it, tag, stat) {
|
|
1072
|
+
if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
|
|
1073
|
+
};
|
|
1074
|
+
|
|
1075
|
+
},{"./_has":26,"./_object-dp":45,"./_wks":81}],64:[function(require,module,exports){
|
|
1076
|
+
var shared = require('./_shared')('keys');
|
|
1077
|
+
var uid = require('./_uid');
|
|
1078
|
+
module.exports = function (key) {
|
|
1079
|
+
return shared[key] || (shared[key] = uid(key));
|
|
1080
|
+
};
|
|
1081
|
+
|
|
1082
|
+
},{"./_shared":65,"./_uid":78}],65:[function(require,module,exports){
|
|
1083
|
+
var core = require('./_core');
|
|
1084
|
+
var global = require('./_global');
|
|
1085
|
+
var SHARED = '__core-js_shared__';
|
|
1086
|
+
var store = global[SHARED] || (global[SHARED] = {});
|
|
1087
|
+
|
|
1088
|
+
(module.exports = function (key, value) {
|
|
1089
|
+
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
1090
|
+
})('versions', []).push({
|
|
1091
|
+
version: core.version,
|
|
1092
|
+
mode: require('./_library') ? 'pure' : 'global',
|
|
1093
|
+
copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
|
|
1094
|
+
});
|
|
1095
|
+
|
|
1096
|
+
},{"./_core":11,"./_global":25,"./_library":42}],66:[function(require,module,exports){
|
|
1097
|
+
// 7.3.20 SpeciesConstructor(O, defaultConstructor)
|
|
1098
|
+
var anObject = require('./_an-object');
|
|
1099
|
+
var aFunction = require('./_a-function');
|
|
1100
|
+
var SPECIES = require('./_wks')('species');
|
|
1101
|
+
module.exports = function (O, D) {
|
|
1102
|
+
var C = anObject(O).constructor;
|
|
1103
|
+
var S;
|
|
1104
|
+
return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
|
|
1105
|
+
};
|
|
1106
|
+
|
|
1107
|
+
},{"./_a-function":1,"./_an-object":4,"./_wks":81}],67:[function(require,module,exports){
|
|
1108
|
+
'use strict';
|
|
1109
|
+
var fails = require('./_fails');
|
|
1110
|
+
|
|
1111
|
+
module.exports = function (method, arg) {
|
|
1112
|
+
return !!method && fails(function () {
|
|
1113
|
+
// eslint-disable-next-line no-useless-call
|
|
1114
|
+
arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);
|
|
1115
|
+
});
|
|
1116
|
+
};
|
|
1117
|
+
|
|
1118
|
+
},{"./_fails":21}],68:[function(require,module,exports){
|
|
1119
|
+
var toInteger = require('./_to-integer');
|
|
1120
|
+
var defined = require('./_defined');
|
|
1121
|
+
// true -> String#at
|
|
1122
|
+
// false -> String#codePointAt
|
|
1123
|
+
module.exports = function (TO_STRING) {
|
|
1124
|
+
return function (that, pos) {
|
|
1125
|
+
var s = String(defined(that));
|
|
1126
|
+
var i = toInteger(pos);
|
|
1127
|
+
var l = s.length;
|
|
1128
|
+
var a, b;
|
|
1129
|
+
if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
|
|
1130
|
+
a = s.charCodeAt(i);
|
|
1131
|
+
return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
|
|
1132
|
+
? TO_STRING ? s.charAt(i) : a
|
|
1133
|
+
: TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
|
|
1134
|
+
};
|
|
1135
|
+
};
|
|
1136
|
+
|
|
1137
|
+
},{"./_defined":14,"./_to-integer":73}],69:[function(require,module,exports){
|
|
1138
|
+
// helper for String#{startsWith, endsWith, includes}
|
|
1139
|
+
var isRegExp = require('./_is-regexp');
|
|
1140
|
+
var defined = require('./_defined');
|
|
1141
|
+
|
|
1142
|
+
module.exports = function (that, searchString, NAME) {
|
|
1143
|
+
if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!");
|
|
1144
|
+
return String(defined(that));
|
|
1145
|
+
};
|
|
1146
|
+
|
|
1147
|
+
},{"./_defined":14,"./_is-regexp":35}],70:[function(require,module,exports){
|
|
1148
|
+
var $export = require('./_export');
|
|
1149
|
+
var defined = require('./_defined');
|
|
1150
|
+
var fails = require('./_fails');
|
|
1151
|
+
var spaces = require('./_string-ws');
|
|
1152
|
+
var space = '[' + spaces + ']';
|
|
1153
|
+
var non = '\u200b\u0085';
|
|
1154
|
+
var ltrim = RegExp('^' + space + space + '*');
|
|
1155
|
+
var rtrim = RegExp(space + space + '*$');
|
|
1156
|
+
|
|
1157
|
+
var exporter = function (KEY, exec, ALIAS) {
|
|
1158
|
+
var exp = {};
|
|
1159
|
+
var FORCE = fails(function () {
|
|
1160
|
+
return !!spaces[KEY]() || non[KEY]() != non;
|
|
1161
|
+
});
|
|
1162
|
+
var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];
|
|
1163
|
+
if (ALIAS) exp[ALIAS] = fn;
|
|
1164
|
+
$export($export.P + $export.F * FORCE, 'String', exp);
|
|
1165
|
+
};
|
|
1166
|
+
|
|
1167
|
+
// 1 -> String#trimLeft
|
|
1168
|
+
// 2 -> String#trimRight
|
|
1169
|
+
// 3 -> String#trim
|
|
1170
|
+
var trim = exporter.trim = function (string, TYPE) {
|
|
1171
|
+
string = String(defined(string));
|
|
1172
|
+
if (TYPE & 1) string = string.replace(ltrim, '');
|
|
1173
|
+
if (TYPE & 2) string = string.replace(rtrim, '');
|
|
1174
|
+
return string;
|
|
1175
|
+
};
|
|
1176
|
+
|
|
1177
|
+
module.exports = exporter;
|
|
1178
|
+
|
|
1179
|
+
},{"./_defined":14,"./_export":19,"./_fails":21,"./_string-ws":71}],71:[function(require,module,exports){
|
|
1180
|
+
module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
|
|
1181
|
+
'\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
1182
|
+
|
|
1183
|
+
},{}],72:[function(require,module,exports){
|
|
1184
|
+
var toInteger = require('./_to-integer');
|
|
1185
|
+
var max = Math.max;
|
|
1186
|
+
var min = Math.min;
|
|
1187
|
+
module.exports = function (index, length) {
|
|
1188
|
+
index = toInteger(index);
|
|
1189
|
+
return index < 0 ? max(index + length, 0) : min(index, length);
|
|
1190
|
+
};
|
|
1191
|
+
|
|
1192
|
+
},{"./_to-integer":73}],73:[function(require,module,exports){
|
|
1193
|
+
// 7.1.4 ToInteger
|
|
1194
|
+
var ceil = Math.ceil;
|
|
1195
|
+
var floor = Math.floor;
|
|
1196
|
+
module.exports = function (it) {
|
|
1197
|
+
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
|
|
1198
|
+
};
|
|
1199
|
+
|
|
1200
|
+
},{}],74:[function(require,module,exports){
|
|
1201
|
+
// to indexed object, toObject with fallback for non-array-like ES3 strings
|
|
1202
|
+
var IObject = require('./_iobject');
|
|
1203
|
+
var defined = require('./_defined');
|
|
1204
|
+
module.exports = function (it) {
|
|
1205
|
+
return IObject(defined(it));
|
|
1206
|
+
};
|
|
1207
|
+
|
|
1208
|
+
},{"./_defined":14,"./_iobject":31}],75:[function(require,module,exports){
|
|
1209
|
+
// 7.1.15 ToLength
|
|
1210
|
+
var toInteger = require('./_to-integer');
|
|
1211
|
+
var min = Math.min;
|
|
1212
|
+
module.exports = function (it) {
|
|
1213
|
+
return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
|
|
1214
|
+
};
|
|
1215
|
+
|
|
1216
|
+
},{"./_to-integer":73}],76:[function(require,module,exports){
|
|
1217
|
+
// 7.1.13 ToObject(argument)
|
|
1218
|
+
var defined = require('./_defined');
|
|
1219
|
+
module.exports = function (it) {
|
|
1220
|
+
return Object(defined(it));
|
|
1221
|
+
};
|
|
1222
|
+
|
|
1223
|
+
},{"./_defined":14}],77:[function(require,module,exports){
|
|
1224
|
+
// 7.1.1 ToPrimitive(input [, PreferredType])
|
|
1225
|
+
var isObject = require('./_is-object');
|
|
1226
|
+
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
|
|
1227
|
+
// and the second argument - flag - preferred type is a string
|
|
1228
|
+
module.exports = function (it, S) {
|
|
1229
|
+
if (!isObject(it)) return it;
|
|
1230
|
+
var fn, val;
|
|
1231
|
+
if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
|
|
1232
|
+
if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
|
|
1233
|
+
if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
|
|
1234
|
+
throw TypeError("Can't convert object to primitive value");
|
|
1235
|
+
};
|
|
1236
|
+
|
|
1237
|
+
},{"./_is-object":34}],78:[function(require,module,exports){
|
|
1238
|
+
var id = 0;
|
|
1239
|
+
var px = Math.random();
|
|
1240
|
+
module.exports = function (key) {
|
|
1241
|
+
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
|
|
1242
|
+
};
|
|
1243
|
+
|
|
1244
|
+
},{}],79:[function(require,module,exports){
|
|
1245
|
+
var global = require('./_global');
|
|
1246
|
+
var core = require('./_core');
|
|
1247
|
+
var LIBRARY = require('./_library');
|
|
1248
|
+
var wksExt = require('./_wks-ext');
|
|
1249
|
+
var defineProperty = require('./_object-dp').f;
|
|
1250
|
+
module.exports = function (name) {
|
|
1251
|
+
var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
|
|
1252
|
+
if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });
|
|
1253
|
+
};
|
|
1254
|
+
|
|
1255
|
+
},{"./_core":11,"./_global":25,"./_library":42,"./_object-dp":45,"./_wks-ext":80}],80:[function(require,module,exports){
|
|
1256
|
+
exports.f = require('./_wks');
|
|
1257
|
+
|
|
1258
|
+
},{"./_wks":81}],81:[function(require,module,exports){
|
|
1259
|
+
var store = require('./_shared')('wks');
|
|
1260
|
+
var uid = require('./_uid');
|
|
1261
|
+
var Symbol = require('./_global').Symbol;
|
|
1262
|
+
var USE_SYMBOL = typeof Symbol == 'function';
|
|
1263
|
+
|
|
1264
|
+
var $exports = module.exports = function (name) {
|
|
1265
|
+
return store[name] || (store[name] =
|
|
1266
|
+
USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
|
|
1267
|
+
};
|
|
1268
|
+
|
|
1269
|
+
$exports.store = store;
|
|
1270
|
+
|
|
1271
|
+
},{"./_global":25,"./_shared":65,"./_uid":78}],82:[function(require,module,exports){
|
|
1272
|
+
var classof = require('./_classof');
|
|
1273
|
+
var ITERATOR = require('./_wks')('iterator');
|
|
1274
|
+
var Iterators = require('./_iterators');
|
|
1275
|
+
module.exports = require('./_core').getIteratorMethod = function (it) {
|
|
1276
|
+
if (it != undefined) return it[ITERATOR]
|
|
1277
|
+
|| it['@@iterator']
|
|
1278
|
+
|| Iterators[classof(it)];
|
|
1279
|
+
};
|
|
1280
|
+
|
|
1281
|
+
},{"./_classof":9,"./_core":11,"./_iterators":41,"./_wks":81}],83:[function(require,module,exports){
|
|
1282
|
+
'use strict';
|
|
1283
|
+
var $export = require('./_export');
|
|
1284
|
+
var $filter = require('./_array-methods')(2);
|
|
1285
|
+
|
|
1286
|
+
$export($export.P + $export.F * !require('./_strict-method')([].filter, true), 'Array', {
|
|
1287
|
+
// 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])
|
|
1288
|
+
filter: function filter(callbackfn /* , thisArg */) {
|
|
1289
|
+
return $filter(this, callbackfn, arguments[1]);
|
|
1290
|
+
}
|
|
1291
|
+
});
|
|
1292
|
+
|
|
1293
|
+
},{"./_array-methods":6,"./_export":19,"./_strict-method":67}],84:[function(require,module,exports){
|
|
1294
|
+
'use strict';
|
|
1295
|
+
var ctx = require('./_ctx');
|
|
1296
|
+
var $export = require('./_export');
|
|
1297
|
+
var toObject = require('./_to-object');
|
|
1298
|
+
var call = require('./_iter-call');
|
|
1299
|
+
var isArrayIter = require('./_is-array-iter');
|
|
1300
|
+
var toLength = require('./_to-length');
|
|
1301
|
+
var createProperty = require('./_create-property');
|
|
1302
|
+
var getIterFn = require('./core.get-iterator-method');
|
|
1303
|
+
|
|
1304
|
+
$export($export.S + $export.F * !require('./_iter-detect')(function (iter) { Array.from(iter); }), 'Array', {
|
|
1305
|
+
// 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)
|
|
1306
|
+
from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
|
|
1307
|
+
var O = toObject(arrayLike);
|
|
1308
|
+
var C = typeof this == 'function' ? this : Array;
|
|
1309
|
+
var aLen = arguments.length;
|
|
1310
|
+
var mapfn = aLen > 1 ? arguments[1] : undefined;
|
|
1311
|
+
var mapping = mapfn !== undefined;
|
|
1312
|
+
var index = 0;
|
|
1313
|
+
var iterFn = getIterFn(O);
|
|
1314
|
+
var length, result, step, iterator;
|
|
1315
|
+
if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);
|
|
1316
|
+
// if object isn't iterable or it's array with default iterator - use simple case
|
|
1317
|
+
if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {
|
|
1318
|
+
for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {
|
|
1319
|
+
createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);
|
|
1320
|
+
}
|
|
1321
|
+
} else {
|
|
1322
|
+
length = toLength(O.length);
|
|
1323
|
+
for (result = new C(length); length > index; index++) {
|
|
1324
|
+
createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
result.length = index;
|
|
1328
|
+
return result;
|
|
1329
|
+
}
|
|
1330
|
+
});
|
|
1331
|
+
|
|
1332
|
+
},{"./_create-property":12,"./_ctx":13,"./_export":19,"./_is-array-iter":32,"./_iter-call":36,"./_iter-detect":39,"./_to-length":75,"./_to-object":76,"./core.get-iterator-method":82}],85:[function(require,module,exports){
|
|
1333
|
+
'use strict';
|
|
1334
|
+
var addToUnscopables = require('./_add-to-unscopables');
|
|
1335
|
+
var step = require('./_iter-step');
|
|
1336
|
+
var Iterators = require('./_iterators');
|
|
1337
|
+
var toIObject = require('./_to-iobject');
|
|
1338
|
+
|
|
1339
|
+
// 22.1.3.4 Array.prototype.entries()
|
|
1340
|
+
// 22.1.3.13 Array.prototype.keys()
|
|
1341
|
+
// 22.1.3.29 Array.prototype.values()
|
|
1342
|
+
// 22.1.3.30 Array.prototype[@@iterator]()
|
|
1343
|
+
module.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {
|
|
1344
|
+
this._t = toIObject(iterated); // target
|
|
1345
|
+
this._i = 0; // next index
|
|
1346
|
+
this._k = kind; // kind
|
|
1347
|
+
// 22.1.5.2.1 %ArrayIteratorPrototype%.next()
|
|
1348
|
+
}, function () {
|
|
1349
|
+
var O = this._t;
|
|
1350
|
+
var kind = this._k;
|
|
1351
|
+
var index = this._i++;
|
|
1352
|
+
if (!O || index >= O.length) {
|
|
1353
|
+
this._t = undefined;
|
|
1354
|
+
return step(1);
|
|
1355
|
+
}
|
|
1356
|
+
if (kind == 'keys') return step(0, index);
|
|
1357
|
+
if (kind == 'values') return step(0, O[index]);
|
|
1358
|
+
return step(0, [index, O[index]]);
|
|
1359
|
+
}, 'values');
|
|
1360
|
+
|
|
1361
|
+
// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
|
|
1362
|
+
Iterators.Arguments = Iterators.Array;
|
|
1363
|
+
|
|
1364
|
+
addToUnscopables('keys');
|
|
1365
|
+
addToUnscopables('values');
|
|
1366
|
+
addToUnscopables('entries');
|
|
1367
|
+
|
|
1368
|
+
},{"./_add-to-unscopables":2,"./_iter-define":38,"./_iter-step":40,"./_iterators":41,"./_to-iobject":74}],86:[function(require,module,exports){
|
|
1369
|
+
'use strict';
|
|
1370
|
+
var $export = require('./_export');
|
|
1371
|
+
var $map = require('./_array-methods')(1);
|
|
1372
|
+
|
|
1373
|
+
$export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Array', {
|
|
1374
|
+
// 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])
|
|
1375
|
+
map: function map(callbackfn /* , thisArg */) {
|
|
1376
|
+
return $map(this, callbackfn, arguments[1]);
|
|
1377
|
+
}
|
|
1378
|
+
});
|
|
1379
|
+
|
|
1380
|
+
},{"./_array-methods":6,"./_export":19,"./_strict-method":67}],87:[function(require,module,exports){
|
|
1381
|
+
'use strict';
|
|
1382
|
+
var $export = require('./_export');
|
|
1383
|
+
var html = require('./_html');
|
|
1384
|
+
var cof = require('./_cof');
|
|
1385
|
+
var toAbsoluteIndex = require('./_to-absolute-index');
|
|
1386
|
+
var toLength = require('./_to-length');
|
|
1387
|
+
var arraySlice = [].slice;
|
|
1388
|
+
|
|
1389
|
+
// fallback for not array-like ES3 strings and DOM objects
|
|
1390
|
+
$export($export.P + $export.F * require('./_fails')(function () {
|
|
1391
|
+
if (html) arraySlice.call(html);
|
|
1392
|
+
}), 'Array', {
|
|
1393
|
+
slice: function slice(begin, end) {
|
|
1394
|
+
var len = toLength(this.length);
|
|
1395
|
+
var klass = cof(this);
|
|
1396
|
+
end = end === undefined ? len : end;
|
|
1397
|
+
if (klass == 'Array') return arraySlice.call(this, begin, end);
|
|
1398
|
+
var start = toAbsoluteIndex(begin, len);
|
|
1399
|
+
var upTo = toAbsoluteIndex(end, len);
|
|
1400
|
+
var size = toLength(upTo - start);
|
|
1401
|
+
var cloned = new Array(size);
|
|
1402
|
+
var i = 0;
|
|
1403
|
+
for (; i < size; i++) cloned[i] = klass == 'String'
|
|
1404
|
+
? this.charAt(start + i)
|
|
1405
|
+
: this[start + i];
|
|
1406
|
+
return cloned;
|
|
1407
|
+
}
|
|
1408
|
+
});
|
|
1409
|
+
|
|
1410
|
+
},{"./_cof":10,"./_export":19,"./_fails":21,"./_html":28,"./_to-absolute-index":72,"./_to-length":75}],88:[function(require,module,exports){
|
|
1411
|
+
'use strict';
|
|
1412
|
+
var global = require('./_global');
|
|
1413
|
+
var has = require('./_has');
|
|
1414
|
+
var cof = require('./_cof');
|
|
1415
|
+
var inheritIfRequired = require('./_inherit-if-required');
|
|
1416
|
+
var toPrimitive = require('./_to-primitive');
|
|
1417
|
+
var fails = require('./_fails');
|
|
1418
|
+
var gOPN = require('./_object-gopn').f;
|
|
1419
|
+
var gOPD = require('./_object-gopd').f;
|
|
1420
|
+
var dP = require('./_object-dp').f;
|
|
1421
|
+
var $trim = require('./_string-trim').trim;
|
|
1422
|
+
var NUMBER = 'Number';
|
|
1423
|
+
var $Number = global[NUMBER];
|
|
1424
|
+
var Base = $Number;
|
|
1425
|
+
var proto = $Number.prototype;
|
|
1426
|
+
// Opera ~12 has broken Object#toString
|
|
1427
|
+
var BROKEN_COF = cof(require('./_object-create')(proto)) == NUMBER;
|
|
1428
|
+
var TRIM = 'trim' in String.prototype;
|
|
1429
|
+
|
|
1430
|
+
// 7.1.3 ToNumber(argument)
|
|
1431
|
+
var toNumber = function (argument) {
|
|
1432
|
+
var it = toPrimitive(argument, false);
|
|
1433
|
+
if (typeof it == 'string' && it.length > 2) {
|
|
1434
|
+
it = TRIM ? it.trim() : $trim(it, 3);
|
|
1435
|
+
var first = it.charCodeAt(0);
|
|
1436
|
+
var third, radix, maxCode;
|
|
1437
|
+
if (first === 43 || first === 45) {
|
|
1438
|
+
third = it.charCodeAt(2);
|
|
1439
|
+
if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
|
|
1440
|
+
} else if (first === 48) {
|
|
1441
|
+
switch (it.charCodeAt(1)) {
|
|
1442
|
+
case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i
|
|
1443
|
+
case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i
|
|
1444
|
+
default: return +it;
|
|
1445
|
+
}
|
|
1446
|
+
for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {
|
|
1447
|
+
code = digits.charCodeAt(i);
|
|
1448
|
+
// parseInt parses a string to a first unavailable symbol
|
|
1449
|
+
// but ToNumber should return NaN if a string contains unavailable symbols
|
|
1450
|
+
if (code < 48 || code > maxCode) return NaN;
|
|
1451
|
+
} return parseInt(digits, radix);
|
|
1452
|
+
}
|
|
1453
|
+
} return +it;
|
|
1454
|
+
};
|
|
1455
|
+
|
|
1456
|
+
if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {
|
|
1457
|
+
$Number = function Number(value) {
|
|
1458
|
+
var it = arguments.length < 1 ? 0 : value;
|
|
1459
|
+
var that = this;
|
|
1460
|
+
return that instanceof $Number
|
|
1461
|
+
// check on 1..constructor(foo) case
|
|
1462
|
+
&& (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)
|
|
1463
|
+
? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);
|
|
1464
|
+
};
|
|
1465
|
+
for (var keys = require('./_descriptors') ? gOPN(Base) : (
|
|
1466
|
+
// ES3:
|
|
1467
|
+
'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
|
|
1468
|
+
// ES6 (in case, if modules with ES6 Number statics required before):
|
|
1469
|
+
'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
|
|
1470
|
+
'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
|
|
1471
|
+
).split(','), j = 0, key; keys.length > j; j++) {
|
|
1472
|
+
if (has(Base, key = keys[j]) && !has($Number, key)) {
|
|
1473
|
+
dP($Number, key, gOPD(Base, key));
|
|
1474
|
+
}
|
|
1475
|
+
}
|
|
1476
|
+
$Number.prototype = proto;
|
|
1477
|
+
proto.constructor = $Number;
|
|
1478
|
+
require('./_redefine')(global, NUMBER, $Number);
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
},{"./_cof":10,"./_descriptors":15,"./_fails":21,"./_global":25,"./_has":26,"./_inherit-if-required":30,"./_object-create":44,"./_object-dp":45,"./_object-gopd":47,"./_object-gopn":49,"./_redefine":58,"./_string-trim":70,"./_to-primitive":77}],89:[function(require,module,exports){
|
|
1482
|
+
// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
|
|
1483
|
+
var toIObject = require('./_to-iobject');
|
|
1484
|
+
var $getOwnPropertyDescriptor = require('./_object-gopd').f;
|
|
1485
|
+
|
|
1486
|
+
require('./_object-sap')('getOwnPropertyDescriptor', function () {
|
|
1487
|
+
return function getOwnPropertyDescriptor(it, key) {
|
|
1488
|
+
return $getOwnPropertyDescriptor(toIObject(it), key);
|
|
1489
|
+
};
|
|
1490
|
+
});
|
|
1491
|
+
|
|
1492
|
+
},{"./_object-gopd":47,"./_object-sap":55,"./_to-iobject":74}],90:[function(require,module,exports){
|
|
1493
|
+
// 19.1.2.14 Object.keys(O)
|
|
1494
|
+
var toObject = require('./_to-object');
|
|
1495
|
+
var $keys = require('./_object-keys');
|
|
1496
|
+
|
|
1497
|
+
require('./_object-sap')('keys', function () {
|
|
1498
|
+
return function keys(it) {
|
|
1499
|
+
return $keys(toObject(it));
|
|
1500
|
+
};
|
|
1501
|
+
});
|
|
1502
|
+
|
|
1503
|
+
},{"./_object-keys":53,"./_object-sap":55,"./_to-object":76}],91:[function(require,module,exports){
|
|
1504
|
+
'use strict';
|
|
1505
|
+
// 19.1.3.6 Object.prototype.toString()
|
|
1506
|
+
var classof = require('./_classof');
|
|
1507
|
+
var test = {};
|
|
1508
|
+
test[require('./_wks')('toStringTag')] = 'z';
|
|
1509
|
+
if (test + '' != '[object z]') {
|
|
1510
|
+
require('./_redefine')(Object.prototype, 'toString', function toString() {
|
|
1511
|
+
return '[object ' + classof(this) + ']';
|
|
1512
|
+
}, true);
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
},{"./_classof":9,"./_redefine":58,"./_wks":81}],92:[function(require,module,exports){
|
|
1516
|
+
var global = require('./_global');
|
|
1517
|
+
var inheritIfRequired = require('./_inherit-if-required');
|
|
1518
|
+
var dP = require('./_object-dp').f;
|
|
1519
|
+
var gOPN = require('./_object-gopn').f;
|
|
1520
|
+
var isRegExp = require('./_is-regexp');
|
|
1521
|
+
var $flags = require('./_flags');
|
|
1522
|
+
var $RegExp = global.RegExp;
|
|
1523
|
+
var Base = $RegExp;
|
|
1524
|
+
var proto = $RegExp.prototype;
|
|
1525
|
+
var re1 = /a/g;
|
|
1526
|
+
var re2 = /a/g;
|
|
1527
|
+
// "new" creates a new object, old webkit buggy here
|
|
1528
|
+
var CORRECT_NEW = new $RegExp(re1) !== re1;
|
|
1529
|
+
|
|
1530
|
+
if (require('./_descriptors') && (!CORRECT_NEW || require('./_fails')(function () {
|
|
1531
|
+
re2[require('./_wks')('match')] = false;
|
|
1532
|
+
// RegExp constructor can alter flags and IsRegExp works correct with @@match
|
|
1533
|
+
return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';
|
|
1534
|
+
}))) {
|
|
1535
|
+
$RegExp = function RegExp(p, f) {
|
|
1536
|
+
var tiRE = this instanceof $RegExp;
|
|
1537
|
+
var piRE = isRegExp(p);
|
|
1538
|
+
var fiU = f === undefined;
|
|
1539
|
+
return !tiRE && piRE && p.constructor === $RegExp && fiU ? p
|
|
1540
|
+
: inheritIfRequired(CORRECT_NEW
|
|
1541
|
+
? new Base(piRE && !fiU ? p.source : p, f)
|
|
1542
|
+
: Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)
|
|
1543
|
+
, tiRE ? this : proto, $RegExp);
|
|
1544
|
+
};
|
|
1545
|
+
var proxy = function (key) {
|
|
1546
|
+
key in $RegExp || dP($RegExp, key, {
|
|
1547
|
+
configurable: true,
|
|
1548
|
+
get: function () { return Base[key]; },
|
|
1549
|
+
set: function (it) { Base[key] = it; }
|
|
1550
|
+
});
|
|
1551
|
+
};
|
|
1552
|
+
for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);
|
|
1553
|
+
proto.constructor = $RegExp;
|
|
1554
|
+
$RegExp.prototype = proto;
|
|
1555
|
+
require('./_redefine')(global, 'RegExp', $RegExp);
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
require('./_set-species')('RegExp');
|
|
1559
|
+
|
|
1560
|
+
},{"./_descriptors":15,"./_fails":21,"./_flags":23,"./_global":25,"./_inherit-if-required":30,"./_is-regexp":35,"./_object-dp":45,"./_object-gopn":49,"./_redefine":58,"./_set-species":62,"./_wks":81}],93:[function(require,module,exports){
|
|
1561
|
+
'use strict';
|
|
1562
|
+
var regexpExec = require('./_regexp-exec');
|
|
1563
|
+
require('./_export')({
|
|
1564
|
+
target: 'RegExp',
|
|
1565
|
+
proto: true,
|
|
1566
|
+
forced: regexpExec !== /./.exec
|
|
1567
|
+
}, {
|
|
1568
|
+
exec: regexpExec
|
|
1569
|
+
});
|
|
1570
|
+
|
|
1571
|
+
},{"./_export":19,"./_regexp-exec":60}],94:[function(require,module,exports){
|
|
1572
|
+
'use strict';
|
|
1573
|
+
|
|
1574
|
+
var anObject = require('./_an-object');
|
|
1575
|
+
var toLength = require('./_to-length');
|
|
1576
|
+
var advanceStringIndex = require('./_advance-string-index');
|
|
1577
|
+
var regExpExec = require('./_regexp-exec-abstract');
|
|
1578
|
+
|
|
1579
|
+
// @@match logic
|
|
1580
|
+
require('./_fix-re-wks')('match', 1, function (defined, MATCH, $match, maybeCallNative) {
|
|
1581
|
+
return [
|
|
1582
|
+
// `String.prototype.match` method
|
|
1583
|
+
// https://tc39.github.io/ecma262/#sec-string.prototype.match
|
|
1584
|
+
function match(regexp) {
|
|
1585
|
+
var O = defined(this);
|
|
1586
|
+
var fn = regexp == undefined ? undefined : regexp[MATCH];
|
|
1587
|
+
return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
|
|
1588
|
+
},
|
|
1589
|
+
// `RegExp.prototype[@@match]` method
|
|
1590
|
+
// https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match
|
|
1591
|
+
function (regexp) {
|
|
1592
|
+
var res = maybeCallNative($match, regexp, this);
|
|
1593
|
+
if (res.done) return res.value;
|
|
1594
|
+
var rx = anObject(regexp);
|
|
1595
|
+
var S = String(this);
|
|
1596
|
+
if (!rx.global) return regExpExec(rx, S);
|
|
1597
|
+
var fullUnicode = rx.unicode;
|
|
1598
|
+
rx.lastIndex = 0;
|
|
1599
|
+
var A = [];
|
|
1600
|
+
var n = 0;
|
|
1601
|
+
var result;
|
|
1602
|
+
while ((result = regExpExec(rx, S)) !== null) {
|
|
1603
|
+
var matchStr = String(result[0]);
|
|
1604
|
+
A[n] = matchStr;
|
|
1605
|
+
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
|
|
1606
|
+
n++;
|
|
1607
|
+
}
|
|
1608
|
+
return n === 0 ? null : A;
|
|
1609
|
+
}
|
|
1610
|
+
];
|
|
1611
|
+
});
|
|
1612
|
+
|
|
1613
|
+
},{"./_advance-string-index":3,"./_an-object":4,"./_fix-re-wks":22,"./_regexp-exec-abstract":59,"./_to-length":75}],95:[function(require,module,exports){
|
|
1614
|
+
'use strict';
|
|
1615
|
+
|
|
1616
|
+
var anObject = require('./_an-object');
|
|
1617
|
+
var toObject = require('./_to-object');
|
|
1618
|
+
var toLength = require('./_to-length');
|
|
1619
|
+
var toInteger = require('./_to-integer');
|
|
1620
|
+
var advanceStringIndex = require('./_advance-string-index');
|
|
1621
|
+
var regExpExec = require('./_regexp-exec-abstract');
|
|
1622
|
+
var max = Math.max;
|
|
1623
|
+
var min = Math.min;
|
|
1624
|
+
var floor = Math.floor;
|
|
1625
|
+
var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g;
|
|
1626
|
+
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g;
|
|
1627
|
+
|
|
1628
|
+
var maybeToString = function (it) {
|
|
1629
|
+
return it === undefined ? it : String(it);
|
|
1630
|
+
};
|
|
1631
|
+
|
|
1632
|
+
// @@replace logic
|
|
1633
|
+
require('./_fix-re-wks')('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {
|
|
1634
|
+
return [
|
|
1635
|
+
// `String.prototype.replace` method
|
|
1636
|
+
// https://tc39.github.io/ecma262/#sec-string.prototype.replace
|
|
1637
|
+
function replace(searchValue, replaceValue) {
|
|
1638
|
+
var O = defined(this);
|
|
1639
|
+
var fn = searchValue == undefined ? undefined : searchValue[REPLACE];
|
|
1640
|
+
return fn !== undefined
|
|
1641
|
+
? fn.call(searchValue, O, replaceValue)
|
|
1642
|
+
: $replace.call(String(O), searchValue, replaceValue);
|
|
1643
|
+
},
|
|
1644
|
+
// `RegExp.prototype[@@replace]` method
|
|
1645
|
+
// https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
|
|
1646
|
+
function (regexp, replaceValue) {
|
|
1647
|
+
var res = maybeCallNative($replace, regexp, this, replaceValue);
|
|
1648
|
+
if (res.done) return res.value;
|
|
1649
|
+
|
|
1650
|
+
var rx = anObject(regexp);
|
|
1651
|
+
var S = String(this);
|
|
1652
|
+
var functionalReplace = typeof replaceValue === 'function';
|
|
1653
|
+
if (!functionalReplace) replaceValue = String(replaceValue);
|
|
1654
|
+
var global = rx.global;
|
|
1655
|
+
if (global) {
|
|
1656
|
+
var fullUnicode = rx.unicode;
|
|
1657
|
+
rx.lastIndex = 0;
|
|
1658
|
+
}
|
|
1659
|
+
var results = [];
|
|
1660
|
+
while (true) {
|
|
1661
|
+
var result = regExpExec(rx, S);
|
|
1662
|
+
if (result === null) break;
|
|
1663
|
+
results.push(result);
|
|
1664
|
+
if (!global) break;
|
|
1665
|
+
var matchStr = String(result[0]);
|
|
1666
|
+
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
|
|
1667
|
+
}
|
|
1668
|
+
var accumulatedResult = '';
|
|
1669
|
+
var nextSourcePosition = 0;
|
|
1670
|
+
for (var i = 0; i < results.length; i++) {
|
|
1671
|
+
result = results[i];
|
|
1672
|
+
var matched = String(result[0]);
|
|
1673
|
+
var position = max(min(toInteger(result.index), S.length), 0);
|
|
1674
|
+
var captures = [];
|
|
1675
|
+
// NOTE: This is equivalent to
|
|
1676
|
+
// captures = result.slice(1).map(maybeToString)
|
|
1677
|
+
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
|
|
1678
|
+
// the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
|
|
1679
|
+
// causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
|
|
1680
|
+
for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
|
|
1681
|
+
var namedCaptures = result.groups;
|
|
1682
|
+
if (functionalReplace) {
|
|
1683
|
+
var replacerArgs = [matched].concat(captures, position, S);
|
|
1684
|
+
if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
|
|
1685
|
+
var replacement = String(replaceValue.apply(undefined, replacerArgs));
|
|
1686
|
+
} else {
|
|
1687
|
+
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
|
1688
|
+
}
|
|
1689
|
+
if (position >= nextSourcePosition) {
|
|
1690
|
+
accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
|
|
1691
|
+
nextSourcePosition = position + matched.length;
|
|
1692
|
+
}
|
|
1693
|
+
}
|
|
1694
|
+
return accumulatedResult + S.slice(nextSourcePosition);
|
|
1695
|
+
}
|
|
1696
|
+
];
|
|
1697
|
+
|
|
1698
|
+
// https://tc39.github.io/ecma262/#sec-getsubstitution
|
|
1699
|
+
function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
|
|
1700
|
+
var tailPos = position + matched.length;
|
|
1701
|
+
var m = captures.length;
|
|
1702
|
+
var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
|
|
1703
|
+
if (namedCaptures !== undefined) {
|
|
1704
|
+
namedCaptures = toObject(namedCaptures);
|
|
1705
|
+
symbols = SUBSTITUTION_SYMBOLS;
|
|
1706
|
+
}
|
|
1707
|
+
return $replace.call(replacement, symbols, function (match, ch) {
|
|
1708
|
+
var capture;
|
|
1709
|
+
switch (ch.charAt(0)) {
|
|
1710
|
+
case '$': return '$';
|
|
1711
|
+
case '&': return matched;
|
|
1712
|
+
case '`': return str.slice(0, position);
|
|
1713
|
+
case "'": return str.slice(tailPos);
|
|
1714
|
+
case '<':
|
|
1715
|
+
capture = namedCaptures[ch.slice(1, -1)];
|
|
1716
|
+
break;
|
|
1717
|
+
default: // \d\d?
|
|
1718
|
+
var n = +ch;
|
|
1719
|
+
if (n === 0) return match;
|
|
1720
|
+
if (n > m) {
|
|
1721
|
+
var f = floor(n / 10);
|
|
1722
|
+
if (f === 0) return match;
|
|
1723
|
+
if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
|
|
1724
|
+
return match;
|
|
1725
|
+
}
|
|
1726
|
+
capture = captures[n - 1];
|
|
1727
|
+
}
|
|
1728
|
+
return capture === undefined ? '' : capture;
|
|
1729
|
+
});
|
|
1730
|
+
}
|
|
1731
|
+
});
|
|
1732
|
+
|
|
1733
|
+
},{"./_advance-string-index":3,"./_an-object":4,"./_fix-re-wks":22,"./_regexp-exec-abstract":59,"./_to-integer":73,"./_to-length":75,"./_to-object":76}],96:[function(require,module,exports){
|
|
1734
|
+
'use strict';
|
|
1735
|
+
|
|
1736
|
+
var isRegExp = require('./_is-regexp');
|
|
1737
|
+
var anObject = require('./_an-object');
|
|
1738
|
+
var speciesConstructor = require('./_species-constructor');
|
|
1739
|
+
var advanceStringIndex = require('./_advance-string-index');
|
|
1740
|
+
var toLength = require('./_to-length');
|
|
1741
|
+
var callRegExpExec = require('./_regexp-exec-abstract');
|
|
1742
|
+
var regexpExec = require('./_regexp-exec');
|
|
1743
|
+
var fails = require('./_fails');
|
|
1744
|
+
var $min = Math.min;
|
|
1745
|
+
var $push = [].push;
|
|
1746
|
+
var $SPLIT = 'split';
|
|
1747
|
+
var LENGTH = 'length';
|
|
1748
|
+
var LAST_INDEX = 'lastIndex';
|
|
1749
|
+
var MAX_UINT32 = 0xffffffff;
|
|
1750
|
+
|
|
1751
|
+
// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
|
|
1752
|
+
var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });
|
|
1753
|
+
|
|
1754
|
+
// @@split logic
|
|
1755
|
+
require('./_fix-re-wks')('split', 2, function (defined, SPLIT, $split, maybeCallNative) {
|
|
1756
|
+
var internalSplit;
|
|
1757
|
+
if (
|
|
1758
|
+
'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||
|
|
1759
|
+
'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||
|
|
1760
|
+
'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||
|
|
1761
|
+
'.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||
|
|
1762
|
+
'.'[$SPLIT](/()()/)[LENGTH] > 1 ||
|
|
1763
|
+
''[$SPLIT](/.?/)[LENGTH]
|
|
1764
|
+
) {
|
|
1765
|
+
// based on es5-shim implementation, need to rework it
|
|
1766
|
+
internalSplit = function (separator, limit) {
|
|
1767
|
+
var string = String(this);
|
|
1768
|
+
if (separator === undefined && limit === 0) return [];
|
|
1769
|
+
// If `separator` is not a regex, use native split
|
|
1770
|
+
if (!isRegExp(separator)) return $split.call(string, separator, limit);
|
|
1771
|
+
var output = [];
|
|
1772
|
+
var flags = (separator.ignoreCase ? 'i' : '') +
|
|
1773
|
+
(separator.multiline ? 'm' : '') +
|
|
1774
|
+
(separator.unicode ? 'u' : '') +
|
|
1775
|
+
(separator.sticky ? 'y' : '');
|
|
1776
|
+
var lastLastIndex = 0;
|
|
1777
|
+
var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0;
|
|
1778
|
+
// Make `global` and avoid `lastIndex` issues by working with a copy
|
|
1779
|
+
var separatorCopy = new RegExp(separator.source, flags + 'g');
|
|
1780
|
+
var match, lastIndex, lastLength;
|
|
1781
|
+
while (match = regexpExec.call(separatorCopy, string)) {
|
|
1782
|
+
lastIndex = separatorCopy[LAST_INDEX];
|
|
1783
|
+
if (lastIndex > lastLastIndex) {
|
|
1784
|
+
output.push(string.slice(lastLastIndex, match.index));
|
|
1785
|
+
if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));
|
|
1786
|
+
lastLength = match[0][LENGTH];
|
|
1787
|
+
lastLastIndex = lastIndex;
|
|
1788
|
+
if (output[LENGTH] >= splitLimit) break;
|
|
1789
|
+
}
|
|
1790
|
+
if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop
|
|
1791
|
+
}
|
|
1792
|
+
if (lastLastIndex === string[LENGTH]) {
|
|
1793
|
+
if (lastLength || !separatorCopy.test('')) output.push('');
|
|
1794
|
+
} else output.push(string.slice(lastLastIndex));
|
|
1795
|
+
return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;
|
|
1796
|
+
};
|
|
1797
|
+
// Chakra, V8
|
|
1798
|
+
} else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {
|
|
1799
|
+
internalSplit = function (separator, limit) {
|
|
1800
|
+
return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit);
|
|
1801
|
+
};
|
|
1802
|
+
} else {
|
|
1803
|
+
internalSplit = $split;
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
return [
|
|
1807
|
+
// `String.prototype.split` method
|
|
1808
|
+
// https://tc39.github.io/ecma262/#sec-string.prototype.split
|
|
1809
|
+
function split(separator, limit) {
|
|
1810
|
+
var O = defined(this);
|
|
1811
|
+
var splitter = separator == undefined ? undefined : separator[SPLIT];
|
|
1812
|
+
return splitter !== undefined
|
|
1813
|
+
? splitter.call(separator, O, limit)
|
|
1814
|
+
: internalSplit.call(String(O), separator, limit);
|
|
1815
|
+
},
|
|
1816
|
+
// `RegExp.prototype[@@split]` method
|
|
1817
|
+
// https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split
|
|
1818
|
+
//
|
|
1819
|
+
// NOTE: This cannot be properly polyfilled in engines that don't support
|
|
1820
|
+
// the 'y' flag.
|
|
1821
|
+
function (regexp, limit) {
|
|
1822
|
+
var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);
|
|
1823
|
+
if (res.done) return res.value;
|
|
1824
|
+
|
|
1825
|
+
var rx = anObject(regexp);
|
|
1826
|
+
var S = String(this);
|
|
1827
|
+
var C = speciesConstructor(rx, RegExp);
|
|
1828
|
+
|
|
1829
|
+
var unicodeMatching = rx.unicode;
|
|
1830
|
+
var flags = (rx.ignoreCase ? 'i' : '') +
|
|
1831
|
+
(rx.multiline ? 'm' : '') +
|
|
1832
|
+
(rx.unicode ? 'u' : '') +
|
|
1833
|
+
(SUPPORTS_Y ? 'y' : 'g');
|
|
1834
|
+
|
|
1835
|
+
// ^(? + rx + ) is needed, in combination with some S slicing, to
|
|
1836
|
+
// simulate the 'y' flag.
|
|
1837
|
+
var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);
|
|
1838
|
+
var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
|
|
1839
|
+
if (lim === 0) return [];
|
|
1840
|
+
if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];
|
|
1841
|
+
var p = 0;
|
|
1842
|
+
var q = 0;
|
|
1843
|
+
var A = [];
|
|
1844
|
+
while (q < S.length) {
|
|
1845
|
+
splitter.lastIndex = SUPPORTS_Y ? q : 0;
|
|
1846
|
+
var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));
|
|
1847
|
+
var e;
|
|
1848
|
+
if (
|
|
1849
|
+
z === null ||
|
|
1850
|
+
(e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p
|
|
1851
|
+
) {
|
|
1852
|
+
q = advanceStringIndex(S, q, unicodeMatching);
|
|
1853
|
+
} else {
|
|
1854
|
+
A.push(S.slice(p, q));
|
|
1855
|
+
if (A.length === lim) return A;
|
|
1856
|
+
for (var i = 1; i <= z.length - 1; i++) {
|
|
1857
|
+
A.push(z[i]);
|
|
1858
|
+
if (A.length === lim) return A;
|
|
1859
|
+
}
|
|
1860
|
+
q = p = e;
|
|
1861
|
+
}
|
|
1862
|
+
}
|
|
1863
|
+
A.push(S.slice(p));
|
|
1864
|
+
return A;
|
|
1865
|
+
}
|
|
1866
|
+
];
|
|
1867
|
+
});
|
|
1868
|
+
|
|
1869
|
+
},{"./_advance-string-index":3,"./_an-object":4,"./_fails":21,"./_fix-re-wks":22,"./_is-regexp":35,"./_regexp-exec":60,"./_regexp-exec-abstract":59,"./_species-constructor":66,"./_to-length":75}],97:[function(require,module,exports){
|
|
1870
|
+
// 21.1.3.7 String.prototype.includes(searchString, position = 0)
|
|
1871
|
+
'use strict';
|
|
1872
|
+
var $export = require('./_export');
|
|
1873
|
+
var context = require('./_string-context');
|
|
1874
|
+
var INCLUDES = 'includes';
|
|
1875
|
+
|
|
1876
|
+
$export($export.P + $export.F * require('./_fails-is-regexp')(INCLUDES), 'String', {
|
|
1877
|
+
includes: function includes(searchString /* , position = 0 */) {
|
|
1878
|
+
return !!~context(this, searchString, INCLUDES)
|
|
1879
|
+
.indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);
|
|
1880
|
+
}
|
|
1881
|
+
});
|
|
1882
|
+
|
|
1883
|
+
},{"./_export":19,"./_fails-is-regexp":20,"./_string-context":69}],98:[function(require,module,exports){
|
|
1884
|
+
'use strict';
|
|
1885
|
+
var $at = require('./_string-at')(true);
|
|
1886
|
+
|
|
1887
|
+
// 21.1.3.27 String.prototype[@@iterator]()
|
|
1888
|
+
require('./_iter-define')(String, 'String', function (iterated) {
|
|
1889
|
+
this._t = String(iterated); // target
|
|
1890
|
+
this._i = 0; // next index
|
|
1891
|
+
// 21.1.5.2.1 %StringIteratorPrototype%.next()
|
|
1892
|
+
}, function () {
|
|
1893
|
+
var O = this._t;
|
|
1894
|
+
var index = this._i;
|
|
1895
|
+
var point;
|
|
1896
|
+
if (index >= O.length) return { value: undefined, done: true };
|
|
1897
|
+
point = $at(O, index);
|
|
1898
|
+
this._i += point.length;
|
|
1899
|
+
return { value: point, done: false };
|
|
1900
|
+
});
|
|
1901
|
+
|
|
1902
|
+
},{"./_iter-define":38,"./_string-at":68}],99:[function(require,module,exports){
|
|
1903
|
+
'use strict';
|
|
1904
|
+
// ECMAScript 6 symbols shim
|
|
1905
|
+
var global = require('./_global');
|
|
1906
|
+
var has = require('./_has');
|
|
1907
|
+
var DESCRIPTORS = require('./_descriptors');
|
|
1908
|
+
var $export = require('./_export');
|
|
1909
|
+
var redefine = require('./_redefine');
|
|
1910
|
+
var META = require('./_meta').KEY;
|
|
1911
|
+
var $fails = require('./_fails');
|
|
1912
|
+
var shared = require('./_shared');
|
|
1913
|
+
var setToStringTag = require('./_set-to-string-tag');
|
|
1914
|
+
var uid = require('./_uid');
|
|
1915
|
+
var wks = require('./_wks');
|
|
1916
|
+
var wksExt = require('./_wks-ext');
|
|
1917
|
+
var wksDefine = require('./_wks-define');
|
|
1918
|
+
var enumKeys = require('./_enum-keys');
|
|
1919
|
+
var isArray = require('./_is-array');
|
|
1920
|
+
var anObject = require('./_an-object');
|
|
1921
|
+
var isObject = require('./_is-object');
|
|
1922
|
+
var toObject = require('./_to-object');
|
|
1923
|
+
var toIObject = require('./_to-iobject');
|
|
1924
|
+
var toPrimitive = require('./_to-primitive');
|
|
1925
|
+
var createDesc = require('./_property-desc');
|
|
1926
|
+
var _create = require('./_object-create');
|
|
1927
|
+
var gOPNExt = require('./_object-gopn-ext');
|
|
1928
|
+
var $GOPD = require('./_object-gopd');
|
|
1929
|
+
var $GOPS = require('./_object-gops');
|
|
1930
|
+
var $DP = require('./_object-dp');
|
|
1931
|
+
var $keys = require('./_object-keys');
|
|
1932
|
+
var gOPD = $GOPD.f;
|
|
1933
|
+
var dP = $DP.f;
|
|
1934
|
+
var gOPN = gOPNExt.f;
|
|
1935
|
+
var $Symbol = global.Symbol;
|
|
1936
|
+
var $JSON = global.JSON;
|
|
1937
|
+
var _stringify = $JSON && $JSON.stringify;
|
|
1938
|
+
var PROTOTYPE = 'prototype';
|
|
1939
|
+
var HIDDEN = wks('_hidden');
|
|
1940
|
+
var TO_PRIMITIVE = wks('toPrimitive');
|
|
1941
|
+
var isEnum = {}.propertyIsEnumerable;
|
|
1942
|
+
var SymbolRegistry = shared('symbol-registry');
|
|
1943
|
+
var AllSymbols = shared('symbols');
|
|
1944
|
+
var OPSymbols = shared('op-symbols');
|
|
1945
|
+
var ObjectProto = Object[PROTOTYPE];
|
|
1946
|
+
var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;
|
|
1947
|
+
var QObject = global.QObject;
|
|
1948
|
+
// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
|
|
1949
|
+
var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
|
|
1950
|
+
|
|
1951
|
+
// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
|
|
1952
|
+
var setSymbolDesc = DESCRIPTORS && $fails(function () {
|
|
1953
|
+
return _create(dP({}, 'a', {
|
|
1954
|
+
get: function () { return dP(this, 'a', { value: 7 }).a; }
|
|
1955
|
+
})).a != 7;
|
|
1956
|
+
}) ? function (it, key, D) {
|
|
1957
|
+
var protoDesc = gOPD(ObjectProto, key);
|
|
1958
|
+
if (protoDesc) delete ObjectProto[key];
|
|
1959
|
+
dP(it, key, D);
|
|
1960
|
+
if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
|
|
1961
|
+
} : dP;
|
|
1962
|
+
|
|
1963
|
+
var wrap = function (tag) {
|
|
1964
|
+
var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
|
|
1965
|
+
sym._k = tag;
|
|
1966
|
+
return sym;
|
|
1967
|
+
};
|
|
1968
|
+
|
|
1969
|
+
var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {
|
|
1970
|
+
return typeof it == 'symbol';
|
|
1971
|
+
} : function (it) {
|
|
1972
|
+
return it instanceof $Symbol;
|
|
1973
|
+
};
|
|
1974
|
+
|
|
1975
|
+
var $defineProperty = function defineProperty(it, key, D) {
|
|
1976
|
+
if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
|
|
1977
|
+
anObject(it);
|
|
1978
|
+
key = toPrimitive(key, true);
|
|
1979
|
+
anObject(D);
|
|
1980
|
+
if (has(AllSymbols, key)) {
|
|
1981
|
+
if (!D.enumerable) {
|
|
1982
|
+
if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));
|
|
1983
|
+
it[HIDDEN][key] = true;
|
|
1984
|
+
} else {
|
|
1985
|
+
if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
|
|
1986
|
+
D = _create(D, { enumerable: createDesc(0, false) });
|
|
1987
|
+
} return setSymbolDesc(it, key, D);
|
|
1988
|
+
} return dP(it, key, D);
|
|
1989
|
+
};
|
|
1990
|
+
var $defineProperties = function defineProperties(it, P) {
|
|
1991
|
+
anObject(it);
|
|
1992
|
+
var keys = enumKeys(P = toIObject(P));
|
|
1993
|
+
var i = 0;
|
|
1994
|
+
var l = keys.length;
|
|
1995
|
+
var key;
|
|
1996
|
+
while (l > i) $defineProperty(it, key = keys[i++], P[key]);
|
|
1997
|
+
return it;
|
|
1998
|
+
};
|
|
1999
|
+
var $create = function create(it, P) {
|
|
2000
|
+
return P === undefined ? _create(it) : $defineProperties(_create(it), P);
|
|
2001
|
+
};
|
|
2002
|
+
var $propertyIsEnumerable = function propertyIsEnumerable(key) {
|
|
2003
|
+
var E = isEnum.call(this, key = toPrimitive(key, true));
|
|
2004
|
+
if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;
|
|
2005
|
+
return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
|
|
2006
|
+
};
|
|
2007
|
+
var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
|
|
2008
|
+
it = toIObject(it);
|
|
2009
|
+
key = toPrimitive(key, true);
|
|
2010
|
+
if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;
|
|
2011
|
+
var D = gOPD(it, key);
|
|
2012
|
+
if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
|
|
2013
|
+
return D;
|
|
2014
|
+
};
|
|
2015
|
+
var $getOwnPropertyNames = function getOwnPropertyNames(it) {
|
|
2016
|
+
var names = gOPN(toIObject(it));
|
|
2017
|
+
var result = [];
|
|
2018
|
+
var i = 0;
|
|
2019
|
+
var key;
|
|
2020
|
+
while (names.length > i) {
|
|
2021
|
+
if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);
|
|
2022
|
+
} return result;
|
|
2023
|
+
};
|
|
2024
|
+
var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
|
|
2025
|
+
var IS_OP = it === ObjectProto;
|
|
2026
|
+
var names = gOPN(IS_OP ? OPSymbols : toIObject(it));
|
|
2027
|
+
var result = [];
|
|
2028
|
+
var i = 0;
|
|
2029
|
+
var key;
|
|
2030
|
+
while (names.length > i) {
|
|
2031
|
+
if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
|
|
2032
|
+
} return result;
|
|
2033
|
+
};
|
|
2034
|
+
|
|
2035
|
+
// 19.4.1.1 Symbol([description])
|
|
2036
|
+
if (!USE_NATIVE) {
|
|
2037
|
+
$Symbol = function Symbol() {
|
|
2038
|
+
if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
|
|
2039
|
+
var tag = uid(arguments.length > 0 ? arguments[0] : undefined);
|
|
2040
|
+
var $set = function (value) {
|
|
2041
|
+
if (this === ObjectProto) $set.call(OPSymbols, value);
|
|
2042
|
+
if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
|
|
2043
|
+
setSymbolDesc(this, tag, createDesc(1, value));
|
|
2044
|
+
};
|
|
2045
|
+
if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
|
|
2046
|
+
return wrap(tag);
|
|
2047
|
+
};
|
|
2048
|
+
redefine($Symbol[PROTOTYPE], 'toString', function toString() {
|
|
2049
|
+
return this._k;
|
|
2050
|
+
});
|
|
2051
|
+
|
|
2052
|
+
$GOPD.f = $getOwnPropertyDescriptor;
|
|
2053
|
+
$DP.f = $defineProperty;
|
|
2054
|
+
require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;
|
|
2055
|
+
require('./_object-pie').f = $propertyIsEnumerable;
|
|
2056
|
+
$GOPS.f = $getOwnPropertySymbols;
|
|
2057
|
+
|
|
2058
|
+
if (DESCRIPTORS && !require('./_library')) {
|
|
2059
|
+
redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
|
|
2060
|
+
}
|
|
2061
|
+
|
|
2062
|
+
wksExt.f = function (name) {
|
|
2063
|
+
return wrap(wks(name));
|
|
2064
|
+
};
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });
|
|
2068
|
+
|
|
2069
|
+
for (var es6Symbols = (
|
|
2070
|
+
// 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14
|
|
2071
|
+
'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
|
|
2072
|
+
).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);
|
|
2073
|
+
|
|
2074
|
+
for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);
|
|
2075
|
+
|
|
2076
|
+
$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {
|
|
2077
|
+
// 19.4.2.1 Symbol.for(key)
|
|
2078
|
+
'for': function (key) {
|
|
2079
|
+
return has(SymbolRegistry, key += '')
|
|
2080
|
+
? SymbolRegistry[key]
|
|
2081
|
+
: SymbolRegistry[key] = $Symbol(key);
|
|
2082
|
+
},
|
|
2083
|
+
// 19.4.2.5 Symbol.keyFor(sym)
|
|
2084
|
+
keyFor: function keyFor(sym) {
|
|
2085
|
+
if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');
|
|
2086
|
+
for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;
|
|
2087
|
+
},
|
|
2088
|
+
useSetter: function () { setter = true; },
|
|
2089
|
+
useSimple: function () { setter = false; }
|
|
2090
|
+
});
|
|
2091
|
+
|
|
2092
|
+
$export($export.S + $export.F * !USE_NATIVE, 'Object', {
|
|
2093
|
+
// 19.1.2.2 Object.create(O [, Properties])
|
|
2094
|
+
create: $create,
|
|
2095
|
+
// 19.1.2.4 Object.defineProperty(O, P, Attributes)
|
|
2096
|
+
defineProperty: $defineProperty,
|
|
2097
|
+
// 19.1.2.3 Object.defineProperties(O, Properties)
|
|
2098
|
+
defineProperties: $defineProperties,
|
|
2099
|
+
// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
|
|
2100
|
+
getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
|
|
2101
|
+
// 19.1.2.7 Object.getOwnPropertyNames(O)
|
|
2102
|
+
getOwnPropertyNames: $getOwnPropertyNames,
|
|
2103
|
+
// 19.1.2.8 Object.getOwnPropertySymbols(O)
|
|
2104
|
+
getOwnPropertySymbols: $getOwnPropertySymbols
|
|
2105
|
+
});
|
|
2106
|
+
|
|
2107
|
+
// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
|
|
2108
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3443
|
|
2109
|
+
var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });
|
|
2110
|
+
|
|
2111
|
+
$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {
|
|
2112
|
+
getOwnPropertySymbols: function getOwnPropertySymbols(it) {
|
|
2113
|
+
return $GOPS.f(toObject(it));
|
|
2114
|
+
}
|
|
2115
|
+
});
|
|
2116
|
+
|
|
2117
|
+
// 24.3.2 JSON.stringify(value [, replacer [, space]])
|
|
2118
|
+
$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {
|
|
2119
|
+
var S = $Symbol();
|
|
2120
|
+
// MS Edge converts symbol values to JSON as {}
|
|
2121
|
+
// WebKit converts symbol values to JSON as null
|
|
2122
|
+
// V8 throws on boxed symbols
|
|
2123
|
+
return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';
|
|
2124
|
+
})), 'JSON', {
|
|
2125
|
+
stringify: function stringify(it) {
|
|
2126
|
+
var args = [it];
|
|
2127
|
+
var i = 1;
|
|
2128
|
+
var replacer, $replacer;
|
|
2129
|
+
while (arguments.length > i) args.push(arguments[i++]);
|
|
2130
|
+
$replacer = replacer = args[1];
|
|
2131
|
+
if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
|
|
2132
|
+
if (!isArray(replacer)) replacer = function (key, value) {
|
|
2133
|
+
if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
|
|
2134
|
+
if (!isSymbol(value)) return value;
|
|
2135
|
+
};
|
|
2136
|
+
args[1] = replacer;
|
|
2137
|
+
return _stringify.apply($JSON, args);
|
|
2138
|
+
}
|
|
2139
|
+
});
|
|
2140
|
+
|
|
2141
|
+
// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
|
|
2142
|
+
$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
|
|
2143
|
+
// 19.4.3.5 Symbol.prototype[@@toStringTag]
|
|
2144
|
+
setToStringTag($Symbol, 'Symbol');
|
|
2145
|
+
// 20.2.1.9 Math[@@toStringTag]
|
|
2146
|
+
setToStringTag(Math, 'Math', true);
|
|
2147
|
+
// 24.3.3 JSON[@@toStringTag]
|
|
2148
|
+
setToStringTag(global.JSON, 'JSON', true);
|
|
2149
|
+
|
|
2150
|
+
},{"./_an-object":4,"./_descriptors":15,"./_enum-keys":18,"./_export":19,"./_fails":21,"./_global":25,"./_has":26,"./_hide":27,"./_is-array":33,"./_is-object":34,"./_library":42,"./_meta":43,"./_object-create":44,"./_object-dp":45,"./_object-gopd":47,"./_object-gopn":49,"./_object-gopn-ext":48,"./_object-gops":50,"./_object-keys":53,"./_object-pie":54,"./_property-desc":57,"./_redefine":58,"./_set-to-string-tag":63,"./_shared":65,"./_to-iobject":74,"./_to-object":76,"./_to-primitive":77,"./_uid":78,"./_wks":81,"./_wks-define":79,"./_wks-ext":80}],100:[function(require,module,exports){
|
|
2151
|
+
'use strict';
|
|
2152
|
+
// https://github.com/tc39/Array.prototype.includes
|
|
2153
|
+
var $export = require('./_export');
|
|
2154
|
+
var $includes = require('./_array-includes')(true);
|
|
2155
|
+
|
|
2156
|
+
$export($export.P, 'Array', {
|
|
2157
|
+
includes: function includes(el /* , fromIndex = 0 */) {
|
|
2158
|
+
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
2159
|
+
}
|
|
2160
|
+
});
|
|
2161
|
+
|
|
2162
|
+
require('./_add-to-unscopables')('includes');
|
|
2163
|
+
|
|
2164
|
+
},{"./_add-to-unscopables":2,"./_array-includes":5,"./_export":19}],101:[function(require,module,exports){
|
|
2165
|
+
// https://github.com/tc39/proposal-object-getownpropertydescriptors
|
|
2166
|
+
var $export = require('./_export');
|
|
2167
|
+
var ownKeys = require('./_own-keys');
|
|
2168
|
+
var toIObject = require('./_to-iobject');
|
|
2169
|
+
var gOPD = require('./_object-gopd');
|
|
2170
|
+
var createProperty = require('./_create-property');
|
|
2171
|
+
|
|
2172
|
+
$export($export.S, 'Object', {
|
|
2173
|
+
getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {
|
|
2174
|
+
var O = toIObject(object);
|
|
2175
|
+
var getDesc = gOPD.f;
|
|
2176
|
+
var keys = ownKeys(O);
|
|
2177
|
+
var result = {};
|
|
2178
|
+
var i = 0;
|
|
2179
|
+
var key, desc;
|
|
2180
|
+
while (keys.length > i) {
|
|
2181
|
+
desc = getDesc(O, key = keys[i++]);
|
|
2182
|
+
if (desc !== undefined) createProperty(result, key, desc);
|
|
2183
|
+
}
|
|
2184
|
+
return result;
|
|
2185
|
+
}
|
|
2186
|
+
});
|
|
2187
|
+
|
|
2188
|
+
},{"./_create-property":12,"./_export":19,"./_object-gopd":47,"./_own-keys":56,"./_to-iobject":74}],102:[function(require,module,exports){
|
|
2189
|
+
var $iterators = require('./es6.array.iterator');
|
|
2190
|
+
var getKeys = require('./_object-keys');
|
|
2191
|
+
var redefine = require('./_redefine');
|
|
2192
|
+
var global = require('./_global');
|
|
2193
|
+
var hide = require('./_hide');
|
|
2194
|
+
var Iterators = require('./_iterators');
|
|
2195
|
+
var wks = require('./_wks');
|
|
2196
|
+
var ITERATOR = wks('iterator');
|
|
2197
|
+
var TO_STRING_TAG = wks('toStringTag');
|
|
2198
|
+
var ArrayValues = Iterators.Array;
|
|
2199
|
+
|
|
2200
|
+
var DOMIterables = {
|
|
2201
|
+
CSSRuleList: true, // TODO: Not spec compliant, should be false.
|
|
2202
|
+
CSSStyleDeclaration: false,
|
|
2203
|
+
CSSValueList: false,
|
|
2204
|
+
ClientRectList: false,
|
|
2205
|
+
DOMRectList: false,
|
|
2206
|
+
DOMStringList: false,
|
|
2207
|
+
DOMTokenList: true,
|
|
2208
|
+
DataTransferItemList: false,
|
|
2209
|
+
FileList: false,
|
|
2210
|
+
HTMLAllCollection: false,
|
|
2211
|
+
HTMLCollection: false,
|
|
2212
|
+
HTMLFormElement: false,
|
|
2213
|
+
HTMLSelectElement: false,
|
|
2214
|
+
MediaList: true, // TODO: Not spec compliant, should be false.
|
|
2215
|
+
MimeTypeArray: false,
|
|
2216
|
+
NamedNodeMap: false,
|
|
2217
|
+
NodeList: true,
|
|
2218
|
+
PaintRequestList: false,
|
|
2219
|
+
Plugin: false,
|
|
2220
|
+
PluginArray: false,
|
|
2221
|
+
SVGLengthList: false,
|
|
2222
|
+
SVGNumberList: false,
|
|
2223
|
+
SVGPathSegList: false,
|
|
2224
|
+
SVGPointList: false,
|
|
2225
|
+
SVGStringList: false,
|
|
2226
|
+
SVGTransformList: false,
|
|
2227
|
+
SourceBufferList: false,
|
|
2228
|
+
StyleSheetList: true, // TODO: Not spec compliant, should be false.
|
|
2229
|
+
TextTrackCueList: false,
|
|
2230
|
+
TextTrackList: false,
|
|
2231
|
+
TouchList: false
|
|
2232
|
+
};
|
|
2233
|
+
|
|
2234
|
+
for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {
|
|
2235
|
+
var NAME = collections[i];
|
|
2236
|
+
var explicit = DOMIterables[NAME];
|
|
2237
|
+
var Collection = global[NAME];
|
|
2238
|
+
var proto = Collection && Collection.prototype;
|
|
2239
|
+
var key;
|
|
2240
|
+
if (proto) {
|
|
2241
|
+
if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);
|
|
2242
|
+
if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);
|
|
2243
|
+
Iterators[NAME] = ArrayValues;
|
|
2244
|
+
if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);
|
|
2245
|
+
}
|
|
2246
|
+
}
|
|
2247
|
+
|
|
2248
|
+
},{"./_global":25,"./_hide":27,"./_iterators":41,"./_object-keys":53,"./_redefine":58,"./_wks":81,"./es6.array.iterator":85}],103:[function(require,module,exports){
|
|
2249
|
+
"use strict";
|
|
2250
|
+
|
|
2251
|
+
require("core-js/modules/es6.symbol.js");
|
|
2252
|
+
require("core-js/modules/es6.number.constructor.js");
|
|
2253
|
+
require("core-js/modules/es6.string.iterator.js");
|
|
2254
|
+
require("core-js/modules/es6.object.to-string.js");
|
|
2255
|
+
require("core-js/modules/es6.array.iterator.js");
|
|
2256
|
+
require("core-js/modules/web.dom.iterable.js");
|
|
2257
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2258
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
2259
|
+
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); } }
|
|
2260
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
2261
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
2262
|
+
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); }
|
|
2263
|
+
var _require = require('./protocol'),
|
|
2264
|
+
Parser = _require.Parser,
|
|
2265
|
+
PROTOCOL_6 = _require.PROTOCOL_6,
|
|
2266
|
+
PROTOCOL_7 = _require.PROTOCOL_7;
|
|
2267
|
+
var VERSION = "4.0.2";
|
|
2268
|
+
var Connector = /*#__PURE__*/function () {
|
|
2269
|
+
function Connector(options, WebSocket, Timer, handlers) {
|
|
2270
|
+
var _this = this;
|
|
2271
|
+
_classCallCheck(this, Connector);
|
|
2272
|
+
this.options = options;
|
|
2273
|
+
this.WebSocket = WebSocket;
|
|
2274
|
+
this.Timer = Timer;
|
|
2275
|
+
this.handlers = handlers;
|
|
2276
|
+
var path = this.options.path ? "".concat(this.options.path) : 'livereload';
|
|
2277
|
+
var port = this.options.port ? ":".concat(this.options.port) : '';
|
|
2278
|
+
this._uri = "ws".concat(this.options.https ? 's' : '', "://").concat(this.options.host).concat(port, "/").concat(path);
|
|
2279
|
+
this._nextDelay = this.options.mindelay;
|
|
2280
|
+
this._connectionDesired = false;
|
|
2281
|
+
this.protocol = 0;
|
|
2282
|
+
this.protocolParser = new Parser({
|
|
2283
|
+
connected: function connected(protocol) {
|
|
2284
|
+
_this.protocol = protocol;
|
|
2285
|
+
_this._handshakeTimeout.stop();
|
|
2286
|
+
_this._nextDelay = _this.options.mindelay;
|
|
2287
|
+
_this._disconnectionReason = 'broken';
|
|
2288
|
+
return _this.handlers.connected(_this.protocol);
|
|
2289
|
+
},
|
|
2290
|
+
error: function error(e) {
|
|
2291
|
+
_this.handlers.error(e);
|
|
2292
|
+
return _this._closeOnError();
|
|
2293
|
+
},
|
|
2294
|
+
message: function message(_message) {
|
|
2295
|
+
return _this.handlers.message(_message);
|
|
2296
|
+
}
|
|
2297
|
+
});
|
|
2298
|
+
this._handshakeTimeout = new this.Timer(function () {
|
|
2299
|
+
if (!_this._isSocketConnected()) {
|
|
2300
|
+
return;
|
|
2301
|
+
}
|
|
2302
|
+
_this._disconnectionReason = 'handshake-timeout';
|
|
2303
|
+
return _this.socket.close();
|
|
2304
|
+
});
|
|
2305
|
+
this._reconnectTimer = new this.Timer(function () {
|
|
2306
|
+
if (!_this._connectionDesired) {
|
|
2307
|
+
// shouldn't hit this, but just in case
|
|
2308
|
+
return;
|
|
2309
|
+
}
|
|
2310
|
+
return _this.connect();
|
|
2311
|
+
});
|
|
2312
|
+
this.connect();
|
|
2313
|
+
}
|
|
2314
|
+
_createClass(Connector, [{
|
|
2315
|
+
key: "_isSocketConnected",
|
|
2316
|
+
value: function _isSocketConnected() {
|
|
2317
|
+
return this.socket && this.socket.readyState === this.WebSocket.OPEN;
|
|
2318
|
+
}
|
|
2319
|
+
}, {
|
|
2320
|
+
key: "connect",
|
|
2321
|
+
value: function connect() {
|
|
2322
|
+
var _this2 = this;
|
|
2323
|
+
this._connectionDesired = true;
|
|
2324
|
+
if (this._isSocketConnected()) {
|
|
2325
|
+
return;
|
|
2326
|
+
}
|
|
2327
|
+
|
|
2328
|
+
// prepare for a new connection
|
|
2329
|
+
this._reconnectTimer.stop();
|
|
2330
|
+
this._disconnectionReason = 'cannot-connect';
|
|
2331
|
+
this.protocolParser.reset();
|
|
2332
|
+
this.handlers.connecting();
|
|
2333
|
+
this.socket = new this.WebSocket(this._uri);
|
|
2334
|
+
this.socket.onopen = function (e) {
|
|
2335
|
+
return _this2._onopen(e);
|
|
2336
|
+
};
|
|
2337
|
+
this.socket.onclose = function (e) {
|
|
2338
|
+
return _this2._onclose(e);
|
|
2339
|
+
};
|
|
2340
|
+
this.socket.onmessage = function (e) {
|
|
2341
|
+
return _this2._onmessage(e);
|
|
2342
|
+
};
|
|
2343
|
+
this.socket.onerror = function (e) {
|
|
2344
|
+
return _this2._onerror(e);
|
|
2345
|
+
};
|
|
2346
|
+
}
|
|
2347
|
+
}, {
|
|
2348
|
+
key: "disconnect",
|
|
2349
|
+
value: function disconnect() {
|
|
2350
|
+
this._connectionDesired = false;
|
|
2351
|
+
this._reconnectTimer.stop(); // in case it was running
|
|
2352
|
+
|
|
2353
|
+
if (!this._isSocketConnected()) {
|
|
2354
|
+
return;
|
|
2355
|
+
}
|
|
2356
|
+
this._disconnectionReason = 'manual';
|
|
2357
|
+
return this.socket.close();
|
|
2358
|
+
}
|
|
2359
|
+
}, {
|
|
2360
|
+
key: "_scheduleReconnection",
|
|
2361
|
+
value: function _scheduleReconnection() {
|
|
2362
|
+
if (!this._connectionDesired) {
|
|
2363
|
+
// don't reconnect after manual disconnection
|
|
2364
|
+
return;
|
|
2365
|
+
}
|
|
2366
|
+
if (!this._reconnectTimer.running) {
|
|
2367
|
+
this._reconnectTimer.start(this._nextDelay);
|
|
2368
|
+
this._nextDelay = Math.min(this.options.maxdelay, this._nextDelay * 2);
|
|
2369
|
+
}
|
|
2370
|
+
}
|
|
2371
|
+
}, {
|
|
2372
|
+
key: "sendCommand",
|
|
2373
|
+
value: function sendCommand(command) {
|
|
2374
|
+
if (!this.protocol) {
|
|
2375
|
+
return;
|
|
2376
|
+
}
|
|
2377
|
+
return this._sendCommand(command);
|
|
2378
|
+
}
|
|
2379
|
+
}, {
|
|
2380
|
+
key: "_sendCommand",
|
|
2381
|
+
value: function _sendCommand(command) {
|
|
2382
|
+
return this.socket.send(JSON.stringify(command));
|
|
2383
|
+
}
|
|
2384
|
+
}, {
|
|
2385
|
+
key: "_closeOnError",
|
|
2386
|
+
value: function _closeOnError() {
|
|
2387
|
+
this._handshakeTimeout.stop();
|
|
2388
|
+
this._disconnectionReason = 'error';
|
|
2389
|
+
return this.socket.close();
|
|
2390
|
+
}
|
|
2391
|
+
}, {
|
|
2392
|
+
key: "_onopen",
|
|
2393
|
+
value: function _onopen(e) {
|
|
2394
|
+
this.handlers.socketConnected();
|
|
2395
|
+
this._disconnectionReason = 'handshake-failed';
|
|
2396
|
+
|
|
2397
|
+
// start handshake
|
|
2398
|
+
var hello = {
|
|
2399
|
+
command: 'hello',
|
|
2400
|
+
protocols: [PROTOCOL_6, PROTOCOL_7]
|
|
2401
|
+
};
|
|
2402
|
+
hello.ver = VERSION;
|
|
2403
|
+
if (this.options.ext) {
|
|
2404
|
+
hello.ext = this.options.ext;
|
|
2405
|
+
}
|
|
2406
|
+
if (this.options.extver) {
|
|
2407
|
+
hello.extver = this.options.extver;
|
|
2408
|
+
}
|
|
2409
|
+
if (this.options.snipver) {
|
|
2410
|
+
hello.snipver = this.options.snipver;
|
|
2411
|
+
}
|
|
2412
|
+
this._sendCommand(hello);
|
|
2413
|
+
return this._handshakeTimeout.start(this.options.handshake_timeout);
|
|
2414
|
+
}
|
|
2415
|
+
}, {
|
|
2416
|
+
key: "_onclose",
|
|
2417
|
+
value: function _onclose(e) {
|
|
2418
|
+
this.protocol = 0;
|
|
2419
|
+
this.handlers.disconnected(this._disconnectionReason, this._nextDelay);
|
|
2420
|
+
return this._scheduleReconnection();
|
|
2421
|
+
}
|
|
2422
|
+
}, {
|
|
2423
|
+
key: "_onerror",
|
|
2424
|
+
value: function _onerror(e) {}
|
|
2425
|
+
}, {
|
|
2426
|
+
key: "_onmessage",
|
|
2427
|
+
value: function _onmessage(e) {
|
|
2428
|
+
return this.protocolParser.process(e.data);
|
|
2429
|
+
}
|
|
2430
|
+
}]);
|
|
2431
|
+
return Connector;
|
|
2432
|
+
}();
|
|
2433
|
+
;
|
|
2434
|
+
exports.Connector = Connector;
|
|
2435
|
+
|
|
2436
|
+
},{"./protocol":108,"core-js/modules/es6.array.iterator.js":85,"core-js/modules/es6.number.constructor.js":88,"core-js/modules/es6.object.to-string.js":91,"core-js/modules/es6.string.iterator.js":98,"core-js/modules/es6.symbol.js":99,"core-js/modules/web.dom.iterable.js":102}],104:[function(require,module,exports){
|
|
2437
|
+
"use strict";
|
|
2438
|
+
|
|
2439
|
+
var CustomEvents = {
|
|
2440
|
+
bind: function bind(element, eventName, handler) {
|
|
2441
|
+
if (element.addEventListener) {
|
|
2442
|
+
return element.addEventListener(eventName, handler, false);
|
|
2443
|
+
}
|
|
2444
|
+
if (element.attachEvent) {
|
|
2445
|
+
element[eventName] = 1;
|
|
2446
|
+
return element.attachEvent('onpropertychange', function (event) {
|
|
2447
|
+
if (event.propertyName === eventName) {
|
|
2448
|
+
return handler();
|
|
2449
|
+
}
|
|
2450
|
+
});
|
|
2451
|
+
}
|
|
2452
|
+
throw new Error("Attempt to attach custom event ".concat(eventName, " to something which isn't a DOMElement"));
|
|
2453
|
+
},
|
|
2454
|
+
fire: function fire(element, eventName) {
|
|
2455
|
+
if (element.addEventListener) {
|
|
2456
|
+
var event = document.createEvent('HTMLEvents');
|
|
2457
|
+
event.initEvent(eventName, true, true);
|
|
2458
|
+
return document.dispatchEvent(event);
|
|
2459
|
+
} else if (element.attachEvent) {
|
|
2460
|
+
if (element[eventName]) {
|
|
2461
|
+
return element[eventName]++;
|
|
2462
|
+
}
|
|
2463
|
+
} else {
|
|
2464
|
+
throw new Error("Attempt to fire custom event ".concat(eventName, " on something which isn't a DOMElement"));
|
|
2465
|
+
}
|
|
2466
|
+
}
|
|
2467
|
+
};
|
|
2468
|
+
exports.bind = CustomEvents.bind;
|
|
2469
|
+
exports.fire = CustomEvents.fire;
|
|
2470
|
+
|
|
2471
|
+
},{}],105:[function(require,module,exports){
|
|
2472
|
+
"use strict";
|
|
2473
|
+
|
|
2474
|
+
require("core-js/modules/es6.regexp.match.js");
|
|
2475
|
+
require("core-js/modules/es6.symbol.js");
|
|
2476
|
+
require("core-js/modules/es6.array.from.js");
|
|
2477
|
+
require("core-js/modules/es6.string.iterator.js");
|
|
2478
|
+
require("core-js/modules/es6.object.to-string.js");
|
|
2479
|
+
require("core-js/modules/es6.array.iterator.js");
|
|
2480
|
+
require("core-js/modules/web.dom.iterable.js");
|
|
2481
|
+
require("core-js/modules/es6.number.constructor.js");
|
|
2482
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2483
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
2484
|
+
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); } }
|
|
2485
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
2486
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
2487
|
+
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); }
|
|
2488
|
+
var LessPlugin = /*#__PURE__*/function () {
|
|
2489
|
+
function LessPlugin(window, host) {
|
|
2490
|
+
_classCallCheck(this, LessPlugin);
|
|
2491
|
+
this.window = window;
|
|
2492
|
+
this.host = host;
|
|
2493
|
+
}
|
|
2494
|
+
_createClass(LessPlugin, [{
|
|
2495
|
+
key: "reload",
|
|
2496
|
+
value: function reload(path, options) {
|
|
2497
|
+
if (this.window.less && this.window.less.refresh) {
|
|
2498
|
+
if (path.match(/\.less$/i)) {
|
|
2499
|
+
return this.reloadLess(path);
|
|
2500
|
+
}
|
|
2501
|
+
if (options.originalPath.match(/\.less$/i)) {
|
|
2502
|
+
return this.reloadLess(options.originalPath);
|
|
2503
|
+
}
|
|
2504
|
+
}
|
|
2505
|
+
return false;
|
|
2506
|
+
}
|
|
2507
|
+
}, {
|
|
2508
|
+
key: "reloadLess",
|
|
2509
|
+
value: function reloadLess(path) {
|
|
2510
|
+
var link;
|
|
2511
|
+
var links = function () {
|
|
2512
|
+
var result = [];
|
|
2513
|
+
for (var _i = 0, _Array$from = Array.from(document.getElementsByTagName('link')); _i < _Array$from.length; _i++) {
|
|
2514
|
+
link = _Array$from[_i];
|
|
2515
|
+
if (link.href && link.rel.match(/^stylesheet\/less$/i) || link.rel.match(/stylesheet/i) && link.type.match(/^text\/(x-)?less$/i)) {
|
|
2516
|
+
result.push(link);
|
|
2517
|
+
}
|
|
2518
|
+
}
|
|
2519
|
+
return result;
|
|
2520
|
+
}();
|
|
2521
|
+
if (links.length === 0) {
|
|
2522
|
+
return false;
|
|
2523
|
+
}
|
|
2524
|
+
for (var _i2 = 0, _Array$from2 = Array.from(links); _i2 < _Array$from2.length; _i2++) {
|
|
2525
|
+
link = _Array$from2[_i2];
|
|
2526
|
+
link.href = this.host.generateCacheBustUrl(link.href);
|
|
2527
|
+
}
|
|
2528
|
+
this.host.console.log('LiveReload is asking LESS to recompile all stylesheets');
|
|
2529
|
+
this.window.less.refresh(true);
|
|
2530
|
+
return true;
|
|
2531
|
+
}
|
|
2532
|
+
}, {
|
|
2533
|
+
key: "analyze",
|
|
2534
|
+
value: function analyze() {
|
|
2535
|
+
return {
|
|
2536
|
+
disable: !!(this.window.less && this.window.less.refresh)
|
|
2537
|
+
};
|
|
2538
|
+
}
|
|
2539
|
+
}]);
|
|
2540
|
+
return LessPlugin;
|
|
2541
|
+
}();
|
|
2542
|
+
;
|
|
2543
|
+
LessPlugin.identifier = 'less';
|
|
2544
|
+
LessPlugin.version = '1.0';
|
|
2545
|
+
module.exports = LessPlugin;
|
|
2546
|
+
|
|
2547
|
+
},{"core-js/modules/es6.array.from.js":84,"core-js/modules/es6.array.iterator.js":85,"core-js/modules/es6.number.constructor.js":88,"core-js/modules/es6.object.to-string.js":91,"core-js/modules/es6.regexp.match.js":94,"core-js/modules/es6.string.iterator.js":98,"core-js/modules/es6.symbol.js":99,"core-js/modules/web.dom.iterable.js":102}],106:[function(require,module,exports){
|
|
2548
|
+
"use strict";
|
|
2549
|
+
|
|
2550
|
+
require("core-js/modules/es6.symbol.js");
|
|
2551
|
+
require("core-js/modules/es6.number.constructor.js");
|
|
2552
|
+
require("core-js/modules/es6.array.slice.js");
|
|
2553
|
+
require("core-js/modules/es6.object.to-string.js");
|
|
2554
|
+
require("core-js/modules/es6.array.from.js");
|
|
2555
|
+
require("core-js/modules/es6.string.iterator.js");
|
|
2556
|
+
require("core-js/modules/es6.array.iterator.js");
|
|
2557
|
+
require("core-js/modules/web.dom.iterable.js");
|
|
2558
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2559
|
+
require("core-js/modules/es6.regexp.match.js");
|
|
2560
|
+
require("core-js/modules/es6.object.keys.js");
|
|
2561
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
2562
|
+
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); }
|
|
2563
|
+
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; }
|
|
2564
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
2565
|
+
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); } }
|
|
2566
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
2567
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
2568
|
+
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); }
|
|
2569
|
+
/* global alert */
|
|
2570
|
+
var _require = require('./connector'),
|
|
2571
|
+
Connector = _require.Connector;
|
|
2572
|
+
var _require2 = require('./timer'),
|
|
2573
|
+
Timer = _require2.Timer;
|
|
2574
|
+
var _require3 = require('./options'),
|
|
2575
|
+
Options = _require3.Options;
|
|
2576
|
+
var _require4 = require('./reloader'),
|
|
2577
|
+
Reloader = _require4.Reloader;
|
|
2578
|
+
var _require5 = require('./protocol'),
|
|
2579
|
+
ProtocolError = _require5.ProtocolError;
|
|
2580
|
+
var LiveReload = /*#__PURE__*/function () {
|
|
2581
|
+
function LiveReload(window) {
|
|
2582
|
+
var _this = this;
|
|
2583
|
+
_classCallCheck(this, LiveReload);
|
|
2584
|
+
this.window = window;
|
|
2585
|
+
this.listeners = {};
|
|
2586
|
+
this.plugins = [];
|
|
2587
|
+
this.pluginIdentifiers = {};
|
|
2588
|
+
|
|
2589
|
+
// i can haz console?
|
|
2590
|
+
this.console = this.window.console && this.window.console.log && this.window.console.error ? this.window.location.href.match(/LR-verbose/) ? this.window.console : {
|
|
2591
|
+
log: function log() {},
|
|
2592
|
+
error: this.window.console.error.bind(this.window.console)
|
|
2593
|
+
} : {
|
|
2594
|
+
log: function log() {},
|
|
2595
|
+
error: function error() {}
|
|
2596
|
+
};
|
|
2597
|
+
|
|
2598
|
+
// i can haz sockets?
|
|
2599
|
+
if (!(this.WebSocket = this.window.WebSocket || this.window.MozWebSocket)) {
|
|
2600
|
+
this.console.error('LiveReload disabled because the browser does not seem to support web sockets');
|
|
2601
|
+
return;
|
|
2602
|
+
}
|
|
2603
|
+
|
|
2604
|
+
// i can haz options?
|
|
2605
|
+
if ('LiveReloadOptions' in window) {
|
|
2606
|
+
this.options = new Options();
|
|
2607
|
+
for (var _i = 0, _Object$keys = Object.keys(window.LiveReloadOptions || {}); _i < _Object$keys.length; _i++) {
|
|
2608
|
+
var k = _Object$keys[_i];
|
|
2609
|
+
var v = window.LiveReloadOptions[k];
|
|
2610
|
+
this.options.set(k, v);
|
|
2611
|
+
}
|
|
2612
|
+
} else {
|
|
2613
|
+
this.options = Options.extract(this.window.document);
|
|
2614
|
+
if (!this.options) {
|
|
2615
|
+
this.console.error('LiveReload disabled because it could not find its own <SCRIPT> tag');
|
|
2616
|
+
return;
|
|
2617
|
+
}
|
|
2618
|
+
}
|
|
2619
|
+
|
|
2620
|
+
// i can haz reloader?
|
|
2621
|
+
this.reloader = new Reloader(this.window, this.console, Timer);
|
|
2622
|
+
|
|
2623
|
+
// i can haz connection?
|
|
2624
|
+
this.connector = new Connector(this.options, this.WebSocket, Timer, {
|
|
2625
|
+
connecting: function connecting() {},
|
|
2626
|
+
socketConnected: function socketConnected() {},
|
|
2627
|
+
connected: function connected(protocol) {
|
|
2628
|
+
if (typeof _this.listeners.connect === 'function') {
|
|
2629
|
+
_this.listeners.connect();
|
|
2630
|
+
}
|
|
2631
|
+
var host = _this.options.host;
|
|
2632
|
+
var port = _this.options.port ? ":".concat(_this.options.port) : '';
|
|
2633
|
+
_this.log("LiveReload is connected to ".concat(host).concat(port, " (protocol v").concat(protocol, ")."));
|
|
2634
|
+
return _this.analyze();
|
|
2635
|
+
},
|
|
2636
|
+
error: function error(e) {
|
|
2637
|
+
if (e instanceof ProtocolError) {
|
|
2638
|
+
if (typeof console !== 'undefined' && console !== null) {
|
|
2639
|
+
return console.log("".concat(e.message, "."));
|
|
2640
|
+
}
|
|
2641
|
+
} else {
|
|
2642
|
+
if (typeof console !== 'undefined' && console !== null) {
|
|
2643
|
+
return console.log("LiveReload internal error: ".concat(e.message));
|
|
2644
|
+
}
|
|
2645
|
+
}
|
|
2646
|
+
},
|
|
2647
|
+
disconnected: function disconnected(reason, nextDelay) {
|
|
2648
|
+
if (typeof _this.listeners.disconnect === 'function') {
|
|
2649
|
+
_this.listeners.disconnect();
|
|
2650
|
+
}
|
|
2651
|
+
var host = _this.options.host;
|
|
2652
|
+
var port = _this.options.port ? ":".concat(_this.options.port) : '';
|
|
2653
|
+
switch (reason) {
|
|
2654
|
+
case 'cannot-connect':
|
|
2655
|
+
return _this.log("LiveReload cannot connect to ".concat(host).concat(port, ", will retry in ").concat(nextDelay, " sec."));
|
|
2656
|
+
case 'broken':
|
|
2657
|
+
return _this.log("LiveReload disconnected from ".concat(host).concat(port, ", reconnecting in ").concat(nextDelay, " sec."));
|
|
2658
|
+
case 'handshake-timeout':
|
|
2659
|
+
return _this.log("LiveReload cannot connect to ".concat(host).concat(port, " (handshake timeout), will retry in ").concat(nextDelay, " sec."));
|
|
2660
|
+
case 'handshake-failed':
|
|
2661
|
+
return _this.log("LiveReload cannot connect to ".concat(host).concat(port, " (handshake failed), will retry in ").concat(nextDelay, " sec."));
|
|
2662
|
+
case 'manual': // nop
|
|
2663
|
+
case 'error': // nop
|
|
2664
|
+
default:
|
|
2665
|
+
return _this.log("LiveReload disconnected from ".concat(host).concat(port, " (").concat(reason, "), reconnecting in ").concat(nextDelay, " sec."));
|
|
2666
|
+
}
|
|
2667
|
+
},
|
|
2668
|
+
message: function message(_message) {
|
|
2669
|
+
switch (_message.command) {
|
|
2670
|
+
case 'reload':
|
|
2671
|
+
return _this.performReload(_message);
|
|
2672
|
+
case 'alert':
|
|
2673
|
+
return _this.performAlert(_message);
|
|
2674
|
+
}
|
|
2675
|
+
}
|
|
2676
|
+
});
|
|
2677
|
+
this.initialized = true;
|
|
2678
|
+
}
|
|
2679
|
+
_createClass(LiveReload, [{
|
|
2680
|
+
key: "on",
|
|
2681
|
+
value: function on(eventName, handler) {
|
|
2682
|
+
this.listeners[eventName] = handler;
|
|
2683
|
+
}
|
|
2684
|
+
}, {
|
|
2685
|
+
key: "log",
|
|
2686
|
+
value: function log(message) {
|
|
2687
|
+
return this.console.log("".concat(message));
|
|
2688
|
+
}
|
|
2689
|
+
}, {
|
|
2690
|
+
key: "performReload",
|
|
2691
|
+
value: function performReload(message) {
|
|
2692
|
+
this.log("LiveReload received reload request: ".concat(JSON.stringify(message, null, 2)));
|
|
2693
|
+
var _this$options = this.options,
|
|
2694
|
+
host = _this$options.host,
|
|
2695
|
+
port = _this$options.port,
|
|
2696
|
+
pluginOrder = _this$options.pluginOrder;
|
|
2697
|
+
return this.reloader.reload(message.path, {
|
|
2698
|
+
liveCSS: message.liveCSS != null ? message.liveCSS : true,
|
|
2699
|
+
liveImg: message.liveImg != null ? message.liveImg : true,
|
|
2700
|
+
reloadMissingCSS: message.reloadMissingCSS != null ? message.reloadMissingCSS : true,
|
|
2701
|
+
originalPath: message.originalPath || '',
|
|
2702
|
+
overrideURL: message.overrideURL || '',
|
|
2703
|
+
serverURL: "http://".concat(host).concat(port && ":".concat(port)),
|
|
2704
|
+
pluginOrder: pluginOrder
|
|
2705
|
+
});
|
|
2706
|
+
}
|
|
2707
|
+
}, {
|
|
2708
|
+
key: "performAlert",
|
|
2709
|
+
value: function performAlert(message) {
|
|
2710
|
+
return alert(message.message);
|
|
2711
|
+
}
|
|
2712
|
+
}, {
|
|
2713
|
+
key: "shutDown",
|
|
2714
|
+
value: function shutDown() {
|
|
2715
|
+
if (!this.initialized) {
|
|
2716
|
+
return;
|
|
2717
|
+
}
|
|
2718
|
+
this.connector.disconnect();
|
|
2719
|
+
this.log('LiveReload disconnected.');
|
|
2720
|
+
return typeof this.listeners.shutdown === 'function' ? this.listeners.shutdown() : undefined;
|
|
2721
|
+
}
|
|
2722
|
+
}, {
|
|
2723
|
+
key: "hasPlugin",
|
|
2724
|
+
value: function hasPlugin(identifier) {
|
|
2725
|
+
return !!this.pluginIdentifiers[identifier];
|
|
2726
|
+
}
|
|
2727
|
+
}, {
|
|
2728
|
+
key: "addPlugin",
|
|
2729
|
+
value: function addPlugin(PluginClass) {
|
|
2730
|
+
var _this2 = this;
|
|
2731
|
+
if (!this.initialized) {
|
|
2732
|
+
return;
|
|
2733
|
+
}
|
|
2734
|
+
if (this.hasPlugin(PluginClass.identifier)) {
|
|
2735
|
+
return;
|
|
2736
|
+
}
|
|
2737
|
+
this.pluginIdentifiers[PluginClass.identifier] = true;
|
|
2738
|
+
var plugin = new PluginClass(this.window, {
|
|
2739
|
+
// expose internal objects for those who know what they're doing
|
|
2740
|
+
// (note that these are private APIs and subject to change at any time!)
|
|
2741
|
+
_livereload: this,
|
|
2742
|
+
_reloader: this.reloader,
|
|
2743
|
+
_connector: this.connector,
|
|
2744
|
+
// official API
|
|
2745
|
+
console: this.console,
|
|
2746
|
+
Timer: Timer,
|
|
2747
|
+
generateCacheBustUrl: function generateCacheBustUrl(url) {
|
|
2748
|
+
return _this2.reloader.generateCacheBustUrl(url);
|
|
2749
|
+
}
|
|
2750
|
+
});
|
|
2751
|
+
|
|
2752
|
+
// API that PluginClass can/must provide:
|
|
2753
|
+
//
|
|
2754
|
+
// string PluginClass.identifier
|
|
2755
|
+
// -- required, globally-unique name of this plugin
|
|
2756
|
+
//
|
|
2757
|
+
// string PluginClass.version
|
|
2758
|
+
// -- required, plugin version number (format %d.%d or %d.%d.%d)
|
|
2759
|
+
//
|
|
2760
|
+
// plugin = new PluginClass(window, officialLiveReloadAPI)
|
|
2761
|
+
// -- required, plugin constructor
|
|
2762
|
+
//
|
|
2763
|
+
// bool plugin.reload(string path, { bool liveCSS, bool liveImg })
|
|
2764
|
+
// -- optional, attemp to reload the given path, return true if handled
|
|
2765
|
+
//
|
|
2766
|
+
// object plugin.analyze()
|
|
2767
|
+
// -- optional, returns plugin-specific information about the current document (to send to the connected server)
|
|
2768
|
+
// (LiveReload 2 server currently only defines 'disable' key in this object; return {disable:true} to disable server-side
|
|
2769
|
+
// compilation of a matching plugin's files)
|
|
2770
|
+
|
|
2771
|
+
this.plugins.push(plugin);
|
|
2772
|
+
this.reloader.addPlugin(plugin);
|
|
2773
|
+
}
|
|
2774
|
+
}, {
|
|
2775
|
+
key: "analyze",
|
|
2776
|
+
value: function analyze() {
|
|
2777
|
+
if (!this.initialized) {
|
|
2778
|
+
return;
|
|
2779
|
+
}
|
|
2780
|
+
if (!(this.connector.protocol >= 7)) {
|
|
2781
|
+
return;
|
|
2782
|
+
}
|
|
2783
|
+
var pluginsData = {};
|
|
2784
|
+
var _iterator = _createForOfIteratorHelper(this.plugins),
|
|
2785
|
+
_step;
|
|
2786
|
+
try {
|
|
2787
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
2788
|
+
var plugin = _step.value;
|
|
2789
|
+
var pluginData = (typeof plugin.analyze === 'function' ? plugin.analyze() : undefined) || {};
|
|
2790
|
+
pluginsData[plugin.constructor.identifier] = pluginData;
|
|
2791
|
+
pluginData.version = plugin.constructor.version;
|
|
2792
|
+
}
|
|
2793
|
+
} catch (err) {
|
|
2794
|
+
_iterator.e(err);
|
|
2795
|
+
} finally {
|
|
2796
|
+
_iterator.f();
|
|
2797
|
+
}
|
|
2798
|
+
this.connector.sendCommand({
|
|
2799
|
+
command: 'info',
|
|
2800
|
+
plugins: pluginsData,
|
|
2801
|
+
url: this.window.location.href
|
|
2802
|
+
});
|
|
2803
|
+
}
|
|
2804
|
+
}]);
|
|
2805
|
+
return LiveReload;
|
|
2806
|
+
}();
|
|
2807
|
+
;
|
|
2808
|
+
exports.LiveReload = LiveReload;
|
|
2809
|
+
|
|
2810
|
+
},{"./connector":103,"./options":107,"./protocol":108,"./reloader":109,"./timer":111,"core-js/modules/es6.array.from.js":84,"core-js/modules/es6.array.iterator.js":85,"core-js/modules/es6.array.slice.js":87,"core-js/modules/es6.number.constructor.js":88,"core-js/modules/es6.object.keys.js":90,"core-js/modules/es6.object.to-string.js":91,"core-js/modules/es6.regexp.match.js":94,"core-js/modules/es6.string.iterator.js":98,"core-js/modules/es6.symbol.js":99,"core-js/modules/web.dom.iterable.js":102}],107:[function(require,module,exports){
|
|
2811
|
+
"use strict";
|
|
2812
|
+
|
|
2813
|
+
require("core-js/modules/es6.regexp.split.js");
|
|
2814
|
+
require("core-js/modules/es6.symbol.js");
|
|
2815
|
+
require("core-js/modules/es6.number.constructor.js");
|
|
2816
|
+
require("core-js/modules/es6.array.from.js");
|
|
2817
|
+
require("core-js/modules/es6.string.iterator.js");
|
|
2818
|
+
require("core-js/modules/es6.object.to-string.js");
|
|
2819
|
+
require("core-js/modules/es6.array.iterator.js");
|
|
2820
|
+
require("core-js/modules/web.dom.iterable.js");
|
|
2821
|
+
require("core-js/modules/es6.regexp.match.js");
|
|
2822
|
+
require("core-js/modules/es6.regexp.replace.js");
|
|
2823
|
+
require("core-js/modules/es6.array.slice.js");
|
|
2824
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
2825
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
2826
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
2827
|
+
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); }
|
|
2828
|
+
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; }
|
|
2829
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
2830
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
2831
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2832
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
2833
|
+
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); } }
|
|
2834
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
2835
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
2836
|
+
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); }
|
|
2837
|
+
var Options = /*#__PURE__*/function () {
|
|
2838
|
+
function Options() {
|
|
2839
|
+
_classCallCheck(this, Options);
|
|
2840
|
+
this.https = false;
|
|
2841
|
+
this.host = null;
|
|
2842
|
+
var port = 35729; // backing variable for port property closure
|
|
2843
|
+
|
|
2844
|
+
// we allow port to be overridden with a falsy value to indicate
|
|
2845
|
+
// that we should not add a port specification to the backend url;
|
|
2846
|
+
// port is now either a number, or a non-numeric string
|
|
2847
|
+
Object.defineProperty(this, 'port', {
|
|
2848
|
+
get: function get() {
|
|
2849
|
+
return port;
|
|
2850
|
+
},
|
|
2851
|
+
set: function set(v) {
|
|
2852
|
+
port = v ? isNaN(v) ? v : +v : '';
|
|
2853
|
+
}
|
|
2854
|
+
});
|
|
2855
|
+
this.snipver = null;
|
|
2856
|
+
this.ext = null;
|
|
2857
|
+
this.extver = null;
|
|
2858
|
+
this.mindelay = 1000;
|
|
2859
|
+
this.maxdelay = 60000;
|
|
2860
|
+
this.handshake_timeout = 5000;
|
|
2861
|
+
var pluginOrder = [];
|
|
2862
|
+
Object.defineProperty(this, 'pluginOrder', {
|
|
2863
|
+
get: function get() {
|
|
2864
|
+
return pluginOrder;
|
|
2865
|
+
},
|
|
2866
|
+
set: function set(v) {
|
|
2867
|
+
pluginOrder.push.apply(pluginOrder, v.split(/[,;]/));
|
|
2868
|
+
}
|
|
2869
|
+
});
|
|
2870
|
+
}
|
|
2871
|
+
_createClass(Options, [{
|
|
2872
|
+
key: "set",
|
|
2873
|
+
value: function set(name, value) {
|
|
2874
|
+
if (typeof value === 'undefined') {
|
|
2875
|
+
return;
|
|
2876
|
+
}
|
|
2877
|
+
if (!isNaN(+value)) {
|
|
2878
|
+
value = +value;
|
|
2879
|
+
}
|
|
2880
|
+
this[name] = value;
|
|
2881
|
+
}
|
|
2882
|
+
}]);
|
|
2883
|
+
return Options;
|
|
2884
|
+
}();
|
|
2885
|
+
Options.extract = function (document) {
|
|
2886
|
+
for (var _i = 0, _Array$from = Array.from(document.getElementsByTagName('script')); _i < _Array$from.length; _i++) {
|
|
2887
|
+
var element = _Array$from[_i];
|
|
2888
|
+
// eslint-disable-next-line no-var
|
|
2889
|
+
var m;
|
|
2890
|
+
// eslint-disable-next-line no-var
|
|
2891
|
+
var mm;
|
|
2892
|
+
var src = element.src;
|
|
2893
|
+
var srcAttr = element.getAttribute('src');
|
|
2894
|
+
var lrUrlRegexp = /^([^:]+:\/\/([^/:]+|\[[0-9a-f:]+\])(?::(\d+))?\/|\/\/|\/)?([^/].*\/)?z?livereload\.js(?:\?(.*))?$/;
|
|
2895
|
+
// ^proto:// ^host ^port ^// ^/ ^folder
|
|
2896
|
+
var lrUrlRegexpAttr = /^(?:(?:([^:/]+)?:?)\/{0,2})([^:]+|\[[0-9a-f:]+\])(?::(\d+))?/;
|
|
2897
|
+
// ^proto ^host/folder ^port
|
|
2898
|
+
|
|
2899
|
+
if ((m = src.match(lrUrlRegexp)) && (mm = srcAttr.match(lrUrlRegexpAttr))) {
|
|
2900
|
+
var _m = m,
|
|
2901
|
+
_m2 = _slicedToArray(_m, 6),
|
|
2902
|
+
host = _m2[2],
|
|
2903
|
+
port = _m2[3],
|
|
2904
|
+
params = _m2[5];
|
|
2905
|
+
var _mm = mm,
|
|
2906
|
+
_mm2 = _slicedToArray(_mm, 4),
|
|
2907
|
+
portFromAttr = _mm2[3];
|
|
2908
|
+
var options = new Options();
|
|
2909
|
+
options.https = element.src.indexOf('https') === 0;
|
|
2910
|
+
options.host = host;
|
|
2911
|
+
|
|
2912
|
+
// use port number that the script is loaded from as default
|
|
2913
|
+
// for explicitly blank value; enables livereload through proxy
|
|
2914
|
+
var ourPort = parseInt(port || portFromAttr, 10) || '';
|
|
2915
|
+
|
|
2916
|
+
// if port is specified in script use that as default instead
|
|
2917
|
+
options.port = ourPort || options.port;
|
|
2918
|
+
if (params) {
|
|
2919
|
+
var _iterator = _createForOfIteratorHelper(params.split('&')),
|
|
2920
|
+
_step;
|
|
2921
|
+
try {
|
|
2922
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
2923
|
+
var pair = _step.value;
|
|
2924
|
+
// eslint-disable-next-line no-var
|
|
2925
|
+
var keyAndValue;
|
|
2926
|
+
if ((keyAndValue = pair.split('=')).length > 1) {
|
|
2927
|
+
options.set(keyAndValue[0].replace(/-/g, '_'), keyAndValue.slice(1).join('='));
|
|
2928
|
+
}
|
|
2929
|
+
}
|
|
2930
|
+
} catch (err) {
|
|
2931
|
+
_iterator.e(err);
|
|
2932
|
+
} finally {
|
|
2933
|
+
_iterator.f();
|
|
2934
|
+
}
|
|
2935
|
+
}
|
|
2936
|
+
|
|
2937
|
+
// if port was overwritten by empty value, then revert to using the same
|
|
2938
|
+
// port as the script is running from again (note that it shouldn't be
|
|
2939
|
+
// coerced to a numeric value, since that will be 0 for the empty string)
|
|
2940
|
+
options.port = options.port || ourPort;
|
|
2941
|
+
return options;
|
|
2942
|
+
}
|
|
2943
|
+
}
|
|
2944
|
+
return null;
|
|
2945
|
+
};
|
|
2946
|
+
exports.Options = Options;
|
|
2947
|
+
|
|
2948
|
+
},{"core-js/modules/es6.array.from.js":84,"core-js/modules/es6.array.iterator.js":85,"core-js/modules/es6.array.slice.js":87,"core-js/modules/es6.number.constructor.js":88,"core-js/modules/es6.object.to-string.js":91,"core-js/modules/es6.regexp.match.js":94,"core-js/modules/es6.regexp.replace.js":95,"core-js/modules/es6.regexp.split.js":96,"core-js/modules/es6.string.iterator.js":98,"core-js/modules/es6.symbol.js":99,"core-js/modules/web.dom.iterable.js":102}],108:[function(require,module,exports){
|
|
2949
|
+
"use strict";
|
|
2950
|
+
|
|
2951
|
+
require("core-js/modules/es6.number.constructor.js");
|
|
2952
|
+
require("core-js/modules/es6.array.slice.js");
|
|
2953
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2954
|
+
require("core-js/modules/es6.regexp.match.js");
|
|
2955
|
+
require("core-js/modules/es6.regexp.constructor.js");
|
|
2956
|
+
require("core-js/modules/es6.string.includes.js");
|
|
2957
|
+
require("core-js/modules/es7.array.includes.js");
|
|
2958
|
+
require("core-js/modules/es6.symbol.js");
|
|
2959
|
+
require("core-js/modules/es6.array.from.js");
|
|
2960
|
+
require("core-js/modules/es6.string.iterator.js");
|
|
2961
|
+
require("core-js/modules/es6.object.to-string.js");
|
|
2962
|
+
require("core-js/modules/es6.array.iterator.js");
|
|
2963
|
+
require("core-js/modules/web.dom.iterable.js");
|
|
2964
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
2965
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
2966
|
+
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); }
|
|
2967
|
+
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; }
|
|
2968
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
2969
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
2970
|
+
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); } }
|
|
2971
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
2972
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
2973
|
+
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); }
|
|
2974
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
2975
|
+
var PROTOCOL_6, PROTOCOL_7;
|
|
2976
|
+
exports.PROTOCOL_6 = PROTOCOL_6 = 'http://livereload.com/protocols/official-6';
|
|
2977
|
+
exports.PROTOCOL_7 = PROTOCOL_7 = 'http://livereload.com/protocols/official-7';
|
|
2978
|
+
var ProtocolError = /*#__PURE__*/_createClass(function ProtocolError(reason, data) {
|
|
2979
|
+
_classCallCheck(this, ProtocolError);
|
|
2980
|
+
this.message = "LiveReload protocol error (".concat(reason, ") after receiving data: \"").concat(data, "\".");
|
|
2981
|
+
});
|
|
2982
|
+
;
|
|
2983
|
+
var Parser = /*#__PURE__*/function () {
|
|
2984
|
+
function Parser(handlers) {
|
|
2985
|
+
_classCallCheck(this, Parser);
|
|
2986
|
+
this.handlers = handlers;
|
|
2987
|
+
this.reset();
|
|
2988
|
+
}
|
|
2989
|
+
_createClass(Parser, [{
|
|
2990
|
+
key: "reset",
|
|
2991
|
+
value: function reset() {
|
|
2992
|
+
this.protocol = null;
|
|
2993
|
+
}
|
|
2994
|
+
}, {
|
|
2995
|
+
key: "process",
|
|
2996
|
+
value: function process(data) {
|
|
2997
|
+
try {
|
|
2998
|
+
var message;
|
|
2999
|
+
if (!this.protocol) {
|
|
3000
|
+
// eslint-disable-next-line prefer-regex-literals
|
|
3001
|
+
if (data.match(new RegExp('^!!ver:([\\d.]+)$'))) {
|
|
3002
|
+
this.protocol = 6;
|
|
3003
|
+
} else if (message = this._parseMessage(data, ['hello'])) {
|
|
3004
|
+
if (!message.protocols.length) {
|
|
3005
|
+
throw new ProtocolError('no protocols specified in handshake message');
|
|
3006
|
+
} else if (Array.from(message.protocols).includes(PROTOCOL_7)) {
|
|
3007
|
+
this.protocol = 7;
|
|
3008
|
+
} else if (Array.from(message.protocols).includes(PROTOCOL_6)) {
|
|
3009
|
+
this.protocol = 6;
|
|
3010
|
+
} else {
|
|
3011
|
+
throw new ProtocolError('no supported protocols found');
|
|
3012
|
+
}
|
|
3013
|
+
}
|
|
3014
|
+
return this.handlers.connected(this.protocol);
|
|
3015
|
+
}
|
|
3016
|
+
if (this.protocol === 6) {
|
|
3017
|
+
message = JSON.parse(data);
|
|
3018
|
+
if (!message.length) {
|
|
3019
|
+
throw new ProtocolError('protocol 6 messages must be arrays');
|
|
3020
|
+
}
|
|
3021
|
+
var _Array$from = Array.from(message),
|
|
3022
|
+
_Array$from2 = _slicedToArray(_Array$from, 2),
|
|
3023
|
+
command = _Array$from2[0],
|
|
3024
|
+
options = _Array$from2[1];
|
|
3025
|
+
if (command !== 'refresh') {
|
|
3026
|
+
throw new ProtocolError('unknown protocol 6 command');
|
|
3027
|
+
}
|
|
3028
|
+
return this.handlers.message({
|
|
3029
|
+
command: 'reload',
|
|
3030
|
+
path: options.path,
|
|
3031
|
+
liveCSS: options.apply_css_live != null ? options.apply_css_live : true
|
|
3032
|
+
});
|
|
3033
|
+
}
|
|
3034
|
+
message = this._parseMessage(data, ['reload', 'alert']);
|
|
3035
|
+
return this.handlers.message(message);
|
|
3036
|
+
} catch (e) {
|
|
3037
|
+
if (e instanceof ProtocolError) {
|
|
3038
|
+
return this.handlers.error(e);
|
|
3039
|
+
}
|
|
3040
|
+
throw e;
|
|
3041
|
+
}
|
|
3042
|
+
}
|
|
3043
|
+
}, {
|
|
3044
|
+
key: "_parseMessage",
|
|
3045
|
+
value: function _parseMessage(data, validCommands) {
|
|
3046
|
+
var message;
|
|
3047
|
+
try {
|
|
3048
|
+
message = JSON.parse(data);
|
|
3049
|
+
} catch (e) {
|
|
3050
|
+
throw new ProtocolError('unparsable JSON', data);
|
|
3051
|
+
}
|
|
3052
|
+
if (!message.command) {
|
|
3053
|
+
throw new ProtocolError('missing "command" key', data);
|
|
3054
|
+
}
|
|
3055
|
+
if (!validCommands.includes(message.command)) {
|
|
3056
|
+
throw new ProtocolError("invalid command '".concat(message.command, "', only valid commands are: ").concat(validCommands.join(', '), ")"), data);
|
|
3057
|
+
}
|
|
3058
|
+
return message;
|
|
3059
|
+
}
|
|
3060
|
+
}]);
|
|
3061
|
+
return Parser;
|
|
3062
|
+
}();
|
|
3063
|
+
;
|
|
3064
|
+
exports.ProtocolError = ProtocolError;
|
|
3065
|
+
exports.Parser = Parser;
|
|
3066
|
+
|
|
3067
|
+
},{"core-js/modules/es6.array.from.js":84,"core-js/modules/es6.array.iterator.js":85,"core-js/modules/es6.array.slice.js":87,"core-js/modules/es6.number.constructor.js":88,"core-js/modules/es6.object.to-string.js":91,"core-js/modules/es6.regexp.constructor.js":92,"core-js/modules/es6.regexp.match.js":94,"core-js/modules/es6.string.includes.js":97,"core-js/modules/es6.string.iterator.js":98,"core-js/modules/es6.symbol.js":99,"core-js/modules/es7.array.includes.js":100,"core-js/modules/web.dom.iterable.js":102}],109:[function(require,module,exports){
|
|
3068
|
+
"use strict";
|
|
3069
|
+
|
|
3070
|
+
require("core-js/modules/es6.number.constructor.js");
|
|
3071
|
+
require("core-js/modules/es6.object.keys.js");
|
|
3072
|
+
require("core-js/modules/es6.object.get-own-property-descriptor.js");
|
|
3073
|
+
require("core-js/modules/es7.object.get-own-property-descriptors.js");
|
|
3074
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
3075
|
+
require("core-js/modules/es6.array.slice.js");
|
|
3076
|
+
require("core-js/modules/es6.regexp.replace.js");
|
|
3077
|
+
require("core-js/modules/es6.regexp.constructor.js");
|
|
3078
|
+
require("core-js/modules/es6.regexp.split.js");
|
|
3079
|
+
require("core-js/modules/es6.symbol.js");
|
|
3080
|
+
require("core-js/modules/es6.array.from.js");
|
|
3081
|
+
require("core-js/modules/es6.string.iterator.js");
|
|
3082
|
+
require("core-js/modules/es6.object.to-string.js");
|
|
3083
|
+
require("core-js/modules/es6.array.iterator.js");
|
|
3084
|
+
require("core-js/modules/web.dom.iterable.js");
|
|
3085
|
+
require("core-js/modules/es6.regexp.match.js");
|
|
3086
|
+
require("core-js/modules/es6.array.filter.js");
|
|
3087
|
+
require("core-js/modules/es6.array.map.js");
|
|
3088
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3089
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3090
|
+
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; }
|
|
3091
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
3092
|
+
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); } }
|
|
3093
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
3094
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
3095
|
+
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); }
|
|
3096
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
3097
|
+
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); }
|
|
3098
|
+
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; }
|
|
3099
|
+
/* global CSSRule */
|
|
3100
|
+
|
|
3101
|
+
/**
|
|
3102
|
+
* Split URL
|
|
3103
|
+
* @param {string} url
|
|
3104
|
+
* @return {object}
|
|
3105
|
+
*/
|
|
3106
|
+
function splitUrl(url) {
|
|
3107
|
+
var hash = '';
|
|
3108
|
+
var params = '';
|
|
3109
|
+
var index = url.indexOf('#');
|
|
3110
|
+
if (index >= 0) {
|
|
3111
|
+
hash = url.slice(index);
|
|
3112
|
+
url = url.slice(0, index);
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
// http://your.domain.com/path/to/combo/??file1.css,file2,css
|
|
3116
|
+
var comboSign = url.indexOf('??');
|
|
3117
|
+
if (comboSign >= 0) {
|
|
3118
|
+
if (comboSign + 1 !== url.lastIndexOf('?')) {
|
|
3119
|
+
index = url.lastIndexOf('?');
|
|
3120
|
+
}
|
|
3121
|
+
} else {
|
|
3122
|
+
index = url.indexOf('?');
|
|
3123
|
+
}
|
|
3124
|
+
if (index >= 0) {
|
|
3125
|
+
params = url.slice(index);
|
|
3126
|
+
url = url.slice(0, index);
|
|
3127
|
+
}
|
|
3128
|
+
return {
|
|
3129
|
+
url: url,
|
|
3130
|
+
params: params,
|
|
3131
|
+
hash: hash
|
|
3132
|
+
};
|
|
3133
|
+
}
|
|
3134
|
+
;
|
|
3135
|
+
|
|
3136
|
+
/**
|
|
3137
|
+
* Get path from URL (remove protocol, host, port)
|
|
3138
|
+
* @param {string} url
|
|
3139
|
+
* @return {string}
|
|
3140
|
+
*/
|
|
3141
|
+
function pathFromUrl(url) {
|
|
3142
|
+
if (!url) {
|
|
3143
|
+
return '';
|
|
3144
|
+
}
|
|
3145
|
+
var path;
|
|
3146
|
+
var _splitUrl = splitUrl(url);
|
|
3147
|
+
url = _splitUrl.url;
|
|
3148
|
+
if (url.indexOf('file://') === 0) {
|
|
3149
|
+
// eslint-disable-next-line prefer-regex-literals
|
|
3150
|
+
path = url.replace(new RegExp('^file://(localhost)?'), '');
|
|
3151
|
+
} else {
|
|
3152
|
+
// http : // hostname :8080 /
|
|
3153
|
+
// eslint-disable-next-line prefer-regex-literals
|
|
3154
|
+
path = url.replace(new RegExp('^([^:]+:)?//([^:/]+)(:\\d*)?/'), '/');
|
|
3155
|
+
}
|
|
3156
|
+
|
|
3157
|
+
// decodeURI has special handling of stuff like semicolons, so use decodeURIComponent
|
|
3158
|
+
return decodeURIComponent(path);
|
|
3159
|
+
}
|
|
3160
|
+
|
|
3161
|
+
/**
|
|
3162
|
+
* Get number of matching path segments
|
|
3163
|
+
* @param {string} left
|
|
3164
|
+
* @param {string} right
|
|
3165
|
+
* @return {int}
|
|
3166
|
+
*/
|
|
3167
|
+
function numberOfMatchingSegments(left, right) {
|
|
3168
|
+
// get rid of leading slashes and normalize to lower case
|
|
3169
|
+
left = left.replace(/^\/+/, '').toLowerCase();
|
|
3170
|
+
right = right.replace(/^\/+/, '').toLowerCase();
|
|
3171
|
+
if (left === right) {
|
|
3172
|
+
return 10000;
|
|
3173
|
+
}
|
|
3174
|
+
var comps1 = left.split(/\/|\\/).reverse();
|
|
3175
|
+
var comps2 = right.split(/\/|\\/).reverse();
|
|
3176
|
+
var len = Math.min(comps1.length, comps2.length);
|
|
3177
|
+
var eqCount = 0;
|
|
3178
|
+
while (eqCount < len && comps1[eqCount] === comps2[eqCount]) {
|
|
3179
|
+
++eqCount;
|
|
3180
|
+
}
|
|
3181
|
+
return eqCount;
|
|
3182
|
+
}
|
|
3183
|
+
|
|
3184
|
+
/**
|
|
3185
|
+
* Pick best matching path from a collection
|
|
3186
|
+
* @param {string} path Path to match
|
|
3187
|
+
* @param {array} objects Collection of paths
|
|
3188
|
+
* @param {function} [pathFunc] Transform applied to each item in collection
|
|
3189
|
+
* @return {object}
|
|
3190
|
+
*/
|
|
3191
|
+
function pickBestMatch(path, objects) {
|
|
3192
|
+
var pathFunc = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function (s) {
|
|
3193
|
+
return s;
|
|
3194
|
+
};
|
|
3195
|
+
var score;
|
|
3196
|
+
var bestMatch = {
|
|
3197
|
+
score: 0
|
|
3198
|
+
};
|
|
3199
|
+
var _iterator = _createForOfIteratorHelper(objects),
|
|
3200
|
+
_step;
|
|
3201
|
+
try {
|
|
3202
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3203
|
+
var object = _step.value;
|
|
3204
|
+
score = numberOfMatchingSegments(path, pathFunc(object));
|
|
3205
|
+
if (score > bestMatch.score) {
|
|
3206
|
+
bestMatch = {
|
|
3207
|
+
object: object,
|
|
3208
|
+
score: score
|
|
3209
|
+
};
|
|
3210
|
+
}
|
|
3211
|
+
}
|
|
3212
|
+
} catch (err) {
|
|
3213
|
+
_iterator.e(err);
|
|
3214
|
+
} finally {
|
|
3215
|
+
_iterator.f();
|
|
3216
|
+
}
|
|
3217
|
+
if (bestMatch.score === 0) {
|
|
3218
|
+
return null;
|
|
3219
|
+
}
|
|
3220
|
+
return bestMatch;
|
|
3221
|
+
}
|
|
3222
|
+
|
|
3223
|
+
/**
|
|
3224
|
+
* Test if paths match
|
|
3225
|
+
* @param {string} left
|
|
3226
|
+
* @param {string} right
|
|
3227
|
+
* @return {bool}
|
|
3228
|
+
*/
|
|
3229
|
+
function pathsMatch(left, right) {
|
|
3230
|
+
return numberOfMatchingSegments(left, right) > 0;
|
|
3231
|
+
}
|
|
3232
|
+
var IMAGE_STYLES = [{
|
|
3233
|
+
selector: 'background',
|
|
3234
|
+
styleNames: ['backgroundImage']
|
|
3235
|
+
}, {
|
|
3236
|
+
selector: 'border',
|
|
3237
|
+
styleNames: ['borderImage', 'webkitBorderImage', 'MozBorderImage']
|
|
3238
|
+
}];
|
|
3239
|
+
var DEFAULT_OPTIONS = {
|
|
3240
|
+
stylesheetReloadTimeout: 15000
|
|
3241
|
+
};
|
|
3242
|
+
var IMAGES_REGEX = /\.(jpe?g|png|gif|svg)$/i;
|
|
3243
|
+
var Reloader = /*#__PURE__*/function () {
|
|
3244
|
+
function Reloader(window, console, Timer) {
|
|
3245
|
+
_classCallCheck(this, Reloader);
|
|
3246
|
+
this.window = window;
|
|
3247
|
+
this.console = console;
|
|
3248
|
+
this.Timer = Timer;
|
|
3249
|
+
this.document = this.window.document;
|
|
3250
|
+
this.importCacheWaitPeriod = 200;
|
|
3251
|
+
this.plugins = [];
|
|
3252
|
+
}
|
|
3253
|
+
_createClass(Reloader, [{
|
|
3254
|
+
key: "addPlugin",
|
|
3255
|
+
value: function addPlugin(plugin) {
|
|
3256
|
+
return this.plugins.push(plugin);
|
|
3257
|
+
}
|
|
3258
|
+
}, {
|
|
3259
|
+
key: "analyze",
|
|
3260
|
+
value: function analyze(callback) {}
|
|
3261
|
+
}, {
|
|
3262
|
+
key: "reload",
|
|
3263
|
+
value: function reload(path) {
|
|
3264
|
+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
3265
|
+
this.options = _objectSpread(_objectSpread({}, DEFAULT_OPTIONS), options); // avoid passing it through all the funcs
|
|
3266
|
+
|
|
3267
|
+
if (this.options.pluginOrder && this.options.pluginOrder.length) {
|
|
3268
|
+
this.runPluginsByOrder(path, options);
|
|
3269
|
+
return;
|
|
3270
|
+
}
|
|
3271
|
+
for (var _i = 0, _Array$from = Array.from(this.plugins); _i < _Array$from.length; _i++) {
|
|
3272
|
+
var plugin = _Array$from[_i];
|
|
3273
|
+
if (plugin.reload && plugin.reload(path, options)) {
|
|
3274
|
+
return;
|
|
3275
|
+
}
|
|
3276
|
+
}
|
|
3277
|
+
if (options.liveCSS && path.match(/\.css(?:\.map)?$/i)) {
|
|
3278
|
+
if (this.reloadStylesheet(path)) {
|
|
3279
|
+
return;
|
|
3280
|
+
}
|
|
3281
|
+
}
|
|
3282
|
+
if (options.liveImg && path.match(IMAGES_REGEX)) {
|
|
3283
|
+
this.reloadImages(path);
|
|
3284
|
+
return;
|
|
3285
|
+
}
|
|
3286
|
+
if (options.isChromeExtension) {
|
|
3287
|
+
this.reloadChromeExtension();
|
|
3288
|
+
return;
|
|
3289
|
+
}
|
|
3290
|
+
return this.reloadPage();
|
|
3291
|
+
}
|
|
3292
|
+
}, {
|
|
3293
|
+
key: "runPluginsByOrder",
|
|
3294
|
+
value: function runPluginsByOrder(path, options) {
|
|
3295
|
+
var _this = this;
|
|
3296
|
+
options.pluginOrder.some(function (pluginId) {
|
|
3297
|
+
if (pluginId === 'css') {
|
|
3298
|
+
if (options.liveCSS && path.match(/\.css(?:\.map)?$/i)) {
|
|
3299
|
+
if (_this.reloadStylesheet(path)) {
|
|
3300
|
+
return true;
|
|
3301
|
+
}
|
|
3302
|
+
}
|
|
3303
|
+
}
|
|
3304
|
+
if (pluginId === 'img') {
|
|
3305
|
+
if (options.liveImg && path.match(IMAGES_REGEX)) {
|
|
3306
|
+
_this.reloadImages(path);
|
|
3307
|
+
return true;
|
|
3308
|
+
}
|
|
3309
|
+
}
|
|
3310
|
+
if (pluginId === 'extension') {
|
|
3311
|
+
if (options.isChromeExtension) {
|
|
3312
|
+
_this.reloadChromeExtension();
|
|
3313
|
+
return true;
|
|
3314
|
+
}
|
|
3315
|
+
}
|
|
3316
|
+
if (pluginId === 'others') {
|
|
3317
|
+
_this.reloadPage();
|
|
3318
|
+
return true;
|
|
3319
|
+
}
|
|
3320
|
+
if (pluginId === 'external') {
|
|
3321
|
+
return _this.plugins.some(function (plugin) {
|
|
3322
|
+
return plugin.reload && plugin.reload(path, options);
|
|
3323
|
+
});
|
|
3324
|
+
}
|
|
3325
|
+
return _this.plugins.filter(function (plugin) {
|
|
3326
|
+
return plugin.constructor.identifier === pluginId;
|
|
3327
|
+
}).some(function (plugin) {
|
|
3328
|
+
return plugin.reload && plugin.reload(path, options);
|
|
3329
|
+
});
|
|
3330
|
+
});
|
|
3331
|
+
}
|
|
3332
|
+
}, {
|
|
3333
|
+
key: "reloadPage",
|
|
3334
|
+
value: function reloadPage() {
|
|
3335
|
+
return this.window.document.location.reload();
|
|
3336
|
+
}
|
|
3337
|
+
}, {
|
|
3338
|
+
key: "reloadChromeExtension",
|
|
3339
|
+
value: function reloadChromeExtension() {
|
|
3340
|
+
return this.window.chrome.runtime.reload();
|
|
3341
|
+
}
|
|
3342
|
+
}, {
|
|
3343
|
+
key: "reloadImages",
|
|
3344
|
+
value: function reloadImages(path) {
|
|
3345
|
+
var _this2 = this;
|
|
3346
|
+
var img;
|
|
3347
|
+
var expando = this.generateUniqueString();
|
|
3348
|
+
for (var _i2 = 0, _Array$from2 = Array.from(this.document.images); _i2 < _Array$from2.length; _i2++) {
|
|
3349
|
+
img = _Array$from2[_i2];
|
|
3350
|
+
if (pathsMatch(path, pathFromUrl(img.src))) {
|
|
3351
|
+
img.src = this.generateCacheBustUrl(img.src, expando);
|
|
3352
|
+
}
|
|
3353
|
+
}
|
|
3354
|
+
if (this.document.querySelectorAll) {
|
|
3355
|
+
for (var _i3 = 0, _IMAGE_STYLES = IMAGE_STYLES; _i3 < _IMAGE_STYLES.length; _i3++) {
|
|
3356
|
+
var _IMAGE_STYLES$_i = _IMAGE_STYLES[_i3],
|
|
3357
|
+
selector = _IMAGE_STYLES$_i.selector,
|
|
3358
|
+
styleNames = _IMAGE_STYLES$_i.styleNames;
|
|
3359
|
+
for (var _i4 = 0, _Array$from3 = Array.from(this.document.querySelectorAll("[style*=".concat(selector, "]"))); _i4 < _Array$from3.length; _i4++) {
|
|
3360
|
+
img = _Array$from3[_i4];
|
|
3361
|
+
this.reloadStyleImages(img.style, styleNames, path, expando);
|
|
3362
|
+
}
|
|
3363
|
+
}
|
|
3364
|
+
}
|
|
3365
|
+
if (this.document.styleSheets) {
|
|
3366
|
+
return Array.from(this.document.styleSheets).map(function (styleSheet) {
|
|
3367
|
+
return _this2.reloadStylesheetImages(styleSheet, path, expando);
|
|
3368
|
+
});
|
|
3369
|
+
}
|
|
3370
|
+
}
|
|
3371
|
+
}, {
|
|
3372
|
+
key: "reloadStylesheetImages",
|
|
3373
|
+
value: function reloadStylesheetImages(styleSheet, path, expando) {
|
|
3374
|
+
var rules;
|
|
3375
|
+
try {
|
|
3376
|
+
rules = (styleSheet || {}).cssRules;
|
|
3377
|
+
} catch (e) {}
|
|
3378
|
+
if (!rules) {
|
|
3379
|
+
return;
|
|
3380
|
+
}
|
|
3381
|
+
for (var _i5 = 0, _Array$from4 = Array.from(rules); _i5 < _Array$from4.length; _i5++) {
|
|
3382
|
+
var rule = _Array$from4[_i5];
|
|
3383
|
+
switch (rule.type) {
|
|
3384
|
+
case CSSRule.IMPORT_RULE:
|
|
3385
|
+
this.reloadStylesheetImages(rule.styleSheet, path, expando);
|
|
3386
|
+
break;
|
|
3387
|
+
case CSSRule.STYLE_RULE:
|
|
3388
|
+
for (var _i6 = 0, _IMAGE_STYLES2 = IMAGE_STYLES; _i6 < _IMAGE_STYLES2.length; _i6++) {
|
|
3389
|
+
var styleNames = _IMAGE_STYLES2[_i6].styleNames;
|
|
3390
|
+
this.reloadStyleImages(rule.style, styleNames, path, expando);
|
|
3391
|
+
}
|
|
3392
|
+
break;
|
|
3393
|
+
case CSSRule.MEDIA_RULE:
|
|
3394
|
+
this.reloadStylesheetImages(rule, path, expando);
|
|
3395
|
+
break;
|
|
3396
|
+
}
|
|
3397
|
+
}
|
|
3398
|
+
}
|
|
3399
|
+
}, {
|
|
3400
|
+
key: "reloadStyleImages",
|
|
3401
|
+
value: function reloadStyleImages(style, styleNames, path, expando) {
|
|
3402
|
+
var _this3 = this;
|
|
3403
|
+
var _iterator2 = _createForOfIteratorHelper(styleNames),
|
|
3404
|
+
_step2;
|
|
3405
|
+
try {
|
|
3406
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3407
|
+
var styleName = _step2.value;
|
|
3408
|
+
var value = style[styleName];
|
|
3409
|
+
if (typeof value === 'string') {
|
|
3410
|
+
// eslint-disable-next-line prefer-regex-literals
|
|
3411
|
+
var newValue = value.replace(new RegExp('\\burl\\s*\\(([^)]*)\\)'), function (match, src) {
|
|
3412
|
+
if (pathsMatch(path, pathFromUrl(src))) {
|
|
3413
|
+
return "url(".concat(_this3.generateCacheBustUrl(src, expando), ")");
|
|
3414
|
+
}
|
|
3415
|
+
return match;
|
|
3416
|
+
});
|
|
3417
|
+
if (newValue !== value) {
|
|
3418
|
+
style[styleName] = newValue;
|
|
3419
|
+
}
|
|
3420
|
+
}
|
|
3421
|
+
}
|
|
3422
|
+
} catch (err) {
|
|
3423
|
+
_iterator2.e(err);
|
|
3424
|
+
} finally {
|
|
3425
|
+
_iterator2.f();
|
|
3426
|
+
}
|
|
3427
|
+
}
|
|
3428
|
+
}, {
|
|
3429
|
+
key: "reloadStylesheet",
|
|
3430
|
+
value: function reloadStylesheet(path) {
|
|
3431
|
+
var _this4 = this;
|
|
3432
|
+
var options = this.options || DEFAULT_OPTIONS;
|
|
3433
|
+
|
|
3434
|
+
// has to be a real array, because DOMNodeList will be modified
|
|
3435
|
+
var style;
|
|
3436
|
+
var link;
|
|
3437
|
+
var links = function () {
|
|
3438
|
+
var result = [];
|
|
3439
|
+
for (var _i7 = 0, _Array$from5 = Array.from(_this4.document.getElementsByTagName('link')); _i7 < _Array$from5.length; _i7++) {
|
|
3440
|
+
link = _Array$from5[_i7];
|
|
3441
|
+
if (link.rel.match(/^stylesheet$/i) && !link.__LiveReload_pendingRemoval) {
|
|
3442
|
+
result.push(link);
|
|
3443
|
+
}
|
|
3444
|
+
}
|
|
3445
|
+
return result;
|
|
3446
|
+
}();
|
|
3447
|
+
|
|
3448
|
+
// find all imported stylesheets
|
|
3449
|
+
var imported = [];
|
|
3450
|
+
for (var _i8 = 0, _Array$from6 = Array.from(this.document.getElementsByTagName('style')); _i8 < _Array$from6.length; _i8++) {
|
|
3451
|
+
style = _Array$from6[_i8];
|
|
3452
|
+
if (style.sheet) {
|
|
3453
|
+
this.collectImportedStylesheets(style, style.sheet, imported);
|
|
3454
|
+
}
|
|
3455
|
+
}
|
|
3456
|
+
for (var _i9 = 0, _Array$from7 = Array.from(links); _i9 < _Array$from7.length; _i9++) {
|
|
3457
|
+
link = _Array$from7[_i9];
|
|
3458
|
+
this.collectImportedStylesheets(link, link.sheet, imported);
|
|
3459
|
+
}
|
|
3460
|
+
|
|
3461
|
+
// handle prefixfree
|
|
3462
|
+
if (this.window.StyleFix && this.document.querySelectorAll) {
|
|
3463
|
+
for (var _i10 = 0, _Array$from8 = Array.from(this.document.querySelectorAll('style[data-href]')); _i10 < _Array$from8.length; _i10++) {
|
|
3464
|
+
style = _Array$from8[_i10];
|
|
3465
|
+
links.push(style);
|
|
3466
|
+
}
|
|
3467
|
+
}
|
|
3468
|
+
this.console.log("LiveReload found ".concat(links.length, " LINKed stylesheets, ").concat(imported.length, " @imported stylesheets"));
|
|
3469
|
+
var match = pickBestMatch(path, links.concat(imported), function (link) {
|
|
3470
|
+
return pathFromUrl(_this4.linkHref(link));
|
|
3471
|
+
});
|
|
3472
|
+
if (match) {
|
|
3473
|
+
if (match.object.rule) {
|
|
3474
|
+
this.console.log("LiveReload is reloading imported stylesheet: ".concat(match.object.href));
|
|
3475
|
+
this.reattachImportedRule(match.object);
|
|
3476
|
+
} else {
|
|
3477
|
+
this.console.log("LiveReload is reloading stylesheet: ".concat(this.linkHref(match.object)));
|
|
3478
|
+
this.reattachStylesheetLink(match.object);
|
|
3479
|
+
}
|
|
3480
|
+
} else {
|
|
3481
|
+
if (options.reloadMissingCSS) {
|
|
3482
|
+
this.console.log("LiveReload will reload all stylesheets because path '".concat(path, "' did not match any specific one. To disable this behavior, set 'options.reloadMissingCSS' to 'false'."));
|
|
3483
|
+
for (var _i11 = 0, _Array$from9 = Array.from(links); _i11 < _Array$from9.length; _i11++) {
|
|
3484
|
+
link = _Array$from9[_i11];
|
|
3485
|
+
this.reattachStylesheetLink(link);
|
|
3486
|
+
}
|
|
3487
|
+
} else {
|
|
3488
|
+
this.console.log("LiveReload will not reload path '".concat(path, "' because the stylesheet was not found on the page and 'options.reloadMissingCSS' was set to 'false'."));
|
|
3489
|
+
}
|
|
3490
|
+
}
|
|
3491
|
+
return true;
|
|
3492
|
+
}
|
|
3493
|
+
}, {
|
|
3494
|
+
key: "collectImportedStylesheets",
|
|
3495
|
+
value: function collectImportedStylesheets(link, styleSheet, result) {
|
|
3496
|
+
// in WebKit, styleSheet.cssRules is null for inaccessible stylesheets;
|
|
3497
|
+
// Firefox/Opera may throw exceptions
|
|
3498
|
+
var rules;
|
|
3499
|
+
try {
|
|
3500
|
+
rules = (styleSheet || {}).cssRules;
|
|
3501
|
+
} catch (e) {}
|
|
3502
|
+
if (rules && rules.length) {
|
|
3503
|
+
for (var index = 0; index < rules.length; index++) {
|
|
3504
|
+
var rule = rules[index];
|
|
3505
|
+
switch (rule.type) {
|
|
3506
|
+
case CSSRule.CHARSET_RULE:
|
|
3507
|
+
continue;
|
|
3508
|
+
// do nothing
|
|
3509
|
+
case CSSRule.IMPORT_RULE:
|
|
3510
|
+
result.push({
|
|
3511
|
+
link: link,
|
|
3512
|
+
rule: rule,
|
|
3513
|
+
index: index,
|
|
3514
|
+
href: rule.href
|
|
3515
|
+
});
|
|
3516
|
+
this.collectImportedStylesheets(link, rule.styleSheet, result);
|
|
3517
|
+
break;
|
|
3518
|
+
default:
|
|
3519
|
+
break;
|
|
3520
|
+
// import rules can only be preceded by charset rules
|
|
3521
|
+
}
|
|
3522
|
+
}
|
|
3523
|
+
}
|
|
3524
|
+
}
|
|
3525
|
+
}, {
|
|
3526
|
+
key: "waitUntilCssLoads",
|
|
3527
|
+
value: function waitUntilCssLoads(clone, func) {
|
|
3528
|
+
var _this5 = this;
|
|
3529
|
+
var options = this.options || DEFAULT_OPTIONS;
|
|
3530
|
+
var callbackExecuted = false;
|
|
3531
|
+
var executeCallback = function executeCallback() {
|
|
3532
|
+
if (callbackExecuted) {
|
|
3533
|
+
return;
|
|
3534
|
+
}
|
|
3535
|
+
callbackExecuted = true;
|
|
3536
|
+
return func();
|
|
3537
|
+
};
|
|
3538
|
+
|
|
3539
|
+
// supported by Chrome 19+, Safari 5.2+, Firefox 9+, Opera 9+, IE6+
|
|
3540
|
+
// http://www.zachleat.com/web/load-css-dynamically/
|
|
3541
|
+
// http://pieisgood.org/test/script-link-events/
|
|
3542
|
+
clone.onload = function () {
|
|
3543
|
+
_this5.console.log('LiveReload: the new stylesheet has finished loading');
|
|
3544
|
+
_this5.knownToSupportCssOnLoad = true;
|
|
3545
|
+
return executeCallback();
|
|
3546
|
+
};
|
|
3547
|
+
if (!this.knownToSupportCssOnLoad) {
|
|
3548
|
+
// polling
|
|
3549
|
+
var _poll;
|
|
3550
|
+
(_poll = function poll() {
|
|
3551
|
+
if (clone.sheet) {
|
|
3552
|
+
_this5.console.log('LiveReload is polling until the new CSS finishes loading...');
|
|
3553
|
+
return executeCallback();
|
|
3554
|
+
}
|
|
3555
|
+
return _this5.Timer.start(50, _poll);
|
|
3556
|
+
})();
|
|
3557
|
+
}
|
|
3558
|
+
|
|
3559
|
+
// fail safe
|
|
3560
|
+
return this.Timer.start(options.stylesheetReloadTimeout, executeCallback);
|
|
3561
|
+
}
|
|
3562
|
+
}, {
|
|
3563
|
+
key: "linkHref",
|
|
3564
|
+
value: function linkHref(link) {
|
|
3565
|
+
// prefixfree uses data-href when it turns LINK into STYLE
|
|
3566
|
+
return link.href || link.getAttribute && link.getAttribute('data-href');
|
|
3567
|
+
}
|
|
3568
|
+
}, {
|
|
3569
|
+
key: "reattachStylesheetLink",
|
|
3570
|
+
value: function reattachStylesheetLink(link) {
|
|
3571
|
+
var _this6 = this;
|
|
3572
|
+
// ignore LINKs that will be removed by LR soon
|
|
3573
|
+
var clone;
|
|
3574
|
+
if (link.__LiveReload_pendingRemoval) {
|
|
3575
|
+
return;
|
|
3576
|
+
}
|
|
3577
|
+
link.__LiveReload_pendingRemoval = true;
|
|
3578
|
+
if (link.tagName === 'STYLE') {
|
|
3579
|
+
// prefixfree
|
|
3580
|
+
clone = this.document.createElement('link');
|
|
3581
|
+
clone.rel = 'stylesheet';
|
|
3582
|
+
clone.media = link.media;
|
|
3583
|
+
clone.disabled = link.disabled;
|
|
3584
|
+
} else {
|
|
3585
|
+
clone = link.cloneNode(false);
|
|
3586
|
+
}
|
|
3587
|
+
clone.href = this.generateCacheBustUrl(this.linkHref(link));
|
|
3588
|
+
|
|
3589
|
+
// insert the new LINK before the old one
|
|
3590
|
+
var parent = link.parentNode;
|
|
3591
|
+
if (parent.lastChild === link) {
|
|
3592
|
+
parent.appendChild(clone);
|
|
3593
|
+
} else {
|
|
3594
|
+
parent.insertBefore(clone, link.nextSibling);
|
|
3595
|
+
}
|
|
3596
|
+
return this.waitUntilCssLoads(clone, function () {
|
|
3597
|
+
var additionalWaitingTime;
|
|
3598
|
+
if (/AppleWebKit/.test(_this6.window.navigator.userAgent)) {
|
|
3599
|
+
additionalWaitingTime = 5;
|
|
3600
|
+
} else {
|
|
3601
|
+
additionalWaitingTime = 200;
|
|
3602
|
+
}
|
|
3603
|
+
return _this6.Timer.start(additionalWaitingTime, function () {
|
|
3604
|
+
if (!link.parentNode) {
|
|
3605
|
+
return;
|
|
3606
|
+
}
|
|
3607
|
+
link.parentNode.removeChild(link);
|
|
3608
|
+
clone.onreadystatechange = null;
|
|
3609
|
+
return _this6.window.StyleFix ? _this6.window.StyleFix.link(clone) : undefined;
|
|
3610
|
+
});
|
|
3611
|
+
}); // prefixfree
|
|
3612
|
+
}
|
|
3613
|
+
}, {
|
|
3614
|
+
key: "reattachImportedRule",
|
|
3615
|
+
value: function reattachImportedRule(_ref) {
|
|
3616
|
+
var _this7 = this;
|
|
3617
|
+
var rule = _ref.rule,
|
|
3618
|
+
index = _ref.index,
|
|
3619
|
+
link = _ref.link;
|
|
3620
|
+
var parent = rule.parentStyleSheet;
|
|
3621
|
+
var href = this.generateCacheBustUrl(rule.href);
|
|
3622
|
+
var media = rule.media.length ? [].join.call(rule.media, ', ') : '';
|
|
3623
|
+
var newRule = "@import url(\"".concat(href, "\") ").concat(media, ";");
|
|
3624
|
+
|
|
3625
|
+
// used to detect if reattachImportedRule has been called again on the same rule
|
|
3626
|
+
rule.__LiveReload_newHref = href;
|
|
3627
|
+
|
|
3628
|
+
// WORKAROUND FOR WEBKIT BUG: WebKit resets all styles if we add @import'ed
|
|
3629
|
+
// stylesheet that hasn't been cached yet. Workaround is to pre-cache the
|
|
3630
|
+
// stylesheet by temporarily adding it as a LINK tag.
|
|
3631
|
+
var tempLink = this.document.createElement('link');
|
|
3632
|
+
tempLink.rel = 'stylesheet';
|
|
3633
|
+
tempLink.href = href;
|
|
3634
|
+
tempLink.__LiveReload_pendingRemoval = true; // exclude from path matching
|
|
3635
|
+
|
|
3636
|
+
if (link.parentNode) {
|
|
3637
|
+
link.parentNode.insertBefore(tempLink, link);
|
|
3638
|
+
}
|
|
3639
|
+
|
|
3640
|
+
// wait for it to load
|
|
3641
|
+
return this.Timer.start(this.importCacheWaitPeriod, function () {
|
|
3642
|
+
if (tempLink.parentNode) {
|
|
3643
|
+
tempLink.parentNode.removeChild(tempLink);
|
|
3644
|
+
}
|
|
3645
|
+
|
|
3646
|
+
// if another reattachImportedRule call is in progress, abandon this one
|
|
3647
|
+
if (rule.__LiveReload_newHref !== href) {
|
|
3648
|
+
return;
|
|
3649
|
+
}
|
|
3650
|
+
parent.insertRule(newRule, index);
|
|
3651
|
+
parent.deleteRule(index + 1);
|
|
3652
|
+
|
|
3653
|
+
// save the new rule, so that we can detect another reattachImportedRule call
|
|
3654
|
+
rule = parent.cssRules[index];
|
|
3655
|
+
rule.__LiveReload_newHref = href;
|
|
3656
|
+
|
|
3657
|
+
// repeat again for good measure
|
|
3658
|
+
return _this7.Timer.start(_this7.importCacheWaitPeriod, function () {
|
|
3659
|
+
// if another reattachImportedRule call is in progress, abandon this one
|
|
3660
|
+
if (rule.__LiveReload_newHref !== href) {
|
|
3661
|
+
return;
|
|
3662
|
+
}
|
|
3663
|
+
parent.insertRule(newRule, index);
|
|
3664
|
+
return parent.deleteRule(index + 1);
|
|
3665
|
+
});
|
|
3666
|
+
});
|
|
3667
|
+
}
|
|
3668
|
+
}, {
|
|
3669
|
+
key: "generateUniqueString",
|
|
3670
|
+
value: function generateUniqueString() {
|
|
3671
|
+
return "livereload=".concat(Date.now());
|
|
3672
|
+
}
|
|
3673
|
+
}, {
|
|
3674
|
+
key: "generateCacheBustUrl",
|
|
3675
|
+
value: function generateCacheBustUrl(url, expando) {
|
|
3676
|
+
var options = this.options || DEFAULT_OPTIONS;
|
|
3677
|
+
var hash, oldParams;
|
|
3678
|
+
if (!expando) {
|
|
3679
|
+
expando = this.generateUniqueString();
|
|
3680
|
+
}
|
|
3681
|
+
var _splitUrl2 = splitUrl(url);
|
|
3682
|
+
url = _splitUrl2.url;
|
|
3683
|
+
hash = _splitUrl2.hash;
|
|
3684
|
+
oldParams = _splitUrl2.params;
|
|
3685
|
+
if (options.overrideURL) {
|
|
3686
|
+
if (url.indexOf(options.serverURL) < 0) {
|
|
3687
|
+
var originalUrl = url;
|
|
3688
|
+
url = options.serverURL + options.overrideURL + '?url=' + encodeURIComponent(url);
|
|
3689
|
+
this.console.log("LiveReload is overriding source URL ".concat(originalUrl, " with ").concat(url));
|
|
3690
|
+
}
|
|
3691
|
+
}
|
|
3692
|
+
var params = oldParams.replace(/(\?|&)livereload=(\d+)/, function (match, sep) {
|
|
3693
|
+
return "".concat(sep).concat(expando);
|
|
3694
|
+
});
|
|
3695
|
+
if (params === oldParams) {
|
|
3696
|
+
if (oldParams.length === 0) {
|
|
3697
|
+
params = "?".concat(expando);
|
|
3698
|
+
} else {
|
|
3699
|
+
params = "".concat(oldParams, "&").concat(expando);
|
|
3700
|
+
}
|
|
3701
|
+
}
|
|
3702
|
+
return url + params + hash;
|
|
3703
|
+
}
|
|
3704
|
+
}]);
|
|
3705
|
+
return Reloader;
|
|
3706
|
+
}();
|
|
3707
|
+
;
|
|
3708
|
+
exports.splitUrl = splitUrl;
|
|
3709
|
+
exports.pathFromUrl = pathFromUrl;
|
|
3710
|
+
exports.numberOfMatchingSegments = numberOfMatchingSegments;
|
|
3711
|
+
exports.pickBestMatch = pickBestMatch;
|
|
3712
|
+
exports.pathsMatch = pathsMatch;
|
|
3713
|
+
exports.Reloader = Reloader;
|
|
3714
|
+
|
|
3715
|
+
},{"core-js/modules/es6.array.filter.js":83,"core-js/modules/es6.array.from.js":84,"core-js/modules/es6.array.iterator.js":85,"core-js/modules/es6.array.map.js":86,"core-js/modules/es6.array.slice.js":87,"core-js/modules/es6.number.constructor.js":88,"core-js/modules/es6.object.get-own-property-descriptor.js":89,"core-js/modules/es6.object.keys.js":90,"core-js/modules/es6.object.to-string.js":91,"core-js/modules/es6.regexp.constructor.js":92,"core-js/modules/es6.regexp.match.js":94,"core-js/modules/es6.regexp.replace.js":95,"core-js/modules/es6.regexp.split.js":96,"core-js/modules/es6.string.iterator.js":98,"core-js/modules/es6.symbol.js":99,"core-js/modules/es7.object.get-own-property-descriptors.js":101,"core-js/modules/web.dom.iterable.js":102}],110:[function(require,module,exports){
|
|
3716
|
+
"use strict";
|
|
3717
|
+
|
|
3718
|
+
require("core-js/modules/es6.regexp.match.js");
|
|
3719
|
+
var CustomEvents = require('./customevents');
|
|
3720
|
+
var LiveReload = window.LiveReload = new (require('./livereload').LiveReload)(window);
|
|
3721
|
+
for (var k in window) {
|
|
3722
|
+
if (k.match(/^LiveReloadPlugin/)) {
|
|
3723
|
+
LiveReload.addPlugin(window[k]);
|
|
3724
|
+
}
|
|
3725
|
+
}
|
|
3726
|
+
LiveReload.addPlugin(require('./less'));
|
|
3727
|
+
LiveReload.on('shutdown', function () {
|
|
3728
|
+
return delete window.LiveReload;
|
|
3729
|
+
});
|
|
3730
|
+
LiveReload.on('connect', function () {
|
|
3731
|
+
return CustomEvents.fire(document, 'LiveReloadConnect');
|
|
3732
|
+
});
|
|
3733
|
+
LiveReload.on('disconnect', function () {
|
|
3734
|
+
return CustomEvents.fire(document, 'LiveReloadDisconnect');
|
|
3735
|
+
});
|
|
3736
|
+
CustomEvents.bind(document, 'LiveReloadShutDown', function () {
|
|
3737
|
+
return LiveReload.shutDown();
|
|
3738
|
+
});
|
|
3739
|
+
|
|
3740
|
+
},{"./customevents":104,"./less":105,"./livereload":106,"core-js/modules/es6.regexp.match.js":94}],111:[function(require,module,exports){
|
|
3741
|
+
"use strict";
|
|
3742
|
+
|
|
3743
|
+
require("core-js/modules/es6.string.iterator.js");
|
|
3744
|
+
require("core-js/modules/es6.object.to-string.js");
|
|
3745
|
+
require("core-js/modules/es6.array.iterator.js");
|
|
3746
|
+
require("core-js/modules/web.dom.iterable.js");
|
|
3747
|
+
require("core-js/modules/es6.symbol.js");
|
|
3748
|
+
require("core-js/modules/es6.number.constructor.js");
|
|
3749
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
3750
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
3751
|
+
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); } }
|
|
3752
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
3753
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
3754
|
+
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); }
|
|
3755
|
+
var Timer = /*#__PURE__*/function () {
|
|
3756
|
+
function Timer(func) {
|
|
3757
|
+
var _this = this;
|
|
3758
|
+
_classCallCheck(this, Timer);
|
|
3759
|
+
this.func = func;
|
|
3760
|
+
this.running = false;
|
|
3761
|
+
this.id = null;
|
|
3762
|
+
this._handler = function () {
|
|
3763
|
+
_this.running = false;
|
|
3764
|
+
_this.id = null;
|
|
3765
|
+
return _this.func();
|
|
3766
|
+
};
|
|
3767
|
+
}
|
|
3768
|
+
_createClass(Timer, [{
|
|
3769
|
+
key: "start",
|
|
3770
|
+
value: function start(timeout) {
|
|
3771
|
+
if (this.running) {
|
|
3772
|
+
clearTimeout(this.id);
|
|
3773
|
+
}
|
|
3774
|
+
this.id = setTimeout(this._handler, timeout);
|
|
3775
|
+
this.running = true;
|
|
3776
|
+
}
|
|
3777
|
+
}, {
|
|
3778
|
+
key: "stop",
|
|
3779
|
+
value: function stop() {
|
|
3780
|
+
if (this.running) {
|
|
3781
|
+
clearTimeout(this.id);
|
|
3782
|
+
this.running = false;
|
|
3783
|
+
this.id = null;
|
|
3784
|
+
}
|
|
3785
|
+
}
|
|
3786
|
+
}]);
|
|
3787
|
+
return Timer;
|
|
3788
|
+
}();
|
|
3789
|
+
;
|
|
3790
|
+
Timer.start = function (timeout, func) {
|
|
3791
|
+
return setTimeout(func, timeout);
|
|
3792
|
+
};
|
|
3793
|
+
exports.Timer = Timer;
|
|
3794
|
+
|
|
3795
|
+
},{"core-js/modules/es6.array.iterator.js":85,"core-js/modules/es6.number.constructor.js":88,"core-js/modules/es6.object.to-string.js":91,"core-js/modules/es6.string.iterator.js":98,"core-js/modules/es6.symbol.js":99,"core-js/modules/web.dom.iterable.js":102}]},{},[110]);
|