@emulsify/cli 1.3.0 → 1.4.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/README.md +4 -4
- package/dist/handlers/componentInstall.js +15 -15
- package/dist/handlers/componentList.js +11 -11
- package/dist/handlers/init.js +21 -32
- package/dist/handlers/systemInstall.js +46 -18
- package/dist/handlers/systemList.js +1 -1
- package/dist/index.js +1 -1
- package/dist/lib/constants.js +5 -3
- package/dist/lib/log.js +5 -4
- package/dist/node_modules/.package-lock.json +50 -10
- package/dist/node_modules/@types/node/README.md +2 -2
- package/dist/node_modules/@types/node/assert.d.ts +4 -0
- package/dist/node_modules/@types/node/async_hooks.d.ts +3 -0
- package/dist/node_modules/@types/node/buffer.d.ts +3 -0
- package/dist/node_modules/@types/node/child_process.d.ts +3 -0
- package/dist/node_modules/@types/node/cluster.d.ts +3 -0
- package/dist/node_modules/@types/node/console.d.ts +4 -0
- package/dist/node_modules/@types/node/constants.d.ts +5 -0
- package/dist/node_modules/@types/node/crypto.d.ts +3 -0
- package/dist/node_modules/@types/node/dgram.d.ts +11 -8
- package/dist/node_modules/@types/node/dns.d.ts +7 -0
- package/dist/node_modules/@types/node/domain.d.ts +3 -0
- package/dist/node_modules/@types/node/events.d.ts +4 -0
- package/dist/node_modules/@types/node/fs/promises.d.ts +4 -1
- package/dist/node_modules/@types/node/fs.d.ts +9 -6
- package/dist/node_modules/@types/node/http.d.ts +6 -2
- package/dist/node_modules/@types/node/http2.d.ts +4 -1
- package/dist/node_modules/@types/node/https.d.ts +3 -0
- package/dist/node_modules/@types/node/index.d.ts +3 -2
- package/dist/node_modules/@types/node/inspector.d.ts +12 -2
- package/dist/node_modules/@types/node/module.d.ts +4 -0
- package/dist/node_modules/@types/node/net.d.ts +3 -0
- package/dist/node_modules/@types/node/os.d.ts +3 -0
- package/dist/node_modules/@types/node/package.json +13 -8
- package/dist/node_modules/@types/node/path.d.ts +4 -0
- package/dist/node_modules/@types/node/perf_hooks.d.ts +3 -0
- package/dist/node_modules/@types/node/process.d.ts +4 -0
- package/dist/node_modules/@types/node/punycode.d.ts +3 -0
- package/dist/node_modules/@types/node/querystring.d.ts +3 -0
- package/dist/node_modules/@types/node/readline.d.ts +4 -0
- package/dist/node_modules/@types/node/repl.d.ts +3 -0
- package/dist/node_modules/@types/node/stream.d.ts +4 -0
- package/dist/node_modules/@types/node/string_decoder.d.ts +3 -0
- package/dist/node_modules/@types/node/timers.d.ts +3 -0
- package/dist/node_modules/@types/node/tls.d.ts +3 -0
- package/dist/node_modules/@types/node/trace_events.d.ts +3 -0
- package/dist/node_modules/@types/node/tty.d.ts +3 -0
- package/dist/node_modules/@types/node/url.d.ts +3 -0
- package/dist/node_modules/@types/node/util.d.ts +10 -1
- package/dist/node_modules/@types/node/v8.d.ts +3 -0
- package/dist/node_modules/@types/node/vm.d.ts +3 -0
- package/dist/node_modules/@types/node/wasi.d.ts +3 -0
- package/dist/node_modules/@types/node/worker_threads.d.ts +3 -0
- package/dist/node_modules/@types/node/zlib.d.ts +3 -0
- package/dist/node_modules/ajv-formats/LICENSE +21 -0
- package/dist/node_modules/ajv-formats/README.md +123 -0
- package/dist/node_modules/ajv-formats/dist/formats.d.ts +9 -0
- package/dist/node_modules/ajv-formats/dist/formats.js +173 -0
- package/dist/node_modules/ajv-formats/dist/formats.js.map +1 -0
- package/dist/node_modules/ajv-formats/dist/index.d.ts +15 -0
- package/dist/node_modules/ajv-formats/dist/index.js +37 -0
- package/dist/node_modules/ajv-formats/dist/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/dist/limit.d.ts +10 -0
- package/dist/node_modules/ajv-formats/dist/limit.js +69 -0
- package/dist/node_modules/ajv-formats/dist/limit.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/.runkit_example.js +23 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/LICENSE +22 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/README.md +192 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.d.ts +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.js +55 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.d.ts +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.js +49 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.d.ts +16 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js +44 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.d.ts +39 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js +147 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js +123 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js +243 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.js +218 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js +28 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js +153 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.js +26 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js +178 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js +202 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js +510 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.d.ts +171 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js +614 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.d.ts +45 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.js +66 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/data.json +13 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.js +184 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.js +83 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/index.d.ts +177 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/index.js +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.d.ts +124 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/jtd-schema.d.ts +168 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js +93 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.js +146 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/ref.js +66 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.js +48 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js +47 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.js +24 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/2019.ts +78 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/2020.ts +72 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/ajv.ts +67 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/code.ts +160 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/index.ts +832 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/index.ts +324 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/serialize.ts +260 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/names.ts +27 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/ref_error.ts +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/resolve.ts +146 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/util.ts +213 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/dataType.ts +229 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/index.ts +573 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/core.ts +880 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/jtd.ts +129 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/data.json +13 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/parseJson.ts +176 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/standalone/index.ts +93 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/index.ts +233 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/json-schema.ts +189 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/jtd-schema.ts +264 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/discriminator/index.ts +102 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/properties.ts +177 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/ref.ts +74 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/values.ts +55 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/enum.ts +52 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/pattern.ts +28 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/package.json +124 -0
- package/dist/node_modules/ajv-formats/package.json +74 -0
- package/dist/node_modules/ajv-formats/src/formats.ts +232 -0
- package/dist/node_modules/ajv-formats/src/index.ts +62 -0
- package/dist/node_modules/ajv-formats/src/limit.ts +99 -0
- package/dist/node_modules/consola/CHANGELOG.md +706 -0
- package/dist/node_modules/consola/README.md +288 -0
- package/dist/node_modules/consola/dist/consola.browser.js +1 -0
- package/dist/node_modules/consola/dist/consola.js +1 -0
- package/dist/node_modules/consola/package.json +80 -0
- package/dist/node_modules/consola/src/browser.js +20 -0
- package/dist/node_modules/consola/src/consola.js +327 -0
- package/dist/node_modules/consola/src/index.js +7 -0
- package/dist/node_modules/consola/src/logLevels.js +11 -0
- package/dist/node_modules/consola/src/node.js +36 -0
- package/dist/node_modules/consola/src/reporters/basic.js +72 -0
- package/dist/node_modules/consola/src/reporters/browser.js +54 -0
- package/dist/node_modules/consola/src/reporters/fancy.js +87 -0
- package/dist/node_modules/consola/src/reporters/index.js +5 -0
- package/dist/node_modules/consola/src/reporters/json.js +9 -0
- package/dist/node_modules/consola/src/reporters/winston.js +45 -0
- package/dist/node_modules/consola/src/types.js +50 -0
- package/dist/node_modules/consola/src/utils/chalk.js +37 -0
- package/dist/node_modules/consola/src/utils/date.js +5 -0
- package/dist/node_modules/consola/src/utils/error.js +16 -0
- package/dist/node_modules/consola/src/utils/fancy.js +10 -0
- package/dist/node_modules/consola/src/utils/format.js +30 -0
- package/dist/node_modules/consola/src/utils/global.js +38 -0
- package/dist/node_modules/consola/src/utils/index.js +23 -0
- package/dist/node_modules/consola/src/utils/stream.js +20 -0
- package/dist/node_modules/consola/src/utils/string.js +41 -0
- package/dist/node_modules/consola/types/consola.d.ts +182 -0
- package/dist/node_modules/debug/LICENSE +10 -9
- package/dist/node_modules/debug/README.md +24 -1
- package/dist/node_modules/debug/package.json +6 -6
- package/dist/node_modules/debug/src/common.js +1 -1
- package/dist/node_modules/simple-git/CHANGELOG.md +27 -0
- package/dist/node_modules/simple-git/package.json +6 -2
- package/dist/node_modules/simple-git/readme.md +5 -1
- package/dist/node_modules/simple-git/src/lib/api.d.ts +2 -0
- package/dist/node_modules/simple-git/src/lib/api.js +2 -0
- package/dist/node_modules/simple-git/src/lib/api.js.map +1 -1
- package/dist/node_modules/simple-git/src/lib/git-factory.d.ts +1 -0
- package/dist/node_modules/simple-git/src/lib/responses/StatusSummary.d.ts +12 -33
- package/dist/node_modules/simple-git/src/lib/responses/StatusSummary.js +2 -22
- package/dist/node_modules/simple-git/src/lib/responses/StatusSummary.js.map +1 -1
- package/dist/node_modules/simple-git/src/lib/simple-git-api.js +2 -1
- package/dist/node_modules/simple-git/src/lib/simple-git-api.js.map +1 -1
- package/dist/node_modules/simple-git/src/lib/tasks/grep.d.ts +12 -0
- package/dist/node_modules/simple-git/src/lib/tasks/grep.js +76 -0
- package/dist/node_modules/simple-git/src/lib/tasks/grep.js.map +1 -0
- package/dist/node_modules/simple-git/src/lib/utils/util.d.ts +1 -0
- package/dist/node_modules/simple-git/src/lib/utils/util.js +2 -1
- package/dist/node_modules/simple-git/src/lib/utils/util.js.map +1 -1
- package/dist/node_modules/simple-git/typings/response.d.ts +38 -1
- package/dist/node_modules/simple-git/typings/simple-git.d.ts +7 -0
- package/dist/node_modules/simple-git/typings/types.d.ts +2 -1
- package/dist/package.json +12 -10
- package/dist/schemas/system.json +74 -0
- package/dist/schemas/variant.json +137 -0
- package/dist/scripts/jsonSchemaToTs.js +5 -5
- package/dist/util/cache/cloneIntoCache.js +5 -11
- package/dist/util/cache/copyItemFromCache.js +3 -3
- package/dist/util/cache/getCachedItemCheckout.js +2 -2
- package/dist/util/cache/getCachedItemPath.js +2 -2
- package/dist/util/cache/getJsonFromCachedFile.js +1 -1
- package/dist/util/fs/executeScript.js +1 -1
- package/dist/util/fs/findFileInCurrentPath.js +5 -5
- package/dist/util/platform/getDrupalInfo.js +4 -4
- package/dist/util/platform/getInitSuccessMessageForPlatform.js +35 -0
- package/dist/util/platform/getPlatformInfo.js +1 -1
- package/dist/util/project/getEmulsifyConfig.js +2 -2
- package/dist/util/project/installComponentFromCache.js +4 -4
- package/dist/util/project/installDependencies.js +1 -1
- package/dist/util/project/installGeneralAssetsFromCache.js +3 -3
- package/dist/util/project/setEmulsifyConfig.js +3 -3
- package/dist/util/strToMachineName.js +5 -2
- package/package.json +13 -11
|
@@ -1,39 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/**
|
|
3
|
-
* The StatusSummary is returned as a response to getting `git().status()`
|
|
4
|
-
*/
|
|
1
|
+
import { StatusResult } from '../../../typings';
|
|
5
2
|
export declare class StatusSummary implements StatusResult {
|
|
6
|
-
not_added:
|
|
7
|
-
conflicted:
|
|
8
|
-
created:
|
|
9
|
-
deleted:
|
|
10
|
-
modified:
|
|
11
|
-
renamed:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
* in the `working_dir`.
|
|
15
|
-
*/
|
|
16
|
-
files: FileStatusResult[];
|
|
17
|
-
staged: string[];
|
|
18
|
-
/**
|
|
19
|
-
* Number of commits ahead of the tracked branch
|
|
20
|
-
*/
|
|
3
|
+
not_added: never[];
|
|
4
|
+
conflicted: never[];
|
|
5
|
+
created: never[];
|
|
6
|
+
deleted: never[];
|
|
7
|
+
modified: never[];
|
|
8
|
+
renamed: never[];
|
|
9
|
+
files: never[];
|
|
10
|
+
staged: never[];
|
|
21
11
|
ahead: number;
|
|
22
|
-
/**
|
|
23
|
-
*Number of commits behind the tracked branch
|
|
24
|
-
*/
|
|
25
12
|
behind: number;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
current: string | null;
|
|
30
|
-
/**
|
|
31
|
-
* Name of the branch being tracked
|
|
32
|
-
*/
|
|
33
|
-
tracking: string | null;
|
|
34
|
-
/**
|
|
35
|
-
* Gets whether this StatusSummary represents a clean working branch.
|
|
36
|
-
*/
|
|
13
|
+
current: null;
|
|
14
|
+
tracking: null;
|
|
15
|
+
detached: boolean;
|
|
37
16
|
isClean(): boolean;
|
|
38
17
|
}
|
|
39
18
|
export declare const parseStatusSummary: (text: string) => StatusResult;
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.parseStatusSummary = exports.StatusSummary = void 0;
|
|
4
4
|
const utils_1 = require("../utils");
|
|
5
5
|
const FileStatusSummary_1 = require("./FileStatusSummary");
|
|
6
|
-
/**
|
|
7
|
-
* The StatusSummary is returned as a response to getting `git().status()`
|
|
8
|
-
*/
|
|
9
6
|
class StatusSummary {
|
|
10
7
|
constructor() {
|
|
11
8
|
this.not_added = [];
|
|
@@ -14,32 +11,14 @@ class StatusSummary {
|
|
|
14
11
|
this.deleted = [];
|
|
15
12
|
this.modified = [];
|
|
16
13
|
this.renamed = [];
|
|
17
|
-
/**
|
|
18
|
-
* All files represented as an array of objects containing the `path` and status in `index` and
|
|
19
|
-
* in the `working_dir`.
|
|
20
|
-
*/
|
|
21
14
|
this.files = [];
|
|
22
15
|
this.staged = [];
|
|
23
|
-
/**
|
|
24
|
-
* Number of commits ahead of the tracked branch
|
|
25
|
-
*/
|
|
26
16
|
this.ahead = 0;
|
|
27
|
-
/**
|
|
28
|
-
*Number of commits behind the tracked branch
|
|
29
|
-
*/
|
|
30
17
|
this.behind = 0;
|
|
31
|
-
/**
|
|
32
|
-
* Name of the current branch
|
|
33
|
-
*/
|
|
34
18
|
this.current = null;
|
|
35
|
-
/**
|
|
36
|
-
* Name of the branch being tracked
|
|
37
|
-
*/
|
|
38
19
|
this.tracking = null;
|
|
20
|
+
this.detached = false;
|
|
39
21
|
}
|
|
40
|
-
/**
|
|
41
|
-
* Gets whether this StatusSummary represents a clean working branch.
|
|
42
|
-
*/
|
|
43
22
|
isClean() {
|
|
44
23
|
return !this.files.length;
|
|
45
24
|
}
|
|
@@ -113,6 +92,7 @@ const parsers = new Map([
|
|
|
113
92
|
result.tracking = regexResult && regexResult[1];
|
|
114
93
|
regexResult = onEmptyBranchReg.exec(line);
|
|
115
94
|
result.current = regexResult && regexResult[1] || result.current;
|
|
95
|
+
result.detached = /\(no branch\)/.test(line);
|
|
116
96
|
}]
|
|
117
97
|
]);
|
|
118
98
|
const parseStatusSummary = function (text) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusSummary.js","sourceRoot":"","sources":["StatusSummary.ts"],"names":[],"mappings":";;;AACA,oCAAkC;AAClC,2DAAwD;
|
|
1
|
+
{"version":3,"file":"StatusSummary.js","sourceRoot":"","sources":["StatusSummary.ts"],"names":[],"mappings":";;;AACA,oCAAkC;AAClC,2DAAwD;AAIxD,MAAa,aAAa;IAA1B;QACU,cAAS,GAAG,EAAE,CAAC;QACf,eAAU,GAAG,EAAE,CAAC;QAChB,YAAO,GAAG,EAAE,CAAC;QACb,YAAO,GAAG,EAAE,CAAC;QACb,aAAQ,GAAG,EAAE,CAAC;QACd,YAAO,GAAG,EAAE,CAAC;QACb,UAAK,GAAG,EAAE,C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AAO;KACZ;IAED,SAAS,IAAI,CAAC,KAAa,EAAE,UAAkB,EAAE,IAAY;QAC1D,MAAM,GAAG,GAAG,GAAG,KAAK,GAAG,UAAU,EAAE,CAAC;QACpC,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAEjC,IAAI,OAAO,EAAE;YACV,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;SACxB;QAED,IAAI,GAAG,KAAK,IAAI,EAAE;YACf,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,qCAAiB,CAAC,IAAI,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC;SACpE;IACJ,CAAC;AACJ,CAAC"}
|
|
@@ -4,6 +4,7 @@ exports.SimpleGitApi = void 0;
|
|
|
4
4
|
const task_callback_1 = require("./task-callback");
|
|
5
5
|
const change_working_directory_1 = require("./tasks/change-working-directory");
|
|
6
6
|
const config_1 = require("./tasks/config");
|
|
7
|
+
const grep_1 = require("./tasks/grep");
|
|
7
8
|
const hash_object_1 = require("./tasks/hash-object");
|
|
8
9
|
const init_1 = require("./tasks/init");
|
|
9
10
|
const log_1 = require("./tasks/log");
|
|
@@ -75,5 +76,5 @@ class SimpleGitApi {
|
|
|
75
76
|
}
|
|
76
77
|
}
|
|
77
78
|
exports.SimpleGitApi = SimpleGitApi;
|
|
78
|
-
Object.assign(SimpleGitApi.prototype, config_1.default(), log_1.default());
|
|
79
|
+
Object.assign(SimpleGitApi.prototype, config_1.default(), grep_1.default(), log_1.default());
|
|
79
80
|
//# sourceMappingURL=simple-git-api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simple-git-api.js","sourceRoot":"","sources":["simple-git-api.ts"],"names":[],"mappings":";;;AACA,mDAA+C;AAC/C,+EAA8E;AAC9E,2CAAoC;AACpC,qDAAqD;AACrD,uCAAwC;AACxC,qCAA8B;AAC9B,yCAA0C;AAC1C,uCAAwC;AACxC,2CAA4C;A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,EAAE,kBAAU,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,oBAAY,CAAC;YAC9C,MAAM,EAAE,kBAAU,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,oBAAY,CAAC;SAChD,EACD,0BAAkB,CAAC,SAAS,CAAC,CAC/B,CAAC;QAEF,OAAO,IAAI,CAAC,QAAQ,CACjB,IAAI,EACJ,gCAAwB,CAAC,SAAS,CAAC,CACrC,CAAC;IACL,CAAC;IAED,KAAK;QACF,OAAO,IAAI,CAAC,QAAQ,CACjB,gCAAyB,CAAC,CAAC,OAAO,EAAE,GAAG,0BAAkB,CAAC,SAAS,CAAC,CAAC,CAAC,EACtE,gCAAwB,CAAC,SAAS,CAAC,CACrC,CAAC;IACL,CAAC;IAED,MAAM;QACH,OAAO,IAAI,CAAC,QAAQ,CAAC,mBAAU,CAAC,0BAAkB,CAAC,SAAS,CAAC,CAAC,EAAE,gCAAwB,CAAC,SAAS,CAAC,CAAC,CAAC;IACxG,CAAC;CACH;AA5GD,oCA4GC;AAED,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,SAAS,EAAE,gBAAM,EAAE,EAAE,cAAI,EAAE,EAAE,aAAG,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SimpleGit } from '../../../typings';
|
|
2
|
+
export interface GitGrepQuery extends Iterable<string> {
|
|
3
|
+
/** Adds one or more terms to be grouped as an "and" to any other terms */
|
|
4
|
+
and(...and: string[]): this;
|
|
5
|
+
/** Adds one or more search terms - git.grep will "or" this to other terms */
|
|
6
|
+
param(...param: string[]): this;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new builder for a `git.grep` query with optional params
|
|
10
|
+
*/
|
|
11
|
+
export declare function grepQueryBuilder(...params: string[]): GitGrepQuery;
|
|
12
|
+
export default function (): Pick<SimpleGit, 'grep'>;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var _a;
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.grepQueryBuilder = void 0;
|
|
5
|
+
const utils_1 = require("../utils");
|
|
6
|
+
const task_1 = require("./task");
|
|
7
|
+
const disallowedOptions = ['-h'];
|
|
8
|
+
const Query = Symbol('grepQuery');
|
|
9
|
+
class GrepQuery {
|
|
10
|
+
constructor() {
|
|
11
|
+
this[_a] = [];
|
|
12
|
+
}
|
|
13
|
+
*[(_a = Query, Symbol.iterator)]() {
|
|
14
|
+
for (const query of this[Query]) {
|
|
15
|
+
yield query;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
and(...and) {
|
|
19
|
+
and.length && this[Query].push('--and', '(', ...utils_1.prefixedArray(and, '-e'), ')');
|
|
20
|
+
return this;
|
|
21
|
+
}
|
|
22
|
+
param(...param) {
|
|
23
|
+
this[Query].push(...utils_1.prefixedArray(param, '-e'));
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Creates a new builder for a `git.grep` query with optional params
|
|
29
|
+
*/
|
|
30
|
+
function grepQueryBuilder(...params) {
|
|
31
|
+
return new GrepQuery().param(...params);
|
|
32
|
+
}
|
|
33
|
+
exports.grepQueryBuilder = grepQueryBuilder;
|
|
34
|
+
function parseGrep(grep) {
|
|
35
|
+
const paths = new Set();
|
|
36
|
+
const results = {};
|
|
37
|
+
utils_1.forEachLineWithContent(grep, (input) => {
|
|
38
|
+
const [path, line, preview] = input.split(utils_1.NULL);
|
|
39
|
+
paths.add(path);
|
|
40
|
+
(results[path] = results[path] || []).push({
|
|
41
|
+
line: utils_1.asNumber(line),
|
|
42
|
+
path,
|
|
43
|
+
preview,
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
return {
|
|
47
|
+
paths,
|
|
48
|
+
results,
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function default_1() {
|
|
52
|
+
return {
|
|
53
|
+
grep(searchTerm) {
|
|
54
|
+
const then = utils_1.trailingFunctionArgument(arguments);
|
|
55
|
+
const options = utils_1.getTrailingOptions(arguments);
|
|
56
|
+
for (const option of disallowedOptions) {
|
|
57
|
+
if (options.includes(option)) {
|
|
58
|
+
return this._runTask(task_1.configurationErrorTask(`git.grep: use of "${option}" is not supported.`), then);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
if (typeof searchTerm === 'string') {
|
|
62
|
+
searchTerm = grepQueryBuilder().param(searchTerm);
|
|
63
|
+
}
|
|
64
|
+
const commands = ['grep', '--null', '-n', '--full-name', ...options, ...searchTerm];
|
|
65
|
+
return this._runTask({
|
|
66
|
+
commands,
|
|
67
|
+
format: 'utf-8',
|
|
68
|
+
parser(stdOut) {
|
|
69
|
+
return parseGrep(stdOut);
|
|
70
|
+
},
|
|
71
|
+
}, then);
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
exports.default = default_1;
|
|
76
|
+
//# sourceMappingURL=grep.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grep.js","sourceRoot":"","sources":["grep.ts"],"names":[],"mappings":";;;;AAEA,oCAOkB;AAElB,iCAAgD;AAEhD,MAAM,iBAAiB,GAAG,CAAC,IAAI,CAAC,CAAC;AAEjC,MAAM,KAAK,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC;AAUlC,MAAM,SAAS;IAAf;QACW,QAAO,GAAa,EAAE,CAAC;IAiBlC,CAAC;IAfE,CAAE,OAFO,KAAK,EAEX,MAAM,CAAC,QAAQ,EAAC;QAChB,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,EAAE;YAC9B,MAAM,KAAK,CAAC;SACd;IACJ,CAAC;IAED,GAAG,CAAC,GAAG,GAAa;QACjB,GAAG,CAAC,MAAM,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,qBAAa,CAAC,GAAG,EAA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M,CAAC,EAAE;oBAC3B,OAAO,IAAI,CAAC,QAAQ,CACjB,6BAAsB,CAAC,qBAAqB,MAAM,qBAAqB,CAAC,EACxE,IAAI,CACN,CAAC;iBACJ;aACH;YAED,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE;gBACjC,UAAU,GAAG,gBAAgB,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;aACpD;YAED,MAAM,QAAQ,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,OAAO,EAAE,GAAG,UAAU,CAAC,CAAC;YAEpF,OAAO,IAAI,CAAC,QAAQ,CAAC;gBAClB,QAAQ;gBACR,MAAM,EAAE,OAAO;gBACf,MAAM,CAAC,MAAM;oBACV,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC;gBAC5B,CAAC;aACH,EAAE,IAAI,CAAC,CAAC;QACZ,CAAC;KACH,CAAA;AACJ,CAAC;AA9BD,4BA8BC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.delay = exports.pick = exports.bufferToString = exports.prefixedArray = exports.asNumber = exports.asStringArray = exports.asArray = exports.objectToString = exports.remove = exports.including = exports.append = exports.folderExists = exports.forEachLineWithContent = exports.toLinesWithContent = exports.last = exports.first = exports.splitOn = exports.isUserFunction = exports.asFunction = exports.NOOP = void 0;
|
|
3
|
+
exports.delay = exports.pick = exports.bufferToString = exports.prefixedArray = exports.asNumber = exports.asStringArray = exports.asArray = exports.objectToString = exports.remove = exports.including = exports.append = exports.folderExists = exports.forEachLineWithContent = exports.toLinesWithContent = exports.last = exports.first = exports.splitOn = exports.isUserFunction = exports.asFunction = exports.NOOP = exports.NULL = void 0;
|
|
4
4
|
const file_exists_1 = require("@kwsites/file-exists");
|
|
5
|
+
exports.NULL = '\0';
|
|
5
6
|
const NOOP = () => {
|
|
6
7
|
};
|
|
7
8
|
exports.NOOP = NOOP;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.js","sourceRoot":"","sources":["util.ts"],"names":[],"mappings":";;;AAAA,sDAAsD;
|
|
1
|
+
{"version":3,"file":"util.js","sourceRoot":"","sources":["util.ts"],"names":[],"mappings":";;;AAAA,sDAAsD;AAGzC,QAAA,IAAI,GAAG,IAAI,CAAC;AAElB,MAAM,IAAI,GAA6B,GAAG,EAAE;AACnD,CAAC,CAAC;AADW,QAAA,IAAI,QACf;AAEF;;;GAGG;AACH,SAAgB,UAAU,CAAsB,MAAe;IAC5D,OAAO,OAAO,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,YAAI,CAAC;AACvD,CAAC;AAFD,gCAEC;AAED;;;GAGG;AACH,SAAgB,cAAc,CAAqB,MAAe;IAC/D,OAAO,CAAC,OAAO,MAAM,KAAK,UAAU,IAAI,MAAM,KAAK,YAAI,CAAC,CAAC;AAC5D,CAAC;AAFD,wCAEC;AAED,SAAgB,OAAO,CAAC,KAAa,EAAE,IAAY;IAChD,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAClC,IAAI,KAAK,IAAI,CAAC,EAAE;QACb,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;KACrB;IAED,OAAO;QACJ,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE,KAAK,CAAC;QACtB,KAAK,CAAC,MAAM,CAAC,KAAK,GAAG,CAAC,CAAC;KACzB,CAAC;AACL,CAAC;AAVD,0BAUC;AAID,SAAgB,KAAK,CAAC,KAAyB,EAAE,MAAM,GAAG,CAAC;IACxD,OAAO,WAAW,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AAClF,CAAC;AAFD,sBAEC;AAKD,SAAgB,IAAI,CA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C;AACvH,CAAC;AAFD,oBAEC;AAED,SAAgB,KAAK,CAAC,QAAQ,GAAG,CAAC;IAC/B,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC;AAC1D,CAAC;AAFD,sBAEC"}
|
|
@@ -177,6 +177,16 @@ export interface FetchResult {
|
|
|
177
177
|
}[];
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
+
/** Represents the response to git.grep */
|
|
181
|
+
export interface GrepResult {
|
|
182
|
+
paths: Set<string>;
|
|
183
|
+
results: Record<string, Array<{
|
|
184
|
+
line: number;
|
|
185
|
+
path: string;
|
|
186
|
+
preview: string;
|
|
187
|
+
}>>;
|
|
188
|
+
}
|
|
189
|
+
|
|
180
190
|
/**
|
|
181
191
|
* The `InitResult` is returned when (re)initialising a git repo.
|
|
182
192
|
*/
|
|
@@ -211,7 +221,7 @@ export interface MoveResult {
|
|
|
211
221
|
/**
|
|
212
222
|
* Array of files moved
|
|
213
223
|
*/
|
|
214
|
-
moves: Array<{from: string, to: string}>;
|
|
224
|
+
moves: Array<{ from: string, to: string }>;
|
|
215
225
|
}
|
|
216
226
|
|
|
217
227
|
export interface PullDetailFileChanges {
|
|
@@ -284,12 +294,39 @@ export interface StatusResult {
|
|
|
284
294
|
modified: string[];
|
|
285
295
|
renamed: StatusResultRenamed[];
|
|
286
296
|
staged: string[];
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* All files represented as an array of objects containing the `path` and status in `index` and
|
|
300
|
+
* in the `working_dir`.
|
|
301
|
+
*/
|
|
287
302
|
files: FileStatusResult[];
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Number of commits ahead of the tracked branch
|
|
306
|
+
*/
|
|
288
307
|
ahead: number;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
*Number of commits behind the tracked branch
|
|
311
|
+
*/
|
|
289
312
|
behind: number;
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Name of the current branch
|
|
316
|
+
*/
|
|
290
317
|
current: string | null;
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Name of the branch being tracked
|
|
321
|
+
*/
|
|
291
322
|
tracking: string | null;
|
|
292
323
|
|
|
324
|
+
/**
|
|
325
|
+
* Detached status of the working copy, for more detail of what the working branch
|
|
326
|
+
* is detached from use `git.branch()`
|
|
327
|
+
*/
|
|
328
|
+
detached: boolean;
|
|
329
|
+
|
|
293
330
|
/**
|
|
294
331
|
* Gets whether this represents a clean working branch.
|
|
295
332
|
*/
|
|
@@ -387,6 +387,13 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
387
387
|
|
|
388
388
|
getRemotes(verbose: true, callback?: types.SimpleGitTaskCallback<types.RemoteWithRefs[]>): Response<types.RemoteWithRefs[]>;
|
|
389
389
|
|
|
390
|
+
/**
|
|
391
|
+
* Search for files matching the supplied search terms
|
|
392
|
+
*/
|
|
393
|
+
grep(searchTerm: string | types.GitGrepQuery, callback?: types.SimpleGitTaskCallback<resp.GrepResult>): Response<resp.GrepResult>;
|
|
394
|
+
|
|
395
|
+
grep(searchTerm: string | types.GitGrepQuery, options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.GrepResult>): Response<resp.GrepResult>;
|
|
396
|
+
|
|
390
397
|
/**
|
|
391
398
|
* List remotes by running the `ls-remote` command with any number of arbitrary options
|
|
392
399
|
* in either array of object form.
|
|
@@ -5,9 +5,10 @@ export {
|
|
|
5
5
|
outputHandler, Options, TaskOptions, SimpleGitOptions, SimpleGitProgressEvent, SimpleGitTaskCallback
|
|
6
6
|
} from '../src/lib/types';
|
|
7
7
|
|
|
8
|
+
export { ApplyOptions } from '../src/lib/tasks/apply-patch';
|
|
8
9
|
export { CheckRepoActions } from '../src/lib/tasks/check-is-repo';
|
|
9
10
|
export { CleanOptions, CleanMode } from '../src/lib/tasks/clean';
|
|
10
11
|
export { CloneOptions } from '../src/lib/tasks/clone';
|
|
11
12
|
export { GitConfigScope } from '../src/lib/tasks/config';
|
|
12
|
-
export {
|
|
13
|
+
export { GitGrepQuery, grepQueryBuilder } from '../src/lib/tasks/grep';
|
|
13
14
|
export { ResetOptions, ResetMode } from '../src/lib/tasks/reset';
|
package/dist/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"license": "GPL-2.0",
|
|
8
8
|
"private": false,
|
|
9
9
|
"engines": {
|
|
10
|
-
"node": ">=
|
|
10
|
+
"node": ">=16.13"
|
|
11
11
|
},
|
|
12
12
|
"bin": {
|
|
13
13
|
"emulsify": "dist/index.js"
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"postbuild": "cp package.json dist/package.json && cd dist && npm install --only=production --ignore-scripts"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@commitlint/cli": "^
|
|
40
|
+
"@commitlint/cli": "^15.0.0",
|
|
41
41
|
"@commitlint/config-conventional": "^11.0.0",
|
|
42
|
-
"@semantic-release/github": "^
|
|
43
|
-
"@semantic-release/npm": "^
|
|
42
|
+
"@semantic-release/github": "^8.0.2",
|
|
43
|
+
"@semantic-release/npm": "^8.0.3",
|
|
44
44
|
"@types/chalk": "^2.2.0",
|
|
45
45
|
"@types/commander": "^2.12.2",
|
|
46
46
|
"@types/fs-extra": "^9.0.8",
|
|
@@ -51,24 +51,26 @@
|
|
|
51
51
|
"@typescript-eslint/parser": "^4.15.0",
|
|
52
52
|
"eslint": "^7.19.0",
|
|
53
53
|
"eslint-config-prettier": "^7.2.0",
|
|
54
|
-
"eslint-plugin-prettier": "^
|
|
54
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
55
55
|
"eslint-plugin-security": "^1.4.0",
|
|
56
56
|
"husky": "^5.0.9",
|
|
57
57
|
"jest": "^26.6.3",
|
|
58
58
|
"json-schema-to-typescript": "^10.1.3",
|
|
59
|
-
"lint-staged": "^
|
|
59
|
+
"lint-staged": "^12.1.2",
|
|
60
60
|
"nodemon": "^2.0.7",
|
|
61
61
|
"prettier": "^2.2.1",
|
|
62
|
-
"semantic-release": "^
|
|
62
|
+
"semantic-release": "^18.0.1",
|
|
63
63
|
"ts-jest": "^26.5.1",
|
|
64
|
-
"ts-node": "^
|
|
65
|
-
"typescript": "^4.
|
|
64
|
+
"ts-node": "^10.4.0",
|
|
65
|
+
"typescript": "^4.5.2"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@types/progress": "^2.0.5",
|
|
69
|
-
"ajv": "^7.
|
|
69
|
+
"ajv": "^7.2.4",
|
|
70
|
+
"ajv-formats": "^2.1.1",
|
|
70
71
|
"chalk": "^4.1.0",
|
|
71
72
|
"commander": "^7.0.0",
|
|
73
|
+
"consola": "^2.15.3",
|
|
72
74
|
"fs-extra": "^9.1.0",
|
|
73
75
|
"progress": "^2.0.3",
|
|
74
76
|
"ramda": "^0.27.1",
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "system",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Emulsify System",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"name": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 3,
|
|
10
|
+
"description": "Name of the Emulsify system"
|
|
11
|
+
},
|
|
12
|
+
"homepage": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"format": "uri",
|
|
15
|
+
"description": "URL to external resources for the system. Should be a link to documentation, a styleguide, or an example implementation."
|
|
16
|
+
},
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"format": "uri",
|
|
20
|
+
"description": "Git URL to the repository containing the system"
|
|
21
|
+
},
|
|
22
|
+
"structure": {
|
|
23
|
+
"type": "array",
|
|
24
|
+
"description": "Objects that describe the structure of the system. Each structural item depicts a category within the system, such as a component folder, and MUST be implemented within each of the system's variants",
|
|
25
|
+
"items": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"properties": {
|
|
28
|
+
"name": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"description": "Machine-friendly name of the structure"
|
|
31
|
+
},
|
|
32
|
+
"description": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"description": "Text describing the intended purpose of the structural item"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"additionalProperties": false,
|
|
38
|
+
"required": ["name", "description"]
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"variants": {
|
|
42
|
+
"type": "array",
|
|
43
|
+
"description": "Array containing objects that describe the variants available within the system",
|
|
44
|
+
"items": {
|
|
45
|
+
"anyOf": [
|
|
46
|
+
{
|
|
47
|
+
"type": "object",
|
|
48
|
+
"properties": {
|
|
49
|
+
"platform": {
|
|
50
|
+
"$ref": "variant.json#/definitions/platform"
|
|
51
|
+
},
|
|
52
|
+
"structureImplementations": {
|
|
53
|
+
"$ref": "variant.json#/definitions/structureImplementations"
|
|
54
|
+
},
|
|
55
|
+
"components": {
|
|
56
|
+
"$ref": "variant.json#/definitions/components"
|
|
57
|
+
},
|
|
58
|
+
"directories": {
|
|
59
|
+
"$ref": "variant.json#/definitions/directories"
|
|
60
|
+
},
|
|
61
|
+
"files": {
|
|
62
|
+
"$ref": "variant.json#/definitions/files"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"additionalProperties": false,
|
|
66
|
+
"required": ["platform", "structureImplementations", "components"]
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"additionalProperties": false,
|
|
73
|
+
"required": ["name", "homepage", "repository", "structure"]
|
|
74
|
+
}
|