prismic-ts-codegen 0.1.16 → 0.1.17
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/bin/prismic-ts-codegen.js +3 -0
- package/dist/_node_modules/@babel/code-frame/lib/index.cjs +144 -0
- package/dist/_node_modules/@babel/code-frame/lib/index.cjs.map +1 -0
- package/dist/_node_modules/@babel/code-frame/lib/index.js +143 -0
- package/dist/_node_modules/@babel/code-frame/lib/index.js.map +1 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.cjs +82 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.cjs.map +1 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.js +83 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs +62 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs.map +1 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js +61 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.cjs +35 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.cjs.map +1 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.js +36 -0
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
- package/dist/_node_modules/@babel/highlight/lib/index.cjs +100 -0
- package/dist/_node_modules/@babel/highlight/lib/index.cjs.map +1 -0
- package/dist/_node_modules/@babel/highlight/lib/index.js +99 -0
- package/dist/_node_modules/@babel/highlight/lib/index.js.map +1 -0
- package/dist/_node_modules/ansi-styles/index.cjs +146 -0
- package/dist/_node_modules/ansi-styles/index.cjs.map +1 -0
- package/dist/_node_modules/ansi-styles/index.js +146 -0
- package/dist/_node_modules/ansi-styles/index.js.map +1 -0
- package/dist/_node_modules/arrify/index.cjs +10 -0
- package/dist/_node_modules/arrify/index.cjs.map +1 -0
- package/dist/_node_modules/arrify/index.js +10 -0
- package/dist/_node_modules/arrify/index.js.map +1 -0
- package/dist/_node_modules/camelcase/index.cjs +83 -0
- package/dist/_node_modules/camelcase/index.cjs.map +1 -0
- package/dist/_node_modules/camelcase/index.js +84 -0
- package/dist/_node_modules/camelcase/index.js.map +1 -0
- package/dist/_node_modules/camelcase-keys/index.cjs +55 -0
- package/dist/_node_modules/camelcase-keys/index.cjs.map +1 -0
- package/dist/_node_modules/camelcase-keys/index.js +56 -0
- package/dist/_node_modules/camelcase-keys/index.js.map +1 -0
- package/dist/_node_modules/chalk/index.cjs +172 -0
- package/dist/_node_modules/chalk/index.cjs.map +1 -0
- package/dist/_node_modules/chalk/index.js +172 -0
- package/dist/_node_modules/chalk/index.js.map +1 -0
- package/dist/_node_modules/chalk/templates.cjs +108 -0
- package/dist/_node_modules/chalk/templates.cjs.map +1 -0
- package/dist/_node_modules/chalk/templates.js +108 -0
- package/dist/_node_modules/chalk/templates.js.map +1 -0
- package/dist/_node_modules/color-convert/conversions.cjs +710 -0
- package/dist/_node_modules/color-convert/conversions.cjs.map +1 -0
- package/dist/_node_modules/color-convert/conversions.js +710 -0
- package/dist/_node_modules/color-convert/conversions.js.map +1 -0
- package/dist/_node_modules/color-convert/index.cjs +59 -0
- package/dist/_node_modules/color-convert/index.cjs.map +1 -0
- package/dist/_node_modules/color-convert/index.js +59 -0
- package/dist/_node_modules/color-convert/index.js.map +1 -0
- package/dist/_node_modules/color-convert/route.cjs +69 -0
- package/dist/_node_modules/color-convert/route.cjs.map +1 -0
- package/dist/_node_modules/color-convert/route.js +69 -0
- package/dist/_node_modules/color-convert/route.js.map +1 -0
- package/dist/_node_modules/color-name/index.cjs +154 -0
- package/dist/_node_modules/color-name/index.cjs.map +1 -0
- package/dist/_node_modules/color-name/index.js +154 -0
- package/dist/_node_modules/color-name/index.js.map +1 -0
- package/dist/_node_modules/data-uri-to-buffer/dist/index.cjs +41 -0
- package/dist/_node_modules/data-uri-to-buffer/dist/index.cjs.map +1 -0
- package/dist/_node_modules/data-uri-to-buffer/dist/index.js +41 -0
- package/dist/_node_modules/data-uri-to-buffer/dist/index.js.map +1 -0
- package/dist/_node_modules/decamelize/index.cjs +38 -0
- package/dist/_node_modules/decamelize/index.cjs.map +1 -0
- package/dist/_node_modules/decamelize/index.js +39 -0
- package/dist/_node_modules/decamelize/index.js.map +1 -0
- package/dist/_node_modules/decamelize-keys/index.cjs +50 -0
- package/dist/_node_modules/decamelize-keys/index.cjs.map +1 -0
- package/dist/_node_modules/decamelize-keys/index.js +51 -0
- package/dist/_node_modules/decamelize-keys/index.js.map +1 -0
- package/dist/_node_modules/error-ex/index.cjs +109 -0
- package/dist/_node_modules/error-ex/index.cjs.map +1 -0
- package/dist/_node_modules/error-ex/index.js +109 -0
- package/dist/_node_modules/error-ex/index.js.map +1 -0
- package/dist/_node_modules/escape-string-regexp/index.cjs +11 -0
- package/dist/_node_modules/escape-string-regexp/index.cjs.map +1 -0
- package/dist/_node_modules/escape-string-regexp/index.js +11 -0
- package/dist/_node_modules/escape-string-regexp/index.js.map +1 -0
- package/dist/_node_modules/fetch-blob/file.cjs +61 -0
- package/dist/_node_modules/fetch-blob/file.cjs.map +1 -0
- package/dist/_node_modules/fetch-blob/file.js +61 -0
- package/dist/_node_modules/fetch-blob/file.js.map +1 -0
- package/dist/_node_modules/fetch-blob/index.cjs +223 -0
- package/dist/_node_modules/fetch-blob/index.cjs.map +1 -0
- package/dist/_node_modules/fetch-blob/index.js +223 -0
- package/dist/_node_modules/fetch-blob/index.js.map +1 -0
- package/dist/_node_modules/fetch-blob/streams.cjs +43 -0
- package/dist/_node_modules/fetch-blob/streams.cjs.map +1 -0
- package/dist/_node_modules/fetch-blob/streams.js +42 -0
- package/dist/_node_modules/fetch-blob/streams.js.map +1 -0
- package/dist/_node_modules/formdata-polyfill/esm.min.cjs +116 -0
- package/dist/_node_modules/formdata-polyfill/esm.min.cjs.map +1 -0
- package/dist/_node_modules/formdata-polyfill/esm.min.js +116 -0
- package/dist/_node_modules/formdata-polyfill/esm.min.js.map +1 -0
- package/dist/_node_modules/function-bind/implementation.cjs +47 -0
- package/dist/_node_modules/function-bind/implementation.cjs.map +1 -0
- package/dist/_node_modules/function-bind/implementation.js +47 -0
- package/dist/_node_modules/function-bind/implementation.js.map +1 -0
- package/dist/_node_modules/function-bind/index.cjs +7 -0
- package/dist/_node_modules/function-bind/index.cjs.map +1 -0
- package/dist/_node_modules/function-bind/index.js +7 -0
- package/dist/_node_modules/function-bind/index.js.map +1 -0
- package/dist/_node_modules/hard-rejection/index.cjs +25 -0
- package/dist/_node_modules/hard-rejection/index.cjs.map +1 -0
- package/dist/_node_modules/hard-rejection/index.js +26 -0
- package/dist/_node_modules/hard-rejection/index.js.map +1 -0
- package/dist/_node_modules/has/src/index.cjs +7 -0
- package/dist/_node_modules/has/src/index.cjs.map +1 -0
- package/dist/_node_modules/has/src/index.js +7 -0
- package/dist/_node_modules/has/src/index.js.map +1 -0
- package/dist/_node_modules/hosted-git-info/lib/from-url.cjs +93 -0
- package/dist/_node_modules/hosted-git-info/lib/from-url.cjs.map +1 -0
- package/dist/_node_modules/hosted-git-info/lib/from-url.js +93 -0
- package/dist/_node_modules/hosted-git-info/lib/from-url.js.map +1 -0
- package/dist/_node_modules/hosted-git-info/lib/hosts.cjs +164 -0
- package/dist/_node_modules/hosted-git-info/lib/hosts.cjs.map +1 -0
- package/dist/_node_modules/hosted-git-info/lib/hosts.js +164 -0
- package/dist/_node_modules/hosted-git-info/lib/hosts.js.map +1 -0
- package/dist/_node_modules/hosted-git-info/lib/index.cjs +168 -0
- package/dist/_node_modules/hosted-git-info/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hosted-git-info/lib/index.js +168 -0
- package/dist/_node_modules/hosted-git-info/lib/index.js.map +1 -0
- package/dist/_node_modules/hosted-git-info/lib/parse-url.cjs +51 -0
- package/dist/_node_modules/hosted-git-info/lib/parse-url.cjs.map +1 -0
- package/dist/_node_modules/hosted-git-info/lib/parse-url.js +51 -0
- package/dist/_node_modules/hosted-git-info/lib/parse-url.js.map +1 -0
- package/dist/_node_modules/indent-string/index.cjs +34 -0
- package/dist/_node_modules/indent-string/index.cjs.map +1 -0
- package/dist/_node_modules/indent-string/index.js +35 -0
- package/dist/_node_modules/indent-string/index.js.map +1 -0
- package/dist/_node_modules/is-arrayish/index.cjs +10 -0
- package/dist/_node_modules/is-arrayish/index.cjs.map +1 -0
- package/dist/_node_modules/is-arrayish/index.js +10 -0
- package/dist/_node_modules/is-arrayish/index.js.map +1 -0
- package/dist/_node_modules/is-core-module/core.json.cjs +496 -0
- package/dist/_node_modules/is-core-module/core.json.cjs.map +1 -0
- package/dist/_node_modules/is-core-module/core.json.js +496 -0
- package/dist/_node_modules/is-core-module/core.json.js.map +1 -0
- package/dist/_node_modules/is-core-module/index.cjs +62 -0
- package/dist/_node_modules/is-core-module/index.cjs.map +1 -0
- package/dist/_node_modules/is-core-module/index.js +62 -0
- package/dist/_node_modules/is-core-module/index.js.map +1 -0
- package/dist/_node_modules/is-plain-obj/index.cjs +9 -0
- package/dist/_node_modules/is-plain-obj/index.cjs.map +1 -0
- package/dist/_node_modules/is-plain-obj/index.js +9 -0
- package/dist/_node_modules/is-plain-obj/index.js.map +1 -0
- package/dist/_node_modules/js-tokens/index.cjs +27 -0
- package/dist/_node_modules/js-tokens/index.cjs.map +1 -0
- package/dist/_node_modules/js-tokens/index.js +26 -0
- package/dist/_node_modules/js-tokens/index.js.map +1 -0
- package/dist/_node_modules/json-parse-even-better-errors/index.cjs +90 -0
- package/dist/_node_modules/json-parse-even-better-errors/index.cjs.map +1 -0
- package/dist/_node_modules/json-parse-even-better-errors/index.js +90 -0
- package/dist/_node_modules/json-parse-even-better-errors/index.js.map +1 -0
- package/dist/_node_modules/kind-of/index.cjs +129 -0
- package/dist/_node_modules/kind-of/index.cjs.map +1 -0
- package/dist/_node_modules/kind-of/index.js +129 -0
- package/dist/_node_modules/kind-of/index.js.map +1 -0
- package/dist/_node_modules/lines-and-columns/build/index.cjs +67 -0
- package/dist/_node_modules/lines-and-columns/build/index.cjs.map +1 -0
- package/dist/_node_modules/lines-and-columns/build/index.js +66 -0
- package/dist/_node_modules/lines-and-columns/build/index.js.map +1 -0
- package/dist/_node_modules/lru-cache/index.cjs +1015 -0
- package/dist/_node_modules/lru-cache/index.cjs.map +1 -0
- package/dist/_node_modules/lru-cache/index.js +1015 -0
- package/dist/_node_modules/lru-cache/index.js.map +1 -0
- package/dist/_node_modules/map-obj/index.cjs +49 -0
- package/dist/_node_modules/map-obj/index.cjs.map +1 -0
- package/dist/_node_modules/map-obj/index.js +50 -0
- package/dist/_node_modules/map-obj/index.js.map +1 -0
- package/dist/_node_modules/meow/source/index.cjs +88 -0
- package/dist/_node_modules/meow/source/index.cjs.map +1 -0
- package/dist/_node_modules/meow/source/index.js +89 -0
- package/dist/_node_modules/meow/source/index.js.map +1 -0
- package/dist/_node_modules/meow/source/options.cjs +83 -0
- package/dist/_node_modules/meow/source/options.cjs.map +1 -0
- package/dist/_node_modules/meow/source/options.js +83 -0
- package/dist/_node_modules/meow/source/options.js.map +1 -0
- package/dist/_node_modules/meow/source/parser.cjs +61 -0
- package/dist/_node_modules/meow/source/parser.cjs.map +1 -0
- package/dist/_node_modules/meow/source/parser.js +61 -0
- package/dist/_node_modules/meow/source/parser.js.map +1 -0
- package/dist/_node_modules/meow/source/utils.cjs +8 -0
- package/dist/_node_modules/meow/source/utils.cjs.map +1 -0
- package/dist/_node_modules/meow/source/utils.js +8 -0
- package/dist/_node_modules/meow/source/utils.js.map +1 -0
- package/dist/_node_modules/meow/source/validate.cjs +102 -0
- package/dist/_node_modules/meow/source/validate.cjs.map +1 -0
- package/dist/_node_modules/meow/source/validate.js +102 -0
- package/dist/_node_modules/meow/source/validate.js.map +1 -0
- package/dist/_node_modules/min-indent/index.cjs +12 -0
- package/dist/_node_modules/min-indent/index.cjs.map +1 -0
- package/dist/_node_modules/min-indent/index.js +13 -0
- package/dist/_node_modules/min-indent/index.js.map +1 -0
- package/dist/_node_modules/minimist-options/index.cjs +94 -0
- package/dist/_node_modules/minimist-options/index.cjs.map +1 -0
- package/dist/_node_modules/minimist-options/index.js +95 -0
- package/dist/_node_modules/minimist-options/index.js.map +1 -0
- package/dist/_node_modules/node-domexception/index.cjs +11 -0
- package/dist/_node_modules/node-domexception/index.cjs.map +1 -0
- package/dist/_node_modules/node-domexception/index.js +10 -0
- package/dist/_node_modules/node-domexception/index.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/body.cjs +262 -0
- package/dist/_node_modules/node-fetch/src/body.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/body.js +262 -0
- package/dist/_node_modules/node-fetch/src/body.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/errors/abort-error.cjs +10 -0
- package/dist/_node_modules/node-fetch/src/errors/abort-error.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/errors/abort-error.js +10 -0
- package/dist/_node_modules/node-fetch/src/errors/abort-error.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/errors/base.cjs +17 -0
- package/dist/_node_modules/node-fetch/src/errors/base.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/errors/base.js +17 -0
- package/dist/_node_modules/node-fetch/src/errors/base.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/errors/fetch-error.cjs +19 -0
- package/dist/_node_modules/node-fetch/src/errors/fetch-error.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/errors/fetch-error.js +19 -0
- package/dist/_node_modules/node-fetch/src/errors/fetch-error.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/headers.cjs +190 -0
- package/dist/_node_modules/node-fetch/src/headers.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/headers.js +190 -0
- package/dist/_node_modules/node-fetch/src/headers.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/index.cjs +292 -0
- package/dist/_node_modules/node-fetch/src/index.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/index.js +292 -0
- package/dist/_node_modules/node-fetch/src/index.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/request.cjs +206 -0
- package/dist/_node_modules/node-fetch/src/request.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/request.js +206 -0
- package/dist/_node_modules/node-fetch/src/request.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/response.cjs +122 -0
- package/dist/_node_modules/node-fetch/src/response.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/response.js +123 -0
- package/dist/_node_modules/node-fetch/src/response.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/utils/get-search.cjs +12 -0
- package/dist/_node_modules/node-fetch/src/utils/get-search.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/utils/get-search.js +12 -0
- package/dist/_node_modules/node-fetch/src/utils/get-search.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/utils/is-redirect.cjs +8 -0
- package/dist/_node_modules/node-fetch/src/utils/is-redirect.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/utils/is-redirect.js +8 -0
- package/dist/_node_modules/node-fetch/src/utils/is-redirect.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/utils/is.cjs +28 -0
- package/dist/_node_modules/node-fetch/src/utils/is.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/utils/is.js +28 -0
- package/dist/_node_modules/node-fetch/src/utils/is.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/utils/multipart-parser.cjs +356 -0
- package/dist/_node_modules/node-fetch/src/utils/multipart-parser.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/utils/multipart-parser.js +356 -0
- package/dist/_node_modules/node-fetch/src/utils/multipart-parser.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/utils/referrer.cjs +149 -0
- package/dist/_node_modules/node-fetch/src/utils/referrer.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/utils/referrer.js +149 -0
- package/dist/_node_modules/node-fetch/src/utils/referrer.js.map +1 -0
- package/dist/_node_modules/normalize-package-data/lib/extract_description.cjs +24 -0
- package/dist/_node_modules/normalize-package-data/lib/extract_description.cjs.map +1 -0
- package/dist/_node_modules/normalize-package-data/lib/extract_description.js +24 -0
- package/dist/_node_modules/normalize-package-data/lib/extract_description.js.map +1 -0
- package/dist/_node_modules/normalize-package-data/lib/fixer.cjs +438 -0
- package/dist/_node_modules/normalize-package-data/lib/fixer.cjs.map +1 -0
- package/dist/_node_modules/normalize-package-data/lib/fixer.js +438 -0
- package/dist/_node_modules/normalize-package-data/lib/fixer.js.map +1 -0
- package/dist/_node_modules/normalize-package-data/lib/make_warning.cjs +26 -0
- package/dist/_node_modules/normalize-package-data/lib/make_warning.cjs.map +1 -0
- package/dist/_node_modules/normalize-package-data/lib/make_warning.js +26 -0
- package/dist/_node_modules/normalize-package-data/lib/make_warning.js.map +1 -0
- package/dist/_node_modules/normalize-package-data/lib/normalize.cjs +58 -0
- package/dist/_node_modules/normalize-package-data/lib/normalize.cjs.map +1 -0
- package/dist/_node_modules/normalize-package-data/lib/normalize.js +59 -0
- package/dist/_node_modules/normalize-package-data/lib/normalize.js.map +1 -0
- package/dist/_node_modules/normalize-package-data/lib/typos.json.cjs +41 -0
- package/dist/_node_modules/normalize-package-data/lib/typos.json.cjs.map +1 -0
- package/dist/_node_modules/normalize-package-data/lib/typos.json.js +41 -0
- package/dist/_node_modules/normalize-package-data/lib/typos.json.js.map +1 -0
- package/dist/_node_modules/normalize-package-data/lib/warning_messages.json.cjs +90 -0
- package/dist/_node_modules/normalize-package-data/lib/warning_messages.json.cjs.map +1 -0
- package/dist/_node_modules/normalize-package-data/lib/warning_messages.json.js +90 -0
- package/dist/_node_modules/normalize-package-data/lib/warning_messages.json.js.map +1 -0
- package/dist/_node_modules/parse-json/index.cjs +54 -0
- package/dist/_node_modules/parse-json/index.cjs.map +1 -0
- package/dist/_node_modules/parse-json/index.js +55 -0
- package/dist/_node_modules/parse-json/index.js.map +1 -0
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.cjs +159 -0
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.cjs.map +1 -0
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.js +159 -0
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.js.map +1 -0
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.cjs +88 -0
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.cjs.map +1 -0
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.js +88 -0
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.js.map +1 -0
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs +180 -0
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs.map +1 -0
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js +180 -0
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js.map +1 -0
- package/dist/_node_modules/read-pkg/_node_modules/lru-cache/index.cjs +268 -0
- package/dist/_node_modules/read-pkg/_node_modules/lru-cache/index.cjs.map +1 -0
- package/dist/_node_modules/read-pkg/_node_modules/lru-cache/index.js +268 -0
- package/dist/_node_modules/read-pkg/_node_modules/lru-cache/index.js.map +1 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.cjs +20 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.cjs.map +1 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.js +20 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.js.map +1 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.cjs +438 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.cjs.map +1 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.js +438 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.js.map +1 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.cjs +26 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.cjs.map +1 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.js +26 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.js.map +1 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.cjs +58 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.cjs.map +1 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.js +59 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.js.map +1 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.cjs +41 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.cjs.map +1 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.js +41 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.js.map +1 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.cjs +90 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.cjs.map +1 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.js +90 -0
- package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.js.map +1 -0
- package/dist/_node_modules/read-pkg/index.cjs +20 -0
- package/dist/_node_modules/read-pkg/index.cjs.map +1 -0
- package/dist/_node_modules/read-pkg/index.js +20 -0
- package/dist/_node_modules/read-pkg/index.js.map +1 -0
- package/dist/_node_modules/read-pkg-up/_node_modules/find-up/index.cjs +48 -0
- package/dist/_node_modules/read-pkg-up/_node_modules/find-up/index.cjs.map +1 -0
- package/dist/_node_modules/read-pkg-up/_node_modules/find-up/index.js +48 -0
- package/dist/_node_modules/read-pkg-up/_node_modules/find-up/index.js.map +1 -0
- package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.cjs +43 -0
- package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.cjs.map +1 -0
- package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.js +43 -0
- package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.js.map +1 -0
- package/dist/_node_modules/read-pkg-up/index.cjs +17 -0
- package/dist/_node_modules/read-pkg-up/index.cjs.map +1 -0
- package/dist/_node_modules/read-pkg-up/index.js +17 -0
- package/dist/_node_modules/read-pkg-up/index.js.map +1 -0
- package/dist/_node_modules/redent/index.cjs +8 -0
- package/dist/_node_modules/redent/index.cjs.map +1 -0
- package/dist/_node_modules/redent/index.js +9 -0
- package/dist/_node_modules/redent/index.js.map +1 -0
- package/dist/_node_modules/semver/classes/semver.cjs +245 -0
- package/dist/_node_modules/semver/classes/semver.cjs.map +1 -0
- package/dist/_node_modules/semver/classes/semver.js +245 -0
- package/dist/_node_modules/semver/classes/semver.js.map +1 -0
- package/dist/_node_modules/semver/functions/clean.cjs +11 -0
- package/dist/_node_modules/semver/functions/clean.cjs.map +1 -0
- package/dist/_node_modules/semver/functions/clean.js +11 -0
- package/dist/_node_modules/semver/functions/clean.js.map +1 -0
- package/dist/_node_modules/semver/functions/parse.cjs +20 -0
- package/dist/_node_modules/semver/functions/parse.cjs.map +1 -0
- package/dist/_node_modules/semver/functions/parse.js +20 -0
- package/dist/_node_modules/semver/functions/parse.js.map +1 -0
- package/dist/_node_modules/semver/functions/valid.cjs +11 -0
- package/dist/_node_modules/semver/functions/valid.cjs.map +1 -0
- package/dist/_node_modules/semver/functions/valid.js +11 -0
- package/dist/_node_modules/semver/functions/valid.js.map +1 -0
- package/dist/_node_modules/semver/internal/constants.cjs +29 -0
- package/dist/_node_modules/semver/internal/constants.cjs.map +1 -0
- package/dist/_node_modules/semver/internal/constants.js +29 -0
- package/dist/_node_modules/semver/internal/constants.js.map +1 -0
- package/dist/_node_modules/semver/internal/debug.cjs +7 -0
- package/dist/_node_modules/semver/internal/debug.cjs.map +1 -0
- package/dist/_node_modules/semver/internal/debug.js +7 -0
- package/dist/_node_modules/semver/internal/debug.js.map +1 -0
- package/dist/_node_modules/semver/internal/identifiers.cjs +19 -0
- package/dist/_node_modules/semver/internal/identifiers.cjs.map +1 -0
- package/dist/_node_modules/semver/internal/identifiers.js +19 -0
- package/dist/_node_modules/semver/internal/identifiers.js.map +1 -0
- package/dist/_node_modules/semver/internal/parse-options.cjs +16 -0
- package/dist/_node_modules/semver/internal/parse-options.cjs.map +1 -0
- package/dist/_node_modules/semver/internal/parse-options.js +16 -0
- package/dist/_node_modules/semver/internal/parse-options.js.map +1 -0
- package/dist/_node_modules/semver/internal/re.cjs +82 -0
- package/dist/_node_modules/semver/internal/re.cjs.map +1 -0
- package/dist/_node_modules/semver/internal/re.js +82 -0
- package/dist/_node_modules/semver/internal/re.js.map +1 -0
- package/dist/_node_modules/spdx-correct/index.cjs +334 -0
- package/dist/_node_modules/spdx-correct/index.cjs.map +1 -0
- package/dist/_node_modules/spdx-correct/index.js +334 -0
- package/dist/_node_modules/spdx-correct/index.js.map +1 -0
- package/dist/_node_modules/spdx-exceptions/index.json.cjs +43 -0
- package/dist/_node_modules/spdx-exceptions/index.json.cjs.map +1 -0
- package/dist/_node_modules/spdx-exceptions/index.json.js +44 -0
- package/dist/_node_modules/spdx-exceptions/index.json.js.map +1 -0
- package/dist/_node_modules/spdx-expression-parse/index.cjs +11 -0
- package/dist/_node_modules/spdx-expression-parse/index.cjs.map +1 -0
- package/dist/_node_modules/spdx-expression-parse/index.js +11 -0
- package/dist/_node_modules/spdx-expression-parse/index.js.map +1 -0
- package/dist/_node_modules/spdx-expression-parse/parse.cjs +111 -0
- package/dist/_node_modules/spdx-expression-parse/parse.cjs.map +1 -0
- package/dist/_node_modules/spdx-expression-parse/parse.js +111 -0
- package/dist/_node_modules/spdx-expression-parse/parse.js.map +1 -0
- package/dist/_node_modules/spdx-expression-parse/scan.cjs +104 -0
- package/dist/_node_modules/spdx-expression-parse/scan.cjs.map +1 -0
- package/dist/_node_modules/spdx-expression-parse/scan.js +104 -0
- package/dist/_node_modules/spdx-expression-parse/scan.js.map +1 -0
- package/dist/_node_modules/spdx-license-ids/deprecated.json.cjs +30 -0
- package/dist/_node_modules/spdx-license-ids/deprecated.json.cjs.map +1 -0
- package/dist/_node_modules/spdx-license-ids/deprecated.json.js +31 -0
- package/dist/_node_modules/spdx-license-ids/deprecated.json.js.map +1 -0
- package/dist/_node_modules/spdx-license-ids/index.json.cjs +510 -0
- package/dist/_node_modules/spdx-license-ids/index.json.cjs.map +1 -0
- package/dist/_node_modules/spdx-license-ids/index.json.js +511 -0
- package/dist/_node_modules/spdx-license-ids/index.json.js.map +1 -0
- package/dist/_node_modules/strip-indent/index.cjs +12 -0
- package/dist/_node_modules/strip-indent/index.cjs.map +1 -0
- package/dist/_node_modules/strip-indent/index.js +13 -0
- package/dist/_node_modules/strip-indent/index.js.map +1 -0
- package/dist/_node_modules/supports-color/browser.cjs +8 -0
- package/dist/_node_modules/supports-color/browser.cjs.map +1 -0
- package/dist/_node_modules/supports-color/browser.js +8 -0
- package/dist/_node_modules/supports-color/browser.js.map +1 -0
- package/dist/_node_modules/trim-newlines/index.cjs +15 -0
- package/dist/_node_modules/trim-newlines/index.cjs.map +1 -0
- package/dist/_node_modules/trim-newlines/index.js +15 -0
- package/dist/_node_modules/trim-newlines/index.js.map +1 -0
- package/dist/_node_modules/validate-npm-package-license/index.cjs +71 -0
- package/dist/_node_modules/validate-npm-package-license/index.cjs.map +1 -0
- package/dist/_node_modules/validate-npm-package-license/index.js +71 -0
- package/dist/_node_modules/validate-npm-package-license/index.js.map +1 -0
- package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.cjs +3822 -0
- package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.cjs.map +1 -0
- package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +3822 -0
- package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +1 -0
- package/dist/_node_modules/yallist/iterator.cjs +19 -0
- package/dist/_node_modules/yallist/iterator.cjs.map +1 -0
- package/dist/_node_modules/yallist/iterator.js +19 -0
- package/dist/_node_modules/yallist/iterator.js.map +1 -0
- package/dist/_node_modules/yallist/yallist.cjs +367 -0
- package/dist/_node_modules/yallist/yallist.cjs.map +1 -0
- package/dist/_node_modules/yallist/yallist.js +367 -0
- package/dist/_node_modules/yallist/yallist.js.map +1 -0
- package/dist/_node_modules/yargs-parser/build/lib/index.cjs +56 -0
- package/dist/_node_modules/yargs-parser/build/lib/index.cjs.map +1 -0
- package/dist/_node_modules/yargs-parser/build/lib/index.js +57 -0
- package/dist/_node_modules/yargs-parser/build/lib/index.js.map +1 -0
- package/dist/_node_modules/yargs-parser/build/lib/string-utils.cjs +63 -0
- package/dist/_node_modules/yargs-parser/build/lib/string-utils.cjs.map +1 -0
- package/dist/_node_modules/yargs-parser/build/lib/string-utils.js +63 -0
- package/dist/_node_modules/yargs-parser/build/lib/string-utils.js.map +1 -0
- package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.cjs +39 -0
- package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.cjs.map +1 -0
- package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.js +39 -0
- package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.js.map +1 -0
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.cjs +15 -0
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.cjs.map +1 -0
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.js +16 -0
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.js.map +1 -0
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.cjs +847 -0
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.cjs.map +1 -0
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.js +847 -0
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.js.map +1 -0
- package/dist/_virtual/_commonjsHelpers.cjs +9 -0
- package/dist/_virtual/_commonjsHelpers.cjs.map +1 -0
- package/dist/_virtual/_commonjsHelpers.js +9 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/_virtual/conversions.cjs +5 -0
- package/dist/_virtual/conversions.cjs.map +1 -0
- package/dist/_virtual/conversions.js +5 -0
- package/dist/_virtual/conversions.js.map +1 -0
- package/dist/_virtual/identifier.cjs +5 -0
- package/dist/_virtual/identifier.cjs.map +1 -0
- package/dist/_virtual/identifier.js +5 -0
- package/dist/_virtual/identifier.js.map +1 -0
- package/dist/_virtual/index.cjs +5 -0
- package/dist/_virtual/index.cjs.map +1 -0
- package/dist/_virtual/index.js +5 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/index10.cjs +5 -0
- package/dist/_virtual/index10.cjs.map +1 -0
- package/dist/_virtual/index10.js +5 -0
- package/dist/_virtual/index10.js.map +1 -0
- package/dist/_virtual/index11.cjs +5 -0
- package/dist/_virtual/index11.cjs.map +1 -0
- package/dist/_virtual/index11.js +5 -0
- package/dist/_virtual/index11.js.map +1 -0
- package/dist/_virtual/index2.cjs +5 -0
- package/dist/_virtual/index2.cjs.map +1 -0
- package/dist/_virtual/index2.js +5 -0
- package/dist/_virtual/index2.js.map +1 -0
- package/dist/_virtual/index3.cjs +5 -0
- package/dist/_virtual/index3.cjs.map +1 -0
- package/dist/_virtual/index3.js +5 -0
- package/dist/_virtual/index3.js.map +1 -0
- package/dist/_virtual/index4.cjs +5 -0
- package/dist/_virtual/index4.cjs.map +1 -0
- package/dist/_virtual/index4.js +5 -0
- package/dist/_virtual/index4.js.map +1 -0
- package/dist/_virtual/index5.cjs +5 -0
- package/dist/_virtual/index5.cjs.map +1 -0
- package/dist/_virtual/index5.js +5 -0
- package/dist/_virtual/index5.js.map +1 -0
- package/dist/_virtual/index6.cjs +5 -0
- package/dist/_virtual/index6.cjs.map +1 -0
- package/dist/_virtual/index6.js +5 -0
- package/dist/_virtual/index6.js.map +1 -0
- package/dist/_virtual/index7.cjs +5 -0
- package/dist/_virtual/index7.cjs.map +1 -0
- package/dist/_virtual/index7.js +5 -0
- package/dist/_virtual/index7.js.map +1 -0
- package/dist/_virtual/index8.cjs +5 -0
- package/dist/_virtual/index8.cjs.map +1 -0
- package/dist/_virtual/index8.js +5 -0
- package/dist/_virtual/index8.js.map +1 -0
- package/dist/_virtual/index9.cjs +5 -0
- package/dist/_virtual/index9.cjs.map +1 -0
- package/dist/_virtual/index9.js +5 -0
- package/dist/_virtual/index9.js.map +1 -0
- package/dist/_virtual/keyword.cjs +5 -0
- package/dist/_virtual/keyword.cjs.map +1 -0
- package/dist/_virtual/keyword.js +5 -0
- package/dist/_virtual/keyword.js.map +1 -0
- package/dist/_virtual/ponyfill.es2018.cjs +5 -0
- package/dist/_virtual/ponyfill.es2018.cjs.map +1 -0
- package/dist/_virtual/ponyfill.es2018.js +5 -0
- package/dist/_virtual/ponyfill.es2018.js.map +1 -0
- package/dist/_virtual/re.cjs +5 -0
- package/dist/_virtual/re.cjs.map +1 -0
- package/dist/_virtual/re.js +5 -0
- package/dist/_virtual/re.js.map +1 -0
- package/dist/cli/loadLocaleIDs.cjs +2 -2
- package/dist/cli/loadLocaleIDs.cjs.map +1 -1
- package/dist/cli/loadLocaleIDs.js +1 -1
- package/dist/cli/loadModels.cjs +2 -2
- package/dist/cli/loadModels.cjs.map +1 -1
- package/dist/cli/loadModels.js +1 -1
- package/dist/cli.cjs +2 -2
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +1 -1
- package/dist/lib/buildFieldProperties.cjs +2 -0
- package/dist/lib/buildFieldProperties.cjs.map +1 -1
- package/dist/lib/buildFieldProperties.js +2 -0
- package/dist/lib/buildFieldProperties.js.map +1 -1
- package/dist/lib/buildSharedSliceType.cjs +2 -0
- package/dist/lib/buildSharedSliceType.cjs.map +1 -1
- package/dist/lib/buildSharedSliceType.js +2 -0
- package/dist/lib/buildSharedSliceType.js.map +1 -1
- package/package.json +2 -2
- package/src/lib/buildFieldProperties.ts +2 -0
- package/src/lib/buildSharedSliceType.ts +2 -0
- package/bin/prismic-ts-codegen.mjs +0 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"implementation.cjs","sources":["../../../node_modules/function-bind/implementation.js"],"sourcesContent":["'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice = Array.prototype.slice;\nvar toStr = Object.prototype.toString;\nvar funcType = '[object Function]';\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.call(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slice.call(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n args.concat(slice.call(arguments))\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n } else {\n return target.apply(\n that,\n args.concat(slice.call(arguments))\n );\n }\n };\n\n var boundLength = Math.max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs.push('$' + i);\n }\n\n bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n"],"names":["Empty"],"mappings":";;AAIA,IAAI,gBAAgB;AACpB,IAAI,QAAQ,MAAM,UAAU;AAC5B,IAAI,QAAQ,OAAO,UAAU;AAC7B,IAAI,WAAW;AAEf,IAAA,iBAAiB,SAAS,KAAK,MAAM;AACjC,MAAI,SAAS;AACb,MAAI,OAAO,WAAW,cAAc,MAAM,KAAK,MAAM,MAAM,UAAU;AACjE,UAAM,IAAI,UAAU,gBAAgB,MAAM;AAAA,EAC7C;AACD,MAAI,OAAO,MAAM,KAAK,WAAW,CAAC;AAElC,MAAI;AACJ,MAAI,SAAS,WAAY;AACrB,QAAI,gBAAgB,OAAO;AACvB,UAAI,SAAS,OAAO;AAAA,QAChB;AAAA,QACA,KAAK,OAAO,MAAM,KAAK,SAAS,CAAC;AAAA,MACjD;AACY,UAAI,OAAO,MAAM,MAAM,QAAQ;AAC3B,eAAO;AAAA,MACV;AACD,aAAO;AAAA,IACnB,OAAe;AACH,aAAO,OAAO;AAAA,QACV;AAAA,QACA,KAAK,OAAO,MAAM,KAAK,SAAS,CAAC;AAAA,MACjD;AAAA,IACS;AAAA,EACT;AAEI,MAAI,cAAc,KAAK,IAAI,GAAG,OAAO,SAAS,KAAK,MAAM;AACzD,MAAI,YAAY,CAAA;AAChB,WAAS,IAAI,GAAG,IAAI,aAAa,KAAK;AAClC,cAAU,KAAK,MAAM,CAAC;AAAA,EACzB;AAED,UAAQ,SAAS,UAAU,sBAAsB,UAAU,KAAK,GAAG,IAAI,2CAA2C,EAAE,MAAM;AAE1H,MAAI,OAAO,WAAW;AAClB,QAAI,QAAQ,SAASA,SAAQ;AAAA;AAC7B,UAAM,YAAY,OAAO;AACzB,UAAM,YAAY,IAAI;AACtB,UAAM,YAAY;AAAA,EACrB;AAED,SAAO;AACX;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
2
|
+
var slice = Array.prototype.slice;
|
|
3
|
+
var toStr = Object.prototype.toString;
|
|
4
|
+
var funcType = "[object Function]";
|
|
5
|
+
var implementation = function bind(that) {
|
|
6
|
+
var target = this;
|
|
7
|
+
if (typeof target !== "function" || toStr.call(target) !== funcType) {
|
|
8
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
9
|
+
}
|
|
10
|
+
var args = slice.call(arguments, 1);
|
|
11
|
+
var bound;
|
|
12
|
+
var binder = function() {
|
|
13
|
+
if (this instanceof bound) {
|
|
14
|
+
var result = target.apply(
|
|
15
|
+
this,
|
|
16
|
+
args.concat(slice.call(arguments))
|
|
17
|
+
);
|
|
18
|
+
if (Object(result) === result) {
|
|
19
|
+
return result;
|
|
20
|
+
}
|
|
21
|
+
return this;
|
|
22
|
+
} else {
|
|
23
|
+
return target.apply(
|
|
24
|
+
that,
|
|
25
|
+
args.concat(slice.call(arguments))
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
var boundLength = Math.max(0, target.length - args.length);
|
|
30
|
+
var boundArgs = [];
|
|
31
|
+
for (var i = 0; i < boundLength; i++) {
|
|
32
|
+
boundArgs.push("$" + i);
|
|
33
|
+
}
|
|
34
|
+
bound = Function("binder", "return function (" + boundArgs.join(",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
35
|
+
if (target.prototype) {
|
|
36
|
+
var Empty = function Empty2() {
|
|
37
|
+
};
|
|
38
|
+
Empty.prototype = target.prototype;
|
|
39
|
+
bound.prototype = new Empty();
|
|
40
|
+
Empty.prototype = null;
|
|
41
|
+
}
|
|
42
|
+
return bound;
|
|
43
|
+
};
|
|
44
|
+
export {
|
|
45
|
+
implementation as i
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=implementation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"implementation.js","sources":["../../../node_modules/function-bind/implementation.js"],"sourcesContent":["'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice = Array.prototype.slice;\nvar toStr = Object.prototype.toString;\nvar funcType = '[object Function]';\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.call(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slice.call(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n args.concat(slice.call(arguments))\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n } else {\n return target.apply(\n that,\n args.concat(slice.call(arguments))\n );\n }\n };\n\n var boundLength = Math.max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs.push('$' + i);\n }\n\n bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n"],"names":["Empty"],"mappings":"AAIA,IAAI,gBAAgB;AACpB,IAAI,QAAQ,MAAM,UAAU;AAC5B,IAAI,QAAQ,OAAO,UAAU;AAC7B,IAAI,WAAW;AAEf,IAAA,iBAAiB,SAAS,KAAK,MAAM;AACjC,MAAI,SAAS;AACb,MAAI,OAAO,WAAW,cAAc,MAAM,KAAK,MAAM,MAAM,UAAU;AACjE,UAAM,IAAI,UAAU,gBAAgB,MAAM;AAAA,EAC7C;AACD,MAAI,OAAO,MAAM,KAAK,WAAW,CAAC;AAElC,MAAI;AACJ,MAAI,SAAS,WAAY;AACrB,QAAI,gBAAgB,OAAO;AACvB,UAAI,SAAS,OAAO;AAAA,QAChB;AAAA,QACA,KAAK,OAAO,MAAM,KAAK,SAAS,CAAC;AAAA,MACjD;AACY,UAAI,OAAO,MAAM,MAAM,QAAQ;AAC3B,eAAO;AAAA,MACV;AACD,aAAO;AAAA,IACnB,OAAe;AACH,aAAO,OAAO;AAAA,QACV;AAAA,QACA,KAAK,OAAO,MAAM,KAAK,SAAS,CAAC;AAAA,MACjD;AAAA,IACS;AAAA,EACT;AAEI,MAAI,cAAc,KAAK,IAAI,GAAG,OAAO,SAAS,KAAK,MAAM;AACzD,MAAI,YAAY,CAAA;AAChB,WAAS,IAAI,GAAG,IAAI,aAAa,KAAK;AAClC,cAAU,KAAK,MAAM,CAAC;AAAA,EACzB;AAED,UAAQ,SAAS,UAAU,sBAAsB,UAAU,KAAK,GAAG,IAAI,2CAA2C,EAAE,MAAM;AAE1H,MAAI,OAAO,WAAW;AAClB,QAAI,QAAQ,SAASA,SAAQ;AAAA;AAC7B,UAAM,YAAY,OAAO;AACzB,UAAM,YAAY,IAAI;AACtB,UAAM,YAAY;AAAA,EACrB;AAED,SAAO;AACX;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const implementation$1 = require("./implementation.cjs");
|
|
4
|
+
var implementation = implementation$1.implementation;
|
|
5
|
+
var functionBind = Function.prototype.bind || implementation;
|
|
6
|
+
exports.functionBind = functionBind;
|
|
7
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../node_modules/function-bind/index.js"],"sourcesContent":["'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n"],"names":["require$$0"],"mappings":";;;AAEA,IAAI,iBAAiBA,iBAAAA;AAErB,IAAA,eAAiB,SAAS,UAAU,QAAQ;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/function-bind/index.js"],"sourcesContent":["'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n"],"names":["require$$0"],"mappings":";AAEA,IAAI,iBAAiBA;AAErB,IAAA,eAAiB,SAAS,UAAU,QAAQ;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const _commonjsHelpers = require("../../_virtual/_commonjsHelpers.cjs");
|
|
3
|
+
const index = require("../../_virtual/index.cjs");
|
|
4
|
+
const require$$0 = require("util");
|
|
5
|
+
const util = require$$0;
|
|
6
|
+
let installed = false;
|
|
7
|
+
const hardRejection = (log = console.error) => {
|
|
8
|
+
if (installed) {
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
installed = true;
|
|
12
|
+
process.on("unhandledRejection", (error) => {
|
|
13
|
+
if (!(error instanceof Error)) {
|
|
14
|
+
error = new Error(`Promise rejected with value: ${util.inspect(error)}`);
|
|
15
|
+
}
|
|
16
|
+
log(error.stack);
|
|
17
|
+
process.exit(1);
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
index.__module.exports = hardRejection;
|
|
21
|
+
index.__module.exports.default = hardRejection;
|
|
22
|
+
var hardRejectionExports = index.__module.exports;
|
|
23
|
+
const hardRejection$1 = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(hardRejectionExports);
|
|
24
|
+
module.exports = hardRejection$1;
|
|
25
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../node_modules/hard-rejection/index.js"],"sourcesContent":["'use strict';\nconst util = require('util');\n\nlet installed = false;\n\nconst hardRejection = (log = console.error) => {\n\tif (installed) {\n\t\treturn;\n\t}\n\n\tinstalled = true;\n\n\tprocess.on('unhandledRejection', error => {\n\t\tif (!(error instanceof Error)) {\n\t\t\terror = new Error(`Promise rejected with value: ${util.inspect(error)}`);\n\t\t}\n\n\t\tlog(error.stack);\n\t\tprocess.exit(1);\n\t});\n};\n\nmodule.exports = hardRejection;\n// TODO: Remove this for the next major release\nmodule.exports.default = hardRejection;\n"],"names":["hardRejectionModule"],"mappings":";;;;AACA,MAAM,OAAO;AAEb,IAAI,YAAY;AAEhB,MAAM,gBAAgB,CAAC,MAAM,QAAQ,UAAU;AAC9C,MAAI,WAAW;AACd;AAAA,EACA;AAED,cAAY;AAEZ,UAAQ,GAAG,sBAAsB,WAAS;AACzC,QAAI,EAAE,iBAAiB,QAAQ;AAC9B,cAAQ,IAAI,MAAM,gCAAgC,KAAK,QAAQ,KAAK,GAAG;AAAA,IACvE;AAED,QAAI,MAAM,KAAK;AACf,YAAQ,KAAK,CAAC;AAAA,EAChB,CAAE;AACF;AAEAA,MAAAA,SAAc,UAAG;AAEjBA,MAAAA,SAAA,QAAA,UAAyB;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { getDefaultExportFromCjs } from "../../_virtual/_commonjsHelpers.js";
|
|
2
|
+
import { __module as hardRejection$2 } from "../../_virtual/index.js";
|
|
3
|
+
import require$$0 from "util";
|
|
4
|
+
const util = require$$0;
|
|
5
|
+
let installed = false;
|
|
6
|
+
const hardRejection = (log = console.error) => {
|
|
7
|
+
if (installed) {
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
installed = true;
|
|
11
|
+
process.on("unhandledRejection", (error) => {
|
|
12
|
+
if (!(error instanceof Error)) {
|
|
13
|
+
error = new Error(`Promise rejected with value: ${util.inspect(error)}`);
|
|
14
|
+
}
|
|
15
|
+
log(error.stack);
|
|
16
|
+
process.exit(1);
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
hardRejection$2.exports = hardRejection;
|
|
20
|
+
hardRejection$2.exports.default = hardRejection;
|
|
21
|
+
var hardRejectionExports = hardRejection$2.exports;
|
|
22
|
+
const hardRejection$1 = /* @__PURE__ */ getDefaultExportFromCjs(hardRejectionExports);
|
|
23
|
+
export {
|
|
24
|
+
hardRejection$1 as default
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/hard-rejection/index.js"],"sourcesContent":["'use strict';\nconst util = require('util');\n\nlet installed = false;\n\nconst hardRejection = (log = console.error) => {\n\tif (installed) {\n\t\treturn;\n\t}\n\n\tinstalled = true;\n\n\tprocess.on('unhandledRejection', error => {\n\t\tif (!(error instanceof Error)) {\n\t\t\terror = new Error(`Promise rejected with value: ${util.inspect(error)}`);\n\t\t}\n\n\t\tlog(error.stack);\n\t\tprocess.exit(1);\n\t});\n};\n\nmodule.exports = hardRejection;\n// TODO: Remove this for the next major release\nmodule.exports.default = hardRejection;\n"],"names":["hardRejectionModule"],"mappings":";;;AACA,MAAM,OAAO;AAEb,IAAI,YAAY;AAEhB,MAAM,gBAAgB,CAAC,MAAM,QAAQ,UAAU;AAC9C,MAAI,WAAW;AACd;AAAA,EACA;AAED,cAAY;AAEZ,UAAQ,GAAG,sBAAsB,WAAS;AACzC,QAAI,EAAE,iBAAiB,QAAQ;AAC9B,cAAQ,IAAI,MAAM,gCAAgC,KAAK,QAAQ,KAAK,GAAG;AAAA,IACvE;AAED,QAAI,MAAM,KAAK;AACf,YAAQ,KAAK,CAAC;AAAA,EAChB,CAAE;AACF;AAEAA,gBAAc,UAAG;AAEjBA,gBAAA,QAAA,UAAyB;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const index = require("../../function-bind/index.cjs");
|
|
4
|
+
var bind = index.functionBind;
|
|
5
|
+
var src = bind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
6
|
+
exports.src = src;
|
|
7
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../node_modules/has/src/index.js"],"sourcesContent":["'use strict';\n\nvar bind = require('function-bind');\n\nmodule.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);\n"],"names":["require$$0"],"mappings":";;;AAEA,IAAI,OAAOA,MAAAA;AAEX,IAAA,MAAiB,KAAK,KAAK,SAAS,MAAM,OAAO,UAAU,cAAc;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../node_modules/has/src/index.js"],"sourcesContent":["'use strict';\n\nvar bind = require('function-bind');\n\nmodule.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);\n"],"names":["require$$0"],"mappings":";AAEA,IAAI,OAAOA;AAEX,IAAA,MAAiB,KAAK,KAAK,SAAS,MAAM,OAAO,UAAU,cAAc;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const parseUrl$1 = require("./parse-url.cjs");
|
|
4
|
+
const parseUrl = parseUrl$1.parseUrl;
|
|
5
|
+
const isGitHubShorthand = (arg) => {
|
|
6
|
+
const firstHash = arg.indexOf("#");
|
|
7
|
+
const firstSlash = arg.indexOf("/");
|
|
8
|
+
const secondSlash = arg.indexOf("/", firstSlash + 1);
|
|
9
|
+
const firstColon = arg.indexOf(":");
|
|
10
|
+
const firstSpace = /\s/.exec(arg);
|
|
11
|
+
const firstAt = arg.indexOf("@");
|
|
12
|
+
const spaceOnlyAfterHash = !firstSpace || firstHash > -1 && firstSpace.index > firstHash;
|
|
13
|
+
const atOnlyAfterHash = firstAt === -1 || firstHash > -1 && firstAt > firstHash;
|
|
14
|
+
const colonOnlyAfterHash = firstColon === -1 || firstHash > -1 && firstColon > firstHash;
|
|
15
|
+
const secondSlashOnlyAfterHash = secondSlash === -1 || firstHash > -1 && secondSlash > firstHash;
|
|
16
|
+
const hasSlash = firstSlash > 0;
|
|
17
|
+
const doesNotEndWithSlash = firstHash > -1 ? arg[firstHash - 1] !== "/" : !arg.endsWith("/");
|
|
18
|
+
const doesNotStartWithDot = !arg.startsWith(".");
|
|
19
|
+
return spaceOnlyAfterHash && hasSlash && doesNotEndWithSlash && doesNotStartWithDot && atOnlyAfterHash && colonOnlyAfterHash && secondSlashOnlyAfterHash;
|
|
20
|
+
};
|
|
21
|
+
var fromUrl = (giturl, opts, { gitHosts, protocols }) => {
|
|
22
|
+
var _a, _b;
|
|
23
|
+
if (!giturl) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
const correctedUrl = isGitHubShorthand(giturl) ? `github:${giturl}` : giturl;
|
|
27
|
+
const parsed = parseUrl(correctedUrl, protocols);
|
|
28
|
+
if (!parsed) {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
const gitHostShortcut = gitHosts.byShortcut[parsed.protocol];
|
|
32
|
+
const gitHostDomain = gitHosts.byDomain[parsed.hostname.startsWith("www.") ? parsed.hostname.slice(4) : parsed.hostname];
|
|
33
|
+
const gitHostName = gitHostShortcut || gitHostDomain;
|
|
34
|
+
if (!gitHostName) {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
const gitHostInfo = gitHosts[gitHostShortcut || gitHostDomain];
|
|
38
|
+
let auth = null;
|
|
39
|
+
if (((_a = protocols[parsed.protocol]) == null ? void 0 : _a.auth) && (parsed.username || parsed.password)) {
|
|
40
|
+
auth = `${parsed.username}${parsed.password ? ":" + parsed.password : ""}`;
|
|
41
|
+
}
|
|
42
|
+
let committish = null;
|
|
43
|
+
let user = null;
|
|
44
|
+
let project = null;
|
|
45
|
+
let defaultRepresentation = null;
|
|
46
|
+
try {
|
|
47
|
+
if (gitHostShortcut) {
|
|
48
|
+
let pathname = parsed.pathname.startsWith("/") ? parsed.pathname.slice(1) : parsed.pathname;
|
|
49
|
+
const firstAt = pathname.indexOf("@");
|
|
50
|
+
if (firstAt > -1) {
|
|
51
|
+
pathname = pathname.slice(firstAt + 1);
|
|
52
|
+
}
|
|
53
|
+
const lastSlash = pathname.lastIndexOf("/");
|
|
54
|
+
if (lastSlash > -1) {
|
|
55
|
+
user = decodeURIComponent(pathname.slice(0, lastSlash));
|
|
56
|
+
if (!user) {
|
|
57
|
+
user = null;
|
|
58
|
+
}
|
|
59
|
+
project = decodeURIComponent(pathname.slice(lastSlash + 1));
|
|
60
|
+
} else {
|
|
61
|
+
project = decodeURIComponent(pathname);
|
|
62
|
+
}
|
|
63
|
+
if (project.endsWith(".git")) {
|
|
64
|
+
project = project.slice(0, -4);
|
|
65
|
+
}
|
|
66
|
+
if (parsed.hash) {
|
|
67
|
+
committish = decodeURIComponent(parsed.hash.slice(1));
|
|
68
|
+
}
|
|
69
|
+
defaultRepresentation = "shortcut";
|
|
70
|
+
} else {
|
|
71
|
+
if (!gitHostInfo.protocols.includes(parsed.protocol)) {
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
const segments = gitHostInfo.extract(parsed);
|
|
75
|
+
if (!segments) {
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
user = segments.user && decodeURIComponent(segments.user);
|
|
79
|
+
project = decodeURIComponent(segments.project);
|
|
80
|
+
committish = decodeURIComponent(segments.committish);
|
|
81
|
+
defaultRepresentation = ((_b = protocols[parsed.protocol]) == null ? void 0 : _b.name) || parsed.protocol.slice(0, -1);
|
|
82
|
+
}
|
|
83
|
+
} catch (err) {
|
|
84
|
+
if (err instanceof URIError) {
|
|
85
|
+
return;
|
|
86
|
+
} else {
|
|
87
|
+
throw err;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
return [gitHostName, user, auth, project, committish, defaultRepresentation, opts];
|
|
91
|
+
};
|
|
92
|
+
exports.fromUrl = fromUrl;
|
|
93
|
+
//# sourceMappingURL=from-url.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"from-url.cjs","sources":["../../../../node_modules/hosted-git-info/lib/from-url.js"],"sourcesContent":["'use strict'\n\nconst parseUrl = require('./parse-url')\n\n// look for github shorthand inputs, such as npm/cli\nconst isGitHubShorthand = (arg) => {\n // it cannot contain whitespace before the first #\n // it cannot start with a / because that's probably an absolute file path\n // but it must include a slash since repos are username/repository\n // it cannot start with a . because that's probably a relative file path\n // it cannot start with an @ because that's a scoped package if it passes the other tests\n // it cannot contain a : before a # because that tells us that there's a protocol\n // a second / may not exist before a #\n const firstHash = arg.indexOf('#')\n const firstSlash = arg.indexOf('/')\n const secondSlash = arg.indexOf('/', firstSlash + 1)\n const firstColon = arg.indexOf(':')\n const firstSpace = /\\s/.exec(arg)\n const firstAt = arg.indexOf('@')\n\n const spaceOnlyAfterHash = !firstSpace || (firstHash > -1 && firstSpace.index > firstHash)\n const atOnlyAfterHash = firstAt === -1 || (firstHash > -1 && firstAt > firstHash)\n const colonOnlyAfterHash = firstColon === -1 || (firstHash > -1 && firstColon > firstHash)\n const secondSlashOnlyAfterHash = secondSlash === -1 || (firstHash > -1 && secondSlash > firstHash)\n const hasSlash = firstSlash > 0\n // if a # is found, what we really want to know is that the character\n // immediately before # is not a /\n const doesNotEndWithSlash = firstHash > -1 ? arg[firstHash - 1] !== '/' : !arg.endsWith('/')\n const doesNotStartWithDot = !arg.startsWith('.')\n\n return spaceOnlyAfterHash && hasSlash && doesNotEndWithSlash &&\n doesNotStartWithDot && atOnlyAfterHash && colonOnlyAfterHash &&\n secondSlashOnlyAfterHash\n}\n\nmodule.exports = (giturl, opts, { gitHosts, protocols }) => {\n if (!giturl) {\n return\n }\n\n const correctedUrl = isGitHubShorthand(giturl) ? `github:${giturl}` : giturl\n const parsed = parseUrl(correctedUrl, protocols)\n if (!parsed) {\n return\n }\n\n const gitHostShortcut = gitHosts.byShortcut[parsed.protocol]\n const gitHostDomain = gitHosts.byDomain[parsed.hostname.startsWith('www.')\n ? parsed.hostname.slice(4)\n : parsed.hostname]\n const gitHostName = gitHostShortcut || gitHostDomain\n if (!gitHostName) {\n return\n }\n\n const gitHostInfo = gitHosts[gitHostShortcut || gitHostDomain]\n let auth = null\n if (protocols[parsed.protocol]?.auth && (parsed.username || parsed.password)) {\n auth = `${parsed.username}${parsed.password ? ':' + parsed.password : ''}`\n }\n\n let committish = null\n let user = null\n let project = null\n let defaultRepresentation = null\n\n try {\n if (gitHostShortcut) {\n let pathname = parsed.pathname.startsWith('/') ? parsed.pathname.slice(1) : parsed.pathname\n const firstAt = pathname.indexOf('@')\n // we ignore auth for shortcuts, so just trim it out\n if (firstAt > -1) {\n pathname = pathname.slice(firstAt + 1)\n }\n\n const lastSlash = pathname.lastIndexOf('/')\n if (lastSlash > -1) {\n user = decodeURIComponent(pathname.slice(0, lastSlash))\n // we want nulls only, never empty strings\n if (!user) {\n user = null\n }\n project = decodeURIComponent(pathname.slice(lastSlash + 1))\n } else {\n project = decodeURIComponent(pathname)\n }\n\n if (project.endsWith('.git')) {\n project = project.slice(0, -4)\n }\n\n if (parsed.hash) {\n committish = decodeURIComponent(parsed.hash.slice(1))\n }\n\n defaultRepresentation = 'shortcut'\n } else {\n if (!gitHostInfo.protocols.includes(parsed.protocol)) {\n return\n }\n\n const segments = gitHostInfo.extract(parsed)\n if (!segments) {\n return\n }\n\n user = segments.user && decodeURIComponent(segments.user)\n project = decodeURIComponent(segments.project)\n committish = decodeURIComponent(segments.committish)\n defaultRepresentation = protocols[parsed.protocol]?.name || parsed.protocol.slice(0, -1)\n }\n } catch (err) {\n /* istanbul ignore else */\n if (err instanceof URIError) {\n return\n } else {\n throw err\n }\n }\n\n return [gitHostName, user, auth, project, committish, defaultRepresentation, opts]\n}\n"],"names":["require$$0"],"mappings":";;;AAEA,MAAM,WAAWA,WAAsB;AAGvC,MAAM,oBAAoB,CAAC,QAAQ;AAQjC,QAAM,YAAY,IAAI,QAAQ,GAAG;AACjC,QAAM,aAAa,IAAI,QAAQ,GAAG;AAClC,QAAM,cAAc,IAAI,QAAQ,KAAK,aAAa,CAAC;AACnD,QAAM,aAAa,IAAI,QAAQ,GAAG;AAClC,QAAM,aAAa,KAAK,KAAK,GAAG;AAChC,QAAM,UAAU,IAAI,QAAQ,GAAG;AAE/B,QAAM,qBAAqB,CAAC,cAAe,YAAY,MAAM,WAAW,QAAQ;AAChF,QAAM,kBAAkB,YAAY,MAAO,YAAY,MAAM,UAAU;AACvE,QAAM,qBAAqB,eAAe,MAAO,YAAY,MAAM,aAAa;AAChF,QAAM,2BAA2B,gBAAgB,MAAO,YAAY,MAAM,cAAc;AACxF,QAAM,WAAW,aAAa;AA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AS,MAAM,GAAG,SAAS,CAAC;AAEtD,YAAI,CAAC,MAAM;AACT,iBAAO;AAAA,QACR;AACD,kBAAU,mBAAmB,SAAS,MAAM,YAAY,CAAC,CAAC;AAAA,MAClE,OAAa;AACL,kBAAU,mBAAmB,QAAQ;AAAA,MACtC;AAED,UAAI,QAAQ,SAAS,MAAM,GAAG;AAC5B,kBAAU,QAAQ,MAAM,GAAG,EAAE;AAAA,MAC9B;AAED,UAAI,OAAO,MAAM;AACf,qBAAa,mBAAmB,OAAO,KAAK,MAAM,CAAC,CAAC;AAAA,MACrD;AAED,8BAAwB;AAAA,IAC9B,OAAW;AACL,UAAI,CAAC,YAAY,UAAU,SAAS,OAAO,QAAQ,GAAG;AACpD;AAAA,MACD;AAED,YAAM,WAAW,YAAY,QAAQ,MAAM;AAC3C,UAAI,CAAC,UAAU;AACb;AAAA,MACD;AAED,aAAO,SAAS,QAAQ,mBAAmB,SAAS,IAAI;AACxD,gBAAU,mBAAmB,SAAS,OAAO;AAC7C,mBAAa,mBAAmB,SAAS,UAAU;AACnD,gCAAwB,eAAU,OAAO,QAAQ,MAAzB,mBAA4B,SAAQ,OAAO,SAAS,MAAM,GAAG,EAAE;AAAA,IACxF;AAAA,EACF,SAAQ,KAAP;AAEA,QAAI,eAAe,UAAU;AAC3B;AAAA,IACN,OAAW;AACL,YAAM;AAAA,IACP;AAAA,EACF;AAED,SAAO,CAAC,aAAa,MAAM,MAAM,SAAS,YAAY,uBAAuB,IAAI;AACnF;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { p as parseUrl$1 } from "./parse-url.js";
|
|
2
|
+
const parseUrl = parseUrl$1;
|
|
3
|
+
const isGitHubShorthand = (arg) => {
|
|
4
|
+
const firstHash = arg.indexOf("#");
|
|
5
|
+
const firstSlash = arg.indexOf("/");
|
|
6
|
+
const secondSlash = arg.indexOf("/", firstSlash + 1);
|
|
7
|
+
const firstColon = arg.indexOf(":");
|
|
8
|
+
const firstSpace = /\s/.exec(arg);
|
|
9
|
+
const firstAt = arg.indexOf("@");
|
|
10
|
+
const spaceOnlyAfterHash = !firstSpace || firstHash > -1 && firstSpace.index > firstHash;
|
|
11
|
+
const atOnlyAfterHash = firstAt === -1 || firstHash > -1 && firstAt > firstHash;
|
|
12
|
+
const colonOnlyAfterHash = firstColon === -1 || firstHash > -1 && firstColon > firstHash;
|
|
13
|
+
const secondSlashOnlyAfterHash = secondSlash === -1 || firstHash > -1 && secondSlash > firstHash;
|
|
14
|
+
const hasSlash = firstSlash > 0;
|
|
15
|
+
const doesNotEndWithSlash = firstHash > -1 ? arg[firstHash - 1] !== "/" : !arg.endsWith("/");
|
|
16
|
+
const doesNotStartWithDot = !arg.startsWith(".");
|
|
17
|
+
return spaceOnlyAfterHash && hasSlash && doesNotEndWithSlash && doesNotStartWithDot && atOnlyAfterHash && colonOnlyAfterHash && secondSlashOnlyAfterHash;
|
|
18
|
+
};
|
|
19
|
+
var fromUrl = (giturl, opts, { gitHosts, protocols }) => {
|
|
20
|
+
var _a, _b;
|
|
21
|
+
if (!giturl) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
const correctedUrl = isGitHubShorthand(giturl) ? `github:${giturl}` : giturl;
|
|
25
|
+
const parsed = parseUrl(correctedUrl, protocols);
|
|
26
|
+
if (!parsed) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
const gitHostShortcut = gitHosts.byShortcut[parsed.protocol];
|
|
30
|
+
const gitHostDomain = gitHosts.byDomain[parsed.hostname.startsWith("www.") ? parsed.hostname.slice(4) : parsed.hostname];
|
|
31
|
+
const gitHostName = gitHostShortcut || gitHostDomain;
|
|
32
|
+
if (!gitHostName) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
const gitHostInfo = gitHosts[gitHostShortcut || gitHostDomain];
|
|
36
|
+
let auth = null;
|
|
37
|
+
if (((_a = protocols[parsed.protocol]) == null ? void 0 : _a.auth) && (parsed.username || parsed.password)) {
|
|
38
|
+
auth = `${parsed.username}${parsed.password ? ":" + parsed.password : ""}`;
|
|
39
|
+
}
|
|
40
|
+
let committish = null;
|
|
41
|
+
let user = null;
|
|
42
|
+
let project = null;
|
|
43
|
+
let defaultRepresentation = null;
|
|
44
|
+
try {
|
|
45
|
+
if (gitHostShortcut) {
|
|
46
|
+
let pathname = parsed.pathname.startsWith("/") ? parsed.pathname.slice(1) : parsed.pathname;
|
|
47
|
+
const firstAt = pathname.indexOf("@");
|
|
48
|
+
if (firstAt > -1) {
|
|
49
|
+
pathname = pathname.slice(firstAt + 1);
|
|
50
|
+
}
|
|
51
|
+
const lastSlash = pathname.lastIndexOf("/");
|
|
52
|
+
if (lastSlash > -1) {
|
|
53
|
+
user = decodeURIComponent(pathname.slice(0, lastSlash));
|
|
54
|
+
if (!user) {
|
|
55
|
+
user = null;
|
|
56
|
+
}
|
|
57
|
+
project = decodeURIComponent(pathname.slice(lastSlash + 1));
|
|
58
|
+
} else {
|
|
59
|
+
project = decodeURIComponent(pathname);
|
|
60
|
+
}
|
|
61
|
+
if (project.endsWith(".git")) {
|
|
62
|
+
project = project.slice(0, -4);
|
|
63
|
+
}
|
|
64
|
+
if (parsed.hash) {
|
|
65
|
+
committish = decodeURIComponent(parsed.hash.slice(1));
|
|
66
|
+
}
|
|
67
|
+
defaultRepresentation = "shortcut";
|
|
68
|
+
} else {
|
|
69
|
+
if (!gitHostInfo.protocols.includes(parsed.protocol)) {
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
const segments = gitHostInfo.extract(parsed);
|
|
73
|
+
if (!segments) {
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
user = segments.user && decodeURIComponent(segments.user);
|
|
77
|
+
project = decodeURIComponent(segments.project);
|
|
78
|
+
committish = decodeURIComponent(segments.committish);
|
|
79
|
+
defaultRepresentation = ((_b = protocols[parsed.protocol]) == null ? void 0 : _b.name) || parsed.protocol.slice(0, -1);
|
|
80
|
+
}
|
|
81
|
+
} catch (err) {
|
|
82
|
+
if (err instanceof URIError) {
|
|
83
|
+
return;
|
|
84
|
+
} else {
|
|
85
|
+
throw err;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return [gitHostName, user, auth, project, committish, defaultRepresentation, opts];
|
|
89
|
+
};
|
|
90
|
+
export {
|
|
91
|
+
fromUrl as f
|
|
92
|
+
};
|
|
93
|
+
//# sourceMappingURL=from-url.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"from-url.js","sources":["../../../../node_modules/hosted-git-info/lib/from-url.js"],"sourcesContent":["'use strict'\n\nconst parseUrl = require('./parse-url')\n\n// look for github shorthand inputs, such as npm/cli\nconst isGitHubShorthand = (arg) => {\n // it cannot contain whitespace before the first #\n // it cannot start with a / because that's probably an absolute file path\n // but it must include a slash since repos are username/repository\n // it cannot start with a . because that's probably a relative file path\n // it cannot start with an @ because that's a scoped package if it passes the other tests\n // it cannot contain a : before a # because that tells us that there's a protocol\n // a second / may not exist before a #\n const firstHash = arg.indexOf('#')\n const firstSlash = arg.indexOf('/')\n const secondSlash = arg.indexOf('/', firstSlash + 1)\n const firstColon = arg.indexOf(':')\n const firstSpace = /\\s/.exec(arg)\n const firstAt = arg.indexOf('@')\n\n const spaceOnlyAfterHash = !firstSpace || (firstHash > -1 && firstSpace.index > firstHash)\n const atOnlyAfterHash = firstAt === -1 || (firstHash > -1 && firstAt > firstHash)\n const colonOnlyAfterHash = firstColon === -1 || (firstHash > -1 && firstColon > firstHash)\n const secondSlashOnlyAfterHash = secondSlash === -1 || (firstHash > -1 && secondSlash > firstHash)\n const hasSlash = firstSlash > 0\n // if a # is found, what we really want to know is that the character\n // immediately before # is not a /\n const doesNotEndWithSlash = firstHash > -1 ? arg[firstHash - 1] !== '/' : !arg.endsWith('/')\n const doesNotStartWithDot = !arg.startsWith('.')\n\n return spaceOnlyAfterHash && hasSlash && doesNotEndWithSlash &&\n doesNotStartWithDot && atOnlyAfterHash && colonOnlyAfterHash &&\n secondSlashOnlyAfterHash\n}\n\nmodule.exports = (giturl, opts, { gitHosts, protocols }) => {\n if (!giturl) {\n return\n }\n\n const correctedUrl = isGitHubShorthand(giturl) ? `github:${giturl}` : giturl\n const parsed = parseUrl(correctedUrl, protocols)\n if (!parsed) {\n return\n }\n\n const gitHostShortcut = gitHosts.byShortcut[parsed.protocol]\n const gitHostDomain = gitHosts.byDomain[parsed.hostname.startsWith('www.')\n ? parsed.hostname.slice(4)\n : parsed.hostname]\n const gitHostName = gitHostShortcut || gitHostDomain\n if (!gitHostName) {\n return\n }\n\n const gitHostInfo = gitHosts[gitHostShortcut || gitHostDomain]\n let auth = null\n if (protocols[parsed.protocol]?.auth && (parsed.username || parsed.password)) {\n auth = `${parsed.username}${parsed.password ? ':' + parsed.password : ''}`\n }\n\n let committish = null\n let user = null\n let project = null\n let defaultRepresentation = null\n\n try {\n if (gitHostShortcut) {\n let pathname = parsed.pathname.startsWith('/') ? parsed.pathname.slice(1) : parsed.pathname\n const firstAt = pathname.indexOf('@')\n // we ignore auth for shortcuts, so just trim it out\n if (firstAt > -1) {\n pathname = pathname.slice(firstAt + 1)\n }\n\n const lastSlash = pathname.lastIndexOf('/')\n if (lastSlash > -1) {\n user = decodeURIComponent(pathname.slice(0, lastSlash))\n // we want nulls only, never empty strings\n if (!user) {\n user = null\n }\n project = decodeURIComponent(pathname.slice(lastSlash + 1))\n } else {\n project = decodeURIComponent(pathname)\n }\n\n if (project.endsWith('.git')) {\n project = project.slice(0, -4)\n }\n\n if (parsed.hash) {\n committish = decodeURIComponent(parsed.hash.slice(1))\n }\n\n defaultRepresentation = 'shortcut'\n } else {\n if (!gitHostInfo.protocols.includes(parsed.protocol)) {\n return\n }\n\n const segments = gitHostInfo.extract(parsed)\n if (!segments) {\n return\n }\n\n user = segments.user && decodeURIComponent(segments.user)\n project = decodeURIComponent(segments.project)\n committish = decodeURIComponent(segments.committish)\n defaultRepresentation = protocols[parsed.protocol]?.name || parsed.protocol.slice(0, -1)\n }\n } catch (err) {\n /* istanbul ignore else */\n if (err instanceof URIError) {\n return\n } else {\n throw err\n }\n }\n\n return [gitHostName, user, auth, project, committish, defaultRepresentation, opts]\n}\n"],"names":["require$$0"],"mappings":";AAEA,MAAM,WAAWA;AAGjB,MAAM,oBAAoB,CAAC,QAAQ;AAQjC,QAAM,YAAY,IAAI,QAAQ,GAAG;AACjC,QAAM,aAAa,IAAI,QAAQ,GAAG;AAClC,QAAM,cAAc,IAAI,QAAQ,KAAK,aAAa,CAAC;AACnD,QAAM,aAAa,IAAI,QAAQ,GAAG;AAClC,QAAM,aAAa,KAAK,KAAK,GAAG;AAChC,QAAM,UAAU,IAAI,QAAQ,GAAG;AAE/B,QAAM,qBAAqB,CAAC,cAAe,YAAY,MAAM,WAAW,QAAQ;AAChF,QAAM,kBAAkB,YAAY,MAAO,YAAY,MAAM,UAAU;AACvE,QAAM,qBAAqB,eAAe,MAAO,YAAY,MAAM,aAAa;AAChF,QAAM,2BAA2B,gBAAgB,MAAO,YAAY,MAAM,cAAc;AACxF,QAAM,WAAW,aAAa;AAG9B,QAAM,sBAAsB,YAAY,KAAK,IAAI,YAAY,CAAC,MAAM,MAAM,CAAC,IAAI,SAAS,GAAG;AAC3F,QAAM,sBAAsB,CAAC,IAAI,WAAW,GAAG;AAE/C,SAAO,sBAAsB,YAAY,uBACvC,uBAAuB,mBAAmB,sBAC1C;AACJ;IAEA,UAAiB,CAAC,QAAQ,MAAM,EAAE,UAAU,UAAS,MAAO;;AAC1D,MAAI,CAAC,QAAQ;AACX;AAAA,EACD;AAED,QAAM,eAAe,kBAAkB,MAAM,IAAI,UAAU,WAAW;AACtE,QAAM,SAAS,SAAS,cAAc,SAAS;AAC/C,MAAI,CAAC,QAAQ;AACX;AAAA,EACD;AAED,QAAM,kBAAkB,SAAS,WAAW,OAAO,QAAQ;AAC3D,QAAM,gBAAgB,SAAS,SAAS,OAAO,SAAS,WAAW,MAAM,IACrE,OAAO,SAAS,MAAM,CAAC,IACvB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,mBAAmB,SAAS,IAAI;AACxD,gBAAU,mBAAmB,SAAS,OAAO;AAC7C,mBAAa,mBAAmB,SAAS,UAAU;AACnD,gCAAwB,eAAU,OAAO,QAAQ,MAAzB,mBAA4B,SAAQ,OAAO,SAAS,MAAM,GAAG,EAAE;AAAA,IACxF;AAAA,EACF,SAAQ,KAAP;AAEA,QAAI,eAAe,UAAU;AAC3B;AAAA,IACN,OAAW;AACL,YAAM;AAAA,IACP;AAAA,EACF;AAED,SAAO,CAAC,aAAa,MAAM,MAAM,SAAS,YAAY,uBAAuB,IAAI;AACnF;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const maybeJoin = (...args) => args.every((arg) => arg) ? args.join("") : "";
|
|
4
|
+
const maybeEncode = (arg) => arg ? encodeURIComponent(arg) : "";
|
|
5
|
+
const formatHashFragment = (f) => f.toLowerCase().replace(/^\W+|\/|\W+$/g, "").replace(/\W+/g, "-");
|
|
6
|
+
const defaults = {
|
|
7
|
+
sshtemplate: ({ domain, user, project, committish }) => `git@${domain}:${user}/${project}.git${maybeJoin("#", committish)}`,
|
|
8
|
+
sshurltemplate: ({ domain, user, project, committish }) => `git+ssh://git@${domain}/${user}/${project}.git${maybeJoin("#", committish)}`,
|
|
9
|
+
edittemplate: ({ domain, user, project, committish, editpath, path }) => `https://${domain}/${user}/${project}${maybeJoin("/", editpath, "/", maybeEncode(committish || "HEAD"), "/", path)}`,
|
|
10
|
+
browsetemplate: ({ domain, user, project, committish, treepath }) => `https://${domain}/${user}/${project}${maybeJoin("/", treepath, "/", maybeEncode(committish))}`,
|
|
11
|
+
browsetreetemplate: ({ domain, user, project, committish, treepath, path, fragment, hashformat }) => `https://${domain}/${user}/${project}/${treepath}/${maybeEncode(committish || "HEAD")}/${path}${maybeJoin("#", hashformat(fragment || ""))}`,
|
|
12
|
+
browseblobtemplate: ({ domain, user, project, committish, blobpath, path, fragment, hashformat }) => `https://${domain}/${user}/${project}/${blobpath}/${maybeEncode(committish || "HEAD")}/${path}${maybeJoin("#", hashformat(fragment || ""))}`,
|
|
13
|
+
docstemplate: ({ domain, user, project, treepath, committish }) => `https://${domain}/${user}/${project}${maybeJoin("/", treepath, "/", maybeEncode(committish))}#readme`,
|
|
14
|
+
httpstemplate: ({ auth, domain, user, project, committish }) => `git+https://${maybeJoin(auth, "@")}${domain}/${user}/${project}.git${maybeJoin("#", committish)}`,
|
|
15
|
+
filetemplate: ({ domain, user, project, committish, path }) => `https://${domain}/${user}/${project}/raw/${maybeEncode(committish || "HEAD")}/${path}`,
|
|
16
|
+
shortcuttemplate: ({ type, user, project, committish }) => `${type}:${user}/${project}${maybeJoin("#", committish)}`,
|
|
17
|
+
pathtemplate: ({ user, project, committish }) => `${user}/${project}${maybeJoin("#", committish)}`,
|
|
18
|
+
bugstemplate: ({ domain, user, project }) => `https://${domain}/${user}/${project}/issues`,
|
|
19
|
+
hashformat: formatHashFragment
|
|
20
|
+
};
|
|
21
|
+
const hosts = {};
|
|
22
|
+
hosts.github = {
|
|
23
|
+
// First two are insecure and generally shouldn't be used any more, but
|
|
24
|
+
// they are still supported.
|
|
25
|
+
protocols: ["git:", "http:", "git+ssh:", "git+https:", "ssh:", "https:"],
|
|
26
|
+
domain: "github.com",
|
|
27
|
+
treepath: "tree",
|
|
28
|
+
blobpath: "blob",
|
|
29
|
+
editpath: "edit",
|
|
30
|
+
filetemplate: ({ auth, user, project, committish, path }) => `https://${maybeJoin(auth, "@")}raw.githubusercontent.com/${user}/${project}/${maybeEncode(committish || "HEAD")}/${path}`,
|
|
31
|
+
gittemplate: ({ auth, domain, user, project, committish }) => `git://${maybeJoin(auth, "@")}${domain}/${user}/${project}.git${maybeJoin("#", committish)}`,
|
|
32
|
+
tarballtemplate: ({ domain, user, project, committish }) => `https://codeload.${domain}/${user}/${project}/tar.gz/${maybeEncode(committish || "HEAD")}`,
|
|
33
|
+
extract: (url) => {
|
|
34
|
+
let [, user, project, type, committish] = url.pathname.split("/", 5);
|
|
35
|
+
if (type && type !== "tree") {
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
if (!type) {
|
|
39
|
+
committish = url.hash.slice(1);
|
|
40
|
+
}
|
|
41
|
+
if (project && project.endsWith(".git")) {
|
|
42
|
+
project = project.slice(0, -4);
|
|
43
|
+
}
|
|
44
|
+
if (!user || !project) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
return { user, project, committish };
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
hosts.bitbucket = {
|
|
51
|
+
protocols: ["git+ssh:", "git+https:", "ssh:", "https:"],
|
|
52
|
+
domain: "bitbucket.org",
|
|
53
|
+
treepath: "src",
|
|
54
|
+
blobpath: "src",
|
|
55
|
+
editpath: "?mode=edit",
|
|
56
|
+
edittemplate: ({ domain, user, project, committish, treepath, path, editpath }) => `https://${domain}/${user}/${project}${maybeJoin("/", treepath, "/", maybeEncode(committish || "HEAD"), "/", path, editpath)}`,
|
|
57
|
+
tarballtemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}/get/${maybeEncode(committish || "HEAD")}.tar.gz`,
|
|
58
|
+
extract: (url) => {
|
|
59
|
+
let [, user, project, aux] = url.pathname.split("/", 4);
|
|
60
|
+
if (["get"].includes(aux)) {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
if (project && project.endsWith(".git")) {
|
|
64
|
+
project = project.slice(0, -4);
|
|
65
|
+
}
|
|
66
|
+
if (!user || !project) {
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
return { user, project, committish: url.hash.slice(1) };
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
hosts.gitlab = {
|
|
73
|
+
protocols: ["git+ssh:", "git+https:", "ssh:", "https:"],
|
|
74
|
+
domain: "gitlab.com",
|
|
75
|
+
treepath: "tree",
|
|
76
|
+
blobpath: "tree",
|
|
77
|
+
editpath: "-/edit",
|
|
78
|
+
httpstemplate: ({ auth, domain, user, project, committish }) => `git+https://${maybeJoin(auth, "@")}${domain}/${user}/${project}.git${maybeJoin("#", committish)}`,
|
|
79
|
+
tarballtemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}/repository/archive.tar.gz?ref=${maybeEncode(committish || "HEAD")}`,
|
|
80
|
+
extract: (url) => {
|
|
81
|
+
const path = url.pathname.slice(1);
|
|
82
|
+
if (path.includes("/-/") || path.includes("/archive.tar.gz")) {
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
const segments = path.split("/");
|
|
86
|
+
let project = segments.pop();
|
|
87
|
+
if (project.endsWith(".git")) {
|
|
88
|
+
project = project.slice(0, -4);
|
|
89
|
+
}
|
|
90
|
+
const user = segments.join("/");
|
|
91
|
+
if (!user || !project) {
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
return { user, project, committish: url.hash.slice(1) };
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
hosts.gist = {
|
|
98
|
+
protocols: ["git:", "git+ssh:", "git+https:", "ssh:", "https:"],
|
|
99
|
+
domain: "gist.github.com",
|
|
100
|
+
editpath: "edit",
|
|
101
|
+
sshtemplate: ({ domain, project, committish }) => `git@${domain}:${project}.git${maybeJoin("#", committish)}`,
|
|
102
|
+
sshurltemplate: ({ domain, project, committish }) => `git+ssh://git@${domain}/${project}.git${maybeJoin("#", committish)}`,
|
|
103
|
+
edittemplate: ({ domain, user, project, committish, editpath }) => `https://${domain}/${user}/${project}${maybeJoin("/", maybeEncode(committish))}/${editpath}`,
|
|
104
|
+
browsetemplate: ({ domain, project, committish }) => `https://${domain}/${project}${maybeJoin("/", maybeEncode(committish))}`,
|
|
105
|
+
browsetreetemplate: ({ domain, project, committish, path, hashformat }) => `https://${domain}/${project}${maybeJoin("/", maybeEncode(committish))}${maybeJoin("#", hashformat(path))}`,
|
|
106
|
+
browseblobtemplate: ({ domain, project, committish, path, hashformat }) => `https://${domain}/${project}${maybeJoin("/", maybeEncode(committish))}${maybeJoin("#", hashformat(path))}`,
|
|
107
|
+
docstemplate: ({ domain, project, committish }) => `https://${domain}/${project}${maybeJoin("/", maybeEncode(committish))}`,
|
|
108
|
+
httpstemplate: ({ domain, project, committish }) => `git+https://${domain}/${project}.git${maybeJoin("#", committish)}`,
|
|
109
|
+
filetemplate: ({ user, project, committish, path }) => `https://gist.githubusercontent.com/${user}/${project}/raw${maybeJoin("/", maybeEncode(committish))}/${path}`,
|
|
110
|
+
shortcuttemplate: ({ type, project, committish }) => `${type}:${project}${maybeJoin("#", committish)}`,
|
|
111
|
+
pathtemplate: ({ project, committish }) => `${project}${maybeJoin("#", committish)}`,
|
|
112
|
+
bugstemplate: ({ domain, project }) => `https://${domain}/${project}`,
|
|
113
|
+
gittemplate: ({ domain, project, committish }) => `git://${domain}/${project}.git${maybeJoin("#", committish)}`,
|
|
114
|
+
tarballtemplate: ({ project, committish }) => `https://codeload.github.com/gist/${project}/tar.gz/${maybeEncode(committish || "HEAD")}`,
|
|
115
|
+
extract: (url) => {
|
|
116
|
+
let [, user, project, aux] = url.pathname.split("/", 4);
|
|
117
|
+
if (aux === "raw") {
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
if (!project) {
|
|
121
|
+
if (!user) {
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
project = user;
|
|
125
|
+
user = null;
|
|
126
|
+
}
|
|
127
|
+
if (project.endsWith(".git")) {
|
|
128
|
+
project = project.slice(0, -4);
|
|
129
|
+
}
|
|
130
|
+
return { user, project, committish: url.hash.slice(1) };
|
|
131
|
+
},
|
|
132
|
+
hashformat: function(fragment) {
|
|
133
|
+
return fragment && "file-" + formatHashFragment(fragment);
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
hosts.sourcehut = {
|
|
137
|
+
protocols: ["git+ssh:", "https:"],
|
|
138
|
+
domain: "git.sr.ht",
|
|
139
|
+
treepath: "tree",
|
|
140
|
+
blobpath: "tree",
|
|
141
|
+
filetemplate: ({ domain, user, project, committish, path }) => `https://${domain}/${user}/${project}/blob/${maybeEncode(committish) || "HEAD"}/${path}`,
|
|
142
|
+
httpstemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}.git${maybeJoin("#", committish)}`,
|
|
143
|
+
tarballtemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}/archive/${maybeEncode(committish) || "HEAD"}.tar.gz`,
|
|
144
|
+
bugstemplate: ({ user, project }) => `https://todo.sr.ht/${user}/${project}`,
|
|
145
|
+
extract: (url) => {
|
|
146
|
+
let [, user, project, aux] = url.pathname.split("/", 4);
|
|
147
|
+
if (["archive"].includes(aux)) {
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
150
|
+
if (project && project.endsWith(".git")) {
|
|
151
|
+
project = project.slice(0, -4);
|
|
152
|
+
}
|
|
153
|
+
if (!user || !project) {
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
return { user, project, committish: url.hash.slice(1) };
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
for (const [name, host] of Object.entries(hosts)) {
|
|
160
|
+
hosts[name] = Object.assign({}, defaults, host);
|
|
161
|
+
}
|
|
162
|
+
var hosts_1 = hosts;
|
|
163
|
+
exports.hosts_1 = hosts_1;
|
|
164
|
+
//# sourceMappingURL=hosts.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hosts.cjs","sources":["../../../../node_modules/hosted-git-info/lib/hosts.js"],"sourcesContent":["/* eslint-disable max-len */\n\n'use strict'\n\nconst maybeJoin = (...args) => args.every(arg => arg) ? args.join('') : ''\nconst maybeEncode = (arg) => arg ? encodeURIComponent(arg) : ''\nconst formatHashFragment = (f) => f.toLowerCase().replace(/^\\W+|\\/|\\W+$/g, '').replace(/\\W+/g, '-')\n\nconst defaults = {\n sshtemplate: ({ domain, user, project, committish }) =>\n `git@${domain}:${user}/${project}.git${maybeJoin('#', committish)}`,\n sshurltemplate: ({ domain, user, project, committish }) =>\n `git+ssh://git@${domain}/${user}/${project}.git${maybeJoin('#', committish)}`,\n edittemplate: ({ domain, user, project, committish, editpath, path }) =>\n `https://${domain}/${user}/${project}${maybeJoin('/', editpath, '/', maybeEncode(committish || 'HEAD'), '/', path)}`,\n browsetemplate: ({ domain, user, project, committish, treepath }) =>\n `https://${domain}/${user}/${project}${maybeJoin('/', treepath, '/', maybeEncode(committish))}`,\n browsetreetemplate: ({ domain, user, project, committish, treepath, path, fragment, hashformat }) =>\n `https://${domain}/${user}/${project}/${treepath}/${maybeEncode(committish || 'HEAD')}/${path}${maybeJoin('#', hashformat(fragment || ''))}`,\n browseblobtemplate: ({ domain, user, project, committish, blobpath, path, fragment, hashformat }) =>\n `https://${domain}/${user}/${project}/${blobpath}/${maybeEncode(committish || 'HEAD')}/${path}${maybeJoin('#', hashformat(fragment || ''))}`,\n docstemplate: ({ domain, user, project, treepath, committish }) =>\n `https://${domain}/${user}/${project}${maybeJoin('/', treepath, '/', maybeEncode(committish))}#readme`,\n httpstemplate: ({ auth, domain, user, project, committish }) =>\n `git+https://${maybeJoin(auth, '@')}${domain}/${user}/${project}.git${maybeJoin('#', committish)}`,\n filetemplate: ({ domain, user, project, committish, path }) =>\n `https://${domain}/${user}/${project}/raw/${maybeEncode(committish || 'HEAD')}/${path}`,\n shortcuttemplate: ({ type, user, project, committish }) =>\n `${type}:${user}/${project}${maybeJoin('#', committish)}`,\n pathtemplate: ({ user, project, committish }) =>\n `${user}/${project}${maybeJoin('#', committish)}`,\n bugstemplate: ({ domain, user, project }) =>\n `https://${domain}/${user}/${project}/issues`,\n hashformat: formatHashFragment,\n}\n\nconst hosts = {}\nhosts.github = {\n // First two are insecure and generally shouldn't be used any more, but\n // they are still supported.\n protocols: ['git:', 'http:', 'git+ssh:', 'git+https:', 'ssh:', 'https:'],\n domain: 'github.com',\n treepath: 'tree',\n blobpath: 'blob',\n editpath: 'edit',\n filetemplate: ({ auth, user, project, committish, path }) =>\n `https://${maybeJoin(auth, '@')}raw.githubusercontent.com/${user}/${project}/${maybeEncode(committish || 'HEAD')}/${path}`,\n gittemplate: ({ auth, domain, user, project, committish }) =>\n `git://${maybeJoin(auth, '@')}${domain}/${user}/${project}.git${maybeJoin('#', committish)}`,\n tarballtemplate: ({ domain, user, project, committish }) =>\n `https://codeload.${domain}/${user}/${project}/tar.gz/${maybeEncode(committish || 'HEAD')}`,\n extract: (url) => {\n let [, user, project, type, committish] = url.pathname.split('/', 5)\n if (type && type !== 'tree') {\n return\n }\n\n if (!type) {\n committish = url.hash.slice(1)\n }\n\n if (project && project.endsWith('.git')) {\n project = project.slice(0, -4)\n }\n\n if (!user || !project) {\n return\n }\n\n return { user, project, committish }\n },\n}\n\nhosts.bitbucket = {\n protocols: ['git+ssh:', 'git+https:', 'ssh:', 'https:'],\n domain: 'bitbucket.org',\n treepath: 'src',\n blobpath: 'src',\n editpath: '?mode=edit',\n edittemplate: ({ domain, user, project, committish, treepath, path, editpath }) =>\n `https://${domain}/${user}/${project}${maybeJoin('/', treepath, '/', maybeEncode(committish || 'HEAD'), '/', path, editpath)}`,\n tarballtemplate: ({ domain, user, project, committish }) =>\n `https://${domain}/${user}/${project}/get/${maybeEncode(committish || 'HEAD')}.tar.gz`,\n extract: (url) => {\n let [, user, project, aux] = url.pathname.split('/', 4)\n if (['get'].includes(aux)) {\n return\n }\n\n if (project && project.endsWith('.git')) {\n project = project.slice(0, -4)\n }\n\n if (!user || !project) {\n return\n }\n\n return { user, project, committish: url.hash.slice(1) }\n },\n}\n\nhosts.gitlab = {\n protocols: ['git+ssh:', 'git+https:', 'ssh:', 'https:'],\n domain: 'gitlab.com',\n treepath: 'tree',\n blobpath: 'tree',\n editpath: '-/edit',\n httpstemplate: ({ auth, domain, user, project, committish }) =>\n `git+https://${maybeJoin(auth, '@')}${domain}/${user}/${project}.git${maybeJoin('#', committish)}`,\n tarballtemplate: ({ domain, user, project, committish }) =>\n `https://${domain}/${user}/${project}/repository/archive.tar.gz?ref=${maybeEncode(committish || 'HEAD')}`,\n extract: (url) => {\n const path = url.pathname.slice(1)\n if (path.includes('/-/') || path.includes('/archive.tar.gz')) {\n return\n }\n\n const segments = path.split('/')\n let project = segments.pop()\n if (project.endsWith('.git')) {\n project = project.slice(0, -4)\n }\n\n const user = segments.join('/')\n if (!user || !project) {\n return\n }\n\n return { user, project, committish: url.hash.slice(1) }\n },\n}\n\nhosts.gist = {\n protocols: ['git:', 'git+ssh:', 'git+https:', 'ssh:', 'https:'],\n domain: 'gist.github.com',\n editpath: 'edit',\n sshtemplate: ({ domain, project, committish }) =>\n `git@${domain}:${project}.git${maybeJoin('#', committish)}`,\n sshurltemplate: ({ domain, project, committish }) =>\n `git+ssh://git@${domain}/${project}.git${maybeJoin('#', committish)}`,\n edittemplate: ({ domain, user, project, committish, editpath }) =>\n `https://${domain}/${user}/${project}${maybeJoin('/', maybeEncode(committish))}/${editpath}`,\n browsetemplate: ({ domain, project, committish }) =>\n `https://${domain}/${project}${maybeJoin('/', maybeEncode(committish))}`,\n browsetreetemplate: ({ domain, project, committish, path, hashformat }) =>\n `https://${domain}/${project}${maybeJoin('/', maybeEncode(committish))}${maybeJoin('#', hashformat(path))}`,\n browseblobtemplate: ({ domain, project, committish, path, hashformat }) =>\n `https://${domain}/${project}${maybeJoin('/', maybeEncode(committish))}${maybeJoin('#', hashformat(path))}`,\n docstemplate: ({ domain, project, committish }) =>\n `https://${domain}/${project}${maybeJoin('/', maybeEncode(committish))}`,\n httpstemplate: ({ domain, project, committish }) =>\n `git+https://${domain}/${project}.git${maybeJoin('#', committish)}`,\n filetemplate: ({ user, project, committish, path }) =>\n `https://gist.githubusercontent.com/${user}/${project}/raw${maybeJoin('/', maybeEncode(committish))}/${path}`,\n shortcuttemplate: ({ type, project, committish }) =>\n `${type}:${project}${maybeJoin('#', committish)}`,\n pathtemplate: ({ project, committish }) =>\n `${project}${maybeJoin('#', committish)}`,\n bugstemplate: ({ domain, project }) =>\n `https://${domain}/${project}`,\n gittemplate: ({ domain, project, committish }) =>\n `git://${domain}/${project}.git${maybeJoin('#', committish)}`,\n tarballtemplate: ({ project, committish }) =>\n `https://codeload.github.com/gist/${project}/tar.gz/${maybeEncode(committish || 'HEAD')}`,\n extract: (url) => {\n let [, user, project, aux] = url.pathname.split('/', 4)\n if (aux === 'raw') {\n return\n }\n\n if (!project) {\n if (!user) {\n return\n }\n\n project = user\n user = null\n }\n\n if (project.endsWith('.git')) {\n project = project.slice(0, -4)\n }\n\n return { user, project, committish: url.hash.slice(1) }\n },\n hashformat: function (fragment) {\n return fragment && 'file-' + formatHashFragment(fragment)\n },\n}\n\nhosts.sourcehut = {\n protocols: ['git+ssh:', 'https:'],\n domain: 'git.sr.ht',\n treepath: 'tree',\n blobpath: 'tree',\n filetemplate: ({ domain, user, project, committish, path }) =>\n `https://${domain}/${user}/${project}/blob/${maybeEncode(committish) || 'HEAD'}/${path}`,\n httpstemplate: ({ domain, user, project, committish }) =>\n `https://${domain}/${user}/${project}.git${maybeJoin('#', committish)}`,\n tarballtemplate: ({ domain, user, project, committish }) =>\n `https://${domain}/${user}/${project}/archive/${maybeEncode(committish) || 'HEAD'}.tar.gz`,\n bugstemplate: ({ user, project }) =>\n `https://todo.sr.ht/${user}/${project}`,\n extract: (url) => {\n let [, user, project, aux] = url.pathname.split('/', 4)\n\n // tarball url\n if (['archive'].includes(aux)) {\n return\n }\n\n if (project && project.endsWith('.git')) {\n project = project.slice(0, -4)\n }\n\n if (!user || !project) {\n return\n }\n\n return { user, project, committish: url.hash.slice(1) }\n },\n}\n\nfor (const [name, host] of Object.entries(hosts)) {\n hosts[name] = Object.assign({}, defaults, host)\n}\n\nmodule.exports = hosts\n"],"names":[],"mappings":";;AAIA,MAAM,YAAY,IAAI,SAAS,KAAK,MAAM,SAAO,GAAG,IAAI,KAAK,KAAK,EAAE,IAAI;AACxE,MAAM,cAAc,CAAC,QAAQ,MAAM,mBAAmB,GAAG,IAAI;AAC7D,MAAM,qBAAqB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