@donmahallem/lerna2codecov 0.2.3 → 0.2.6
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/cjs/index.cjs +0 -2
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/update-config.cjs +48 -56
- package/dist/cjs/update-config.cjs.map +1 -1
- package/dist/esm/update-config.mjs +48 -50
- package/dist/esm/update-config.mjs.map +1 -1
- package/dist/types/cli.d.ts +1 -1
- package/dist/types/codecov-config.d.ts +13 -13
- package/dist/types/index.d.ts +2 -2
- package/dist/types/update-command.d.ts +8 -8
- package/dist/types/update-config.d.ts +12 -12
- package/dist/types/update.d.ts +6 -6
- package/package.json +19 -12
- package/src/update-command.ts +2 -2
- package/src/update-config.ts +1 -2
- package/src/update.ts +3 -3
- package/dist/cjs/_virtual/_commonjsHelpers.cjs +0 -8
- package/dist/cjs/_virtual/_commonjsHelpers.cjs.map +0 -1
- package/dist/cjs/_virtual/conversions.cjs +0 -8
- package/dist/cjs/_virtual/conversions.cjs.map +0 -1
- package/dist/cjs/_virtual/git-host-info.cjs +0 -8
- package/dist/cjs/_virtual/git-host-info.cjs.map +0 -1
- package/dist/cjs/_virtual/identifier.cjs +0 -8
- package/dist/cjs/_virtual/identifier.cjs.map +0 -1
- package/dist/cjs/_virtual/imurmurhash.cjs +0 -8
- package/dist/cjs/_virtual/imurmurhash.cjs.map +0 -1
- package/dist/cjs/_virtual/index.cjs +0 -8
- package/dist/cjs/_virtual/index.cjs.map +0 -1
- package/dist/cjs/_virtual/index10.cjs +0 -8
- package/dist/cjs/_virtual/index10.cjs.map +0 -1
- package/dist/cjs/_virtual/index11.cjs +0 -8
- package/dist/cjs/_virtual/index11.cjs.map +0 -1
- package/dist/cjs/_virtual/index12.cjs +0 -8
- package/dist/cjs/_virtual/index12.cjs.map +0 -1
- package/dist/cjs/_virtual/index13.cjs +0 -8
- package/dist/cjs/_virtual/index13.cjs.map +0 -1
- package/dist/cjs/_virtual/index14.cjs +0 -8
- package/dist/cjs/_virtual/index14.cjs.map +0 -1
- package/dist/cjs/_virtual/index15.cjs +0 -8
- package/dist/cjs/_virtual/index15.cjs.map +0 -1
- package/dist/cjs/_virtual/index2.cjs +0 -8
- package/dist/cjs/_virtual/index2.cjs.map +0 -1
- package/dist/cjs/_virtual/index3.cjs +0 -8
- package/dist/cjs/_virtual/index3.cjs.map +0 -1
- package/dist/cjs/_virtual/index4.cjs +0 -8
- package/dist/cjs/_virtual/index4.cjs.map +0 -1
- package/dist/cjs/_virtual/index5.cjs +0 -8
- package/dist/cjs/_virtual/index5.cjs.map +0 -1
- package/dist/cjs/_virtual/index6.cjs +0 -8
- package/dist/cjs/_virtual/index6.cjs.map +0 -1
- package/dist/cjs/_virtual/index7.cjs +0 -8
- package/dist/cjs/_virtual/index7.cjs.map +0 -1
- package/dist/cjs/_virtual/index8.cjs +0 -8
- package/dist/cjs/_virtual/index8.cjs.map +0 -1
- package/dist/cjs/_virtual/index9.cjs +0 -8
- package/dist/cjs/_virtual/index9.cjs.map +0 -1
- package/dist/cjs/_virtual/keyword.cjs +0 -8
- package/dist/cjs/_virtual/keyword.cjs.map +0 -1
- package/dist/cjs/_virtual/npa.cjs +0 -8
- package/dist/cjs/_virtual/npa.cjs.map +0 -1
- package/dist/cjs/_virtual/re.cjs +0 -8
- package/dist/cjs/_virtual/re.cjs.map +0 -1
- package/dist/cjs/_virtual/semver.cjs +0 -8
- package/dist/cjs/_virtual/semver.cjs.map +0 -1
- package/dist/cjs/_virtual/signals.cjs +0 -8
- package/dist/cjs/_virtual/signals.cjs.map +0 -1
- package/dist/cjs/node_modules/@babel/code-frame/lib/index.cjs +0 -168
- package/dist/cjs/node_modules/@babel/code-frame/lib/index.cjs.map +0 -1
- package/dist/cjs/node_modules/@babel/helper-validator-identifier/lib/identifier.cjs +0 -89
- package/dist/cjs/node_modules/@babel/helper-validator-identifier/lib/identifier.cjs.map +0 -1
- package/dist/cjs/node_modules/@babel/helper-validator-identifier/lib/index.cjs +0 -67
- package/dist/cjs/node_modules/@babel/helper-validator-identifier/lib/index.cjs.map +0 -1
- package/dist/cjs/node_modules/@babel/helper-validator-identifier/lib/keyword.cjs +0 -43
- package/dist/cjs/node_modules/@babel/helper-validator-identifier/lib/keyword.cjs.map +0 -1
- package/dist/cjs/node_modules/@babel/highlight/lib/index.cjs +0 -125
- package/dist/cjs/node_modules/@babel/highlight/lib/index.cjs.map +0 -1
- package/dist/cjs/node_modules/@lerna/package/index.cjs +0 -314
- package/dist/cjs/node_modules/@lerna/package/index.cjs.map +0 -1
- package/dist/cjs/node_modules/ansi-styles/index.cjs +0 -172
- package/dist/cjs/node_modules/ansi-styles/index.cjs.map +0 -1
- package/dist/cjs/node_modules/builtins/builtins.cjs +0 -6
- package/dist/cjs/node_modules/builtins/builtins.cjs.map +0 -1
- package/dist/cjs/node_modules/chalk/index.cjs +0 -239
- package/dist/cjs/node_modules/chalk/index.cjs.map +0 -1
- package/dist/cjs/node_modules/chalk/templates.cjs +0 -132
- package/dist/cjs/node_modules/chalk/templates.cjs.map +0 -1
- package/dist/cjs/node_modules/color-convert/conversions.cjs +0 -877
- package/dist/cjs/node_modules/color-convert/conversions.cjs.map +0 -1
- package/dist/cjs/node_modules/color-convert/index.cjs +0 -87
- package/dist/cjs/node_modules/color-convert/index.cjs.map +0 -1
- package/dist/cjs/node_modules/color-convert/route.cjs +0 -104
- package/dist/cjs/node_modules/color-convert/route.cjs.map +0 -1
- package/dist/cjs/node_modules/color-name/index.cjs +0 -155
- package/dist/cjs/node_modules/color-name/index.cjs.map +0 -1
- package/dist/cjs/node_modules/error-ex/index.cjs +0 -151
- package/dist/cjs/node_modules/error-ex/index.cjs.map +0 -1
- package/dist/cjs/node_modules/escape-string-regexp/index.cjs +0 -14
- package/dist/cjs/node_modules/escape-string-regexp/index.cjs.map +0 -1
- package/dist/cjs/node_modules/graceful-fs/clone.cjs +0 -26
- package/dist/cjs/node_modules/graceful-fs/clone.cjs.map +0 -1
- package/dist/cjs/node_modules/graceful-fs/graceful-fs.cjs +0 -467
- package/dist/cjs/node_modules/graceful-fs/graceful-fs.cjs.map +0 -1
- package/dist/cjs/node_modules/graceful-fs/legacy-streams.cjs +0 -129
- package/dist/cjs/node_modules/graceful-fs/legacy-streams.cjs.map +0 -1
- package/dist/cjs/node_modules/graceful-fs/polyfills.cjs +0 -366
- package/dist/cjs/node_modules/graceful-fs/polyfills.cjs.map +0 -1
- package/dist/cjs/node_modules/has-flag/index.cjs +0 -12
- package/dist/cjs/node_modules/has-flag/index.cjs.map +0 -1
- package/dist/cjs/node_modules/hosted-git-info/git-host-info.cjs +0 -94
- package/dist/cjs/node_modules/hosted-git-info/git-host-info.cjs.map +0 -1
- package/dist/cjs/node_modules/hosted-git-info/git-host.cjs +0 -172
- package/dist/cjs/node_modules/hosted-git-info/git-host.cjs.map +0 -1
- package/dist/cjs/node_modules/hosted-git-info/index.cjs +0 -170
- package/dist/cjs/node_modules/hosted-git-info/index.cjs.map +0 -1
- package/dist/cjs/node_modules/imurmurhash/imurmurhash.cjs +0 -143
- package/dist/cjs/node_modules/imurmurhash/imurmurhash.cjs.map +0 -1
- package/dist/cjs/node_modules/is-arrayish/index.cjs +0 -13
- package/dist/cjs/node_modules/is-arrayish/index.cjs.map +0 -1
- package/dist/cjs/node_modules/js-tokens/index.cjs +0 -28
- package/dist/cjs/node_modules/js-tokens/index.cjs.map +0 -1
- package/dist/cjs/node_modules/json-parse-even-better-errors/index.cjs +0 -124
- package/dist/cjs/node_modules/json-parse-even-better-errors/index.cjs.map +0 -1
- package/dist/cjs/node_modules/lines-and-columns/build/index.cjs +0 -68
- package/dist/cjs/node_modules/lines-and-columns/build/index.cjs.map +0 -1
- package/dist/cjs/node_modules/load-json-file/index.cjs +0 -35
- package/dist/cjs/node_modules/load-json-file/index.cjs.map +0 -1
- package/dist/cjs/node_modules/lru-cache/index.cjs +0 -350
- package/dist/cjs/node_modules/lru-cache/index.cjs.map +0 -1
- package/dist/cjs/node_modules/npm-package-arg/npa.cjs +0 -323
- package/dist/cjs/node_modules/npm-package-arg/npa.cjs.map +0 -1
- package/dist/cjs/node_modules/parse-json/index.cjs +0 -65
- package/dist/cjs/node_modules/parse-json/index.cjs.map +0 -1
- package/dist/cjs/node_modules/pify/index.cjs +0 -71
- package/dist/cjs/node_modules/pify/index.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/classes/comparator.cjs +0 -158
- package/dist/cjs/node_modules/semver/classes/comparator.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/classes/range.cjs +0 -541
- package/dist/cjs/node_modules/semver/classes/range.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/classes/semver.cjs +0 -308
- package/dist/cjs/node_modules/semver/classes/semver.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/clean.cjs +0 -23
- package/dist/cjs/node_modules/semver/functions/clean.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/cmp.cjs +0 -74
- package/dist/cjs/node_modules/semver/functions/cmp.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/coerce.cjs +0 -71
- package/dist/cjs/node_modules/semver/functions/coerce.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/compare-build.cjs +0 -24
- package/dist/cjs/node_modules/semver/functions/compare-build.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/compare-loose.cjs +0 -20
- package/dist/cjs/node_modules/semver/functions/compare-loose.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/compare.cjs +0 -22
- package/dist/cjs/node_modules/semver/functions/compare.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/diff.cjs +0 -41
- package/dist/cjs/node_modules/semver/functions/diff.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/eq.cjs +0 -20
- package/dist/cjs/node_modules/semver/functions/eq.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/gt.cjs +0 -20
- package/dist/cjs/node_modules/semver/functions/gt.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/gte.cjs +0 -20
- package/dist/cjs/node_modules/semver/functions/gte.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/inc.cjs +0 -35
- package/dist/cjs/node_modules/semver/functions/inc.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/lt.cjs +0 -20
- package/dist/cjs/node_modules/semver/functions/lt.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/lte.cjs +0 -20
- package/dist/cjs/node_modules/semver/functions/lte.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/major.cjs +0 -20
- package/dist/cjs/node_modules/semver/functions/major.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/minor.cjs +0 -20
- package/dist/cjs/node_modules/semver/functions/minor.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/neq.cjs +0 -20
- package/dist/cjs/node_modules/semver/functions/neq.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/parse.cjs +0 -53
- package/dist/cjs/node_modules/semver/functions/parse.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/patch.cjs +0 -20
- package/dist/cjs/node_modules/semver/functions/patch.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/prerelease.cjs +0 -23
- package/dist/cjs/node_modules/semver/functions/prerelease.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/rcompare.cjs +0 -20
- package/dist/cjs/node_modules/semver/functions/rcompare.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/rsort.cjs +0 -20
- package/dist/cjs/node_modules/semver/functions/rsort.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/satisfies.cjs +0 -27
- package/dist/cjs/node_modules/semver/functions/satisfies.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/sort.cjs +0 -20
- package/dist/cjs/node_modules/semver/functions/sort.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/functions/valid.cjs +0 -23
- package/dist/cjs/node_modules/semver/functions/valid.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/index.cjs +0 -105
- package/dist/cjs/node_modules/semver/index.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/internal/constants.cjs +0 -32
- package/dist/cjs/node_modules/semver/internal/constants.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/internal/debug.cjs +0 -24
- package/dist/cjs/node_modules/semver/internal/debug.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/internal/identifiers.cjs +0 -38
- package/dist/cjs/node_modules/semver/internal/identifiers.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/internal/parse-options.cjs +0 -26
- package/dist/cjs/node_modules/semver/internal/parse-options.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/internal/re.cjs +0 -202
- package/dist/cjs/node_modules/semver/internal/re.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/ranges/gtr.cjs +0 -21
- package/dist/cjs/node_modules/semver/ranges/gtr.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/ranges/intersects.cjs +0 -24
- package/dist/cjs/node_modules/semver/ranges/intersects.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/ranges/ltr.cjs +0 -21
- package/dist/cjs/node_modules/semver/ranges/ltr.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/ranges/max-satisfying.cjs +0 -43
- package/dist/cjs/node_modules/semver/ranges/max-satisfying.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/ranges/min-satisfying.cjs +0 -42
- package/dist/cjs/node_modules/semver/ranges/min-satisfying.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/ranges/min-version.cjs +0 -80
- package/dist/cjs/node_modules/semver/ranges/min-version.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/ranges/outside.cjs +0 -104
- package/dist/cjs/node_modules/semver/ranges/outside.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/ranges/simplify.cjs +0 -65
- package/dist/cjs/node_modules/semver/ranges/simplify.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/ranges/subset.cjs +0 -264
- package/dist/cjs/node_modules/semver/ranges/subset.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/ranges/to-comparators.cjs +0 -25
- package/dist/cjs/node_modules/semver/ranges/to-comparators.cjs.map +0 -1
- package/dist/cjs/node_modules/semver/ranges/valid.cjs +0 -28
- package/dist/cjs/node_modules/semver/ranges/valid.cjs.map +0 -1
- package/dist/cjs/node_modules/signal-exit/index.cjs +0 -218
- package/dist/cjs/node_modules/signal-exit/index.cjs.map +0 -1
- package/dist/cjs/node_modules/signal-exit/signals.cjs +0 -71
- package/dist/cjs/node_modules/signal-exit/signals.cjs.map +0 -1
- package/dist/cjs/node_modules/strip-bom/index.cjs +0 -18
- package/dist/cjs/node_modules/strip-bom/index.cjs.map +0 -1
- package/dist/cjs/node_modules/supports-color/index.cjs +0 -142
- package/dist/cjs/node_modules/supports-color/index.cjs.map +0 -1
- package/dist/cjs/node_modules/validate-npm-package-name/index.cjs +0 -121
- package/dist/cjs/node_modules/validate-npm-package-name/index.cjs.map +0 -1
- package/dist/cjs/node_modules/write-pkg/index.cjs +0 -79
- package/dist/cjs/node_modules/write-pkg/index.cjs.map +0 -1
- package/dist/cjs/node_modules/write-pkg/node_modules/detect-indent/index.cjs +0 -125
- package/dist/cjs/node_modules/write-pkg/node_modules/detect-indent/index.cjs.map +0 -1
- package/dist/cjs/node_modules/write-pkg/node_modules/is-plain-obj/index.cjs +0 -11
- package/dist/cjs/node_modules/write-pkg/node_modules/is-plain-obj/index.cjs.map +0 -1
- package/dist/cjs/node_modules/write-pkg/node_modules/make-dir/index.cjs +0 -155
- package/dist/cjs/node_modules/write-pkg/node_modules/make-dir/index.cjs.map +0 -1
- package/dist/cjs/node_modules/write-pkg/node_modules/semver/semver.cjs +0 -1490
- package/dist/cjs/node_modules/write-pkg/node_modules/semver/semver.cjs.map +0 -1
- package/dist/cjs/node_modules/write-pkg/node_modules/sort-keys/index.cjs +0 -61
- package/dist/cjs/node_modules/write-pkg/node_modules/sort-keys/index.cjs.map +0 -1
- package/dist/cjs/node_modules/write-pkg/node_modules/write-file-atomic/index.cjs +0 -255
- package/dist/cjs/node_modules/write-pkg/node_modules/write-file-atomic/index.cjs.map +0 -1
- package/dist/cjs/node_modules/write-pkg/node_modules/write-json-file/index.cjs +0 -95
- package/dist/cjs/node_modules/write-pkg/node_modules/write-json-file/index.cjs.map +0 -1
- package/dist/cjs/node_modules/yallist/iterator.cjs +0 -22
- package/dist/cjs/node_modules/yallist/iterator.cjs.map +0 -1
- package/dist/cjs/node_modules/yallist/yallist.cjs +0 -442
- package/dist/cjs/node_modules/yallist/yallist.cjs.map +0 -1
- package/dist/esm/_virtual/_commonjsHelpers.mjs +0 -4
- package/dist/esm/_virtual/_commonjsHelpers.mjs.map +0 -1
- package/dist/esm/_virtual/conversions.mjs +0 -4
- package/dist/esm/_virtual/conversions.mjs.map +0 -1
- package/dist/esm/_virtual/git-host-info.mjs +0 -4
- package/dist/esm/_virtual/git-host-info.mjs.map +0 -1
- package/dist/esm/_virtual/identifier.mjs +0 -4
- package/dist/esm/_virtual/identifier.mjs.map +0 -1
- package/dist/esm/_virtual/imurmurhash.mjs +0 -4
- package/dist/esm/_virtual/imurmurhash.mjs.map +0 -1
- package/dist/esm/_virtual/index.mjs +0 -4
- package/dist/esm/_virtual/index.mjs.map +0 -1
- package/dist/esm/_virtual/index10.mjs +0 -4
- package/dist/esm/_virtual/index10.mjs.map +0 -1
- package/dist/esm/_virtual/index11.mjs +0 -4
- package/dist/esm/_virtual/index11.mjs.map +0 -1
- package/dist/esm/_virtual/index12.mjs +0 -4
- package/dist/esm/_virtual/index12.mjs.map +0 -1
- package/dist/esm/_virtual/index13.mjs +0 -4
- package/dist/esm/_virtual/index13.mjs.map +0 -1
- package/dist/esm/_virtual/index14.mjs +0 -4
- package/dist/esm/_virtual/index14.mjs.map +0 -1
- package/dist/esm/_virtual/index15.mjs +0 -4
- package/dist/esm/_virtual/index15.mjs.map +0 -1
- package/dist/esm/_virtual/index2.mjs +0 -4
- package/dist/esm/_virtual/index2.mjs.map +0 -1
- package/dist/esm/_virtual/index3.mjs +0 -4
- package/dist/esm/_virtual/index3.mjs.map +0 -1
- package/dist/esm/_virtual/index4.mjs +0 -4
- package/dist/esm/_virtual/index4.mjs.map +0 -1
- package/dist/esm/_virtual/index5.mjs +0 -4
- package/dist/esm/_virtual/index5.mjs.map +0 -1
- package/dist/esm/_virtual/index6.mjs +0 -4
- package/dist/esm/_virtual/index6.mjs.map +0 -1
- package/dist/esm/_virtual/index7.mjs +0 -4
- package/dist/esm/_virtual/index7.mjs.map +0 -1
- package/dist/esm/_virtual/index8.mjs +0 -4
- package/dist/esm/_virtual/index8.mjs.map +0 -1
- package/dist/esm/_virtual/index9.mjs +0 -4
- package/dist/esm/_virtual/index9.mjs.map +0 -1
- package/dist/esm/_virtual/keyword.mjs +0 -4
- package/dist/esm/_virtual/keyword.mjs.map +0 -1
- package/dist/esm/_virtual/npa.mjs +0 -4
- package/dist/esm/_virtual/npa.mjs.map +0 -1
- package/dist/esm/_virtual/re.mjs +0 -4
- package/dist/esm/_virtual/re.mjs.map +0 -1
- package/dist/esm/_virtual/semver.mjs +0 -4
- package/dist/esm/_virtual/semver.mjs.map +0 -1
- package/dist/esm/_virtual/signals.mjs +0 -4
- package/dist/esm/_virtual/signals.mjs.map +0 -1
- package/dist/esm/node_modules/@babel/code-frame/lib/index.mjs +0 -166
- package/dist/esm/node_modules/@babel/code-frame/lib/index.mjs.map +0 -1
- package/dist/esm/node_modules/@babel/helper-validator-identifier/lib/identifier.mjs +0 -86
- package/dist/esm/node_modules/@babel/helper-validator-identifier/lib/identifier.mjs.map +0 -1
- package/dist/esm/node_modules/@babel/helper-validator-identifier/lib/index.mjs +0 -65
- package/dist/esm/node_modules/@babel/helper-validator-identifier/lib/index.mjs.map +0 -1
- package/dist/esm/node_modules/@babel/helper-validator-identifier/lib/keyword.mjs +0 -40
- package/dist/esm/node_modules/@babel/helper-validator-identifier/lib/keyword.mjs.map +0 -1
- package/dist/esm/node_modules/@babel/highlight/lib/index.mjs +0 -123
- package/dist/esm/node_modules/@babel/highlight/lib/index.mjs.map +0 -1
- package/dist/esm/node_modules/@lerna/package/index.mjs +0 -306
- package/dist/esm/node_modules/@lerna/package/index.mjs.map +0 -1
- package/dist/esm/node_modules/ansi-styles/index.mjs +0 -170
- package/dist/esm/node_modules/ansi-styles/index.mjs.map +0 -1
- package/dist/esm/node_modules/builtins/builtins.mjs +0 -4
- package/dist/esm/node_modules/builtins/builtins.mjs.map +0 -1
- package/dist/esm/node_modules/chalk/index.mjs +0 -237
- package/dist/esm/node_modules/chalk/index.mjs.map +0 -1
- package/dist/esm/node_modules/chalk/templates.mjs +0 -130
- package/dist/esm/node_modules/chalk/templates.mjs.map +0 -1
- package/dist/esm/node_modules/color-convert/conversions.mjs +0 -876
- package/dist/esm/node_modules/color-convert/conversions.mjs.map +0 -1
- package/dist/esm/node_modules/color-convert/index.mjs +0 -85
- package/dist/esm/node_modules/color-convert/index.mjs.map +0 -1
- package/dist/esm/node_modules/color-convert/route.mjs +0 -102
- package/dist/esm/node_modules/color-convert/route.mjs.map +0 -1
- package/dist/esm/node_modules/color-name/index.mjs +0 -153
- package/dist/esm/node_modules/color-name/index.mjs.map +0 -1
- package/dist/esm/node_modules/error-ex/index.mjs +0 -145
- package/dist/esm/node_modules/error-ex/index.mjs.map +0 -1
- package/dist/esm/node_modules/escape-string-regexp/index.mjs +0 -12
- package/dist/esm/node_modules/escape-string-regexp/index.mjs.map +0 -1
- package/dist/esm/node_modules/graceful-fs/clone.mjs +0 -24
- package/dist/esm/node_modules/graceful-fs/clone.mjs.map +0 -1
- package/dist/esm/node_modules/graceful-fs/graceful-fs.mjs +0 -459
- package/dist/esm/node_modules/graceful-fs/graceful-fs.mjs.map +0 -1
- package/dist/esm/node_modules/graceful-fs/legacy-streams.mjs +0 -123
- package/dist/esm/node_modules/graceful-fs/legacy-streams.mjs.map +0 -1
- package/dist/esm/node_modules/graceful-fs/polyfills.mjs +0 -360
- package/dist/esm/node_modules/graceful-fs/polyfills.mjs.map +0 -1
- package/dist/esm/node_modules/has-flag/index.mjs +0 -10
- package/dist/esm/node_modules/has-flag/index.mjs.map +0 -1
- package/dist/esm/node_modules/hosted-git-info/git-host-info.mjs +0 -90
- package/dist/esm/node_modules/hosted-git-info/git-host-info.mjs.map +0 -1
- package/dist/esm/node_modules/hosted-git-info/git-host.mjs +0 -168
- package/dist/esm/node_modules/hosted-git-info/git-host.mjs.map +0 -1
- package/dist/esm/node_modules/hosted-git-info/index.mjs +0 -162
- package/dist/esm/node_modules/hosted-git-info/index.mjs.map +0 -1
- package/dist/esm/node_modules/imurmurhash/imurmurhash.mjs +0 -141
- package/dist/esm/node_modules/imurmurhash/imurmurhash.mjs.map +0 -1
- package/dist/esm/node_modules/is-arrayish/index.mjs +0 -11
- package/dist/esm/node_modules/is-arrayish/index.mjs.map +0 -1
- package/dist/esm/node_modules/js-tokens/index.mjs +0 -26
- package/dist/esm/node_modules/js-tokens/index.mjs.map +0 -1
- package/dist/esm/node_modules/json-parse-even-better-errors/index.mjs +0 -122
- package/dist/esm/node_modules/json-parse-even-better-errors/index.mjs.map +0 -1
- package/dist/esm/node_modules/lines-and-columns/build/index.mjs +0 -66
- package/dist/esm/node_modules/lines-and-columns/build/index.mjs.map +0 -1
- package/dist/esm/node_modules/load-json-file/index.mjs +0 -29
- package/dist/esm/node_modules/load-json-file/index.mjs.map +0 -1
- package/dist/esm/node_modules/lru-cache/index.mjs +0 -346
- package/dist/esm/node_modules/lru-cache/index.mjs.map +0 -1
- package/dist/esm/node_modules/npm-package-arg/npa.mjs +0 -316
- package/dist/esm/node_modules/npm-package-arg/npa.mjs.map +0 -1
- package/dist/esm/node_modules/parse-json/index.mjs +0 -63
- package/dist/esm/node_modules/parse-json/index.mjs.map +0 -1
- package/dist/esm/node_modules/pify/index.mjs +0 -69
- package/dist/esm/node_modules/pify/index.mjs.map +0 -1
- package/dist/esm/node_modules/semver/classes/comparator.mjs +0 -154
- package/dist/esm/node_modules/semver/classes/comparator.mjs.map +0 -1
- package/dist/esm/node_modules/semver/classes/range.mjs +0 -537
- package/dist/esm/node_modules/semver/classes/range.mjs.map +0 -1
- package/dist/esm/node_modules/semver/classes/semver.mjs +0 -304
- package/dist/esm/node_modules/semver/classes/semver.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/clean.mjs +0 -19
- package/dist/esm/node_modules/semver/functions/clean.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/cmp.mjs +0 -70
- package/dist/esm/node_modules/semver/functions/cmp.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/coerce.mjs +0 -67
- package/dist/esm/node_modules/semver/functions/coerce.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/compare-build.mjs +0 -20
- package/dist/esm/node_modules/semver/functions/compare-build.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/compare-loose.mjs +0 -16
- package/dist/esm/node_modules/semver/functions/compare-loose.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/compare.mjs +0 -18
- package/dist/esm/node_modules/semver/functions/compare.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/diff.mjs +0 -37
- package/dist/esm/node_modules/semver/functions/diff.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/eq.mjs +0 -16
- package/dist/esm/node_modules/semver/functions/eq.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/gt.mjs +0 -16
- package/dist/esm/node_modules/semver/functions/gt.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/gte.mjs +0 -16
- package/dist/esm/node_modules/semver/functions/gte.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/inc.mjs +0 -31
- package/dist/esm/node_modules/semver/functions/inc.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/lt.mjs +0 -16
- package/dist/esm/node_modules/semver/functions/lt.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/lte.mjs +0 -16
- package/dist/esm/node_modules/semver/functions/lte.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/major.mjs +0 -16
- package/dist/esm/node_modules/semver/functions/major.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/minor.mjs +0 -16
- package/dist/esm/node_modules/semver/functions/minor.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/neq.mjs +0 -16
- package/dist/esm/node_modules/semver/functions/neq.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/parse.mjs +0 -49
- package/dist/esm/node_modules/semver/functions/parse.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/patch.mjs +0 -16
- package/dist/esm/node_modules/semver/functions/patch.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/prerelease.mjs +0 -19
- package/dist/esm/node_modules/semver/functions/prerelease.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/rcompare.mjs +0 -16
- package/dist/esm/node_modules/semver/functions/rcompare.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/rsort.mjs +0 -16
- package/dist/esm/node_modules/semver/functions/rsort.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/satisfies.mjs +0 -23
- package/dist/esm/node_modules/semver/functions/satisfies.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/sort.mjs +0 -16
- package/dist/esm/node_modules/semver/functions/sort.mjs.map +0 -1
- package/dist/esm/node_modules/semver/functions/valid.mjs +0 -19
- package/dist/esm/node_modules/semver/functions/valid.mjs.map +0 -1
- package/dist/esm/node_modules/semver/index.mjs +0 -101
- package/dist/esm/node_modules/semver/index.mjs.map +0 -1
- package/dist/esm/node_modules/semver/internal/constants.mjs +0 -28
- package/dist/esm/node_modules/semver/internal/constants.mjs.map +0 -1
- package/dist/esm/node_modules/semver/internal/debug.mjs +0 -20
- package/dist/esm/node_modules/semver/internal/debug.mjs.map +0 -1
- package/dist/esm/node_modules/semver/internal/identifiers.mjs +0 -34
- package/dist/esm/node_modules/semver/internal/identifiers.mjs.map +0 -1
- package/dist/esm/node_modules/semver/internal/parse-options.mjs +0 -22
- package/dist/esm/node_modules/semver/internal/parse-options.mjs.map +0 -1
- package/dist/esm/node_modules/semver/internal/re.mjs +0 -198
- package/dist/esm/node_modules/semver/internal/re.mjs.map +0 -1
- package/dist/esm/node_modules/semver/ranges/gtr.mjs +0 -17
- package/dist/esm/node_modules/semver/ranges/gtr.mjs.map +0 -1
- package/dist/esm/node_modules/semver/ranges/intersects.mjs +0 -20
- package/dist/esm/node_modules/semver/ranges/intersects.mjs.map +0 -1
- package/dist/esm/node_modules/semver/ranges/ltr.mjs +0 -17
- package/dist/esm/node_modules/semver/ranges/ltr.mjs.map +0 -1
- package/dist/esm/node_modules/semver/ranges/max-satisfying.mjs +0 -39
- package/dist/esm/node_modules/semver/ranges/max-satisfying.mjs.map +0 -1
- package/dist/esm/node_modules/semver/ranges/min-satisfying.mjs +0 -38
- package/dist/esm/node_modules/semver/ranges/min-satisfying.mjs.map +0 -1
- package/dist/esm/node_modules/semver/ranges/min-version.mjs +0 -76
- package/dist/esm/node_modules/semver/ranges/min-version.mjs.map +0 -1
- package/dist/esm/node_modules/semver/ranges/outside.mjs +0 -100
- package/dist/esm/node_modules/semver/ranges/outside.mjs.map +0 -1
- package/dist/esm/node_modules/semver/ranges/simplify.mjs +0 -61
- package/dist/esm/node_modules/semver/ranges/simplify.mjs.map +0 -1
- package/dist/esm/node_modules/semver/ranges/subset.mjs +0 -260
- package/dist/esm/node_modules/semver/ranges/subset.mjs.map +0 -1
- package/dist/esm/node_modules/semver/ranges/to-comparators.mjs +0 -21
- package/dist/esm/node_modules/semver/ranges/to-comparators.mjs.map +0 -1
- package/dist/esm/node_modules/semver/ranges/valid.mjs +0 -24
- package/dist/esm/node_modules/semver/ranges/valid.mjs.map +0 -1
- package/dist/esm/node_modules/signal-exit/index.mjs +0 -212
- package/dist/esm/node_modules/signal-exit/index.mjs.map +0 -1
- package/dist/esm/node_modules/signal-exit/signals.mjs +0 -67
- package/dist/esm/node_modules/signal-exit/signals.mjs.map +0 -1
- package/dist/esm/node_modules/strip-bom/index.mjs +0 -16
- package/dist/esm/node_modules/strip-bom/index.mjs.map +0 -1
- package/dist/esm/node_modules/supports-color/index.mjs +0 -136
- package/dist/esm/node_modules/supports-color/index.mjs.map +0 -1
- package/dist/esm/node_modules/validate-npm-package-name/index.mjs +0 -117
- package/dist/esm/node_modules/validate-npm-package-name/index.mjs.map +0 -1
- package/dist/esm/node_modules/write-pkg/index.mjs +0 -74
- package/dist/esm/node_modules/write-pkg/index.mjs.map +0 -1
- package/dist/esm/node_modules/write-pkg/node_modules/detect-indent/index.mjs +0 -123
- package/dist/esm/node_modules/write-pkg/node_modules/detect-indent/index.mjs.map +0 -1
- package/dist/esm/node_modules/write-pkg/node_modules/is-plain-obj/index.mjs +0 -9
- package/dist/esm/node_modules/write-pkg/node_modules/is-plain-obj/index.mjs.map +0 -1
- package/dist/esm/node_modules/write-pkg/node_modules/make-dir/index.mjs +0 -149
- package/dist/esm/node_modules/write-pkg/node_modules/make-dir/index.mjs.map +0 -1
- package/dist/esm/node_modules/write-pkg/node_modules/semver/semver.mjs +0 -1488
- package/dist/esm/node_modules/write-pkg/node_modules/semver/semver.mjs.map +0 -1
- package/dist/esm/node_modules/write-pkg/node_modules/sort-keys/index.mjs +0 -59
- package/dist/esm/node_modules/write-pkg/node_modules/sort-keys/index.mjs.map +0 -1
- package/dist/esm/node_modules/write-pkg/node_modules/write-file-atomic/index.mjs +0 -250
- package/dist/esm/node_modules/write-pkg/node_modules/write-file-atomic/index.mjs.map +0 -1
- package/dist/esm/node_modules/write-pkg/node_modules/write-json-file/index.mjs +0 -90
- package/dist/esm/node_modules/write-pkg/node_modules/write-json-file/index.mjs.map +0 -1
- package/dist/esm/node_modules/yallist/iterator.mjs +0 -18
- package/dist/esm/node_modules/yallist/iterator.mjs.map +0 -1
- package/dist/esm/node_modules/yallist/yallist.mjs +0 -438
- package/dist/esm/node_modules/yallist/yallist.mjs.map +0 -1
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { g as gitHostInfo } from '../../_virtual/git-host-info.mjs';
|
|
2
|
-
|
|
3
|
-
var hasRequiredGitHostInfo;
|
|
4
|
-
|
|
5
|
-
function requireGitHostInfo () {
|
|
6
|
-
if (hasRequiredGitHostInfo) return gitHostInfo.exports;
|
|
7
|
-
hasRequiredGitHostInfo = 1;
|
|
8
|
-
|
|
9
|
-
var gitHosts = gitHostInfo.exports = {
|
|
10
|
-
github: {
|
|
11
|
-
// First two are insecure and generally shouldn't be used any more, but
|
|
12
|
-
// they are still supported.
|
|
13
|
-
'protocols': [ 'git', 'http', 'git+ssh', 'git+https', 'ssh', 'https' ],
|
|
14
|
-
'domain': 'github.com',
|
|
15
|
-
'treepath': 'tree',
|
|
16
|
-
'filetemplate': 'https://{auth@}raw.githubusercontent.com/{user}/{project}/{committish}/{path}',
|
|
17
|
-
'bugstemplate': 'https://{domain}/{user}/{project}/issues',
|
|
18
|
-
'gittemplate': 'git://{auth@}{domain}/{user}/{project}.git{#committish}',
|
|
19
|
-
'tarballtemplate': 'https://codeload.{domain}/{user}/{project}/tar.gz/{committish}'
|
|
20
|
-
},
|
|
21
|
-
bitbucket: {
|
|
22
|
-
'protocols': [ 'git+ssh', 'git+https', 'ssh', 'https' ],
|
|
23
|
-
'domain': 'bitbucket.org',
|
|
24
|
-
'treepath': 'src',
|
|
25
|
-
'tarballtemplate': 'https://{domain}/{user}/{project}/get/{committish}.tar.gz'
|
|
26
|
-
},
|
|
27
|
-
gitlab: {
|
|
28
|
-
'protocols': [ 'git+ssh', 'git+https', 'ssh', 'https' ],
|
|
29
|
-
'domain': 'gitlab.com',
|
|
30
|
-
'treepath': 'tree',
|
|
31
|
-
'bugstemplate': 'https://{domain}/{user}/{project}/issues',
|
|
32
|
-
'httpstemplate': 'git+https://{auth@}{domain}/{user}/{projectPath}.git{#committish}',
|
|
33
|
-
'tarballtemplate': 'https://{domain}/{user}/{project}/repository/archive.tar.gz?ref={committish}',
|
|
34
|
-
'pathmatch': /^\/([^/]+)\/((?!.*(\/-\/|\/repository(\/[^/]+)?\/archive\.tar\.gz)).*?)(?:\.git|\/)?$/
|
|
35
|
-
},
|
|
36
|
-
gist: {
|
|
37
|
-
'protocols': [ 'git', 'git+ssh', 'git+https', 'ssh', 'https' ],
|
|
38
|
-
'domain': 'gist.github.com',
|
|
39
|
-
'pathmatch': /^[/](?:([^/]+)[/])?([a-z0-9]{7,})(?:[.]git)?$/,
|
|
40
|
-
'filetemplate': 'https://gist.githubusercontent.com/{user}/{project}/raw{/committish}/{path}',
|
|
41
|
-
'bugstemplate': 'https://{domain}/{project}',
|
|
42
|
-
'gittemplate': 'git://{domain}/{project}.git{#committish}',
|
|
43
|
-
'sshtemplate': 'git@{domain}:/{project}.git{#committish}',
|
|
44
|
-
'sshurltemplate': 'git+ssh://git@{domain}/{project}.git{#committish}',
|
|
45
|
-
'browsetemplate': 'https://{domain}/{project}{/committish}',
|
|
46
|
-
'browsefiletemplate': 'https://{domain}/{project}{/committish}{#path}',
|
|
47
|
-
'docstemplate': 'https://{domain}/{project}{/committish}',
|
|
48
|
-
'httpstemplate': 'git+https://{domain}/{project}.git{#committish}',
|
|
49
|
-
'shortcuttemplate': '{type}:{project}{#committish}',
|
|
50
|
-
'pathtemplate': '{project}{#committish}',
|
|
51
|
-
'tarballtemplate': 'https://codeload.github.com/gist/{project}/tar.gz/{committish}',
|
|
52
|
-
'hashformat': function (fragment) {
|
|
53
|
-
return 'file-' + formatHashFragment(fragment)
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
var gitHostDefaults = {
|
|
59
|
-
'sshtemplate': 'git@{domain}:{user}/{project}.git{#committish}',
|
|
60
|
-
'sshurltemplate': 'git+ssh://git@{domain}/{user}/{project}.git{#committish}',
|
|
61
|
-
'browsetemplate': 'https://{domain}/{user}/{project}{/tree/committish}',
|
|
62
|
-
'browsefiletemplate': 'https://{domain}/{user}/{project}/{treepath}/{committish}/{path}{#fragment}',
|
|
63
|
-
'docstemplate': 'https://{domain}/{user}/{project}{/tree/committish}#readme',
|
|
64
|
-
'httpstemplate': 'git+https://{auth@}{domain}/{user}/{project}.git{#committish}',
|
|
65
|
-
'filetemplate': 'https://{domain}/{user}/{project}/raw/{committish}/{path}',
|
|
66
|
-
'shortcuttemplate': '{type}:{user}/{project}{#committish}',
|
|
67
|
-
'pathtemplate': '{user}/{project}{#committish}',
|
|
68
|
-
'pathmatch': /^[/]([^/]+)[/]([^/]+?)(?:[.]git|[/])?$/,
|
|
69
|
-
'hashformat': formatHashFragment
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
Object.keys(gitHosts).forEach(function (name) {
|
|
73
|
-
Object.keys(gitHostDefaults).forEach(function (key) {
|
|
74
|
-
if (gitHosts[name][key]) return
|
|
75
|
-
gitHosts[name][key] = gitHostDefaults[key];
|
|
76
|
-
});
|
|
77
|
-
gitHosts[name].protocols_re = RegExp('^(' +
|
|
78
|
-
gitHosts[name].protocols.map(function (protocol) {
|
|
79
|
-
return protocol.replace(/([\\+*{}()[\]$^|])/g, '\\$1')
|
|
80
|
-
}).join('|') + '):$');
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
function formatHashFragment (fragment) {
|
|
84
|
-
return fragment.toLowerCase().replace(/^\W+|\/|\W+$/g, '').replace(/\W+/g, '-')
|
|
85
|
-
}
|
|
86
|
-
return gitHostInfo.exports;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
export { requireGitHostInfo as __require };
|
|
90
|
-
//# sourceMappingURL=git-host-info.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"git-host-info.mjs","sources":["../../../../node_modules/hosted-git-info/git-host-info.js"],"sourcesContent":["'use strict'\n\nvar gitHosts = module.exports = {\n 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 'filetemplate': 'https://{auth@}raw.githubusercontent.com/{user}/{project}/{committish}/{path}',\n 'bugstemplate': 'https://{domain}/{user}/{project}/issues',\n 'gittemplate': 'git://{auth@}{domain}/{user}/{project}.git{#committish}',\n 'tarballtemplate': 'https://codeload.{domain}/{user}/{project}/tar.gz/{committish}'\n },\n bitbucket: {\n 'protocols': [ 'git+ssh', 'git+https', 'ssh', 'https' ],\n 'domain': 'bitbucket.org',\n 'treepath': 'src',\n 'tarballtemplate': 'https://{domain}/{user}/{project}/get/{committish}.tar.gz'\n },\n gitlab: {\n 'protocols': [ 'git+ssh', 'git+https', 'ssh', 'https' ],\n 'domain': 'gitlab.com',\n 'treepath': 'tree',\n 'bugstemplate': 'https://{domain}/{user}/{project}/issues',\n 'httpstemplate': 'git+https://{auth@}{domain}/{user}/{projectPath}.git{#committish}',\n 'tarballtemplate': 'https://{domain}/{user}/{project}/repository/archive.tar.gz?ref={committish}',\n 'pathmatch': /^\\/([^/]+)\\/((?!.*(\\/-\\/|\\/repository(\\/[^/]+)?\\/archive\\.tar\\.gz)).*?)(?:\\.git|\\/)?$/\n },\n gist: {\n 'protocols': [ 'git', 'git+ssh', 'git+https', 'ssh', 'https' ],\n 'domain': 'gist.github.com',\n 'pathmatch': /^[/](?:([^/]+)[/])?([a-z0-9]{7,})(?:[.]git)?$/,\n 'filetemplate': 'https://gist.githubusercontent.com/{user}/{project}/raw{/committish}/{path}',\n 'bugstemplate': 'https://{domain}/{project}',\n 'gittemplate': 'git://{domain}/{project}.git{#committish}',\n 'sshtemplate': 'git@{domain}:/{project}.git{#committish}',\n 'sshurltemplate': 'git+ssh://git@{domain}/{project}.git{#committish}',\n 'browsetemplate': 'https://{domain}/{project}{/committish}',\n 'browsefiletemplate': 'https://{domain}/{project}{/committish}{#path}',\n 'docstemplate': 'https://{domain}/{project}{/committish}',\n 'httpstemplate': 'git+https://{domain}/{project}.git{#committish}',\n 'shortcuttemplate': '{type}:{project}{#committish}',\n 'pathtemplate': '{project}{#committish}',\n 'tarballtemplate': 'https://codeload.github.com/gist/{project}/tar.gz/{committish}',\n 'hashformat': function (fragment) {\n return 'file-' + formatHashFragment(fragment)\n }\n }\n}\n\nvar gitHostDefaults = {\n 'sshtemplate': 'git@{domain}:{user}/{project}.git{#committish}',\n 'sshurltemplate': 'git+ssh://git@{domain}/{user}/{project}.git{#committish}',\n 'browsetemplate': 'https://{domain}/{user}/{project}{/tree/committish}',\n 'browsefiletemplate': 'https://{domain}/{user}/{project}/{treepath}/{committish}/{path}{#fragment}',\n 'docstemplate': 'https://{domain}/{user}/{project}{/tree/committish}#readme',\n 'httpstemplate': 'git+https://{auth@}{domain}/{user}/{project}.git{#committish}',\n 'filetemplate': 'https://{domain}/{user}/{project}/raw/{committish}/{path}',\n 'shortcuttemplate': '{type}:{user}/{project}{#committish}',\n 'pathtemplate': '{user}/{project}{#committish}',\n 'pathmatch': /^[/]([^/]+)[/]([^/]+?)(?:[.]git|[/])?$/,\n 'hashformat': formatHashFragment\n}\n\nObject.keys(gitHosts).forEach(function (name) {\n Object.keys(gitHostDefaults).forEach(function (key) {\n if (gitHosts[name][key]) return\n gitHosts[name][key] = gitHostDefaults[key]\n })\n gitHosts[name].protocols_re = RegExp('^(' +\n gitHosts[name].protocols.map(function (protocol) {\n return protocol.replace(/([\\\\+*{}()[\\]$^|])/g, '\\\\$1')\n }).join('|') + '):$')\n})\n\nfunction formatHashFragment (fragment) {\n return fragment.toLowerCase().replace(/^\\W+|\\/|\\W+$/g, '').replace(/\\W+/g, '-')\n}\n"],"names":["gitHostInfoModule"],"mappings":";;;;;;;AACA;CACA,IAAI,QAAQ,GAAGA,WAAA,CAAA,OAAc,GAAG;AAChC,GAAE,MAAM,EAAE;AACV;AACA;AACA,KAAI,WAAW,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,EAAE;KACtE,QAAQ,EAAE,YAAY;KACtB,UAAU,EAAE,MAAM;KAClB,cAAc,EAAE,+EAA+E;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-
function requireGitHost () {
|
|
7
|
-
if (hasRequiredGitHost) return gitHost;
|
|
8
|
-
hasRequiredGitHost = 1;
|
|
9
|
-
var gitHosts = requireGitHostInfo();
|
|
10
|
-
/* eslint-disable node/no-deprecated-api */
|
|
11
|
-
|
|
12
|
-
// copy-pasta util._extend from node's source, to avoid pulling
|
|
13
|
-
// the whole util module into peoples' webpack bundles.
|
|
14
|
-
/* istanbul ignore next */
|
|
15
|
-
var extend = Object.assign || function _extend (target, source) {
|
|
16
|
-
// Don't do anything if source isn't an object
|
|
17
|
-
if (source === null || typeof source !== 'object') return target
|
|
18
|
-
|
|
19
|
-
const keys = Object.keys(source);
|
|
20
|
-
let i = keys.length;
|
|
21
|
-
while (i--) {
|
|
22
|
-
target[keys[i]] = source[keys[i]];
|
|
23
|
-
}
|
|
24
|
-
return target
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
gitHost = GitHost;
|
|
28
|
-
function GitHost (type, user, auth, project, committish, defaultRepresentation, opts) {
|
|
29
|
-
var gitHostInfo = this;
|
|
30
|
-
gitHostInfo.type = type;
|
|
31
|
-
Object.keys(gitHosts[type]).forEach(function (key) {
|
|
32
|
-
gitHostInfo[key] = gitHosts[type][key];
|
|
33
|
-
});
|
|
34
|
-
gitHostInfo.user = user;
|
|
35
|
-
gitHostInfo.auth = auth;
|
|
36
|
-
gitHostInfo.project = project;
|
|
37
|
-
gitHostInfo.committish = committish;
|
|
38
|
-
gitHostInfo.default = defaultRepresentation;
|
|
39
|
-
gitHostInfo.opts = opts || {};
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
GitHost.prototype.hash = function () {
|
|
43
|
-
return this.committish ? '#' + this.committish : ''
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
GitHost.prototype._fill = function (template, opts) {
|
|
47
|
-
if (!template) return
|
|
48
|
-
var vars = extend({}, opts);
|
|
49
|
-
vars.path = vars.path ? vars.path.replace(/^[/]+/g, '') : '';
|
|
50
|
-
opts = extend(extend({}, this.opts), opts);
|
|
51
|
-
var self = this;
|
|
52
|
-
Object.keys(this).forEach(function (key) {
|
|
53
|
-
if (self[key] != null && vars[key] == null) vars[key] = self[key];
|
|
54
|
-
});
|
|
55
|
-
var rawAuth = vars.auth;
|
|
56
|
-
var rawcommittish = vars.committish;
|
|
57
|
-
var rawFragment = vars.fragment;
|
|
58
|
-
var rawPath = vars.path;
|
|
59
|
-
var rawProject = vars.project;
|
|
60
|
-
Object.keys(vars).forEach(function (key) {
|
|
61
|
-
var value = vars[key];
|
|
62
|
-
if ((key === 'path' || key === 'project') && typeof value === 'string') {
|
|
63
|
-
vars[key] = value.split('/').map(function (pathComponent) {
|
|
64
|
-
return encodeURIComponent(pathComponent)
|
|
65
|
-
}).join('/');
|
|
66
|
-
} else if (key !== 'domain') {
|
|
67
|
-
vars[key] = encodeURIComponent(value);
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
vars['auth@'] = rawAuth ? rawAuth + '@' : '';
|
|
71
|
-
vars['#fragment'] = rawFragment ? '#' + this.hashformat(rawFragment) : '';
|
|
72
|
-
vars.fragment = vars.fragment ? vars.fragment : '';
|
|
73
|
-
vars['#path'] = rawPath ? '#' + this.hashformat(rawPath) : '';
|
|
74
|
-
vars['/path'] = vars.path ? '/' + vars.path : '';
|
|
75
|
-
vars.projectPath = rawProject.split('/').map(encodeURIComponent).join('/');
|
|
76
|
-
if (opts.noCommittish) {
|
|
77
|
-
vars['#committish'] = '';
|
|
78
|
-
vars['/tree/committish'] = '';
|
|
79
|
-
vars['/committish'] = '';
|
|
80
|
-
vars.committish = '';
|
|
81
|
-
} else {
|
|
82
|
-
vars['#committish'] = rawcommittish ? '#' + rawcommittish : '';
|
|
83
|
-
vars['/tree/committish'] = vars.committish
|
|
84
|
-
? '/' + vars.treepath + '/' + vars.committish
|
|
85
|
-
: '';
|
|
86
|
-
vars['/committish'] = vars.committish ? '/' + vars.committish : '';
|
|
87
|
-
vars.committish = vars.committish || 'master';
|
|
88
|
-
}
|
|
89
|
-
var res = template;
|
|
90
|
-
Object.keys(vars).forEach(function (key) {
|
|
91
|
-
res = res.replace(new RegExp('[{]' + key + '[}]', 'g'), vars[key]);
|
|
92
|
-
});
|
|
93
|
-
if (opts.noGitPlus) {
|
|
94
|
-
return res.replace(/^git[+]/, '')
|
|
95
|
-
} else {
|
|
96
|
-
return res
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
GitHost.prototype.ssh = function (opts) {
|
|
101
|
-
return this._fill(this.sshtemplate, opts)
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
GitHost.prototype.sshurl = function (opts) {
|
|
105
|
-
return this._fill(this.sshurltemplate, opts)
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
GitHost.prototype.browse = function (P, F, opts) {
|
|
109
|
-
if (typeof P === 'string') {
|
|
110
|
-
if (typeof F !== 'string') {
|
|
111
|
-
opts = F;
|
|
112
|
-
F = null;
|
|
113
|
-
}
|
|
114
|
-
return this._fill(this.browsefiletemplate, extend({
|
|
115
|
-
fragment: F,
|
|
116
|
-
path: P
|
|
117
|
-
}, opts))
|
|
118
|
-
} else {
|
|
119
|
-
return this._fill(this.browsetemplate, P)
|
|
120
|
-
}
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
GitHost.prototype.docs = function (opts) {
|
|
124
|
-
return this._fill(this.docstemplate, opts)
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
GitHost.prototype.bugs = function (opts) {
|
|
128
|
-
return this._fill(this.bugstemplate, opts)
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
GitHost.prototype.https = function (opts) {
|
|
132
|
-
return this._fill(this.httpstemplate, opts)
|
|
133
|
-
};
|
|
134
|
-
|
|
135
|
-
GitHost.prototype.git = function (opts) {
|
|
136
|
-
return this._fill(this.gittemplate, opts)
|
|
137
|
-
};
|
|
138
|
-
|
|
139
|
-
GitHost.prototype.shortcut = function (opts) {
|
|
140
|
-
return this._fill(this.shortcuttemplate, opts)
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
GitHost.prototype.path = function (opts) {
|
|
144
|
-
return this._fill(this.pathtemplate, opts)
|
|
145
|
-
};
|
|
146
|
-
|
|
147
|
-
GitHost.prototype.tarball = function (opts_) {
|
|
148
|
-
var opts = extend({}, opts_, { noCommittish: false });
|
|
149
|
-
return this._fill(this.tarballtemplate, opts)
|
|
150
|
-
};
|
|
151
|
-
|
|
152
|
-
GitHost.prototype.file = function (P, opts) {
|
|
153
|
-
return this._fill(this.filetemplate, extend({ path: P }, opts))
|
|
154
|
-
};
|
|
155
|
-
|
|
156
|
-
GitHost.prototype.getDefaultRepresentation = function () {
|
|
157
|
-
return this.default
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
GitHost.prototype.toString = function (opts) {
|
|
161
|
-
if (this.default && typeof this[this.default] === 'function') return this[this.default](opts)
|
|
162
|
-
return this.sshurl(opts)
|
|
163
|
-
};
|
|
164
|
-
return gitHost;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
export { requireGitHost as __require };
|
|
168
|
-
//# sourceMappingURL=git-host.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"git-host.mjs","sources":["../../../../node_modules/hosted-git-info/git-host.js"],"sourcesContent":["'use strict'\nvar gitHosts = require('./git-host-info.js')\n/* eslint-disable node/no-deprecated-api */\n\n// copy-pasta util._extend from node's source, to avoid pulling\n// the whole util module into peoples' webpack bundles.\n/* istanbul ignore next */\nvar extend = Object.assign || function _extend (target, source) {\n // Don't do anything if source isn't an object\n if (source === null || typeof source !== 'object') return target\n\n const keys = Object.keys(source)\n let i = keys.length\n while (i--) {\n target[keys[i]] = source[keys[i]]\n }\n return target\n}\n\nmodule.exports = GitHost\nfunction GitHost (type, user, auth, project, committish, defaultRepresentation, opts) {\n var gitHostInfo = this\n gitHostInfo.type = type\n Object.keys(gitHosts[type]).forEach(function (key) {\n gitHostInfo[key] = gitHosts[type][key]\n })\n gitHostInfo.user = user\n gitHostInfo.auth = auth\n gitHostInfo.project = project\n gitHostInfo.committish = committish\n gitHostInfo.default = defaultRepresentation\n gitHostInfo.opts = opts || {}\n}\n\nGitHost.prototype.hash = function () {\n return this.committish ? '#' + this.committish : ''\n}\n\nGitHost.prototype._fill = function (template, opts) {\n if (!template) return\n var vars = extend({}, opts)\n vars.path = vars.path ? vars.path.replace(/^[/]+/g, '') : ''\n opts = extend(extend({}, this.opts), opts)\n var self = this\n Object.keys(this).forEach(function (key) {\n if (self[key] != null && vars[key] == null) vars[key] = self[key]\n })\n var rawAuth = vars.auth\n var rawcommittish = vars.committish\n var rawFragment = vars.fragment\n var rawPath = vars.path\n var rawProject = vars.project\n Object.keys(vars).forEach(function (key) {\n var value = vars[key]\n if ((key === 'path' || key === 'project') && typeof value === 'string') {\n vars[key] = value.split('/').map(function (pathComponent) {\n return encodeURIComponent(pathComponent)\n }).join('/')\n } else if (key !== 'domain') {\n vars[key] = encodeURIComponent(value)\n }\n })\n vars['auth@'] = rawAuth ? rawAuth + '@' : ''\n vars['#fragment'] = rawFragment ? '#' + this.hashformat(rawFragment) : ''\n vars.fragment = vars.fragment ? vars.fragment : ''\n vars['#path'] = rawPath ? '#' + this.hashformat(rawPath) : ''\n vars['/path'] = vars.path ? '/' + vars.path : ''\n vars.projectPath = rawProject.split('/').map(encodeURIComponent).join('/')\n if (opts.noCommittish) {\n vars['#committish'] = ''\n vars['/tree/committish'] = ''\n vars['/committish'] = ''\n vars.committish = ''\n } else {\n vars['#committish'] = rawcommittish ? '#' + rawcommittish : ''\n vars['/tree/committish'] = vars.committish\n ? '/' + vars.treepath + '/' + vars.committish\n : ''\n vars['/committish'] = vars.committish ? '/' + vars.committish : ''\n vars.committish = vars.committish || 'master'\n }\n var res = template\n Object.keys(vars).forEach(function (key) {\n res = res.replace(new RegExp('[{]' + key + '[}]', 'g'), vars[key])\n })\n if (opts.noGitPlus) {\n return res.replace(/^git[+]/, '')\n } else {\n return res\n }\n}\n\nGitHost.prototype.ssh = function (opts) {\n return this._fill(this.sshtemplate, opts)\n}\n\nGitHost.prototype.sshurl = function (opts) {\n return this._fill(this.sshurltemplate, opts)\n}\n\nGitHost.prototype.browse = function (P, F, opts) {\n if (typeof P === 'string') {\n if (typeof F !== 'string') {\n opts = F\n F = null\n }\n return this._fill(this.browsefiletemplate, extend({\n fragment: F,\n path: P\n }, opts))\n } else {\n return this._fill(this.browsetemplate, P)\n }\n}\n\nGitHost.prototype.docs = function (opts) {\n return this._fill(this.docstemplate, opts)\n}\n\nGitHost.prototype.bugs = function (opts) {\n return this._fill(this.bugstemplate, opts)\n}\n\nGitHost.prototype.https = function (opts) {\n return this._fill(this.httpstemplate, opts)\n}\n\nGitHost.prototype.git = function (opts) {\n return this._fill(this.gittemplate, opts)\n}\n\nGitHost.prototype.shortcut = function (opts) {\n return this._fill(this.shortcuttemplate, opts)\n}\n\nGitHost.prototype.path = function (opts) {\n return this._fill(this.pathtemplate, opts)\n}\n\nGitHost.prototype.tarball = function (opts_) {\n var opts = extend({}, opts_, { noCommittish: false })\n return this._fill(this.tarballtemplate, opts)\n}\n\nGitHost.prototype.file = function (P, opts) {\n return this._fill(this.filetemplate, extend({ path: P }, opts))\n}\n\nGitHost.prototype.getDefaultRepresentation = function () {\n return this.default\n}\n\nGitHost.prototype.toString = function (opts) {\n if (this.default && typeof this[this.default] === 'function') return this[this.default](opts)\n return this.sshurl(opts)\n}\n"],"names":["require$$0"],"mappings":";;;;;;;;CACA,IAAI,QAAQ,GAAGA,kBAA6B,GAAA;AAC5C;AACA;AACA;AACA;AACA;AACA,CAAA,IAAI,MAAM,GAAG,MAAM,CAAC,MAAM,IAAI,SAAS,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE;AAChE;GACE,IAAI,MAAM,KAAK,IAAI,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,OAAO,MAAM;AAClE;GACE,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,EAAC;A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,EAAC;GACrD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC;GAC9C;AACD;CACA,OAAO,CAAC,SAAS,CAAC,IAAI,GAAG,UAAU,CAAC,EAAE,IAAI,EAAE;AAC5C,GAAE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;GAChE;AACD;AACA,CAAA,OAAO,CAAC,SAAS,CAAC,wBAAwB,GAAG,YAAY;GACvD,OAAO,IAAI,CAAC,OAAO;GACpB;AACD;AACA,CAAA,OAAO,CAAC,SAAS,CAAC,QAAQ,GAAG,UAAU,IAAI,EAAE;GAC3C,IAAI,IAAI,CAAC,OAAO,IAAI,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,UAAU,EAAE,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC;AAC/F,GAAE,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC;AAC1B,GAAA;;;;;;"}
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
import { h as hostedGitInfo } from '../../_virtual/index4.mjs';
|
|
2
|
-
import require$$0 from 'url';
|
|
3
|
-
import { __require as requireGitHostInfo } from './git-host-info.mjs';
|
|
4
|
-
import { __require as requireGitHost } from './git-host.mjs';
|
|
5
|
-
import { __require as requireLruCache } from '../lru-cache/index.mjs';
|
|
6
|
-
|
|
7
|
-
var hasRequiredHostedGitInfo;
|
|
8
|
-
|
|
9
|
-
function requireHostedGitInfo () {
|
|
10
|
-
if (hasRequiredHostedGitInfo) return hostedGitInfo.exports;
|
|
11
|
-
hasRequiredHostedGitInfo = 1;
|
|
12
|
-
(function (module) {
|
|
13
|
-
var url = require$$0;
|
|
14
|
-
var gitHosts = requireGitHostInfo();
|
|
15
|
-
var GitHost = module.exports = requireGitHost();
|
|
16
|
-
var LRU = requireLruCache();
|
|
17
|
-
var cache = new LRU({max: 1000});
|
|
18
|
-
|
|
19
|
-
var protocolToRepresentationMap = {
|
|
20
|
-
'git+ssh:': 'sshurl',
|
|
21
|
-
'git+https:': 'https',
|
|
22
|
-
'ssh:': 'sshurl',
|
|
23
|
-
'git:': 'git'
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
function protocolToRepresentation (protocol) {
|
|
27
|
-
return protocolToRepresentationMap[protocol] || protocol.slice(0, -1)
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
var authProtocols = {
|
|
31
|
-
'git:': true,
|
|
32
|
-
'https:': true,
|
|
33
|
-
'git+https:': true,
|
|
34
|
-
'http:': true,
|
|
35
|
-
'git+http:': true
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
module.exports.fromUrl = function (giturl, opts) {
|
|
39
|
-
if (typeof giturl !== 'string') return
|
|
40
|
-
var key = giturl + JSON.stringify(opts || {});
|
|
41
|
-
|
|
42
|
-
if (!cache.has(key)) {
|
|
43
|
-
cache.set(key, fromUrl(giturl, opts));
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
return cache.get(key)
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
function fromUrl (giturl, opts) {
|
|
50
|
-
if (giturl == null || giturl === '') return
|
|
51
|
-
var url = fixupUnqualifiedGist(
|
|
52
|
-
isGitHubShorthand(giturl) ? 'github:' + giturl : giturl
|
|
53
|
-
);
|
|
54
|
-
var parsed = parseGitUrl(url);
|
|
55
|
-
var shortcutMatch = url.match(/^([^:]+):(?:[^@]+@)?(?:([^/]*)\/)?([^#]+)/);
|
|
56
|
-
var matches = Object.keys(gitHosts).map(function (gitHostName) {
|
|
57
|
-
try {
|
|
58
|
-
var gitHostInfo = gitHosts[gitHostName];
|
|
59
|
-
var auth = null;
|
|
60
|
-
if (parsed.auth && authProtocols[parsed.protocol]) {
|
|
61
|
-
auth = parsed.auth;
|
|
62
|
-
}
|
|
63
|
-
var committish = parsed.hash ? decodeURIComponent(parsed.hash.substr(1)) : null;
|
|
64
|
-
var user = null;
|
|
65
|
-
var project = null;
|
|
66
|
-
var defaultRepresentation = null;
|
|
67
|
-
if (shortcutMatch && shortcutMatch[1] === gitHostName) {
|
|
68
|
-
user = shortcutMatch[2] && decodeURIComponent(shortcutMatch[2]);
|
|
69
|
-
project = decodeURIComponent(shortcutMatch[3].replace(/\.git$/, ''));
|
|
70
|
-
defaultRepresentation = 'shortcut';
|
|
71
|
-
} else {
|
|
72
|
-
if (parsed.host && parsed.host !== gitHostInfo.domain && parsed.host.replace(/^www[.]/, '') !== gitHostInfo.domain) return
|
|
73
|
-
if (!gitHostInfo.protocols_re.test(parsed.protocol)) return
|
|
74
|
-
if (!parsed.path) return
|
|
75
|
-
var pathmatch = gitHostInfo.pathmatch;
|
|
76
|
-
var matched = parsed.path.match(pathmatch);
|
|
77
|
-
if (!matched) return
|
|
78
|
-
/* istanbul ignore else */
|
|
79
|
-
if (matched[1] !== null && matched[1] !== undefined) {
|
|
80
|
-
user = decodeURIComponent(matched[1].replace(/^:/, ''));
|
|
81
|
-
}
|
|
82
|
-
project = decodeURIComponent(matched[2]);
|
|
83
|
-
defaultRepresentation = protocolToRepresentation(parsed.protocol);
|
|
84
|
-
}
|
|
85
|
-
return new GitHost(gitHostName, user, auth, project, committish, defaultRepresentation, opts)
|
|
86
|
-
} catch (ex) {
|
|
87
|
-
/* istanbul ignore else */
|
|
88
|
-
if (ex instanceof URIError) ; else throw ex
|
|
89
|
-
}
|
|
90
|
-
}).filter(function (gitHostInfo) { return gitHostInfo });
|
|
91
|
-
if (matches.length !== 1) return
|
|
92
|
-
return matches[0]
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
function isGitHubShorthand (arg) {
|
|
96
|
-
// Note: This does not fully test the git ref format.
|
|
97
|
-
// See https://www.kernel.org/pub/software/scm/git/docs/git-check-ref-format.html
|
|
98
|
-
//
|
|
99
|
-
// The only way to do this properly would be to shell out to
|
|
100
|
-
// git-check-ref-format, and as this is a fast sync function,
|
|
101
|
-
// we don't want to do that. Just let git fail if it turns
|
|
102
|
-
// out that the commit-ish is invalid.
|
|
103
|
-
// GH usernames cannot start with . or -
|
|
104
|
-
return /^[^:@%/\s.-][^:@%/\s]*[/][^:@\s/%]+(?:#.*)?$/.test(arg)
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
function fixupUnqualifiedGist (giturl) {
|
|
108
|
-
// necessary for round-tripping gists
|
|
109
|
-
var parsed = url.parse(giturl);
|
|
110
|
-
if (parsed.protocol === 'gist:' && parsed.host && !parsed.path) {
|
|
111
|
-
return parsed.protocol + '/' + parsed.host
|
|
112
|
-
} else {
|
|
113
|
-
return giturl
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
function parseGitUrl (giturl) {
|
|
118
|
-
var matched = giturl.match(/^([^@]+)@([^:/]+):[/]?((?:[^/]+[/])?[^/]+?)(?:[.]git)?(#.*)?$/);
|
|
119
|
-
if (!matched) {
|
|
120
|
-
var legacy = url.parse(giturl);
|
|
121
|
-
if (legacy.auth) {
|
|
122
|
-
// git urls can be in the form of scp-style/ssh-connect strings, like
|
|
123
|
-
// git+ssh://user@host.com:some/path, which the legacy url parser
|
|
124
|
-
// supports, but WhatWG url.URL class does not. However, the legacy
|
|
125
|
-
// parser de-urlencodes the username and password, so something like
|
|
126
|
-
// https://user%3An%40me:p%40ss%3Aword@x.com/ becomes
|
|
127
|
-
// https://user:n@me:p@ss:word@x.com/ which is all kinds of wrong.
|
|
128
|
-
// Pull off just the auth and host, so we dont' get the confusing
|
|
129
|
-
// scp-style URL, then pass that to the WhatWG parser to get the
|
|
130
|
-
// auth properly escaped.
|
|
131
|
-
const authmatch = giturl.match(/[^@]+@[^:/]+/);
|
|
132
|
-
/* istanbul ignore else - this should be impossible */
|
|
133
|
-
if (authmatch) {
|
|
134
|
-
var whatwg = new url.URL(authmatch[0]);
|
|
135
|
-
legacy.auth = whatwg.username || '';
|
|
136
|
-
if (whatwg.password) legacy.auth += ':' + whatwg.password;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
return legacy
|
|
140
|
-
}
|
|
141
|
-
return {
|
|
142
|
-
protocol: 'git+ssh:',
|
|
143
|
-
slashes: true,
|
|
144
|
-
auth: matched[1],
|
|
145
|
-
host: matched[2],
|
|
146
|
-
port: null,
|
|
147
|
-
hostname: matched[2],
|
|
148
|
-
hash: matched[4],
|
|
149
|
-
search: null,
|
|
150
|
-
query: null,
|
|
151
|
-
pathname: '/' + matched[3],
|
|
152
|
-
path: '/' + matched[3],
|
|
153
|
-
href: 'git+ssh://' + matched[1] + '@' + matched[2] +
|
|
154
|
-
'/' + matched[3] + (matched[4] || '')
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
} (hostedGitInfo));
|
|
158
|
-
return hostedGitInfo.exports;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
export { requireHostedGitInfo as __require };
|
|
162
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../node_modules/hosted-git-info/index.js"],"sourcesContent":["'use strict'\nvar url = require('url')\nvar gitHosts = require('./git-host-info.js')\nvar GitHost = module.exports = require('./git-host.js')\nvar LRU = require('lru-cache')\nvar cache = new LRU({max: 1000})\n\nvar protocolToRepresentationMap = {\n 'git+ssh:': 'sshurl',\n 'git+https:': 'https',\n 'ssh:': 'sshurl',\n 'git:': 'git'\n}\n\nfunction protocolToRepresentation (protocol) {\n return protocolToRepresentationMap[protocol] || protocol.slice(0, -1)\n}\n\nvar authProtocols = {\n 'git:': true,\n 'https:': true,\n 'git+https:': true,\n 'http:': true,\n 'git+http:': true\n}\n\nmodule.exports.fromUrl = function (giturl, opts) {\n if (typeof giturl !== 'string') return\n var key = giturl + JSON.stringify(opts || {})\n\n if (!cache.has(key)) {\n cache.set(key, fromUrl(giturl, opts))\n }\n\n return cache.get(key)\n}\n\nfunction fromUrl (giturl, opts) {\n if (giturl == null || giturl === '') return\n var url = fixupUnqualifiedGist(\n isGitHubShorthand(giturl) ? 'github:' + giturl : giturl\n )\n var parsed = parseGitUrl(url)\n var shortcutMatch = url.match(/^([^:]+):(?:[^@]+@)?(?:([^/]*)\\/)?([^#]+)/)\n var matches = Object.keys(gitHosts).map(function (gitHostName) {\n try {\n var gitHostInfo = gitHosts[gitHostName]\n var auth = null\n if (parsed.auth && authProtocols[parsed.protocol]) {\n auth = parsed.auth\n }\n var committish = parsed.hash ? decodeURIComponent(parsed.hash.substr(1)) : null\n var user = null\n var project = null\n var defaultRepresentation = null\n if (shortcutMatch && shortcutMatch[1] === gitHostName) {\n user = shortcutMatch[2] && decodeURIComponent(shortcutMatch[2])\n project = decodeURIComponent(shortcutMatch[3].replace(/\\.git$/, ''))\n defaultRepresentation = 'shortcut'\n } else {\n if (parsed.host && parsed.host !== gitHostInfo.domain && parsed.host.replace(/^www[.]/, '') !== gitHostInfo.domain) return\n if (!gitHostInfo.protocols_re.test(parsed.protocol)) return\n if (!parsed.path) return\n var pathmatch = gitHostInfo.pathmatch\n var matched = parsed.path.match(pathmatch)\n if (!matched) return\n /* istanbul ignore else */\n if (matched[1] !== null && matched[1] !== undefined) {\n user = decodeURIComponent(matched[1].replace(/^:/, ''))\n }\n project = decodeURIComponent(matched[2])\n defaultRepresentation = protocolToRepresentation(parsed.protocol)\n }\n return new GitHost(gitHostName, user, auth, project, committish, defaultRepresentation, opts)\n } catch (ex) {\n /* istanbul ignore else */\n if (ex instanceof URIError) {\n } else throw ex\n }\n }).filter(function (gitHostInfo) { return gitHostInfo })\n if (matches.length !== 1) return\n return matches[0]\n}\n\nfunction isGitHubShorthand (arg) {\n // Note: This does not fully test the git ref format.\n // See https://www.kernel.org/pub/software/scm/git/docs/git-check-ref-format.html\n //\n // The only way to do this properly would be to shell out to\n // git-check-ref-format, and as this is a fast sync function,\n // we don't want to do that. Just let git fail if it turns\n // out that the commit-ish is invalid.\n // GH usernames cannot start with . or -\n return /^[^:@%/\\s.-][^:@%/\\s]*[/][^:@\\s/%]+(?:#.*)?$/.test(arg)\n}\n\nfunction fixupUnqualifiedGist (giturl) {\n // necessary for round-tripping gists\n var parsed = url.parse(giturl)\n if (parsed.protocol === 'gist:' && parsed.host && !parsed.path) {\n return parsed.protocol + '/' + parsed.host\n } else {\n return giturl\n }\n}\n\nfunction parseGitUrl (giturl) {\n var matched = giturl.match(/^([^@]+)@([^:/]+):[/]?((?:[^/]+[/])?[^/]+?)(?:[.]git)?(#.*)?$/)\n if (!matched) {\n var legacy = url.parse(giturl)\n if (legacy.auth) {\n // git urls can be in the form of scp-style/ssh-connect strings, like\n // git+ssh://user@host.com:some/path, which the legacy url parser\n // supports, but WhatWG url.URL class does not. However, the legacy\n // parser de-urlencodes the username and password, so something like\n // https://user%3An%40me:p%40ss%3Aword@x.com/ becomes\n // https://user:n@me:p@ss:word@x.com/ which is all kinds of wrong.\n // Pull off just the auth and host, so we dont' get the confusing\n // scp-style URL, then pass that to the WhatWG parser to get the\n // auth properly escaped.\n const authmatch = giturl.match(/[^@]+@[^:/]+/)\n /* istanbul ignore else - this should be impossible */\n if (authmatch) {\n var whatwg = new url.URL(authmatch[0])\n legacy.auth = whatwg.username || ''\n if (whatwg.password) legacy.auth += ':' + whatwg.password\n }\n }\n return legacy\n }\n return {\n protocol: 'git+ssh:',\n slashes: true,\n auth: matched[1],\n host: matched[2],\n port: null,\n hostname: matched[2],\n hash: matched[4],\n search: null,\n query: null,\n pathname: '/' + matched[3],\n path: '/' + matched[3],\n href: 'git+ssh://' + matched[1] + '@' + matched[2] +\n '/' + matched[3] + (matched[4] || '')\n }\n}\n"],"names":["require$$1","require$$2","require$$3"],"mappings":";;;;;;;;;;;;EACA,IAAI,GAAG,GAAG,WAAc;EACxB,IAAI,QAAQ,GAAGA,kBAA6B,GAAA;EAC5C,IAAI,OAAO,GAAG,MAAA,CAAA,OAAA,GAAiBC,cAAwB,GAAA;EACvD,IAAI,G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,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;MAChB,MAAM,EAAE,IAAI;MACZ,KAAK,EAAE,IAAI;AACf,MAAI,QAAQ,EAAE,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC;AAC9B,MAAI,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC;AAC1B,MAAI,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC;AACtD,YAAU,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;KAC5C;AACH,GAAA;;;;;;;"}
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
import { i as imurmurhash } from '../../_virtual/imurmurhash.mjs';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @preserve
|
|
5
|
-
* JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013)
|
|
6
|
-
*
|
|
7
|
-
* @author <a href="mailto:jensyt@gmail.com">Jens Taylor</a>
|
|
8
|
-
* @see http://github.com/homebrewing/brauhaus-diff
|
|
9
|
-
* @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
|
|
10
|
-
* @see http://github.com/garycourt/murmurhash-js
|
|
11
|
-
* @author <a href="mailto:aappleby@gmail.com">Austin Appleby</a>
|
|
12
|
-
* @see http://sites.google.com/site/murmurhash/
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
(function (module) {
|
|
16
|
-
(function(){
|
|
17
|
-
var cache;
|
|
18
|
-
|
|
19
|
-
// Call this function without `new` to use the cached object (good for
|
|
20
|
-
// single-threaded environments), or with `new` to create a new object.
|
|
21
|
-
//
|
|
22
|
-
// @param {string} key A UTF-16 or ASCII string
|
|
23
|
-
// @param {number} seed An optional positive integer
|
|
24
|
-
// @return {object} A MurmurHash3 object for incremental hashing
|
|
25
|
-
function MurmurHash3(key, seed) {
|
|
26
|
-
var m = this instanceof MurmurHash3 ? this : cache;
|
|
27
|
-
m.reset(seed);
|
|
28
|
-
if (typeof key === 'string' && key.length > 0) {
|
|
29
|
-
m.hash(key);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
if (m !== this) {
|
|
33
|
-
return m;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
// Incrementally add a string to this hash
|
|
37
|
-
//
|
|
38
|
-
// @param {string} key A UTF-16 or ASCII string
|
|
39
|
-
// @return {object} this
|
|
40
|
-
MurmurHash3.prototype.hash = function(key) {
|
|
41
|
-
var h1, k1, i, top, len;
|
|
42
|
-
|
|
43
|
-
len = key.length;
|
|
44
|
-
this.len += len;
|
|
45
|
-
|
|
46
|
-
k1 = this.k1;
|
|
47
|
-
i = 0;
|
|
48
|
-
switch (this.rem) {
|
|
49
|
-
case 0: k1 ^= len > i ? (key.charCodeAt(i++) & 0xffff) : 0;
|
|
50
|
-
case 1: k1 ^= len > i ? (key.charCodeAt(i++) & 0xffff) << 8 : 0;
|
|
51
|
-
case 2: k1 ^= len > i ? (key.charCodeAt(i++) & 0xffff) << 16 : 0;
|
|
52
|
-
case 3:
|
|
53
|
-
k1 ^= len > i ? (key.charCodeAt(i) & 0xff) << 24 : 0;
|
|
54
|
-
k1 ^= len > i ? (key.charCodeAt(i++) & 0xff00) >> 8 : 0;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
this.rem = (len + this.rem) & 3; // & 3 is same as % 4
|
|
58
|
-
len -= this.rem;
|
|
59
|
-
if (len > 0) {
|
|
60
|
-
h1 = this.h1;
|
|
61
|
-
while (1) {
|
|
62
|
-
k1 = (k1 * 0x2d51 + (k1 & 0xffff) * 0xcc9e0000) & 0xffffffff;
|
|
63
|
-
k1 = (k1 << 15) | (k1 >>> 17);
|
|
64
|
-
k1 = (k1 * 0x3593 + (k1 & 0xffff) * 0x1b870000) & 0xffffffff;
|
|
65
|
-
|
|
66
|
-
h1 ^= k1;
|
|
67
|
-
h1 = (h1 << 13) | (h1 >>> 19);
|
|
68
|
-
h1 = (h1 * 5 + 0xe6546b64) & 0xffffffff;
|
|
69
|
-
|
|
70
|
-
if (i >= len) {
|
|
71
|
-
break;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
k1 = ((key.charCodeAt(i++) & 0xffff)) ^
|
|
75
|
-
((key.charCodeAt(i++) & 0xffff) << 8) ^
|
|
76
|
-
((key.charCodeAt(i++) & 0xffff) << 16);
|
|
77
|
-
top = key.charCodeAt(i++);
|
|
78
|
-
k1 ^= ((top & 0xff) << 24) ^
|
|
79
|
-
((top & 0xff00) >> 8);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
k1 = 0;
|
|
83
|
-
switch (this.rem) {
|
|
84
|
-
case 3: k1 ^= (key.charCodeAt(i + 2) & 0xffff) << 16;
|
|
85
|
-
case 2: k1 ^= (key.charCodeAt(i + 1) & 0xffff) << 8;
|
|
86
|
-
case 1: k1 ^= (key.charCodeAt(i) & 0xffff);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
this.h1 = h1;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
this.k1 = k1;
|
|
93
|
-
return this;
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
// Get the result of this hash
|
|
97
|
-
//
|
|
98
|
-
// @return {number} The 32-bit hash
|
|
99
|
-
MurmurHash3.prototype.result = function() {
|
|
100
|
-
var k1, h1;
|
|
101
|
-
|
|
102
|
-
k1 = this.k1;
|
|
103
|
-
h1 = this.h1;
|
|
104
|
-
|
|
105
|
-
if (k1 > 0) {
|
|
106
|
-
k1 = (k1 * 0x2d51 + (k1 & 0xffff) * 0xcc9e0000) & 0xffffffff;
|
|
107
|
-
k1 = (k1 << 15) | (k1 >>> 17);
|
|
108
|
-
k1 = (k1 * 0x3593 + (k1 & 0xffff) * 0x1b870000) & 0xffffffff;
|
|
109
|
-
h1 ^= k1;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
h1 ^= this.len;
|
|
113
|
-
|
|
114
|
-
h1 ^= h1 >>> 16;
|
|
115
|
-
h1 = (h1 * 0xca6b + (h1 & 0xffff) * 0x85eb0000) & 0xffffffff;
|
|
116
|
-
h1 ^= h1 >>> 13;
|
|
117
|
-
h1 = (h1 * 0xae35 + (h1 & 0xffff) * 0xc2b20000) & 0xffffffff;
|
|
118
|
-
h1 ^= h1 >>> 16;
|
|
119
|
-
|
|
120
|
-
return h1 >>> 0;
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
// Reset the hash object for reuse
|
|
124
|
-
//
|
|
125
|
-
// @param {number} seed An optional positive integer
|
|
126
|
-
MurmurHash3.prototype.reset = function(seed) {
|
|
127
|
-
this.h1 = typeof seed === 'number' ? seed : 0;
|
|
128
|
-
this.rem = this.k1 = this.len = 0;
|
|
129
|
-
return this;
|
|
130
|
-
};
|
|
131
|
-
|
|
132
|
-
// A cached object to use. This can be safely used if you're in a single-
|
|
133
|
-
// threaded environment, otherwise you need to create new hashes to use.
|
|
134
|
-
cache = new MurmurHash3();
|
|
135
|
-
|
|
136
|
-
{
|
|
137
|
-
module.exports = MurmurHash3;
|
|
138
|
-
}
|
|
139
|
-
}());
|
|
140
|
-
} (imurmurhash));
|
|
141
|
-
//# sourceMappingURL=imurmurhash.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"imurmurhash.mjs","sources":["../../../../node_modules/imurmurhash/imurmurhash.js"],"sourcesContent":["/**\n * @preserve\n * JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013)\n *\n * @author <a href=\"mailto:jensyt@gmail.com\">Jens Taylor</a>\n * @see http://github.com/homebrewing/brauhaus-diff\n * @author <a href=\"mailto:gary.court@gmail.com\">Gary Court</a>\n * @see http://github.com/garycourt/murmurhash-js\n * @author <a href=\"mailto:aappleby@gmail.com\">Austin Appleby</a>\n * @see http://sites.google.com/site/murmurhash/\n */\n(function(){\n var cache;\n\n // Call this function without `new` to use the cached object (good for\n // single-threaded environments), or with `new` to create a new object.\n //\n // @param {string} key A UTF-16 or ASCII string\n // @param {number} seed An optional positive integer\n // @return {object} A MurmurHash3 object for incremental hashing\n function MurmurHash3(key, seed) {\n var m = this instanceof MurmurHash3 ? this : cache;\n m.reset(seed)\n if (typeof key === 'string' && key.length > 0) {\n m.hash(key);\n }\n\n if (m !== this) {\n return m;\n }\n };\n\n // Incrementally add a string to this hash\n //\n // @param {string} key A UTF-16 or ASCII string\n // @return {object} this\n MurmurHash3.prototype.hash = function(key) {\n var h1, k1, i, top, len;\n\n len = key.length;\n this.len += len;\n\n k1 = this.k1;\n i = 0;\n switch (this.rem) {\n case 0: k1 ^= len > i ? (key.charCodeAt(i++) & 0xffff) : 0;\n case 1: k1 ^= len > i ? (key.charCodeAt(i++) & 0xffff) << 8 : 0;\n case 2: k1 ^= len > i ? (key.charCodeAt(i++) & 0xffff) << 16 : 0;\n case 3:\n k1 ^= len > i ? (key.charCodeAt(i) & 0xff) << 24 : 0;\n k1 ^= len > i ? (key.charCodeAt(i++) & 0xff00) >> 8 : 0;\n }\n\n this.rem = (len + this.rem) & 3; // & 3 is same as % 4\n len -= this.rem;\n if (len > 0) {\n h1 = this.h1;\n while (1) {\n k1 = (k1 * 0x2d51 + (k1 & 0xffff) * 0xcc9e0000) & 0xffffffff;\n k1 = (k1 << 15) | (k1 >>> 17);\n k1 = (k1 * 0x3593 + (k1 & 0xffff) * 0x1b870000) & 0xffffffff;\n\n h1 ^= k1;\n h1 = (h1 << 13) | (h1 >>> 19);\n h1 = (h1 * 5 + 0xe6546b64) & 0xffffffff;\n\n if (i >= len) {\n break;\n }\n\n k1 = ((key.charCodeAt(i++) & 0xffff)) ^\n ((key.charCodeAt(i++) & 0xffff) << 8) ^\n ((key.charCodeAt(i++) & 0xffff) << 16);\n top = key.charCodeAt(i++);\n k1 ^= ((top & 0xff) << 24) ^\n ((top & 0xff00) >> 8);\n }\n\n k1 = 0;\n switch (this.rem) {\n case 3: k1 ^= (key.charCodeAt(i + 2) & 0xffff) << 16;\n case 2: k1 ^= (key.charCodeAt(i + 1) & 0xffff) << 8;\n case 1: k1 ^= (key.charCodeAt(i) & 0xffff);\n }\n\n this.h1 = h1;\n }\n\n this.k1 = k1;\n return this;\n };\n\n // Get the result of this hash\n //\n // @return {number} The 32-bit hash\n MurmurHash3.prototype.result = function() {\n var k1, h1;\n \n k1 = this.k1;\n h1 = this.h1;\n\n if (k1 > 0) {\n k1 = (k1 * 0x2d51 + (k1 & 0xffff) * 0xcc9e0000) & 0xffffffff;\n k1 = (k1 << 15) | (k1 >>> 17);\n k1 = (k1 * 0x3593 + (k1 & 0xffff) * 0x1b870000) & 0xffffffff;\n h1 ^= k1;\n }\n\n h1 ^= this.len;\n\n h1 ^= h1 >>> 16;\n h1 = (h1 * 0xca6b + (h1 & 0xffff) * 0x85eb0000) & 0xffffffff;\n h1 ^= h1 >>> 13;\n h1 = (h1 * 0xae35 + (h1 & 0xffff) * 0xc2b20000) & 0xffffffff;\n h1 ^= h1 >>> 16;\n\n return h1 >>> 0;\n };\n\n // Reset the hash object for reuse\n //\n // @param {number} seed An optional positive integer\n MurmurHash3.prototype.reset = function(seed) {\n this.h1 = typeof seed === 'number' ? seed : 0;\n this.rem = this.k1 = this.len = 0;\n return this;\n };\n\n // A cached object to use. This can be safely used if you're in a single-\n // threaded environment, otherwise you need to create new hashes to use.\n cache = new MurmurHash3();\n\n if (typeof(module) != 'undefined') {\n module.exports = MurmurHash3;\n } else {\n this.MurmurHash3 = MurmurHash3;\n }\n}());\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAWA,CAAA,CAAC,UAAU;KACP,IAAI,KAAK,CAAC;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAI,SAAS,WAAW,CAAC,GAAG,EAAE,IAAI,EAAE;SAC5B,IAAI,CAAC,GAAG,IAAI,YAAY,WAAW,GAAG,IAAI,GAAG,KAAK,CAAC;AAC3D,SAAQ,CAAC,CAAC,KAAK,CAAC,IAAI,EAAC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