prismic-ts-codegen 0.1.28 → 0.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.cjs +23 -0
- package/dist/cli/configSchema.cjs +29 -36
- package/dist/cli/configSchema.cjs.map +1 -1
- package/dist/cli/configSchema.d.cts +39 -0
- package/dist/cli/configSchema.d.cts.map +1 -0
- package/dist/cli/configSchema.d.ts +39 -3
- package/dist/cli/configSchema.d.ts.map +1 -0
- package/dist/cli/configSchema.js +29 -37
- package/dist/cli/configSchema.js.map +1 -1
- package/dist/cli/constants.cjs +4 -3
- package/dist/cli/constants.cjs.map +1 -1
- package/dist/cli/constants.d.cts +5 -0
- package/dist/cli/constants.d.cts.map +1 -0
- package/dist/cli/constants.d.ts +5 -1
- package/dist/cli/constants.d.ts.map +1 -0
- package/dist/cli/constants.js +5 -4
- package/dist/cli/constants.js.map +1 -1
- package/dist/cli/loadConfig.cjs +17 -27
- package/dist/cli/loadConfig.cjs.map +1 -1
- package/dist/cli/loadConfig.js +13 -25
- package/dist/cli/loadConfig.js.map +1 -1
- package/dist/cli/loadLocaleIDs.cjs +18 -17
- package/dist/cli/loadLocaleIDs.cjs.map +1 -1
- package/dist/cli/loadLocaleIDs.js +16 -18
- package/dist/cli/loadLocaleIDs.js.map +1 -1
- package/dist/cli/loadModels.cjs +45 -70
- package/dist/cli/loadModels.cjs.map +1 -1
- package/dist/cli/loadModels.js +40 -52
- package/dist/cli/loadModels.js.map +1 -1
- package/dist/cli.cjs +78 -91
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.d.cts +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +68 -81
- package/dist/cli.js.map +1 -1
- package/dist/constants.cjs +26 -25
- package/dist/constants.cjs.map +1 -1
- package/dist/constants.js +27 -28
- package/dist/constants.js.map +1 -1
- package/dist/detectTypesProvider.cjs +22 -17
- package/dist/detectTypesProvider.cjs.map +1 -1
- package/dist/detectTypesProvider.d.cts +17 -0
- package/dist/detectTypesProvider.d.cts.map +1 -0
- package/dist/detectTypesProvider.d.ts +10 -6
- package/dist/detectTypesProvider.d.ts.map +1 -0
- package/dist/detectTypesProvider.js +21 -17
- package/dist/detectTypesProvider.js.map +1 -1
- package/dist/generateTypes.cjs +76 -85
- package/dist/generateTypes.cjs.map +1 -1
- package/dist/generateTypes.d.cts +21 -0
- package/dist/generateTypes.d.cts.map +1 -0
- package/dist/generateTypes.d.ts +20 -15
- package/dist/generateTypes.d.ts.map +1 -0
- package/dist/generateTypes.js +70 -81
- package/dist/generateTypes.js.map +1 -1
- package/dist/index.cjs +6 -8
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -6
- package/dist/index.js +1 -6
- package/dist/lib/addBlankLine.cjs +7 -9
- package/dist/lib/addBlankLine.cjs.map +1 -1
- package/dist/lib/addBlankLine.js +7 -9
- package/dist/lib/addBlankLine.js.map +1 -1
- package/dist/lib/addLine.cjs +6 -5
- package/dist/lib/addLine.cjs.map +1 -1
- package/dist/lib/addLine.js +6 -5
- package/dist/lib/addLine.js.map +1 -1
- package/dist/lib/addSection.cjs +6 -5
- package/dist/lib/addSection.cjs.map +1 -1
- package/dist/lib/addSection.js +6 -5
- package/dist/lib/addSection.js.map +1 -1
- package/dist/lib/addTrailingNewLine.cjs +6 -8
- package/dist/lib/addTrailingNewLine.cjs.map +1 -1
- package/dist/lib/addTrailingNewLine.js +7 -9
- package/dist/lib/addTrailingNewLine.js.map +1 -1
- package/dist/lib/buildCustomTypeDataType.cjs +41 -44
- package/dist/lib/buildCustomTypeDataType.cjs.map +1 -1
- package/dist/lib/buildCustomTypeDataType.js +39 -43
- package/dist/lib/buildCustomTypeDataType.js.map +1 -1
- package/dist/lib/buildCustomTypeType.cjs +50 -50
- package/dist/lib/buildCustomTypeType.cjs.map +1 -1
- package/dist/lib/buildCustomTypeType.js +44 -45
- package/dist/lib/buildCustomTypeType.js.map +1 -1
- package/dist/lib/buildFieldDocs.cjs +59 -92
- package/dist/lib/buildFieldDocs.cjs.map +1 -1
- package/dist/lib/buildFieldDocs.js +56 -89
- package/dist/lib/buildFieldDocs.js.map +1 -1
- package/dist/lib/buildFieldProperties.cjs +255 -309
- package/dist/lib/buildFieldProperties.cjs.map +1 -1
- package/dist/lib/buildFieldProperties.js +249 -304
- package/dist/lib/buildFieldProperties.js.map +1 -1
- package/dist/lib/buildSharedSliceType.cjs +106 -109
- package/dist/lib/buildSharedSliceType.cjs.map +1 -1
- package/dist/lib/buildSharedSliceType.js +98 -102
- package/dist/lib/buildSharedSliceType.js.map +1 -1
- package/dist/lib/buildTypeName.cjs +9 -11
- package/dist/lib/buildTypeName.cjs.map +1 -1
- package/dist/lib/buildTypeName.js +8 -11
- package/dist/lib/buildTypeName.js.map +1 -1
- package/dist/lib/buildUnion.cjs +5 -4
- package/dist/lib/buildUnion.cjs.map +1 -1
- package/dist/lib/buildUnion.js +6 -5
- package/dist/lib/buildUnion.js.map +1 -1
- package/dist/lib/checkHasUIDFIeld.cjs +5 -4
- package/dist/lib/checkHasUIDFIeld.cjs.map +1 -1
- package/dist/lib/checkHasUIDFIeld.js +6 -5
- package/dist/lib/checkHasUIDFIeld.js.map +1 -1
- package/dist/lib/getAPIIDPath.cjs +21 -23
- package/dist/lib/getAPIIDPath.cjs.map +1 -1
- package/dist/lib/getAPIIDPath.js +22 -24
- package/dist/lib/getAPIIDPath.js.map +1 -1
- package/dist/lib/getCacheKey.cjs +14 -22
- package/dist/lib/getCacheKey.cjs.map +1 -1
- package/dist/lib/getCacheKey.js +12 -5
- package/dist/lib/getCacheKey.js.map +1 -1
- package/dist/lib/getHumanReadableModelName.cjs +12 -17
- package/dist/lib/getHumanReadableModelName.cjs.map +1 -1
- package/dist/lib/getHumanReadableModelName.js +13 -18
- package/dist/lib/getHumanReadableModelName.js.map +1 -1
- package/dist/lib/getHumanReadablePath.cjs +13 -16
- package/dist/lib/getHumanReadablePath.cjs.map +1 -1
- package/dist/lib/getHumanReadablePath.js +13 -16
- package/dist/lib/getHumanReadablePath.js.map +1 -1
- package/dist/types.d.cts +14 -0
- package/dist/types.d.cts.map +1 -0
- package/dist/types.d.ts +13 -21
- package/dist/types.d.ts.map +1 -0
- package/package.json +35 -49
- package/src/cli/configSchema.ts +181 -50
- package/src/cli/constants.ts +1 -2
- package/src/cli/index.ts +14 -24
- package/src/cli/loadConfig.ts +5 -9
- package/src/cli/loadLocaleIDs.ts +1 -3
- package/src/cli/loadModels.ts +8 -10
- package/src/constants.ts +1 -2
- package/src/detectTypesProvider.ts +3 -8
- package/src/generateTypes.ts +3 -10
- package/src/index.ts +1 -2
- package/src/lib/addBlankLine.ts +1 -1
- package/src/lib/addLine.ts +1 -1
- package/src/lib/addSection.ts +1 -1
- package/src/lib/addTrailingNewLine.ts +1 -4
- package/src/lib/buildCustomTypeDataType.ts +1 -3
- package/src/lib/buildCustomTypeType.ts +4 -6
- package/src/lib/buildFieldDocs.ts +7 -23
- package/src/lib/buildFieldProperties.ts +25 -66
- package/src/lib/buildSharedSliceType.ts +8 -10
- package/src/lib/buildTypeName.ts +1 -1
- package/src/lib/buildUnion.ts +1 -1
- package/src/lib/getAPIIDPath.ts +2 -2
- package/src/lib/getCacheKey.ts +1 -3
- package/src/lib/getHumanReadableModelName.ts +2 -8
- package/src/lib/getHumanReadablePath.ts +2 -3
- package/src/types.ts +1 -5
- package/dist/_node_modules/@babel/code-frame/lib/index.cjs +0 -217
- package/dist/_node_modules/@babel/code-frame/lib/index.cjs.map +0 -1
- package/dist/_node_modules/@babel/code-frame/lib/index.js +0 -216
- package/dist/_node_modules/@babel/code-frame/lib/index.js.map +0 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.cjs +0 -82
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.cjs.map +0 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -83
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs +0 -62
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs.map +0 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js +0 -61
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.cjs +0 -35
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.cjs.map +0 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -36
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/Client.cjs +0 -1231
- package/dist/_node_modules/@prismicio/client/dist/Client.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/Client.js +0 -1231
- package/dist/_node_modules/@prismicio/client/dist/Client.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/buildQueryURL.cjs +0 -66
- package/dist/_node_modules/@prismicio/client/dist/buildQueryURL.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/buildQueryURL.js +0 -66
- package/dist/_node_modules/@prismicio/client/dist/buildQueryURL.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/cookie.cjs +0 -5
- package/dist/_node_modules/@prismicio/client/dist/cookie.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/cookie.js +0 -5
- package/dist/_node_modules/@prismicio/client/dist/cookie.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/createClient.cjs +0 -6
- package/dist/_node_modules/@prismicio/client/dist/createClient.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/createClient.js +0 -6
- package/dist/_node_modules/@prismicio/client/dist/createClient.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/errors/ForbiddenError.cjs +0 -7
- package/dist/_node_modules/@prismicio/client/dist/errors/ForbiddenError.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/errors/ForbiddenError.js +0 -7
- package/dist/_node_modules/@prismicio/client/dist/errors/ForbiddenError.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/errors/NotFoundError.cjs +0 -7
- package/dist/_node_modules/@prismicio/client/dist/errors/NotFoundError.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/errors/NotFoundError.js +0 -7
- package/dist/_node_modules/@prismicio/client/dist/errors/NotFoundError.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/errors/ParsingError.cjs +0 -7
- package/dist/_node_modules/@prismicio/client/dist/errors/ParsingError.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/errors/ParsingError.js +0 -7
- package/dist/_node_modules/@prismicio/client/dist/errors/ParsingError.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/errors/PreviewTokenExpired.cjs +0 -7
- package/dist/_node_modules/@prismicio/client/dist/errors/PreviewTokenExpired.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/errors/PreviewTokenExpired.js +0 -7
- package/dist/_node_modules/@prismicio/client/dist/errors/PreviewTokenExpired.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/errors/PrismicError.cjs +0 -16
- package/dist/_node_modules/@prismicio/client/dist/errors/PrismicError.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/errors/PrismicError.js +0 -16
- package/dist/_node_modules/@prismicio/client/dist/errors/PrismicError.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/errors/RefExpiredError.cjs +0 -7
- package/dist/_node_modules/@prismicio/client/dist/errors/RefExpiredError.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/errors/RefExpiredError.js +0 -7
- package/dist/_node_modules/@prismicio/client/dist/errors/RefExpiredError.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/errors/RefNotFoundError.cjs +0 -7
- package/dist/_node_modules/@prismicio/client/dist/errors/RefNotFoundError.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/errors/RefNotFoundError.js +0 -7
- package/dist/_node_modules/@prismicio/client/dist/errors/RefNotFoundError.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/errors/RepositoryNotFoundError.cjs +0 -7
- package/dist/_node_modules/@prismicio/client/dist/errors/RepositoryNotFoundError.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/errors/RepositoryNotFoundError.js +0 -7
- package/dist/_node_modules/@prismicio/client/dist/errors/RepositoryNotFoundError.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/filter.cjs +0 -247
- package/dist/_node_modules/@prismicio/client/dist/filter.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/filter.js +0 -247
- package/dist/_node_modules/@prismicio/client/dist/filter.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/getRepositoryEndpoint.cjs +0 -13
- package/dist/_node_modules/@prismicio/client/dist/getRepositoryEndpoint.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/getRepositoryEndpoint.js +0 -13
- package/dist/_node_modules/@prismicio/client/dist/getRepositoryEndpoint.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/getRepositoryName.cjs +0 -17
- package/dist/_node_modules/@prismicio/client/dist/getRepositoryName.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/getRepositoryName.js +0 -17
- package/dist/_node_modules/@prismicio/client/dist/getRepositoryName.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/helpers/asLink.cjs +0 -47
- package/dist/_node_modules/@prismicio/client/dist/helpers/asLink.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/helpers/asLink.js +0 -47
- package/dist/_node_modules/@prismicio/client/dist/helpers/asLink.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/helpers/documentToLinkField.cjs +0 -27
- package/dist/_node_modules/@prismicio/client/dist/helpers/documentToLinkField.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/helpers/documentToLinkField.js +0 -27
- package/dist/_node_modules/@prismicio/client/dist/helpers/documentToLinkField.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/isRepositoryEndpoint.cjs +0 -12
- package/dist/_node_modules/@prismicio/client/dist/isRepositoryEndpoint.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/isRepositoryEndpoint.js +0 -12
- package/dist/_node_modules/@prismicio/client/dist/isRepositoryEndpoint.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/isRepositoryName.cjs +0 -7
- package/dist/_node_modules/@prismicio/client/dist/isRepositoryName.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/isRepositoryName.js +0 -7
- package/dist/_node_modules/@prismicio/client/dist/isRepositoryName.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/appendFilters.cjs +0 -11
- package/dist/_node_modules/@prismicio/client/dist/lib/appendFilters.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/appendFilters.js +0 -11
- package/dist/_node_modules/@prismicio/client/dist/lib/appendFilters.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/castArray.cjs +0 -7
- package/dist/_node_modules/@prismicio/client/dist/lib/castArray.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/castArray.js +0 -7
- package/dist/_node_modules/@prismicio/client/dist/lib/castArray.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/castThunk.cjs +0 -7
- package/dist/_node_modules/@prismicio/client/dist/lib/castThunk.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/castThunk.js +0 -7
- package/dist/_node_modules/@prismicio/client/dist/lib/castThunk.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/devMsg.cjs +0 -8
- package/dist/_node_modules/@prismicio/client/dist/lib/devMsg.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/devMsg.js +0 -8
- package/dist/_node_modules/@prismicio/client/dist/lib/devMsg.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/everyTagFilter.cjs +0 -9
- package/dist/_node_modules/@prismicio/client/dist/lib/everyTagFilter.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/everyTagFilter.js +0 -9
- package/dist/_node_modules/@prismicio/client/dist/lib/everyTagFilter.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/findMasterRef.cjs +0 -8
- package/dist/_node_modules/@prismicio/client/dist/lib/findMasterRef.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/findMasterRef.js +0 -8
- package/dist/_node_modules/@prismicio/client/dist/lib/findMasterRef.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/findRef.cjs +0 -12
- package/dist/_node_modules/@prismicio/client/dist/lib/findRef.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/findRef.js +0 -12
- package/dist/_node_modules/@prismicio/client/dist/lib/findRef.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/findRefByID.cjs +0 -8
- package/dist/_node_modules/@prismicio/client/dist/lib/findRefByID.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/findRefByID.js +0 -8
- package/dist/_node_modules/@prismicio/client/dist/lib/findRefByID.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/findRefByLabel.cjs +0 -8
- package/dist/_node_modules/@prismicio/client/dist/lib/findRefByLabel.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/findRefByLabel.js +0 -8
- package/dist/_node_modules/@prismicio/client/dist/lib/findRefByLabel.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/getPreviewCookie.cjs +0 -21
- package/dist/_node_modules/@prismicio/client/dist/lib/getPreviewCookie.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/getPreviewCookie.js +0 -21
- package/dist/_node_modules/@prismicio/client/dist/lib/getPreviewCookie.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/minifyGraphQLQuery.cjs +0 -7
- package/dist/_node_modules/@prismicio/client/dist/lib/minifyGraphQLQuery.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/minifyGraphQLQuery.js +0 -7
- package/dist/_node_modules/@prismicio/client/dist/lib/minifyGraphQLQuery.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/pLimit.cjs +0 -49
- package/dist/_node_modules/@prismicio/client/dist/lib/pLimit.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/pLimit.js +0 -49
- package/dist/_node_modules/@prismicio/client/dist/lib/pLimit.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/request.cjs +0 -43
- package/dist/_node_modules/@prismicio/client/dist/lib/request.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/request.js +0 -43
- package/dist/_node_modules/@prismicio/client/dist/lib/request.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/someTagsFilter.cjs +0 -9
- package/dist/_node_modules/@prismicio/client/dist/lib/someTagsFilter.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/someTagsFilter.js +0 -9
- package/dist/_node_modules/@prismicio/client/dist/lib/someTagsFilter.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/throttledLog.cjs +0 -17
- package/dist/_node_modules/@prismicio/client/dist/lib/throttledLog.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/throttledLog.js +0 -17
- package/dist/_node_modules/@prismicio/client/dist/lib/throttledLog.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/typeFilter.cjs +0 -8
- package/dist/_node_modules/@prismicio/client/dist/lib/typeFilter.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/typeFilter.js +0 -8
- package/dist/_node_modules/@prismicio/client/dist/lib/typeFilter.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/package.json.cjs +0 -5
- package/dist/_node_modules/@prismicio/client/dist/package.json.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/package.json.js +0 -5
- package/dist/_node_modules/@prismicio/client/dist/package.json.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/types/model/types.cjs +0 -39
- package/dist/_node_modules/@prismicio/client/dist/types/model/types.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/types/model/types.js +0 -39
- package/dist/_node_modules/@prismicio/client/dist/types/model/types.js.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/types/value/link.cjs +0 -10
- package/dist/_node_modules/@prismicio/client/dist/types/value/link.cjs.map +0 -1
- package/dist/_node_modules/@prismicio/client/dist/types/value/link.js +0 -10
- package/dist/_node_modules/@prismicio/client/dist/types/value/link.js.map +0 -1
- package/dist/_node_modules/arrify/index.cjs +0 -10
- package/dist/_node_modules/arrify/index.cjs.map +0 -1
- package/dist/_node_modules/arrify/index.js +0 -10
- package/dist/_node_modules/arrify/index.js.map +0 -1
- package/dist/_node_modules/camelcase/index.cjs +0 -83
- package/dist/_node_modules/camelcase/index.cjs.map +0 -1
- package/dist/_node_modules/camelcase/index.js +0 -84
- package/dist/_node_modules/camelcase/index.js.map +0 -1
- package/dist/_node_modules/camelcase-keys/index.cjs +0 -55
- package/dist/_node_modules/camelcase-keys/index.cjs.map +0 -1
- package/dist/_node_modules/camelcase-keys/index.js +0 -56
- package/dist/_node_modules/camelcase-keys/index.js.map +0 -1
- package/dist/_node_modules/data-uri-to-buffer/dist/index.cjs +0 -41
- package/dist/_node_modules/data-uri-to-buffer/dist/index.cjs.map +0 -1
- package/dist/_node_modules/data-uri-to-buffer/dist/index.js +0 -41
- package/dist/_node_modules/data-uri-to-buffer/dist/index.js.map +0 -1
- package/dist/_node_modules/decamelize/index.cjs +0 -38
- package/dist/_node_modules/decamelize/index.cjs.map +0 -1
- package/dist/_node_modules/decamelize/index.js +0 -39
- package/dist/_node_modules/decamelize/index.js.map +0 -1
- package/dist/_node_modules/decamelize-keys/index.cjs +0 -50
- package/dist/_node_modules/decamelize-keys/index.cjs.map +0 -1
- package/dist/_node_modules/decamelize-keys/index.js +0 -51
- package/dist/_node_modules/decamelize-keys/index.js.map +0 -1
- package/dist/_node_modules/error-ex/index.cjs +0 -109
- package/dist/_node_modules/error-ex/index.cjs.map +0 -1
- package/dist/_node_modules/error-ex/index.js +0 -109
- package/dist/_node_modules/error-ex/index.js.map +0 -1
- package/dist/_node_modules/fetch-blob/file.cjs +0 -61
- package/dist/_node_modules/fetch-blob/file.cjs.map +0 -1
- package/dist/_node_modules/fetch-blob/file.js +0 -61
- package/dist/_node_modules/fetch-blob/file.js.map +0 -1
- package/dist/_node_modules/fetch-blob/index.cjs +0 -223
- package/dist/_node_modules/fetch-blob/index.cjs.map +0 -1
- package/dist/_node_modules/fetch-blob/index.js +0 -223
- package/dist/_node_modules/fetch-blob/index.js.map +0 -1
- package/dist/_node_modules/fetch-blob/streams.cjs +0 -43
- package/dist/_node_modules/fetch-blob/streams.cjs.map +0 -1
- package/dist/_node_modules/fetch-blob/streams.js +0 -42
- package/dist/_node_modules/fetch-blob/streams.js.map +0 -1
- package/dist/_node_modules/formdata-polyfill/esm.min.cjs +0 -116
- package/dist/_node_modules/formdata-polyfill/esm.min.cjs.map +0 -1
- package/dist/_node_modules/formdata-polyfill/esm.min.js +0 -116
- package/dist/_node_modules/formdata-polyfill/esm.min.js.map +0 -1
- package/dist/_node_modules/function-bind/implementation.cjs +0 -47
- package/dist/_node_modules/function-bind/implementation.cjs.map +0 -1
- package/dist/_node_modules/function-bind/implementation.js +0 -47
- package/dist/_node_modules/function-bind/implementation.js.map +0 -1
- package/dist/_node_modules/function-bind/index.cjs +0 -7
- package/dist/_node_modules/function-bind/index.cjs.map +0 -1
- package/dist/_node_modules/function-bind/index.js +0 -7
- package/dist/_node_modules/function-bind/index.js.map +0 -1
- package/dist/_node_modules/hard-rejection/index.cjs +0 -25
- package/dist/_node_modules/hard-rejection/index.cjs.map +0 -1
- package/dist/_node_modules/hard-rejection/index.js +0 -26
- package/dist/_node_modules/hard-rejection/index.js.map +0 -1
- package/dist/_node_modules/has/src/index.cjs +0 -7
- package/dist/_node_modules/has/src/index.cjs.map +0 -1
- package/dist/_node_modules/has/src/index.js +0 -7
- package/dist/_node_modules/has/src/index.js.map +0 -1
- package/dist/_node_modules/hosted-git-info/lib/from-url.cjs +0 -93
- package/dist/_node_modules/hosted-git-info/lib/from-url.cjs.map +0 -1
- package/dist/_node_modules/hosted-git-info/lib/from-url.js +0 -93
- package/dist/_node_modules/hosted-git-info/lib/from-url.js.map +0 -1
- package/dist/_node_modules/hosted-git-info/lib/hosts.cjs +0 -164
- package/dist/_node_modules/hosted-git-info/lib/hosts.cjs.map +0 -1
- package/dist/_node_modules/hosted-git-info/lib/hosts.js +0 -164
- package/dist/_node_modules/hosted-git-info/lib/hosts.js.map +0 -1
- package/dist/_node_modules/hosted-git-info/lib/index.cjs +0 -168
- package/dist/_node_modules/hosted-git-info/lib/index.cjs.map +0 -1
- package/dist/_node_modules/hosted-git-info/lib/index.js +0 -168
- package/dist/_node_modules/hosted-git-info/lib/index.js.map +0 -1
- package/dist/_node_modules/hosted-git-info/lib/parse-url.cjs +0 -51
- package/dist/_node_modules/hosted-git-info/lib/parse-url.cjs.map +0 -1
- package/dist/_node_modules/hosted-git-info/lib/parse-url.js +0 -51
- package/dist/_node_modules/hosted-git-info/lib/parse-url.js.map +0 -1
- package/dist/_node_modules/indent-string/index.cjs +0 -34
- package/dist/_node_modules/indent-string/index.cjs.map +0 -1
- package/dist/_node_modules/indent-string/index.js +0 -35
- package/dist/_node_modules/indent-string/index.js.map +0 -1
- package/dist/_node_modules/is-arrayish/index.cjs +0 -10
- package/dist/_node_modules/is-arrayish/index.cjs.map +0 -1
- package/dist/_node_modules/is-arrayish/index.js +0 -10
- package/dist/_node_modules/is-arrayish/index.js.map +0 -1
- package/dist/_node_modules/is-core-module/core.json.cjs +0 -496
- package/dist/_node_modules/is-core-module/core.json.cjs.map +0 -1
- package/dist/_node_modules/is-core-module/core.json.js +0 -496
- package/dist/_node_modules/is-core-module/core.json.js.map +0 -1
- package/dist/_node_modules/is-core-module/index.cjs +0 -62
- package/dist/_node_modules/is-core-module/index.cjs.map +0 -1
- package/dist/_node_modules/is-core-module/index.js +0 -62
- package/dist/_node_modules/is-core-module/index.js.map +0 -1
- package/dist/_node_modules/is-plain-obj/index.cjs +0 -9
- package/dist/_node_modules/is-plain-obj/index.cjs.map +0 -1
- package/dist/_node_modules/is-plain-obj/index.js +0 -9
- package/dist/_node_modules/is-plain-obj/index.js.map +0 -1
- package/dist/_node_modules/js-tokens/index.cjs +0 -27
- package/dist/_node_modules/js-tokens/index.cjs.map +0 -1
- package/dist/_node_modules/js-tokens/index.js +0 -26
- package/dist/_node_modules/js-tokens/index.js.map +0 -1
- package/dist/_node_modules/json-parse-even-better-errors/index.cjs +0 -90
- package/dist/_node_modules/json-parse-even-better-errors/index.cjs.map +0 -1
- package/dist/_node_modules/json-parse-even-better-errors/index.js +0 -90
- package/dist/_node_modules/json-parse-even-better-errors/index.js.map +0 -1
- package/dist/_node_modules/kind-of/index.cjs +0 -129
- package/dist/_node_modules/kind-of/index.cjs.map +0 -1
- package/dist/_node_modules/kind-of/index.js +0 -129
- package/dist/_node_modules/kind-of/index.js.map +0 -1
- package/dist/_node_modules/lines-and-columns/build/index.cjs +0 -67
- package/dist/_node_modules/lines-and-columns/build/index.cjs.map +0 -1
- package/dist/_node_modules/lines-and-columns/build/index.js +0 -66
- package/dist/_node_modules/lines-and-columns/build/index.js.map +0 -1
- package/dist/_node_modules/lru-cache/index.cjs +0 -1015
- package/dist/_node_modules/lru-cache/index.cjs.map +0 -1
- package/dist/_node_modules/lru-cache/index.js +0 -1015
- package/dist/_node_modules/lru-cache/index.js.map +0 -1
- package/dist/_node_modules/map-obj/index.cjs +0 -49
- package/dist/_node_modules/map-obj/index.cjs.map +0 -1
- package/dist/_node_modules/map-obj/index.js +0 -50
- package/dist/_node_modules/map-obj/index.js.map +0 -1
- package/dist/_node_modules/meow/source/index.cjs +0 -88
- package/dist/_node_modules/meow/source/index.cjs.map +0 -1
- package/dist/_node_modules/meow/source/index.js +0 -89
- package/dist/_node_modules/meow/source/index.js.map +0 -1
- package/dist/_node_modules/meow/source/options.cjs +0 -83
- package/dist/_node_modules/meow/source/options.cjs.map +0 -1
- package/dist/_node_modules/meow/source/options.js +0 -83
- package/dist/_node_modules/meow/source/options.js.map +0 -1
- package/dist/_node_modules/meow/source/parser.cjs +0 -61
- package/dist/_node_modules/meow/source/parser.cjs.map +0 -1
- package/dist/_node_modules/meow/source/parser.js +0 -61
- package/dist/_node_modules/meow/source/parser.js.map +0 -1
- package/dist/_node_modules/meow/source/utils.cjs +0 -8
- package/dist/_node_modules/meow/source/utils.cjs.map +0 -1
- package/dist/_node_modules/meow/source/utils.js +0 -8
- package/dist/_node_modules/meow/source/utils.js.map +0 -1
- package/dist/_node_modules/meow/source/validate.cjs +0 -102
- package/dist/_node_modules/meow/source/validate.cjs.map +0 -1
- package/dist/_node_modules/meow/source/validate.js +0 -102
- package/dist/_node_modules/meow/source/validate.js.map +0 -1
- package/dist/_node_modules/min-indent/index.cjs +0 -12
- package/dist/_node_modules/min-indent/index.cjs.map +0 -1
- package/dist/_node_modules/min-indent/index.js +0 -13
- package/dist/_node_modules/min-indent/index.js.map +0 -1
- package/dist/_node_modules/minimist-options/index.cjs +0 -94
- package/dist/_node_modules/minimist-options/index.cjs.map +0 -1
- package/dist/_node_modules/minimist-options/index.js +0 -95
- package/dist/_node_modules/minimist-options/index.js.map +0 -1
- package/dist/_node_modules/node-domexception/index.cjs +0 -11
- package/dist/_node_modules/node-domexception/index.cjs.map +0 -1
- package/dist/_node_modules/node-domexception/index.js +0 -10
- package/dist/_node_modules/node-domexception/index.js.map +0 -1
- package/dist/_node_modules/node-fetch/src/body.cjs +0 -262
- package/dist/_node_modules/node-fetch/src/body.cjs.map +0 -1
- package/dist/_node_modules/node-fetch/src/body.js +0 -262
- package/dist/_node_modules/node-fetch/src/body.js.map +0 -1
- package/dist/_node_modules/node-fetch/src/errors/abort-error.cjs +0 -10
- package/dist/_node_modules/node-fetch/src/errors/abort-error.cjs.map +0 -1
- package/dist/_node_modules/node-fetch/src/errors/abort-error.js +0 -10
- package/dist/_node_modules/node-fetch/src/errors/abort-error.js.map +0 -1
- package/dist/_node_modules/node-fetch/src/errors/base.cjs +0 -17
- package/dist/_node_modules/node-fetch/src/errors/base.cjs.map +0 -1
- package/dist/_node_modules/node-fetch/src/errors/base.js +0 -17
- package/dist/_node_modules/node-fetch/src/errors/base.js.map +0 -1
- package/dist/_node_modules/node-fetch/src/errors/fetch-error.cjs +0 -19
- package/dist/_node_modules/node-fetch/src/errors/fetch-error.cjs.map +0 -1
- package/dist/_node_modules/node-fetch/src/errors/fetch-error.js +0 -19
- package/dist/_node_modules/node-fetch/src/errors/fetch-error.js.map +0 -1
- package/dist/_node_modules/node-fetch/src/headers.cjs +0 -190
- package/dist/_node_modules/node-fetch/src/headers.cjs.map +0 -1
- package/dist/_node_modules/node-fetch/src/headers.js +0 -190
- package/dist/_node_modules/node-fetch/src/headers.js.map +0 -1
- package/dist/_node_modules/node-fetch/src/index.cjs +0 -292
- package/dist/_node_modules/node-fetch/src/index.cjs.map +0 -1
- package/dist/_node_modules/node-fetch/src/index.js +0 -292
- package/dist/_node_modules/node-fetch/src/index.js.map +0 -1
- package/dist/_node_modules/node-fetch/src/request.cjs +0 -203
- package/dist/_node_modules/node-fetch/src/request.cjs.map +0 -1
- package/dist/_node_modules/node-fetch/src/request.js +0 -203
- package/dist/_node_modules/node-fetch/src/request.js.map +0 -1
- package/dist/_node_modules/node-fetch/src/response.cjs +0 -122
- package/dist/_node_modules/node-fetch/src/response.cjs.map +0 -1
- package/dist/_node_modules/node-fetch/src/response.js +0 -123
- package/dist/_node_modules/node-fetch/src/response.js.map +0 -1
- package/dist/_node_modules/node-fetch/src/utils/get-search.cjs +0 -12
- package/dist/_node_modules/node-fetch/src/utils/get-search.cjs.map +0 -1
- package/dist/_node_modules/node-fetch/src/utils/get-search.js +0 -12
- package/dist/_node_modules/node-fetch/src/utils/get-search.js.map +0 -1
- package/dist/_node_modules/node-fetch/src/utils/is-redirect.cjs +0 -8
- package/dist/_node_modules/node-fetch/src/utils/is-redirect.cjs.map +0 -1
- package/dist/_node_modules/node-fetch/src/utils/is-redirect.js +0 -8
- package/dist/_node_modules/node-fetch/src/utils/is-redirect.js.map +0 -1
- package/dist/_node_modules/node-fetch/src/utils/is.cjs +0 -28
- package/dist/_node_modules/node-fetch/src/utils/is.cjs.map +0 -1
- package/dist/_node_modules/node-fetch/src/utils/is.js +0 -28
- package/dist/_node_modules/node-fetch/src/utils/is.js.map +0 -1
- package/dist/_node_modules/node-fetch/src/utils/multipart-parser.cjs +0 -356
- package/dist/_node_modules/node-fetch/src/utils/multipart-parser.cjs.map +0 -1
- package/dist/_node_modules/node-fetch/src/utils/multipart-parser.js +0 -356
- package/dist/_node_modules/node-fetch/src/utils/multipart-parser.js.map +0 -1
- package/dist/_node_modules/node-fetch/src/utils/referrer.cjs +0 -149
- package/dist/_node_modules/node-fetch/src/utils/referrer.cjs.map +0 -1
- package/dist/_node_modules/node-fetch/src/utils/referrer.js +0 -149
- package/dist/_node_modules/node-fetch/src/utils/referrer.js.map +0 -1
- package/dist/_node_modules/normalize-package-data/lib/extract_description.cjs +0 -24
- package/dist/_node_modules/normalize-package-data/lib/extract_description.cjs.map +0 -1
- package/dist/_node_modules/normalize-package-data/lib/extract_description.js +0 -24
- package/dist/_node_modules/normalize-package-data/lib/extract_description.js.map +0 -1
- package/dist/_node_modules/normalize-package-data/lib/fixer.cjs +0 -438
- package/dist/_node_modules/normalize-package-data/lib/fixer.cjs.map +0 -1
- package/dist/_node_modules/normalize-package-data/lib/fixer.js +0 -438
- package/dist/_node_modules/normalize-package-data/lib/fixer.js.map +0 -1
- package/dist/_node_modules/normalize-package-data/lib/make_warning.cjs +0 -26
- package/dist/_node_modules/normalize-package-data/lib/make_warning.cjs.map +0 -1
- package/dist/_node_modules/normalize-package-data/lib/make_warning.js +0 -26
- package/dist/_node_modules/normalize-package-data/lib/make_warning.js.map +0 -1
- package/dist/_node_modules/normalize-package-data/lib/normalize.cjs +0 -58
- package/dist/_node_modules/normalize-package-data/lib/normalize.cjs.map +0 -1
- package/dist/_node_modules/normalize-package-data/lib/normalize.js +0 -59
- package/dist/_node_modules/normalize-package-data/lib/normalize.js.map +0 -1
- package/dist/_node_modules/normalize-package-data/lib/typos.json.cjs +0 -41
- package/dist/_node_modules/normalize-package-data/lib/typos.json.cjs.map +0 -1
- package/dist/_node_modules/normalize-package-data/lib/typos.json.js +0 -41
- package/dist/_node_modules/normalize-package-data/lib/typos.json.js.map +0 -1
- package/dist/_node_modules/normalize-package-data/lib/warning_messages.json.cjs +0 -90
- package/dist/_node_modules/normalize-package-data/lib/warning_messages.json.cjs.map +0 -1
- package/dist/_node_modules/normalize-package-data/lib/warning_messages.json.js +0 -90
- package/dist/_node_modules/normalize-package-data/lib/warning_messages.json.js.map +0 -1
- package/dist/_node_modules/parse-json/index.cjs +0 -54
- package/dist/_node_modules/parse-json/index.cjs.map +0 -1
- package/dist/_node_modules/parse-json/index.js +0 -55
- package/dist/_node_modules/parse-json/index.js.map +0 -1
- package/dist/_node_modules/picocolors/picocolors.browser.cjs +0 -12
- package/dist/_node_modules/picocolors/picocolors.browser.cjs.map +0 -1
- package/dist/_node_modules/picocolors/picocolors.browser.js +0 -12
- package/dist/_node_modules/picocolors/picocolors.browser.js.map +0 -1
- package/dist/_node_modules/quick-lru/index.cjs +0 -235
- package/dist/_node_modules/quick-lru/index.cjs.map +0 -1
- package/dist/_node_modules/quick-lru/index.js +0 -236
- package/dist/_node_modules/quick-lru/index.js.map +0 -1
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.cjs +0 -159
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.cjs.map +0 -1
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.js +0 -159
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.js.map +0 -1
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.cjs +0 -88
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.cjs.map +0 -1
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.js +0 -88
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.js.map +0 -1
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs +0 -180
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs.map +0 -1
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js +0 -180
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js.map +0 -1
- package/dist/_node_modules/read-pkg/_node_modules/lru-cache/index.cjs +0 -268
- package/dist/_node_modules/read-pkg/_node_modules/lru-cache/index.cjs.map +0 -1
- package/dist/_node_modules/read-pkg/_node_modules/lru-cache/index.js +0 -268
- package/dist/_node_modules/read-pkg/_node_modules/lru-cache/index.js.map +0 -1
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.cjs +0 -20
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.cjs.map +0 -1
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.js +0 -20
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.js.map +0 -1
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.cjs +0 -438
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.cjs.map +0 -1
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.js +0 -438
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.js.map +0 -1
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.cjs +0 -26
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.cjs.map +0 -1
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.js +0 -26
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.js.map +0 -1
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.cjs +0 -58
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.cjs.map +0 -1
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.js +0 -59
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.js.map +0 -1
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.cjs +0 -41
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.cjs.map +0 -1
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.js +0 -41
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.js.map +0 -1
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.cjs +0 -90
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.cjs.map +0 -1
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.js +0 -90
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.js.map +0 -1
- package/dist/_node_modules/read-pkg/index.cjs +0 -20
- package/dist/_node_modules/read-pkg/index.cjs.map +0 -1
- package/dist/_node_modules/read-pkg/index.js +0 -20
- package/dist/_node_modules/read-pkg/index.js.map +0 -1
- package/dist/_node_modules/read-pkg-up/_node_modules/find-up/index.cjs +0 -48
- package/dist/_node_modules/read-pkg-up/_node_modules/find-up/index.cjs.map +0 -1
- package/dist/_node_modules/read-pkg-up/_node_modules/find-up/index.js +0 -48
- package/dist/_node_modules/read-pkg-up/_node_modules/find-up/index.js.map +0 -1
- package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.cjs +0 -43
- package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.cjs.map +0 -1
- package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.js +0 -43
- package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.js.map +0 -1
- package/dist/_node_modules/read-pkg-up/index.cjs +0 -17
- package/dist/_node_modules/read-pkg-up/index.cjs.map +0 -1
- package/dist/_node_modules/read-pkg-up/index.js +0 -17
- package/dist/_node_modules/read-pkg-up/index.js.map +0 -1
- package/dist/_node_modules/redent/index.cjs +0 -8
- package/dist/_node_modules/redent/index.cjs.map +0 -1
- package/dist/_node_modules/redent/index.js +0 -9
- package/dist/_node_modules/redent/index.js.map +0 -1
- package/dist/_node_modules/semver/classes/semver.cjs +0 -245
- package/dist/_node_modules/semver/classes/semver.cjs.map +0 -1
- package/dist/_node_modules/semver/classes/semver.js +0 -245
- package/dist/_node_modules/semver/classes/semver.js.map +0 -1
- package/dist/_node_modules/semver/functions/clean.cjs +0 -11
- package/dist/_node_modules/semver/functions/clean.cjs.map +0 -1
- package/dist/_node_modules/semver/functions/clean.js +0 -11
- package/dist/_node_modules/semver/functions/clean.js.map +0 -1
- package/dist/_node_modules/semver/functions/parse.cjs +0 -20
- package/dist/_node_modules/semver/functions/parse.cjs.map +0 -1
- package/dist/_node_modules/semver/functions/parse.js +0 -20
- package/dist/_node_modules/semver/functions/parse.js.map +0 -1
- package/dist/_node_modules/semver/functions/valid.cjs +0 -11
- package/dist/_node_modules/semver/functions/valid.cjs.map +0 -1
- package/dist/_node_modules/semver/functions/valid.js +0 -11
- package/dist/_node_modules/semver/functions/valid.js.map +0 -1
- package/dist/_node_modules/semver/internal/constants.cjs +0 -29
- package/dist/_node_modules/semver/internal/constants.cjs.map +0 -1
- package/dist/_node_modules/semver/internal/constants.js +0 -29
- package/dist/_node_modules/semver/internal/constants.js.map +0 -1
- package/dist/_node_modules/semver/internal/debug.cjs +0 -7
- package/dist/_node_modules/semver/internal/debug.cjs.map +0 -1
- package/dist/_node_modules/semver/internal/debug.js +0 -7
- package/dist/_node_modules/semver/internal/debug.js.map +0 -1
- package/dist/_node_modules/semver/internal/identifiers.cjs +0 -19
- package/dist/_node_modules/semver/internal/identifiers.cjs.map +0 -1
- package/dist/_node_modules/semver/internal/identifiers.js +0 -19
- package/dist/_node_modules/semver/internal/identifiers.js.map +0 -1
- package/dist/_node_modules/semver/internal/parse-options.cjs +0 -16
- package/dist/_node_modules/semver/internal/parse-options.cjs.map +0 -1
- package/dist/_node_modules/semver/internal/parse-options.js +0 -16
- package/dist/_node_modules/semver/internal/parse-options.js.map +0 -1
- package/dist/_node_modules/semver/internal/re.cjs +0 -82
- package/dist/_node_modules/semver/internal/re.cjs.map +0 -1
- package/dist/_node_modules/semver/internal/re.js +0 -82
- package/dist/_node_modules/semver/internal/re.js.map +0 -1
- package/dist/_node_modules/spdx-correct/index.cjs +0 -334
- package/dist/_node_modules/spdx-correct/index.cjs.map +0 -1
- package/dist/_node_modules/spdx-correct/index.js +0 -334
- package/dist/_node_modules/spdx-correct/index.js.map +0 -1
- package/dist/_node_modules/spdx-exceptions/index.json.cjs +0 -43
- package/dist/_node_modules/spdx-exceptions/index.json.cjs.map +0 -1
- package/dist/_node_modules/spdx-exceptions/index.json.js +0 -44
- package/dist/_node_modules/spdx-exceptions/index.json.js.map +0 -1
- package/dist/_node_modules/spdx-expression-parse/index.cjs +0 -11
- package/dist/_node_modules/spdx-expression-parse/index.cjs.map +0 -1
- package/dist/_node_modules/spdx-expression-parse/index.js +0 -11
- package/dist/_node_modules/spdx-expression-parse/index.js.map +0 -1
- package/dist/_node_modules/spdx-expression-parse/parse.cjs +0 -111
- package/dist/_node_modules/spdx-expression-parse/parse.cjs.map +0 -1
- package/dist/_node_modules/spdx-expression-parse/parse.js +0 -111
- package/dist/_node_modules/spdx-expression-parse/parse.js.map +0 -1
- package/dist/_node_modules/spdx-expression-parse/scan.cjs +0 -104
- package/dist/_node_modules/spdx-expression-parse/scan.cjs.map +0 -1
- package/dist/_node_modules/spdx-expression-parse/scan.js +0 -104
- package/dist/_node_modules/spdx-expression-parse/scan.js.map +0 -1
- package/dist/_node_modules/spdx-license-ids/deprecated.json.cjs +0 -30
- package/dist/_node_modules/spdx-license-ids/deprecated.json.cjs.map +0 -1
- package/dist/_node_modules/spdx-license-ids/deprecated.json.js +0 -31
- package/dist/_node_modules/spdx-license-ids/deprecated.json.js.map +0 -1
- package/dist/_node_modules/spdx-license-ids/index.json.cjs +0 -510
- package/dist/_node_modules/spdx-license-ids/index.json.cjs.map +0 -1
- package/dist/_node_modules/spdx-license-ids/index.json.js +0 -511
- package/dist/_node_modules/spdx-license-ids/index.json.js.map +0 -1
- package/dist/_node_modules/strip-indent/index.cjs +0 -12
- package/dist/_node_modules/strip-indent/index.cjs.map +0 -1
- package/dist/_node_modules/strip-indent/index.js +0 -13
- package/dist/_node_modules/strip-indent/index.js.map +0 -1
- package/dist/_node_modules/trim-newlines/index.cjs +0 -15
- package/dist/_node_modules/trim-newlines/index.cjs.map +0 -1
- package/dist/_node_modules/trim-newlines/index.js +0 -15
- package/dist/_node_modules/trim-newlines/index.js.map +0 -1
- package/dist/_node_modules/validate-npm-package-license/index.cjs +0 -71
- package/dist/_node_modules/validate-npm-package-license/index.cjs.map +0 -1
- package/dist/_node_modules/validate-npm-package-license/index.js +0 -71
- package/dist/_node_modules/validate-npm-package-license/index.js.map +0 -1
- package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.cjs +0 -3822
- package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.cjs.map +0 -1
- package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +0 -3822
- package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +0 -1
- package/dist/_node_modules/yallist/iterator.cjs +0 -19
- package/dist/_node_modules/yallist/iterator.cjs.map +0 -1
- package/dist/_node_modules/yallist/iterator.js +0 -19
- package/dist/_node_modules/yallist/iterator.js.map +0 -1
- package/dist/_node_modules/yallist/yallist.cjs +0 -367
- package/dist/_node_modules/yallist/yallist.cjs.map +0 -1
- package/dist/_node_modules/yallist/yallist.js +0 -367
- package/dist/_node_modules/yallist/yallist.js.map +0 -1
- package/dist/_node_modules/yargs-parser/build/lib/index.cjs +0 -56
- package/dist/_node_modules/yargs-parser/build/lib/index.cjs.map +0 -1
- package/dist/_node_modules/yargs-parser/build/lib/index.js +0 -57
- package/dist/_node_modules/yargs-parser/build/lib/index.js.map +0 -1
- package/dist/_node_modules/yargs-parser/build/lib/string-utils.cjs +0 -63
- package/dist/_node_modules/yargs-parser/build/lib/string-utils.cjs.map +0 -1
- package/dist/_node_modules/yargs-parser/build/lib/string-utils.js +0 -63
- package/dist/_node_modules/yargs-parser/build/lib/string-utils.js.map +0 -1
- package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.cjs +0 -39
- package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.cjs.map +0 -1
- package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -39
- package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.js.map +0 -1
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.cjs +0 -15
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.cjs.map +0 -1
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -16
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.js.map +0 -1
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.cjs +0 -847
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.cjs.map +0 -1
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.js +0 -847
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.js.map +0 -1
- package/dist/_virtual/_commonjsHelpers.cjs +0 -9
- package/dist/_virtual/_commonjsHelpers.cjs.map +0 -1
- package/dist/_virtual/_commonjsHelpers.js +0 -9
- package/dist/_virtual/_commonjsHelpers.js.map +0 -1
- package/dist/_virtual/identifier.cjs +0 -5
- package/dist/_virtual/identifier.cjs.map +0 -1
- package/dist/_virtual/identifier.js +0 -5
- package/dist/_virtual/identifier.js.map +0 -1
- package/dist/_virtual/index.cjs +0 -5
- package/dist/_virtual/index.cjs.map +0 -1
- package/dist/_virtual/index.js +0 -5
- package/dist/_virtual/index.js.map +0 -1
- package/dist/_virtual/index2.cjs +0 -5
- package/dist/_virtual/index2.cjs.map +0 -1
- package/dist/_virtual/index2.js +0 -5
- package/dist/_virtual/index2.js.map +0 -1
- package/dist/_virtual/index3.cjs +0 -5
- package/dist/_virtual/index3.cjs.map +0 -1
- package/dist/_virtual/index3.js +0 -5
- package/dist/_virtual/index3.js.map +0 -1
- package/dist/_virtual/index4.cjs +0 -5
- package/dist/_virtual/index4.cjs.map +0 -1
- package/dist/_virtual/index4.js +0 -5
- package/dist/_virtual/index4.js.map +0 -1
- package/dist/_virtual/index5.cjs +0 -5
- package/dist/_virtual/index5.cjs.map +0 -1
- package/dist/_virtual/index5.js +0 -5
- package/dist/_virtual/index5.js.map +0 -1
- package/dist/_virtual/index6.cjs +0 -5
- package/dist/_virtual/index6.cjs.map +0 -1
- package/dist/_virtual/index6.js +0 -5
- package/dist/_virtual/index6.js.map +0 -1
- package/dist/_virtual/index7.cjs +0 -5
- package/dist/_virtual/index7.cjs.map +0 -1
- package/dist/_virtual/index7.js +0 -5
- package/dist/_virtual/index7.js.map +0 -1
- package/dist/_virtual/index8.cjs +0 -5
- package/dist/_virtual/index8.cjs.map +0 -1
- package/dist/_virtual/index8.js +0 -5
- package/dist/_virtual/index8.js.map +0 -1
- package/dist/_virtual/keyword.cjs +0 -5
- package/dist/_virtual/keyword.cjs.map +0 -1
- package/dist/_virtual/keyword.js +0 -5
- package/dist/_virtual/keyword.js.map +0 -1
- package/dist/_virtual/picocolors.browser.cjs +0 -5
- package/dist/_virtual/picocolors.browser.cjs.map +0 -1
- package/dist/_virtual/picocolors.browser.js +0 -5
- package/dist/_virtual/picocolors.browser.js.map +0 -1
- package/dist/_virtual/ponyfill.es2018.cjs +0 -5
- package/dist/_virtual/ponyfill.es2018.cjs.map +0 -1
- package/dist/_virtual/ponyfill.es2018.js +0 -5
- package/dist/_virtual/ponyfill.es2018.js.map +0 -1
- package/dist/_virtual/re.cjs +0 -5
- package/dist/_virtual/re.cjs.map +0 -1
- package/dist/_virtual/re.js +0 -5
- package/dist/_virtual/re.js.map +0 -1
- package/dist/cli/index.d.ts +0 -1
- package/dist/cli/loadConfig.d.ts +0 -6
- package/dist/cli/loadLocaleIDs.d.ts +0 -10
- package/dist/cli/loadModels.d.ts +0 -15
- package/dist/cli/types.d.ts +0 -175
- package/dist/constants.d.ts +0 -26
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/lib/addBlankLine.d.ts +0 -5
- package/dist/lib/addLine.d.ts +0 -1
- package/dist/lib/addSection.d.ts +0 -1
- package/dist/lib/addTrailingNewLine.d.ts +0 -5
- package/dist/lib/buildCustomTypeDataType.d.ts +0 -14
- package/dist/lib/buildCustomTypeType.d.ts +0 -17
- package/dist/lib/buildFieldDocs.d.ts +0 -10
- package/dist/lib/buildFieldProperties.d.ts +0 -15
- package/dist/lib/buildSharedSliceType.d.ts +0 -17
- package/dist/lib/buildTypeName.d.ts +0 -1
- package/dist/lib/buildUnion.d.ts +0 -1
- package/dist/lib/checkHasUIDFIeld.d.ts +0 -2
- package/dist/lib/getAPIIDPath.d.ts +0 -6
- package/dist/lib/getCacheKey.d.ts +0 -9
- package/dist/lib/getHumanReadableModelName.d.ts +0 -7
- package/dist/lib/getHumanReadablePath.d.ts +0 -6
- package/src/cli/types.ts +0 -192
package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"normalize.js","sources":["../../../../../../node_modules/read-pkg/node_modules/normalize-package-data/lib/normalize.js"],"sourcesContent":["module.exports = normalize\n\nvar fixer = require('./fixer')\nnormalize.fixer = fixer\n\nvar makeWarning = require('./make_warning')\n\nvar fieldsToFix = ['name', 'version', 'description', 'repository', 'modules', 'scripts',\n 'files', 'bin', 'man', 'bugs', 'keywords', 'readme', 'homepage', 'license']\nvar otherThingsToFix = ['dependencies', 'people', 'typos']\n\nvar thingsToFix = fieldsToFix.map(function (fieldName) {\n return ucFirst(fieldName) + 'Field'\n})\n// two ways to do this in CoffeeScript on only one line, sub-70 chars:\n// thingsToFix = fieldsToFix.map (name) -> ucFirst(name) + \"Field\"\n// thingsToFix = (ucFirst(name) + \"Field\" for name in fieldsToFix)\nthingsToFix = thingsToFix.concat(otherThingsToFix)\n\nfunction normalize (data, warn, strict) {\n if (warn === true) {\n warn = null\n strict = true\n }\n if (!strict) {\n strict = false\n }\n if (!warn || data.private) {\n warn = function (msg) { /* noop */ }\n }\n\n if (data.scripts &&\n data.scripts.install === 'node-gyp rebuild' &&\n !data.scripts.preinstall) {\n data.gypfile = true\n }\n fixer.warn = function () {\n warn(makeWarning.apply(null, arguments))\n }\n thingsToFix.forEach(function (thingName) {\n fixer['fix' + ucFirst(thingName)](data, strict)\n })\n data._id = data.name + '@' + data.version\n}\n\nfunction ucFirst (string) {\n return string.charAt(0).toUpperCase() + string.slice(1)\n}\n"],"names":["require$$0","require$$1"],"mappings":";;;AAAA,IAAA,cAAiB;AAEjB,IAAI,QAAQA;AACZ,UAAU,QAAQ;AAElB,IAAI,cAAcC;AAElB,IAAI,cAAc;AAAA,EAAC;AAAA,EAAQ;AAAA,EAAW;AAAA,EAAe;AAAA,EAAc;AAAA,EAAW;AAAA,EAC5E;AAAA,EAAS;AAAA,EAAO;AAAA,EAAO;AAAA,EAAQ;AAAA,EAAY;AAAA,EAAU;AAAA,EAAY;AAAS;AAC5E,IAAI,mBAAmB,CAAC,gBAAgB,UAAU,OAAO;AAEzD,IAAI,cAAc,YAAY,IAAI,SAAU,WAAW;AACrD,SAAO,QAAQ,SAAS,IAAI;AAC9B,CAAC;AAID,cAAc,YAAY,OAAO,gBAAgB;AAEjD,SAAS,UAAW,MAAM,MAAM,QAAQ;AACtC,MAAI,SAAS,MAAM;AACjB,WAAO;AACP,aAAS;AAAA,EACV;AACD,MAAI,CAAC,QAAQ;AACX,aAAS;AAAA,EACV;AACD,MAAI,CAAC,QAAQ,KAAK,SAAS;AACzB,WAAO,SAAU,KAAK;AAAA,IAAc;AAAA,EACrC;AAED,MAAI,KAAK,WACL,KAAK,QAAQ,YAAY,sBACzB,CAAC,KAAK,QAAQ,YAAY;AAC5B,SAAK,UAAU;AAAA,EAChB;AACD,QAAM,OAAO,WAAY;AACvB,SAAK,YAAY,MAAM,MAAM,SAAS,CAAC;AAAA,EACxC;AACD,cAAY,QAAQ,SAAU,WAAW;AACvC,UAAM,QAAQ,QAAQ,SAAS,CAAC,EAAE,MAAM,MAAM;AAAA,EAClD,CAAG;AACD,OAAK,MAAM,KAAK,OAAO,MAAM,KAAK;AACpC;AAEA,SAAS,QAAS,QAAQ;AACxB,SAAO,OAAO,OAAO,CAAC,EAAE,YAAW,IAAK,OAAO,MAAM,CAAC;AACxD;;","x_google_ignoreList":[0]}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const topLevel = {
|
|
4
|
-
dependancies: "dependencies",
|
|
5
|
-
dependecies: "dependencies",
|
|
6
|
-
depdenencies: "dependencies",
|
|
7
|
-
devEependencies: "devDependencies",
|
|
8
|
-
depends: "dependencies",
|
|
9
|
-
"dev-dependencies": "devDependencies",
|
|
10
|
-
devDependences: "devDependencies",
|
|
11
|
-
devDepenencies: "devDependencies",
|
|
12
|
-
devdependencies: "devDependencies",
|
|
13
|
-
repostitory: "repository",
|
|
14
|
-
repo: "repository",
|
|
15
|
-
prefereGlobal: "preferGlobal",
|
|
16
|
-
hompage: "homepage",
|
|
17
|
-
hampage: "homepage",
|
|
18
|
-
autohr: "author",
|
|
19
|
-
autor: "author",
|
|
20
|
-
contributers: "contributors",
|
|
21
|
-
publicationConfig: "publishConfig",
|
|
22
|
-
script: "scripts"
|
|
23
|
-
};
|
|
24
|
-
const bugs = {
|
|
25
|
-
web: "url",
|
|
26
|
-
name: "url"
|
|
27
|
-
};
|
|
28
|
-
const script = {
|
|
29
|
-
server: "start",
|
|
30
|
-
tests: "test"
|
|
31
|
-
};
|
|
32
|
-
const require$$7 = {
|
|
33
|
-
topLevel,
|
|
34
|
-
bugs,
|
|
35
|
-
script
|
|
36
|
-
};
|
|
37
|
-
exports.bugs = bugs;
|
|
38
|
-
exports.default = require$$7;
|
|
39
|
-
exports.script = script;
|
|
40
|
-
exports.topLevel = topLevel;
|
|
41
|
-
//# sourceMappingURL=typos.json.cjs.map
|
package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typos.json.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
const topLevel = {
|
|
2
|
-
dependancies: "dependencies",
|
|
3
|
-
dependecies: "dependencies",
|
|
4
|
-
depdenencies: "dependencies",
|
|
5
|
-
devEependencies: "devDependencies",
|
|
6
|
-
depends: "dependencies",
|
|
7
|
-
"dev-dependencies": "devDependencies",
|
|
8
|
-
devDependences: "devDependencies",
|
|
9
|
-
devDepenencies: "devDependencies",
|
|
10
|
-
devdependencies: "devDependencies",
|
|
11
|
-
repostitory: "repository",
|
|
12
|
-
repo: "repository",
|
|
13
|
-
prefereGlobal: "preferGlobal",
|
|
14
|
-
hompage: "homepage",
|
|
15
|
-
hampage: "homepage",
|
|
16
|
-
autohr: "author",
|
|
17
|
-
autor: "author",
|
|
18
|
-
contributers: "contributors",
|
|
19
|
-
publicationConfig: "publishConfig",
|
|
20
|
-
script: "scripts"
|
|
21
|
-
};
|
|
22
|
-
const bugs = {
|
|
23
|
-
web: "url",
|
|
24
|
-
name: "url"
|
|
25
|
-
};
|
|
26
|
-
const script = {
|
|
27
|
-
server: "start",
|
|
28
|
-
tests: "test"
|
|
29
|
-
};
|
|
30
|
-
const require$$7 = {
|
|
31
|
-
topLevel,
|
|
32
|
-
bugs,
|
|
33
|
-
script
|
|
34
|
-
};
|
|
35
|
-
export {
|
|
36
|
-
bugs,
|
|
37
|
-
require$$7 as default,
|
|
38
|
-
script,
|
|
39
|
-
topLevel
|
|
40
|
-
};
|
|
41
|
-
//# sourceMappingURL=typos.json.js.map
|
package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typos.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const repositories = "'repositories' (plural) Not supported. Please pick one as the 'repository' field";
|
|
4
|
-
const missingRepository = "No repository field.";
|
|
5
|
-
const brokenGitUrl = "Probably broken git url: %s";
|
|
6
|
-
const nonObjectScripts = "scripts must be an object";
|
|
7
|
-
const nonStringScript = "script values must be string commands";
|
|
8
|
-
const nonArrayFiles = "Invalid 'files' member";
|
|
9
|
-
const invalidFilename = "Invalid filename in 'files' list: %s";
|
|
10
|
-
const nonArrayBundleDependencies = "Invalid 'bundleDependencies' list. Must be array of package names";
|
|
11
|
-
const nonStringBundleDependency = "Invalid bundleDependencies member: %s";
|
|
12
|
-
const nonDependencyBundleDependency = "Non-dependency in bundleDependencies: %s";
|
|
13
|
-
const nonObjectDependencies = "%s field must be an object";
|
|
14
|
-
const nonStringDependency = "Invalid dependency: %s %s";
|
|
15
|
-
const deprecatedArrayDependencies = "specifying %s as array is deprecated";
|
|
16
|
-
const deprecatedModules = "modules field is deprecated";
|
|
17
|
-
const nonArrayKeywords = "keywords should be an array of strings";
|
|
18
|
-
const nonStringKeyword = "keywords should be an array of strings";
|
|
19
|
-
const conflictingName = "%s is also the name of a node core module.";
|
|
20
|
-
const nonStringDescription = "'description' field should be a string";
|
|
21
|
-
const missingDescription = "No description";
|
|
22
|
-
const missingReadme = "No README data";
|
|
23
|
-
const missingLicense = "No license field.";
|
|
24
|
-
const nonEmailUrlBugsString = "Bug string field must be url, email, or {email,url}";
|
|
25
|
-
const nonUrlBugsUrlField = "bugs.url field must be a string url. Deleted.";
|
|
26
|
-
const nonEmailBugsEmailField = "bugs.email field must be a string email. Deleted.";
|
|
27
|
-
const emptyNormalizedBugs = "Normalized value of bugs field is an empty object. Deleted.";
|
|
28
|
-
const nonUrlHomepage = "homepage field must be a string url. Deleted.";
|
|
29
|
-
const invalidLicense = "license should be a valid SPDX license expression";
|
|
30
|
-
const typo = "%s should probably be %s.";
|
|
31
|
-
const require$$1 = {
|
|
32
|
-
repositories,
|
|
33
|
-
missingRepository,
|
|
34
|
-
brokenGitUrl,
|
|
35
|
-
nonObjectScripts,
|
|
36
|
-
nonStringScript,
|
|
37
|
-
nonArrayFiles,
|
|
38
|
-
invalidFilename,
|
|
39
|
-
nonArrayBundleDependencies,
|
|
40
|
-
nonStringBundleDependency,
|
|
41
|
-
nonDependencyBundleDependency,
|
|
42
|
-
nonObjectDependencies,
|
|
43
|
-
nonStringDependency,
|
|
44
|
-
deprecatedArrayDependencies,
|
|
45
|
-
deprecatedModules,
|
|
46
|
-
nonArrayKeywords,
|
|
47
|
-
nonStringKeyword,
|
|
48
|
-
conflictingName,
|
|
49
|
-
nonStringDescription,
|
|
50
|
-
missingDescription,
|
|
51
|
-
missingReadme,
|
|
52
|
-
missingLicense,
|
|
53
|
-
nonEmailUrlBugsString,
|
|
54
|
-
nonUrlBugsUrlField,
|
|
55
|
-
nonEmailBugsEmailField,
|
|
56
|
-
emptyNormalizedBugs,
|
|
57
|
-
nonUrlHomepage,
|
|
58
|
-
invalidLicense,
|
|
59
|
-
typo
|
|
60
|
-
};
|
|
61
|
-
exports.brokenGitUrl = brokenGitUrl;
|
|
62
|
-
exports.conflictingName = conflictingName;
|
|
63
|
-
exports.default = require$$1;
|
|
64
|
-
exports.deprecatedArrayDependencies = deprecatedArrayDependencies;
|
|
65
|
-
exports.deprecatedModules = deprecatedModules;
|
|
66
|
-
exports.emptyNormalizedBugs = emptyNormalizedBugs;
|
|
67
|
-
exports.invalidFilename = invalidFilename;
|
|
68
|
-
exports.invalidLicense = invalidLicense;
|
|
69
|
-
exports.missingDescription = missingDescription;
|
|
70
|
-
exports.missingLicense = missingLicense;
|
|
71
|
-
exports.missingReadme = missingReadme;
|
|
72
|
-
exports.missingRepository = missingRepository;
|
|
73
|
-
exports.nonArrayBundleDependencies = nonArrayBundleDependencies;
|
|
74
|
-
exports.nonArrayFiles = nonArrayFiles;
|
|
75
|
-
exports.nonArrayKeywords = nonArrayKeywords;
|
|
76
|
-
exports.nonDependencyBundleDependency = nonDependencyBundleDependency;
|
|
77
|
-
exports.nonEmailBugsEmailField = nonEmailBugsEmailField;
|
|
78
|
-
exports.nonEmailUrlBugsString = nonEmailUrlBugsString;
|
|
79
|
-
exports.nonObjectDependencies = nonObjectDependencies;
|
|
80
|
-
exports.nonObjectScripts = nonObjectScripts;
|
|
81
|
-
exports.nonStringBundleDependency = nonStringBundleDependency;
|
|
82
|
-
exports.nonStringDependency = nonStringDependency;
|
|
83
|
-
exports.nonStringDescription = nonStringDescription;
|
|
84
|
-
exports.nonStringKeyword = nonStringKeyword;
|
|
85
|
-
exports.nonStringScript = nonStringScript;
|
|
86
|
-
exports.nonUrlBugsUrlField = nonUrlBugsUrlField;
|
|
87
|
-
exports.nonUrlHomepage = nonUrlHomepage;
|
|
88
|
-
exports.repositories = repositories;
|
|
89
|
-
exports.typo = typo;
|
|
90
|
-
//# sourceMappingURL=warning_messages.json.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"warning_messages.json.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
const repositories = "'repositories' (plural) Not supported. Please pick one as the 'repository' field";
|
|
2
|
-
const missingRepository = "No repository field.";
|
|
3
|
-
const brokenGitUrl = "Probably broken git url: %s";
|
|
4
|
-
const nonObjectScripts = "scripts must be an object";
|
|
5
|
-
const nonStringScript = "script values must be string commands";
|
|
6
|
-
const nonArrayFiles = "Invalid 'files' member";
|
|
7
|
-
const invalidFilename = "Invalid filename in 'files' list: %s";
|
|
8
|
-
const nonArrayBundleDependencies = "Invalid 'bundleDependencies' list. Must be array of package names";
|
|
9
|
-
const nonStringBundleDependency = "Invalid bundleDependencies member: %s";
|
|
10
|
-
const nonDependencyBundleDependency = "Non-dependency in bundleDependencies: %s";
|
|
11
|
-
const nonObjectDependencies = "%s field must be an object";
|
|
12
|
-
const nonStringDependency = "Invalid dependency: %s %s";
|
|
13
|
-
const deprecatedArrayDependencies = "specifying %s as array is deprecated";
|
|
14
|
-
const deprecatedModules = "modules field is deprecated";
|
|
15
|
-
const nonArrayKeywords = "keywords should be an array of strings";
|
|
16
|
-
const nonStringKeyword = "keywords should be an array of strings";
|
|
17
|
-
const conflictingName = "%s is also the name of a node core module.";
|
|
18
|
-
const nonStringDescription = "'description' field should be a string";
|
|
19
|
-
const missingDescription = "No description";
|
|
20
|
-
const missingReadme = "No README data";
|
|
21
|
-
const missingLicense = "No license field.";
|
|
22
|
-
const nonEmailUrlBugsString = "Bug string field must be url, email, or {email,url}";
|
|
23
|
-
const nonUrlBugsUrlField = "bugs.url field must be a string url. Deleted.";
|
|
24
|
-
const nonEmailBugsEmailField = "bugs.email field must be a string email. Deleted.";
|
|
25
|
-
const emptyNormalizedBugs = "Normalized value of bugs field is an empty object. Deleted.";
|
|
26
|
-
const nonUrlHomepage = "homepage field must be a string url. Deleted.";
|
|
27
|
-
const invalidLicense = "license should be a valid SPDX license expression";
|
|
28
|
-
const typo = "%s should probably be %s.";
|
|
29
|
-
const require$$1 = {
|
|
30
|
-
repositories,
|
|
31
|
-
missingRepository,
|
|
32
|
-
brokenGitUrl,
|
|
33
|
-
nonObjectScripts,
|
|
34
|
-
nonStringScript,
|
|
35
|
-
nonArrayFiles,
|
|
36
|
-
invalidFilename,
|
|
37
|
-
nonArrayBundleDependencies,
|
|
38
|
-
nonStringBundleDependency,
|
|
39
|
-
nonDependencyBundleDependency,
|
|
40
|
-
nonObjectDependencies,
|
|
41
|
-
nonStringDependency,
|
|
42
|
-
deprecatedArrayDependencies,
|
|
43
|
-
deprecatedModules,
|
|
44
|
-
nonArrayKeywords,
|
|
45
|
-
nonStringKeyword,
|
|
46
|
-
conflictingName,
|
|
47
|
-
nonStringDescription,
|
|
48
|
-
missingDescription,
|
|
49
|
-
missingReadme,
|
|
50
|
-
missingLicense,
|
|
51
|
-
nonEmailUrlBugsString,
|
|
52
|
-
nonUrlBugsUrlField,
|
|
53
|
-
nonEmailBugsEmailField,
|
|
54
|
-
emptyNormalizedBugs,
|
|
55
|
-
nonUrlHomepage,
|
|
56
|
-
invalidLicense,
|
|
57
|
-
typo
|
|
58
|
-
};
|
|
59
|
-
export {
|
|
60
|
-
brokenGitUrl,
|
|
61
|
-
conflictingName,
|
|
62
|
-
require$$1 as default,
|
|
63
|
-
deprecatedArrayDependencies,
|
|
64
|
-
deprecatedModules,
|
|
65
|
-
emptyNormalizedBugs,
|
|
66
|
-
invalidFilename,
|
|
67
|
-
invalidLicense,
|
|
68
|
-
missingDescription,
|
|
69
|
-
missingLicense,
|
|
70
|
-
missingReadme,
|
|
71
|
-
missingRepository,
|
|
72
|
-
nonArrayBundleDependencies,
|
|
73
|
-
nonArrayFiles,
|
|
74
|
-
nonArrayKeywords,
|
|
75
|
-
nonDependencyBundleDependency,
|
|
76
|
-
nonEmailBugsEmailField,
|
|
77
|
-
nonEmailUrlBugsString,
|
|
78
|
-
nonObjectDependencies,
|
|
79
|
-
nonObjectScripts,
|
|
80
|
-
nonStringBundleDependency,
|
|
81
|
-
nonStringDependency,
|
|
82
|
-
nonStringDescription,
|
|
83
|
-
nonStringKeyword,
|
|
84
|
-
nonStringScript,
|
|
85
|
-
nonUrlBugsUrlField,
|
|
86
|
-
nonUrlHomepage,
|
|
87
|
-
repositories,
|
|
88
|
-
typo
|
|
89
|
-
};
|
|
90
|
-
//# sourceMappingURL=warning_messages.json.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"warning_messages.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const process = require("node:process");
|
|
4
|
-
const fs = require("node:fs");
|
|
5
|
-
const path = require("node:path");
|
|
6
|
-
const node_url = require("node:url");
|
|
7
|
-
const index = require("../parse-json/index.cjs");
|
|
8
|
-
const normalize = require('./_node_modules/normalize-package-data/lib/normalize.cjs');
|
|
9
|
-
const toPath = (urlOrPath) => urlOrPath instanceof URL ? node_url.fileURLToPath(urlOrPath) : urlOrPath;
|
|
10
|
-
function readPackageSync({ cwd, normalize: normalize$1 = true } = {}) {
|
|
11
|
-
cwd = toPath(cwd) || process.cwd();
|
|
12
|
-
const filePath = path.resolve(cwd, "package.json");
|
|
13
|
-
const json = index(fs.readFileSync(filePath, "utf8"));
|
|
14
|
-
if (normalize$1) {
|
|
15
|
-
normalize(json);
|
|
16
|
-
}
|
|
17
|
-
return json;
|
|
18
|
-
}
|
|
19
|
-
exports.readPackageSync = readPackageSync;
|
|
20
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../node_modules/read-pkg/index.js"],"sourcesContent":["import process from 'node:process';\nimport fs, {promises as fsPromises} from 'node:fs';\nimport path from 'node:path';\nimport {fileURLToPath} from 'node:url';\nimport parseJson from 'parse-json';\nimport normalizePackageData from 'normalize-package-data';\n\nconst toPath = urlOrPath => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;\n\nexport async function readPackage({cwd, normalize = true} = {}) {\n\tcwd = toPath(cwd) || process.cwd();\n\tconst filePath = path.resolve(cwd, 'package.json');\n\tconst json = parseJson(await fsPromises.readFile(filePath, 'utf8'));\n\n\tif (normalize) {\n\t\tnormalizePackageData(json);\n\t}\n\n\treturn json;\n}\n\nexport function readPackageSync({cwd, normalize = true} = {}) {\n\tcwd = toPath(cwd) || process.cwd();\n\tconst filePath = path.resolve(cwd, 'package.json');\n\tconst json = parseJson(fs.readFileSync(filePath, 'utf8'));\n\n\tif (normalize) {\n\t\tnormalizePackageData(json);\n\t}\n\n\treturn json;\n}\n"],"names":["fileURLToPath","normalize","parseJson","normalizePackageData"],"mappings":";;;;;;;;AAOA,MAAM,SAAS,eAAa,qBAAqB,MAAMA,SAAAA,cAAc,SAAS,IAAI;AAc3E,SAAS,gBAAgB,EAAC,KAAG,WAAEC,cAAY,KAAI,IAAI,CAAA,GAAI;AAC7D,QAAM,OAAO,GAAG,KAAK,QAAQ,IAAG;AAChC,QAAM,WAAW,KAAK,QAAQ,KAAK,cAAc;AACjD,QAAM,OAAOC,MAAU,GAAG,aAAa,UAAU,MAAM,CAAC;AAExD,MAAID,aAAW;AACdE,cAAqB,IAAI;AAAA,EACzB;AAED,SAAO;AACR;;","x_google_ignoreList":[0]}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import process from "node:process";
|
|
2
|
-
import fs from "node:fs";
|
|
3
|
-
import path from "node:path";
|
|
4
|
-
import { fileURLToPath } from "node:url";
|
|
5
|
-
import parseJson from "../parse-json/index.js";
|
|
6
|
-
import normalizePackageData from './_node_modules/normalize-package-data/lib/normalize.js';
|
|
7
|
-
const toPath = (urlOrPath) => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;
|
|
8
|
-
function readPackageSync({ cwd, normalize = true } = {}) {
|
|
9
|
-
cwd = toPath(cwd) || process.cwd();
|
|
10
|
-
const filePath = path.resolve(cwd, "package.json");
|
|
11
|
-
const json = parseJson(fs.readFileSync(filePath, "utf8"));
|
|
12
|
-
if (normalize) {
|
|
13
|
-
normalizePackageData(json);
|
|
14
|
-
}
|
|
15
|
-
return json;
|
|
16
|
-
}
|
|
17
|
-
export {
|
|
18
|
-
readPackageSync
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/read-pkg/index.js"],"sourcesContent":["import process from 'node:process';\nimport fs, {promises as fsPromises} from 'node:fs';\nimport path from 'node:path';\nimport {fileURLToPath} from 'node:url';\nimport parseJson from 'parse-json';\nimport normalizePackageData from 'normalize-package-data';\n\nconst toPath = urlOrPath => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;\n\nexport async function readPackage({cwd, normalize = true} = {}) {\n\tcwd = toPath(cwd) || process.cwd();\n\tconst filePath = path.resolve(cwd, 'package.json');\n\tconst json = parseJson(await fsPromises.readFile(filePath, 'utf8'));\n\n\tif (normalize) {\n\t\tnormalizePackageData(json);\n\t}\n\n\treturn json;\n}\n\nexport function readPackageSync({cwd, normalize = true} = {}) {\n\tcwd = toPath(cwd) || process.cwd();\n\tconst filePath = path.resolve(cwd, 'package.json');\n\tconst json = parseJson(fs.readFileSync(filePath, 'utf8'));\n\n\tif (normalize) {\n\t\tnormalizePackageData(json);\n\t}\n\n\treturn json;\n}\n"],"names":[],"mappings":";;;;;;AAOA,MAAM,SAAS,eAAa,qBAAqB,MAAM,cAAc,SAAS,IAAI;AAc3E,SAAS,gBAAgB,EAAC,KAAK,YAAY,KAAI,IAAI,CAAA,GAAI;AAC7D,QAAM,OAAO,GAAG,KAAK,QAAQ,IAAG;AAChC,QAAM,WAAW,KAAK,QAAQ,KAAK,cAAc;AACjD,QAAM,OAAO,UAAU,GAAG,aAAa,UAAU,MAAM,CAAC;AAExD,MAAI,WAAW;AACd,yBAAqB,IAAI;AAAA,EACzB;AAED,SAAO;AACR;","x_google_ignoreList":[0]}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const path = require("node:path");
|
|
4
|
-
const node_url = require("node:url");
|
|
5
|
-
const index = require("../locate-path/index.cjs");
|
|
6
|
-
require("node:fs");
|
|
7
|
-
const toPath = (urlOrPath) => urlOrPath instanceof URL ? node_url.fileURLToPath(urlOrPath) : urlOrPath;
|
|
8
|
-
const findUpStop = Symbol("findUpStop");
|
|
9
|
-
function findUpMultipleSync(name, options = {}) {
|
|
10
|
-
let directory = path.resolve(toPath(options.cwd) || "");
|
|
11
|
-
const { root } = path.parse(directory);
|
|
12
|
-
const stopAt = options.stopAt || root;
|
|
13
|
-
const limit = options.limit || Number.POSITIVE_INFINITY;
|
|
14
|
-
const paths = [name].flat();
|
|
15
|
-
const runMatcher = (locateOptions) => {
|
|
16
|
-
if (typeof name !== "function") {
|
|
17
|
-
return index.locatePathSync(paths, locateOptions);
|
|
18
|
-
}
|
|
19
|
-
const foundPath = name(locateOptions.cwd);
|
|
20
|
-
if (typeof foundPath === "string") {
|
|
21
|
-
return index.locatePathSync([foundPath], locateOptions);
|
|
22
|
-
}
|
|
23
|
-
return foundPath;
|
|
24
|
-
};
|
|
25
|
-
const matches = [];
|
|
26
|
-
while (true) {
|
|
27
|
-
const foundPath = runMatcher({ ...options, cwd: directory });
|
|
28
|
-
if (foundPath === findUpStop) {
|
|
29
|
-
break;
|
|
30
|
-
}
|
|
31
|
-
if (foundPath) {
|
|
32
|
-
matches.push(path.resolve(directory, foundPath));
|
|
33
|
-
}
|
|
34
|
-
if (directory === stopAt || matches.length >= limit) {
|
|
35
|
-
break;
|
|
36
|
-
}
|
|
37
|
-
directory = path.dirname(directory);
|
|
38
|
-
}
|
|
39
|
-
return matches;
|
|
40
|
-
}
|
|
41
|
-
function findUpSync(name, options = {}) {
|
|
42
|
-
const matches = findUpMultipleSync(name, { ...options, limit: 1 });
|
|
43
|
-
return matches[0];
|
|
44
|
-
}
|
|
45
|
-
exports.findUpMultipleSync = findUpMultipleSync;
|
|
46
|
-
exports.findUpStop = findUpStop;
|
|
47
|
-
exports.findUpSync = findUpSync;
|
|
48
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../../node_modules/read-pkg-up/node_modules/find-up/index.js"],"sourcesContent":["import path from 'node:path';\nimport {fileURLToPath} from 'node:url';\nimport {locatePath, locatePathSync} from 'locate-path';\n\nconst toPath = urlOrPath => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;\n\nexport const findUpStop = Symbol('findUpStop');\n\nexport async function findUpMultiple(name, options = {}) {\n\tlet directory = path.resolve(toPath(options.cwd) || '');\n\tconst {root} = path.parse(directory);\n\tconst stopAt = path.resolve(directory, options.stopAt || root);\n\tconst limit = options.limit || Number.POSITIVE_INFINITY;\n\tconst paths = [name].flat();\n\n\tconst runMatcher = async locateOptions => {\n\t\tif (typeof name !== 'function') {\n\t\t\treturn locatePath(paths, locateOptions);\n\t\t}\n\n\t\tconst foundPath = await name(locateOptions.cwd);\n\t\tif (typeof foundPath === 'string') {\n\t\t\treturn locatePath([foundPath], locateOptions);\n\t\t}\n\n\t\treturn foundPath;\n\t};\n\n\tconst matches = [];\n\t// eslint-disable-next-line no-constant-condition\n\twhile (true) {\n\t\t// eslint-disable-next-line no-await-in-loop\n\t\tconst foundPath = await runMatcher({...options, cwd: directory});\n\n\t\tif (foundPath === findUpStop) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif (foundPath) {\n\t\t\tmatches.push(path.resolve(directory, foundPath));\n\t\t}\n\n\t\tif (directory === stopAt || matches.length >= limit) {\n\t\t\tbreak;\n\t\t}\n\n\t\tdirectory = path.dirname(directory);\n\t}\n\n\treturn matches;\n}\n\nexport function findUpMultipleSync(name, options = {}) {\n\tlet directory = path.resolve(toPath(options.cwd) || '');\n\tconst {root} = path.parse(directory);\n\tconst stopAt = options.stopAt || root;\n\tconst limit = options.limit || Number.POSITIVE_INFINITY;\n\tconst paths = [name].flat();\n\n\tconst runMatcher = locateOptions => {\n\t\tif (typeof name !== 'function') {\n\t\t\treturn locatePathSync(paths, locateOptions);\n\t\t}\n\n\t\tconst foundPath = name(locateOptions.cwd);\n\t\tif (typeof foundPath === 'string') {\n\t\t\treturn locatePathSync([foundPath], locateOptions);\n\t\t}\n\n\t\treturn foundPath;\n\t};\n\n\tconst matches = [];\n\t// eslint-disable-next-line no-constant-condition\n\twhile (true) {\n\t\tconst foundPath = runMatcher({...options, cwd: directory});\n\n\t\tif (foundPath === findUpStop) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif (foundPath) {\n\t\t\tmatches.push(path.resolve(directory, foundPath));\n\t\t}\n\n\t\tif (directory === stopAt || matches.length >= limit) {\n\t\t\tbreak;\n\t\t}\n\n\t\tdirectory = path.dirname(directory);\n\t}\n\n\treturn matches;\n}\n\nexport async function findUp(name, options = {}) {\n\tconst matches = await findUpMultiple(name, {...options, limit: 1});\n\treturn matches[0];\n}\n\nexport function findUpSync(name, options = {}) {\n\tconst matches = findUpMultipleSync(name, {...options, limit: 1});\n\treturn matches[0];\n}\n\nexport {\n\tpathExists,\n\tpathExistsSync,\n} from 'path-exists';\n"],"names":["fileURLToPath","locatePathSync"],"mappings":";;;;;;AAIA,MAAM,SAAS,eAAa,qBAAqB,MAAMA,SAAAA,cAAc,SAAS,IAAI;AAEtE,MAAC,aAAa,OAAO,YAAY;AA8CtC,SAAS,mBAAmB,MAAM,UAAU,IAAI;AACtD,MAAI,YAAY,KAAK,QAAQ,OAAO,QAAQ,GAAG,KAAK,EAAE;AACtD,QAAM,EAAC,KAAI,IAAI,KAAK,MAAM,SAAS;AACnC,QAAM,SAAS,QAAQ,UAAU;AACjC,QAAM,QAAQ,QAAQ,SAAS,OAAO;AACtC,QAAM,QAAQ,CAAC,IAAI,EAAE,KAAI;AAEzB,QAAM,aAAa,mBAAiB;AACnC,QAAI,OAAO,SAAS,YAAY;AAC/B,aAAOC,MAAc,eAAC,OAAO,aAAa;AAAA,IAC1C;AAED,UAAM,YAAY,KAAK,cAAc,GAAG;AACxC,QAAI,OAAO,cAAc,UAAU;AAClC,aAAOA,qBAAe,CAAC,SAAS,GAAG,aAAa;AAAA,IAChD;AAED,WAAO;AAAA,EACT;AAEC,QAAM,UAAU,CAAA;AAEhB,SAAO,MAAM;AACZ,UAAM,YAAY,WAAW,EAAC,GAAG,SAAS,KAAK,UAAS,CAAC;AAEzD,QAAI,cAAc,YAAY;AAC7B;AAAA,IACA;AAED,QAAI,WAAW;AACd,cAAQ,KAAK,KAAK,QAAQ,WAAW,SAAS,CAAC;AAAA,IAC/C;AAED,QAAI,cAAc,UAAU,QAAQ,UAAU,OAAO;AACpD;AAAA,IACA;AAED,gBAAY,KAAK,QAAQ,SAAS;AAAA,EAClC;AAED,SAAO;AACR;AAOO,SAAS,WAAW,MAAM,UAAU,IAAI;AAC9C,QAAM,UAAU,mBAAmB,MAAM,EAAC,GAAG,SAAS,OAAO,EAAC,CAAC;AAC/D,SAAO,QAAQ,CAAC;AACjB;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import path from "node:path";
|
|
2
|
-
import { fileURLToPath } from "node:url";
|
|
3
|
-
import { locatePathSync } from "../locate-path/index.js";
|
|
4
|
-
import "node:fs";
|
|
5
|
-
const toPath = (urlOrPath) => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;
|
|
6
|
-
const findUpStop = Symbol("findUpStop");
|
|
7
|
-
function findUpMultipleSync(name, options = {}) {
|
|
8
|
-
let directory = path.resolve(toPath(options.cwd) || "");
|
|
9
|
-
const { root } = path.parse(directory);
|
|
10
|
-
const stopAt = options.stopAt || root;
|
|
11
|
-
const limit = options.limit || Number.POSITIVE_INFINITY;
|
|
12
|
-
const paths = [name].flat();
|
|
13
|
-
const runMatcher = (locateOptions) => {
|
|
14
|
-
if (typeof name !== "function") {
|
|
15
|
-
return locatePathSync(paths, locateOptions);
|
|
16
|
-
}
|
|
17
|
-
const foundPath = name(locateOptions.cwd);
|
|
18
|
-
if (typeof foundPath === "string") {
|
|
19
|
-
return locatePathSync([foundPath], locateOptions);
|
|
20
|
-
}
|
|
21
|
-
return foundPath;
|
|
22
|
-
};
|
|
23
|
-
const matches = [];
|
|
24
|
-
while (true) {
|
|
25
|
-
const foundPath = runMatcher({ ...options, cwd: directory });
|
|
26
|
-
if (foundPath === findUpStop) {
|
|
27
|
-
break;
|
|
28
|
-
}
|
|
29
|
-
if (foundPath) {
|
|
30
|
-
matches.push(path.resolve(directory, foundPath));
|
|
31
|
-
}
|
|
32
|
-
if (directory === stopAt || matches.length >= limit) {
|
|
33
|
-
break;
|
|
34
|
-
}
|
|
35
|
-
directory = path.dirname(directory);
|
|
36
|
-
}
|
|
37
|
-
return matches;
|
|
38
|
-
}
|
|
39
|
-
function findUpSync(name, options = {}) {
|
|
40
|
-
const matches = findUpMultipleSync(name, { ...options, limit: 1 });
|
|
41
|
-
return matches[0];
|
|
42
|
-
}
|
|
43
|
-
export {
|
|
44
|
-
findUpMultipleSync,
|
|
45
|
-
findUpStop,
|
|
46
|
-
findUpSync
|
|
47
|
-
};
|
|
48
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../node_modules/read-pkg-up/node_modules/find-up/index.js"],"sourcesContent":["import path from 'node:path';\nimport {fileURLToPath} from 'node:url';\nimport {locatePath, locatePathSync} from 'locate-path';\n\nconst toPath = urlOrPath => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;\n\nexport const findUpStop = Symbol('findUpStop');\n\nexport async function findUpMultiple(name, options = {}) {\n\tlet directory = path.resolve(toPath(options.cwd) || '');\n\tconst {root} = path.parse(directory);\n\tconst stopAt = path.resolve(directory, options.stopAt || root);\n\tconst limit = options.limit || Number.POSITIVE_INFINITY;\n\tconst paths = [name].flat();\n\n\tconst runMatcher = async locateOptions => {\n\t\tif (typeof name !== 'function') {\n\t\t\treturn locatePath(paths, locateOptions);\n\t\t}\n\n\t\tconst foundPath = await name(locateOptions.cwd);\n\t\tif (typeof foundPath === 'string') {\n\t\t\treturn locatePath([foundPath], locateOptions);\n\t\t}\n\n\t\treturn foundPath;\n\t};\n\n\tconst matches = [];\n\t// eslint-disable-next-line no-constant-condition\n\twhile (true) {\n\t\t// eslint-disable-next-line no-await-in-loop\n\t\tconst foundPath = await runMatcher({...options, cwd: directory});\n\n\t\tif (foundPath === findUpStop) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif (foundPath) {\n\t\t\tmatches.push(path.resolve(directory, foundPath));\n\t\t}\n\n\t\tif (directory === stopAt || matches.length >= limit) {\n\t\t\tbreak;\n\t\t}\n\n\t\tdirectory = path.dirname(directory);\n\t}\n\n\treturn matches;\n}\n\nexport function findUpMultipleSync(name, options = {}) {\n\tlet directory = path.resolve(toPath(options.cwd) || '');\n\tconst {root} = path.parse(directory);\n\tconst stopAt = options.stopAt || root;\n\tconst limit = options.limit || Number.POSITIVE_INFINITY;\n\tconst paths = [name].flat();\n\n\tconst runMatcher = locateOptions => {\n\t\tif (typeof name !== 'function') {\n\t\t\treturn locatePathSync(paths, locateOptions);\n\t\t}\n\n\t\tconst foundPath = name(locateOptions.cwd);\n\t\tif (typeof foundPath === 'string') {\n\t\t\treturn locatePathSync([foundPath], locateOptions);\n\t\t}\n\n\t\treturn foundPath;\n\t};\n\n\tconst matches = [];\n\t// eslint-disable-next-line no-constant-condition\n\twhile (true) {\n\t\tconst foundPath = runMatcher({...options, cwd: directory});\n\n\t\tif (foundPath === findUpStop) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif (foundPath) {\n\t\t\tmatches.push(path.resolve(directory, foundPath));\n\t\t}\n\n\t\tif (directory === stopAt || matches.length >= limit) {\n\t\t\tbreak;\n\t\t}\n\n\t\tdirectory = path.dirname(directory);\n\t}\n\n\treturn matches;\n}\n\nexport async function findUp(name, options = {}) {\n\tconst matches = await findUpMultiple(name, {...options, limit: 1});\n\treturn matches[0];\n}\n\nexport function findUpSync(name, options = {}) {\n\tconst matches = findUpMultipleSync(name, {...options, limit: 1});\n\treturn matches[0];\n}\n\nexport {\n\tpathExists,\n\tpathExistsSync,\n} from 'path-exists';\n"],"names":[],"mappings":";;;;AAIA,MAAM,SAAS,eAAa,qBAAqB,MAAM,cAAc,SAAS,IAAI;AAEtE,MAAC,aAAa,OAAO,YAAY;AA8CtC,SAAS,mBAAmB,MAAM,UAAU,IAAI;AACtD,MAAI,YAAY,KAAK,QAAQ,OAAO,QAAQ,GAAG,KAAK,EAAE;AACtD,QAAM,EAAC,KAAI,IAAI,KAAK,MAAM,SAAS;AACnC,QAAM,SAAS,QAAQ,UAAU;AACjC,QAAM,QAAQ,QAAQ,SAAS,OAAO;AACtC,QAAM,QAAQ,CAAC,IAAI,EAAE,KAAI;AAEzB,QAAM,aAAa,mBAAiB;AACnC,QAAI,OAAO,SAAS,YAAY;AAC/B,aAAO,eAAe,OAAO,aAAa;AAAA,IAC1C;AAED,UAAM,YAAY,KAAK,cAAc,GAAG;AACxC,QAAI,OAAO,cAAc,UAAU;AAClC,aAAO,eAAe,CAAC,SAAS,GAAG,aAAa;AAAA,IAChD;AAED,WAAO;AAAA,EACT;AAEC,QAAM,UAAU,CAAA;AAEhB,SAAO,MAAM;AACZ,UAAM,YAAY,WAAW,EAAC,GAAG,SAAS,KAAK,UAAS,CAAC;AAEzD,QAAI,cAAc,YAAY;AAC7B;AAAA,IACA;AAED,QAAI,WAAW;AACd,cAAQ,KAAK,KAAK,QAAQ,WAAW,SAAS,CAAC;AAAA,IAC/C;AAED,QAAI,cAAc,UAAU,QAAQ,UAAU,OAAO;AACpD;AAAA,IACA;AAED,gBAAY,KAAK,QAAQ,SAAS;AAAA,EAClC;AAED,SAAO;AACR;AAOO,SAAS,WAAW,MAAM,UAAU,IAAI;AAC9C,QAAM,UAAU,mBAAmB,MAAM,EAAC,GAAG,SAAS,OAAO,EAAC,CAAC;AAC/D,SAAO,QAAQ,CAAC;AACjB;","x_google_ignoreList":[0]}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const process = require("node:process");
|
|
4
|
-
const path = require("node:path");
|
|
5
|
-
const fs = require("node:fs");
|
|
6
|
-
const node_url = require("node:url");
|
|
7
|
-
const typeMappings = {
|
|
8
|
-
directory: "isDirectory",
|
|
9
|
-
file: "isFile"
|
|
10
|
-
};
|
|
11
|
-
function checkType(type) {
|
|
12
|
-
if (Object.hasOwnProperty.call(typeMappings, type)) {
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
throw new Error(`Invalid type specified: ${type}`);
|
|
16
|
-
}
|
|
17
|
-
const matchType = (type, stat) => stat[typeMappings[type]]();
|
|
18
|
-
const toPath = (urlOrPath) => urlOrPath instanceof URL ? node_url.fileURLToPath(urlOrPath) : urlOrPath;
|
|
19
|
-
function locatePathSync(paths, {
|
|
20
|
-
cwd = process.cwd(),
|
|
21
|
-
type = "file",
|
|
22
|
-
allowSymlinks = true
|
|
23
|
-
} = {}) {
|
|
24
|
-
checkType(type);
|
|
25
|
-
cwd = toPath(cwd);
|
|
26
|
-
const statFunction = allowSymlinks ? fs.statSync : fs.lstatSync;
|
|
27
|
-
for (const path_ of paths) {
|
|
28
|
-
try {
|
|
29
|
-
const stat = statFunction(path.resolve(cwd, path_), {
|
|
30
|
-
throwIfNoEntry: false
|
|
31
|
-
});
|
|
32
|
-
if (!stat) {
|
|
33
|
-
continue;
|
|
34
|
-
}
|
|
35
|
-
if (matchType(type, stat)) {
|
|
36
|
-
return path_;
|
|
37
|
-
}
|
|
38
|
-
} catch {
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
exports.locatePathSync = locatePathSync;
|
|
43
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../../node_modules/read-pkg-up/node_modules/locate-path/index.js"],"sourcesContent":["import process from 'node:process';\nimport path from 'node:path';\nimport fs, {promises as fsPromises} from 'node:fs';\nimport {fileURLToPath} from 'node:url';\nimport pLocate from 'p-locate';\n\nconst typeMappings = {\n\tdirectory: 'isDirectory',\n\tfile: 'isFile',\n};\n\nfunction checkType(type) {\n\tif (Object.hasOwnProperty.call(typeMappings, type)) {\n\t\treturn;\n\t}\n\n\tthrow new Error(`Invalid type specified: ${type}`);\n}\n\nconst matchType = (type, stat) => stat[typeMappings[type]]();\n\nconst toPath = urlOrPath => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;\n\nexport async function locatePath(\n\tpaths,\n\t{\n\t\tcwd = process.cwd(),\n\t\ttype = 'file',\n\t\tallowSymlinks = true,\n\t\tconcurrency,\n\t\tpreserveOrder,\n\t} = {},\n) {\n\tcheckType(type);\n\tcwd = toPath(cwd);\n\n\tconst statFunction = allowSymlinks ? fsPromises.stat : fsPromises.lstat;\n\n\treturn pLocate(paths, async path_ => {\n\t\ttry {\n\t\t\tconst stat = await statFunction(path.resolve(cwd, path_));\n\t\t\treturn matchType(type, stat);\n\t\t} catch {\n\t\t\treturn false;\n\t\t}\n\t}, {concurrency, preserveOrder});\n}\n\nexport function locatePathSync(\n\tpaths,\n\t{\n\t\tcwd = process.cwd(),\n\t\ttype = 'file',\n\t\tallowSymlinks = true,\n\t} = {},\n) {\n\tcheckType(type);\n\tcwd = toPath(cwd);\n\n\tconst statFunction = allowSymlinks ? fs.statSync : fs.lstatSync;\n\n\tfor (const path_ of paths) {\n\t\ttry {\n\t\t\tconst stat = statFunction(path.resolve(cwd, path_), {\n\t\t\t\tthrowIfNoEntry: false,\n\t\t\t});\n\n\t\t\tif (!stat) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (matchType(type, stat)) {\n\t\t\t\treturn path_;\n\t\t\t}\n\t\t} catch {}\n\t}\n}\n"],"names":["fileURLToPath"],"mappings":";;;;;;AAMA,MAAM,eAAe;AAAA,EACpB,WAAW;AAAA,EACX,MAAM;AACP;AAEA,SAAS,UAAU,MAAM;AACxB,MAAI,OAAO,eAAe,KAAK,cAAc,IAAI,GAAG;AACnD;AAAA,EACA;AAED,QAAM,IAAI,MAAM,2BAA2B,IAAI,EAAE;AAClD;AAEA,MAAM,YAAY,CAAC,MAAM,SAAS,KAAK,aAAa,IAAI,CAAC;AAEzD,MAAM,SAAS,eAAa,qBAAqB,MAAMA,SAAAA,cAAc,SAAS,IAAI;AA2B3E,SAAS,eACf,OACA;AAAA,EACC,MAAM,QAAQ,IAAK;AAAA,EACnB,OAAO;AAAA,EACP,gBAAgB;AAClB,IAAK,CAAE,GACL;AACD,YAAU,IAAI;AACd,QAAM,OAAO,GAAG;AAEhB,QAAM,eAAe,gBAAgB,GAAG,WAAW,GAAG;AAEtD,aAAW,SAAS,OAAO;AAC1B,QAAI;AACH,YAAM,OAAO,aAAa,KAAK,QAAQ,KAAK,KAAK,GAAG;AAAA,QACnD,gBAAgB;AAAA,MACpB,CAAI;AAED,UAAI,CAAC,MAAM;AACV;AAAA,MACA;AAED,UAAI,UAAU,MAAM,IAAI,GAAG;AAC1B,eAAO;AAAA,MACP;AAAA,IACD,QAAC;AAAA,IAAQ;AAAA,EACV;AACF;;","x_google_ignoreList":[0]}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import process from "node:process";
|
|
2
|
-
import path from "node:path";
|
|
3
|
-
import fs from "node:fs";
|
|
4
|
-
import { fileURLToPath } from "node:url";
|
|
5
|
-
const typeMappings = {
|
|
6
|
-
directory: "isDirectory",
|
|
7
|
-
file: "isFile"
|
|
8
|
-
};
|
|
9
|
-
function checkType(type) {
|
|
10
|
-
if (Object.hasOwnProperty.call(typeMappings, type)) {
|
|
11
|
-
return;
|
|
12
|
-
}
|
|
13
|
-
throw new Error(`Invalid type specified: ${type}`);
|
|
14
|
-
}
|
|
15
|
-
const matchType = (type, stat) => stat[typeMappings[type]]();
|
|
16
|
-
const toPath = (urlOrPath) => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;
|
|
17
|
-
function locatePathSync(paths, {
|
|
18
|
-
cwd = process.cwd(),
|
|
19
|
-
type = "file",
|
|
20
|
-
allowSymlinks = true
|
|
21
|
-
} = {}) {
|
|
22
|
-
checkType(type);
|
|
23
|
-
cwd = toPath(cwd);
|
|
24
|
-
const statFunction = allowSymlinks ? fs.statSync : fs.lstatSync;
|
|
25
|
-
for (const path_ of paths) {
|
|
26
|
-
try {
|
|
27
|
-
const stat = statFunction(path.resolve(cwd, path_), {
|
|
28
|
-
throwIfNoEntry: false
|
|
29
|
-
});
|
|
30
|
-
if (!stat) {
|
|
31
|
-
continue;
|
|
32
|
-
}
|
|
33
|
-
if (matchType(type, stat)) {
|
|
34
|
-
return path_;
|
|
35
|
-
}
|
|
36
|
-
} catch {
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
export {
|
|
41
|
-
locatePathSync
|
|
42
|
-
};
|
|
43
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../node_modules/read-pkg-up/node_modules/locate-path/index.js"],"sourcesContent":["import process from 'node:process';\nimport path from 'node:path';\nimport fs, {promises as fsPromises} from 'node:fs';\nimport {fileURLToPath} from 'node:url';\nimport pLocate from 'p-locate';\n\nconst typeMappings = {\n\tdirectory: 'isDirectory',\n\tfile: 'isFile',\n};\n\nfunction checkType(type) {\n\tif (Object.hasOwnProperty.call(typeMappings, type)) {\n\t\treturn;\n\t}\n\n\tthrow new Error(`Invalid type specified: ${type}`);\n}\n\nconst matchType = (type, stat) => stat[typeMappings[type]]();\n\nconst toPath = urlOrPath => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;\n\nexport async function locatePath(\n\tpaths,\n\t{\n\t\tcwd = process.cwd(),\n\t\ttype = 'file',\n\t\tallowSymlinks = true,\n\t\tconcurrency,\n\t\tpreserveOrder,\n\t} = {},\n) {\n\tcheckType(type);\n\tcwd = toPath(cwd);\n\n\tconst statFunction = allowSymlinks ? fsPromises.stat : fsPromises.lstat;\n\n\treturn pLocate(paths, async path_ => {\n\t\ttry {\n\t\t\tconst stat = await statFunction(path.resolve(cwd, path_));\n\t\t\treturn matchType(type, stat);\n\t\t} catch {\n\t\t\treturn false;\n\t\t}\n\t}, {concurrency, preserveOrder});\n}\n\nexport function locatePathSync(\n\tpaths,\n\t{\n\t\tcwd = process.cwd(),\n\t\ttype = 'file',\n\t\tallowSymlinks = true,\n\t} = {},\n) {\n\tcheckType(type);\n\tcwd = toPath(cwd);\n\n\tconst statFunction = allowSymlinks ? fs.statSync : fs.lstatSync;\n\n\tfor (const path_ of paths) {\n\t\ttry {\n\t\t\tconst stat = statFunction(path.resolve(cwd, path_), {\n\t\t\t\tthrowIfNoEntry: false,\n\t\t\t});\n\n\t\t\tif (!stat) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (matchType(type, stat)) {\n\t\t\t\treturn path_;\n\t\t\t}\n\t\t} catch {}\n\t}\n}\n"],"names":[],"mappings":";;;;AAMA,MAAM,eAAe;AAAA,EACpB,WAAW;AAAA,EACX,MAAM;AACP;AAEA,SAAS,UAAU,MAAM;AACxB,MAAI,OAAO,eAAe,KAAK,cAAc,IAAI,GAAG;AACnD;AAAA,EACA;AAED,QAAM,IAAI,MAAM,2BAA2B,IAAI,EAAE;AAClD;AAEA,MAAM,YAAY,CAAC,MAAM,SAAS,KAAK,aAAa,IAAI,CAAC;AAEzD,MAAM,SAAS,eAAa,qBAAqB,MAAM,cAAc,SAAS,IAAI;AA2B3E,SAAS,eACf,OACA;AAAA,EACC,MAAM,QAAQ,IAAK;AAAA,EACnB,OAAO;AAAA,EACP,gBAAgB;AAClB,IAAK,CAAE,GACL;AACD,YAAU,IAAI;AACd,QAAM,OAAO,GAAG;AAEhB,QAAM,eAAe,gBAAgB,GAAG,WAAW,GAAG;AAEtD,aAAW,SAAS,OAAO;AAC1B,QAAI;AACH,YAAM,OAAO,aAAa,KAAK,QAAQ,KAAK,KAAK,GAAG;AAAA,QACnD,gBAAgB;AAAA,MACpB,CAAI;AAED,UAAI,CAAC,MAAM;AACV;AAAA,MACA;AAED,UAAI,UAAU,MAAM,IAAI,GAAG;AAC1B,eAAO;AAAA,MACP;AAAA,IACD,QAAC;AAAA,IAAQ;AAAA,EACV;AACF;","x_google_ignoreList":[0]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const path = require("node:path");
|
|
4
|
-
const index = require('./_node_modules/find-up/index.cjs');
|
|
5
|
-
const index$1 = require("../read-pkg/index.cjs");
|
|
6
|
-
function readPackageUpSync(options) {
|
|
7
|
-
const filePath = index.findUpSync("package.json", options);
|
|
8
|
-
if (!filePath) {
|
|
9
|
-
return;
|
|
10
|
-
}
|
|
11
|
-
return {
|
|
12
|
-
packageJson: index$1.readPackageSync({ ...options, cwd: path.dirname(filePath) }),
|
|
13
|
-
path: filePath
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
exports.readPackageUpSync = readPackageUpSync;
|
|
17
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../node_modules/read-pkg-up/index.js"],"sourcesContent":["import path from 'node:path';\nimport {findUp, findUpSync} from 'find-up';\nimport {readPackage, readPackageSync} from 'read-pkg';\n\nexport async function readPackageUp(options) {\n\tconst filePath = await findUp('package.json', options);\n\tif (!filePath) {\n\t\treturn;\n\t}\n\n\treturn {\n\t\tpackageJson: await readPackage({...options, cwd: path.dirname(filePath)}),\n\t\tpath: filePath,\n\t};\n}\n\nexport function readPackageUpSync(options) {\n\tconst filePath = findUpSync('package.json', options);\n\tif (!filePath) {\n\t\treturn;\n\t}\n\n\treturn {\n\t\tpackageJson: readPackageSync({...options, cwd: path.dirname(filePath)}),\n\t\tpath: filePath,\n\t};\n}\n"],"names":["findUpSync","readPackageSync"],"mappings":";;;;;AAgBO,SAAS,kBAAkB,SAAS;AAC1C,QAAM,WAAWA,MAAAA,WAAW,gBAAgB,OAAO;AACnD,MAAI,CAAC,UAAU;AACd;AAAA,EACA;AAED,SAAO;AAAA,IACN,aAAaC,QAAAA,gBAAgB,EAAC,GAAG,SAAS,KAAK,KAAK,QAAQ,QAAQ,EAAC,CAAC;AAAA,IACtE,MAAM;AAAA,EACR;AACA;;","x_google_ignoreList":[0]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import path from "node:path";
|
|
2
|
-
import { findUpSync } from './_node_modules/find-up/index.js';
|
|
3
|
-
import { readPackageSync } from "../read-pkg/index.js";
|
|
4
|
-
function readPackageUpSync(options) {
|
|
5
|
-
const filePath = findUpSync("package.json", options);
|
|
6
|
-
if (!filePath) {
|
|
7
|
-
return;
|
|
8
|
-
}
|
|
9
|
-
return {
|
|
10
|
-
packageJson: readPackageSync({ ...options, cwd: path.dirname(filePath) }),
|
|
11
|
-
path: filePath
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
readPackageUpSync
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/read-pkg-up/index.js"],"sourcesContent":["import path from 'node:path';\nimport {findUp, findUpSync} from 'find-up';\nimport {readPackage, readPackageSync} from 'read-pkg';\n\nexport async function readPackageUp(options) {\n\tconst filePath = await findUp('package.json', options);\n\tif (!filePath) {\n\t\treturn;\n\t}\n\n\treturn {\n\t\tpackageJson: await readPackage({...options, cwd: path.dirname(filePath)}),\n\t\tpath: filePath,\n\t};\n}\n\nexport function readPackageUpSync(options) {\n\tconst filePath = findUpSync('package.json', options);\n\tif (!filePath) {\n\t\treturn;\n\t}\n\n\treturn {\n\t\tpackageJson: readPackageSync({...options, cwd: path.dirname(filePath)}),\n\t\tpath: filePath,\n\t};\n}\n"],"names":[],"mappings":";;;AAgBO,SAAS,kBAAkB,SAAS;AAC1C,QAAM,WAAW,WAAW,gBAAgB,OAAO;AACnD,MAAI,CAAC,UAAU;AACd;AAAA,EACA;AAED,SAAO;AAAA,IACN,aAAa,gBAAgB,EAAC,GAAG,SAAS,KAAK,KAAK,QAAQ,QAAQ,EAAC,CAAC;AAAA,IACtE,MAAM;AAAA,EACR;AACA;","x_google_ignoreList":[0]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const index$1 = require("../strip-indent/index.cjs");
|
|
3
|
-
const index = require("../indent-string/index.cjs");
|
|
4
|
-
function redent(string, count = 0, options = {}) {
|
|
5
|
-
return index(index$1(string), count, options);
|
|
6
|
-
}
|
|
7
|
-
module.exports = redent;
|
|
8
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../node_modules/redent/index.js"],"sourcesContent":["import stripIndent from 'strip-indent';\nimport indentString from 'indent-string';\n\nexport default function redent(string, count = 0, options = {}) {\n\treturn indentString(stripIndent(string), count, options);\n}\n"],"names":["indentString","stripIndent"],"mappings":";;;AAGe,SAAS,OAAO,QAAQ,QAAQ,GAAG,UAAU,CAAA,GAAI;AAC/D,SAAOA,MAAaC,QAAY,MAAM,GAAG,OAAO,OAAO;AACxD;;","x_google_ignoreList":[0]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import stripIndent from "../strip-indent/index.js";
|
|
2
|
-
import indentString from "../indent-string/index.js";
|
|
3
|
-
function redent(string, count = 0, options = {}) {
|
|
4
|
-
return indentString(stripIndent(string), count, options);
|
|
5
|
-
}
|
|
6
|
-
export {
|
|
7
|
-
redent as default
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/redent/index.js"],"sourcesContent":["import stripIndent from 'strip-indent';\nimport indentString from 'indent-string';\n\nexport default function redent(string, count = 0, options = {}) {\n\treturn indentString(stripIndent(string), count, options);\n}\n"],"names":[],"mappings":";;AAGe,SAAS,OAAO,QAAQ,QAAQ,GAAG,UAAU,CAAA,GAAI;AAC/D,SAAO,aAAa,YAAY,MAAM,GAAG,OAAO,OAAO;AACxD;","x_google_ignoreList":[0]}
|