├── .gitattributes ├── README.md ├── baseCookie.js ├── checkJdCk.js ├── editEnv.js ├── fingerprint.js ├── h5st3.1.js ├── jd_try.js ├── jsToken.js ├── node_modules ├── .package-lock.json ├── ajv │ ├── .runkit_example.js │ ├── LICENSE │ ├── README.md │ ├── dist │ │ ├── 2019.d.ts │ │ ├── 2019.js │ │ ├── 2019.js.map │ │ ├── 2020.d.ts │ │ ├── 2020.js │ │ ├── 2020.js.map │ │ ├── ajv.d.ts │ │ ├── ajv.js │ │ ├── ajv.js.map │ │ ├── compile │ │ │ ├── codegen │ │ │ │ ├── code.d.ts │ │ │ │ ├── code.js │ │ │ │ ├── code.js.map │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── index.js.map │ │ │ │ ├── scope.d.ts │ │ │ │ ├── scope.js │ │ │ │ └── scope.js.map │ │ │ ├── errors.d.ts │ │ │ ├── errors.js │ │ │ ├── errors.js.map │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── index.js.map │ │ │ ├── jtd │ │ │ │ ├── parse.d.ts │ │ │ │ ├── parse.js │ │ │ │ ├── parse.js.map │ │ │ │ ├── serialize.d.ts │ │ │ │ ├── serialize.js │ │ │ │ ├── serialize.js.map │ │ │ │ ├── types.d.ts │ │ │ │ ├── types.js │ │ │ │ └── types.js.map │ │ │ ├── names.d.ts │ │ │ ├── names.js │ │ │ ├── names.js.map │ │ │ ├── ref_error.d.ts │ │ │ ├── ref_error.js │ │ │ ├── ref_error.js.map │ │ │ ├── resolve.d.ts │ │ │ ├── resolve.js │ │ │ ├── resolve.js.map │ │ │ ├── rules.d.ts │ │ │ ├── rules.js │ │ │ ├── rules.js.map │ │ │ ├── util.d.ts │ │ │ ├── util.js │ │ │ ├── util.js.map │ │ │ └── validate │ │ │ │ ├── applicability.d.ts │ │ │ │ ├── applicability.js │ │ │ │ ├── applicability.js.map │ │ │ │ ├── boolSchema.d.ts │ │ │ │ ├── boolSchema.js │ │ │ │ ├── boolSchema.js.map │ │ │ │ ├── dataType.d.ts │ │ │ │ ├── dataType.js │ │ │ │ ├── dataType.js.map │ │ │ │ ├── defaults.d.ts │ │ │ │ ├── defaults.js │ │ │ │ ├── defaults.js.map │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── index.js.map │ │ │ │ ├── keyword.d.ts │ │ │ │ ├── keyword.js │ │ │ │ ├── keyword.js.map │ │ │ │ ├── subschema.d.ts │ │ │ │ ├── subschema.js │ │ │ │ └── subschema.js.map │ │ ├── core.d.ts │ │ ├── core.js │ │ ├── core.js.map │ │ ├── jtd.d.ts │ │ ├── jtd.js │ │ ├── jtd.js.map │ │ ├── refs │ │ │ ├── data.json │ │ │ ├── json-schema-2019-09 │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── index.js.map │ │ │ │ ├── meta │ │ │ │ │ ├── applicator.json │ │ │ │ │ ├── content.json │ │ │ │ │ ├── core.json │ │ │ │ │ ├── format.json │ │ │ │ │ ├── meta-data.json │ │ │ │ │ └── validation.json │ │ │ │ └── schema.json │ │ │ ├── json-schema-2020-12 │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── index.js.map │ │ │ │ ├── meta │ │ │ │ │ ├── applicator.json │ │ │ │ │ ├── content.json │ │ │ │ │ ├── core.json │ │ │ │ │ ├── format-annotation.json │ │ │ │ │ ├── meta-data.json │ │ │ │ │ ├── unevaluated.json │ │ │ │ │ └── validation.json │ │ │ │ └── schema.json │ │ │ ├── json-schema-draft-06.json │ │ │ ├── json-schema-draft-07.json │ │ │ ├── json-schema-secure.json │ │ │ ├── jtd-schema.d.ts │ │ │ ├── jtd-schema.js │ │ │ └── jtd-schema.js.map │ │ ├── runtime │ │ │ ├── equal.d.ts │ │ │ ├── equal.js │ │ │ ├── equal.js.map │ │ │ ├── parseJson.d.ts │ │ │ ├── parseJson.js │ │ │ ├── parseJson.js.map │ │ │ ├── quote.d.ts │ │ │ ├── quote.js │ │ │ ├── quote.js.map │ │ │ ├── re2.d.ts │ │ │ ├── re2.js │ │ │ ├── re2.js.map │ │ │ ├── timestamp.d.ts │ │ │ ├── timestamp.js │ │ │ ├── timestamp.js.map │ │ │ ├── ucs2length.d.ts │ │ │ ├── ucs2length.js │ │ │ ├── ucs2length.js.map │ │ │ ├── uri.d.ts │ │ │ ├── uri.js │ │ │ ├── uri.js.map │ │ │ ├── validation_error.d.ts │ │ │ ├── validation_error.js │ │ │ └── validation_error.js.map │ │ ├── standalone │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── index.js.map │ │ │ ├── instance.d.ts │ │ │ ├── instance.js │ │ │ └── instance.js.map │ │ ├── types │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── index.js.map │ │ │ ├── json-schema.d.ts │ │ │ ├── json-schema.js │ │ │ ├── json-schema.js.map │ │ │ ├── jtd-schema.d.ts │ │ │ ├── jtd-schema.js │ │ │ └── jtd-schema.js.map │ │ └── vocabularies │ │ │ ├── applicator │ │ │ ├── additionalItems.d.ts │ │ │ ├── additionalItems.js │ │ │ ├── additionalItems.js.map │ │ │ ├── additionalProperties.d.ts │ │ │ ├── additionalProperties.js │ │ │ ├── additionalProperties.js.map │ │ │ ├── allOf.d.ts │ │ │ ├── allOf.js │ │ │ ├── allOf.js.map │ │ │ ├── anyOf.d.ts │ │ │ ├── anyOf.js │ │ │ ├── anyOf.js.map │ │ │ ├── contains.d.ts │ │ │ ├── contains.js │ │ │ ├── contains.js.map │ │ │ ├── dependencies.d.ts │ │ │ ├── dependencies.js │ │ │ ├── dependencies.js.map │ │ │ ├── dependentSchemas.d.ts │ │ │ ├── dependentSchemas.js │ │ │ ├── dependentSchemas.js.map │ │ │ ├── if.d.ts │ │ │ ├── if.js │ │ │ ├── if.js.map │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── index.js.map │ │ │ ├── items.d.ts │ │ │ ├── items.js │ │ │ ├── items.js.map │ │ │ ├── items2020.d.ts │ │ │ ├── items2020.js │ │ │ ├── items2020.js.map │ │ │ ├── not.d.ts │ │ │ ├── not.js │ │ │ ├── not.js.map │ │ │ ├── oneOf.d.ts │ │ │ ├── oneOf.js │ │ │ ├── oneOf.js.map │ │ │ ├── patternProperties.d.ts │ │ │ ├── patternProperties.js │ │ │ ├── patternProperties.js.map │ │ │ ├── prefixItems.d.ts │ │ │ ├── prefixItems.js │ │ │ ├── prefixItems.js.map │ │ │ ├── properties.d.ts │ │ │ ├── properties.js │ │ │ ├── properties.js.map │ │ │ ├── propertyNames.d.ts │ │ │ ├── propertyNames.js │ │ │ ├── propertyNames.js.map │ │ │ ├── thenElse.d.ts │ │ │ ├── thenElse.js │ │ │ └── thenElse.js.map │ │ │ ├── code.d.ts │ │ │ ├── code.js │ │ │ ├── code.js.map │ │ │ ├── core │ │ │ ├── id.d.ts │ │ │ ├── id.js │ │ │ ├── id.js.map │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── index.js.map │ │ │ ├── ref.d.ts │ │ │ ├── ref.js │ │ │ └── ref.js.map │ │ │ ├── discriminator │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── index.js.map │ │ │ ├── types.d.ts │ │ │ ├── types.js │ │ │ └── types.js.map │ │ │ ├── draft2020.d.ts │ │ │ ├── draft2020.js │ │ │ ├── draft2020.js.map │ │ │ ├── draft7.d.ts │ │ │ ├── draft7.js │ │ │ ├── draft7.js.map │ │ │ ├── dynamic │ │ │ ├── dynamicAnchor.d.ts │ │ │ ├── dynamicAnchor.js │ │ │ ├── dynamicAnchor.js.map │ │ │ ├── dynamicRef.d.ts │ │ │ ├── dynamicRef.js │ │ │ ├── dynamicRef.js.map │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── index.js.map │ │ │ ├── recursiveAnchor.d.ts │ │ │ ├── recursiveAnchor.js │ │ │ ├── recursiveAnchor.js.map │ │ │ ├── recursiveRef.d.ts │ │ │ ├── recursiveRef.js │ │ │ └── recursiveRef.js.map │ │ │ ├── errors.d.ts │ │ │ ├── errors.js │ │ │ ├── errors.js.map │ │ │ ├── format │ │ │ ├── format.d.ts │ │ │ ├── format.js │ │ │ ├── format.js.map │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ └── index.js.map │ │ │ ├── jtd │ │ │ ├── discriminator.d.ts │ │ │ ├── discriminator.js │ │ │ ├── discriminator.js.map │ │ │ ├── elements.d.ts │ │ │ ├── elements.js │ │ │ ├── elements.js.map │ │ │ ├── enum.d.ts │ │ │ ├── enum.js │ │ │ ├── enum.js.map │ │ │ ├── error.d.ts │ │ │ ├── error.js │ │ │ ├── error.js.map │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── index.js.map │ │ │ ├── metadata.d.ts │ │ │ ├── metadata.js │ │ │ ├── metadata.js.map │ │ │ ├── nullable.d.ts │ │ │ ├── nullable.js │ │ │ ├── nullable.js.map │ │ │ ├── optionalProperties.d.ts │ │ │ ├── optionalProperties.js │ │ │ ├── optionalProperties.js.map │ │ │ ├── properties.d.ts │ │ │ ├── properties.js │ │ │ ├── properties.js.map │ │ │ ├── ref.d.ts │ │ │ ├── ref.js │ │ │ ├── ref.js.map │ │ │ ├── type.d.ts │ │ │ ├── type.js │ │ │ ├── type.js.map │ │ │ ├── union.d.ts │ │ │ ├── union.js │ │ │ ├── union.js.map │ │ │ ├── values.d.ts │ │ │ ├── values.js │ │ │ └── values.js.map │ │ │ ├── metadata.d.ts │ │ │ ├── metadata.js │ │ │ ├── metadata.js.map │ │ │ ├── next.d.ts │ │ │ ├── next.js │ │ │ ├── next.js.map │ │ │ ├── unevaluated │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── index.js.map │ │ │ ├── unevaluatedItems.d.ts │ │ │ ├── unevaluatedItems.js │ │ │ ├── unevaluatedItems.js.map │ │ │ ├── unevaluatedProperties.d.ts │ │ │ ├── unevaluatedProperties.js │ │ │ └── unevaluatedProperties.js.map │ │ │ └── validation │ │ │ ├── const.d.ts │ │ │ ├── const.js │ │ │ ├── const.js.map │ │ │ ├── dependentRequired.d.ts │ │ │ ├── dependentRequired.js │ │ │ ├── dependentRequired.js.map │ │ │ ├── enum.d.ts │ │ │ ├── enum.js │ │ │ ├── enum.js.map │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── index.js.map │ │ │ ├── limitContains.d.ts │ │ │ ├── limitContains.js │ │ │ ├── limitContains.js.map │ │ │ ├── limitItems.d.ts │ │ │ ├── limitItems.js │ │ │ ├── limitItems.js.map │ │ │ ├── limitLength.d.ts │ │ │ ├── limitLength.js │ │ │ ├── limitLength.js.map │ │ │ ├── limitNumber.d.ts │ │ │ ├── limitNumber.js │ │ │ ├── limitNumber.js.map │ │ │ ├── limitProperties.d.ts │ │ │ ├── limitProperties.js │ │ │ ├── limitProperties.js.map │ │ │ ├── multipleOf.d.ts │ │ │ ├── multipleOf.js │ │ │ ├── multipleOf.js.map │ │ │ ├── pattern.d.ts │ │ │ ├── pattern.js │ │ │ ├── pattern.js.map │ │ │ ├── required.d.ts │ │ │ ├── required.js │ │ │ ├── required.js.map │ │ │ ├── uniqueItems.d.ts │ │ │ ├── uniqueItems.js │ │ │ └── uniqueItems.js.map │ ├── lib │ │ ├── 2019.ts │ │ ├── 2020.ts │ │ ├── ajv.ts │ │ ├── compile │ │ │ ├── codegen │ │ │ │ ├── code.ts │ │ │ │ ├── index.ts │ │ │ │ └── scope.ts │ │ │ ├── errors.ts │ │ │ ├── index.ts │ │ │ ├── jtd │ │ │ │ ├── parse.ts │ │ │ │ ├── serialize.ts │ │ │ │ └── types.ts │ │ │ ├── names.ts │ │ │ ├── ref_error.ts │ │ │ ├── resolve.ts │ │ │ ├── rules.ts │ │ │ ├── util.ts │ │ │ └── validate │ │ │ │ ├── applicability.ts │ │ │ │ ├── boolSchema.ts │ │ │ │ ├── dataType.ts │ │ │ │ ├── defaults.ts │ │ │ │ ├── index.ts │ │ │ │ ├── keyword.ts │ │ │ │ └── subschema.ts │ │ ├── core.ts │ │ ├── jtd.ts │ │ ├── refs │ │ │ ├── data.json │ │ │ ├── json-schema-2019-09 │ │ │ │ ├── index.ts │ │ │ │ ├── meta │ │ │ │ │ ├── applicator.json │ │ │ │ │ ├── content.json │ │ │ │ │ ├── core.json │ │ │ │ │ ├── format.json │ │ │ │ │ ├── meta-data.json │ │ │ │ │ └── validation.json │ │ │ │ └── schema.json │ │ │ ├── json-schema-2020-12 │ │ │ │ ├── index.ts │ │ │ │ ├── meta │ │ │ │ │ ├── applicator.json │ │ │ │ │ ├── content.json │ │ │ │ │ ├── core.json │ │ │ │ │ ├── format-annotation.json │ │ │ │ │ ├── meta-data.json │ │ │ │ │ ├── unevaluated.json │ │ │ │ │ └── validation.json │ │ │ │ └── schema.json │ │ │ ├── json-schema-draft-06.json │ │ │ ├── json-schema-draft-07.json │ │ │ ├── json-schema-secure.json │ │ │ └── jtd-schema.ts │ │ ├── runtime │ │ │ ├── equal.ts │ │ │ ├── parseJson.ts │ │ │ ├── quote.ts │ │ │ ├── re2.ts │ │ │ ├── timestamp.ts │ │ │ ├── ucs2length.ts │ │ │ ├── uri.ts │ │ │ └── validation_error.ts │ │ ├── standalone │ │ │ ├── index.ts │ │ │ └── instance.ts │ │ ├── types │ │ │ ├── index.ts │ │ │ ├── json-schema.ts │ │ │ └── jtd-schema.ts │ │ └── vocabularies │ │ │ ├── applicator │ │ │ ├── additionalItems.ts │ │ │ ├── additionalProperties.ts │ │ │ ├── allOf.ts │ │ │ ├── anyOf.ts │ │ │ ├── contains.ts │ │ │ ├── dependencies.ts │ │ │ ├── dependentSchemas.ts │ │ │ ├── if.ts │ │ │ ├── index.ts │ │ │ ├── items.ts │ │ │ ├── items2020.ts │ │ │ ├── not.ts │ │ │ ├── oneOf.ts │ │ │ ├── patternProperties.ts │ │ │ ├── prefixItems.ts │ │ │ ├── properties.ts │ │ │ ├── propertyNames.ts │ │ │ └── thenElse.ts │ │ │ ├── code.ts │ │ │ ├── core │ │ │ ├── id.ts │ │ │ ├── index.ts │ │ │ └── ref.ts │ │ │ ├── discriminator │ │ │ ├── index.ts │ │ │ └── types.ts │ │ │ ├── draft2020.ts │ │ │ ├── draft7.ts │ │ │ ├── dynamic │ │ │ ├── dynamicAnchor.ts │ │ │ ├── dynamicRef.ts │ │ │ ├── index.ts │ │ │ ├── recursiveAnchor.ts │ │ │ └── recursiveRef.ts │ │ │ ├── errors.ts │ │ │ ├── format │ │ │ ├── format.ts │ │ │ └── index.ts │ │ │ ├── jtd │ │ │ ├── discriminator.ts │ │ │ ├── elements.ts │ │ │ ├── enum.ts │ │ │ ├── error.ts │ │ │ ├── index.ts │ │ │ ├── metadata.ts │ │ │ ├── nullable.ts │ │ │ ├── optionalProperties.ts │ │ │ ├── properties.ts │ │ │ ├── ref.ts │ │ │ ├── type.ts │ │ │ ├── union.ts │ │ │ └── values.ts │ │ │ ├── metadata.ts │ │ │ ├── next.ts │ │ │ ├── unevaluated │ │ │ ├── index.ts │ │ │ ├── unevaluatedItems.ts │ │ │ └── unevaluatedProperties.ts │ │ │ └── validation │ │ │ ├── const.ts │ │ │ ├── dependentRequired.ts │ │ │ ├── enum.ts │ │ │ ├── index.ts │ │ │ ├── limitContains.ts │ │ │ ├── limitItems.ts │ │ │ ├── limitLength.ts │ │ │ ├── limitNumber.ts │ │ │ ├── limitProperties.ts │ │ │ ├── multipleOf.ts │ │ │ ├── pattern.ts │ │ │ ├── required.ts │ │ │ └── uniqueItems.ts │ └── package.json ├── ansi-regex │ ├── index.d.ts │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── ansi-styles │ ├── index.d.ts │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── astral-regex │ ├── index.d.ts │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── asynckit │ ├── LICENSE │ ├── README.md │ ├── bench.js │ ├── index.js │ ├── lib │ │ ├── abort.js │ │ ├── async.js │ │ ├── defer.js │ │ ├── iterate.js │ │ ├── readable_asynckit.js │ │ ├── readable_parallel.js │ │ ├── readable_serial.js │ │ ├── readable_serial_ordered.js │ │ ├── state.js │ │ ├── streamify.js │ │ └── terminator.js │ ├── package.json │ ├── parallel.js │ ├── serial.js │ ├── serialOrdered.js │ └── stream.js ├── axios │ ├── CHANGELOG.md │ ├── LICENSE │ ├── MIGRATION_GUIDE.md │ ├── README.md │ ├── SECURITY.md │ ├── dist │ │ ├── axios.js │ │ ├── axios.js.map │ │ ├── axios.min.js │ │ ├── axios.min.js.map │ │ ├── browser │ │ │ ├── axios.cjs │ │ │ └── axios.cjs.map │ │ ├── esm │ │ │ ├── axios.js │ │ │ ├── axios.js.map │ │ │ ├── axios.min.js │ │ │ └── axios.min.js.map │ │ └── node │ │ │ ├── axios.cjs │ │ │ └── axios.cjs.map │ ├── index.d.cts │ ├── index.d.ts │ ├── index.js │ ├── lib │ │ ├── adapters │ │ │ ├── README.md │ │ │ ├── adapters.js │ │ │ ├── http.js │ │ │ └── xhr.js │ │ ├── axios.js │ │ ├── cancel │ │ │ ├── CancelToken.js │ │ │ ├── CanceledError.js │ │ │ └── isCancel.js │ │ ├── core │ │ │ ├── Axios.js │ │ │ ├── AxiosError.js │ │ │ ├── AxiosHeaders.js │ │ │ ├── InterceptorManager.js │ │ │ ├── README.md │ │ │ ├── buildFullPath.js │ │ │ ├── dispatchRequest.js │ │ │ ├── mergeConfig.js │ │ │ ├── settle.js │ │ │ └── transformData.js │ │ ├── defaults │ │ │ ├── index.js │ │ │ └── transitional.js │ │ ├── env │ │ │ ├── README.md │ │ │ ├── classes │ │ │ │ └── FormData.js │ │ │ └── data.js │ │ ├── helpers │ │ │ ├── AxiosTransformStream.js │ │ │ ├── AxiosURLSearchParams.js │ │ │ ├── HttpStatusCode.js │ │ │ ├── README.md │ │ │ ├── ZlibHeaderTransformStream.js │ │ │ ├── bind.js │ │ │ ├── buildURL.js │ │ │ ├── callbackify.js │ │ │ ├── combineURLs.js │ │ │ ├── cookies.js │ │ │ ├── deprecatedMethod.js │ │ │ ├── formDataToJSON.js │ │ │ ├── formDataToStream.js │ │ │ ├── fromDataURI.js │ │ │ ├── isAbsoluteURL.js │ │ │ ├── isAxiosError.js │ │ │ ├── isURLSameOrigin.js │ │ │ ├── null.js │ │ │ ├── parseHeaders.js │ │ │ ├── parseProtocol.js │ │ │ ├── readBlob.js │ │ │ ├── speedometer.js │ │ │ ├── spread.js │ │ │ ├── throttle.js │ │ │ ├── toFormData.js │ │ │ ├── toURLEncodedForm.js │ │ │ └── validator.js │ │ ├── platform │ │ │ ├── browser │ │ │ │ ├── classes │ │ │ │ │ ├── Blob.js │ │ │ │ │ ├── FormData.js │ │ │ │ │ └── URLSearchParams.js │ │ │ │ └── index.js │ │ │ ├── index.js │ │ │ └── node │ │ │ │ ├── classes │ │ │ │ ├── FormData.js │ │ │ │ └── URLSearchParams.js │ │ │ │ └── index.js │ │ └── utils.js │ └── package.json ├── color-convert │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── conversions.js │ ├── index.js │ ├── package.json │ └── route.js ├── color-name │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── combined-stream │ ├── License │ ├── Readme.md │ ├── lib │ │ └── combined_stream.js │ ├── package.json │ └── yarn.lock ├── crypto-js │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── README.md │ ├── aes.js │ ├── bower.json │ ├── cipher-core.js │ ├── core.js │ ├── crypto-js.js │ ├── docs │ │ └── QuickStartGuide.wiki │ ├── enc-base64.js │ ├── enc-base64url.js │ ├── enc-hex.js │ ├── enc-latin1.js │ ├── enc-utf16.js │ ├── enc-utf8.js │ ├── evpkdf.js │ ├── format-hex.js │ ├── format-openssl.js │ ├── hmac-md5.js │ ├── hmac-ripemd160.js │ ├── hmac-sha1.js │ ├── hmac-sha224.js │ ├── hmac-sha256.js │ ├── hmac-sha3.js │ ├── hmac-sha384.js │ ├── hmac-sha512.js │ ├── hmac.js │ ├── index.js │ ├── lib-typedarrays.js │ ├── md5.js │ ├── mode-cfb.js │ ├── mode-ctr-gladman.js │ ├── mode-ctr.js │ ├── mode-ecb.js │ ├── mode-ofb.js │ ├── package.json │ ├── pad-ansix923.js │ ├── pad-iso10126.js │ ├── pad-iso97971.js │ ├── pad-nopadding.js │ ├── pad-pkcs7.js │ ├── pad-zeropadding.js │ ├── pbkdf2.js │ ├── rabbit-legacy.js │ ├── rabbit.js │ ├── rc4.js │ ├── ripemd160.js │ ├── sha1.js │ ├── sha224.js │ ├── sha256.js │ ├── sha3.js │ ├── sha384.js │ ├── sha512.js │ ├── tripledes.js │ └── x64-core.js ├── delayed-stream │ ├── .npmignore │ ├── License │ ├── Makefile │ ├── Readme.md │ ├── lib │ │ └── delayed_stream.js │ └── package.json ├── emoji-regex │ ├── LICENSE-MIT.txt │ ├── README.md │ ├── es2015 │ │ ├── index.js │ │ └── text.js │ ├── index.d.ts │ ├── index.js │ ├── package.json │ └── text.js ├── fast-deep-equal │ ├── LICENSE │ ├── README.md │ ├── es6 │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── react.d.ts │ │ └── react.js │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── react.d.ts │ └── react.js ├── follow-redirects │ ├── LICENSE │ ├── README.md │ ├── debug.js │ ├── http.js │ ├── https.js │ ├── index.js │ └── package.json ├── form-data │ ├── License │ ├── README.md.bak │ ├── Readme.md │ ├── index.d.ts │ ├── lib │ │ ├── browser.js │ │ ├── form_data.js │ │ └── populate.js │ └── package.json ├── is-fullwidth-code-point │ ├── index.d.ts │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── json-schema-traverse │ ├── .eslintrc.yml │ ├── .github │ │ ├── FUNDING.yml │ │ └── workflows │ │ │ ├── build.yml │ │ │ └── publish.yml │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── package.json │ └── spec │ │ ├── .eslintrc.yml │ │ ├── fixtures │ │ └── schema.js │ │ └── index.spec.js ├── lodash.truncate │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── mime-db │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── db.json │ ├── index.js │ └── package.json ├── mime-types │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── proxy-from-env │ ├── .eslintrc │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── punycode │ ├── LICENSE-MIT.txt │ ├── README.md │ ├── package.json │ ├── punycode.es6.js │ └── punycode.js ├── require-from-string │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── slice-ansi │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── string-width │ ├── index.d.ts │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── strip-ansi │ ├── index.d.ts │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── table │ ├── LICENSE │ ├── README.md │ ├── dist │ │ └── src │ │ │ ├── alignSpanningCell.d.ts │ │ │ ├── alignSpanningCell.js │ │ │ ├── alignSpanningCell.js.map │ │ │ ├── alignString.d.ts │ │ │ ├── alignString.js │ │ │ ├── alignString.js.map │ │ │ ├── alignTableData.d.ts │ │ │ ├── alignTableData.js │ │ │ ├── alignTableData.js.map │ │ │ ├── calculateCellHeight.d.ts │ │ │ ├── calculateCellHeight.js │ │ │ ├── calculateCellHeight.js.map │ │ │ ├── calculateMaximumColumnWidths.d.ts │ │ │ ├── calculateMaximumColumnWidths.js │ │ │ ├── calculateMaximumColumnWidths.js.map │ │ │ ├── calculateOutputColumnWidths.d.ts │ │ │ ├── calculateOutputColumnWidths.js │ │ │ ├── calculateOutputColumnWidths.js.map │ │ │ ├── calculateRowHeights.d.ts │ │ │ ├── calculateRowHeights.js │ │ │ ├── calculateRowHeights.js.map │ │ │ ├── calculateSpanningCellWidth.d.ts │ │ │ ├── calculateSpanningCellWidth.js │ │ │ ├── calculateSpanningCellWidth.js.map │ │ │ ├── createStream.d.ts │ │ │ ├── createStream.js │ │ │ ├── createStream.js.map │ │ │ ├── drawBorder.d.ts │ │ │ ├── drawBorder.js │ │ │ ├── drawBorder.js.map │ │ │ ├── drawContent.d.ts │ │ │ ├── drawContent.js │ │ │ ├── drawContent.js.map │ │ │ ├── drawRow.d.ts │ │ │ ├── drawRow.js │ │ │ ├── drawRow.js.map │ │ │ ├── drawTable.d.ts │ │ │ ├── drawTable.js │ │ │ ├── drawTable.js.map │ │ │ ├── generated │ │ │ ├── validators.d.ts │ │ │ ├── validators.js │ │ │ └── validators.js.map │ │ │ ├── getBorderCharacters.d.ts │ │ │ ├── getBorderCharacters.js │ │ │ ├── getBorderCharacters.js.map │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── index.js.map │ │ │ ├── injectHeaderConfig.d.ts │ │ │ ├── injectHeaderConfig.js │ │ │ ├── injectHeaderConfig.js.map │ │ │ ├── makeRangeConfig.d.ts │ │ │ ├── makeRangeConfig.js │ │ │ ├── makeRangeConfig.js.map │ │ │ ├── makeStreamConfig.d.ts │ │ │ ├── makeStreamConfig.js │ │ │ ├── makeStreamConfig.js.map │ │ │ ├── makeTableConfig.d.ts │ │ │ ├── makeTableConfig.js │ │ │ ├── makeTableConfig.js.map │ │ │ ├── mapDataUsingRowHeights.d.ts │ │ │ ├── mapDataUsingRowHeights.js │ │ │ ├── mapDataUsingRowHeights.js.map │ │ │ ├── padTableData.d.ts │ │ │ ├── padTableData.js │ │ │ ├── padTableData.js.map │ │ │ ├── schemas │ │ │ ├── config.json │ │ │ ├── shared.json │ │ │ └── streamConfig.json │ │ │ ├── spanningCellManager.d.ts │ │ │ ├── spanningCellManager.js │ │ │ ├── spanningCellManager.js.map │ │ │ ├── stringifyTableData.d.ts │ │ │ ├── stringifyTableData.js │ │ │ ├── stringifyTableData.js.map │ │ │ ├── table.d.ts │ │ │ ├── table.js │ │ │ ├── table.js.map │ │ │ ├── truncateTableData.d.ts │ │ │ ├── truncateTableData.js │ │ │ ├── truncateTableData.js.map │ │ │ ├── types │ │ │ ├── api.d.ts │ │ │ ├── api.js │ │ │ ├── api.js.map │ │ │ ├── internal.d.ts │ │ │ ├── internal.js │ │ │ └── internal.js.map │ │ │ ├── utils.d.ts │ │ │ ├── utils.js │ │ │ ├── utils.js.map │ │ │ ├── validateConfig.d.ts │ │ │ ├── validateConfig.js │ │ │ ├── validateConfig.js.map │ │ │ ├── validateSpanningCellConfig.d.ts │ │ │ ├── validateSpanningCellConfig.js │ │ │ ├── validateSpanningCellConfig.js.map │ │ │ ├── validateTableData.d.ts │ │ │ ├── validateTableData.js │ │ │ ├── validateTableData.js.map │ │ │ ├── wrapCell.d.ts │ │ │ ├── wrapCell.js │ │ │ ├── wrapCell.js.map │ │ │ ├── wrapString.d.ts │ │ │ ├── wrapString.js │ │ │ ├── wrapString.js.map │ │ │ ├── wrapWord.d.ts │ │ │ ├── wrapWord.js │ │ │ └── wrapWord.js.map │ └── package.json └── uri-js │ ├── LICENSE │ ├── README.md │ ├── dist │ ├── es5 │ │ ├── uri.all.d.ts │ │ ├── uri.all.js │ │ ├── uri.all.js.map │ │ ├── uri.all.min.d.ts │ │ ├── uri.all.min.js │ │ └── uri.all.min.js.map │ └── esnext │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.js.map │ │ ├── regexps-iri.d.ts │ │ ├── regexps-iri.js │ │ ├── regexps-iri.js.map │ │ ├── regexps-uri.d.ts │ │ ├── regexps-uri.js │ │ ├── regexps-uri.js.map │ │ ├── schemes │ │ ├── http.d.ts │ │ ├── http.js │ │ ├── http.js.map │ │ ├── https.d.ts │ │ ├── https.js │ │ ├── https.js.map │ │ ├── mailto.d.ts │ │ ├── mailto.js │ │ ├── mailto.js.map │ │ ├── urn-uuid.d.ts │ │ ├── urn-uuid.js │ │ ├── urn-uuid.js.map │ │ ├── urn.d.ts │ │ ├── urn.js │ │ ├── urn.js.map │ │ ├── ws.d.ts │ │ ├── ws.js │ │ ├── ws.js.map │ │ ├── wss.d.ts │ │ ├── wss.js │ │ └── wss.js.map │ │ ├── uri.d.ts │ │ ├── uri.js │ │ ├── uri.js.map │ │ ├── util.d.ts │ │ ├── util.js │ │ └── util.js.map │ ├── package.json │ └── yarn.lock ├── package-lock.json ├── package.json └── sendNotify.js /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /fingerprint.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | module.exports.genearteFingerprint = Qx 4 | -------------------------------------------------------------------------------- /node_modules/ajv/.runkit_example.js: -------------------------------------------------------------------------------- 1 | const Ajv = require("ajv") 2 | const ajv = new Ajv({allErrors: true}) 3 | 4 | const schema = { 5 | type: "object", 6 | properties: { 7 | foo: {type: "string"}, 8 | bar: {type: "number", maximum: 3}, 9 | }, 10 | required: ["foo", "bar"], 11 | additionalProperties: false, 12 | } 13 | 14 | const validate = ajv.compile(schema) 15 | 16 | test({foo: "abc", bar: 2}) 17 | test({foo: 2, bar: 4}) 18 | 19 | function test(data) { 20 | const valid = validate(data) 21 | if (valid) console.log("Valid!") 22 | else console.log("Invalid: " + ajv.errorsText(validate.errors)) 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/compile/errors.d.ts: -------------------------------------------------------------------------------- 1 | import type { KeywordErrorCxt, KeywordErrorDefinition } from "../types"; 2 | import { CodeGen, Code, Name } from "./codegen"; 3 | export declare const keywordError: KeywordErrorDefinition; 4 | export declare const keyword$DataError: KeywordErrorDefinition; 5 | export interface ErrorPaths { 6 | instancePath?: Code; 7 | schemaPath?: string; 8 | parentSchema?: boolean; 9 | } 10 | export declare function reportError(cxt: KeywordErrorCxt, error?: KeywordErrorDefinition, errorPaths?: ErrorPaths, overrideAllErrors?: boolean): void; 11 | export declare function reportExtraError(cxt: KeywordErrorCxt, error?: KeywordErrorDefinition, errorPaths?: ErrorPaths): void; 12 | export declare function resetErrorsCount(gen: CodeGen, errsCount: Name): void; 13 | export declare function extendErrors({ gen, keyword, schemaValue, data, errsCount, it, }: KeywordErrorCxt): void; 14 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/compile/jtd/parse.d.ts: -------------------------------------------------------------------------------- 1 | import type Ajv from "../../core"; 2 | import { SchemaObjectMap } from "./types"; 3 | import { SchemaEnv } from ".."; 4 | export default function compileParser(this: Ajv, sch: SchemaEnv, definitions: SchemaObjectMap): SchemaEnv; 5 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/compile/jtd/serialize.d.ts: -------------------------------------------------------------------------------- 1 | import type Ajv from "../../core"; 2 | import { SchemaObjectMap } from "./types"; 3 | import { SchemaEnv } from ".."; 4 | export default function compileSerializer(this: Ajv, sch: SchemaEnv, definitions: SchemaObjectMap): SchemaEnv; 5 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/compile/jtd/types.d.ts: -------------------------------------------------------------------------------- 1 | import type { SchemaObject } from "../../types"; 2 | export type SchemaObjectMap = { 3 | [Ref in string]?: SchemaObject; 4 | }; 5 | export declare const jtdForms: readonly ["elements", "values", "discriminator", "properties", "optionalProperties", "enum", "type", "ref"]; 6 | export type JTDForm = typeof jtdForms[number]; 7 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/compile/jtd/types.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.jtdForms = void 0; 4 | exports.jtdForms = [ 5 | "elements", 6 | "values", 7 | "discriminator", 8 | "properties", 9 | "optionalProperties", 10 | "enum", 11 | "type", 12 | "ref", 13 | ]; 14 | //# sourceMappingURL=types.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/compile/jtd/types.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../lib/compile/jtd/types.ts"],"names":[],"mappings":";;;AAIa,QAAA,QAAQ,GAAG;IACtB,UAAU;IACV,QAAQ;IACR,eAAe;IACf,YAAY;IACZ,oBAAoB;IACpB,MAAM;IACN,MAAM;IACN,KAAK;CACG,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/compile/names.d.ts: -------------------------------------------------------------------------------- 1 | import { Name } from "./codegen"; 2 | declare const names: { 3 | data: Name; 4 | valCxt: Name; 5 | instancePath: Name; 6 | parentData: Name; 7 | parentDataProperty: Name; 8 | rootData: Name; 9 | dynamicAnchors: Name; 10 | vErrors: Name; 11 | errors: Name; 12 | this: Name; 13 | self: Name; 14 | scope: Name; 15 | json: Name; 16 | jsonPos: Name; 17 | jsonLen: Name; 18 | jsonPart: Name; 19 | }; 20 | export default names; 21 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/compile/names.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"names.js","sourceRoot":"","sources":["../../lib/compile/names.ts"],"names":[],"mappings":";;AAAA,uCAA8B;AAE9B,MAAM,KAAK,GAAG;IACZ,gCAAgC;IAChC,IAAI,EAAE,IAAI,cAAI,CAAC,MAAM,CAAC;IACtB,sCAAsC;IACtC,MAAM,EAAE,IAAI,cAAI,CAAC,QAAQ,CAAC;IAC1B,YAAY,EAAE,IAAI,cAAI,CAAC,cAAc,CAAC;IACtC,UAAU,EAAE,IAAI,cAAI,CAAC,YAAY,CAAC;IAClC,kBAAkB,EAAE,IAAI,cAAI,CAAC,oBAAoB,CAAC;IAClD,QAAQ,EAAE,IAAI,cAAI,CAAC,UAAU,CAAC;IAC9B,cAAc,EAAE,IAAI,cAAI,CAAC,gBAAgB,CAAC;IAC1C,4BAA4B;IAC5B,OAAO,EAAE,IAAI,cAAI,CAAC,SAAS,CAAC;IAC5B,MAAM,EAAE,IAAI,cAAI,CAAC,QAAQ,CAAC;IAC1B,IAAI,EAAE,IAAI,cAAI,CAAC,MAAM,CAAC;IACtB,YAAY;IACZ,IAAI,EAAE,IAAI,cAAI,CAAC,MAAM,CAAC;IACtB,KAAK,EAAE,IAAI,cAAI,CAAC,OAAO,CAAC;IACxB,wDAAwD;IACxD,IAAI,EAAE,IAAI,cAAI,CAAC,MAAM,CAAC;IACtB,OAAO,EAAE,IAAI,cAAI,CAAC,SAAS,CAAC;IAC5B,OAAO,EAAE,IAAI,cAAI,CAAC,SAAS,CAAC;IAC5B,QAAQ,EAAE,IAAI,cAAI,CAAC,UAAU,CAAC;CAC/B,CAAA;AAED,kBAAe,KAAK,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/compile/ref_error.d.ts: -------------------------------------------------------------------------------- 1 | import type { UriResolver } from "../types"; 2 | export default class MissingRefError extends Error { 3 | readonly missingRef: string; 4 | readonly missingSchema: string; 5 | constructor(resolver: UriResolver, baseId: string, ref: string, msg?: string); 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/compile/ref_error.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const resolve_1 = require("./resolve"); 4 | class MissingRefError extends Error { 5 | constructor(resolver, baseId, ref, msg) { 6 | super(msg || `can't resolve reference ${ref} from id ${baseId}`); 7 | this.missingRef = (0, resolve_1.resolveUrl)(resolver, baseId, ref); 8 | this.missingSchema = (0, resolve_1.normalizeId)((0, resolve_1.getFullPath)(resolver, this.missingRef)); 9 | } 10 | } 11 | exports.default = MissingRefError; 12 | //# sourceMappingURL=ref_error.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/compile/ref_error.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"ref_error.js","sourceRoot":"","sources":["../../lib/compile/ref_error.ts"],"names":[],"mappings":";;AAAA,uCAA8D;AAG9D,MAAqB,eAAgB,SAAQ,KAAK;IAIhD,YAAY,QAAqB,EAAE,MAAc,EAAE,GAAW,EAAE,GAAY;QAC1E,KAAK,CAAC,GAAG,IAAI,2BAA2B,GAAG,YAAY,MAAM,EAAE,CAAC,CAAA;QAChE,IAAI,CAAC,UAAU,GAAG,IAAA,oBAAU,EAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,CAAC,CAAA;QACnD,IAAI,CAAC,aAAa,GAAG,IAAA,qBAAW,EAAC,IAAA,qBAAW,EAAC,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAA;IAC1E,CAAC;CACF;AATD,kCASC"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/compile/resolve.d.ts: -------------------------------------------------------------------------------- 1 | import type { AnySchema, AnySchemaObject, UriResolver } from "../types"; 2 | import type Ajv from "../ajv"; 3 | import type { URIComponents } from "uri-js"; 4 | export type LocalRefs = { 5 | [Ref in string]?: AnySchemaObject; 6 | }; 7 | export declare function inlineRef(schema: AnySchema, limit?: boolean | number): boolean; 8 | export declare function getFullPath(resolver: UriResolver, id?: string, normalize?: boolean): string; 9 | export declare function _getFullPath(resolver: UriResolver, p: URIComponents): string; 10 | export declare function normalizeId(id: string | undefined): string; 11 | export declare function resolveUrl(resolver: UriResolver, baseId: string, id: string): string; 12 | export declare function getSchemaRefs(this: Ajv, schema: AnySchema, baseId: string): LocalRefs; 13 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/compile/rules.d.ts: -------------------------------------------------------------------------------- 1 | import type { AddedKeywordDefinition } from "../types"; 2 | declare const _jsonTypes: readonly ["string", "number", "integer", "boolean", "null", "object", "array"]; 3 | export type JSONType = typeof _jsonTypes[number]; 4 | export declare function isJSONType(x: unknown): x is JSONType; 5 | type ValidationTypes = { 6 | [K in JSONType]: boolean | RuleGroup | undefined; 7 | }; 8 | export interface ValidationRules { 9 | rules: RuleGroup[]; 10 | post: RuleGroup; 11 | all: { 12 | [Key in string]?: boolean | Rule; 13 | }; 14 | keywords: { 15 | [Key in string]?: boolean; 16 | }; 17 | types: ValidationTypes; 18 | } 19 | export interface RuleGroup { 20 | type?: JSONType; 21 | rules: Rule[]; 22 | } 23 | export interface Rule { 24 | keyword: string; 25 | definition: AddedKeywordDefinition; 26 | } 27 | export declare function getRules(): ValidationRules; 28 | export {}; 29 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/compile/validate/applicability.d.ts: -------------------------------------------------------------------------------- 1 | import type { AnySchemaObject } from "../../types"; 2 | import type { SchemaObjCxt } from ".."; 3 | import type { JSONType, RuleGroup, Rule } from "../rules"; 4 | export declare function schemaHasRulesForType({ schema, self }: SchemaObjCxt, type: JSONType): boolean | undefined; 5 | export declare function shouldUseGroup(schema: AnySchemaObject, group: RuleGroup): boolean; 6 | export declare function shouldUseRule(schema: AnySchemaObject, rule: Rule): boolean | undefined; 7 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/compile/validate/applicability.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"applicability.js","sourceRoot":"","sources":["../../../lib/compile/validate/applicability.ts"],"names":[],"mappings":";;;AAIA,SAAgB,qBAAqB,CACnC,EAAC,MAAM,EAAE,IAAI,EAAe,EAC5B,IAAc;IAEd,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;IACpC,OAAO,KAAK,IAAI,KAAK,KAAK,IAAI,IAAI,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;AACjE,CAAC;AAND,sDAMC;AAED,SAAgB,cAAc,CAAC,MAAuB,EAAE,KAAgB;IACtE,OAAO,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,aAAa,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,wCAEC;AAED,SAAgB,aAAa,CAAC,MAAuB,EAAE,IAAU;;IAC/D,OAAO,CACL,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,SAAS;SAClC,MAAA,IAAI,CAAC,UAAU,CAAC,UAAU,0CAAE,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,SAAS,CAAC,CAAA,CACrE,CAAA;AACH,CAAC;AALD,sCAKC"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/compile/validate/boolSchema.d.ts: -------------------------------------------------------------------------------- 1 | import type { SchemaCxt } from ".."; 2 | import { Name } from "../codegen"; 3 | export declare function topBoolOrEmptySchema(it: SchemaCxt): void; 4 | export declare function boolOrEmptySchema(it: SchemaCxt, valid: Name): void; 5 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/compile/validate/defaults.d.ts: -------------------------------------------------------------------------------- 1 | import type { SchemaObjCxt } from ".."; 2 | export declare function assignDefaults(it: SchemaObjCxt, ty?: string): void; 3 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/compile/validate/keyword.d.ts: -------------------------------------------------------------------------------- 1 | import type { KeywordCxt } from "."; 2 | import type { AddedKeywordDefinition, MacroKeywordDefinition, FuncKeywordDefinition } from "../../types"; 3 | import type { SchemaObjCxt } from ".."; 4 | import type { JSONType } from "../rules"; 5 | export declare function macroKeywordCode(cxt: KeywordCxt, def: MacroKeywordDefinition): void; 6 | export declare function funcKeywordCode(cxt: KeywordCxt, def: FuncKeywordDefinition): void; 7 | export declare function validSchemaType(schema: unknown, schemaType: JSONType[], allowUndefined?: boolean): boolean; 8 | export declare function validateKeywordUsage({ schema, opts, self, errSchemaPath }: SchemaObjCxt, def: AddedKeywordDefinition, keyword: string): void; 9 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/refs/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", 3 | "description": "Meta-schema for $data reference (JSON AnySchema extension proposal)", 4 | "type": "object", 5 | "required": ["$data"], 6 | "properties": { 7 | "$data": { 8 | "type": "string", 9 | "anyOf": [{"format": "relative-json-pointer"}, {"format": "json-pointer"}] 10 | } 11 | }, 12 | "additionalProperties": false 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts: -------------------------------------------------------------------------------- 1 | import type Ajv from "../../core"; 2 | export default function addMetaSchema2019(this: Ajv, $data?: boolean): Ajv; 3 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/refs/json-schema-2019-09/index.ts"],"names":[],"mappings":";;AAEA,4CAA2C;AAC3C,qDAAoD;AACpD,+CAA8C;AAC9C,yCAAwC;AACxC,6CAA4C;AAC5C,kDAAiD;AACjD,qDAAoD;AAEpD,MAAM,iBAAiB,GAAG,CAAC,aAAa,CAAC,CAAA;AAEzC,SAAwB,iBAAiB,CAAY,KAAe;IAClE,CAAC;IAAA;QACC,UAAU;QACV,UAAU;QACV,OAAO;QACP,IAAI;QACJ,SAAS,CAAC,IAAI,EAAE,MAAM,CAAC;QACvB,QAAQ;QACR,SAAS,CAAC,IAAI,EAAE,UAAU,CAAC;KAC5B,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC,CAAA;IAC7D,OAAO,IAAI,CAAA;IAEX,SAAS,SAAS,CAAC,GAAQ,EAAE,GAAoB;QAC/C,OAAO,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC,GAAG,CAAA;IAClE,CAAC;AACH,CAAC;AAfD,oCAeC"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json-schema.org/draft/2019-09/schema", 3 | "$id": "https://json-schema.org/draft/2019-09/meta/content", 4 | "$vocabulary": { 5 | "https://json-schema.org/draft/2019-09/vocab/content": true 6 | }, 7 | "$recursiveAnchor": true, 8 | 9 | "title": "Content vocabulary meta-schema", 10 | 11 | "type": ["object", "boolean"], 12 | "properties": { 13 | "contentMediaType": {"type": "string"}, 14 | "contentEncoding": {"type": "string"}, 15 | "contentSchema": {"$recursiveRef": "#"} 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json-schema.org/draft/2019-09/schema", 3 | "$id": "https://json-schema.org/draft/2019-09/meta/format", 4 | "$vocabulary": { 5 | "https://json-schema.org/draft/2019-09/vocab/format": true 6 | }, 7 | "$recursiveAnchor": true, 8 | 9 | "title": "Format vocabulary meta-schema", 10 | "type": ["object", "boolean"], 11 | "properties": { 12 | "format": {"type": "string"} 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts: -------------------------------------------------------------------------------- 1 | import type Ajv from "../../core"; 2 | export default function addMetaSchema2020(this: Ajv, $data?: boolean): Ajv; 3 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/refs/json-schema-2020-12/index.ts"],"names":[],"mappings":";;AAEA,4CAA2C;AAC3C,qDAAoD;AACpD,uDAAsD;AACtD,+CAA8C;AAC9C,yCAAwC;AACxC,wDAAuD;AACvD,kDAAiD;AACjD,qDAAoD;AAEpD,MAAM,iBAAiB,GAAG,CAAC,aAAa,CAAC,CAAA;AAEzC,SAAwB,iBAAiB,CAAY,KAAe;IAClE,CAAC;IAAA;QACC,UAAU;QACV,UAAU;QACV,WAAW;QACX,OAAO;QACP,IAAI;QACJ,SAAS,CAAC,IAAI,EAAE,MAAM,CAAC;QACvB,QAAQ;QACR,SAAS,CAAC,IAAI,EAAE,UAAU,CAAC;KAC5B,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC,CAAA;IAC7D,OAAO,IAAI,CAAA;IAEX,SAAS,SAAS,CAAC,GAAQ,EAAE,GAAoB;QAC/C,OAAO,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC,GAAG,CAAA;IAClE,CAAC;AACH,CAAC;AAhBD,oCAgBC"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", 3 | "$id": "https://json-schema.org/draft/2020-12/meta/content", 4 | "$vocabulary": { 5 | "https://json-schema.org/draft/2020-12/vocab/content": true 6 | }, 7 | "$dynamicAnchor": "meta", 8 | 9 | "title": "Content vocabulary meta-schema", 10 | 11 | "type": ["object", "boolean"], 12 | "properties": { 13 | "contentEncoding": {"type": "string"}, 14 | "contentMediaType": {"type": "string"}, 15 | "contentSchema": {"$dynamicRef": "#meta"} 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", 3 | "$id": "https://json-schema.org/draft/2020-12/meta/format-annotation", 4 | "$vocabulary": { 5 | "https://json-schema.org/draft/2020-12/vocab/format-annotation": true 6 | }, 7 | "$dynamicAnchor": "meta", 8 | 9 | "title": "Format vocabulary meta-schema for annotation results", 10 | "type": ["object", "boolean"], 11 | "properties": { 12 | "format": {"type": "string"} 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", 3 | "$id": "https://json-schema.org/draft/2020-12/meta/unevaluated", 4 | "$vocabulary": { 5 | "https://json-schema.org/draft/2020-12/vocab/unevaluated": true 6 | }, 7 | "$dynamicAnchor": "meta", 8 | 9 | "title": "Unevaluated applicator vocabulary meta-schema", 10 | "type": ["object", "boolean"], 11 | "properties": { 12 | "unevaluatedItems": {"$dynamicRef": "#meta"}, 13 | "unevaluatedProperties": {"$dynamicRef": "#meta"} 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/refs/jtd-schema.d.ts: -------------------------------------------------------------------------------- 1 | import { SchemaObject } from "../types"; 2 | declare const jtdMetaSchema: SchemaObject; 3 | export default jtdMetaSchema; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/runtime/equal.d.ts: -------------------------------------------------------------------------------- 1 | import * as equal from "fast-deep-equal"; 2 | type Equal = typeof equal & { 3 | code: string; 4 | }; 5 | declare const _default: Equal; 6 | export default _default; 7 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/runtime/equal.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | // https://github.com/ajv-validator/ajv/issues/889 4 | const equal = require("fast-deep-equal"); 5 | equal.code = 'require("ajv/dist/runtime/equal").default'; 6 | exports.default = equal; 7 | //# sourceMappingURL=equal.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/runtime/equal.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"equal.js","sourceRoot":"","sources":["../../lib/runtime/equal.ts"],"names":[],"mappings":";;AAAA,kDAAkD;AAClD,yCAAwC;AAGtC,KAAe,CAAC,IAAI,GAAG,2CAA2C,CAAA;AAEpE,kBAAe,KAAc,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/runtime/parseJson.d.ts: -------------------------------------------------------------------------------- 1 | export declare function parseJson(s: string, pos: number): unknown; 2 | export declare namespace parseJson { 3 | var message: string | undefined; 4 | var position: number; 5 | var code: string; 6 | } 7 | export declare function parseJsonNumber(s: string, pos: number, maxDigits?: number): number | undefined; 8 | export declare namespace parseJsonNumber { 9 | var message: string | undefined; 10 | var position: number; 11 | var code: string; 12 | } 13 | export declare function parseJsonString(s: string, pos: number): string | undefined; 14 | export declare namespace parseJsonString { 15 | var message: string | undefined; 16 | var position: number; 17 | var code: string; 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/runtime/quote.d.ts: -------------------------------------------------------------------------------- 1 | declare function quote(s: string): string; 2 | declare namespace quote { 3 | var code: string; 4 | } 5 | export default quote; 6 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/runtime/quote.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"quote.js","sourceRoot":"","sources":["../../lib/runtime/quote.ts"],"names":[],"mappings":";;AAAA,MAAM,WAAW;AACf,2EAA2E;AAC3E,iIAAiI,CAAA;AAEnI,MAAM,OAAO,GAA6B;IACxC,IAAI,EAAE,KAAK;IACX,IAAI,EAAE,KAAK;IACX,IAAI,EAAE,KAAK;IACX,IAAI,EAAE,KAAK;IACX,IAAI,EAAE,KAAK;IACX,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACb,CAAA;AAED,SAAwB,KAAK,CAAC,CAAS;IACrC,WAAW,CAAC,SAAS,GAAG,CAAC,CAAA;IACzB,OAAO,CACL,GAAG;QACH,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;YAClB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE;gBAC3B,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;gBACpB,OAAO,OAAO,CAAC,KAAK,QAAQ;oBAC1B,CAAC,CAAC,CAAC;oBACH,CAAC,CAAC,KAAK,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA;YAC/D,CAAC,CAAC;YACJ,CAAC,CAAC,CAAC,CAAC;QACN,GAAG,CACJ,CAAA;AACH,CAAC;AAdD,wBAcC;AAED,KAAK,CAAC,IAAI,GAAG,2CAA2C,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/runtime/re2.d.ts: -------------------------------------------------------------------------------- 1 | import * as re2 from "re2"; 2 | type Re2 = typeof re2 & { 3 | code: string; 4 | }; 5 | declare const _default: Re2; 6 | export default _default; 7 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/runtime/re2.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const re2 = require("re2"); 4 | re2.code = 'require("ajv/dist/runtime/re2").default'; 5 | exports.default = re2; 6 | //# sourceMappingURL=re2.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/runtime/re2.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"re2.js","sourceRoot":"","sources":["../../lib/runtime/re2.ts"],"names":[],"mappings":";;AAAA,2BAA0B;AAGxB,GAAW,CAAC,IAAI,GAAG,yCAAyC,CAAA;AAE9D,kBAAe,GAAU,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/runtime/timestamp.d.ts: -------------------------------------------------------------------------------- 1 | declare function validTimestamp(str: string, allowDate: boolean): boolean; 2 | declare namespace validTimestamp { 3 | var code: string; 4 | } 5 | export default validTimestamp; 6 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/runtime/ucs2length.d.ts: -------------------------------------------------------------------------------- 1 | declare function ucs2length(str: string): number; 2 | declare namespace ucs2length { 3 | var code: string; 4 | } 5 | export default ucs2length; 6 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/runtime/ucs2length.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | // https://mathiasbynens.be/notes/javascript-encoding 4 | // https://github.com/bestiejs/punycode.js - punycode.ucs2.decode 5 | function ucs2length(str) { 6 | const len = str.length; 7 | let length = 0; 8 | let pos = 0; 9 | let value; 10 | while (pos < len) { 11 | length++; 12 | value = str.charCodeAt(pos++); 13 | if (value >= 0xd800 && value <= 0xdbff && pos < len) { 14 | // high surrogate, and there is a next character 15 | value = str.charCodeAt(pos); 16 | if ((value & 0xfc00) === 0xdc00) 17 | pos++; // low surrogate 18 | } 19 | } 20 | return length; 21 | } 22 | exports.default = ucs2length; 23 | ucs2length.code = 'require("ajv/dist/runtime/ucs2length").default'; 24 | //# sourceMappingURL=ucs2length.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/runtime/ucs2length.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"ucs2length.js","sourceRoot":"","sources":["../../lib/runtime/ucs2length.ts"],"names":[],"mappings":";;AAAA,qDAAqD;AACrD,iEAAiE;AACjE,SAAwB,UAAU,CAAC,GAAW;IAC5C,MAAM,GAAG,GAAG,GAAG,CAAC,MAAM,CAAA;IACtB,IAAI,MAAM,GAAG,CAAC,CAAA;IACd,IAAI,GAAG,GAAG,CAAC,CAAA;IACX,IAAI,KAAa,CAAA;IACjB,OAAO,GAAG,GAAG,GAAG,EAAE;QAChB,MAAM,EAAE,CAAA;QACR,KAAK,GAAG,GAAG,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC,CAAA;QAC7B,IAAI,KAAK,IAAI,MAAM,IAAI,KAAK,IAAI,MAAM,IAAI,GAAG,GAAG,GAAG,EAAE;YACnD,gDAAgD;YAChD,KAAK,GAAG,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;YAC3B,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,MAAM;gBAAE,GAAG,EAAE,CAAA,CAAC,gBAAgB;SACxD;KACF;IACD,OAAO,MAAM,CAAA;AACf,CAAC;AAfD,6BAeC;AAED,UAAU,CAAC,IAAI,GAAG,gDAAgD,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/runtime/uri.d.ts: -------------------------------------------------------------------------------- 1 | import * as uri from "uri-js"; 2 | type URI = typeof uri & { 3 | code: string; 4 | }; 5 | declare const _default: URI; 6 | export default _default; 7 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/runtime/uri.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const uri = require("uri-js"); 4 | uri.code = 'require("ajv/dist/runtime/uri").default'; 5 | exports.default = uri; 6 | //# sourceMappingURL=uri.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/runtime/uri.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"uri.js","sourceRoot":"","sources":["../../lib/runtime/uri.ts"],"names":[],"mappings":";;AAAA,8BAA6B;AAG3B,GAAW,CAAC,IAAI,GAAG,yCAAyC,CAAA;AAE9D,kBAAe,GAAU,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/runtime/validation_error.d.ts: -------------------------------------------------------------------------------- 1 | import type { ErrorObject } from "../types"; 2 | export default class ValidationError extends Error { 3 | readonly errors: Partial[]; 4 | readonly ajv: true; 5 | readonly validation: true; 6 | constructor(errors: Partial[]); 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/runtime/validation_error.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | class ValidationError extends Error { 4 | constructor(errors) { 5 | super("validation failed"); 6 | this.errors = errors; 7 | this.ajv = this.validation = true; 8 | } 9 | } 10 | exports.default = ValidationError; 11 | //# sourceMappingURL=validation_error.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/runtime/validation_error.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"validation_error.js","sourceRoot":"","sources":["../../lib/runtime/validation_error.ts"],"names":[],"mappings":";;AAEA,MAAqB,eAAgB,SAAQ,KAAK;IAKhD,YAAY,MAA8B;QACxC,KAAK,CAAC,mBAAmB,CAAC,CAAA;QAC1B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,UAAU,GAAG,IAAI,CAAA;IACnC,CAAC;CACF;AAVD,kCAUC"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/standalone/index.d.ts: -------------------------------------------------------------------------------- 1 | import type AjvCore from "../core"; 2 | import type { AnyValidateFunction } from "../types"; 3 | declare function standaloneCode(ajv: AjvCore, refsOrFunc?: { 4 | [K in string]?: string; 5 | } | AnyValidateFunction): string; 6 | export default standaloneCode; 7 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/standalone/instance.d.ts: -------------------------------------------------------------------------------- 1 | import Ajv, { AnySchema, AnyValidateFunction, ErrorObject } from "../core"; 2 | export default class AjvPack { 3 | readonly ajv: Ajv; 4 | errors?: ErrorObject[] | null; 5 | constructor(ajv: Ajv); 6 | validate(schemaKeyRef: AnySchema | string, data: unknown): boolean | Promise; 7 | compile(schema: AnySchema, meta?: boolean): AnyValidateFunction; 8 | getSchema(keyRef: string): AnyValidateFunction | undefined; 9 | private getStandalone; 10 | addSchema(...args: Parameters): AjvPack; 11 | addKeyword(...args: Parameters): AjvPack; 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/types/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/types/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/types/index.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/ajv/dist/types/json-schema.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=json-schema.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/types/json-schema.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"json-schema.js","sourceRoot":"","sources":["../../lib/types/json-schema.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/ajv/dist/types/jtd-schema.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=jtd-schema.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/types/jtd-schema.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"jtd-schema.js","sourceRoot":"","sources":["../../lib/types/jtd-schema.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types"; 2 | import type { KeywordCxt } from "../../compile/validate"; 3 | export type AdditionalItemsError = ErrorObject<"additionalItems", { 4 | limit: number; 5 | }, AnySchema>; 6 | declare const def: CodeKeywordDefinition; 7 | export declare function validateAdditionalItems(cxt: KeywordCxt, items: AnySchema[]): void; 8 | export default def; 9 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, AddedKeywordDefinition, ErrorObject, AnySchema } from "../../types"; 2 | export type AdditionalPropertiesError = ErrorObject<"additionalProperties", { 3 | additionalProperty: string; 4 | }, AnySchema>; 5 | declare const def: CodeKeywordDefinition & AddedKeywordDefinition; 6 | export default def; 7 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition } from "../../types"; 2 | declare const def: CodeKeywordDefinition; 3 | export default def; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/allOf.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const util_1 = require("../../compile/util"); 4 | const def = { 5 | keyword: "allOf", 6 | schemaType: "array", 7 | code(cxt) { 8 | const { gen, schema, it } = cxt; 9 | /* istanbul ignore if */ 10 | if (!Array.isArray(schema)) 11 | throw new Error("ajv implementation error"); 12 | const valid = gen.name("valid"); 13 | schema.forEach((sch, i) => { 14 | if ((0, util_1.alwaysValidSchema)(it, sch)) 15 | return; 16 | const schCxt = cxt.subschema({ keyword: "allOf", schemaProp: i }, valid); 17 | cxt.ok(valid); 18 | cxt.mergeEvaluated(schCxt); 19 | }); 20 | }, 21 | }; 22 | exports.default = def; 23 | //# sourceMappingURL=allOf.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/allOf.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"allOf.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/allOf.ts"],"names":[],"mappings":";;AAEA,6CAAoD;AAEpD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,OAAO;IACnB,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,GAAG,EAAE,MAAM,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;QAC7B,wBAAwB;QACxB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;YAAE,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;QACvE,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QAC/B,MAAM,CAAC,OAAO,CAAC,CAAC,GAAc,EAAE,CAAS,EAAE,EAAE;YAC3C,IAAI,IAAA,wBAAiB,EAAC,EAAE,EAAE,GAAG,CAAC;gBAAE,OAAM;YACtC,MAAM,MAAM,GAAG,GAAG,CAAC,SAAS,CAAC,EAAC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC,EAAC,EAAE,KAAK,CAAC,CAAA;YACtE,GAAG,CAAC,EAAE,CAAC,KAAK,CAAC,CAAA;YACb,GAAG,CAAC,cAAc,CAAC,MAAM,CAAC,CAAA;QAC5B,CAAC,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, ErrorNoParams, AnySchema } from "../../types"; 2 | export type AnyOfError = ErrorNoParams<"anyOf", AnySchema[]>; 3 | declare const def: CodeKeywordDefinition; 4 | export default def; 5 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/anyOf.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const code_1 = require("../code"); 4 | const def = { 5 | keyword: "anyOf", 6 | schemaType: "array", 7 | trackErrors: true, 8 | code: code_1.validateUnion, 9 | error: { message: "must match a schema in anyOf" }, 10 | }; 11 | exports.default = def; 12 | //# sourceMappingURL=anyOf.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"anyOf.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/anyOf.ts"],"names":[],"mappings":";;AACA,kCAAqC;AAIrC,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,OAAO;IACnB,WAAW,EAAE,IAAI;IACjB,IAAI,EAAE,oBAAa;IACnB,KAAK,EAAE,EAAC,OAAO,EAAE,8BAA8B,EAAC;CACjD,CAAA;AAED,kBAAe,GAAG,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/contains.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types"; 2 | export type ContainsError = ErrorObject<"contains", { 3 | minContains: number; 4 | maxContains?: number; 5 | }, AnySchema>; 6 | declare const def: CodeKeywordDefinition; 7 | export default def; 8 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition } from "../../types"; 2 | declare const def: CodeKeywordDefinition; 3 | export default def; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const dependencies_1 = require("./dependencies"); 4 | const def = { 5 | keyword: "dependentSchemas", 6 | type: "object", 7 | schemaType: "object", 8 | code: (cxt) => (0, dependencies_1.validateSchemaDeps)(cxt), 9 | }; 10 | exports.default = def; 11 | //# sourceMappingURL=dependentSchemas.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"dependentSchemas.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/dependentSchemas.ts"],"names":[],"mappings":";;AACA,iDAAiD;AAEjD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,kBAAkB;IAC3B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE,QAAQ;IACpB,IAAI,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,iCAAkB,EAAC,GAAG,CAAC;CACvC,CAAA;AAED,kBAAe,GAAG,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/if.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types"; 2 | export type IfKeywordError = ErrorObject<"if", { 3 | failingKeyword: string; 4 | }, AnySchema>; 5 | declare const def: CodeKeywordDefinition; 6 | export default def; 7 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { ErrorNoParams, Vocabulary } from "../../types"; 2 | import { AdditionalItemsError } from "./additionalItems"; 3 | import { ItemsError } from "./items2020"; 4 | import { ContainsError } from "./contains"; 5 | import { DependenciesError } from "./dependencies"; 6 | import { PropertyNamesError } from "./propertyNames"; 7 | import { AdditionalPropertiesError } from "./additionalProperties"; 8 | import { NotKeywordError } from "./not"; 9 | import { AnyOfError } from "./anyOf"; 10 | import { OneOfError } from "./oneOf"; 11 | import { IfKeywordError } from "./if"; 12 | export default function getApplicator(draft2020?: boolean): Vocabulary; 13 | export type ApplicatorKeywordError = ErrorNoParams<"false schema"> | AdditionalItemsError | ItemsError | ContainsError | AdditionalPropertiesError | DependenciesError | IfKeywordError | AnyOfError | OneOfError | NotKeywordError | PropertyNamesError; 14 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/index.ts"],"names":[],"mappings":";;AACA,uDAAuE;AACvE,+CAAuC;AACvC,mCAA2B;AAC3B,2CAAiD;AACjD,yCAAkD;AAClD,iDAA8D;AAC9D,mDAAiE;AACjE,iEAAsF;AACtF,6CAAqC;AACrC,2DAAmD;AACnD,+BAAiD;AACjD,mCAAyC;AACzC,mCAAyC;AACzC,mCAA2B;AAC3B,6BAA8C;AAC9C,yCAAiC;AAEjC,SAAwB,aAAa,CAAC,SAAS,GAAG,KAAK;IACrD,MAAM,UAAU,GAAG;QACjB,MAAM;QACN,aAAU;QACV,eAAK;QACL,eAAK;QACL,eAAK;QACL,YAAS;QACT,kBAAQ;QACR,SAAS;QACT,uBAAa;QACb,8BAAoB;QACpB,sBAAY;QACZ,oBAAU;QACV,2BAAiB;KAClB,CAAA;IACD,QAAQ;IACR,IAAI,SAAS;QAAE,UAAU,CAAC,IAAI,CAAC,qBAAW,EAAE,mBAAS,CAAC,CAAA;;QACjD,UAAU,CAAC,IAAI,CAAC,yBAAe,EAAE,eAAK,CAAC,CAAA;IAC5C,UAAU,CAAC,IAAI,CAAC,kBAAQ,CAAC,CAAA;IACzB,OAAO,UAAU,CAAA;AACnB,CAAC;AArBD,gCAqBC"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/items.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, AnySchema } from "../../types"; 2 | import type { KeywordCxt } from "../../compile/validate"; 3 | declare const def: CodeKeywordDefinition; 4 | export declare function validateTuple(cxt: KeywordCxt, extraItems: string, schArr?: AnySchema[]): void; 5 | export default def; 6 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types"; 2 | export type ItemsError = ErrorObject<"items", { 3 | limit: number; 4 | }, AnySchema>; 5 | declare const def: CodeKeywordDefinition; 6 | export default def; 7 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/not.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, ErrorNoParams, AnySchema } from "../../types"; 2 | export type NotKeywordError = ErrorNoParams<"not", AnySchema>; 3 | declare const def: CodeKeywordDefinition; 4 | export default def; 5 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/not.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const util_1 = require("../../compile/util"); 4 | const def = { 5 | keyword: "not", 6 | schemaType: ["object", "boolean"], 7 | trackErrors: true, 8 | code(cxt) { 9 | const { gen, schema, it } = cxt; 10 | if ((0, util_1.alwaysValidSchema)(it, schema)) { 11 | cxt.fail(); 12 | return; 13 | } 14 | const valid = gen.name("valid"); 15 | cxt.subschema({ 16 | keyword: "not", 17 | compositeRule: true, 18 | createErrors: false, 19 | allErrors: false, 20 | }, valid); 21 | cxt.failResult(valid, () => cxt.reset(), () => cxt.error()); 22 | }, 23 | error: { message: "must NOT be valid" }, 24 | }; 25 | exports.default = def; 26 | //# sourceMappingURL=not.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/not.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"not.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/not.ts"],"names":[],"mappings":";;AAEA,6CAAoD;AAIpD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;IACjC,WAAW,EAAE,IAAI;IACjB,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,GAAG,EAAE,MAAM,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;QAC7B,IAAI,IAAA,wBAAiB,EAAC,EAAE,EAAE,MAAM,CAAC,EAAE;YACjC,GAAG,CAAC,IAAI,EAAE,CAAA;YACV,OAAM;SACP;QAED,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QAC/B,GAAG,CAAC,SAAS,CACX;YACE,OAAO,EAAE,KAAK;YACd,aAAa,EAAE,IAAI;YACnB,YAAY,EAAE,KAAK;YACnB,SAAS,EAAE,KAAK;SACjB,EACD,KAAK,CACN,CAAA;QAED,GAAG,CAAC,UAAU,CACZ,KAAK,EACL,GAAG,EAAE,CAAC,GAAG,CAAC,KAAK,EAAE,EACjB,GAAG,EAAE,CAAC,GAAG,CAAC,KAAK,EAAE,CAClB,CAAA;IACH,CAAC;IACD,KAAK,EAAE,EAAC,OAAO,EAAE,mBAAmB,EAAC;CACtC,CAAA;AAED,kBAAe,GAAG,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types"; 2 | export type OneOfError = ErrorObject<"oneOf", { 3 | passingSchemas: [number, number] | null; 4 | }, AnySchema[]>; 5 | declare const def: CodeKeywordDefinition; 6 | export default def; 7 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition } from "../../types"; 2 | declare const def: CodeKeywordDefinition; 3 | export default def; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition } from "../../types"; 2 | declare const def: CodeKeywordDefinition; 3 | export default def; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/prefixItems.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const items_1 = require("./items"); 4 | const def = { 5 | keyword: "prefixItems", 6 | type: "array", 7 | schemaType: ["array"], 8 | before: "uniqueItems", 9 | code: (cxt) => (0, items_1.validateTuple)(cxt, "items"), 10 | }; 11 | exports.default = def; 12 | //# sourceMappingURL=prefixItems.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"prefixItems.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/prefixItems.ts"],"names":[],"mappings":";;AACA,mCAAqC;AAErC,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,aAAa;IACtB,IAAI,EAAE,OAAO;IACb,UAAU,EAAE,CAAC,OAAO,CAAC;IACrB,MAAM,EAAE,aAAa;IACrB,IAAI,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,qBAAa,EAAC,GAAG,EAAE,OAAO,CAAC;CAC3C,CAAA;AAED,kBAAe,GAAG,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/properties.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition } from "../../types"; 2 | declare const def: CodeKeywordDefinition; 3 | export default def; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types"; 2 | export type PropertyNamesError = ErrorObject<"propertyNames", { 3 | propertyName: string; 4 | }, AnySchema>; 5 | declare const def: CodeKeywordDefinition; 6 | export default def; 7 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition } from "../../types"; 2 | declare const def: CodeKeywordDefinition; 3 | export default def; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/thenElse.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const util_1 = require("../../compile/util"); 4 | const def = { 5 | keyword: ["then", "else"], 6 | schemaType: ["object", "boolean"], 7 | code({ keyword, parentSchema, it }) { 8 | if (parentSchema.if === undefined) 9 | (0, util_1.checkStrictMode)(it, `"${keyword}" without "if" is ignored`); 10 | }, 11 | }; 12 | exports.default = def; 13 | //# sourceMappingURL=thenElse.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"thenElse.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/thenElse.ts"],"names":[],"mappings":";;AAEA,6CAAkD;AAElD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;IACjC,IAAI,CAAC,EAAC,OAAO,EAAE,YAAY,EAAE,EAAE,EAAa;QAC1C,IAAI,YAAY,CAAC,EAAE,KAAK,SAAS;YAAE,IAAA,sBAAe,EAAC,EAAE,EAAE,IAAI,OAAO,2BAA2B,CAAC,CAAA;IAChG,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/core/id.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition } from "../../types"; 2 | declare const def: CodeKeywordDefinition; 3 | export default def; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/core/id.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const def = { 4 | keyword: "id", 5 | code() { 6 | throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID'); 7 | }, 8 | }; 9 | exports.default = def; 10 | //# sourceMappingURL=id.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/core/id.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"id.js","sourceRoot":"","sources":["../../../lib/vocabularies/core/id.ts"],"names":[],"mappings":";;AAEA,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,IAAI;IACb,IAAI;QACF,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAA;IACzE,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/core/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { Vocabulary } from "../../types"; 2 | declare const core: Vocabulary; 3 | export default core; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/core/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const id_1 = require("./id"); 4 | const ref_1 = require("./ref"); 5 | const core = [ 6 | "$schema", 7 | "$id", 8 | "$defs", 9 | "$vocabulary", 10 | { keyword: "$comment" }, 11 | "definitions", 12 | id_1.default, 13 | ref_1.default, 14 | ]; 15 | exports.default = core; 16 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/core/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/vocabularies/core/index.ts"],"names":[],"mappings":";;AACA,6BAA4B;AAC5B,+BAA8B;AAE9B,MAAM,IAAI,GAAe;IACvB,SAAS;IACT,KAAK;IACL,OAAO;IACP,aAAa;IACb,EAAC,OAAO,EAAE,UAAU,EAAC;IACrB,aAAa;IACb,YAAS;IACT,aAAU;CACX,CAAA;AAED,kBAAe,IAAI,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/core/ref.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition } from "../../types"; 2 | import type { KeywordCxt } from "../../compile/validate"; 3 | import { Code } from "../../compile/codegen"; 4 | import { SchemaEnv } from "../../compile"; 5 | declare const def: CodeKeywordDefinition; 6 | export declare function getValidate(cxt: KeywordCxt, sch: SchemaEnv): Code; 7 | export declare function callRef(cxt: KeywordCxt, v: Code, sch?: SchemaEnv, $async?: boolean): void; 8 | export default def; 9 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/discriminator/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition } from "../../types"; 2 | import { DiscrError, DiscrErrorObj } from "../discriminator/types"; 3 | export type DiscriminatorError = DiscrErrorObj | DiscrErrorObj; 4 | declare const def: CodeKeywordDefinition; 5 | export default def; 6 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/discriminator/types.d.ts: -------------------------------------------------------------------------------- 1 | import type { ErrorObject } from "../../types"; 2 | export declare enum DiscrError { 3 | Tag = "tag", 4 | Mapping = "mapping" 5 | } 6 | export type DiscrErrorObj = ErrorObject<"discriminator", { 7 | error: E; 8 | tag: string; 9 | tagValue: unknown; 10 | }, string>; 11 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/discriminator/types.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.DiscrError = void 0; 4 | var DiscrError; 5 | (function (DiscrError) { 6 | DiscrError["Tag"] = "tag"; 7 | DiscrError["Mapping"] = "mapping"; 8 | })(DiscrError = exports.DiscrError || (exports.DiscrError = {})); 9 | //# sourceMappingURL=types.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/discriminator/types.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../lib/vocabularies/discriminator/types.ts"],"names":[],"mappings":";;;AAEA,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,yBAAW,CAAA;IACX,iCAAmB,CAAA;AACrB,CAAC,EAHW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAGrB"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/draft2020.d.ts: -------------------------------------------------------------------------------- 1 | import type { Vocabulary } from "../types"; 2 | declare const draft2020Vocabularies: Vocabulary[]; 3 | export default draft2020Vocabularies; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/draft2020.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const core_1 = require("./core"); 4 | const validation_1 = require("./validation"); 5 | const applicator_1 = require("./applicator"); 6 | const dynamic_1 = require("./dynamic"); 7 | const next_1 = require("./next"); 8 | const unevaluated_1 = require("./unevaluated"); 9 | const format_1 = require("./format"); 10 | const metadata_1 = require("./metadata"); 11 | const draft2020Vocabularies = [ 12 | dynamic_1.default, 13 | core_1.default, 14 | validation_1.default, 15 | (0, applicator_1.default)(true), 16 | format_1.default, 17 | metadata_1.metadataVocabulary, 18 | metadata_1.contentVocabulary, 19 | next_1.default, 20 | unevaluated_1.default, 21 | ]; 22 | exports.default = draft2020Vocabularies; 23 | //# sourceMappingURL=draft2020.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/draft2020.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"draft2020.js","sourceRoot":"","sources":["../../lib/vocabularies/draft2020.ts"],"names":[],"mappings":";;AACA,iCAAmC;AACnC,6CAA+C;AAC/C,6CAAkD;AAClD,uCAAyC;AACzC,iCAAmC;AACnC,+CAAiD;AACjD,qCAAuC;AACvC,yCAAgE;AAEhE,MAAM,qBAAqB,GAAiB;IAC1C,iBAAiB;IACjB,cAAc;IACd,oBAAoB;IACpB,IAAA,oBAAuB,EAAC,IAAI,CAAC;IAC7B,gBAAgB;IAChB,6BAAkB;IAClB,4BAAiB;IACjB,cAAc;IACd,qBAAqB;CACtB,CAAA;AAED,kBAAe,qBAAqB,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/draft7.d.ts: -------------------------------------------------------------------------------- 1 | import type { Vocabulary } from "../types"; 2 | declare const draft7Vocabularies: Vocabulary[]; 3 | export default draft7Vocabularies; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/draft7.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const core_1 = require("./core"); 4 | const validation_1 = require("./validation"); 5 | const applicator_1 = require("./applicator"); 6 | const format_1 = require("./format"); 7 | const metadata_1 = require("./metadata"); 8 | const draft7Vocabularies = [ 9 | core_1.default, 10 | validation_1.default, 11 | (0, applicator_1.default)(), 12 | format_1.default, 13 | metadata_1.metadataVocabulary, 14 | metadata_1.contentVocabulary, 15 | ]; 16 | exports.default = draft7Vocabularies; 17 | //# sourceMappingURL=draft7.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/draft7.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"draft7.js","sourceRoot":"","sources":["../../lib/vocabularies/draft7.ts"],"names":[],"mappings":";;AACA,iCAAmC;AACnC,6CAA+C;AAC/C,6CAAkD;AAClD,qCAAuC;AACvC,yCAAgE;AAEhE,MAAM,kBAAkB,GAAiB;IACvC,cAAc;IACd,oBAAoB;IACpB,IAAA,oBAAuB,GAAE;IACzB,gBAAgB;IAChB,6BAAkB;IAClB,4BAAiB;CAClB,CAAA;AAED,kBAAe,kBAAkB,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition } from "../../types"; 2 | import type { KeywordCxt } from "../../compile/validate"; 3 | declare const def: CodeKeywordDefinition; 4 | export declare function dynamicAnchor(cxt: KeywordCxt, anchor: string): void; 5 | export default def; 6 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition } from "../../types"; 2 | import type { KeywordCxt } from "../../compile/validate"; 3 | declare const def: CodeKeywordDefinition; 4 | export declare function dynamicRef(cxt: KeywordCxt, ref: string): void; 5 | export default def; 6 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/dynamic/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { Vocabulary } from "../../types"; 2 | declare const dynamic: Vocabulary; 3 | export default dynamic; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/dynamic/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const dynamicAnchor_1 = require("./dynamicAnchor"); 4 | const dynamicRef_1 = require("./dynamicRef"); 5 | const recursiveAnchor_1 = require("./recursiveAnchor"); 6 | const recursiveRef_1 = require("./recursiveRef"); 7 | const dynamic = [dynamicAnchor_1.default, dynamicRef_1.default, recursiveAnchor_1.default, recursiveRef_1.default]; 8 | exports.default = dynamic; 9 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/dynamic/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/vocabularies/dynamic/index.ts"],"names":[],"mappings":";;AACA,mDAA2C;AAC3C,6CAAqC;AACrC,uDAA+C;AAC/C,iDAAyC;AAEzC,MAAM,OAAO,GAAe,CAAC,uBAAa,EAAE,oBAAU,EAAE,yBAAe,EAAE,sBAAY,CAAC,CAAA;AAEtF,kBAAe,OAAO,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition } from "../../types"; 2 | declare const def: CodeKeywordDefinition; 3 | export default def; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const dynamicAnchor_1 = require("./dynamicAnchor"); 4 | const util_1 = require("../../compile/util"); 5 | const def = { 6 | keyword: "$recursiveAnchor", 7 | schemaType: "boolean", 8 | code(cxt) { 9 | if (cxt.schema) 10 | (0, dynamicAnchor_1.dynamicAnchor)(cxt, ""); 11 | else 12 | (0, util_1.checkStrictMode)(cxt.it, "$recursiveAnchor: false is ignored"); 13 | }, 14 | }; 15 | exports.default = def; 16 | //# sourceMappingURL=recursiveAnchor.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"recursiveAnchor.js","sourceRoot":"","sources":["../../../lib/vocabularies/dynamic/recursiveAnchor.ts"],"names":[],"mappings":";;AACA,mDAA6C;AAC7C,6CAAkD;AAElD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,kBAAkB;IAC3B,UAAU,EAAE,SAAS;IACrB,IAAI,CAAC,GAAG;QACN,IAAI,GAAG,CAAC,MAAM;YAAE,IAAA,6BAAa,EAAC,GAAG,EAAE,EAAE,CAAC,CAAA;;YACjC,IAAA,sBAAe,EAAC,GAAG,CAAC,EAAE,EAAE,oCAAoC,CAAC,CAAA;IACpE,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition } from "../../types"; 2 | declare const def: CodeKeywordDefinition; 3 | export default def; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const dynamicRef_1 = require("./dynamicRef"); 4 | const def = { 5 | keyword: "$recursiveRef", 6 | schemaType: "string", 7 | code: (cxt) => (0, dynamicRef_1.dynamicRef)(cxt, cxt.schema), 8 | }; 9 | exports.default = def; 10 | //# sourceMappingURL=recursiveRef.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"recursiveRef.js","sourceRoot":"","sources":["../../../lib/vocabularies/dynamic/recursiveRef.ts"],"names":[],"mappings":";;AACA,6CAAuC;AAEvC,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,eAAe;IACxB,UAAU,EAAE,QAAQ;IACpB,IAAI,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,uBAAU,EAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC;CAC3C,CAAA;AAED,kBAAe,GAAG,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/errors.d.ts: -------------------------------------------------------------------------------- 1 | import type { TypeError } from "../compile/validate/dataType"; 2 | import type { ApplicatorKeywordError } from "./applicator"; 3 | import type { ValidationKeywordError } from "./validation"; 4 | import type { FormatError } from "./format/format"; 5 | import type { UnevaluatedPropertiesError } from "./unevaluated/unevaluatedProperties"; 6 | import type { UnevaluatedItemsError } from "./unevaluated/unevaluatedItems"; 7 | import type { DependentRequiredError } from "./validation/dependentRequired"; 8 | import type { DiscriminatorError } from "./discriminator"; 9 | export type DefinedError = TypeError | ApplicatorKeywordError | ValidationKeywordError | FormatError | UnevaluatedPropertiesError | UnevaluatedItemsError | DependentRequiredError | DiscriminatorError; 10 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/errors.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=errors.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/errors.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../lib/vocabularies/errors.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/format/format.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, ErrorObject } from "../../types"; 2 | export type FormatError = ErrorObject<"format", { 3 | format: string; 4 | }, string | { 5 | $data: string; 6 | }>; 7 | declare const def: CodeKeywordDefinition; 8 | export default def; 9 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/format/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { Vocabulary } from "../../types"; 2 | declare const format: Vocabulary; 3 | export default format; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/format/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const format_1 = require("./format"); 4 | const format = [format_1.default]; 5 | exports.default = format; 6 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/format/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/vocabularies/format/index.ts"],"names":[],"mappings":";;AACA,qCAAoC;AAEpC,MAAM,MAAM,GAAe,CAAC,gBAAa,CAAC,CAAA;AAE1C,kBAAe,MAAM,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition } from "../../types"; 2 | import { _JTDTypeError } from "./error"; 3 | import { DiscrError, DiscrErrorObj } from "../discriminator/types"; 4 | export type JTDDiscriminatorError = _JTDTypeError<"discriminator", "object", string> | DiscrErrorObj | DiscrErrorObj; 5 | declare const def: CodeKeywordDefinition; 6 | export default def; 7 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/elements.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, SchemaObject } from "../../types"; 2 | import { _JTDTypeError } from "./error"; 3 | export type JTDElementsError = _JTDTypeError<"elements", "array", SchemaObject>; 4 | declare const def: CodeKeywordDefinition; 5 | export default def; 6 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/elements.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"elements.js","sourceRoot":"","sources":["../../../lib/vocabularies/jtd/elements.ts"],"names":[],"mappings":";;AAEA,6CAAoD;AACpD,kCAAqC;AACrC,mDAA4C;AAC5C,yCAAwC;AACxC,yCAAwC;AACxC,mCAAgD;AAIhD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,UAAU;IACnB,UAAU,EAAE,QAAQ;IACpB,KAAK,EAAE,IAAA,iBAAS,EAAC,OAAO,CAAC;IACzB,IAAI,CAAC,GAAe;QAClB,IAAA,wBAAa,EAAC,GAAG,CAAC,CAAA;QAClB,MAAM,EAAC,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;QACnC,IAAI,IAAA,wBAAiB,EAAC,EAAE,EAAE,MAAM,CAAC;YAAE,OAAM;QACzC,MAAM,CAAC,KAAK,CAAC,GAAG,IAAA,wBAAa,EAAC,GAAG,CAAC,CAAA;QAClC,GAAG,CAAC,EAAE,CAAC,IAAA,aAAG,EAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CACtB,GAAG,CAAC,EAAE,CACJ,IAAA,WAAC,EAAA,iBAAiB,IAAI,GAAG,EACzB,GAAG,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,EAAE,IAAA,oBAAa,EAAC,GAAG,CAAC,CAAC,EAC3C,GAAG,EAAE,CAAC,GAAG,CAAC,KAAK,EAAE,CAClB,CACF,CAAA;QACD,GAAG,CAAC,EAAE,CAAC,KAAK,CAAC,CAAA;IACf,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/enum.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, ErrorObject } from "../../types"; 2 | export type JTDEnumError = ErrorObject<"enum", { 3 | allowedValues: string[]; 4 | }, string[]>; 5 | declare const def: CodeKeywordDefinition; 6 | export default def; 7 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/error.d.ts: -------------------------------------------------------------------------------- 1 | import type { KeywordErrorDefinition, KeywordErrorCxt, ErrorObject } from "../../types"; 2 | import { Code } from "../../compile/codegen"; 3 | export type _JTDTypeError = ErrorObject; 7 | export declare function typeError(t: string): KeywordErrorDefinition; 8 | export declare function typeErrorMessage({ parentSchema }: KeywordErrorCxt, t: string): string; 9 | export declare function typeErrorParams({ parentSchema }: KeywordErrorCxt, t: string): Code; 10 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/error.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"error.js","sourceRoot":"","sources":["../../../lib/vocabularies/jtd/error.ts"],"names":[],"mappings":";;;AACA,mDAA6C;AAQ7C,SAAgB,SAAS,CAAC,CAAS;IACjC,OAAO;QACL,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,gBAAgB,CAAC,GAAG,EAAE,CAAC,CAAC;QAC1C,MAAM,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,eAAe,CAAC,GAAG,EAAE,CAAC,CAAC;KACzC,CAAA;AACH,CAAC;AALD,8BAKC;AAED,SAAgB,gBAAgB,CAAC,EAAC,YAAY,EAAkB,EAAE,CAAS;IACzE,OAAO,CAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,QAAQ,EAAC,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,EAAE,CAAA;AACzE,CAAC;AAFD,4CAEC;AAED,SAAgB,eAAe,CAAC,EAAC,YAAY,EAAkB,EAAE,CAAS;IACxE,OAAO,IAAA,WAAC,EAAA,UAAU,CAAC,eAAe,CAAC,CAAC,CAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,QAAQ,CAAA,GAAG,CAAA;AAC/D,CAAC;AAFD,0CAEC"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { Vocabulary } from "../../types"; 2 | import { JTDTypeError } from "./type"; 3 | import { JTDEnumError } from "./enum"; 4 | import { JTDElementsError } from "./elements"; 5 | import { JTDPropertiesError } from "./properties"; 6 | import { JTDDiscriminatorError } from "./discriminator"; 7 | import { JTDValuesError } from "./values"; 8 | declare const jtdVocabulary: Vocabulary; 9 | export default jtdVocabulary; 10 | export type JTDErrorObject = JTDTypeError | JTDEnumError | JTDElementsError | JTDPropertiesError | JTDDiscriminatorError | JTDValuesError; 11 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/vocabularies/jtd/index.ts"],"names":[],"mappings":";;AACA,+BAA8B;AAC9B,iCAAgD;AAChD,iCAAgD;AAChD,yCAAqD;AACrD,6CAA2D;AAC3D,6DAAqD;AACrD,mDAAoE;AACpE,qCAA+C;AAC/C,mCAA2B;AAC3B,yCAAiC;AAEjC,MAAM,aAAa,GAAe;IAChC,aAAa;IACb,aAAU;IACV,cAAW;IACX,cAAW;IACX,kBAAQ;IACR,oBAAU;IACV,4BAAkB;IAClB,uBAAa;IACb,gBAAM;IACN,eAAK;IACL,kBAAQ;IACR,EAAC,OAAO,EAAE,sBAAsB,EAAE,UAAU,EAAE,SAAS,EAAC;IACxD,EAAC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAC;CAC7C,CAAA;AAED,kBAAe,aAAa,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts: -------------------------------------------------------------------------------- 1 | import { KeywordCxt } from "../../ajv"; 2 | import type { CodeKeywordDefinition } from "../../types"; 3 | declare const def: CodeKeywordDefinition; 4 | export declare function checkMetadata({ it, keyword }: KeywordCxt, metadata?: boolean): void; 5 | export default def; 6 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/metadata.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.checkMetadata = void 0; 4 | const util_1 = require("../../compile/util"); 5 | const def = { 6 | keyword: "metadata", 7 | schemaType: "object", 8 | code(cxt) { 9 | checkMetadata(cxt); 10 | const { gen, schema, it } = cxt; 11 | if ((0, util_1.alwaysValidSchema)(it, schema)) 12 | return; 13 | const valid = gen.name("valid"); 14 | cxt.subschema({ keyword: "metadata", jtdMetadata: true }, valid); 15 | cxt.ok(valid); 16 | }, 17 | }; 18 | function checkMetadata({ it, keyword }, metadata) { 19 | if (it.jtdMetadata !== metadata) { 20 | throw new Error(`JTD: "${keyword}" cannot be used in this schema location`); 21 | } 22 | } 23 | exports.checkMetadata = checkMetadata; 24 | exports.default = def; 25 | //# sourceMappingURL=metadata.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/metadata.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../../lib/vocabularies/jtd/metadata.ts"],"names":[],"mappings":";;;AAEA,6CAAoD;AAEpD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,UAAU;IACnB,UAAU,EAAE,QAAQ;IACpB,IAAI,CAAC,GAAe;QAClB,aAAa,CAAC,GAAG,CAAC,CAAA;QAClB,MAAM,EAAC,GAAG,EAAE,MAAM,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;QAC7B,IAAI,IAAA,wBAAiB,EAAC,EAAE,EAAE,MAAM,CAAC;YAAE,OAAM;QACzC,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QAC/B,GAAG,CAAC,SAAS,CAAC,EAAC,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,IAAI,EAAC,EAAE,KAAK,CAAC,CAAA;QAC9D,GAAG,CAAC,EAAE,CAAC,KAAK,CAAC,CAAA;IACf,CAAC;CACF,CAAA;AAED,SAAgB,aAAa,CAAC,EAAC,EAAE,EAAE,OAAO,EAAa,EAAE,QAAkB;IACzE,IAAI,EAAE,CAAC,WAAW,KAAK,QAAQ,EAAE;QAC/B,MAAM,IAAI,KAAK,CAAC,SAAS,OAAO,0CAA0C,CAAC,CAAA;KAC5E;AACH,CAAC;AAJD,sCAIC;AAED,kBAAe,GAAG,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts: -------------------------------------------------------------------------------- 1 | import type { KeywordCxt } from "../../compile/validate"; 2 | import { Code, Name } from "../../compile/codegen"; 3 | export declare function checkNullable({ gen, data, parentSchema }: KeywordCxt, cond?: Code): [Name, Code]; 4 | export declare function checkNullableObject(cxt: KeywordCxt, cond: Code): [Name, Code]; 5 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/nullable.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"nullable.js","sourceRoot":"","sources":["../../../lib/vocabularies/jtd/nullable.ts"],"names":[],"mappings":";;;AACA,mDAA6D;AAE7D,SAAgB,aAAa,CAC3B,EAAC,GAAG,EAAE,IAAI,EAAE,YAAY,EAAa,EACrC,OAAa,aAAG;IAEhB,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;IAC/B,IAAI,YAAY,CAAC,QAAQ,EAAE;QACzB,GAAG,CAAC,GAAG,CAAC,KAAK,EAAE,IAAA,WAAC,EAAA,GAAG,IAAI,WAAW,CAAC,CAAA;QACnC,IAAI,GAAG,IAAA,aAAG,EAAC,KAAK,CAAC,CAAA;KAClB;SAAM;QACL,GAAG,CAAC,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;KACtB;IACD,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;AACtB,CAAC;AAZD,sCAYC;AAED,SAAgB,mBAAmB,CAAC,GAAe,EAAE,IAAU;IAC7D,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG,aAAa,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;IAC/C,OAAO,CAAC,KAAK,EAAE,IAAA,WAAC,EAAA,GAAG,KAAK,cAAc,GAAG,CAAC,IAAI,kCAAkC,GAAG,CAAC,IAAI,GAAG,CAAC,CAAA;AAC9F,CAAC;AAHD,kDAGC"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition } from "../../types"; 2 | declare const def: CodeKeywordDefinition; 3 | export default def; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const properties_1 = require("./properties"); 4 | const def = { 5 | keyword: "optionalProperties", 6 | schemaType: "object", 7 | error: properties_1.error, 8 | code(cxt) { 9 | if (cxt.parentSchema.properties) 10 | return; 11 | (0, properties_1.validateProperties)(cxt); 12 | }, 13 | }; 14 | exports.default = def; 15 | //# sourceMappingURL=optionalProperties.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"optionalProperties.js","sourceRoot":"","sources":["../../../lib/vocabularies/jtd/optionalProperties.ts"],"names":[],"mappings":";;AAEA,6CAAsD;AAEtD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,oBAAoB;IAC7B,UAAU,EAAE,QAAQ;IACpB,KAAK,EAAL,kBAAK;IACL,IAAI,CAAC,GAAe;QAClB,IAAI,GAAG,CAAC,YAAY,CAAC,UAAU;YAAE,OAAM;QACvC,IAAA,+BAAkB,EAAC,GAAG,CAAC,CAAA;IACzB,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/ref.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, AnySchemaObject } from "../../types"; 2 | declare const def: CodeKeywordDefinition; 3 | export declare function hasRef(schema: AnySchemaObject): boolean; 4 | export default def; 5 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/type.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition } from "../../types"; 2 | import { _JTDTypeError } from "./error"; 3 | export type JTDTypeError = _JTDTypeError<"type", JTDType, JTDType>; 4 | export type IntType = "int8" | "uint8" | "int16" | "uint16" | "int32" | "uint32"; 5 | export declare const intRange: { 6 | [T in IntType]: [number, number, number]; 7 | }; 8 | export type JTDType = "boolean" | "string" | "timestamp" | "float32" | "float64" | IntType; 9 | declare const def: CodeKeywordDefinition; 10 | export default def; 11 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/union.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition } from "../../types"; 2 | declare const def: CodeKeywordDefinition; 3 | export default def; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/union.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const code_1 = require("../code"); 4 | const def = { 5 | keyword: "union", 6 | schemaType: "array", 7 | trackErrors: true, 8 | code: code_1.validateUnion, 9 | error: { message: "must match a schema in union" }, 10 | }; 11 | exports.default = def; 12 | //# sourceMappingURL=union.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/union.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"union.js","sourceRoot":"","sources":["../../../lib/vocabularies/jtd/union.ts"],"names":[],"mappings":";;AACA,kCAAqC;AAErC,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,OAAO;IACnB,WAAW,EAAE,IAAI;IACjB,IAAI,EAAE,oBAAa;IACnB,KAAK,EAAE,EAAC,OAAO,EAAE,8BAA8B,EAAC;CACjD,CAAA;AAED,kBAAe,GAAG,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/jtd/values.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, SchemaObject } from "../../types"; 2 | import { _JTDTypeError } from "./error"; 3 | export type JTDValuesError = _JTDTypeError<"values", "object", SchemaObject>; 4 | declare const def: CodeKeywordDefinition; 5 | export default def; 6 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/metadata.d.ts: -------------------------------------------------------------------------------- 1 | import type { Vocabulary } from "../types"; 2 | export declare const metadataVocabulary: Vocabulary; 3 | export declare const contentVocabulary: Vocabulary; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/metadata.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.contentVocabulary = exports.metadataVocabulary = void 0; 4 | exports.metadataVocabulary = [ 5 | "title", 6 | "description", 7 | "default", 8 | "deprecated", 9 | "readOnly", 10 | "writeOnly", 11 | "examples", 12 | ]; 13 | exports.contentVocabulary = [ 14 | "contentMediaType", 15 | "contentEncoding", 16 | "contentSchema", 17 | ]; 18 | //# sourceMappingURL=metadata.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/metadata.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../lib/vocabularies/metadata.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAe;IAC5C,OAAO;IACP,aAAa;IACb,SAAS;IACT,YAAY;IACZ,UAAU;IACV,WAAW;IACX,UAAU;CACX,CAAA;AAEY,QAAA,iBAAiB,GAAe;IAC3C,kBAAkB;IAClB,iBAAiB;IACjB,eAAe;CAChB,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/next.d.ts: -------------------------------------------------------------------------------- 1 | import type { Vocabulary } from "../types"; 2 | declare const next: Vocabulary; 3 | export default next; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/next.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const dependentRequired_1 = require("./validation/dependentRequired"); 4 | const dependentSchemas_1 = require("./applicator/dependentSchemas"); 5 | const limitContains_1 = require("./validation/limitContains"); 6 | const next = [dependentRequired_1.default, dependentSchemas_1.default, limitContains_1.default]; 7 | exports.default = next; 8 | //# sourceMappingURL=next.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/next.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"next.js","sourceRoot":"","sources":["../../lib/vocabularies/next.ts"],"names":[],"mappings":";;AACA,sEAA8D;AAC9D,oEAA4D;AAC5D,8DAAsD;AAEtD,MAAM,IAAI,GAAe,CAAC,2BAAiB,EAAE,0BAAgB,EAAE,uBAAa,CAAC,CAAA;AAE7E,kBAAe,IAAI,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { Vocabulary } from "../../types"; 2 | declare const unevaluated: Vocabulary; 3 | export default unevaluated; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/unevaluated/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const unevaluatedProperties_1 = require("./unevaluatedProperties"); 4 | const unevaluatedItems_1 = require("./unevaluatedItems"); 5 | const unevaluated = [unevaluatedProperties_1.default, unevaluatedItems_1.default]; 6 | exports.default = unevaluated; 7 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/unevaluated/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/vocabularies/unevaluated/index.ts"],"names":[],"mappings":";;AACA,mEAA2D;AAC3D,yDAAiD;AAEjD,MAAM,WAAW,GAAe,CAAC,+BAAqB,EAAE,0BAAgB,CAAC,CAAA;AAEzE,kBAAe,WAAW,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types"; 2 | export type UnevaluatedItemsError = ErrorObject<"unevaluatedItems", { 3 | limit: number; 4 | }, AnySchema>; 5 | declare const def: CodeKeywordDefinition; 6 | export default def; 7 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types"; 2 | export type UnevaluatedPropertiesError = ErrorObject<"unevaluatedProperties", { 3 | unevaluatedProperty: string; 4 | }, AnySchema>; 5 | declare const def: CodeKeywordDefinition; 6 | export default def; 7 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/validation/const.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, ErrorObject } from "../../types"; 2 | export type ConstError = ErrorObject<"const", { 3 | allowedValue: any; 4 | }>; 5 | declare const def: CodeKeywordDefinition; 6 | export default def; 7 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/validation/const.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"const.js","sourceRoot":"","sources":["../../../lib/vocabularies/validation/const.ts"],"names":[],"mappings":";;AAEA,mDAAuC;AACvC,6CAA0C;AAC1C,+CAAuC;AAIvC,MAAM,KAAK,GAA2B;IACpC,OAAO,EAAE,2BAA2B;IACpC,MAAM,EAAE,CAAC,EAAC,UAAU,EAAC,EAAE,EAAE,CAAC,IAAA,WAAC,EAAA,kBAAkB,UAAU,GAAG;CAC3D,CAAA;AAED,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,IAAI;IACX,KAAK;IACL,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAC,GAAG,GAAG,CAAA;QAClD,IAAI,KAAK,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,IAAI,QAAQ,CAAC,EAAE;YAClD,GAAG,CAAC,SAAS,CAAC,IAAA,WAAC,EAAA,IAAI,IAAA,cAAO,EAAC,GAAG,EAAE,eAAK,CAAC,IAAI,IAAI,KAAK,UAAU,GAAG,CAAC,CAAA;SAClE;aAAM;YACL,GAAG,CAAC,IAAI,CAAC,IAAA,WAAC,EAAA,GAAG,MAAM,QAAQ,IAAI,EAAE,CAAC,CAAA;SACnC;IACH,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, ErrorObject } from "../../types"; 2 | import { DependenciesErrorParams, PropertyDependencies } from "../applicator/dependencies"; 3 | export type DependentRequiredError = ErrorObject<"dependentRequired", DependenciesErrorParams, PropertyDependencies>; 4 | declare const def: CodeKeywordDefinition; 5 | export default def; 6 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/validation/dependentRequired.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const dependencies_1 = require("../applicator/dependencies"); 4 | const def = { 5 | keyword: "dependentRequired", 6 | type: "object", 7 | schemaType: "object", 8 | error: dependencies_1.error, 9 | code: (cxt) => (0, dependencies_1.validatePropertyDeps)(cxt), 10 | }; 11 | exports.default = def; 12 | //# sourceMappingURL=dependentRequired.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"dependentRequired.js","sourceRoot":"","sources":["../../../lib/vocabularies/validation/dependentRequired.ts"],"names":[],"mappings":";;AACA,6DAKmC;AAQnC,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,mBAAmB;IAC5B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE,QAAQ;IACpB,KAAK,EAAL,oBAAK;IACL,IAAI,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,mCAAoB,EAAC,GAAG,CAAC;CACzC,CAAA;AAED,kBAAe,GAAG,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/validation/enum.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, ErrorObject } from "../../types"; 2 | export type EnumError = ErrorObject<"enum", { 3 | allowedValues: any[]; 4 | }, any[] | { 5 | $data: string; 6 | }>; 7 | declare const def: CodeKeywordDefinition; 8 | export default def; 9 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/validation/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { ErrorObject, Vocabulary } from "../../types"; 2 | import { LimitNumberError } from "./limitNumber"; 3 | import { MultipleOfError } from "./multipleOf"; 4 | import { PatternError } from "./pattern"; 5 | import { RequiredError } from "./required"; 6 | import { UniqueItemsError } from "./uniqueItems"; 7 | import { ConstError } from "./const"; 8 | import { EnumError } from "./enum"; 9 | declare const validation: Vocabulary; 10 | export default validation; 11 | type LimitError = ErrorObject<"maxItems" | "minItems" | "minProperties" | "maxProperties" | "minLength" | "maxLength", { 12 | limit: number; 13 | }, number | { 14 | $data: string; 15 | }>; 16 | export type ValidationKeywordError = LimitError | LimitNumberError | MultipleOfError | PatternError | RequiredError | UniqueItemsError | ConstError | EnumError; 17 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/validation/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/vocabularies/validation/index.ts"],"names":[],"mappings":";;AACA,+CAA2D;AAC3D,6CAAwD;AACxD,+CAAuC;AACvC,uCAA+C;AAC/C,uDAA+C;AAC/C,yCAAkD;AAClD,6CAAqC;AACrC,+CAA2D;AAC3D,mCAAgD;AAChD,iCAA6C;AAE7C,MAAM,UAAU,GAAe;IAC7B,SAAS;IACT,qBAAW;IACX,oBAAU;IACV,SAAS;IACT,qBAAW;IACX,iBAAO;IACP,SAAS;IACT,yBAAe;IACf,kBAAQ;IACR,QAAQ;IACR,oBAAU;IACV,qBAAW;IACX,MAAM;IACN,EAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,EAAC;IAClD,EAAC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAC;IAC5C,eAAY;IACZ,cAAW;CACZ,CAAA;AAED,kBAAe,UAAU,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition } from "../../types"; 2 | declare const def: CodeKeywordDefinition; 3 | export default def; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/validation/limitContains.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const util_1 = require("../../compile/util"); 4 | const def = { 5 | keyword: ["maxContains", "minContains"], 6 | type: "array", 7 | schemaType: "number", 8 | code({ keyword, parentSchema, it }) { 9 | if (parentSchema.contains === undefined) { 10 | (0, util_1.checkStrictMode)(it, `"${keyword}" without "contains" is ignored`); 11 | } 12 | }, 13 | }; 14 | exports.default = def; 15 | //# sourceMappingURL=limitContains.js.map -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/validation/limitContains.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"limitContains.js","sourceRoot":"","sources":["../../../lib/vocabularies/validation/limitContains.ts"],"names":[],"mappings":";;AAEA,6CAAkD;AAElD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,CAAC,aAAa,EAAE,aAAa,CAAC;IACvC,IAAI,EAAE,OAAO;IACb,UAAU,EAAE,QAAQ;IACpB,IAAI,CAAC,EAAC,OAAO,EAAE,YAAY,EAAE,EAAE,EAAa;QAC1C,IAAI,YAAY,CAAC,QAAQ,KAAK,SAAS,EAAE;YACvC,IAAA,sBAAe,EAAC,EAAE,EAAE,IAAI,OAAO,iCAAiC,CAAC,CAAA;SAClE;IACH,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition } from "../../types"; 2 | declare const def: CodeKeywordDefinition; 3 | export default def; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/validation/limitItems.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"limitItems.js","sourceRoot":"","sources":["../../../lib/vocabularies/validation/limitItems.ts"],"names":[],"mappings":";;AAEA,mDAAuD;AAEvD,MAAM,KAAK,GAA2B;IACpC,OAAO,CAAC,EAAC,OAAO,EAAE,UAAU,EAAC;QAC3B,MAAM,IAAI,GAAG,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAA;QACtD,OAAO,IAAA,aAAG,EAAA,iBAAiB,IAAI,SAAS,UAAU,QAAQ,CAAA;IAC5D,CAAC;IACD,MAAM,EAAE,CAAC,EAAC,UAAU,EAAC,EAAE,EAAE,CAAC,IAAA,WAAC,EAAA,WAAW,UAAU,GAAG;CACpD,CAAA;AAED,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC;IACjC,IAAI,EAAE,OAAO;IACb,UAAU,EAAE,QAAQ;IACpB,KAAK,EAAE,IAAI;IACX,KAAK;IACL,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAC,GAAG,GAAG,CAAA;QACvC,MAAM,EAAE,GAAG,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,mBAAS,CAAC,EAAE,CAAC,CAAC,CAAC,mBAAS,CAAC,EAAE,CAAA;QAC/D,GAAG,CAAC,SAAS,CAAC,IAAA,WAAC,EAAA,GAAG,IAAI,WAAW,EAAE,IAAI,UAAU,EAAE,CAAC,CAAA;IACtD,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition } from "../../types"; 2 | declare const def: CodeKeywordDefinition; 3 | export default def; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, ErrorObject } from "../../types"; 2 | type Kwd = "maximum" | "minimum" | "exclusiveMaximum" | "exclusiveMinimum"; 3 | type Comparison = "<=" | ">=" | "<" | ">"; 4 | export type LimitNumberError = ErrorObject; 10 | declare const def: CodeKeywordDefinition; 11 | export default def; 12 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition } from "../../types"; 2 | declare const def: CodeKeywordDefinition; 3 | export default def; 4 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"limitProperties.js","sourceRoot":"","sources":["../../../lib/vocabularies/validation/limitProperties.ts"],"names":[],"mappings":";;AAEA,mDAAuD;AAEvD,MAAM,KAAK,GAA2B;IACpC,OAAO,CAAC,EAAC,OAAO,EAAE,UAAU,EAAC;QAC3B,MAAM,IAAI,GAAG,OAAO,KAAK,eAAe,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAA;QAC3D,OAAO,IAAA,aAAG,EAAA,iBAAiB,IAAI,SAAS,UAAU,aAAa,CAAA;IACjE,CAAC;IACD,MAAM,EAAE,CAAC,EAAC,UAAU,EAAC,EAAE,EAAE,CAAC,IAAA,WAAC,EAAA,WAAW,UAAU,GAAG;CACpD,CAAA;AAED,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;IAC3C,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE,QAAQ;IACpB,KAAK,EAAE,IAAI;IACX,KAAK;IACL,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAC,GAAG,GAAG,CAAA;QACvC,MAAM,EAAE,GAAG,OAAO,KAAK,eAAe,CAAC,CAAC,CAAC,mBAAS,CAAC,EAAE,CAAC,CAAC,CAAC,mBAAS,CAAC,EAAE,CAAA;QACpE,GAAG,CAAC,SAAS,CAAC,IAAA,WAAC,EAAA,eAAe,IAAI,YAAY,EAAE,IAAI,UAAU,EAAE,CAAC,CAAA;IACnE,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, ErrorObject } from "../../types"; 2 | export type MultipleOfError = ErrorObject<"multipleOf", { 3 | multipleOf: number; 4 | }, number | { 5 | $data: string; 6 | }>; 7 | declare const def: CodeKeywordDefinition; 8 | export default def; 9 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/validation/pattern.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, ErrorObject } from "../../types"; 2 | export type PatternError = ErrorObject<"pattern", { 3 | pattern: string; 4 | }, string | { 5 | $data: string; 6 | }>; 7 | declare const def: CodeKeywordDefinition; 8 | export default def; 9 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/validation/required.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, ErrorObject } from "../../types"; 2 | export type RequiredError = ErrorObject<"required", { 3 | missingProperty: string; 4 | }, string[] | { 5 | $data: string; 6 | }>; 7 | declare const def: CodeKeywordDefinition; 8 | export default def; 9 | -------------------------------------------------------------------------------- /node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts: -------------------------------------------------------------------------------- 1 | import type { CodeKeywordDefinition, ErrorObject } from "../../types"; 2 | export type UniqueItemsError = ErrorObject<"uniqueItems", { 3 | i: number; 4 | j: number; 5 | }, boolean | { 6 | $data: string; 7 | }>; 8 | declare const def: CodeKeywordDefinition; 9 | export default def; 10 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/compile/jtd/types.ts: -------------------------------------------------------------------------------- 1 | import type {SchemaObject} from "../../types" 2 | 3 | export type SchemaObjectMap = {[Ref in string]?: SchemaObject} 4 | 5 | export const jtdForms = [ 6 | "elements", 7 | "values", 8 | "discriminator", 9 | "properties", 10 | "optionalProperties", 11 | "enum", 12 | "type", 13 | "ref", 14 | ] as const 15 | 16 | export type JTDForm = typeof jtdForms[number] 17 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/compile/ref_error.ts: -------------------------------------------------------------------------------- 1 | import {resolveUrl, normalizeId, getFullPath} from "./resolve" 2 | import type {UriResolver} from "../types" 3 | 4 | export default class MissingRefError extends Error { 5 | readonly missingRef: string 6 | readonly missingSchema: string 7 | 8 | constructor(resolver: UriResolver, baseId: string, ref: string, msg?: string) { 9 | super(msg || `can't resolve reference ${ref} from id ${baseId}`) 10 | this.missingRef = resolveUrl(resolver, baseId, ref) 11 | this.missingSchema = normalizeId(getFullPath(resolver, this.missingRef)) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/compile/validate/applicability.ts: -------------------------------------------------------------------------------- 1 | import type {AnySchemaObject} from "../../types" 2 | import type {SchemaObjCxt} from ".." 3 | import type {JSONType, RuleGroup, Rule} from "../rules" 4 | 5 | export function schemaHasRulesForType( 6 | {schema, self}: SchemaObjCxt, 7 | type: JSONType 8 | ): boolean | undefined { 9 | const group = self.RULES.types[type] 10 | return group && group !== true && shouldUseGroup(schema, group) 11 | } 12 | 13 | export function shouldUseGroup(schema: AnySchemaObject, group: RuleGroup): boolean { 14 | return group.rules.some((rule) => shouldUseRule(schema, rule)) 15 | } 16 | 17 | export function shouldUseRule(schema: AnySchemaObject, rule: Rule): boolean | undefined { 18 | return ( 19 | schema[rule.keyword] !== undefined || 20 | rule.definition.implements?.some((kwd) => schema[kwd] !== undefined) 21 | ) 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/refs/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", 3 | "description": "Meta-schema for $data reference (JSON AnySchema extension proposal)", 4 | "type": "object", 5 | "required": ["$data"], 6 | "properties": { 7 | "$data": { 8 | "type": "string", 9 | "anyOf": [{"format": "relative-json-pointer"}, {"format": "json-pointer"}] 10 | } 11 | }, 12 | "additionalProperties": false 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json-schema.org/draft/2019-09/schema", 3 | "$id": "https://json-schema.org/draft/2019-09/meta/content", 4 | "$vocabulary": { 5 | "https://json-schema.org/draft/2019-09/vocab/content": true 6 | }, 7 | "$recursiveAnchor": true, 8 | 9 | "title": "Content vocabulary meta-schema", 10 | 11 | "type": ["object", "boolean"], 12 | "properties": { 13 | "contentMediaType": {"type": "string"}, 14 | "contentEncoding": {"type": "string"}, 15 | "contentSchema": {"$recursiveRef": "#"} 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json-schema.org/draft/2019-09/schema", 3 | "$id": "https://json-schema.org/draft/2019-09/meta/format", 4 | "$vocabulary": { 5 | "https://json-schema.org/draft/2019-09/vocab/format": true 6 | }, 7 | "$recursiveAnchor": true, 8 | 9 | "title": "Format vocabulary meta-schema", 10 | "type": ["object", "boolean"], 11 | "properties": { 12 | "format": {"type": "string"} 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", 3 | "$id": "https://json-schema.org/draft/2020-12/meta/content", 4 | "$vocabulary": { 5 | "https://json-schema.org/draft/2020-12/vocab/content": true 6 | }, 7 | "$dynamicAnchor": "meta", 8 | 9 | "title": "Content vocabulary meta-schema", 10 | 11 | "type": ["object", "boolean"], 12 | "properties": { 13 | "contentEncoding": {"type": "string"}, 14 | "contentMediaType": {"type": "string"}, 15 | "contentSchema": {"$dynamicRef": "#meta"} 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", 3 | "$id": "https://json-schema.org/draft/2020-12/meta/format-annotation", 4 | "$vocabulary": { 5 | "https://json-schema.org/draft/2020-12/vocab/format-annotation": true 6 | }, 7 | "$dynamicAnchor": "meta", 8 | 9 | "title": "Format vocabulary meta-schema for annotation results", 10 | "type": ["object", "boolean"], 11 | "properties": { 12 | "format": {"type": "string"} 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", 3 | "$id": "https://json-schema.org/draft/2020-12/meta/unevaluated", 4 | "$vocabulary": { 5 | "https://json-schema.org/draft/2020-12/vocab/unevaluated": true 6 | }, 7 | "$dynamicAnchor": "meta", 8 | 9 | "title": "Unevaluated applicator vocabulary meta-schema", 10 | "type": ["object", "boolean"], 11 | "properties": { 12 | "unevaluatedItems": {"$dynamicRef": "#meta"}, 13 | "unevaluatedProperties": {"$dynamicRef": "#meta"} 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/runtime/equal.ts: -------------------------------------------------------------------------------- 1 | // https://github.com/ajv-validator/ajv/issues/889 2 | import * as equal from "fast-deep-equal" 3 | 4 | type Equal = typeof equal & {code: string} 5 | ;(equal as Equal).code = 'require("ajv/dist/runtime/equal").default' 6 | 7 | export default equal as Equal 8 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/runtime/re2.ts: -------------------------------------------------------------------------------- 1 | import * as re2 from "re2" 2 | 3 | type Re2 = typeof re2 & {code: string} 4 | ;(re2 as Re2).code = 'require("ajv/dist/runtime/re2").default' 5 | 6 | export default re2 as Re2 7 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/runtime/ucs2length.ts: -------------------------------------------------------------------------------- 1 | // https://mathiasbynens.be/notes/javascript-encoding 2 | // https://github.com/bestiejs/punycode.js - punycode.ucs2.decode 3 | export default function ucs2length(str: string): number { 4 | const len = str.length 5 | let length = 0 6 | let pos = 0 7 | let value: number 8 | while (pos < len) { 9 | length++ 10 | value = str.charCodeAt(pos++) 11 | if (value >= 0xd800 && value <= 0xdbff && pos < len) { 12 | // high surrogate, and there is a next character 13 | value = str.charCodeAt(pos) 14 | if ((value & 0xfc00) === 0xdc00) pos++ // low surrogate 15 | } 16 | } 17 | return length 18 | } 19 | 20 | ucs2length.code = 'require("ajv/dist/runtime/ucs2length").default' 21 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/runtime/uri.ts: -------------------------------------------------------------------------------- 1 | import * as uri from "uri-js" 2 | 3 | type URI = typeof uri & {code: string} 4 | ;(uri as URI).code = 'require("ajv/dist/runtime/uri").default' 5 | 6 | export default uri as URI 7 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/runtime/validation_error.ts: -------------------------------------------------------------------------------- 1 | import type {ErrorObject} from "../types" 2 | 3 | export default class ValidationError extends Error { 4 | readonly errors: Partial[] 5 | readonly ajv: true 6 | readonly validation: true 7 | 8 | constructor(errors: Partial[]) { 9 | super("validation failed") 10 | this.errors = errors 11 | this.ajv = this.validation = true 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/applicator/allOf.ts: -------------------------------------------------------------------------------- 1 | import type {CodeKeywordDefinition, AnySchema} from "../../types" 2 | import type {KeywordCxt} from "../../compile/validate" 3 | import {alwaysValidSchema} from "../../compile/util" 4 | 5 | const def: CodeKeywordDefinition = { 6 | keyword: "allOf", 7 | schemaType: "array", 8 | code(cxt: KeywordCxt) { 9 | const {gen, schema, it} = cxt 10 | /* istanbul ignore if */ 11 | if (!Array.isArray(schema)) throw new Error("ajv implementation error") 12 | const valid = gen.name("valid") 13 | schema.forEach((sch: AnySchema, i: number) => { 14 | if (alwaysValidSchema(it, sch)) return 15 | const schCxt = cxt.subschema({keyword: "allOf", schemaProp: i}, valid) 16 | cxt.ok(valid) 17 | cxt.mergeEvaluated(schCxt) 18 | }) 19 | }, 20 | } 21 | 22 | export default def 23 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/applicator/anyOf.ts: -------------------------------------------------------------------------------- 1 | import type {CodeKeywordDefinition, ErrorNoParams, AnySchema} from "../../types" 2 | import {validateUnion} from "../code" 3 | 4 | export type AnyOfError = ErrorNoParams<"anyOf", AnySchema[]> 5 | 6 | const def: CodeKeywordDefinition = { 7 | keyword: "anyOf", 8 | schemaType: "array", 9 | trackErrors: true, 10 | code: validateUnion, 11 | error: {message: "must match a schema in anyOf"}, 12 | } 13 | 14 | export default def 15 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts: -------------------------------------------------------------------------------- 1 | import type {CodeKeywordDefinition} from "../../types" 2 | import {validateSchemaDeps} from "./dependencies" 3 | 4 | const def: CodeKeywordDefinition = { 5 | keyword: "dependentSchemas", 6 | type: "object", 7 | schemaType: "object", 8 | code: (cxt) => validateSchemaDeps(cxt), 9 | } 10 | 11 | export default def 12 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts: -------------------------------------------------------------------------------- 1 | import type {CodeKeywordDefinition} from "../../types" 2 | import {validateTuple} from "./items" 3 | 4 | const def: CodeKeywordDefinition = { 5 | keyword: "prefixItems", 6 | type: "array", 7 | schemaType: ["array"], 8 | before: "uniqueItems", 9 | code: (cxt) => validateTuple(cxt, "items"), 10 | } 11 | 12 | export default def 13 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/applicator/thenElse.ts: -------------------------------------------------------------------------------- 1 | import type {CodeKeywordDefinition} from "../../types" 2 | import type {KeywordCxt} from "../../compile/validate" 3 | import {checkStrictMode} from "../../compile/util" 4 | 5 | const def: CodeKeywordDefinition = { 6 | keyword: ["then", "else"], 7 | schemaType: ["object", "boolean"], 8 | code({keyword, parentSchema, it}: KeywordCxt) { 9 | if (parentSchema.if === undefined) checkStrictMode(it, `"${keyword}" without "if" is ignored`) 10 | }, 11 | } 12 | 13 | export default def 14 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/core/id.ts: -------------------------------------------------------------------------------- 1 | import type {CodeKeywordDefinition} from "../../types" 2 | 3 | const def: CodeKeywordDefinition = { 4 | keyword: "id", 5 | code() { 6 | throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID') 7 | }, 8 | } 9 | 10 | export default def 11 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/core/index.ts: -------------------------------------------------------------------------------- 1 | import type {Vocabulary} from "../../types" 2 | import idKeyword from "./id" 3 | import refKeyword from "./ref" 4 | 5 | const core: Vocabulary = [ 6 | "$schema", 7 | "$id", 8 | "$defs", 9 | "$vocabulary", 10 | {keyword: "$comment"}, 11 | "definitions", 12 | idKeyword, 13 | refKeyword, 14 | ] 15 | 16 | export default core 17 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/discriminator/types.ts: -------------------------------------------------------------------------------- 1 | import type {ErrorObject} from "../../types" 2 | 3 | export enum DiscrError { 4 | Tag = "tag", 5 | Mapping = "mapping", 6 | } 7 | 8 | export type DiscrErrorObj = ErrorObject< 9 | "discriminator", 10 | {error: E; tag: string; tagValue: unknown}, 11 | string 12 | > 13 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/draft2020.ts: -------------------------------------------------------------------------------- 1 | import type {Vocabulary} from "../types" 2 | import coreVocabulary from "./core" 3 | import validationVocabulary from "./validation" 4 | import getApplicatorVocabulary from "./applicator" 5 | import dynamicVocabulary from "./dynamic" 6 | import nextVocabulary from "./next" 7 | import unevaluatedVocabulary from "./unevaluated" 8 | import formatVocabulary from "./format" 9 | import {metadataVocabulary, contentVocabulary} from "./metadata" 10 | 11 | const draft2020Vocabularies: Vocabulary[] = [ 12 | dynamicVocabulary, 13 | coreVocabulary, 14 | validationVocabulary, 15 | getApplicatorVocabulary(true), 16 | formatVocabulary, 17 | metadataVocabulary, 18 | contentVocabulary, 19 | nextVocabulary, 20 | unevaluatedVocabulary, 21 | ] 22 | 23 | export default draft2020Vocabularies 24 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/draft7.ts: -------------------------------------------------------------------------------- 1 | import type {Vocabulary} from "../types" 2 | import coreVocabulary from "./core" 3 | import validationVocabulary from "./validation" 4 | import getApplicatorVocabulary from "./applicator" 5 | import formatVocabulary from "./format" 6 | import {metadataVocabulary, contentVocabulary} from "./metadata" 7 | 8 | const draft7Vocabularies: Vocabulary[] = [ 9 | coreVocabulary, 10 | validationVocabulary, 11 | getApplicatorVocabulary(), 12 | formatVocabulary, 13 | metadataVocabulary, 14 | contentVocabulary, 15 | ] 16 | 17 | export default draft7Vocabularies 18 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/dynamic/index.ts: -------------------------------------------------------------------------------- 1 | import type {Vocabulary} from "../../types" 2 | import dynamicAnchor from "./dynamicAnchor" 3 | import dynamicRef from "./dynamicRef" 4 | import recursiveAnchor from "./recursiveAnchor" 5 | import recursiveRef from "./recursiveRef" 6 | 7 | const dynamic: Vocabulary = [dynamicAnchor, dynamicRef, recursiveAnchor, recursiveRef] 8 | 9 | export default dynamic 10 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts: -------------------------------------------------------------------------------- 1 | import type {CodeKeywordDefinition} from "../../types" 2 | import {dynamicAnchor} from "./dynamicAnchor" 3 | import {checkStrictMode} from "../../compile/util" 4 | 5 | const def: CodeKeywordDefinition = { 6 | keyword: "$recursiveAnchor", 7 | schemaType: "boolean", 8 | code(cxt) { 9 | if (cxt.schema) dynamicAnchor(cxt, "") 10 | else checkStrictMode(cxt.it, "$recursiveAnchor: false is ignored") 11 | }, 12 | } 13 | 14 | export default def 15 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts: -------------------------------------------------------------------------------- 1 | import type {CodeKeywordDefinition} from "../../types" 2 | import {dynamicRef} from "./dynamicRef" 3 | 4 | const def: CodeKeywordDefinition = { 5 | keyword: "$recursiveRef", 6 | schemaType: "string", 7 | code: (cxt) => dynamicRef(cxt, cxt.schema), 8 | } 9 | 10 | export default def 11 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/errors.ts: -------------------------------------------------------------------------------- 1 | import type {TypeError} from "../compile/validate/dataType" 2 | import type {ApplicatorKeywordError} from "./applicator" 3 | import type {ValidationKeywordError} from "./validation" 4 | import type {FormatError} from "./format/format" 5 | import type {UnevaluatedPropertiesError} from "./unevaluated/unevaluatedProperties" 6 | import type {UnevaluatedItemsError} from "./unevaluated/unevaluatedItems" 7 | import type {DependentRequiredError} from "./validation/dependentRequired" 8 | import type {DiscriminatorError} from "./discriminator" 9 | 10 | export type DefinedError = 11 | | TypeError 12 | | ApplicatorKeywordError 13 | | ValidationKeywordError 14 | | FormatError 15 | | UnevaluatedPropertiesError 16 | | UnevaluatedItemsError 17 | | DependentRequiredError 18 | | DiscriminatorError 19 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/format/index.ts: -------------------------------------------------------------------------------- 1 | import type {Vocabulary} from "../../types" 2 | import formatKeyword from "./format" 3 | 4 | const format: Vocabulary = [formatKeyword] 5 | 6 | export default format 7 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/jtd/error.ts: -------------------------------------------------------------------------------- 1 | import type {KeywordErrorDefinition, KeywordErrorCxt, ErrorObject} from "../../types" 2 | import {_, Code} from "../../compile/codegen" 3 | 4 | export type _JTDTypeError = ErrorObject< 5 | K, 6 | {type: T; nullable: boolean}, 7 | S 8 | > 9 | 10 | export function typeError(t: string): KeywordErrorDefinition { 11 | return { 12 | message: (cxt) => typeErrorMessage(cxt, t), 13 | params: (cxt) => typeErrorParams(cxt, t), 14 | } 15 | } 16 | 17 | export function typeErrorMessage({parentSchema}: KeywordErrorCxt, t: string): string { 18 | return parentSchema?.nullable ? `must be ${t} or null` : `must be ${t}` 19 | } 20 | 21 | export function typeErrorParams({parentSchema}: KeywordErrorCxt, t: string): Code { 22 | return _`{type: ${t}, nullable: ${!!parentSchema?.nullable}}` 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/jtd/metadata.ts: -------------------------------------------------------------------------------- 1 | import {KeywordCxt} from "../../ajv" 2 | import type {CodeKeywordDefinition} from "../../types" 3 | import {alwaysValidSchema} from "../../compile/util" 4 | 5 | const def: CodeKeywordDefinition = { 6 | keyword: "metadata", 7 | schemaType: "object", 8 | code(cxt: KeywordCxt) { 9 | checkMetadata(cxt) 10 | const {gen, schema, it} = cxt 11 | if (alwaysValidSchema(it, schema)) return 12 | const valid = gen.name("valid") 13 | cxt.subschema({keyword: "metadata", jtdMetadata: true}, valid) 14 | cxt.ok(valid) 15 | }, 16 | } 17 | 18 | export function checkMetadata({it, keyword}: KeywordCxt, metadata?: boolean): void { 19 | if (it.jtdMetadata !== metadata) { 20 | throw new Error(`JTD: "${keyword}" cannot be used in this schema location`) 21 | } 22 | } 23 | 24 | export default def 25 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/jtd/nullable.ts: -------------------------------------------------------------------------------- 1 | import type {KeywordCxt} from "../../compile/validate" 2 | import {_, not, nil, Code, Name} from "../../compile/codegen" 3 | 4 | export function checkNullable( 5 | {gen, data, parentSchema}: KeywordCxt, 6 | cond: Code = nil 7 | ): [Name, Code] { 8 | const valid = gen.name("valid") 9 | if (parentSchema.nullable) { 10 | gen.let(valid, _`${data} === null`) 11 | cond = not(valid) 12 | } else { 13 | gen.let(valid, false) 14 | } 15 | return [valid, cond] 16 | } 17 | 18 | export function checkNullableObject(cxt: KeywordCxt, cond: Code): [Name, Code] { 19 | const [valid, cond_] = checkNullable(cxt, cond) 20 | return [valid, _`${cond_} && typeof ${cxt.data} == "object" && !Array.isArray(${cxt.data})`] 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts: -------------------------------------------------------------------------------- 1 | import type {CodeKeywordDefinition} from "../../types" 2 | import type {KeywordCxt} from "../../compile/validate" 3 | import {validateProperties, error} from "./properties" 4 | 5 | const def: CodeKeywordDefinition = { 6 | keyword: "optionalProperties", 7 | schemaType: "object", 8 | error, 9 | code(cxt: KeywordCxt) { 10 | if (cxt.parentSchema.properties) return 11 | validateProperties(cxt) 12 | }, 13 | } 14 | 15 | export default def 16 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/jtd/union.ts: -------------------------------------------------------------------------------- 1 | import type {CodeKeywordDefinition} from "../../types" 2 | import {validateUnion} from "../code" 3 | 4 | const def: CodeKeywordDefinition = { 5 | keyword: "union", 6 | schemaType: "array", 7 | trackErrors: true, 8 | code: validateUnion, 9 | error: {message: "must match a schema in union"}, 10 | } 11 | 12 | export default def 13 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/metadata.ts: -------------------------------------------------------------------------------- 1 | import type {Vocabulary} from "../types" 2 | 3 | export const metadataVocabulary: Vocabulary = [ 4 | "title", 5 | "description", 6 | "default", 7 | "deprecated", 8 | "readOnly", 9 | "writeOnly", 10 | "examples", 11 | ] 12 | 13 | export const contentVocabulary: Vocabulary = [ 14 | "contentMediaType", 15 | "contentEncoding", 16 | "contentSchema", 17 | ] 18 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/next.ts: -------------------------------------------------------------------------------- 1 | import type {Vocabulary} from "../types" 2 | import dependentRequired from "./validation/dependentRequired" 3 | import dependentSchemas from "./applicator/dependentSchemas" 4 | import limitContains from "./validation/limitContains" 5 | 6 | const next: Vocabulary = [dependentRequired, dependentSchemas, limitContains] 7 | 8 | export default next 9 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/unevaluated/index.ts: -------------------------------------------------------------------------------- 1 | import type {Vocabulary} from "../../types" 2 | import unevaluatedProperties from "./unevaluatedProperties" 3 | import unevaluatedItems from "./unevaluatedItems" 4 | 5 | const unevaluated: Vocabulary = [unevaluatedProperties, unevaluatedItems] 6 | 7 | export default unevaluated 8 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts: -------------------------------------------------------------------------------- 1 | import type {CodeKeywordDefinition, ErrorObject} from "../../types" 2 | import { 3 | validatePropertyDeps, 4 | error, 5 | DependenciesErrorParams, 6 | PropertyDependencies, 7 | } from "../applicator/dependencies" 8 | 9 | export type DependentRequiredError = ErrorObject< 10 | "dependentRequired", 11 | DependenciesErrorParams, 12 | PropertyDependencies 13 | > 14 | 15 | const def: CodeKeywordDefinition = { 16 | keyword: "dependentRequired", 17 | type: "object", 18 | schemaType: "object", 19 | error, 20 | code: (cxt) => validatePropertyDeps(cxt), 21 | } 22 | 23 | export default def 24 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/vocabularies/validation/limitContains.ts: -------------------------------------------------------------------------------- 1 | import type {CodeKeywordDefinition} from "../../types" 2 | import type {KeywordCxt} from "../../compile/validate" 3 | import {checkStrictMode} from "../../compile/util" 4 | 5 | const def: CodeKeywordDefinition = { 6 | keyword: ["maxContains", "minContains"], 7 | type: "array", 8 | schemaType: "number", 9 | code({keyword, parentSchema, it}: KeywordCxt) { 10 | if (parentSchema.contains === undefined) { 11 | checkStrictMode(it, `"${keyword}" without "contains" is ignored`) 12 | } 13 | }, 14 | } 15 | 16 | export default def 17 | -------------------------------------------------------------------------------- /node_modules/ansi-regex/index.d.ts: -------------------------------------------------------------------------------- 1 | declare namespace ansiRegex { 2 | interface Options { 3 | /** 4 | Match only the first ANSI escape. 5 | 6 | @default false 7 | */ 8 | onlyFirst: boolean; 9 | } 10 | } 11 | 12 | /** 13 | Regular expression for matching ANSI escape codes. 14 | 15 | @example 16 | ``` 17 | import ansiRegex = require('ansi-regex'); 18 | 19 | ansiRegex().test('\u001B[4mcake\u001B[0m'); 20 | //=> true 21 | 22 | ansiRegex().test('cake'); 23 | //=> false 24 | 25 | '\u001B[4mcake\u001B[0m'.match(ansiRegex()); 26 | //=> ['\u001B[4m', '\u001B[0m'] 27 | 28 | '\u001B[4mcake\u001B[0m'.match(ansiRegex({onlyFirst: true})); 29 | //=> ['\u001B[4m'] 30 | 31 | '\u001B]8;;https://github.com\u0007click\u001B]8;;\u0007'.match(ansiRegex()); 32 | //=> ['\u001B]8;;https://github.com\u0007', '\u001B]8;;\u0007'] 33 | ``` 34 | */ 35 | declare function ansiRegex(options?: ansiRegex.Options): RegExp; 36 | 37 | export = ansiRegex; 38 | -------------------------------------------------------------------------------- /node_modules/ansi-regex/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = ({onlyFirst = false} = {}) => { 4 | const pattern = [ 5 | '[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)', 6 | '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))' 7 | ].join('|'); 8 | 9 | return new RegExp(pattern, onlyFirst ? undefined : 'g'); 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/astral-regex/index.d.ts: -------------------------------------------------------------------------------- 1 | declare namespace astralRegex { 2 | interface Options { 3 | /** 4 | Only match an exact string. Useful with `RegExp#test()` to check if a string is a astral symbol. Default: `false` _(Matches any astral symbols in a string)_ 5 | */ 6 | readonly exact?: boolean; 7 | } 8 | } 9 | 10 | /** 11 | Regular expression for matching [astral symbols](https://everything2.com/title/astral+plane). 12 | 13 | @returns A `RegExp` for matching astral symbols. 14 | 15 | @example 16 | ``` 17 | import astralRegex = require('astral-regex'); 18 | 19 | astralRegex({exact: true}).test('🦄'); 20 | //=> true 21 | 22 | 'foo 🦄 💩 bar'.match(astralRegex()); 23 | //=> ['🦄', '💩'] 24 | ``` 25 | */ 26 | declare function astralRegex(options?: astralRegex.Options): RegExp; 27 | 28 | export = astralRegex; 29 | -------------------------------------------------------------------------------- /node_modules/astral-regex/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | const regex = '[\uD800-\uDBFF][\uDC00-\uDFFF]'; 3 | 4 | const astralRegex = options => options && options.exact ? new RegExp(`^${regex}$`) : new RegExp(regex, 'g'); 5 | 6 | module.exports = astralRegex; 7 | -------------------------------------------------------------------------------- /node_modules/astral-regex/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "astral-regex", 3 | "version": "2.0.0", 4 | "description": "Regular expression for matching astral symbols", 5 | "license": "MIT", 6 | "repository": "kevva/astral-regex", 7 | "author": { 8 | "name": "Kevin Mårtensson", 9 | "email": "kevinmartensson@gmail.com", 10 | "url": "github.com/kevva" 11 | }, 12 | "engines": { 13 | "node": ">=8" 14 | }, 15 | "scripts": { 16 | "test": "xo && ava && tsd" 17 | }, 18 | "files": [ 19 | "index.js", 20 | "index.d.ts" 21 | ], 22 | "keywords": [ 23 | "astral", 24 | "emoji", 25 | "regex", 26 | "surrogate" 27 | ], 28 | "devDependencies": { 29 | "ava": "^1.4.1", 30 | "tsd": "^0.7.2", 31 | "xo": "^0.24.0" 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /node_modules/asynckit/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 2 | { 3 | parallel : require('./parallel.js'), 4 | serial : require('./serial.js'), 5 | serialOrdered : require('./serialOrdered.js') 6 | }; 7 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/abort.js: -------------------------------------------------------------------------------- 1 | // API 2 | module.exports = abort; 3 | 4 | /** 5 | * Aborts leftover active jobs 6 | * 7 | * @param {object} state - current state object 8 | */ 9 | function abort(state) 10 | { 11 | Object.keys(state.jobs).forEach(clean.bind(state)); 12 | 13 | // reset leftover jobs 14 | state.jobs = {}; 15 | } 16 | 17 | /** 18 | * Cleans up leftover job by invoking abort function for the provided job id 19 | * 20 | * @this state 21 | * @param {string|number} key - job id to abort 22 | */ 23 | function clean(key) 24 | { 25 | if (typeof this.jobs[key] == 'function') 26 | { 27 | this.jobs[key](); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/async.js: -------------------------------------------------------------------------------- 1 | var defer = require('./defer.js'); 2 | 3 | // API 4 | module.exports = async; 5 | 6 | /** 7 | * Runs provided callback asynchronously 8 | * even if callback itself is not 9 | * 10 | * @param {function} callback - callback to invoke 11 | * @returns {function} - augmented callback 12 | */ 13 | function async(callback) 14 | { 15 | var isAsync = false; 16 | 17 | // check if async happened 18 | defer(function() { isAsync = true; }); 19 | 20 | return function async_callback(err, result) 21 | { 22 | if (isAsync) 23 | { 24 | callback(err, result); 25 | } 26 | else 27 | { 28 | defer(function nextTick_callback() 29 | { 30 | callback(err, result); 31 | }); 32 | } 33 | }; 34 | } 35 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/defer.js: -------------------------------------------------------------------------------- 1 | module.exports = defer; 2 | 3 | /** 4 | * Runs provided function on next iteration of the event loop 5 | * 6 | * @param {function} fn - function to run 7 | */ 8 | function defer(fn) 9 | { 10 | var nextTick = typeof setImmediate == 'function' 11 | ? setImmediate 12 | : ( 13 | typeof process == 'object' && typeof process.nextTick == 'function' 14 | ? process.nextTick 15 | : null 16 | ); 17 | 18 | if (nextTick) 19 | { 20 | nextTick(fn); 21 | } 22 | else 23 | { 24 | setTimeout(fn, 0); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/readable_parallel.js: -------------------------------------------------------------------------------- 1 | var parallel = require('../parallel.js'); 2 | 3 | // API 4 | module.exports = ReadableParallel; 5 | 6 | /** 7 | * Streaming wrapper to `asynckit.parallel` 8 | * 9 | * @param {array|object} list - array or object (named list) to iterate over 10 | * @param {function} iterator - iterator to run 11 | * @param {function} callback - invoked when all elements processed 12 | * @returns {stream.Readable#} 13 | */ 14 | function ReadableParallel(list, iterator, callback) 15 | { 16 | if (!(this instanceof ReadableParallel)) 17 | { 18 | return new ReadableParallel(list, iterator, callback); 19 | } 20 | 21 | // turn on object mode 22 | ReadableParallel.super_.call(this, {objectMode: true}); 23 | 24 | this._start(parallel, list, iterator, callback); 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/readable_serial.js: -------------------------------------------------------------------------------- 1 | var serial = require('../serial.js'); 2 | 3 | // API 4 | module.exports = ReadableSerial; 5 | 6 | /** 7 | * Streaming wrapper to `asynckit.serial` 8 | * 9 | * @param {array|object} list - array or object (named list) to iterate over 10 | * @param {function} iterator - iterator to run 11 | * @param {function} callback - invoked when all elements processed 12 | * @returns {stream.Readable#} 13 | */ 14 | function ReadableSerial(list, iterator, callback) 15 | { 16 | if (!(this instanceof ReadableSerial)) 17 | { 18 | return new ReadableSerial(list, iterator, callback); 19 | } 20 | 21 | // turn on object mode 22 | ReadableSerial.super_.call(this, {objectMode: true}); 23 | 24 | this._start(serial, list, iterator, callback); 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/terminator.js: -------------------------------------------------------------------------------- 1 | var abort = require('./abort.js') 2 | , async = require('./async.js') 3 | ; 4 | 5 | // API 6 | module.exports = terminator; 7 | 8 | /** 9 | * Terminates jobs in the attached state context 10 | * 11 | * @this AsyncKitState# 12 | * @param {function} callback - final callback to invoke after termination 13 | */ 14 | function terminator(callback) 15 | { 16 | if (!Object.keys(this.jobs).length) 17 | { 18 | return; 19 | } 20 | 21 | // fast forward iteration index 22 | this.index = this.size; 23 | 24 | // abort jobs 25 | abort(this); 26 | 27 | // send back results we have so far 28 | async(callback)(null, this.results); 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/asynckit/serial.js: -------------------------------------------------------------------------------- 1 | var serialOrdered = require('./serialOrdered.js'); 2 | 3 | // Public API 4 | module.exports = serial; 5 | 6 | /** 7 | * Runs iterator over provided array elements in series 8 | * 9 | * @param {array|object} list - array or object (named list) to iterate over 10 | * @param {function} iterator - iterator to run 11 | * @param {function} callback - invoked when all elements processed 12 | * @returns {function} - jobs terminator 13 | */ 14 | function serial(list, iterator, callback) 15 | { 16 | return serialOrdered(list, iterator, null, callback); 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/asynckit/stream.js: -------------------------------------------------------------------------------- 1 | var inherits = require('util').inherits 2 | , Readable = require('stream').Readable 3 | , ReadableAsyncKit = require('./lib/readable_asynckit.js') 4 | , ReadableParallel = require('./lib/readable_parallel.js') 5 | , ReadableSerial = require('./lib/readable_serial.js') 6 | , ReadableSerialOrdered = require('./lib/readable_serial_ordered.js') 7 | ; 8 | 9 | // API 10 | module.exports = 11 | { 12 | parallel : ReadableParallel, 13 | serial : ReadableSerial, 14 | serialOrdered : ReadableSerialOrdered, 15 | }; 16 | 17 | inherits(ReadableAsyncKit, Readable); 18 | 19 | inherits(ReadableParallel, ReadableAsyncKit); 20 | inherits(ReadableSerial, ReadableAsyncKit); 21 | inherits(ReadableSerialOrdered, ReadableAsyncKit); 22 | -------------------------------------------------------------------------------- /node_modules/axios/MIGRATION_GUIDE.md: -------------------------------------------------------------------------------- 1 | # Migration Guide 2 | 3 | ## 0.x.x -> 1.1.0 4 | -------------------------------------------------------------------------------- /node_modules/axios/SECURITY.md: -------------------------------------------------------------------------------- 1 | # Reporting a Vulnerability 2 | 3 | If you discover a security vulnerability in axios please disclose it via [our huntr page](https://huntr.dev/repos/axios/axios/). Bounty eligibility, CVE assignment, response times and past reports are all there. 4 | 5 | 6 | Thank you for improving the security of axios. 7 | -------------------------------------------------------------------------------- /node_modules/axios/index.js: -------------------------------------------------------------------------------- 1 | import axios from './lib/axios.js'; 2 | 3 | // This module is intended to unwrap Axios default export as named. 4 | // Keep top-level export same with static properties 5 | // so that it can keep same with es module or cjs 6 | const { 7 | Axios, 8 | AxiosError, 9 | CanceledError, 10 | isCancel, 11 | CancelToken, 12 | VERSION, 13 | all, 14 | Cancel, 15 | isAxiosError, 16 | spread, 17 | toFormData, 18 | AxiosHeaders, 19 | HttpStatusCode, 20 | formToJSON, 21 | getAdapter, 22 | mergeConfig 23 | } = axios; 24 | 25 | export { 26 | axios as default, 27 | Axios, 28 | AxiosError, 29 | CanceledError, 30 | isCancel, 31 | CancelToken, 32 | VERSION, 33 | all, 34 | Cancel, 35 | isAxiosError, 36 | spread, 37 | toFormData, 38 | AxiosHeaders, 39 | HttpStatusCode, 40 | formToJSON, 41 | getAdapter, 42 | mergeConfig 43 | } 44 | -------------------------------------------------------------------------------- /node_modules/axios/lib/cancel/CanceledError.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import AxiosError from '../core/AxiosError.js'; 4 | import utils from '../utils.js'; 5 | 6 | /** 7 | * A `CanceledError` is an object that is thrown when an operation is canceled. 8 | * 9 | * @param {string=} message The message. 10 | * @param {Object=} config The config. 11 | * @param {Object=} request The request. 12 | * 13 | * @returns {CanceledError} The created error. 14 | */ 15 | function CanceledError(message, config, request) { 16 | // eslint-disable-next-line no-eq-null,eqeqeq 17 | AxiosError.call(this, message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request); 18 | this.name = 'CanceledError'; 19 | } 20 | 21 | utils.inherits(CanceledError, AxiosError, { 22 | __CANCEL__: true 23 | }); 24 | 25 | export default CanceledError; 26 | -------------------------------------------------------------------------------- /node_modules/axios/lib/cancel/isCancel.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | export default function isCancel(value) { 4 | return !!(value && value.__CANCEL__); 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/axios/lib/core/README.md: -------------------------------------------------------------------------------- 1 | # axios // core 2 | 3 | The modules found in `core/` should be modules that are specific to the domain logic of axios. These modules would most likely not make sense to be consumed outside of the axios module, as their logic is too specific. Some examples of core modules are: 4 | 5 | - Dispatching requests 6 | - Requests sent via `adapters/` (see lib/adapters/README.md) 7 | - Managing interceptors 8 | - Handling config 9 | -------------------------------------------------------------------------------- /node_modules/axios/lib/core/buildFullPath.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import isAbsoluteURL from '../helpers/isAbsoluteURL.js'; 4 | import combineURLs from '../helpers/combineURLs.js'; 5 | 6 | /** 7 | * Creates a new URL by combining the baseURL with the requestedURL, 8 | * only when the requestedURL is not already an absolute URL. 9 | * If the requestURL is absolute, this function returns the requestedURL untouched. 10 | * 11 | * @param {string} baseURL The base URL 12 | * @param {string} requestedURL Absolute or relative URL to combine 13 | * 14 | * @returns {string} The combined full path 15 | */ 16 | export default function buildFullPath(baseURL, requestedURL) { 17 | if (baseURL && !isAbsoluteURL(requestedURL)) { 18 | return combineURLs(baseURL, requestedURL); 19 | } 20 | return requestedURL; 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/axios/lib/core/transformData.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import utils from './../utils.js'; 4 | import defaults from '../defaults/index.js'; 5 | import AxiosHeaders from '../core/AxiosHeaders.js'; 6 | 7 | /** 8 | * Transform the data for a request or a response 9 | * 10 | * @param {Array|Function} fns A single function or Array of functions 11 | * @param {?Object} response The response object 12 | * 13 | * @returns {*} The resulting transformed data 14 | */ 15 | export default function transformData(fns, response) { 16 | const config = this || defaults; 17 | const context = response || config; 18 | const headers = AxiosHeaders.from(context.headers); 19 | let data = context.data; 20 | 21 | utils.forEach(fns, function transform(fn) { 22 | data = fn.call(config, data, headers.normalize(), response ? response.status : undefined); 23 | }); 24 | 25 | headers.normalize(); 26 | 27 | return data; 28 | } 29 | -------------------------------------------------------------------------------- /node_modules/axios/lib/defaults/transitional.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | export default { 4 | silentJSONParsing: true, 5 | forcedJSONParsing: true, 6 | clarifyTimeoutError: false 7 | }; 8 | -------------------------------------------------------------------------------- /node_modules/axios/lib/env/README.md: -------------------------------------------------------------------------------- 1 | # axios // env 2 | 3 | The `data.js` file is updated automatically when the package version is upgrading. Please do not edit it manually. 4 | -------------------------------------------------------------------------------- /node_modules/axios/lib/env/classes/FormData.js: -------------------------------------------------------------------------------- 1 | import _FormData from 'form-data'; 2 | export default typeof FormData !== 'undefined' ? FormData : _FormData; 3 | -------------------------------------------------------------------------------- /node_modules/axios/lib/env/data.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "1.5.1"; -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/README.md: -------------------------------------------------------------------------------- 1 | # axios // helpers 2 | 3 | The modules found in `helpers/` should be generic modules that are _not_ specific to the domain logic of axios. These modules could theoretically be published to npm on their own and consumed by other modules or apps. Some examples of generic modules are things like: 4 | 5 | - Browser polyfills 6 | - Managing cookies 7 | - Parsing HTTP headers 8 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | import stream from "stream"; 4 | 5 | class ZlibHeaderTransformStream extends stream.Transform { 6 | __transform(chunk, encoding, callback) { 7 | this.push(chunk); 8 | callback(); 9 | } 10 | 11 | _transform(chunk, encoding, callback) { 12 | if (chunk.length !== 0) { 13 | this._transform = this.__transform; 14 | 15 | // Add Default Compression headers if no zlib headers are present 16 | if (chunk[0] !== 120) { // Hex: 78 17 | const header = Buffer.alloc(2); 18 | header[0] = 120; // Hex: 78 19 | header[1] = 156; // Hex: 9C 20 | this.push(header, encoding); 21 | } 22 | } 23 | 24 | this.__transform(chunk, encoding, callback); 25 | } 26 | } 27 | 28 | export default ZlibHeaderTransformStream; 29 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/bind.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | export default function bind(fn, thisArg) { 4 | return function wrap() { 5 | return fn.apply(thisArg, arguments); 6 | }; 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/callbackify.js: -------------------------------------------------------------------------------- 1 | import utils from "../utils.js"; 2 | 3 | const callbackify = (fn, reducer) => { 4 | return utils.isAsyncFn(fn) ? function (...args) { 5 | const cb = args.pop(); 6 | fn.apply(this, args).then((value) => { 7 | try { 8 | reducer ? cb(null, ...reducer(value)) : cb(null, value); 9 | } catch (err) { 10 | cb(err); 11 | } 12 | }, cb); 13 | } : fn; 14 | } 15 | 16 | export default callbackify; 17 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/combineURLs.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Creates a new URL by combining the specified URLs 5 | * 6 | * @param {string} baseURL The base URL 7 | * @param {string} relativeURL The relative URL 8 | * 9 | * @returns {string} The combined URL 10 | */ 11 | export default function combineURLs(baseURL, relativeURL) { 12 | return relativeURL 13 | ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '') 14 | : baseURL; 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/deprecatedMethod.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /*eslint no-console:0*/ 4 | 5 | /** 6 | * Supply a warning to the developer that a method they are using 7 | * has been deprecated. 8 | * 9 | * @param {string} method The name of the deprecated method 10 | * @param {string} [instead] The alternate method to use if applicable 11 | * @param {string} [docs] The documentation URL to get further details 12 | * 13 | * @returns {void} 14 | */ 15 | export default function deprecatedMethod(method, instead, docs) { 16 | try { 17 | console.warn( 18 | 'DEPRECATED method `' + method + '`.' + 19 | (instead ? ' Use `' + instead + '` instead.' : '') + 20 | ' This method will be removed in a future release.'); 21 | 22 | if (docs) { 23 | console.warn('For more information about usage see ' + docs); 24 | } 25 | } catch (e) { /* Ignore */ } 26 | } 27 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/isAbsoluteURL.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Determines whether the specified URL is absolute 5 | * 6 | * @param {string} url The URL to test 7 | * 8 | * @returns {boolean} True if the specified URL is absolute, otherwise false 9 | */ 10 | export default function isAbsoluteURL(url) { 11 | // A URL is considered absolute if it begins with "://" or "//" (protocol-relative URL). 12 | // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed 13 | // by any combination of letters, digits, plus, period, or hyphen. 14 | return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url); 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/isAxiosError.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import utils from './../utils.js'; 4 | 5 | /** 6 | * Determines whether the payload is an error thrown by Axios 7 | * 8 | * @param {*} payload The value to test 9 | * 10 | * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false 11 | */ 12 | export default function isAxiosError(payload) { 13 | return utils.isObject(payload) && (payload.isAxiosError === true); 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/null.js: -------------------------------------------------------------------------------- 1 | // eslint-disable-next-line strict 2 | export default null; 3 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/parseProtocol.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | export default function parseProtocol(url) { 4 | const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url); 5 | return match && match[1] || ''; 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/readBlob.js: -------------------------------------------------------------------------------- 1 | const {asyncIterator} = Symbol; 2 | 3 | const readBlob = async function* (blob) { 4 | if (blob.stream) { 5 | yield* blob.stream() 6 | } else if (blob.arrayBuffer) { 7 | yield await blob.arrayBuffer() 8 | } else if (blob[asyncIterator]) { 9 | yield* blob[asyncIterator](); 10 | } else { 11 | yield blob; 12 | } 13 | } 14 | 15 | export default readBlob; 16 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/spread.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Syntactic sugar for invoking a function and expanding an array for arguments. 5 | * 6 | * Common use case would be to use `Function.prototype.apply`. 7 | * 8 | * ```js 9 | * function f(x, y, z) {} 10 | * var args = [1, 2, 3]; 11 | * f.apply(null, args); 12 | * ``` 13 | * 14 | * With `spread` this example can be re-written. 15 | * 16 | * ```js 17 | * spread(function(x, y, z) {})([1, 2, 3]); 18 | * ``` 19 | * 20 | * @param {Function} callback 21 | * 22 | * @returns {Function} 23 | */ 24 | export default function spread(callback) { 25 | return function wrap(arr) { 26 | return callback.apply(null, arr); 27 | }; 28 | } 29 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/throttle.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Throttle decorator 5 | * @param {Function} fn 6 | * @param {Number} freq 7 | * @return {Function} 8 | */ 9 | function throttle(fn, freq) { 10 | let timestamp = 0; 11 | const threshold = 1000 / freq; 12 | let timer = null; 13 | return function throttled(force, args) { 14 | const now = Date.now(); 15 | if (force || now - timestamp > threshold) { 16 | if (timer) { 17 | clearTimeout(timer); 18 | timer = null; 19 | } 20 | timestamp = now; 21 | return fn.apply(null, args); 22 | } 23 | if (!timer) { 24 | timer = setTimeout(() => { 25 | timer = null; 26 | timestamp = Date.now(); 27 | return fn.apply(null, args); 28 | }, threshold - (now - timestamp)); 29 | } 30 | }; 31 | } 32 | 33 | export default throttle; 34 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/toURLEncodedForm.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import utils from '../utils.js'; 4 | import toFormData from './toFormData.js'; 5 | import platform from '../platform/index.js'; 6 | 7 | export default function toURLEncodedForm(data, options) { 8 | return toFormData(data, new platform.classes.URLSearchParams(), Object.assign({ 9 | visitor: function(value, key, path, helpers) { 10 | if (platform.isNode && utils.isBuffer(value)) { 11 | this.append(key, value.toString('base64')); 12 | return false; 13 | } 14 | 15 | return helpers.defaultVisitor.apply(this, arguments); 16 | } 17 | }, options)); 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/axios/lib/platform/browser/classes/Blob.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | export default typeof Blob !== 'undefined' ? Blob : null 4 | -------------------------------------------------------------------------------- /node_modules/axios/lib/platform/browser/classes/FormData.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | export default typeof FormData !== 'undefined' ? FormData : null; 4 | -------------------------------------------------------------------------------- /node_modules/axios/lib/platform/browser/classes/URLSearchParams.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js'; 4 | export default typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams; 5 | -------------------------------------------------------------------------------- /node_modules/axios/lib/platform/index.js: -------------------------------------------------------------------------------- 1 | import platform from './node/index.js'; 2 | 3 | export {platform as default} 4 | -------------------------------------------------------------------------------- /node_modules/axios/lib/platform/node/classes/FormData.js: -------------------------------------------------------------------------------- 1 | import FormData from 'form-data'; 2 | 3 | export default FormData; 4 | -------------------------------------------------------------------------------- /node_modules/axios/lib/platform/node/classes/URLSearchParams.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import url from 'url'; 4 | export default url.URLSearchParams; 5 | -------------------------------------------------------------------------------- /node_modules/axios/lib/platform/node/index.js: -------------------------------------------------------------------------------- 1 | import URLSearchParams from './classes/URLSearchParams.js' 2 | import FormData from './classes/FormData.js' 3 | 4 | export default { 5 | isNode: true, 6 | classes: { 7 | URLSearchParams, 8 | FormData, 9 | Blob: typeof Blob !== 'undefined' && Blob || null 10 | }, 11 | protocols: [ 'http', 'https', 'file', 'data' ] 12 | }; 13 | -------------------------------------------------------------------------------- /node_modules/color-name/README.md: -------------------------------------------------------------------------------- 1 | A JSON with color names and its values. Based on http://dev.w3.org/csswg/css-color/#named-colors. 2 | 3 | [![NPM](https://nodei.co/npm/color-name.png?mini=true)](https://nodei.co/npm/color-name/) 4 | 5 | 6 | ```js 7 | var colors = require('color-name'); 8 | colors.red //[255,0,0] 9 | ``` 10 | 11 | 12 | -------------------------------------------------------------------------------- /node_modules/color-name/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "color-name", 3 | "version": "1.1.4", 4 | "description": "A list of color names and its values", 5 | "main": "index.js", 6 | "files": [ 7 | "index.js" 8 | ], 9 | "scripts": { 10 | "test": "node test.js" 11 | }, 12 | "repository": { 13 | "type": "git", 14 | "url": "git@github.com:colorjs/color-name.git" 15 | }, 16 | "keywords": [ 17 | "color-name", 18 | "color", 19 | "color-keyword", 20 | "keyword" 21 | ], 22 | "author": "DY ", 23 | "license": "MIT", 24 | "bugs": { 25 | "url": "https://github.com/colorjs/color-name/issues" 26 | }, 27 | "homepage": "https://github.com/colorjs/color-name" 28 | } 29 | -------------------------------------------------------------------------------- /node_modules/combined-stream/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "Felix Geisendörfer (http://debuggable.com/)", 3 | "name": "combined-stream", 4 | "description": "A stream that emits multiple other streams one after another.", 5 | "version": "1.0.8", 6 | "homepage": "https://github.com/felixge/node-combined-stream", 7 | "repository": { 8 | "type": "git", 9 | "url": "git://github.com/felixge/node-combined-stream.git" 10 | }, 11 | "main": "./lib/combined_stream", 12 | "scripts": { 13 | "test": "node test/run.js" 14 | }, 15 | "engines": { 16 | "node": ">= 0.8" 17 | }, 18 | "dependencies": { 19 | "delayed-stream": "~1.0.0" 20 | }, 21 | "devDependencies": { 22 | "far": "~0.0.7" 23 | }, 24 | "license": "MIT" 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/combined-stream/yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | delayed-stream@~1.0.0: 6 | version "1.0.0" 7 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 8 | 9 | far@~0.0.7: 10 | version "0.0.7" 11 | resolved "https://registry.yarnpkg.com/far/-/far-0.0.7.tgz#01c1fd362bcd26ce9cf161af3938aa34619f79a7" 12 | dependencies: 13 | oop "0.0.3" 14 | 15 | oop@0.0.3: 16 | version "0.0.3" 17 | resolved "https://registry.yarnpkg.com/oop/-/oop-0.0.3.tgz#70fa405a5650891a194fdc82ca68dad6dabf4401" 18 | -------------------------------------------------------------------------------- /node_modules/crypto-js/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contribution 2 | 3 | # Git Flow 4 | 5 | The crypto-js project uses [git flow](https://github.com/nvie/gitflow) to manage branches. 6 | Do your changes on the `develop` or even better on a `feature/*` branch. Don't do any changes on the `master` branch. 7 | 8 | # Pull request 9 | 10 | Target your pull request on `develop` branch. Other pull request won't be accepted. 11 | 12 | # How to build 13 | 14 | 1. Clone 15 | 16 | 2. Run 17 | 18 | ```sh 19 | npm install 20 | ``` 21 | 22 | 3. Run 23 | 24 | ```sh 25 | npm run build 26 | ``` 27 | 28 | 4. Check `build` folder -------------------------------------------------------------------------------- /node_modules/crypto-js/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "crypto-js", 3 | "version": "4.1.1", 4 | "description": "JavaScript library of crypto standards.", 5 | "license": "MIT", 6 | "homepage": "http://github.com/brix/crypto-js", 7 | "repository": { 8 | "type": "git", 9 | "url": "http://github.com/brix/crypto-js.git" 10 | }, 11 | "keywords": [ 12 | "security", 13 | "crypto", 14 | "Hash", 15 | "MD5", 16 | "SHA1", 17 | "SHA-1", 18 | "SHA256", 19 | "SHA-256", 20 | "RC4", 21 | "Rabbit", 22 | "AES", 23 | "DES", 24 | "PBKDF2", 25 | "HMAC", 26 | "OFB", 27 | "CFB", 28 | "CTR", 29 | "CBC", 30 | "Base64", 31 | "Base64url" 32 | ], 33 | "main": "index.js", 34 | "dependencies": {}, 35 | "browser": { 36 | "crypto": false 37 | }, 38 | "ignore": [] 39 | } 40 | -------------------------------------------------------------------------------- /node_modules/crypto-js/enc-hex.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.enc.Hex; 17 | 18 | })); -------------------------------------------------------------------------------- /node_modules/crypto-js/enc-latin1.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.enc.Latin1; 17 | 18 | })); -------------------------------------------------------------------------------- /node_modules/crypto-js/enc-utf8.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.enc.Utf8; 17 | 18 | })); -------------------------------------------------------------------------------- /node_modules/crypto-js/format-openssl.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./cipher-core")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./cipher-core"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.format.OpenSSL; 17 | 18 | })); -------------------------------------------------------------------------------- /node_modules/crypto-js/hmac-md5.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./md5"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./md5", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacMD5; 17 | 18 | })); -------------------------------------------------------------------------------- /node_modules/crypto-js/hmac-ripemd160.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./ripemd160"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./ripemd160", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacRIPEMD160; 17 | 18 | })); -------------------------------------------------------------------------------- /node_modules/crypto-js/hmac-sha1.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./sha1"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./sha1", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacSHA1; 17 | 18 | })); -------------------------------------------------------------------------------- /node_modules/crypto-js/hmac-sha224.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./sha256"), require("./sha224"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./sha256", "./sha224", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacSHA224; 17 | 18 | })); -------------------------------------------------------------------------------- /node_modules/crypto-js/hmac-sha256.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./sha256"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./sha256", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacSHA256; 17 | 18 | })); -------------------------------------------------------------------------------- /node_modules/crypto-js/hmac-sha3.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./x64-core"), require("./sha3"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./x64-core", "./sha3", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacSHA3; 17 | 18 | })); -------------------------------------------------------------------------------- /node_modules/crypto-js/hmac-sha384.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./x64-core"), require("./sha512"), require("./sha384"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./x64-core", "./sha512", "./sha384", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacSHA384; 17 | 18 | })); -------------------------------------------------------------------------------- /node_modules/crypto-js/hmac-sha512.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./x64-core"), require("./sha512"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./x64-core", "./sha512", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacSHA512; 17 | 18 | })); -------------------------------------------------------------------------------- /node_modules/crypto-js/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "crypto-js", 3 | "version": "4.1.1", 4 | "description": "JavaScript library of crypto standards.", 5 | "license": "MIT", 6 | "author": { 7 | "name": "Evan Vosberg", 8 | "url": "http://github.com/evanvosberg" 9 | }, 10 | "homepage": "http://github.com/brix/crypto-js", 11 | "repository": { 12 | "type": "git", 13 | "url": "http://github.com/brix/crypto-js.git" 14 | }, 15 | "keywords": [ 16 | "security", 17 | "crypto", 18 | "Hash", 19 | "MD5", 20 | "SHA1", 21 | "SHA-1", 22 | "SHA256", 23 | "SHA-256", 24 | "RC4", 25 | "Rabbit", 26 | "AES", 27 | "DES", 28 | "PBKDF2", 29 | "HMAC", 30 | "OFB", 31 | "CFB", 32 | "CTR", 33 | "CBC", 34 | "Base64", 35 | "Base64url" 36 | ], 37 | "main": "index.js", 38 | "dependencies": {}, 39 | "browser": { 40 | "crypto": false 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /node_modules/crypto-js/pad-nopadding.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./cipher-core")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./cipher-core"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | /** 17 | * A noop padding strategy. 18 | */ 19 | CryptoJS.pad.NoPadding = { 20 | pad: function () { 21 | }, 22 | 23 | unpad: function () { 24 | } 25 | }; 26 | 27 | 28 | return CryptoJS.pad.NoPadding; 29 | 30 | })); -------------------------------------------------------------------------------- /node_modules/crypto-js/pad-pkcs7.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./cipher-core")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./cipher-core"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.pad.Pkcs7; 17 | 18 | })); -------------------------------------------------------------------------------- /node_modules/delayed-stream/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /node_modules/delayed-stream/Makefile: -------------------------------------------------------------------------------- 1 | SHELL := /bin/bash 2 | 3 | test: 4 | @./test/run.js 5 | 6 | .PHONY: test 7 | 8 | -------------------------------------------------------------------------------- /node_modules/delayed-stream/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "Felix Geisendörfer (http://debuggable.com/)", 3 | "contributors": [ 4 | "Mike Atkins " 5 | ], 6 | "name": "delayed-stream", 7 | "description": "Buffers events from a stream until you are ready to handle them.", 8 | "license": "MIT", 9 | "version": "1.0.0", 10 | "homepage": "https://github.com/felixge/node-delayed-stream", 11 | "repository": { 12 | "type": "git", 13 | "url": "git://github.com/felixge/node-delayed-stream.git" 14 | }, 15 | "main": "./lib/delayed_stream", 16 | "engines": { 17 | "node": ">=0.4.0" 18 | }, 19 | "scripts": { 20 | "test": "make test" 21 | }, 22 | "dependencies": {}, 23 | "devDependencies": { 24 | "fake": "0.2.0", 25 | "far": "0.0.1" 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /node_modules/emoji-regex/index.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'emoji-regex' { 2 | function emojiRegex(): RegExp; 3 | 4 | export default emojiRegex; 5 | } 6 | 7 | declare module 'emoji-regex/text' { 8 | function emojiRegex(): RegExp; 9 | 10 | export default emojiRegex; 11 | } 12 | 13 | declare module 'emoji-regex/es2015' { 14 | function emojiRegex(): RegExp; 15 | 16 | export default emojiRegex; 17 | } 18 | 19 | declare module 'emoji-regex/es2015/text' { 20 | function emojiRegex(): RegExp; 21 | 22 | export default emojiRegex; 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/fast-deep-equal/es6/index.d.ts: -------------------------------------------------------------------------------- 1 | declare const equal: (a: any, b: any) => boolean; 2 | export = equal; 3 | -------------------------------------------------------------------------------- /node_modules/fast-deep-equal/es6/react.d.ts: -------------------------------------------------------------------------------- 1 | declare const equal: (a: any, b: any) => boolean; 2 | export = equal; 3 | -------------------------------------------------------------------------------- /node_modules/fast-deep-equal/index.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'fast-deep-equal' { 2 | const equal: (a: any, b: any) => boolean; 3 | export = equal; 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/fast-deep-equal/react.d.ts: -------------------------------------------------------------------------------- 1 | declare const equal: (a: any, b: any) => boolean; 2 | export = equal; 3 | -------------------------------------------------------------------------------- /node_modules/follow-redirects/debug.js: -------------------------------------------------------------------------------- 1 | var debug; 2 | 3 | module.exports = function () { 4 | if (!debug) { 5 | try { 6 | /* eslint global-require: off */ 7 | debug = require("debug")("follow-redirects"); 8 | } 9 | catch (error) { /* */ } 10 | if (typeof debug !== "function") { 11 | debug = function () { /* */ }; 12 | } 13 | } 14 | debug.apply(null, arguments); 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/follow-redirects/http.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./").http; 2 | -------------------------------------------------------------------------------- /node_modules/follow-redirects/https.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./").https; 2 | -------------------------------------------------------------------------------- /node_modules/form-data/lib/browser.js: -------------------------------------------------------------------------------- 1 | /* eslint-env browser */ 2 | module.exports = typeof self == 'object' ? self.FormData : window.FormData; 3 | -------------------------------------------------------------------------------- /node_modules/form-data/lib/populate.js: -------------------------------------------------------------------------------- 1 | // populates missing values 2 | module.exports = function(dst, src) { 3 | 4 | Object.keys(src).forEach(function(prop) 5 | { 6 | dst[prop] = dst[prop] || src[prop]; 7 | }); 8 | 9 | return dst; 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/is-fullwidth-code-point/index.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms). 3 | 4 | @param codePoint - The [code point](https://en.wikipedia.org/wiki/Code_point) of a character. 5 | 6 | @example 7 | ``` 8 | import isFullwidthCodePoint from 'is-fullwidth-code-point'; 9 | 10 | isFullwidthCodePoint('谢'.codePointAt(0)); 11 | //=> true 12 | 13 | isFullwidthCodePoint('a'.codePointAt(0)); 14 | //=> false 15 | ``` 16 | */ 17 | export default function isFullwidthCodePoint(codePoint: number): boolean; 18 | -------------------------------------------------------------------------------- /node_modules/json-schema-traverse/.eslintrc.yml: -------------------------------------------------------------------------------- 1 | extends: eslint:recommended 2 | env: 3 | node: true 4 | browser: true 5 | rules: 6 | block-scoped-var: 2 7 | complexity: [2, 15] 8 | curly: [2, multi-or-nest, consistent] 9 | dot-location: [2, property] 10 | dot-notation: 2 11 | indent: [2, 2, SwitchCase: 1] 12 | linebreak-style: [2, unix] 13 | new-cap: 2 14 | no-console: [2, allow: [warn, error]] 15 | no-else-return: 2 16 | no-eq-null: 2 17 | no-fallthrough: 2 18 | no-invalid-this: 2 19 | no-return-assign: 2 20 | no-shadow: 1 21 | no-trailing-spaces: 2 22 | no-use-before-define: [2, nofunc] 23 | quotes: [2, single, avoid-escape] 24 | semi: [2, always] 25 | strict: [2, global] 26 | valid-jsdoc: [2, requireReturn: false] 27 | no-control-regex: 0 28 | -------------------------------------------------------------------------------- /node_modules/json-schema-traverse/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: epoberezkin 2 | tidelift: "npm/json-schema-traverse" 3 | -------------------------------------------------------------------------------- /node_modules/json-schema-traverse/.github/workflows/build.yml: -------------------------------------------------------------------------------- 1 | name: build 2 | 3 | on: 4 | push: 5 | branches: [master] 6 | pull_request: 7 | branches: ["*"] 8 | 9 | jobs: 10 | build: 11 | runs-on: ubuntu-latest 12 | 13 | strategy: 14 | matrix: 15 | node-version: [10.x, 12.x, 14.x] 16 | 17 | steps: 18 | - uses: actions/checkout@v2 19 | - name: Use Node.js ${{ matrix.node-version }} 20 | uses: actions/setup-node@v1 21 | with: 22 | node-version: ${{ matrix.node-version }} 23 | - run: npm install 24 | - run: npm test 25 | - name: Coveralls 26 | uses: coverallsapp/github-action@master 27 | with: 28 | github-token: ${{ secrets.GITHUB_TOKEN }} 29 | -------------------------------------------------------------------------------- /node_modules/json-schema-traverse/.github/workflows/publish.yml: -------------------------------------------------------------------------------- 1 | name: publish 2 | 3 | on: 4 | release: 5 | types: [published] 6 | 7 | jobs: 8 | publish-npm: 9 | runs-on: ubuntu-latest 10 | steps: 11 | - uses: actions/checkout@v2 12 | - uses: actions/setup-node@v1 13 | with: 14 | node-version: 14 15 | registry-url: https://registry.npmjs.org/ 16 | - run: npm install 17 | - run: npm test 18 | - name: Publish beta version to npm 19 | if: "github.event.release.prerelease" 20 | run: npm publish --tag beta 21 | env: 22 | NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} 23 | - name: Publish to npm 24 | if: "!github.event.release.prerelease" 25 | run: npm publish 26 | env: 27 | NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} 28 | -------------------------------------------------------------------------------- /node_modules/json-schema-traverse/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function traverse( 2 | schema: traverse.SchemaObject, 3 | opts: traverse.Options, 4 | cb?: traverse.Callback 5 | ): void; 6 | 7 | declare function traverse( 8 | schema: traverse.SchemaObject, 9 | cb: traverse.Callback 10 | ): void; 11 | 12 | declare namespace traverse { 13 | interface SchemaObject { 14 | $id?: string; 15 | $schema?: string; 16 | [x: string]: any; 17 | } 18 | 19 | type Callback = ( 20 | schema: SchemaObject, 21 | jsonPtr: string, 22 | rootSchema: SchemaObject, 23 | parentJsonPtr?: string, 24 | parentKeyword?: string, 25 | parentSchema?: SchemaObject, 26 | keyIndex?: string | number 27 | ) => void; 28 | 29 | interface Options { 30 | allKeys?: boolean; 31 | cb?: 32 | | Callback 33 | | { 34 | pre?: Callback; 35 | post?: Callback; 36 | }; 37 | } 38 | } 39 | 40 | export = traverse; 41 | -------------------------------------------------------------------------------- /node_modules/json-schema-traverse/spec/.eslintrc.yml: -------------------------------------------------------------------------------- 1 | parserOptions: 2 | ecmaVersion: 6 3 | globals: 4 | beforeEach: false 5 | describe: false 6 | it: false 7 | -------------------------------------------------------------------------------- /node_modules/lodash.truncate/README.md: -------------------------------------------------------------------------------- 1 | # lodash.truncate v4.4.2 2 | 3 | The [lodash](https://lodash.com/) method `_.truncate` exported as a [Node.js](https://nodejs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | ```bash 9 | $ {sudo -H} npm i -g npm 10 | $ npm i --save lodash.truncate 11 | ``` 12 | 13 | In Node.js: 14 | ```js 15 | var truncate = require('lodash.truncate'); 16 | ``` 17 | 18 | See the [documentation](https://lodash.com/docs#truncate) or [package source](https://github.com/lodash/lodash/blob/4.4.2-npm-packages/lodash.truncate) for more details. 19 | -------------------------------------------------------------------------------- /node_modules/lodash.truncate/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lodash.truncate", 3 | "version": "4.4.2", 4 | "description": "The lodash method `_.truncate` exported as a module.", 5 | "homepage": "https://lodash.com/", 6 | "icon": "https://lodash.com/icon.svg", 7 | "license": "MIT", 8 | "keywords": "lodash-modularized, truncate", 9 | "author": "John-David Dalton (http://allyoucanleet.com/)", 10 | "contributors": [ 11 | "John-David Dalton (http://allyoucanleet.com/)", 12 | "Blaine Bublitz (https://github.com/phated)", 13 | "Mathias Bynens (https://mathiasbynens.be/)" 14 | ], 15 | "repository": "lodash/lodash", 16 | "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" } 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/mime-db/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * mime-db 3 | * Copyright(c) 2014 Jonathan Ong 4 | * Copyright(c) 2015-2022 Douglas Christopher Wilson 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module exports. 10 | */ 11 | 12 | module.exports = require('./db.json') 13 | -------------------------------------------------------------------------------- /node_modules/proxy-from-env/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "node": true 4 | }, 5 | "rules": { 6 | "array-bracket-spacing": [2, "never"], 7 | "block-scoped-var": 2, 8 | "brace-style": [2, "1tbs"], 9 | "camelcase": 1, 10 | "computed-property-spacing": [2, "never"], 11 | "curly": 2, 12 | "eol-last": 2, 13 | "eqeqeq": [2, "smart"], 14 | "max-depth": [1, 3], 15 | "max-len": [1, 80], 16 | "max-statements": [1, 15], 17 | "new-cap": 1, 18 | "no-extend-native": 2, 19 | "no-mixed-spaces-and-tabs": 2, 20 | "no-trailing-spaces": 2, 21 | "no-unused-vars": 1, 22 | "no-use-before-define": [2, "nofunc"], 23 | "object-curly-spacing": [2, "never"], 24 | "quotes": [2, "single", "avoid-escape"], 25 | "semi": [2, "always"], 26 | "keyword-spacing": [2, {"before": true, "after": true}], 27 | "space-unary-ops": 2 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/proxy-from-env/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - node 4 | - lts/* 5 | script: 6 | - npm run lint 7 | # test-coverage will also run the tests, but does not print helpful output upon test failure. 8 | # So we also run the tests separately. 9 | - npm run test 10 | - npm run test-coverage && cat coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage 11 | -------------------------------------------------------------------------------- /node_modules/require-from-string/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "require-from-string", 3 | "version": "2.0.2", 4 | "description": "Require module from string", 5 | "license": "MIT", 6 | "repository": "floatdrop/require-from-string", 7 | "author": { 8 | "name": "Vsevolod Strukchinsky", 9 | "email": "floatdrop@gmail.com", 10 | "url": "github.com/floatdrop" 11 | }, 12 | "engines": { 13 | "node": ">=0.10.0" 14 | }, 15 | "scripts": { 16 | "test": "mocha" 17 | }, 18 | "files": [ 19 | "index.js" 20 | ], 21 | "keywords": [ 22 | "" 23 | ], 24 | "dependencies": {}, 25 | "devDependencies": { 26 | "mocha": "*" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /node_modules/string-width/index.d.ts: -------------------------------------------------------------------------------- 1 | declare const stringWidth: { 2 | /** 3 | Get the visual width of a string - the number of columns required to display it. 4 | 5 | Some Unicode characters are [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms) and use double the normal width. [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) are stripped and doesn't affect the width. 6 | 7 | @example 8 | ``` 9 | import stringWidth = require('string-width'); 10 | 11 | stringWidth('a'); 12 | //=> 1 13 | 14 | stringWidth('古'); 15 | //=> 2 16 | 17 | stringWidth('\u001B[1m古\u001B[22m'); 18 | //=> 2 19 | ``` 20 | */ 21 | (string: string): number; 22 | 23 | // TODO: remove this in the next major version, refactor the whole definition to: 24 | // declare function stringWidth(string: string): number; 25 | // export = stringWidth; 26 | default: typeof stringWidth; 27 | } 28 | 29 | export = stringWidth; 30 | -------------------------------------------------------------------------------- /node_modules/strip-ansi/index.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | Strip [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) from a string. 3 | 4 | @example 5 | ``` 6 | import stripAnsi = require('strip-ansi'); 7 | 8 | stripAnsi('\u001B[4mUnicorn\u001B[0m'); 9 | //=> 'Unicorn' 10 | 11 | stripAnsi('\u001B]8;;https://github.com\u0007Click\u001B]8;;\u0007'); 12 | //=> 'Click' 13 | ``` 14 | */ 15 | declare function stripAnsi(string: string): string; 16 | 17 | export = stripAnsi; 18 | -------------------------------------------------------------------------------- /node_modules/strip-ansi/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | const ansiRegex = require('ansi-regex'); 3 | 4 | module.exports = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string; 5 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/alignSpanningCell.d.ts: -------------------------------------------------------------------------------- 1 | import type { SpanningCellContext } from './spanningCellManager'; 2 | import type { RangeConfig } from './types/internal'; 3 | /** 4 | * Fill content into all cells in range in order to calculate total height 5 | */ 6 | export declare const wrapRangeContent: (rangeConfig: RangeConfig, rangeWidth: number, context: SpanningCellContext) => string[]; 7 | export declare const alignVerticalRangeContent: (range: RangeConfig, content: string[], context: SpanningCellContext) => string[]; 8 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/alignString.d.ts: -------------------------------------------------------------------------------- 1 | import type { Alignment } from './types/api'; 2 | /** 3 | * Pads a string to the left and/or right to position the subject 4 | * text in a desired alignment within a container. 5 | */ 6 | export declare const alignString: (subject: string, containerWidth: number, alignment: Alignment) => string; 7 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/alignTableData.d.ts: -------------------------------------------------------------------------------- 1 | import type { BaseConfig, Row } from './types/internal'; 2 | export declare const alignTableData: (rows: Row[], config: BaseConfig) => Row[]; 3 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/alignTableData.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.alignTableData = void 0; 4 | const alignString_1 = require("./alignString"); 5 | const alignTableData = (rows, config) => { 6 | return rows.map((row, rowIndex) => { 7 | return row.map((cell, cellIndex) => { 8 | var _a; 9 | const { width, alignment } = config.columns[cellIndex]; 10 | const containingRange = (_a = config.spanningCellManager) === null || _a === void 0 ? void 0 : _a.getContainingRange({ col: cellIndex, 11 | row: rowIndex }, { mapped: true }); 12 | if (containingRange) { 13 | return cell; 14 | } 15 | return (0, alignString_1.alignString)(cell, width, alignment); 16 | }); 17 | }); 18 | }; 19 | exports.alignTableData = alignTableData; 20 | //# sourceMappingURL=alignTableData.js.map -------------------------------------------------------------------------------- /node_modules/table/dist/src/alignTableData.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"alignTableData.js","sourceRoot":"","sources":["../../src/alignTableData.ts"],"names":[],"mappings":";;;AAAA,+CAEuB;AAMhB,MAAM,cAAc,GAAG,CAAC,IAAW,EAAE,MAAkB,EAAS,EAAE;IACvE,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,QAAQ,EAAE,EAAE;QAChC,OAAO,GAAG,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE;;YACjC,MAAM,EAAC,KAAK,EAAE,SAAS,EAAC,GAAG,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;YAErD,MAAM,eAAe,GAAG,MAAA,MAAM,CAAC,mBAAmB,0CAAE,kBAAkB,CAAC,EAAC,GAAG,EAAE,SAAS;gBACpF,GAAG,EAAE,QAAQ,EAAC,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC,CAAC,CAAC;YAClC,IAAI,eAAe,EAAE;gBACnB,OAAO,IAAI,CAAC;aACb;YAED,OAAO,IAAA,yBAAW,EAAC,IAAI,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;QAC7C,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAdW,QAAA,cAAc,kBAczB"} -------------------------------------------------------------------------------- /node_modules/table/dist/src/calculateCellHeight.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Calculates height of cell content in regard to its width and word wrapping. 3 | */ 4 | export declare const calculateCellHeight: (value: string, columnWidth: number, useWrapWord?: boolean) => number; 5 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/calculateCellHeight.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.calculateCellHeight = void 0; 4 | const wrapCell_1 = require("./wrapCell"); 5 | /** 6 | * Calculates height of cell content in regard to its width and word wrapping. 7 | */ 8 | const calculateCellHeight = (value, columnWidth, useWrapWord = false) => { 9 | return (0, wrapCell_1.wrapCell)(value, columnWidth, useWrapWord).length; 10 | }; 11 | exports.calculateCellHeight = calculateCellHeight; 12 | //# sourceMappingURL=calculateCellHeight.js.map -------------------------------------------------------------------------------- /node_modules/table/dist/src/calculateCellHeight.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"calculateCellHeight.js","sourceRoot":"","sources":["../../src/calculateCellHeight.ts"],"names":[],"mappings":";;;AAAA,yCAEoB;AAEpB;;GAEG;AACI,MAAM,mBAAmB,GAAG,CAAC,KAAa,EAAE,WAAmB,EAAE,WAAW,GAAG,KAAK,EAAU,EAAE;IACrG,OAAO,IAAA,mBAAQ,EAAC,KAAK,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC,MAAM,CAAC;AAC1D,CAAC,CAAC;AAFW,QAAA,mBAAmB,uBAE9B"} -------------------------------------------------------------------------------- /node_modules/table/dist/src/calculateMaximumColumnWidths.d.ts: -------------------------------------------------------------------------------- 1 | import type { SpanningCellConfig } from './types/api'; 2 | import type { Row, Cell } from './types/internal'; 3 | export declare const calculateMaximumCellWidth: (cell: Cell) => number; 4 | /** 5 | * Produces an array of values that describe the largest value length (width) in every column. 6 | */ 7 | export declare const calculateMaximumColumnWidths: (rows: Row[], spanningCellConfigs?: SpanningCellConfig[]) => number[]; 8 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/calculateOutputColumnWidths.d.ts: -------------------------------------------------------------------------------- 1 | import type { TableConfig } from './types/internal'; 2 | export declare const calculateOutputColumnWidths: (config: TableConfig) => number[]; 3 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/calculateOutputColumnWidths.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.calculateOutputColumnWidths = void 0; 4 | const calculateOutputColumnWidths = (config) => { 5 | return config.columns.map((col) => { 6 | return col.paddingLeft + col.width + col.paddingRight; 7 | }); 8 | }; 9 | exports.calculateOutputColumnWidths = calculateOutputColumnWidths; 10 | //# sourceMappingURL=calculateOutputColumnWidths.js.map -------------------------------------------------------------------------------- /node_modules/table/dist/src/calculateOutputColumnWidths.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"calculateOutputColumnWidths.js","sourceRoot":"","sources":["../../src/calculateOutputColumnWidths.ts"],"names":[],"mappings":";;;AAIO,MAAM,2BAA2B,GAAG,CAAC,MAAmB,EAAY,EAAE;IAC3E,OAAO,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;QAChC,OAAO,GAAG,CAAC,WAAW,GAAG,GAAG,CAAC,KAAK,GAAG,GAAG,CAAC,YAAY,CAAC;IACxD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAJW,QAAA,2BAA2B,+BAItC"} -------------------------------------------------------------------------------- /node_modules/table/dist/src/calculateRowHeights.d.ts: -------------------------------------------------------------------------------- 1 | import type { BaseConfig, Row } from './types/internal'; 2 | /** 3 | * Produces an array of values that describe the largest value length (height) in every row. 4 | */ 5 | export declare const calculateRowHeights: (rows: Row[], config: BaseConfig) => number[]; 6 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/calculateSpanningCellWidth.d.ts: -------------------------------------------------------------------------------- 1 | import type { SpanningCellParameters } from './spanningCellManager'; 2 | import type { RangeConfig } from './types/internal'; 3 | export declare const calculateSpanningCellWidth: (rangeConfig: RangeConfig, dependencies: SpanningCellParameters) => number; 4 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/createStream.d.ts: -------------------------------------------------------------------------------- 1 | import type { StreamUserConfig, WritableStream } from './types/api'; 2 | export declare const createStream: (userConfig: StreamUserConfig) => WritableStream; 3 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/drawContent.d.ts: -------------------------------------------------------------------------------- 1 | import type { SpanningCellManager } from './spanningCellManager'; 2 | /** 3 | * Shared function to draw horizontal borders, rows or the entire table 4 | */ 5 | declare type DrawContentParameters = { 6 | contents: string[]; 7 | drawSeparator: (index: number, size: number) => boolean; 8 | separatorGetter: (index: number, size: number) => string; 9 | spanningCellManager?: SpanningCellManager; 10 | rowIndex?: number; 11 | elementType?: 'border' | 'cell' | 'row'; 12 | }; 13 | export declare const drawContent: (parameters: DrawContentParameters) => string; 14 | export {}; 15 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/drawRow.d.ts: -------------------------------------------------------------------------------- 1 | import type { SpanningCellManager } from './spanningCellManager'; 2 | import type { DrawVerticalLine } from './types/api'; 3 | import type { BodyBorderConfig, Row } from './types/internal'; 4 | export declare type DrawRowConfig = { 5 | border: BodyBorderConfig; 6 | drawVerticalLine: DrawVerticalLine; 7 | spanningCellManager?: SpanningCellManager; 8 | rowIndex?: number; 9 | }; 10 | export declare const drawRow: (row: Row, config: DrawRowConfig) => string; 11 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/drawRow.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.drawRow = void 0; 4 | const drawContent_1 = require("./drawContent"); 5 | const drawRow = (row, config) => { 6 | const { border, drawVerticalLine, rowIndex, spanningCellManager } = config; 7 | return (0, drawContent_1.drawContent)({ 8 | contents: row, 9 | drawSeparator: drawVerticalLine, 10 | elementType: 'cell', 11 | rowIndex, 12 | separatorGetter: (index, columnCount) => { 13 | if (index === 0) { 14 | return border.bodyLeft; 15 | } 16 | if (index === columnCount) { 17 | return border.bodyRight; 18 | } 19 | return border.bodyJoin; 20 | }, 21 | spanningCellManager, 22 | }) + '\n'; 23 | }; 24 | exports.drawRow = drawRow; 25 | //# sourceMappingURL=drawRow.js.map -------------------------------------------------------------------------------- /node_modules/table/dist/src/drawRow.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"drawRow.js","sourceRoot":"","sources":["../../src/drawRow.ts"],"names":[],"mappings":";;;AAAA,+CAEuB;AAmBhB,MAAM,OAAO,GAAG,CAAC,GAAQ,EAAE,MAAqB,EAAU,EAAE;IACjE,MAAM,EAAC,MAAM,EAAE,gBAAgB,EAAE,QAAQ,EAAE,mBAAmB,EAAC,GAAG,MAAM,CAAC;IAEzE,OAAO,IAAA,yBAAW,EAAC;QACjB,QAAQ,EAAE,GAAG;QACb,aAAa,EAAE,gBAAgB;QAC/B,WAAW,EAAE,MAAM;QACnB,QAAQ;QACR,eAAe,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,EAAE;YACtC,IAAI,KAAK,KAAK,CAAC,EAAE;gBACf,OAAO,MAAM,CAAC,QAAQ,CAAC;aACxB;YAED,IAAI,KAAK,KAAK,WAAW,EAAE;gBACzB,OAAO,MAAM,CAAC,SAAS,CAAC;aACzB;YAED,OAAO,MAAM,CAAC,QAAQ,CAAC;QACzB,CAAC;QACD,mBAAmB;KACpB,CAAC,GAAG,IAAI,CAAC;AACZ,CAAC,CAAC;AArBW,QAAA,OAAO,WAqBlB"} -------------------------------------------------------------------------------- /node_modules/table/dist/src/drawTable.d.ts: -------------------------------------------------------------------------------- 1 | import type { TableConfig, Row } from './types/internal'; 2 | export declare const drawTable: (rows: Row[], outputColumnWidths: number[], rowHeights: number[], config: TableConfig) => string; 3 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/generated/validators.d.ts: -------------------------------------------------------------------------------- 1 | declare function validate43(data: any, { instancePath, parentData, parentDataProperty, rootData }?: { 2 | instancePath?: string | undefined; 3 | parentData: any; 4 | parentDataProperty: any; 5 | rootData?: any; 6 | }): boolean; 7 | declare function validate86(data: any, { instancePath, parentData, parentDataProperty, rootData }?: { 8 | instancePath?: string | undefined; 9 | parentData: any; 10 | parentDataProperty: any; 11 | rootData?: any; 12 | }): boolean; 13 | export { validate43 as _config_json, validate86 as _streamConfig_json }; 14 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/getBorderCharacters.d.ts: -------------------------------------------------------------------------------- 1 | import type { BorderConfig } from './types/api'; 2 | export declare const getBorderCharacters: (name: string) => BorderConfig; 3 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/index.d.ts: -------------------------------------------------------------------------------- 1 | import { createStream } from './createStream'; 2 | import { getBorderCharacters } from './getBorderCharacters'; 3 | import { table } from './table'; 4 | export { table, createStream, getBorderCharacters, }; 5 | export * from './types/api'; 6 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,iDAEwB;AAUtB,6FAXA,2BAAY,OAWA;AATd,+DAE+B;AAQ7B,oGATA,yCAAmB,OASA;AAPrB,mCAEiB;AAGf,sFAJA,aAAK,OAIA;AAKP,8CAA4B"} -------------------------------------------------------------------------------- /node_modules/table/dist/src/injectHeaderConfig.d.ts: -------------------------------------------------------------------------------- 1 | import type { SpanningCellConfig, TableUserConfig } from './types/api'; 2 | import type { Row } from './types/internal'; 3 | export declare const injectHeaderConfig: (rows: Row[], config: TableUserConfig) => [Row[], SpanningCellConfig[]]; 4 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/makeRangeConfig.d.ts: -------------------------------------------------------------------------------- 1 | import type { SpanningCellConfig } from './types/api'; 2 | import type { ColumnConfig, RangeConfig } from './types/internal'; 3 | export declare const makeRangeConfig: (spanningCellConfig: SpanningCellConfig, columnsConfig: ColumnConfig[]) => RangeConfig; 4 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/makeRangeConfig.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.makeRangeConfig = void 0; 4 | const utils_1 = require("./utils"); 5 | const makeRangeConfig = (spanningCellConfig, columnsConfig) => { 6 | var _a; 7 | const { topLeft, bottomRight } = (0, utils_1.calculateRangeCoordinate)(spanningCellConfig); 8 | const cellConfig = { 9 | ...columnsConfig[topLeft.col], 10 | ...spanningCellConfig, 11 | paddingRight: (_a = spanningCellConfig.paddingRight) !== null && _a !== void 0 ? _a : columnsConfig[bottomRight.col].paddingRight, 12 | }; 13 | return { ...cellConfig, 14 | bottomRight, 15 | topLeft }; 16 | }; 17 | exports.makeRangeConfig = makeRangeConfig; 18 | //# sourceMappingURL=makeRangeConfig.js.map -------------------------------------------------------------------------------- /node_modules/table/dist/src/makeRangeConfig.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"makeRangeConfig.js","sourceRoot":"","sources":["../../src/makeRangeConfig.ts"],"names":[],"mappings":";;;AAMA,mCAEiB;AAEV,MAAM,eAAe,GAAG,CAAC,kBAAsC,EAAE,aAA6B,EAAe,EAAE;;IACpH,MAAM,EAAC,OAAO,EAAE,WAAW,EAAC,GAAG,IAAA,gCAAwB,EAAC,kBAAkB,CAAC,CAAC;IAE5E,MAAM,UAAU,GAA6B;QAC3C,GAAG,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC;QAC7B,GAAG,kBAAkB;QACrB,YAAY,EACV,MAAA,kBAAkB,CAAC,YAAY,mCAC/B,aAAa,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,YAAY;KAC9C,CAAC;IAEF,OAAO,EAAC,GAAG,UAAU;QACnB,WAAW;QACX,OAAO,EAAC,CAAC;AACb,CAAC,CAAC;AAdW,QAAA,eAAe,mBAc1B"} -------------------------------------------------------------------------------- /node_modules/table/dist/src/makeStreamConfig.d.ts: -------------------------------------------------------------------------------- 1 | import type { StreamUserConfig } from './types/api'; 2 | import type { StreamConfig } from './types/internal'; 3 | /** 4 | * Makes a new configuration object out of the userConfig object 5 | * using default values for the missing configuration properties. 6 | */ 7 | export declare const makeStreamConfig: (config: StreamUserConfig) => StreamConfig; 8 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/makeTableConfig.d.ts: -------------------------------------------------------------------------------- 1 | import type { SpanningCellConfig, TableUserConfig } from './types/api'; 2 | import type { Row, TableConfig } from './types/internal'; 3 | /** 4 | * Makes a new configuration object out of the userConfig object 5 | * using default values for the missing configuration properties. 6 | */ 7 | export declare const makeTableConfig: (rows: Row[], config?: TableUserConfig, injectedSpanningCellConfig?: SpanningCellConfig[] | undefined) => TableConfig; 8 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/mapDataUsingRowHeights.d.ts: -------------------------------------------------------------------------------- 1 | import type { VerticalAlignment } from './types/api'; 2 | import type { BaseConfig, Row } from './types/internal'; 3 | export declare const padCellVertically: (lines: string[], rowHeight: number, verticalAlignment: VerticalAlignment) => string[]; 4 | export declare const mapDataUsingRowHeights: (unmappedRows: Row[], rowHeights: number[], config: BaseConfig) => Row[]; 5 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/padTableData.d.ts: -------------------------------------------------------------------------------- 1 | import type { BaseConfig, Row } from './types/internal'; 2 | export declare const padString: (input: string, paddingLeft: number, paddingRight: number) => string; 3 | export declare const padTableData: (rows: Row[], config: BaseConfig) => Row[]; 4 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/padTableData.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"padTableData.js","sourceRoot":"","sources":["../../src/padTableData.ts"],"names":[],"mappings":";;;AAKO,MAAM,SAAS,GAAG,CAAC,KAAa,EAAE,WAAmB,EAAE,YAAoB,EAAU,EAAE;IAC5F,OAAO,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;AACpE,CAAC,CAAC;AAFW,QAAA,SAAS,aAEpB;AAEK,MAAM,YAAY,GAAG,CAAC,IAAW,EAAE,MAAkB,EAAS,EAAE;IACrE,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,QAAQ,EAAE,EAAE;QAClC,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE;;YACnC,MAAM,eAAe,GAAG,MAAA,MAAM,CAAC,mBAAmB,0CAAE,kBAAkB,CAAC,EAAC,GAAG,EAAE,SAAS;gBACpF,GAAG,EAAE,QAAQ,EAAC,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC,CAAC,CAAC;YAClC,IAAI,eAAe,EAAE;gBACnB,OAAO,IAAI,CAAC;aACb;YAED,MAAM,EAAC,WAAW,EAAE,YAAY,EAAC,GAAG,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;YAE9D,OAAO,IAAA,iBAAS,EAAC,IAAI,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC;QACpD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAdW,QAAA,YAAY,gBAcvB"} -------------------------------------------------------------------------------- /node_modules/table/dist/src/schemas/streamConfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "streamConfig.json", 3 | "$schema": "http://json-schema.org/draft-07/schema#", 4 | "type": "object", 5 | "properties": { 6 | "border": { 7 | "$ref": "shared.json#/definitions/borders" 8 | }, 9 | "columns": { 10 | "$ref": "shared.json#/definitions/columns" 11 | }, 12 | "columnDefault": { 13 | "$ref": "shared.json#/definitions/column" 14 | }, 15 | "columnCount": { 16 | "type": "integer", 17 | "minimum": 1 18 | }, 19 | "drawVerticalLine": { 20 | "typeof": "function" 21 | } 22 | }, 23 | "required": ["columnDefault", "columnCount"], 24 | "additionalProperties": false 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/stringifyTableData.d.ts: -------------------------------------------------------------------------------- 1 | import type { Row } from './types/internal'; 2 | export declare const stringifyTableData: (rows: unknown[][]) => Row[]; 3 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/stringifyTableData.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.stringifyTableData = void 0; 4 | const utils_1 = require("./utils"); 5 | const stringifyTableData = (rows) => { 6 | return rows.map((cells) => { 7 | return cells.map((cell) => { 8 | return (0, utils_1.normalizeString)(String(cell)); 9 | }); 10 | }); 11 | }; 12 | exports.stringifyTableData = stringifyTableData; 13 | //# sourceMappingURL=stringifyTableData.js.map -------------------------------------------------------------------------------- /node_modules/table/dist/src/stringifyTableData.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"stringifyTableData.js","sourceRoot":"","sources":["../../src/stringifyTableData.ts"],"names":[],"mappings":";;;AAGA,mCAEiB;AAEV,MAAM,kBAAkB,GAAG,CAAC,IAAiB,EAAS,EAAE;IAC7D,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QACxB,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;YACxB,OAAO,IAAA,uBAAe,EAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;QACvC,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AANW,QAAA,kBAAkB,sBAM7B"} -------------------------------------------------------------------------------- /node_modules/table/dist/src/table.d.ts: -------------------------------------------------------------------------------- 1 | import type { TableUserConfig } from './types/api'; 2 | export declare const table: (data: unknown[][], userConfig?: TableUserConfig) => string; 3 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/truncateTableData.d.ts: -------------------------------------------------------------------------------- 1 | import type { Row } from './types/internal'; 2 | export declare const truncateString: (input: string, length: number) => string; 3 | /** 4 | * @todo Make it work with ASCII content. 5 | */ 6 | export declare const truncateTableData: (rows: Row[], truncates: number[]) => Row[]; 7 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/truncateTableData.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"truncateTableData.js","sourceRoot":"","sources":["../../src/truncateTableData.ts"],"names":[],"mappings":";;;;;;AAAA,sEAAuC;AAKhC,MAAM,cAAc,GAAG,CAAC,KAAa,EAAE,MAAc,EAAU,EAAE;IACtE,OAAO,IAAA,yBAAQ,EAAC,KAAK,EAAE,EAAC,MAAM;QAC5B,QAAQ,EAAE,GAAG,EAAC,CAAC,CAAC;AACpB,CAAC,CAAC;AAHW,QAAA,cAAc,kBAGzB;AAEF;;GAEG;AACI,MAAM,iBAAiB,GAAG,CAAC,IAAW,EAAE,SAAmB,EAAS,EAAE;IAC3E,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QACxB,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE;YACnC,OAAO,IAAA,sBAAc,EAAC,IAAI,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;QACpD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AANW,QAAA,iBAAiB,qBAM5B"} -------------------------------------------------------------------------------- /node_modules/table/dist/src/types/api.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=api.js.map -------------------------------------------------------------------------------- /node_modules/table/dist/src/types/api.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/types/api.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/table/dist/src/types/internal.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/types/internal.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=internal.js.map -------------------------------------------------------------------------------- /node_modules/table/dist/src/types/internal.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/types/internal.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/table/dist/src/utils.d.ts: -------------------------------------------------------------------------------- 1 | import type { SpanningCellConfig } from './types/api'; 2 | import type { BaseConfig, CellCoordinates, RangeCoordinate } from './types/internal'; 3 | export declare const sequence: (start: number, end: number) => number[]; 4 | export declare const sumArray: (array: number[]) => number; 5 | export declare const extractTruncates: (config: BaseConfig) => number[]; 6 | export declare const flatten: (array: T[][]) => T[]; 7 | export declare const findOriginalRowIndex: (mappedRowHeights: number[], mappedRowIndex: number) => number; 8 | export declare const calculateRangeCoordinate: (spanningCellConfig: SpanningCellConfig) => RangeCoordinate; 9 | export declare const areCellEqual: (cell1: CellCoordinates, cell2: CellCoordinates) => boolean; 10 | export declare const isCellInRange: (cell: CellCoordinates, { topLeft, bottomRight }: RangeCoordinate) => boolean; 11 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/validateConfig.d.ts: -------------------------------------------------------------------------------- 1 | import type { TableUserConfig } from './types/api'; 2 | export declare const validateConfig: (schemaId: 'config.json' | 'streamConfig.json', config: TableUserConfig) => void; 3 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/validateConfig.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"validateConfig.js","sourceRoot":"","sources":["../../src/validateConfig.ts"],"names":[],"mappings":";;;;;;AAIA,wEAAgD;AAKzC,MAAM,cAAc,GAAG,CAAC,QAA6C,EAAE,MAAuB,EAAQ,EAAE;IAC7G,MAAM,QAAQ,GAAG,oBAAU,CAAC,QAAQ,CAAqB,CAAC;IAC1D,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,QAAQ,CAAC,MAAM,EAAE;QACxC,6DAA6D;QAC7D,MAAM,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAkB,EAAE,EAAE;YACxD,OAAO;gBACL,OAAO,EAAE,KAAK,CAAC,OAAO;gBACtB,MAAM,EAAE,KAAK,CAAC,MAAM;gBACpB,UAAU,EAAE,KAAK,CAAC,UAAU;aAC7B,CAAC;QACJ,CAAC,CAAC,CAAC;QAEH,+BAA+B;QAC/B,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;QAC9B,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;QAC9B,8BAA8B;QAE9B,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC;KACpC;AACH,CAAC,CAAC;AAnBW,QAAA,cAAc,kBAmBzB"} -------------------------------------------------------------------------------- /node_modules/table/dist/src/validateSpanningCellConfig.d.ts: -------------------------------------------------------------------------------- 1 | import type { SpanningCellConfig } from './types/api'; 2 | import type { Row } from './types/internal'; 3 | export declare const validateSpanningCellConfig: (rows: Row[], configs: SpanningCellConfig[]) => void; 4 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/validateTableData.d.ts: -------------------------------------------------------------------------------- 1 | export declare const validateTableData: (rows: unknown[][]) => void; 2 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/wrapCell.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Wrap a single cell value into a list of lines 3 | * 4 | * Always wraps on newlines, for the remainder uses either word or string wrapping 5 | * depending on user configuration. 6 | * 7 | */ 8 | export declare const wrapCell: (cellValue: string, cellWidth: number, useWrapWord: boolean) => string[]; 9 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/wrapCell.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"wrapCell.js","sourceRoot":"","sources":["../../src/wrapCell.ts"],"names":[],"mappings":";;;AAAA,mCAEiB;AACjB,6CAEsB;AACtB,yCAEoB;AAEpB;;;;;;GAMG;AACI,MAAM,QAAQ,GAAG,CAAC,SAAiB,EAAE,SAAiB,EAAE,WAAoB,EAAY,EAAE;IAC/F,kCAAkC;IAClC,MAAM,SAAS,GAAG,IAAA,iBAAS,EAAC,SAAS,CAAC,CAAC;IAEvC,8EAA8E;IAC9E,KAAK,IAAI,MAAM,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC,MAAM,GAAG;QAC/C,IAAI,UAAU,CAAC;QAEf,IAAI,WAAW,EAAE;YACf,UAAU,GAAG,IAAA,mBAAQ,EAAC,SAAS,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC,CAAC;SACrD;aAAM;YACL,UAAU,GAAG,IAAA,uBAAU,EAAC,SAAS,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC,CAAC;SACvD;QAED,yEAAyE;QACzE,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,GAAG,UAAU,CAAC,CAAC;QAC3C,MAAM,IAAI,UAAU,CAAC,MAAM,CAAC;KAC7B;IAED,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AApBW,QAAA,QAAQ,YAoBnB"} -------------------------------------------------------------------------------- /node_modules/table/dist/src/wrapString.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Creates an array of strings split into groups the length of size. 3 | * This function works with strings that contain ASCII characters. 4 | * 5 | * wrapText is different from would-be "chunk" implementation 6 | * in that whitespace characters that occur on a chunk size limit are trimmed. 7 | * 8 | */ 9 | export declare const wrapString: (subject: string, size: number) => string[]; 10 | -------------------------------------------------------------------------------- /node_modules/table/dist/src/wrapString.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"wrapString.js","sourceRoot":"","sources":["../../src/wrapString.ts"],"names":[],"mappings":";;;;;;AAAA,4DAA+B;AAC/B,gEAAuC;AAEvC;;;;;;;GAOG;AACI,MAAM,UAAU,GAAG,CAAC,OAAe,EAAE,IAAY,EAAY,EAAE;IACpE,IAAI,YAAY,GAAG,OAAO,CAAC;IAE3B,MAAM,MAAM,GAAa,EAAE,CAAC;IAE5B,GAAG;QACD,MAAM,CAAC,IAAI,CAAC,IAAA,oBAAK,EAAC,YAAY,EAAE,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;QAE1C,YAAY,GAAG,IAAA,oBAAK,EAAC,YAAY,EAAE,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC;KACjD,QAAQ,IAAA,sBAAW,EAAC,YAAY,CAAC,EAAE;IAEpC,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAZW,QAAA,UAAU,cAYrB"} -------------------------------------------------------------------------------- /node_modules/table/dist/src/wrapWord.d.ts: -------------------------------------------------------------------------------- 1 | export declare const wrapWord: (input: string, size: number) => string[]; 2 | -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from "./uri"; 2 | -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/index.js: -------------------------------------------------------------------------------- 1 | import { SCHEMES } from "./uri"; 2 | import http from "./schemes/http"; 3 | SCHEMES[http.scheme] = http; 4 | import https from "./schemes/https"; 5 | SCHEMES[https.scheme] = https; 6 | import ws from "./schemes/ws"; 7 | SCHEMES[ws.scheme] = ws; 8 | import wss from "./schemes/wss"; 9 | SCHEMES[wss.scheme] = wss; 10 | import mailto from "./schemes/mailto"; 11 | SCHEMES[mailto.scheme] = mailto; 12 | import urn from "./schemes/urn"; 13 | SCHEMES[urn.scheme] = urn; 14 | import uuid from "./schemes/urn-uuid"; 15 | SCHEMES[uuid.scheme] = uuid; 16 | export * from "./uri"; 17 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;AAE5B,OAAO,KAAK,MAAM,iBAAiB,CAAC;AACpC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC;AAE9B,OAAO,EAAE,MAAM,cAAc,CAAC;AAC9B,OAAO,CAAC,EAAE,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;AAExB,OAAO,GAAG,MAAM,eAAe,CAAC;AAChC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC;AAE1B,OAAO,MAAM,MAAM,kBAAkB,CAAC;AACtC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;AAEhC,OAAO,GAAG,MAAM,eAAe,CAAC;AAChC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC;AAE1B,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;AAE5B,cAAc,OAAO,CAAC"} -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/regexps-iri.d.ts: -------------------------------------------------------------------------------- 1 | import { URIRegExps } from "./uri"; 2 | declare const _default: URIRegExps; 3 | export default _default; 4 | -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/regexps-iri.js: -------------------------------------------------------------------------------- 1 | import { buildExps } from "./regexps-uri"; 2 | export default buildExps(true); 3 | //# sourceMappingURL=regexps-iri.js.map -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/regexps-iri.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"regexps-iri.js","sourceRoot":"","sources":["../../src/regexps-iri.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,eAAe,SAAS,CAAC,IAAI,CAAC,CAAC"} -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/regexps-uri.d.ts: -------------------------------------------------------------------------------- 1 | import { URIRegExps } from "./uri"; 2 | export declare function buildExps(isIRI: boolean): URIRegExps; 3 | declare const _default: URIRegExps; 4 | export default _default; 5 | -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/http.d.ts: -------------------------------------------------------------------------------- 1 | import { URISchemeHandler } from "../uri"; 2 | declare const handler: URISchemeHandler; 3 | export default handler; 4 | -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/http.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"http.js","sourceRoot":"","sources":["../../../src/schemes/http.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,GAAoB;IAChC,MAAM,EAAG,MAAM;IAEf,UAAU,EAAG,IAAI;IAEjB,KAAK,EAAG,UAAU,UAAwB,EAAE,OAAkB;QAC7D,qBAAqB;QACrB,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE;YACrB,UAAU,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,IAAI,6BAA6B,CAAC;SACrE;QAED,OAAO,UAAU,CAAC;IACnB,CAAC;IAED,SAAS,EAAG,UAAU,UAAwB,EAAE,OAAkB;QACjE,MAAM,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,KAAK,OAAO,CAAC;QAEnE,4BAA4B;QAC5B,IAAI,UAAU,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,UAAU,CAAC,IAAI,KAAK,EAAE,EAAE;YACtE,UAAU,CAAC,IAAI,GAAG,SAAS,CAAC;SAC5B;QAED,0BAA0B;QAC1B,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE;YACrB,UAAU,CAAC,IAAI,GAAG,GAAG,CAAC;SACtB;QAED,mDAAmD;QACnD,oEAAoE;QACpE,wBAAwB;QAExB,OAAO,UAAU,CAAC;IACnB,CAAC;CACD,CAAC;AAEF,eAAe,OAAO,CAAC"} -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/https.d.ts: -------------------------------------------------------------------------------- 1 | import { URISchemeHandler } from "../uri"; 2 | declare const handler: URISchemeHandler; 3 | export default handler; 4 | -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/https.js: -------------------------------------------------------------------------------- 1 | import http from "./http"; 2 | const handler = { 3 | scheme: "https", 4 | domainHost: http.domainHost, 5 | parse: http.parse, 6 | serialize: http.serialize 7 | }; 8 | export default handler; 9 | //# sourceMappingURL=https.js.map -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/https.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"https.js","sourceRoot":"","sources":["../../../src/schemes/https.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,MAAM,OAAO,GAAoB;IAChC,MAAM,EAAG,OAAO;IAChB,UAAU,EAAG,IAAI,CAAC,UAAU;IAC5B,KAAK,EAAG,IAAI,CAAC,KAAK;IAClB,SAAS,EAAG,IAAI,CAAC,SAAS;CAC1B,CAAA;AAED,eAAe,OAAO,CAAC"} -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/mailto.d.ts: -------------------------------------------------------------------------------- 1 | import { URISchemeHandler, URIComponents } from "../uri"; 2 | export interface MailtoHeaders { 3 | [hfname: string]: string; 4 | } 5 | export interface MailtoComponents extends URIComponents { 6 | to: Array; 7 | headers?: MailtoHeaders; 8 | subject?: string; 9 | body?: string; 10 | } 11 | declare const handler: URISchemeHandler; 12 | export default handler; 13 | -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/urn-uuid.d.ts: -------------------------------------------------------------------------------- 1 | import { URISchemeHandler, URIOptions } from "../uri"; 2 | import { URNComponents } from "./urn"; 3 | export interface UUIDComponents extends URNComponents { 4 | uuid?: string; 5 | } 6 | declare const handler: URISchemeHandler; 7 | export default handler; 8 | -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/urn-uuid.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"urn-uuid.js","sourceRoot":"","sources":["../../../src/schemes/urn-uuid.ts"],"names":[],"mappings":"AAQA,MAAM,IAAI,GAAG,0DAA0D,CAAC;AACxE,MAAM,UAAU,GAAG,oBAAoB,CAAC;AAExC,UAAU;AACV,MAAM,OAAO,GAA+D;IAC3E,MAAM,EAAG,UAAU;IAEnB,KAAK,EAAG,UAAU,aAA2B,EAAE,OAAkB;QAChE,MAAM,cAAc,GAAG,aAA+B,CAAC;QACvD,cAAc,CAAC,IAAI,GAAG,cAAc,CAAC,GAAG,CAAC;QACzC,cAAc,CAAC,GAAG,GAAG,SAAS,CAAC;QAE/B,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,CAAC,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,EAAE;YACpF,cAAc,CAAC,KAAK,GAAG,cAAc,CAAC,KAAK,IAAI,oBAAoB,CAAC;SACpE;QAED,OAAO,cAAc,CAAC;IACvB,CAAC;IAED,SAAS,EAAG,UAAU,cAA6B,EAAE,OAAkB;QACtE,MAAM,aAAa,GAAG,cAA+B,CAAC;QACtD,gBAAgB;QAChB,aAAa,CAAC,GAAG,GAAG,CAAC,cAAc,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;QAC9D,OAAO,aAAa,CAAC;IACtB,CAAC;CACD,CAAC;AAEF,eAAe,OAAO,CAAC"} -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/urn.d.ts: -------------------------------------------------------------------------------- 1 | import { URISchemeHandler, URIComponents, URIOptions } from "../uri"; 2 | export interface URNComponents extends URIComponents { 3 | nid?: string; 4 | nss?: string; 5 | } 6 | export interface URNOptions extends URIOptions { 7 | nid?: string; 8 | } 9 | declare const handler: URISchemeHandler; 10 | export default handler; 11 | -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/ws.d.ts: -------------------------------------------------------------------------------- 1 | import { URISchemeHandler, URIComponents } from "../uri"; 2 | export interface WSComponents extends URIComponents { 3 | resourceName?: string; 4 | secure?: boolean; 5 | } 6 | declare const handler: URISchemeHandler; 7 | export default handler; 8 | -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/wss.d.ts: -------------------------------------------------------------------------------- 1 | import { URISchemeHandler } from "../uri"; 2 | declare const handler: URISchemeHandler; 3 | export default handler; 4 | -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/wss.js: -------------------------------------------------------------------------------- 1 | import ws from "./ws"; 2 | const handler = { 3 | scheme: "wss", 4 | domainHost: ws.domainHost, 5 | parse: ws.parse, 6 | serialize: ws.serialize 7 | }; 8 | export default handler; 9 | //# sourceMappingURL=wss.js.map -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/wss.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"wss.js","sourceRoot":"","sources":["../../../src/schemes/wss.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,MAAM,CAAC;AAEtB,MAAM,OAAO,GAAoB;IAChC,MAAM,EAAG,KAAK;IACd,UAAU,EAAG,EAAE,CAAC,UAAU;IAC1B,KAAK,EAAG,EAAE,CAAC,KAAK;IAChB,SAAS,EAAG,EAAE,CAAC,SAAS;CACxB,CAAA;AAED,eAAe,OAAO,CAAC"} -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/util.d.ts: -------------------------------------------------------------------------------- 1 | export declare function merge(...sets: Array): string; 2 | export declare function subexp(str: string): string; 3 | export declare function typeOf(o: any): string; 4 | export declare function toUpperCase(str: string): string; 5 | export declare function toArray(obj: any): Array; 6 | export declare function assign(target: object, source: any): any; 7 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "axios": "^1.5.1", 4 | "crypto-js": "^4.1.1", 5 | "table": "^6.8.1" 6 | } 7 | } 8 | --------------------------------------------------------------------------------