@umijs/utils 3.5.20 → 4.0.0-beta.1

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.
Files changed (208) hide show
  1. package/README.md +2 -0
  2. package/compiled/address/index.js +1 -0
  3. package/compiled/address/lib/address.d.ts +28 -0
  4. package/compiled/address/package.json +1 -0
  5. package/compiled/axios/LICENSE +19 -0
  6. package/compiled/axios/index.d.ts +206 -0
  7. package/compiled/axios/index.js +1 -0
  8. package/compiled/axios/package.json +1 -0
  9. package/compiled/chalk/LICENSE +9 -0
  10. package/compiled/chalk/index.d.ts +415 -0
  11. package/compiled/chalk/index.js +1 -0
  12. package/compiled/chalk/package.json +1 -0
  13. package/compiled/cheerio/LICENSE +21 -0
  14. package/compiled/cheerio/domelementtype/lib/index.d.ts +48 -0
  15. package/compiled/cheerio/domhandler/lib/index.d.ts +85 -0
  16. package/compiled/cheerio/domhandler/lib/node.d.ts +169 -0
  17. package/compiled/cheerio/htmlparser2/lib/Parser.d.ts +159 -0
  18. package/compiled/cheerio/htmlparser2/lib/Tokenizer.d.ts +182 -0
  19. package/compiled/cheerio/htmlparser2/lib/index.d.ts +39 -0
  20. package/compiled/cheerio/index.js +16 -0
  21. package/compiled/cheerio/lib/api/attributes.d.ts +317 -0
  22. package/compiled/cheerio/lib/api/css.d.ts +41 -0
  23. package/compiled/cheerio/lib/api/forms.d.ts +31 -0
  24. package/compiled/cheerio/lib/api/manipulation.d.ts +496 -0
  25. package/compiled/cheerio/lib/api/traversing.d.ts +644 -0
  26. package/compiled/cheerio/lib/cheerio.d.ts +53 -0
  27. package/compiled/cheerio/lib/index.d.ts +91 -0
  28. package/compiled/cheerio/lib/load.d.ts +73 -0
  29. package/compiled/cheerio/lib/options.d.ts +31 -0
  30. package/compiled/cheerio/lib/static.d.ts +88 -0
  31. package/compiled/cheerio/lib/types.d.ts +20 -0
  32. package/compiled/cheerio/package.json +1 -0
  33. package/compiled/color/LICENSE +21 -0
  34. package/compiled/color/color-convert/conversions.d.ts +149 -0
  35. package/compiled/color/color-convert/index.d.ts +113 -0
  36. package/compiled/color/color-convert/route.d.ts +294 -0
  37. package/compiled/color/color-name/index.d.ts +161 -0
  38. package/compiled/color/index.d.ts +142 -0
  39. package/compiled/color/index.js +1 -0
  40. package/compiled/color/package.json +4 -0
  41. package/compiled/cross-spawn/LICENSE +21 -0
  42. package/compiled/cross-spawn/index.d.ts +36 -0
  43. package/compiled/cross-spawn/index.js +1 -0
  44. package/compiled/cross-spawn/package.json +1 -0
  45. package/compiled/debug/LICENSE +19 -0
  46. package/compiled/debug/index.d.ts +54 -0
  47. package/compiled/debug/index.js +1 -0
  48. package/compiled/debug/ms/index.d.ts +25 -0
  49. package/compiled/debug/package.json +1 -0
  50. package/compiled/fs-extra/LICENSE +15 -0
  51. package/compiled/fs-extra/index.d.ts +332 -0
  52. package/compiled/fs-extra/index.js +1 -0
  53. package/compiled/fs-extra/package.json +1 -0
  54. package/compiled/glob/LICENSE +21 -0
  55. package/compiled/glob/index.d.ts +89 -0
  56. package/compiled/glob/index.js +1 -0
  57. package/compiled/glob/minimatch/index.d.ts +204 -0
  58. package/compiled/glob/package.json +1 -0
  59. package/compiled/import-lazy/LICENSE +9 -0
  60. package/compiled/import-lazy/index.d.ts +26 -0
  61. package/compiled/import-lazy/index.js +1 -0
  62. package/compiled/import-lazy/package.json +1 -0
  63. package/compiled/lodash/LICENSE +47 -0
  64. package/compiled/lodash/common/array.d.ts +2126 -0
  65. package/compiled/lodash/common/collection.d.ts +1930 -0
  66. package/compiled/lodash/common/common.d.ts +280 -0
  67. package/compiled/lodash/common/date.d.ts +23 -0
  68. package/compiled/lodash/common/function.d.ts +1430 -0
  69. package/compiled/lodash/common/lang.d.ts +1692 -0
  70. package/compiled/lodash/common/math.d.ts +405 -0
  71. package/compiled/lodash/common/number.d.ts +131 -0
  72. package/compiled/lodash/common/object.d.ts +2519 -0
  73. package/compiled/lodash/common/seq.d.ts +210 -0
  74. package/compiled/lodash/common/string.d.ts +788 -0
  75. package/compiled/lodash/common/util.d.ts +1219 -0
  76. package/compiled/lodash/index.d.ts +46 -0
  77. package/compiled/lodash/index.js +9 -0
  78. package/compiled/lodash/package.json +1 -0
  79. package/compiled/mustache/LICENSE +11 -0
  80. package/compiled/mustache/index.d.ts +437 -0
  81. package/compiled/mustache/index.js +5 -0
  82. package/compiled/mustache/package.json +1 -0
  83. package/compiled/pkg-up/LICENSE +9 -0
  84. package/compiled/pkg-up/index.d.ts +48 -0
  85. package/compiled/pkg-up/index.js +1 -0
  86. package/compiled/pkg-up/package.json +1 -0
  87. package/compiled/portfinder/LICENSE +22 -0
  88. package/compiled/portfinder/index.js +1 -0
  89. package/compiled/portfinder/lib/portfinder.d.ts +47 -0
  90. package/compiled/portfinder/package.json +1 -0
  91. package/compiled/prettier/LICENSE +7 -0
  92. package/compiled/prettier/index.d.ts +867 -0
  93. package/compiled/prettier/index.js +475 -0
  94. package/compiled/prettier/package.json +5 -0
  95. package/compiled/prompts/LICENSE +21 -0
  96. package/compiled/prompts/index.d.ts +120 -0
  97. package/compiled/prompts/index.js +1 -0
  98. package/compiled/prompts/package.json +1 -0
  99. package/compiled/resolve/LICENSE +21 -0
  100. package/compiled/resolve/index.d.ts +166 -0
  101. package/compiled/resolve/index.js +1 -0
  102. package/compiled/resolve/package.json +1 -0
  103. package/compiled/rimraf/LICENSE +15 -0
  104. package/compiled/rimraf/glob/index.d.ts +89 -0
  105. package/compiled/rimraf/index.d.ts +49 -0
  106. package/compiled/rimraf/index.js +1 -0
  107. package/compiled/rimraf/minimatch/index.d.ts +204 -0
  108. package/compiled/rimraf/package.json +1 -0
  109. package/compiled/semver/LICENSE +15 -0
  110. package/compiled/semver/classes/comparator.d.ts +17 -0
  111. package/compiled/semver/classes/range.d.ts +21 -0
  112. package/compiled/semver/classes/semver.d.ts +62 -0
  113. package/compiled/semver/functions/clean.d.ts +8 -0
  114. package/compiled/semver/functions/cmp.d.ts +16 -0
  115. package/compiled/semver/functions/coerce.d.ts +12 -0
  116. package/compiled/semver/functions/compare-build.d.ts +16 -0
  117. package/compiled/semver/functions/compare-loose.d.ts +5 -0
  118. package/compiled/semver/functions/compare.d.ts +20 -0
  119. package/compiled/semver/functions/diff.d.ts +13 -0
  120. package/compiled/semver/functions/eq.d.ts +9 -0
  121. package/compiled/semver/functions/gt.d.ts +9 -0
  122. package/compiled/semver/functions/gte.d.ts +9 -0
  123. package/compiled/semver/functions/inc.d.ts +15 -0
  124. package/compiled/semver/functions/lt.d.ts +9 -0
  125. package/compiled/semver/functions/lte.d.ts +8 -0
  126. package/compiled/semver/functions/major.d.ts +9 -0
  127. package/compiled/semver/functions/minor.d.ts +9 -0
  128. package/compiled/semver/functions/neq.d.ts +9 -0
  129. package/compiled/semver/functions/parse.d.ts +12 -0
  130. package/compiled/semver/functions/patch.d.ts +9 -0
  131. package/compiled/semver/functions/prerelease.d.ts +12 -0
  132. package/compiled/semver/functions/rcompare.d.ts +15 -0
  133. package/compiled/semver/functions/rsort.d.ts +9 -0
  134. package/compiled/semver/functions/satisfies.d.ts +14 -0
  135. package/compiled/semver/functions/sort.d.ts +9 -0
  136. package/compiled/semver/functions/valid.d.ts +11 -0
  137. package/compiled/semver/index.d.ts +133 -0
  138. package/compiled/semver/index.js +1 -0
  139. package/compiled/semver/internals/identifiers.d.ts +13 -0
  140. package/compiled/semver/package.json +1 -0
  141. package/compiled/semver/ranges/gtr.d.ts +14 -0
  142. package/compiled/semver/ranges/intersects.d.ts +13 -0
  143. package/compiled/semver/ranges/ltr.d.ts +14 -0
  144. package/compiled/semver/ranges/max-satisfying.d.ts +14 -0
  145. package/compiled/semver/ranges/min-satisfying.d.ts +14 -0
  146. package/compiled/semver/ranges/min-version.d.ts +10 -0
  147. package/compiled/semver/ranges/outside.d.ts +15 -0
  148. package/compiled/semver/ranges/simplify.d.ts +14 -0
  149. package/compiled/semver/ranges/subset.d.ts +13 -0
  150. package/compiled/semver/ranges/to-comparators.d.ts +9 -0
  151. package/compiled/semver/ranges/valid.d.ts +12 -0
  152. package/compiled/strip-ansi/LICENSE +9 -0
  153. package/compiled/strip-ansi/index.d.ts +17 -0
  154. package/compiled/strip-ansi/index.js +1 -0
  155. package/compiled/strip-ansi/package.json +1 -0
  156. package/compiled/yargs-parser/index.d.ts +112 -0
  157. package/compiled/yargs-parser/index.js +1 -0
  158. package/compiled/yargs-parser/package.json +1 -0
  159. package/dist/BaseGenerator/BaseGenerator.d.ts +18 -0
  160. package/dist/BaseGenerator/BaseGenerator.js +58 -0
  161. package/{lib → dist}/Generator/Generator.d.ts +3 -3
  162. package/dist/Generator/Generator.js +74 -0
  163. package/dist/importLazy.d.ts +6 -0
  164. package/dist/importLazy.js +17 -0
  165. package/dist/index.d.ts +28 -0
  166. package/dist/index.js +79 -0
  167. package/dist/logger.d.ts +14 -0
  168. package/dist/logger.js +39 -0
  169. package/dist/randomColor/randomColor.d.ts +6 -0
  170. package/dist/randomColor/randomColor.js +19 -0
  171. package/dist/register.d.ts +6 -0
  172. package/dist/register.js +47 -0
  173. package/dist/winPath.d.ts +1 -0
  174. package/dist/winPath.js +11 -0
  175. package/package.json +92 -12
  176. package/lib/BabelRegister/BabelRegister.d.ts +0 -9
  177. package/lib/BabelRegister/BabelRegister.js +0 -66
  178. package/lib/Generator/Generator.js +0 -120
  179. package/lib/cheerio/cheerio.d.ts +0 -2
  180. package/lib/cheerio/cheerio.js +0 -37
  181. package/lib/cleanRequireCache/cleanRequireCache.d.ts +0 -1
  182. package/lib/cleanRequireCache/cleanRequireCache.js +0 -40
  183. package/lib/compatESModuleRequire/compatESModuleRequire.d.ts +0 -7
  184. package/lib/compatESModuleRequire/compatESModuleRequire.js +0 -22
  185. package/lib/delay/delay.d.ts +0 -1
  186. package/lib/delay/delay.js +0 -22
  187. package/lib/getFile/getFile.d.ts +0 -22
  188. package/lib/getFile/getFile.js +0 -85
  189. package/lib/index.d.ts +0 -66
  190. package/lib/index.js +0 -619
  191. package/lib/isLernaPackage/isLernaPackage.d.ts +0 -1
  192. package/lib/isLernaPackage/isLernaPackage.js +0 -42
  193. package/lib/mergeConfig/mergeConfig.d.ts +0 -8
  194. package/lib/mergeConfig/mergeConfig.js +0 -42
  195. package/lib/parseRequireDeps/parseRequireDeps.d.ts +0 -1
  196. package/lib/parseRequireDeps/parseRequireDeps.js +0 -98
  197. package/lib/randomColor/randomColor.d.ts +0 -6
  198. package/lib/randomColor/randomColor.js +0 -42
  199. package/lib/routes.d.ts +0 -11
  200. package/lib/routes.js +0 -53
  201. package/lib/ssr.d.ts +0 -12
  202. package/lib/ssr.js +0 -41
  203. package/lib/types.d.ts +0 -7
  204. package/lib/types.js +0 -17
  205. package/lib/winEOL/winEOL.d.ts +0 -7
  206. package/lib/winEOL/winEOL.js +0 -39
  207. package/lib/winPath/winPath.d.ts +0 -1
  208. package/lib/winPath/winPath.js +0 -28
@@ -0,0 +1 @@
1
+ (function(){var e={317:function(e,t,r){"use strict";const n=r(550);const i=r(622);const o=r(581).mkdirsSync;const c=r(263).utimesMillisSync;const s=r(881);function copySync(e,t,r){if(typeof r==="function"){r={filter:r}}r=r||{};r.clobber="clobber"in r?!!r.clobber:true;r.overwrite="overwrite"in r?!!r.overwrite:r.clobber;if(r.preserveTimestamps&&process.arch==="ia32"){console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;\n\n see https://github.com/jprichardson/node-fs-extra/issues/269`)}const{srcStat:n,destStat:i}=s.checkPathsSync(e,t,"copy",r);s.checkParentPathsSync(e,n,t,"copy");return handleFilterAndCopy(i,e,t,r)}function handleFilterAndCopy(e,t,r,c){if(c.filter&&!c.filter(t,r))return;const s=i.dirname(r);if(!n.existsSync(s))o(s);return getStats(e,t,r,c)}function startCopy(e,t,r,n){if(n.filter&&!n.filter(t,r))return;return getStats(e,t,r,n)}function getStats(e,t,r,i){const o=i.dereference?n.statSync:n.lstatSync;const c=o(t);if(c.isDirectory())return onDir(c,e,t,r,i);else if(c.isFile()||c.isCharacterDevice()||c.isBlockDevice())return onFile(c,e,t,r,i);else if(c.isSymbolicLink())return onLink(e,t,r,i);else if(c.isSocket())throw new Error(`Cannot copy a socket file: ${t}`);else if(c.isFIFO())throw new Error(`Cannot copy a FIFO pipe: ${t}`);throw new Error(`Unknown file: ${t}`)}function onFile(e,t,r,n,i){if(!t)return copyFile(e,r,n,i);return mayCopyFile(e,r,n,i)}function mayCopyFile(e,t,r,i){if(i.overwrite){n.unlinkSync(r);return copyFile(e,t,r,i)}else if(i.errorOnExist){throw new Error(`'${r}' already exists`)}}function copyFile(e,t,r,i){n.copyFileSync(t,r);if(i.preserveTimestamps)handleTimestamps(e.mode,t,r);return setDestMode(r,e.mode)}function handleTimestamps(e,t,r){if(fileIsNotWritable(e))makeFileWritable(r,e);return setDestTimestamps(t,r)}function fileIsNotWritable(e){return(e&128)===0}function makeFileWritable(e,t){return setDestMode(e,t|128)}function setDestMode(e,t){return n.chmodSync(e,t)}function setDestTimestamps(e,t){const r=n.statSync(e);return c(t,r.atime,r.mtime)}function onDir(e,t,r,n,i){if(!t)return mkDirAndCopy(e.mode,r,n,i);return copyDir(r,n,i)}function mkDirAndCopy(e,t,r,i){n.mkdirSync(r);copyDir(t,r,i);return setDestMode(r,e)}function copyDir(e,t,r){n.readdirSync(e).forEach((n=>copyDirItem(n,e,t,r)))}function copyDirItem(e,t,r,n){const o=i.join(t,e);const c=i.join(r,e);const{destStat:a}=s.checkPathsSync(o,c,"copy",n);return startCopy(a,o,c,n)}function onLink(e,t,r,o){let c=n.readlinkSync(t);if(o.dereference){c=i.resolve(process.cwd(),c)}if(!e){return n.symlinkSync(c,r)}else{let e;try{e=n.readlinkSync(r)}catch(e){if(e.code==="EINVAL"||e.code==="UNKNOWN")return n.symlinkSync(c,r);throw e}if(o.dereference){e=i.resolve(process.cwd(),e)}if(s.isSrcSubdir(c,e)){throw new Error(`Cannot copy '${c}' to a subdirectory of itself, '${e}'.`)}if(n.statSync(r).isDirectory()&&s.isSrcSubdir(e,c)){throw new Error(`Cannot overwrite '${e}' with '${c}'.`)}return copyLink(c,r)}}function copyLink(e,t){n.unlinkSync(t);return n.symlinkSync(e,t)}e.exports=copySync},434:function(e,t,r){"use strict";e.exports={copySync:r(317)}},330:function(e,t,r){"use strict";const n=r(550);const i=r(622);const o=r(581).mkdirs;const c=r(878).pathExists;const s=r(263).utimesMillis;const a=r(881);function copy(e,t,r,n){if(typeof r==="function"&&!n){n=r;r={}}else if(typeof r==="function"){r={filter:r}}n=n||function(){};r=r||{};r.clobber="clobber"in r?!!r.clobber:true;r.overwrite="overwrite"in r?!!r.overwrite:r.clobber;if(r.preserveTimestamps&&process.arch==="ia32"){console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;\n\n see https://github.com/jprichardson/node-fs-extra/issues/269`)}a.checkPaths(e,t,"copy",r,((i,o)=>{if(i)return n(i);const{srcStat:c,destStat:s}=o;a.checkParentPaths(e,c,t,"copy",(i=>{if(i)return n(i);if(r.filter)return handleFilter(checkParentDir,s,e,t,r,n);return checkParentDir(s,e,t,r,n)}))}))}function checkParentDir(e,t,r,n,s){const a=i.dirname(r);c(a,((i,c)=>{if(i)return s(i);if(c)return getStats(e,t,r,n,s);o(a,(i=>{if(i)return s(i);return getStats(e,t,r,n,s)}))}))}function handleFilter(e,t,r,n,i,o){Promise.resolve(i.filter(r,n)).then((c=>{if(c)return e(t,r,n,i,o);return o()}),(e=>o(e)))}function startCopy(e,t,r,n,i){if(n.filter)return handleFilter(getStats,e,t,r,n,i);return getStats(e,t,r,n,i)}function getStats(e,t,r,i,o){const c=i.dereference?n.stat:n.lstat;c(t,((n,c)=>{if(n)return o(n);if(c.isDirectory())return onDir(c,e,t,r,i,o);else if(c.isFile()||c.isCharacterDevice()||c.isBlockDevice())return onFile(c,e,t,r,i,o);else if(c.isSymbolicLink())return onLink(e,t,r,i,o);else if(c.isSocket())return o(new Error(`Cannot copy a socket file: ${t}`));else if(c.isFIFO())return o(new Error(`Cannot copy a FIFO pipe: ${t}`));return o(new Error(`Unknown file: ${t}`))}))}function onFile(e,t,r,n,i,o){if(!t)return copyFile(e,r,n,i,o);return mayCopyFile(e,r,n,i,o)}function mayCopyFile(e,t,r,i,o){if(i.overwrite){n.unlink(r,(n=>{if(n)return o(n);return copyFile(e,t,r,i,o)}))}else if(i.errorOnExist){return o(new Error(`'${r}' already exists`))}else return o()}function copyFile(e,t,r,i,o){n.copyFile(t,r,(n=>{if(n)return o(n);if(i.preserveTimestamps)return handleTimestampsAndMode(e.mode,t,r,o);return setDestMode(r,e.mode,o)}))}function handleTimestampsAndMode(e,t,r,n){if(fileIsNotWritable(e)){return makeFileWritable(r,e,(i=>{if(i)return n(i);return setDestTimestampsAndMode(e,t,r,n)}))}return setDestTimestampsAndMode(e,t,r,n)}function fileIsNotWritable(e){return(e&128)===0}function makeFileWritable(e,t,r){return setDestMode(e,t|128,r)}function setDestTimestampsAndMode(e,t,r,n){setDestTimestamps(t,r,(t=>{if(t)return n(t);return setDestMode(r,e,n)}))}function setDestMode(e,t,r){return n.chmod(e,t,r)}function setDestTimestamps(e,t,r){n.stat(e,((e,n)=>{if(e)return r(e);return s(t,n.atime,n.mtime,r)}))}function onDir(e,t,r,n,i,o){if(!t)return mkDirAndCopy(e.mode,r,n,i,o);return copyDir(r,n,i,o)}function mkDirAndCopy(e,t,r,i,o){n.mkdir(r,(n=>{if(n)return o(n);copyDir(t,r,i,(t=>{if(t)return o(t);return setDestMode(r,e,o)}))}))}function copyDir(e,t,r,i){n.readdir(e,((n,o)=>{if(n)return i(n);return copyDirItems(o,e,t,r,i)}))}function copyDirItems(e,t,r,n,i){const o=e.pop();if(!o)return i();return copyDirItem(e,o,t,r,n,i)}function copyDirItem(e,t,r,n,o,c){const s=i.join(r,t);const u=i.join(n,t);a.checkPaths(s,u,"copy",o,((t,i)=>{if(t)return c(t);const{destStat:a}=i;startCopy(a,s,u,o,(t=>{if(t)return c(t);return copyDirItems(e,r,n,o,c)}))}))}function onLink(e,t,r,o,c){n.readlink(t,((t,s)=>{if(t)return c(t);if(o.dereference){s=i.resolve(process.cwd(),s)}if(!e){return n.symlink(s,r,c)}else{n.readlink(r,((t,u)=>{if(t){if(t.code==="EINVAL"||t.code==="UNKNOWN")return n.symlink(s,r,c);return c(t)}if(o.dereference){u=i.resolve(process.cwd(),u)}if(a.isSrcSubdir(s,u)){return c(new Error(`Cannot copy '${s}' to a subdirectory of itself, '${u}'.`))}if(e.isDirectory()&&a.isSrcSubdir(u,s)){return c(new Error(`Cannot overwrite '${u}' with '${s}'.`))}return copyLink(s,r,c)}))}}))}function copyLink(e,t,r){n.unlink(t,(i=>{if(i)return r(i);return n.symlink(e,t,r)}))}e.exports=copy},666:function(e,t,r){"use strict";const n=r(761).fromCallback;e.exports={copy:n(r(330))}},403:function(e,t,r){"use strict";const n=r(761).fromPromise;const i=r(882);const o=r(622);const c=r(581);const s=r(538);const a=n((async function emptyDir(e){let t;try{t=await i.readdir(e)}catch{return c.mkdirs(e)}return Promise.all(t.map((t=>s.remove(o.join(e,t)))))}));function emptyDirSync(e){let t;try{t=i.readdirSync(e)}catch{return c.mkdirsSync(e)}t.forEach((t=>{t=o.join(e,t);s.removeSync(t)}))}e.exports={emptyDirSync:emptyDirSync,emptydirSync:emptyDirSync,emptyDir:a,emptydir:a}},730:function(e,t,r){"use strict";const n=r(761).fromCallback;const i=r(622);const o=r(550);const c=r(581);function createFile(e,t){function makeFile(){o.writeFile(e,"",(e=>{if(e)return t(e);t()}))}o.stat(e,((r,n)=>{if(!r&&n.isFile())return t();const s=i.dirname(e);o.stat(s,((e,r)=>{if(e){if(e.code==="ENOENT"){return c.mkdirs(s,(e=>{if(e)return t(e);makeFile()}))}return t(e)}if(r.isDirectory())makeFile();else{o.readdir(s,(e=>{if(e)return t(e)}))}}))}))}function createFileSync(e){let t;try{t=o.statSync(e)}catch{}if(t&&t.isFile())return;const r=i.dirname(e);try{if(!o.statSync(r).isDirectory()){o.readdirSync(r)}}catch(e){if(e&&e.code==="ENOENT")c.mkdirsSync(r);else throw e}o.writeFileSync(e,"")}e.exports={createFile:n(createFile),createFileSync:createFileSync}},215:function(e,t,r){"use strict";const n=r(730);const i=r(181);const o=r(807);e.exports={createFile:n.createFile,createFileSync:n.createFileSync,ensureFile:n.createFile,ensureFileSync:n.createFileSync,createLink:i.createLink,createLinkSync:i.createLinkSync,ensureLink:i.createLink,ensureLinkSync:i.createLinkSync,createSymlink:o.createSymlink,createSymlinkSync:o.createSymlinkSync,ensureSymlink:o.createSymlink,ensureSymlinkSync:o.createSymlinkSync}},181:function(e,t,r){"use strict";const n=r(761).fromCallback;const i=r(622);const o=r(550);const c=r(581);const s=r(878).pathExists;const{areIdentical:a}=r(881);function createLink(e,t,r){function makeLink(e,t){o.link(e,t,(e=>{if(e)return r(e);r(null)}))}o.lstat(t,((n,u)=>{o.lstat(e,((n,o)=>{if(n){n.message=n.message.replace("lstat","ensureLink");return r(n)}if(u&&a(o,u))return r(null);const f=i.dirname(t);s(f,((n,i)=>{if(n)return r(n);if(i)return makeLink(e,t);c.mkdirs(f,(n=>{if(n)return r(n);makeLink(e,t)}))}))}))}))}function createLinkSync(e,t){let r;try{r=o.lstatSync(t)}catch{}try{const t=o.lstatSync(e);if(r&&a(t,r))return}catch(e){e.message=e.message.replace("lstat","ensureLink");throw e}const n=i.dirname(t);const s=o.existsSync(n);if(s)return o.linkSync(e,t);c.mkdirsSync(n);return o.linkSync(e,t)}e.exports={createLink:n(createLink),createLinkSync:createLinkSync}},670:function(e,t,r){"use strict";const n=r(622);const i=r(550);const o=r(878).pathExists;function symlinkPaths(e,t,r){if(n.isAbsolute(e)){return i.lstat(e,(t=>{if(t){t.message=t.message.replace("lstat","ensureSymlink");return r(t)}return r(null,{toCwd:e,toDst:e})}))}else{const c=n.dirname(t);const s=n.join(c,e);return o(s,((t,o)=>{if(t)return r(t);if(o){return r(null,{toCwd:s,toDst:e})}else{return i.lstat(e,(t=>{if(t){t.message=t.message.replace("lstat","ensureSymlink");return r(t)}return r(null,{toCwd:e,toDst:n.relative(c,e)})}))}}))}}function symlinkPathsSync(e,t){let r;if(n.isAbsolute(e)){r=i.existsSync(e);if(!r)throw new Error("absolute srcpath does not exist");return{toCwd:e,toDst:e}}else{const o=n.dirname(t);const c=n.join(o,e);r=i.existsSync(c);if(r){return{toCwd:c,toDst:e}}else{r=i.existsSync(e);if(!r)throw new Error("relative srcpath does not exist");return{toCwd:e,toDst:n.relative(o,e)}}}}e.exports={symlinkPaths:symlinkPaths,symlinkPathsSync:symlinkPathsSync}},994:function(e,t,r){"use strict";const n=r(550);function symlinkType(e,t,r){r=typeof t==="function"?t:r;t=typeof t==="function"?false:t;if(t)return r(null,t);n.lstat(e,((e,n)=>{if(e)return r(null,"file");t=n&&n.isDirectory()?"dir":"file";r(null,t)}))}function symlinkTypeSync(e,t){let r;if(t)return t;try{r=n.lstatSync(e)}catch{return"file"}return r&&r.isDirectory()?"dir":"file"}e.exports={symlinkType:symlinkType,symlinkTypeSync:symlinkTypeSync}},807:function(e,t,r){"use strict";const n=r(761).fromCallback;const i=r(622);const o=r(882);const c=r(581);const s=c.mkdirs;const a=c.mkdirsSync;const u=r(670);const f=u.symlinkPaths;const l=u.symlinkPathsSync;const y=r(994);const d=y.symlinkType;const m=y.symlinkTypeSync;const p=r(878).pathExists;const{areIdentical:h}=r(881);function createSymlink(e,t,r,n){n=typeof r==="function"?r:n;r=typeof r==="function"?false:r;o.lstat(t,((i,c)=>{if(!i&&c.isSymbolicLink()){Promise.all([o.stat(e),o.stat(t)]).then((([i,o])=>{if(h(i,o))return n(null);_createSymlink(e,t,r,n)}))}else _createSymlink(e,t,r,n)}))}function _createSymlink(e,t,r,n){f(e,t,((c,a)=>{if(c)return n(c);e=a.toDst;d(a.toCwd,r,((r,c)=>{if(r)return n(r);const a=i.dirname(t);p(a,((r,i)=>{if(r)return n(r);if(i)return o.symlink(e,t,c,n);s(a,(r=>{if(r)return n(r);o.symlink(e,t,c,n)}))}))}))}))}function createSymlinkSync(e,t,r){let n;try{n=o.lstatSync(t)}catch{}if(n&&n.isSymbolicLink()){const r=o.statSync(e);const n=o.statSync(t);if(h(r,n))return}const c=l(e,t);e=c.toDst;r=m(c.toCwd,r);const s=i.dirname(t);const u=o.existsSync(s);if(u)return o.symlinkSync(e,t,r);a(s);return o.symlinkSync(e,t,r)}e.exports={createSymlink:n(createSymlink),createSymlinkSync:createSymlinkSync}},882:function(e,t,r){"use strict";const n=r(761).fromCallback;const i=r(550);const o=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","opendir","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter((e=>typeof i[e]==="function"));Object.assign(t,i);o.forEach((e=>{t[e]=n(i[e])}));t.realpath.native=n(i.realpath.native);t.exists=function(e,t){if(typeof t==="function"){return i.exists(e,t)}return new Promise((t=>i.exists(e,t)))};t.read=function(e,t,r,n,o,c){if(typeof c==="function"){return i.read(e,t,r,n,o,c)}return new Promise(((c,s)=>{i.read(e,t,r,n,o,((e,t,r)=>{if(e)return s(e);c({bytesRead:t,buffer:r})}))}))};t.write=function(e,t,...r){if(typeof r[r.length-1]==="function"){return i.write(e,t,...r)}return new Promise(((n,o)=>{i.write(e,t,...r,((e,t,r)=>{if(e)return o(e);n({bytesWritten:t,buffer:r})}))}))};if(typeof i.writev==="function"){t.writev=function(e,t,...r){if(typeof r[r.length-1]==="function"){return i.writev(e,t,...r)}return new Promise(((n,o)=>{i.writev(e,t,...r,((e,t,r)=>{if(e)return o(e);n({bytesWritten:t,buffers:r})}))}))}}},692:function(e,t,r){"use strict";e.exports={...r(882),...r(434),...r(666),...r(403),...r(215),...r(751),...r(581),...r(199),...r(396),...r(300),...r(878),...r(538)}},751:function(e,t,r){"use strict";const n=r(761).fromPromise;const i=r(885);i.outputJson=n(r(261));i.outputJsonSync=r(507);i.outputJSON=i.outputJson;i.outputJSONSync=i.outputJsonSync;i.writeJSON=i.writeJson;i.writeJSONSync=i.writeJsonSync;i.readJSON=i.readJson;i.readJSONSync=i.readJsonSync;e.exports=i},885:function(e,t,r){"use strict";const n=r(349);e.exports={readJson:n.readFile,readJsonSync:n.readFileSync,writeJson:n.writeFile,writeJsonSync:n.writeFileSync}},507:function(e,t,r){"use strict";const{stringify:n}=r(209);const{outputFileSync:i}=r(300);function outputJsonSync(e,t,r){const o=n(t,r);i(e,o,r)}e.exports=outputJsonSync},261:function(e,t,r){"use strict";const{stringify:n}=r(209);const{outputFile:i}=r(300);async function outputJson(e,t,r={}){const o=n(t,r);await i(e,o,r)}e.exports=outputJson},581:function(e,t,r){"use strict";const n=r(761).fromPromise;const{makeDir:i,makeDirSync:o}=r(242);const c=n(i);e.exports={mkdirs:c,mkdirsSync:o,mkdirp:c,mkdirpSync:o,ensureDir:c,ensureDirSync:o}},242:function(e,t,r){"use strict";const n=r(882);const{checkPath:i}=r(790);const getMode=e=>{const t={mode:511};if(typeof e==="number")return e;return{...t,...e}.mode};e.exports.makeDir=async(e,t)=>{i(e);return n.mkdir(e,{mode:getMode(t),recursive:true})};e.exports.makeDirSync=(e,t)=>{i(e);return n.mkdirSync(e,{mode:getMode(t),recursive:true})}},790:function(e,t,r){"use strict";const n=r(622);e.exports.checkPath=function checkPath(e){if(process.platform==="win32"){const t=/[<>:"|?*]/.test(e.replace(n.parse(e).root,""));if(t){const t=new Error(`Path contains invalid characters: ${e}`);t.code="EINVAL";throw t}}}},199:function(e,t,r){"use strict";e.exports={moveSync:r(402)}},402:function(e,t,r){"use strict";const n=r(550);const i=r(622);const o=r(434).copySync;const c=r(538).removeSync;const s=r(581).mkdirpSync;const a=r(881);function moveSync(e,t,r){r=r||{};const n=r.overwrite||r.clobber||false;const{srcStat:o,isChangingCase:c=false}=a.checkPathsSync(e,t,"move",r);a.checkParentPathsSync(e,o,t,"move");if(!isParentRoot(t))s(i.dirname(t));return doRename(e,t,n,c)}function isParentRoot(e){const t=i.dirname(e);const r=i.parse(t);return r.root===t}function doRename(e,t,r,i){if(i)return rename(e,t,r);if(r){c(t);return rename(e,t,r)}if(n.existsSync(t))throw new Error("dest already exists.");return rename(e,t,r)}function rename(e,t,r){try{n.renameSync(e,t)}catch(n){if(n.code!=="EXDEV")throw n;return moveAcrossDevice(e,t,r)}}function moveAcrossDevice(e,t,r){const n={overwrite:r,errorOnExist:true};o(e,t,n);return c(e)}e.exports=moveSync},396:function(e,t,r){"use strict";const n=r(761).fromCallback;e.exports={move:n(r(637))}},637:function(e,t,r){"use strict";const n=r(550);const i=r(622);const o=r(666).copy;const c=r(538).remove;const s=r(581).mkdirp;const a=r(878).pathExists;const u=r(881);function move(e,t,r,n){if(typeof r==="function"){n=r;r={}}const o=r.overwrite||r.clobber||false;u.checkPaths(e,t,"move",r,((r,c)=>{if(r)return n(r);const{srcStat:a,isChangingCase:f=false}=c;u.checkParentPaths(e,a,t,"move",(r=>{if(r)return n(r);if(isParentRoot(t))return doRename(e,t,o,f,n);s(i.dirname(t),(r=>{if(r)return n(r);return doRename(e,t,o,f,n)}))}))}))}function isParentRoot(e){const t=i.dirname(e);const r=i.parse(t);return r.root===t}function doRename(e,t,r,n,i){if(n)return rename(e,t,r,i);if(r){return c(t,(n=>{if(n)return i(n);return rename(e,t,r,i)}))}a(t,((n,o)=>{if(n)return i(n);if(o)return i(new Error("dest already exists."));return rename(e,t,r,i)}))}function rename(e,t,r,i){n.rename(e,t,(n=>{if(!n)return i();if(n.code!=="EXDEV")return i(n);return moveAcrossDevice(e,t,r,i)}))}function moveAcrossDevice(e,t,r,n){const i={overwrite:r,errorOnExist:true};o(e,t,i,(t=>{if(t)return n(t);return c(e,n)}))}e.exports=move},300:function(e,t,r){"use strict";const n=r(761).fromCallback;const i=r(550);const o=r(622);const c=r(581);const s=r(878).pathExists;function outputFile(e,t,r,n){if(typeof r==="function"){n=r;r="utf8"}const a=o.dirname(e);s(a,((o,s)=>{if(o)return n(o);if(s)return i.writeFile(e,t,r,n);c.mkdirs(a,(o=>{if(o)return n(o);i.writeFile(e,t,r,n)}))}))}function outputFileSync(e,...t){const r=o.dirname(e);if(i.existsSync(r)){return i.writeFileSync(e,...t)}c.mkdirsSync(r);i.writeFileSync(e,...t)}e.exports={outputFile:n(outputFile),outputFileSync:outputFileSync}},878:function(e,t,r){"use strict";const n=r(761).fromPromise;const i=r(882);function pathExists(e){return i.access(e).then((()=>true)).catch((()=>false))}e.exports={pathExists:n(pathExists),pathExistsSync:i.existsSync}},538:function(e,t,r){"use strict";const n=r(550);const i=r(761).fromCallback;const o=r(120);function remove(e,t){if(n.rm)return n.rm(e,{recursive:true,force:true},t);o(e,t)}function removeSync(e){if(n.rmSync)return n.rmSync(e,{recursive:true,force:true});o.sync(e)}e.exports={remove:i(remove),removeSync:removeSync}},120:function(e,t,r){"use strict";const n=r(550);const i=r(622);const o=r(357);const c=process.platform==="win32";function defaults(e){const t=["unlink","chmod","stat","lstat","rmdir","readdir"];t.forEach((t=>{e[t]=e[t]||n[t];t=t+"Sync";e[t]=e[t]||n[t]}));e.maxBusyTries=e.maxBusyTries||3}function rimraf(e,t,r){let n=0;if(typeof t==="function"){r=t;t={}}o(e,"rimraf: missing path");o.strictEqual(typeof e,"string","rimraf: path should be a string");o.strictEqual(typeof r,"function","rimraf: callback function required");o(t,"rimraf: invalid options argument provided");o.strictEqual(typeof t,"object","rimraf: options should be object");defaults(t);rimraf_(e,t,(function CB(i){if(i){if((i.code==="EBUSY"||i.code==="ENOTEMPTY"||i.code==="EPERM")&&n<t.maxBusyTries){n++;const r=n*100;return setTimeout((()=>rimraf_(e,t,CB)),r)}if(i.code==="ENOENT")i=null}r(i)}))}function rimraf_(e,t,r){o(e);o(t);o(typeof r==="function");t.lstat(e,((n,i)=>{if(n&&n.code==="ENOENT"){return r(null)}if(n&&n.code==="EPERM"&&c){return fixWinEPERM(e,t,n,r)}if(i&&i.isDirectory()){return rmdir(e,t,n,r)}t.unlink(e,(n=>{if(n){if(n.code==="ENOENT"){return r(null)}if(n.code==="EPERM"){return c?fixWinEPERM(e,t,n,r):rmdir(e,t,n,r)}if(n.code==="EISDIR"){return rmdir(e,t,n,r)}}return r(n)}))}))}function fixWinEPERM(e,t,r,n){o(e);o(t);o(typeof n==="function");t.chmod(e,438,(i=>{if(i){n(i.code==="ENOENT"?null:r)}else{t.stat(e,((i,o)=>{if(i){n(i.code==="ENOENT"?null:r)}else if(o.isDirectory()){rmdir(e,t,r,n)}else{t.unlink(e,n)}}))}}))}function fixWinEPERMSync(e,t,r){let n;o(e);o(t);try{t.chmodSync(e,438)}catch(e){if(e.code==="ENOENT"){return}else{throw r}}try{n=t.statSync(e)}catch(e){if(e.code==="ENOENT"){return}else{throw r}}if(n.isDirectory()){rmdirSync(e,t,r)}else{t.unlinkSync(e)}}function rmdir(e,t,r,n){o(e);o(t);o(typeof n==="function");t.rmdir(e,(i=>{if(i&&(i.code==="ENOTEMPTY"||i.code==="EEXIST"||i.code==="EPERM")){rmkids(e,t,n)}else if(i&&i.code==="ENOTDIR"){n(r)}else{n(i)}}))}function rmkids(e,t,r){o(e);o(t);o(typeof r==="function");t.readdir(e,((n,o)=>{if(n)return r(n);let c=o.length;let s;if(c===0)return t.rmdir(e,r);o.forEach((n=>{rimraf(i.join(e,n),t,(n=>{if(s){return}if(n)return r(s=n);if(--c===0){t.rmdir(e,r)}}))}))}))}function rimrafSync(e,t){let r;t=t||{};defaults(t);o(e,"rimraf: missing path");o.strictEqual(typeof e,"string","rimraf: path should be a string");o(t,"rimraf: missing options");o.strictEqual(typeof t,"object","rimraf: options should be object");try{r=t.lstatSync(e)}catch(r){if(r.code==="ENOENT"){return}if(r.code==="EPERM"&&c){fixWinEPERMSync(e,t,r)}}try{if(r&&r.isDirectory()){rmdirSync(e,t,null)}else{t.unlinkSync(e)}}catch(r){if(r.code==="ENOENT"){return}else if(r.code==="EPERM"){return c?fixWinEPERMSync(e,t,r):rmdirSync(e,t,r)}else if(r.code!=="EISDIR"){throw r}rmdirSync(e,t,r)}}function rmdirSync(e,t,r){o(e);o(t);try{t.rmdirSync(e)}catch(n){if(n.code==="ENOTDIR"){throw r}else if(n.code==="ENOTEMPTY"||n.code==="EEXIST"||n.code==="EPERM"){rmkidsSync(e,t)}else if(n.code!=="ENOENT"){throw n}}}function rmkidsSync(e,t){o(e);o(t);t.readdirSync(e).forEach((r=>rimrafSync(i.join(e,r),t)));if(c){const r=Date.now();do{try{const r=t.rmdirSync(e,t);return r}catch{}}while(Date.now()-r<500)}else{const r=t.rmdirSync(e,t);return r}}e.exports=rimraf;rimraf.sync=rimrafSync},881:function(e,t,r){"use strict";const n=r(882);const i=r(622);const o=r(669);function getStats(e,t,r){const i=r.dereference?e=>n.stat(e,{bigint:true}):e=>n.lstat(e,{bigint:true});return Promise.all([i(e),i(t).catch((e=>{if(e.code==="ENOENT")return null;throw e}))]).then((([e,t])=>({srcStat:e,destStat:t})))}function getStatsSync(e,t,r){let i;const o=r.dereference?e=>n.statSync(e,{bigint:true}):e=>n.lstatSync(e,{bigint:true});const c=o(e);try{i=o(t)}catch(e){if(e.code==="ENOENT")return{srcStat:c,destStat:null};throw e}return{srcStat:c,destStat:i}}function checkPaths(e,t,r,n,c){o.callbackify(getStats)(e,t,n,((n,o)=>{if(n)return c(n);const{srcStat:s,destStat:a}=o;if(a){if(areIdentical(s,a)){const n=i.basename(e);const o=i.basename(t);if(r==="move"&&n!==o&&n.toLowerCase()===o.toLowerCase()){return c(null,{srcStat:s,destStat:a,isChangingCase:true})}return c(new Error("Source and destination must not be the same."))}if(s.isDirectory()&&!a.isDirectory()){return c(new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`))}if(!s.isDirectory()&&a.isDirectory()){return c(new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`))}}if(s.isDirectory()&&isSrcSubdir(e,t)){return c(new Error(errMsg(e,t,r)))}return c(null,{srcStat:s,destStat:a})}))}function checkPathsSync(e,t,r,n){const{srcStat:o,destStat:c}=getStatsSync(e,t,n);if(c){if(areIdentical(o,c)){const n=i.basename(e);const s=i.basename(t);if(r==="move"&&n!==s&&n.toLowerCase()===s.toLowerCase()){return{srcStat:o,destStat:c,isChangingCase:true}}throw new Error("Source and destination must not be the same.")}if(o.isDirectory()&&!c.isDirectory()){throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`)}if(!o.isDirectory()&&c.isDirectory()){throw new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}}if(o.isDirectory()&&isSrcSubdir(e,t)){throw new Error(errMsg(e,t,r))}return{srcStat:o,destStat:c}}function checkParentPaths(e,t,r,o,c){const s=i.resolve(i.dirname(e));const a=i.resolve(i.dirname(r));if(a===s||a===i.parse(a).root)return c();n.stat(a,{bigint:true},((n,i)=>{if(n){if(n.code==="ENOENT")return c();return c(n)}if(areIdentical(t,i)){return c(new Error(errMsg(e,r,o)))}return checkParentPaths(e,t,a,o,c)}))}function checkParentPathsSync(e,t,r,o){const c=i.resolve(i.dirname(e));const s=i.resolve(i.dirname(r));if(s===c||s===i.parse(s).root)return;let a;try{a=n.statSync(s,{bigint:true})}catch(e){if(e.code==="ENOENT")return;throw e}if(areIdentical(t,a)){throw new Error(errMsg(e,r,o))}return checkParentPathsSync(e,t,s,o)}function areIdentical(e,t){return t.ino&&t.dev&&t.ino===e.ino&&t.dev===e.dev}function isSrcSubdir(e,t){const r=i.resolve(e).split(i.sep).filter((e=>e));const n=i.resolve(t).split(i.sep).filter((e=>e));return r.reduce(((e,t,r)=>e&&n[r]===t),true)}function errMsg(e,t,r){return`Cannot ${r} '${e}' to a subdirectory of itself, '${t}'.`}e.exports={checkPaths:checkPaths,checkPathsSync:checkPathsSync,checkParentPaths:checkParentPaths,checkParentPathsSync:checkParentPathsSync,isSrcSubdir:isSrcSubdir,areIdentical:areIdentical}},263:function(e,t,r){"use strict";const n=r(550);function utimesMillis(e,t,r,i){n.open(e,"r+",((e,o)=>{if(e)return i(e);n.futimes(o,t,r,(e=>{n.close(o,(t=>{if(i)i(e||t)}))}))}))}function utimesMillisSync(e,t,r){const i=n.openSync(e,"r+");n.futimesSync(i,t,r);return n.closeSync(i)}e.exports={utimesMillis:utimesMillis,utimesMillisSync:utimesMillisSync}},21:function(e){"use strict";e.exports=clone;var t=Object.getPrototypeOf||function(e){return e.__proto__};function clone(e){if(e===null||typeof e!=="object")return e;if(e instanceof Object)var r={__proto__:t(e)};else var r=Object.create(null);Object.getOwnPropertyNames(e).forEach((function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))}));return r}},550:function(e,t,r){var n=r(747);var i=r(605);var o=r(506);var c=r(21);var s=r(669);var a;var u;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){a=Symbol.for("graceful-fs.queue");u=Symbol.for("graceful-fs.previous")}else{a="___graceful-fs.queue";u="___graceful-fs.previous"}function noop(){}function publishQueue(e,t){Object.defineProperty(e,a,{get:function(){return t}})}var f=noop;if(s.debuglog)f=s.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))f=function(){var e=s.format.apply(s,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: ");console.error(e)};if(!n[a]){var l=global[a]||[];publishQueue(n,l);n.close=function(e){function close(t,r){return e.call(n,t,(function(e){if(!e){resetQueue()}if(typeof r==="function")r.apply(this,arguments)}))}Object.defineProperty(close,u,{value:e});return close}(n.close);n.closeSync=function(e){function closeSync(t){e.apply(n,arguments);resetQueue()}Object.defineProperty(closeSync,u,{value:e});return closeSync}(n.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){f(n[a]);r(357).equal(n[a].length,0)}))}}if(!global[a]){publishQueue(global,n[a])}e.exports=patch(c(n));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!n.__patched){e.exports=patch(n);n.__patched=true}function patch(e){i(e);e.gracefulify=patch;e.createReadStream=createReadStream;e.createWriteStream=createWriteStream;var t=e.readFile;e.readFile=readFile;function readFile(e,r,n){if(typeof r==="function")n=r,r=null;return go$readFile(e,r,n);function go$readFile(e,r,n,i){return t(e,r,(function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))enqueue([go$readFile,[e,r,n],t,i||Date.now(),Date.now()]);else{if(typeof n==="function")n.apply(this,arguments)}}))}}var r=e.writeFile;e.writeFile=writeFile;function writeFile(e,t,n,i){if(typeof n==="function")i=n,n=null;return go$writeFile(e,t,n,i);function go$writeFile(e,t,n,i,o){return r(e,t,n,(function(r){if(r&&(r.code==="EMFILE"||r.code==="ENFILE"))enqueue([go$writeFile,[e,t,n,i],r,o||Date.now(),Date.now()]);else{if(typeof i==="function")i.apply(this,arguments)}}))}}var n=e.appendFile;if(n)e.appendFile=appendFile;function appendFile(e,t,r,i){if(typeof r==="function")i=r,r=null;return go$appendFile(e,t,r,i);function go$appendFile(e,t,r,i,o){return n(e,t,r,(function(n){if(n&&(n.code==="EMFILE"||n.code==="ENFILE"))enqueue([go$appendFile,[e,t,r,i],n,o||Date.now(),Date.now()]);else{if(typeof i==="function")i.apply(this,arguments)}}))}}var c=e.copyFile;if(c)e.copyFile=copyFile;function copyFile(e,t,r,n){if(typeof r==="function"){n=r;r=0}return go$copyFile(e,t,r,n);function go$copyFile(e,t,r,n,i){return c(e,t,r,(function(o){if(o&&(o.code==="EMFILE"||o.code==="ENFILE"))enqueue([go$copyFile,[e,t,r,n],o,i||Date.now(),Date.now()]);else{if(typeof n==="function")n.apply(this,arguments)}}))}}var s=e.readdir;e.readdir=readdir;function readdir(e,t,r){if(typeof t==="function")r=t,t=null;return go$readdir(e,t,r);function go$readdir(e,t,r,n){return s(e,t,(function(i,o){if(i&&(i.code==="EMFILE"||i.code==="ENFILE"))enqueue([go$readdir,[e,t,r],i,n||Date.now(),Date.now()]);else{if(o&&o.sort)o.sort();if(typeof r==="function")r.call(this,i,o)}}))}}if(process.version.substr(0,4)==="v0.8"){var a=o(e);ReadStream=a.ReadStream;WriteStream=a.WriteStream}var u=e.ReadStream;if(u){ReadStream.prototype=Object.create(u.prototype);ReadStream.prototype.open=ReadStream$open}var f=e.WriteStream;if(f){WriteStream.prototype=Object.create(f.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(e,"ReadStream",{get:function(){return ReadStream},set:function(e){ReadStream=e},enumerable:true,configurable:true});Object.defineProperty(e,"WriteStream",{get:function(){return WriteStream},set:function(e){WriteStream=e},enumerable:true,configurable:true});var l=ReadStream;Object.defineProperty(e,"FileReadStream",{get:function(){return l},set:function(e){l=e},enumerable:true,configurable:true});var y=WriteStream;Object.defineProperty(e,"FileWriteStream",{get:function(){return y},set:function(e){y=e},enumerable:true,configurable:true});function ReadStream(e,t){if(this instanceof ReadStream)return u.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var e=this;open(e.path,e.flags,e.mode,(function(t,r){if(t){if(e.autoClose)e.destroy();e.emit("error",t)}else{e.fd=r;e.emit("open",r);e.read()}}))}function WriteStream(e,t){if(this instanceof WriteStream)return f.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var e=this;open(e.path,e.flags,e.mode,(function(t,r){if(t){e.destroy();e.emit("error",t)}else{e.fd=r;e.emit("open",r)}}))}function createReadStream(t,r){return new e.ReadStream(t,r)}function createWriteStream(t,r){return new e.WriteStream(t,r)}var d=e.open;e.open=open;function open(e,t,r,n){if(typeof r==="function")n=r,r=null;return go$open(e,t,r,n);function go$open(e,t,r,n,i){return d(e,t,r,(function(o,c){if(o&&(o.code==="EMFILE"||o.code==="ENFILE"))enqueue([go$open,[e,t,r,n],o,i||Date.now(),Date.now()]);else{if(typeof n==="function")n.apply(this,arguments)}}))}}return e}function enqueue(e){f("ENQUEUE",e[0].name,e[1]);n[a].push(e);retry()}var y;function resetQueue(){var e=Date.now();for(var t=0;t<n[a].length;++t){if(n[a][t].length>2){n[a][t][3]=e;n[a][t][4]=e}}retry()}function retry(){clearTimeout(y);y=undefined;if(n[a].length===0)return;var e=n[a].shift();var t=e[0];var r=e[1];var i=e[2];var o=e[3];var c=e[4];if(o===undefined){f("RETRY",t.name,r);t.apply(null,r)}else if(Date.now()-o>=6e4){f("TIMEOUT",t.name,r);var s=r.pop();if(typeof s==="function")s.call(null,i)}else{var u=Date.now()-c;var l=Math.max(c-o,1);var d=Math.min(l*1.2,100);if(u>=d){f("RETRY",t.name,r);t.apply(null,r.concat([o]))}else{n[a].push(e)}}if(y===undefined){y=setTimeout(retry,0)}}},506:function(e,t,r){var n=r(413).Stream;e.exports=legacy;function legacy(e){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(t,r){if(!(this instanceof ReadStream))return new ReadStream(t,r);n.call(this);var i=this;this.path=t;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;r=r||{};var o=Object.keys(r);for(var c=0,s=o.length;c<s;c++){var a=o[c];this[a]=r[a]}if(this.encoding)this.setEncoding(this.encoding);if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.end===undefined){this.end=Infinity}else if("number"!==typeof this.end){throw TypeError("end must be a Number")}if(this.start>this.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){i._read()}));return}e.open(this.path,this.flags,this.mode,(function(e,t){if(e){i.emit("error",e);i.readable=false;return}i.fd=t;i.emit("open",t);i._read()}))}function WriteStream(t,r){if(!(this instanceof WriteStream))return new WriteStream(t,r);n.call(this);this.path=t;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;r=r||{};var i=Object.keys(r);for(var o=0,c=i.length;o<c;o++){var s=i[o];this[s]=r[s]}if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.start<0){throw new Error("start must be >= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=e.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},605:function(e,t,r){var n=r(619);var i=process.cwd;var o=null;var c=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!o)o=i.call(process);return o};try{process.cwd()}catch(e){}if(typeof process.chdir==="function"){var s=process.chdir;process.chdir=function(e){o=null;s.call(process,e)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,s)}e.exports=patch;function patch(e){if(n.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(e)}if(!e.lutimes){patchLutimes(e)}e.chown=chownFix(e.chown);e.fchown=chownFix(e.fchown);e.lchown=chownFix(e.lchown);e.chmod=chmodFix(e.chmod);e.fchmod=chmodFix(e.fchmod);e.lchmod=chmodFix(e.lchmod);e.chownSync=chownFixSync(e.chownSync);e.fchownSync=chownFixSync(e.fchownSync);e.lchownSync=chownFixSync(e.lchownSync);e.chmodSync=chmodFixSync(e.chmodSync);e.fchmodSync=chmodFixSync(e.fchmodSync);e.lchmodSync=chmodFixSync(e.lchmodSync);e.stat=statFix(e.stat);e.fstat=statFix(e.fstat);e.lstat=statFix(e.lstat);e.statSync=statFixSync(e.statSync);e.fstatSync=statFixSync(e.fstatSync);e.lstatSync=statFixSync(e.lstatSync);if(!e.lchmod){e.lchmod=function(e,t,r){if(r)process.nextTick(r)};e.lchmodSync=function(){}}if(!e.lchown){e.lchown=function(e,t,r,n){if(n)process.nextTick(n)};e.lchownSync=function(){}}if(c==="win32"){e.rename=function(t){return function(r,n,i){var o=Date.now();var c=0;t(r,n,(function CB(s){if(s&&(s.code==="EACCES"||s.code==="EPERM")&&Date.now()-o<6e4){setTimeout((function(){e.stat(n,(function(e,o){if(e&&e.code==="ENOENT")t(r,n,CB);else i(s)}))}),c);if(c<100)c+=10;return}if(i)i(s)}))}}(e.rename)}e.read=function(t){function read(r,n,i,o,c,s){var a;if(s&&typeof s==="function"){var u=0;a=function(f,l,y){if(f&&f.code==="EAGAIN"&&u<10){u++;return t.call(e,r,n,i,o,c,a)}s.apply(this,arguments)}}return t.call(e,r,n,i,o,c,a)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,t);return read}(e.read);e.readSync=function(t){return function(r,n,i,o,c){var s=0;while(true){try{return t.call(e,r,n,i,o,c)}catch(e){if(e.code==="EAGAIN"&&s<10){s++;continue}throw e}}}}(e.readSync);function patchLchmod(e){e.lchmod=function(t,r,i){e.open(t,n.O_WRONLY|n.O_SYMLINK,r,(function(t,n){if(t){if(i)i(t);return}e.fchmod(n,r,(function(t){e.close(n,(function(e){if(i)i(t||e)}))}))}))};e.lchmodSync=function(t,r){var i=e.openSync(t,n.O_WRONLY|n.O_SYMLINK,r);var o=true;var c;try{c=e.fchmodSync(i,r);o=false}finally{if(o){try{e.closeSync(i)}catch(e){}}else{e.closeSync(i)}}return c}}function patchLutimes(e){if(n.hasOwnProperty("O_SYMLINK")){e.lutimes=function(t,r,i,o){e.open(t,n.O_SYMLINK,(function(t,n){if(t){if(o)o(t);return}e.futimes(n,r,i,(function(t){e.close(n,(function(e){if(o)o(t||e)}))}))}))};e.lutimesSync=function(t,r,i){var o=e.openSync(t,n.O_SYMLINK);var c;var s=true;try{c=e.futimesSync(o,r,i);s=false}finally{if(s){try{e.closeSync(o)}catch(e){}}else{e.closeSync(o)}}return c}}else{e.lutimes=function(e,t,r,n){if(n)process.nextTick(n)};e.lutimesSync=function(){}}}function chmodFix(t){if(!t)return t;return function(r,n,i){return t.call(e,r,n,(function(e){if(chownErOk(e))e=null;if(i)i.apply(this,arguments)}))}}function chmodFixSync(t){if(!t)return t;return function(r,n){try{return t.call(e,r,n)}catch(e){if(!chownErOk(e))throw e}}}function chownFix(t){if(!t)return t;return function(r,n,i,o){return t.call(e,r,n,i,(function(e){if(chownErOk(e))e=null;if(o)o.apply(this,arguments)}))}}function chownFixSync(t){if(!t)return t;return function(r,n,i){try{return t.call(e,r,n,i)}catch(e){if(!chownErOk(e))throw e}}}function statFix(t){if(!t)return t;return function(r,n,i){if(typeof n==="function"){i=n;n=null}function callback(e,t){if(t){if(t.uid<0)t.uid+=4294967296;if(t.gid<0)t.gid+=4294967296}if(i)i.apply(this,arguments)}return n?t.call(e,r,n,callback):t.call(e,r,callback)}}function statFixSync(t){if(!t)return t;return function(r,n){var i=n?t.call(e,r,n):t.call(e,r);if(i.uid<0)i.uid+=4294967296;if(i.gid<0)i.gid+=4294967296;return i}}function chownErOk(e){if(!e)return true;if(e.code==="ENOSYS")return true;var t=!process.getuid||process.getuid()!==0;if(t){if(e.code==="EINVAL"||e.code==="EPERM")return true}return false}}},349:function(e,t,r){let n;try{n=r(550)}catch(e){n=r(747)}const i=r(761);const{stringify:o,stripBom:c}=r(209);async function _readFile(e,t={}){if(typeof t==="string"){t={encoding:t}}const r=t.fs||n;const o="throws"in t?t.throws:true;let s=await i.fromCallback(r.readFile)(e,t);s=c(s);let a;try{a=JSON.parse(s,t?t.reviver:null)}catch(t){if(o){t.message=`${e}: ${t.message}`;throw t}else{return null}}return a}const s=i.fromPromise(_readFile);function readFileSync(e,t={}){if(typeof t==="string"){t={encoding:t}}const r=t.fs||n;const i="throws"in t?t.throws:true;try{let n=r.readFileSync(e,t);n=c(n);return JSON.parse(n,t.reviver)}catch(t){if(i){t.message=`${e}: ${t.message}`;throw t}else{return null}}}async function _writeFile(e,t,r={}){const c=r.fs||n;const s=o(t,r);await i.fromCallback(c.writeFile)(e,s,r)}const a=i.fromPromise(_writeFile);function writeFileSync(e,t,r={}){const i=r.fs||n;const c=o(t,r);return i.writeFileSync(e,c,r)}const u={readFile:s,readFileSync:readFileSync,writeFile:a,writeFileSync:writeFileSync};e.exports=u},209:function(e){function stringify(e,{EOL:t="\n",finalEOL:r=true,replacer:n=null,spaces:i}={}){const o=r?t:"";const c=JSON.stringify(e,n,i);return c.replace(/\n/g,t)+o}function stripBom(e){if(Buffer.isBuffer(e))e=e.toString("utf8");return e.replace(/^\uFEFF/,"")}e.exports={stringify:stringify,stripBom:stripBom}},761:function(e,t){"use strict";t.fromCallback=function(e){return Object.defineProperty((function(...t){if(typeof t[t.length-1]==="function")e.apply(this,t);else{return new Promise(((r,n)=>{e.call(this,...t,((e,t)=>e!=null?n(e):r(t)))}))}}),"name",{value:e.name})};t.fromPromise=function(e){return Object.defineProperty((function(...t){const r=t[t.length-1];if(typeof r!=="function")return e.apply(this,t);else e.apply(this,t.slice(0,-1)).then((e=>r(null,e)),r)}),"name",{value:e.name})}},357:function(e){"use strict";e.exports=require("assert")},619:function(e){"use strict";e.exports=require("constants")},747:function(e){"use strict";e.exports=require("fs")},622:function(e){"use strict";e.exports=require("path")},413:function(e){"use strict";e.exports=require("stream")},669:function(e){"use strict";e.exports=require("util")}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var i=t[r]={exports:{}};var o=true;try{e[r](i,i.exports,__nccwpck_require__);o=false}finally{if(o)delete t[r]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(692);module.exports=r})();
@@ -0,0 +1 @@
1
+ {"name":"fs-extra","author":"JP Richardson <jprichardson@gmail.com>","license":"MIT"}
@@ -0,0 +1,21 @@
1
+ The ISC License
2
+
3
+ Copyright (c) Isaac Z. Schlueter and Contributors
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
15
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16
+
17
+ ## Glob Logo
18
+
19
+ Glob's logo created by Tanya Brassie <http://tanyabrassie.com/>, licensed
20
+ under a Creative Commons Attribution-ShareAlike 4.0 International License
21
+ https://creativecommons.org/licenses/by-sa/4.0/
@@ -0,0 +1,89 @@
1
+ // Type definitions for Glob 7.1
2
+ // Project: https://github.com/isaacs/node-glob
3
+ // Definitions by: vvakame <https://github.com/vvakame>
4
+ // voy <https://github.com/voy>
5
+ // Klaus Meinhardt <https://github.com/ajafff>
6
+ // Piotr Błażejewicz <https://github.com/peterblazejewicz>
7
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
8
+
9
+ /// <reference types="node" />
10
+
11
+ import events = require('events');
12
+ import minimatch = require('./minimatch');
13
+
14
+ declare function G(pattern: string, cb: (err: Error | null, matches: string[]) => void): G.IGlob;
15
+ declare function G(pattern: string, options: G.IOptions, cb: (err: Error | null, matches: string[]) => void): G.IGlob;
16
+
17
+ declare namespace G {
18
+ function __promisify__(pattern: string, options?: IOptions): Promise<string[]>;
19
+
20
+ function sync(pattern: string, options?: IOptions): string[];
21
+
22
+ function hasMagic(pattern: string, options?: IOptions): boolean;
23
+
24
+ let glob: typeof G;
25
+ let Glob: IGlobStatic;
26
+ let GlobSync: IGlobSyncStatic;
27
+
28
+ interface IOptions extends minimatch.IOptions {
29
+ cwd?: string | undefined;
30
+ root?: string | undefined;
31
+ dot?: boolean | undefined;
32
+ nomount?: boolean | undefined;
33
+ mark?: boolean | undefined;
34
+ nosort?: boolean | undefined;
35
+ stat?: boolean | undefined;
36
+ silent?: boolean | undefined;
37
+ strict?: boolean | undefined;
38
+ cache?: { [path: string]: boolean | 'DIR' | 'FILE' | ReadonlyArray<string> } | undefined;
39
+ statCache?: { [path: string]: false | { isDirectory(): boolean} | undefined } | undefined;
40
+ symlinks?: { [path: string]: boolean | undefined } | undefined;
41
+ realpathCache?: { [path: string]: string } | undefined;
42
+ sync?: boolean | undefined;
43
+ nounique?: boolean | undefined;
44
+ nonull?: boolean | undefined;
45
+ debug?: boolean | undefined;
46
+ nobrace?: boolean | undefined;
47
+ noglobstar?: boolean | undefined;
48
+ noext?: boolean | undefined;
49
+ nocase?: boolean | undefined;
50
+ matchBase?: any;
51
+ nodir?: boolean | undefined;
52
+ ignore?: string | ReadonlyArray<string> | undefined;
53
+ follow?: boolean | undefined;
54
+ realpath?: boolean | undefined;
55
+ nonegate?: boolean | undefined;
56
+ nocomment?: boolean | undefined;
57
+ absolute?: boolean | undefined;
58
+ }
59
+
60
+ interface IGlobStatic extends events.EventEmitter {
61
+ new (pattern: string, cb?: (err: Error | null, matches: string[]) => void): IGlob;
62
+ new (pattern: string, options: IOptions, cb?: (err: Error | null, matches: string[]) => void): IGlob;
63
+ prototype: IGlob;
64
+ }
65
+
66
+ interface IGlobSyncStatic {
67
+ new (pattern: string, options?: IOptions): IGlobBase;
68
+ prototype: IGlobBase;
69
+ }
70
+
71
+ interface IGlobBase {
72
+ minimatch: minimatch.IMinimatch;
73
+ options: IOptions;
74
+ aborted: boolean;
75
+ cache: { [path: string]: boolean | 'DIR' | 'FILE' | ReadonlyArray<string> };
76
+ statCache: { [path: string]: false | { isDirectory(): boolean; } | undefined };
77
+ symlinks: { [path: string]: boolean | undefined };
78
+ realpathCache: { [path: string]: string };
79
+ found: string[];
80
+ }
81
+
82
+ interface IGlob extends IGlobBase, events.EventEmitter {
83
+ pause(): void;
84
+ resume(): void;
85
+ abort(): void;
86
+ }
87
+ }
88
+
89
+ export = G;
@@ -0,0 +1 @@
1
+ (function(){var t={895:function(t){"use strict";t.exports=balanced;function balanced(t,e,r){if(t instanceof RegExp)t=maybeMatch(t,r);if(e instanceof RegExp)e=maybeMatch(e,r);var i=range(t,e,r);return i&&{start:i[0],end:i[1],pre:r.slice(0,i[0]),body:r.slice(i[0]+t.length,i[1]),post:r.slice(i[1]+e.length)}}function maybeMatch(t,e){var r=e.match(t);return r?r[0]:null}balanced.range=range;function range(t,e,r){var i,n,a,s,o;var c=r.indexOf(t);var h=r.indexOf(e,c+1);var l=c;if(c>=0&&h>0){if(t===e){return[c,h]}i=[];a=r.length;while(l>=0&&!o){if(l==c){i.push(l);c=r.indexOf(t,l+1)}else if(i.length==1){o=[i.pop(),h]}else{n=i.pop();if(n<a){a=n;s=h}h=r.indexOf(e,l+1)}l=c<h&&c>=0?c:h}if(i.length){o=[a,s]}}return o}},793:function(t,e,r){var i=r(551);var n=r(895);t.exports=expandTop;var a="\0SLASH"+Math.random()+"\0";var s="\0OPEN"+Math.random()+"\0";var o="\0CLOSE"+Math.random()+"\0";var c="\0COMMA"+Math.random()+"\0";var h="\0PERIOD"+Math.random()+"\0";function numeric(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function escapeBraces(t){return t.split("\\\\").join(a).split("\\{").join(s).split("\\}").join(o).split("\\,").join(c).split("\\.").join(h)}function unescapeBraces(t){return t.split(a).join("\\").split(s).join("{").split(o).join("}").split(c).join(",").split(h).join(".")}function parseCommaParts(t){if(!t)return[""];var e=[];var r=n("{","}",t);if(!r)return t.split(",");var i=r.pre;var a=r.body;var s=r.post;var o=i.split(",");o[o.length-1]+="{"+a+"}";var c=parseCommaParts(s);if(s.length){o[o.length-1]+=c.shift();o.push.apply(o,c)}e.push.apply(e,o);return e}function expandTop(t){if(!t)return[];if(t.substr(0,2)==="{}"){t="\\{\\}"+t.substr(2)}return expand(escapeBraces(t),true).map(unescapeBraces)}function identity(t){return t}function embrace(t){return"{"+t+"}"}function isPadded(t){return/^-?0\d/.test(t)}function lte(t,e){return t<=e}function gte(t,e){return t>=e}function expand(t,e){var r=[];var a=n("{","}",t);if(!a||/\$$/.test(a.pre))return[t];var s=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(a.body);var c=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(a.body);var h=s||c;var l=a.body.indexOf(",")>=0;if(!h&&!l){if(a.post.match(/,.*\}/)){t=a.pre+"{"+a.body+o+a.post;return expand(t)}return[t]}var u;if(h){u=a.body.split(/\.\./)}else{u=parseCommaParts(a.body);if(u.length===1){u=expand(u[0],false).map(embrace);if(u.length===1){var p=a.post.length?expand(a.post,false):[""];return p.map((function(t){return a.pre+u[0]+t}))}}}var v=a.pre;var p=a.post.length?expand(a.post,false):[""];var d;if(h){var m=numeric(u[0]);var b=numeric(u[1]);var g=Math.max(u[0].length,u[1].length);var y=u.length==3?Math.abs(numeric(u[2])):1;var _=lte;var w=b<m;if(w){y*=-1;_=gte}var k=u.some(isPadded);d=[];for(var S=m;_(S,b);S+=y){var E;if(c){E=String.fromCharCode(S);if(E==="\\")E=""}else{E=String(S);if(k){var O=g-E.length;if(O>0){var x=new Array(O+1).join("0");if(S<0)E="-"+x+E.slice(1);else E=x+E}}}d.push(E)}}else{d=i(u,(function(t){return expand(t,false)}))}for(var A=0;A<d.length;A++){for(var G=0;G<p.length;G++){var j=v+d[A]+p[G];if(!e||h||j)r.push(j)}}return r}},551:function(t){t.exports=function(t,r){var i=[];for(var n=0;n<t.length;n++){var a=r(t[n],n);if(e(a))i.push.apply(i,a);else i.push(a)}return i};var e=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"}},899:function(t,e,r){t.exports=realpath;realpath.realpath=realpath;realpath.sync=realpathSync;realpath.realpathSync=realpathSync;realpath.monkeypatch=monkeypatch;realpath.unmonkeypatch=unmonkeypatch;var i=r(747);var n=i.realpath;var a=i.realpathSync;var s=process.version;var o=/^v[0-5]\./.test(s);var c=r(538);function newError(t){return t&&t.syscall==="realpath"&&(t.code==="ELOOP"||t.code==="ENOMEM"||t.code==="ENAMETOOLONG")}function realpath(t,e,r){if(o){return n(t,e,r)}if(typeof e==="function"){r=e;e=null}n(t,e,(function(i,n){if(newError(i)){c.realpath(t,e,r)}else{r(i,n)}}))}function realpathSync(t,e){if(o){return a(t,e)}try{return a(t,e)}catch(r){if(newError(r)){return c.realpathSync(t,e)}else{throw r}}}function monkeypatch(){i.realpath=realpath;i.realpathSync=realpathSync}function unmonkeypatch(){i.realpath=n;i.realpathSync=a}},538:function(t,e,r){var i=r(622);var n=process.platform==="win32";var a=r(747);var s=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function rethrow(){var t;if(s){var e=new Error;t=debugCallback}else t=missingCallback;return t;function debugCallback(t){if(t){e.message=t.message;t=e;missingCallback(t)}}function missingCallback(t){if(t){if(process.throwDeprecation)throw t;else if(!process.noDeprecation){var e="fs: missing callback "+(t.stack||t.message);if(process.traceDeprecation)console.trace(e);else console.error(e)}}}}function maybeCallback(t){return typeof t==="function"?t:rethrow()}var o=i.normalize;if(n){var c=/(.*?)(?:[\/\\]+|$)/g}else{var c=/(.*?)(?:[\/]+|$)/g}if(n){var h=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/}else{var h=/^[\/]*/}e.realpathSync=function realpathSync(t,e){t=i.resolve(t);if(e&&Object.prototype.hasOwnProperty.call(e,t)){return e[t]}var r=t,s={},o={};var l;var u;var p;var v;start();function start(){var e=h.exec(t);l=e[0].length;u=e[0];p=e[0];v="";if(n&&!o[p]){a.lstatSync(p);o[p]=true}}while(l<t.length){c.lastIndex=l;var d=c.exec(t);v=u;u+=d[0];p=v+d[1];l=c.lastIndex;if(o[p]||e&&e[p]===p){continue}var m;if(e&&Object.prototype.hasOwnProperty.call(e,p)){m=e[p]}else{var b=a.lstatSync(p);if(!b.isSymbolicLink()){o[p]=true;if(e)e[p]=p;continue}var g=null;if(!n){var y=b.dev.toString(32)+":"+b.ino.toString(32);if(s.hasOwnProperty(y)){g=s[y]}}if(g===null){a.statSync(p);g=a.readlinkSync(p)}m=i.resolve(v,g);if(e)e[p]=m;if(!n)s[y]=g}t=i.resolve(m,t.slice(l));start()}if(e)e[r]=t;return t};e.realpath=function realpath(t,e,r){if(typeof r!=="function"){r=maybeCallback(e);e=null}t=i.resolve(t);if(e&&Object.prototype.hasOwnProperty.call(e,t)){return process.nextTick(r.bind(null,null,e[t]))}var s=t,o={},l={};var u;var p;var v;var d;start();function start(){var e=h.exec(t);u=e[0].length;p=e[0];v=e[0];d="";if(n&&!l[v]){a.lstat(v,(function(t){if(t)return r(t);l[v]=true;LOOP()}))}else{process.nextTick(LOOP)}}function LOOP(){if(u>=t.length){if(e)e[s]=t;return r(null,t)}c.lastIndex=u;var i=c.exec(t);d=p;p+=i[0];v=d+i[1];u=c.lastIndex;if(l[v]||e&&e[v]===v){return process.nextTick(LOOP)}if(e&&Object.prototype.hasOwnProperty.call(e,v)){return gotResolvedLink(e[v])}return a.lstat(v,gotStat)}function gotStat(t,i){if(t)return r(t);if(!i.isSymbolicLink()){l[v]=true;if(e)e[v]=v;return process.nextTick(LOOP)}if(!n){var s=i.dev.toString(32)+":"+i.ino.toString(32);if(o.hasOwnProperty(s)){return gotTarget(null,o[s],v)}}a.stat(v,(function(t){if(t)return r(t);a.readlink(v,(function(t,e){if(!n)o[s]=e;gotTarget(t,e)}))}))}function gotTarget(t,n,a){if(t)return r(t);var s=i.resolve(d,n);if(e)e[a]=s;gotResolvedLink(s)}function gotResolvedLink(e){t=i.resolve(e,t.slice(u));start()}}},670:function(t,e,r){e.setopts=setopts;e.ownProp=ownProp;e.makeAbs=makeAbs;e.finish=finish;e.mark=mark;e.isIgnored=isIgnored;e.childrenIgnored=childrenIgnored;function ownProp(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var i=r(747);var n=r(622);var a=r(707);var s=r(194);var o=a.Minimatch;function alphasort(t,e){return t.localeCompare(e,"en")}function setupIgnores(t,e){t.ignore=e.ignore||[];if(!Array.isArray(t.ignore))t.ignore=[t.ignore];if(t.ignore.length){t.ignore=t.ignore.map(ignoreMap)}}function ignoreMap(t){var e=null;if(t.slice(-3)==="/**"){var r=t.replace(/(\/\*\*)+$/,"");e=new o(r,{dot:true})}return{matcher:new o(t,{dot:true}),gmatcher:e}}function setopts(t,e,r){if(!r)r={};if(r.matchBase&&-1===e.indexOf("/")){if(r.noglobstar){throw new Error("base matching requires globstar")}e="**/"+e}t.silent=!!r.silent;t.pattern=e;t.strict=r.strict!==false;t.realpath=!!r.realpath;t.realpathCache=r.realpathCache||Object.create(null);t.follow=!!r.follow;t.dot=!!r.dot;t.mark=!!r.mark;t.nodir=!!r.nodir;if(t.nodir)t.mark=true;t.sync=!!r.sync;t.nounique=!!r.nounique;t.nonull=!!r.nonull;t.nosort=!!r.nosort;t.nocase=!!r.nocase;t.stat=!!r.stat;t.noprocess=!!r.noprocess;t.absolute=!!r.absolute;t.fs=r.fs||i;t.maxLength=r.maxLength||Infinity;t.cache=r.cache||Object.create(null);t.statCache=r.statCache||Object.create(null);t.symlinks=r.symlinks||Object.create(null);setupIgnores(t,r);t.changedCwd=false;var a=process.cwd();if(!ownProp(r,"cwd"))t.cwd=a;else{t.cwd=n.resolve(r.cwd);t.changedCwd=t.cwd!==a}t.root=r.root||n.resolve(t.cwd,"/");t.root=n.resolve(t.root);if(process.platform==="win32")t.root=t.root.replace(/\\/g,"/");t.cwdAbs=s(t.cwd)?t.cwd:makeAbs(t,t.cwd);if(process.platform==="win32")t.cwdAbs=t.cwdAbs.replace(/\\/g,"/");t.nomount=!!r.nomount;r.nonegate=true;r.nocomment=true;t.minimatch=new o(e,r);t.options=t.minimatch.options}function finish(t){var e=t.nounique;var r=e?[]:Object.create(null);for(var i=0,n=t.matches.length;i<n;i++){var a=t.matches[i];if(!a||Object.keys(a).length===0){if(t.nonull){var s=t.minimatch.globSet[i];if(e)r.push(s);else r[s]=true}}else{var o=Object.keys(a);if(e)r.push.apply(r,o);else o.forEach((function(t){r[t]=true}))}}if(!e)r=Object.keys(r);if(!t.nosort)r=r.sort(alphasort);if(t.mark){for(var i=0;i<r.length;i++){r[i]=t._mark(r[i])}if(t.nodir){r=r.filter((function(e){var r=!/\/$/.test(e);var i=t.cache[e]||t.cache[makeAbs(t,e)];if(r&&i)r=i!=="DIR"&&!Array.isArray(i);return r}))}}if(t.ignore.length)r=r.filter((function(e){return!isIgnored(t,e)}));t.found=r}function mark(t,e){var r=makeAbs(t,e);var i=t.cache[r];var n=e;if(i){var a=i==="DIR"||Array.isArray(i);var s=e.slice(-1)==="/";if(a&&!s)n+="/";else if(!a&&s)n=n.slice(0,-1);if(n!==e){var o=makeAbs(t,n);t.statCache[o]=t.statCache[r];t.cache[o]=t.cache[r]}}return n}function makeAbs(t,e){var r=e;if(e.charAt(0)==="/"){r=n.join(t.root,e)}else if(s(e)||e===""){r=e}else if(t.changedCwd){r=n.resolve(t.cwd,e)}else{r=n.resolve(e)}if(process.platform==="win32")r=r.replace(/\\/g,"/");return r}function isIgnored(t,e){if(!t.ignore.length)return false;return t.ignore.some((function(t){return t.matcher.match(e)||!!(t.gmatcher&&t.gmatcher.match(e))}))}function childrenIgnored(t,e){if(!t.ignore.length)return false;return t.ignore.some((function(t){return!!(t.gmatcher&&t.gmatcher.match(e))}))}},604:function(t,e,r){t.exports=glob;var i=r(899);var n=r(707);var a=n.Minimatch;var s=r(97);var o=r(614).EventEmitter;var c=r(622);var h=r(357);var l=r(194);var u=r(526);var p=r(670);var v=p.setopts;var d=p.ownProp;var m=r(854);var b=r(669);var g=p.childrenIgnored;var y=p.isIgnored;var _=r(39);function glob(t,e,r){if(typeof e==="function")r=e,e={};if(!e)e={};if(e.sync){if(r)throw new TypeError("callback provided to sync glob");return u(t,e)}return new Glob(t,e,r)}glob.sync=u;var w=glob.GlobSync=u.GlobSync;glob.glob=glob;function extend(t,e){if(e===null||typeof e!=="object"){return t}var r=Object.keys(e);var i=r.length;while(i--){t[r[i]]=e[r[i]]}return t}glob.hasMagic=function(t,e){var r=extend({},e);r.noprocess=true;var i=new Glob(t,r);var n=i.minimatch.set;if(!t)return false;if(n.length>1)return true;for(var a=0;a<n[0].length;a++){if(typeof n[0][a]!=="string")return true}return false};glob.Glob=Glob;s(Glob,o);function Glob(t,e,r){if(typeof e==="function"){r=e;e=null}if(e&&e.sync){if(r)throw new TypeError("callback provided to sync glob");return new w(t,e)}if(!(this instanceof Glob))return new Glob(t,e,r);v(this,t,e);this._didRealPath=false;var i=this.minimatch.set.length;this.matches=new Array(i);if(typeof r==="function"){r=_(r);this.on("error",r);this.on("end",(function(t){r(null,t)}))}var n=this;this._processing=0;this._emitQueue=[];this._processQueue=[];this.paused=false;if(this.noprocess)return this;if(i===0)return done();var a=true;for(var s=0;s<i;s++){this._process(this.minimatch.set[s],s,false,done)}a=false;function done(){--n._processing;if(n._processing<=0){if(a){process.nextTick((function(){n._finish()}))}else{n._finish()}}}}Glob.prototype._finish=function(){h(this instanceof Glob);if(this.aborted)return;if(this.realpath&&!this._didRealpath)return this._realpath();p.finish(this);this.emit("end",this.found)};Glob.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=true;var t=this.matches.length;if(t===0)return this._finish();var e=this;for(var r=0;r<this.matches.length;r++)this._realpathSet(r,next);function next(){if(--t===0)e._finish()}};Glob.prototype._realpathSet=function(t,e){var r=this.matches[t];if(!r)return e();var n=Object.keys(r);var a=this;var s=n.length;if(s===0)return e();var o=this.matches[t]=Object.create(null);n.forEach((function(r,n){r=a._makeAbs(r);i.realpath(r,a.realpathCache,(function(i,n){if(!i)o[n]=true;else if(i.syscall==="stat")o[r]=true;else a.emit("error",i);if(--s===0){a.matches[t]=o;e()}}))}))};Glob.prototype._mark=function(t){return p.mark(this,t)};Glob.prototype._makeAbs=function(t){return p.makeAbs(this,t)};Glob.prototype.abort=function(){this.aborted=true;this.emit("abort")};Glob.prototype.pause=function(){if(!this.paused){this.paused=true;this.emit("pause")}};Glob.prototype.resume=function(){if(this.paused){this.emit("resume");this.paused=false;if(this._emitQueue.length){var t=this._emitQueue.slice(0);this._emitQueue.length=0;for(var e=0;e<t.length;e++){var r=t[e];this._emitMatch(r[0],r[1])}}if(this._processQueue.length){var i=this._processQueue.slice(0);this._processQueue.length=0;for(var e=0;e<i.length;e++){var n=i[e];this._processing--;this._process(n[0],n[1],n[2],n[3])}}}};Glob.prototype._process=function(t,e,r,i){h(this instanceof Glob);h(typeof i==="function");if(this.aborted)return;this._processing++;if(this.paused){this._processQueue.push([t,e,r,i]);return}var a=0;while(typeof t[a]==="string"){a++}var s;switch(a){case t.length:this._processSimple(t.join("/"),e,i);return;case 0:s=null;break;default:s=t.slice(0,a).join("/");break}var o=t.slice(a);var c;if(s===null)c=".";else if(l(s)||l(t.join("/"))){if(!s||!l(s))s="/"+s;c=s}else c=s;var u=this._makeAbs(c);if(g(this,c))return i();var p=o[0]===n.GLOBSTAR;if(p)this._processGlobStar(s,c,u,o,e,r,i);else this._processReaddir(s,c,u,o,e,r,i)};Glob.prototype._processReaddir=function(t,e,r,i,n,a,s){var o=this;this._readdir(r,a,(function(c,h){return o._processReaddir2(t,e,r,i,n,a,h,s)}))};Glob.prototype._processReaddir2=function(t,e,r,i,n,a,s,o){if(!s)return o();var h=i[0];var l=!!this.minimatch.negate;var u=h._glob;var p=this.dot||u.charAt(0)===".";var v=[];for(var d=0;d<s.length;d++){var m=s[d];if(m.charAt(0)!=="."||p){var b;if(l&&!t){b=!m.match(h)}else{b=m.match(h)}if(b)v.push(m)}}var g=v.length;if(g===0)return o();if(i.length===1&&!this.mark&&!this.stat){if(!this.matches[n])this.matches[n]=Object.create(null);for(var d=0;d<g;d++){var m=v[d];if(t){if(t!=="/")m=t+"/"+m;else m=t+m}if(m.charAt(0)==="/"&&!this.nomount){m=c.join(this.root,m)}this._emitMatch(n,m)}return o()}i.shift();for(var d=0;d<g;d++){var m=v[d];var y;if(t){if(t!=="/")m=t+"/"+m;else m=t+m}this._process([m].concat(i),n,a,o)}o()};Glob.prototype._emitMatch=function(t,e){if(this.aborted)return;if(y(this,e))return;if(this.paused){this._emitQueue.push([t,e]);return}var r=l(e)?e:this._makeAbs(e);if(this.mark)e=this._mark(e);if(this.absolute)e=r;if(this.matches[t][e])return;if(this.nodir){var i=this.cache[r];if(i==="DIR"||Array.isArray(i))return}this.matches[t][e]=true;var n=this.statCache[r];if(n)this.emit("stat",e,n);this.emit("match",e)};Glob.prototype._readdirInGlobStar=function(t,e){if(this.aborted)return;if(this.follow)return this._readdir(t,false,e);var r="lstat\0"+t;var i=this;var n=m(r,lstatcb_);if(n)i.fs.lstat(t,n);function lstatcb_(r,n){if(r&&r.code==="ENOENT")return e();var a=n&&n.isSymbolicLink();i.symlinks[t]=a;if(!a&&n&&!n.isDirectory()){i.cache[t]="FILE";e()}else i._readdir(t,false,e)}};Glob.prototype._readdir=function(t,e,r){if(this.aborted)return;r=m("readdir\0"+t+"\0"+e,r);if(!r)return;if(e&&!d(this.symlinks,t))return this._readdirInGlobStar(t,r);if(d(this.cache,t)){var i=this.cache[t];if(!i||i==="FILE")return r();if(Array.isArray(i))return r(null,i)}var n=this;n.fs.readdir(t,readdirCb(this,t,r))};function readdirCb(t,e,r){return function(i,n){if(i)t._readdirError(e,i,r);else t._readdirEntries(e,n,r)}}Glob.prototype._readdirEntries=function(t,e,r){if(this.aborted)return;if(!this.mark&&!this.stat){for(var i=0;i<e.length;i++){var n=e[i];if(t==="/")n=t+n;else n=t+"/"+n;this.cache[n]=true}}this.cache[t]=e;return r(null,e)};Glob.prototype._readdirError=function(t,e,r){if(this.aborted)return;switch(e.code){case"ENOTSUP":case"ENOTDIR":var i=this._makeAbs(t);this.cache[i]="FILE";if(i===this.cwdAbs){var n=new Error(e.code+" invalid cwd "+this.cwd);n.path=this.cwd;n.code=e.code;this.emit("error",n);this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=false;break;default:this.cache[this._makeAbs(t)]=false;if(this.strict){this.emit("error",e);this.abort()}if(!this.silent)console.error("glob error",e);break}return r()};Glob.prototype._processGlobStar=function(t,e,r,i,n,a,s){var o=this;this._readdir(r,a,(function(c,h){o._processGlobStar2(t,e,r,i,n,a,h,s)}))};Glob.prototype._processGlobStar2=function(t,e,r,i,n,a,s,o){if(!s)return o();var c=i.slice(1);var h=t?[t]:[];var l=h.concat(c);this._process(l,n,false,o);var u=this.symlinks[r];var p=s.length;if(u&&a)return o();for(var v=0;v<p;v++){var d=s[v];if(d.charAt(0)==="."&&!this.dot)continue;var m=h.concat(s[v],c);this._process(m,n,true,o);var b=h.concat(s[v],i);this._process(b,n,true,o)}o()};Glob.prototype._processSimple=function(t,e,r){var i=this;this._stat(t,(function(n,a){i._processSimple2(t,e,n,a,r)}))};Glob.prototype._processSimple2=function(t,e,r,i,n){if(!this.matches[e])this.matches[e]=Object.create(null);if(!i)return n();if(t&&l(t)&&!this.nomount){var a=/[\/\\]$/.test(t);if(t.charAt(0)==="/"){t=c.join(this.root,t)}else{t=c.resolve(this.root,t);if(a)t+="/"}}if(process.platform==="win32")t=t.replace(/\\/g,"/");this._emitMatch(e,t);n()};Glob.prototype._stat=function(t,e){var r=this._makeAbs(t);var i=t.slice(-1)==="/";if(t.length>this.maxLength)return e();if(!this.stat&&d(this.cache,r)){var n=this.cache[r];if(Array.isArray(n))n="DIR";if(!i||n==="DIR")return e(null,n);if(i&&n==="FILE")return e()}var a;var s=this.statCache[r];if(s!==undefined){if(s===false)return e(null,s);else{var o=s.isDirectory()?"DIR":"FILE";if(i&&o==="FILE")return e();else return e(null,o,s)}}var c=this;var h=m("stat\0"+r,lstatcb_);if(h)c.fs.lstat(r,h);function lstatcb_(i,n){if(n&&n.isSymbolicLink()){return c.fs.stat(r,(function(i,a){if(i)c._stat2(t,r,null,n,e);else c._stat2(t,r,i,a,e)}))}else{c._stat2(t,r,i,n,e)}}};Glob.prototype._stat2=function(t,e,r,i,n){if(r&&(r.code==="ENOENT"||r.code==="ENOTDIR")){this.statCache[e]=false;return n()}var a=t.slice(-1)==="/";this.statCache[e]=i;if(e.slice(-1)==="/"&&i&&!i.isDirectory())return n(null,false,i);var s=true;if(i)s=i.isDirectory()?"DIR":"FILE";this.cache[e]=this.cache[e]||s;if(a&&s==="FILE")return n();return n(null,s,i)}},526:function(t,e,r){t.exports=globSync;globSync.GlobSync=GlobSync;var i=r(899);var n=r(707);var a=n.Minimatch;var s=r(604).Glob;var o=r(669);var c=r(622);var h=r(357);var l=r(194);var u=r(670);var p=u.setopts;var v=u.ownProp;var d=u.childrenIgnored;var m=u.isIgnored;function globSync(t,e){if(typeof e==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");return new GlobSync(t,e).found}function GlobSync(t,e){if(!t)throw new Error("must provide pattern");if(typeof e==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof GlobSync))return new GlobSync(t,e);p(this,t,e);if(this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var i=0;i<r;i++){this._process(this.minimatch.set[i],i,false)}this._finish()}GlobSync.prototype._finish=function(){h(this instanceof GlobSync);if(this.realpath){var t=this;this.matches.forEach((function(e,r){var n=t.matches[r]=Object.create(null);for(var a in e){try{a=t._makeAbs(a);var s=i.realpathSync(a,t.realpathCache);n[s]=true}catch(e){if(e.syscall==="stat")n[t._makeAbs(a)]=true;else throw e}}}))}u.finish(this)};GlobSync.prototype._process=function(t,e,r){h(this instanceof GlobSync);var i=0;while(typeof t[i]==="string"){i++}var a;switch(i){case t.length:this._processSimple(t.join("/"),e);return;case 0:a=null;break;default:a=t.slice(0,i).join("/");break}var s=t.slice(i);var o;if(a===null)o=".";else if(l(a)||l(t.join("/"))){if(!a||!l(a))a="/"+a;o=a}else o=a;var c=this._makeAbs(o);if(d(this,o))return;var u=s[0]===n.GLOBSTAR;if(u)this._processGlobStar(a,o,c,s,e,r);else this._processReaddir(a,o,c,s,e,r)};GlobSync.prototype._processReaddir=function(t,e,r,i,n,a){var s=this._readdir(r,a);if(!s)return;var o=i[0];var h=!!this.minimatch.negate;var l=o._glob;var u=this.dot||l.charAt(0)===".";var p=[];for(var v=0;v<s.length;v++){var d=s[v];if(d.charAt(0)!=="."||u){var m;if(h&&!t){m=!d.match(o)}else{m=d.match(o)}if(m)p.push(d)}}var b=p.length;if(b===0)return;if(i.length===1&&!this.mark&&!this.stat){if(!this.matches[n])this.matches[n]=Object.create(null);for(var v=0;v<b;v++){var d=p[v];if(t){if(t.slice(-1)!=="/")d=t+"/"+d;else d=t+d}if(d.charAt(0)==="/"&&!this.nomount){d=c.join(this.root,d)}this._emitMatch(n,d)}return}i.shift();for(var v=0;v<b;v++){var d=p[v];var g;if(t)g=[t,d];else g=[d];this._process(g.concat(i),n,a)}};GlobSync.prototype._emitMatch=function(t,e){if(m(this,e))return;var r=this._makeAbs(e);if(this.mark)e=this._mark(e);if(this.absolute){e=r}if(this.matches[t][e])return;if(this.nodir){var i=this.cache[r];if(i==="DIR"||Array.isArray(i))return}this.matches[t][e]=true;if(this.stat)this._stat(e)};GlobSync.prototype._readdirInGlobStar=function(t){if(this.follow)return this._readdir(t,false);var e;var r;var i;try{r=this.fs.lstatSync(t)}catch(t){if(t.code==="ENOENT"){return null}}var n=r&&r.isSymbolicLink();this.symlinks[t]=n;if(!n&&r&&!r.isDirectory())this.cache[t]="FILE";else e=this._readdir(t,false);return e};GlobSync.prototype._readdir=function(t,e){var r;if(e&&!v(this.symlinks,t))return this._readdirInGlobStar(t);if(v(this.cache,t)){var i=this.cache[t];if(!i||i==="FILE")return null;if(Array.isArray(i))return i}try{return this._readdirEntries(t,this.fs.readdirSync(t))}catch(e){this._readdirError(t,e);return null}};GlobSync.prototype._readdirEntries=function(t,e){if(!this.mark&&!this.stat){for(var r=0;r<e.length;r++){var i=e[r];if(t==="/")i=t+i;else i=t+"/"+i;this.cache[i]=true}}this.cache[t]=e;return e};GlobSync.prototype._readdirError=function(t,e){switch(e.code){case"ENOTSUP":case"ENOTDIR":var r=this._makeAbs(t);this.cache[r]="FILE";if(r===this.cwdAbs){var i=new Error(e.code+" invalid cwd "+this.cwd);i.path=this.cwd;i.code=e.code;throw i}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=false;break;default:this.cache[this._makeAbs(t)]=false;if(this.strict)throw e;if(!this.silent)console.error("glob error",e);break}};GlobSync.prototype._processGlobStar=function(t,e,r,i,n,a){var s=this._readdir(r,a);if(!s)return;var o=i.slice(1);var c=t?[t]:[];var h=c.concat(o);this._process(h,n,false);var l=s.length;var u=this.symlinks[r];if(u&&a)return;for(var p=0;p<l;p++){var v=s[p];if(v.charAt(0)==="."&&!this.dot)continue;var d=c.concat(s[p],o);this._process(d,n,true);var m=c.concat(s[p],i);this._process(m,n,true)}};GlobSync.prototype._processSimple=function(t,e){var r=this._stat(t);if(!this.matches[e])this.matches[e]=Object.create(null);if(!r)return;if(t&&l(t)&&!this.nomount){var i=/[\/\\]$/.test(t);if(t.charAt(0)==="/"){t=c.join(this.root,t)}else{t=c.resolve(this.root,t);if(i)t+="/"}}if(process.platform==="win32")t=t.replace(/\\/g,"/");this._emitMatch(e,t)};GlobSync.prototype._stat=function(t){var e=this._makeAbs(t);var r=t.slice(-1)==="/";if(t.length>this.maxLength)return false;if(!this.stat&&v(this.cache,e)){var i=this.cache[e];if(Array.isArray(i))i="DIR";if(!r||i==="DIR")return i;if(r&&i==="FILE")return false}var n;var a=this.statCache[e];if(!a){var s;try{s=this.fs.lstatSync(e)}catch(t){if(t&&(t.code==="ENOENT"||t.code==="ENOTDIR")){this.statCache[e]=false;return false}}if(s&&s.isSymbolicLink()){try{a=this.fs.statSync(e)}catch(t){a=s}}else{a=s}}this.statCache[e]=a;var i=true;if(a)i=a.isDirectory()?"DIR":"FILE";this.cache[e]=this.cache[e]||i;if(r&&i==="FILE")return false;return i};GlobSync.prototype._mark=function(t){return u.mark(this,t)};GlobSync.prototype._makeAbs=function(t){return u.makeAbs(this,t)}},854:function(t,e,r){var i=r(315);var n=Object.create(null);var a=r(39);t.exports=i(inflight);function inflight(t,e){if(n[t]){n[t].push(e);return null}else{n[t]=[e];return makeres(t)}}function makeres(t){return a((function RES(){var e=n[t];var r=e.length;var i=slice(arguments);try{for(var a=0;a<r;a++){e[a].apply(null,i)}}finally{if(e.length>r){e.splice(0,r);process.nextTick((function(){RES.apply(null,i)}))}else{delete n[t]}}}))}function slice(t){var e=t.length;var r=[];for(var i=0;i<e;i++)r[i]=t[i];return r}},97:function(t,e,r){try{var i=r(669);if(typeof i.inherits!=="function")throw"";t.exports=i.inherits}catch(e){t.exports=r(312)}},312:function(t){if(typeof Object.create==="function"){t.exports=function inherits(t,e){if(e){t.super_=e;t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:false,writable:true,configurable:true}})}}}else{t.exports=function inherits(t,e){if(e){t.super_=e;var TempCtor=function(){};TempCtor.prototype=e.prototype;t.prototype=new TempCtor;t.prototype.constructor=t}}}},707:function(t,e,r){t.exports=minimatch;minimatch.Minimatch=Minimatch;var i={sep:"/"};try{i=r(622)}catch(t){}var n=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var a=r(793);var s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var o="[^/]";var c=o+"*?";var h="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var l="(?:(?!(?:\\/|^)\\.).)*?";var u=charSet("().*{}+?[]^$\\!");function charSet(t){return t.split("").reduce((function(t,e){t[e]=true;return t}),{})}var p=/\/+/;minimatch.filter=filter;function filter(t,e){e=e||{};return function(r,i,n){return minimatch(r,t,e)}}function ext(t,e){t=t||{};e=e||{};var r={};Object.keys(e).forEach((function(t){r[t]=e[t]}));Object.keys(t).forEach((function(e){r[e]=t[e]}));return r}minimatch.defaults=function(t){if(!t||!Object.keys(t).length)return minimatch;var e=minimatch;var r=function minimatch(r,i,n){return e.minimatch(r,i,ext(t,n))};r.Minimatch=function Minimatch(r,i){return new e.Minimatch(r,ext(t,i))};return r};Minimatch.defaults=function(t){if(!t||!Object.keys(t).length)return Minimatch;return minimatch.defaults(t).Minimatch};function minimatch(t,e,r){if(typeof e!=="string"){throw new TypeError("glob pattern string required")}if(!r)r={};if(!r.nocomment&&e.charAt(0)==="#"){return false}if(e.trim()==="")return t==="";return new Minimatch(e,r).match(t)}function Minimatch(t,e){if(!(this instanceof Minimatch)){return new Minimatch(t,e)}if(typeof t!=="string"){throw new TypeError("glob pattern string required")}if(!e)e={};t=t.trim();if(i.sep!=="/"){t=t.split(i.sep).join("/")}this.options=e;this.set=[];this.pattern=t;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){if(this._made)return;var t=this.pattern;var e=this.options;if(!e.nocomment&&t.charAt(0)==="#"){this.comment=true;return}if(!t){this.empty=true;return}this.parseNegate();var r=this.globSet=this.braceExpand();if(e.debug)this.debug=console.error;this.debug(this.pattern,r);r=this.globParts=r.map((function(t){return t.split(p)}));this.debug(this.pattern,r);r=r.map((function(t,e,r){return t.map(this.parse,this)}),this);this.debug(this.pattern,r);r=r.filter((function(t){return t.indexOf(false)===-1}));this.debug(this.pattern,r);this.set=r}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var t=this.pattern;var e=false;var r=this.options;var i=0;if(r.nonegate)return;for(var n=0,a=t.length;n<a&&t.charAt(n)==="!";n++){e=!e;i++}if(i)this.pattern=t.substr(i);this.negate=e}minimatch.braceExpand=function(t,e){return braceExpand(t,e)};Minimatch.prototype.braceExpand=braceExpand;function braceExpand(t,e){if(!e){if(this instanceof Minimatch){e=this.options}else{e={}}}t=typeof t==="undefined"?this.pattern:t;if(typeof t==="undefined"){throw new TypeError("undefined pattern")}if(e.nobrace||!t.match(/\{.*\}/)){return[t]}return a(t)}Minimatch.prototype.parse=parse;var v={};function parse(t,e){if(t.length>1024*64){throw new TypeError("pattern is too long")}var r=this.options;if(!r.noglobstar&&t==="**")return n;if(t==="")return"";var i="";var a=!!r.nocase;var h=false;var l=[];var p=[];var d;var m=false;var b=-1;var g=-1;var y=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var _=this;function clearStateChar(){if(d){switch(d){case"*":i+=c;a=true;break;case"?":i+=o;a=true;break;default:i+="\\"+d;break}_.debug("clearStateChar %j %j",d,i);d=false}}for(var w=0,k=t.length,S;w<k&&(S=t.charAt(w));w++){this.debug("%s\t%s %s %j",t,w,i,S);if(h&&u[S]){i+="\\"+S;h=false;continue}switch(S){case"/":return false;case"\\":clearStateChar();h=true;continue;case"?":case"*":case"+":case"@":case"!":this.debug("%s\t%s %s %j <-- stateChar",t,w,i,S);if(m){this.debug(" in class");if(S==="!"&&w===g+1)S="^";i+=S;continue}_.debug("call clearStateChar %j",d);clearStateChar();d=S;if(r.noext)clearStateChar();continue;case"(":if(m){i+="(";continue}if(!d){i+="\\(";continue}l.push({type:d,start:w-1,reStart:i.length,open:s[d].open,close:s[d].close});i+=d==="!"?"(?:(?!(?:":"(?:";this.debug("plType %j %j",d,i);d=false;continue;case")":if(m||!l.length){i+="\\)";continue}clearStateChar();a=true;var E=l.pop();i+=E.close;if(E.type==="!"){p.push(E)}E.reEnd=i.length;continue;case"|":if(m||!l.length||h){i+="\\|";h=false;continue}clearStateChar();i+="|";continue;case"[":clearStateChar();if(m){i+="\\"+S;continue}m=true;g=w;b=i.length;i+=S;continue;case"]":if(w===g+1||!m){i+="\\"+S;h=false;continue}if(m){var O=t.substring(g+1,w);try{RegExp("["+O+"]")}catch(t){var x=this.parse(O,v);i=i.substr(0,b)+"\\["+x[0]+"\\]";a=a||x[1];m=false;continue}}a=true;m=false;i+=S;continue;default:clearStateChar();if(h){h=false}else if(u[S]&&!(S==="^"&&m)){i+="\\"}i+=S}}if(m){O=t.substr(g+1);x=this.parse(O,v);i=i.substr(0,b)+"\\["+x[0];a=a||x[1]}for(E=l.pop();E;E=l.pop()){var A=i.slice(E.reStart+E.open.length);this.debug("setting tail",i,E);A=A.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(t,e,r){if(!r){r="\\"}return e+e+r+"|"}));this.debug("tail=%j\n %s",A,A,E,i);var G=E.type==="*"?c:E.type==="?"?o:"\\"+E.type;a=true;i=i.slice(0,E.reStart)+G+"\\("+A}clearStateChar();if(h){i+="\\\\"}var j=false;switch(i.charAt(0)){case".":case"[":case"(":j=true}for(var I=p.length-1;I>-1;I--){var M=p[I];var C=i.slice(0,M.reStart);var L=i.slice(M.reStart,M.reEnd-8);var R=i.slice(M.reEnd-8,M.reEnd);var T=i.slice(M.reEnd);R+=T;var N=C.split("(").length-1;var P=T;for(w=0;w<N;w++){P=P.replace(/\)[+*?]?/,"")}T=P;var D="";if(T===""&&e!==v){D="$"}var $=C+L+T+D+R;i=$}if(i!==""&&a){i="(?=.)"+i}if(j){i=y+i}if(e===v){return[i,a]}if(!a){return globUnescape(t)}var F=r.nocase?"i":"";try{var q=new RegExp("^"+i+"$",F)}catch(t){return new RegExp("$.")}q._glob=t;q._src=i;return q}minimatch.makeRe=function(t,e){return new Minimatch(t,e||{}).makeRe()};Minimatch.prototype.makeRe=makeRe;function makeRe(){if(this.regexp||this.regexp===false)return this.regexp;var t=this.set;if(!t.length){this.regexp=false;return this.regexp}var e=this.options;var r=e.noglobstar?c:e.dot?h:l;var i=e.nocase?"i":"";var a=t.map((function(t){return t.map((function(t){return t===n?r:typeof t==="string"?regExpEscape(t):t._src})).join("\\/")})).join("|");a="^(?:"+a+")$";if(this.negate)a="^(?!"+a+").*$";try{this.regexp=new RegExp(a,i)}catch(t){this.regexp=false}return this.regexp}minimatch.match=function(t,e,r){r=r||{};var i=new Minimatch(e,r);t=t.filter((function(t){return i.match(t)}));if(i.options.nonull&&!t.length){t.push(e)}return t};Minimatch.prototype.match=match;function match(t,e){this.debug("match",t,this.pattern);if(this.comment)return false;if(this.empty)return t==="";if(t==="/"&&e)return true;var r=this.options;if(i.sep!=="/"){t=t.split(i.sep).join("/")}t=t.split(p);this.debug(this.pattern,"split",t);var n=this.set;this.debug(this.pattern,"set",n);var a;var s;for(s=t.length-1;s>=0;s--){a=t[s];if(a)break}for(s=0;s<n.length;s++){var o=n[s];var c=t;if(r.matchBase&&o.length===1){c=[a]}var h=this.matchOne(c,o,e);if(h){if(r.flipNegate)return true;return!this.negate}}if(r.flipNegate)return false;return this.negate}Minimatch.prototype.matchOne=function(t,e,r){var i=this.options;this.debug("matchOne",{this:this,file:t,pattern:e});this.debug("matchOne",t.length,e.length);for(var a=0,s=0,o=t.length,c=e.length;a<o&&s<c;a++,s++){this.debug("matchOne loop");var h=e[s];var l=t[a];this.debug(e,h,l);if(h===false)return false;if(h===n){this.debug("GLOBSTAR",[e,h,l]);var u=a;var p=s+1;if(p===c){this.debug("** at the end");for(;a<o;a++){if(t[a]==="."||t[a]===".."||!i.dot&&t[a].charAt(0)===".")return false}return true}while(u<o){var v=t[u];this.debug("\nglobstar while",t,u,e,p,v);if(this.matchOne(t.slice(u),e.slice(p),r)){this.debug("globstar found match!",u,o,v);return true}else{if(v==="."||v===".."||!i.dot&&v.charAt(0)==="."){this.debug("dot detected!",t,u,e,p);break}this.debug("globstar swallow a segment, and continue");u++}}if(r){this.debug("\n>>> no match, partial?",t,u,e,p);if(u===o)return true}return false}var d;if(typeof h==="string"){if(i.nocase){d=l.toLowerCase()===h.toLowerCase()}else{d=l===h}this.debug("string match",h,l,d)}else{d=l.match(h);this.debug("pattern match",h,l,d)}if(!d)return false}if(a===o&&s===c){return true}else if(a===o){return r}else if(s===c){var m=a===o-1&&t[a]==="";return m}throw new Error("wtf?")};function globUnescape(t){return t.replace(/\\(.)/g,"$1")}function regExpEscape(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},39:function(t,e,r){var i=r(315);t.exports=i(once);t.exports.strict=i(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(t){var f=function(){if(f.called)return f.value;f.called=true;return f.value=t.apply(this,arguments)};f.called=false;return f}function onceStrict(t){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=t.apply(this,arguments)};var e=t.name||"Function wrapped with `once`";f.onceError=e+" shouldn't be called more than once";f.called=false;return f}},194:function(t){"use strict";function posix(t){return t.charAt(0)==="/"}function win32(t){var e=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var r=e.exec(t);var i=r[1]||"";var n=Boolean(i&&i.charAt(1)!==":");return Boolean(r[2]||n)}t.exports=process.platform==="win32"?win32:posix;t.exports.posix=posix;t.exports.win32=win32},315:function(t){t.exports=wrappy;function wrappy(t,e){if(t&&e)return wrappy(t)(e);if(typeof t!=="function")throw new TypeError("need wrapper function");Object.keys(t).forEach((function(e){wrapper[e]=t[e]}));return wrapper;function wrapper(){var e=new Array(arguments.length);for(var r=0;r<e.length;r++){e[r]=arguments[r]}var i=t.apply(this,e);var n=e[e.length-1];if(typeof i==="function"&&i!==n){Object.keys(n).forEach((function(t){i[t]=n[t]}))}return i}}},357:function(t){"use strict";t.exports=require("assert")},614:function(t){"use strict";t.exports=require("events")},747:function(t){"use strict";t.exports=require("fs")},622:function(t){"use strict";t.exports=require("path")},669:function(t){"use strict";t.exports=require("util")}};var e={};function __nccwpck_require__(r){var i=e[r];if(i!==undefined){return i.exports}var n=e[r]={exports:{}};var a=true;try{t[r](n,n.exports,__nccwpck_require__);a=false}finally{if(a)delete e[r]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(604);module.exports=r})();
@@ -0,0 +1,204 @@
1
+ // Type definitions for Minimatch 3.0
2
+ // Project: https://github.com/isaacs/minimatch
3
+ // Definitions by: vvakame <https://github.com/vvakame>
4
+ // Shant Marouti <https://github.com/shantmarouti>
5
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
6
+
7
+ /**
8
+ * Tests a path against the pattern using the options.
9
+ */
10
+ declare function M(target: string, pattern: string, options?: M.IOptions): boolean;
11
+
12
+ declare namespace M {
13
+ /**
14
+ * Match against the list of files, in the style of fnmatch or glob.
15
+ * If nothing is matched, and options.nonull is set,
16
+ * then return a list containing the pattern itself.
17
+ */
18
+ function match(list: ReadonlyArray<string>, pattern: string, options?: IOptions): string[];
19
+
20
+ /**
21
+ * Returns a function that tests its supplied argument, suitable for use with Array.filter
22
+ */
23
+ function filter(pattern: string, options?: IOptions): (element: string, indexed: number, array: ReadonlyArray<string>) => boolean;
24
+
25
+ /**
26
+ * Make a regular expression object from the pattern.
27
+ */
28
+ function makeRe(pattern: string, options?: IOptions): RegExp;
29
+
30
+ let Minimatch: IMinimatchStatic;
31
+
32
+ interface IOptions {
33
+ /**
34
+ * Dump a ton of stuff to stderr.
35
+ *
36
+ * @default false
37
+ */
38
+ debug?: boolean | undefined;
39
+
40
+ /**
41
+ * Do not expand {a,b} and {1..3} brace sets.
42
+ *
43
+ * @default false
44
+ */
45
+ nobrace?: boolean | undefined;
46
+
47
+ /**
48
+ * Disable ** matching against multiple folder names.
49
+ *
50
+ * @default false
51
+ */
52
+ noglobstar?: boolean | undefined;
53
+
54
+ /**
55
+ * Allow patterns to match filenames starting with a period,
56
+ * even if the pattern does not explicitly have a period in that spot.
57
+ *
58
+ * @default false
59
+ */
60
+ dot?: boolean | undefined;
61
+
62
+ /**
63
+ * Disable "extglob" style patterns like +(a|b).
64
+ *
65
+ * @default false
66
+ */
67
+ noext?: boolean | undefined;
68
+
69
+ /**
70
+ * Perform a case-insensitive match.
71
+ *
72
+ * @default false
73
+ */
74
+ nocase?: boolean | undefined;
75
+
76
+ /**
77
+ * When a match is not found by minimatch.match,
78
+ * return a list containing the pattern itself if this option is set.
79
+ * Otherwise, an empty list is returned if there are no matches.
80
+ *
81
+ * @default false
82
+ */
83
+ nonull?: boolean | undefined;
84
+
85
+ /**
86
+ * If set, then patterns without slashes will be matched against
87
+ * the basename of the path if it contains slashes.
88
+ *
89
+ * @default false
90
+ */
91
+ matchBase?: boolean | undefined;
92
+
93
+ /**
94
+ * Suppress the behavior of treating #
95
+ * at the start of a pattern as a comment.
96
+ *
97
+ * @default false
98
+ */
99
+ nocomment?: boolean | undefined;
100
+
101
+ /**
102
+ * Suppress the behavior of treating a leading ! character as negation.
103
+ *
104
+ * @default false
105
+ */
106
+ nonegate?: boolean | undefined;
107
+
108
+ /**
109
+ * Returns from negate expressions the same as if they were not negated.
110
+ * (Ie, true on a hit, false on a miss.)
111
+ *
112
+ * @default false
113
+ */
114
+ flipNegate?: boolean | undefined;
115
+ }
116
+
117
+ interface IMinimatchStatic {
118
+ new(pattern: string, options?: IOptions): IMinimatch;
119
+ prototype: IMinimatch;
120
+ }
121
+
122
+ interface IMinimatch {
123
+ /**
124
+ * The original pattern the minimatch object represents.
125
+ */
126
+ pattern: string;
127
+
128
+ /**
129
+ * The options supplied to the constructor.
130
+ */
131
+ options: IOptions;
132
+
133
+ /**
134
+ * A 2-dimensional array of regexp or string expressions.
135
+ */
136
+ set: any[][]; // (RegExp | string)[][]
137
+
138
+ /**
139
+ * A single regular expression expressing the entire pattern.
140
+ * Created by the makeRe method.
141
+ */
142
+ regexp: RegExp;
143
+
144
+ /**
145
+ * True if the pattern is negated.
146
+ */
147
+ negate: boolean;
148
+
149
+ /**
150
+ * True if the pattern is a comment.
151
+ */
152
+ comment: boolean;
153
+
154
+ /**
155
+ * True if the pattern is ""
156
+ */
157
+ empty: boolean;
158
+
159
+ /**
160
+ * Generate the regexp member if necessary, and return it.
161
+ * Will return false if the pattern is invalid.
162
+ */
163
+ makeRe(): RegExp; // regexp or boolean
164
+
165
+ /**
166
+ * Return true if the filename matches the pattern, or false otherwise.
167
+ */
168
+ match(fname: string): boolean;
169
+
170
+ /**
171
+ * Take a /-split filename, and match it against a single row in the regExpSet.
172
+ * This method is mainly for internal use, but is exposed so that it can be used
173
+ * by a glob-walker that needs to avoid excessive filesystem calls.
174
+ */
175
+ matchOne(files: string[], pattern: string[], partial: boolean): boolean;
176
+
177
+ /**
178
+ * @deprecated. For internal use.
179
+ */
180
+ debug(): void;
181
+
182
+ /**
183
+ * @deprecated. For internal use.
184
+ */
185
+ make(): void;
186
+
187
+ /**
188
+ * @deprecated. For internal use.
189
+ */
190
+ parseNegate(): void;
191
+
192
+ /**
193
+ * @deprecated. For internal use.
194
+ */
195
+ braceExpand(pattern: string, options: IOptions): void;
196
+
197
+ /**
198
+ * @deprecated. For internal use.
199
+ */
200
+ parse(pattern: string, isSub?: boolean): void;
201
+ }
202
+ }
203
+
204
+ export = M;
@@ -0,0 +1 @@
1
+ {"name":"glob","author":"Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)","license":"ISC"}
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,26 @@
1
+ /**
2
+ Import a module lazily.
3
+
4
+ @example
5
+ ```
6
+ // Pass in `require` or a custom import function
7
+ import importLazy = require('../import-lazy');
8
+ const _ = importLazy(require)('lodash');
9
+
10
+ // Instead of referring to its exported properties directly…
11
+ _.isNumber(2);
12
+
13
+ // …it's cached on consecutive calls
14
+ _.isNumber('unicorn');
15
+
16
+ // Works out of the box for functions and regular properties
17
+ const stuff = importLazy(require)('./math-lib');
18
+ console.log(stuff.sum(1, 2)); // => 3
19
+ console.log(stuff.PHI); // => 1.618033
20
+ ```
21
+ */
22
+ declare function importLazy<T = unknown>(
23
+ importFn: (moduleId: string) => T
24
+ ): (moduleId: string) => T;
25
+
26
+ export = importLazy;
@@ -0,0 +1 @@
1
+ (function(){"use strict";var e={889:function(e){const lazy=(e,r,t)=>e===undefined?r(t):e;e.exports=e=>r=>{let t;const n={get:(n,_)=>{t=lazy(t,e,r);return Reflect.get(t,_)},apply:(n,_,u)=>{t=lazy(t,e,r);return Reflect.apply(t,_,u)},construct:(n,_)=>{t=lazy(t,e,r);return Reflect.construct(t,_)}};return new Proxy((function(){}),n)}}};var r={};function __nccwpck_require__(t){var n=r[t];if(n!==undefined){return n.exports}var _=r[t]={exports:{}};var u=true;try{e[t](_,_.exports,__nccwpck_require__);u=false}finally{if(u)delete r[t]}return _.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(889);module.exports=t})();
@@ -0,0 +1 @@
1
+ {"name":"import-lazy","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"license":"MIT"}
@@ -0,0 +1,47 @@
1
+ Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
2
+
3
+ Based on Underscore.js, copyright Jeremy Ashkenas,
4
+ DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
5
+
6
+ This software consists of voluntary contributions made by many
7
+ individuals. For exact contribution history, see the revision history
8
+ available at https://github.com/lodash/lodash
9
+
10
+ The following license applies to all parts of this software except as
11
+ documented below:
12
+
13
+ ====
14
+
15
+ Permission is hereby granted, free of charge, to any person obtaining
16
+ a copy of this software and associated documentation files (the
17
+ "Software"), to deal in the Software without restriction, including
18
+ without limitation the rights to use, copy, modify, merge, publish,
19
+ distribute, sublicense, and/or sell copies of the Software, and to
20
+ permit persons to whom the Software is furnished to do so, subject to
21
+ the following conditions:
22
+
23
+ The above copyright notice and this permission notice shall be
24
+ included in all copies or substantial portions of the Software.
25
+
26
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
27
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
28
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
29
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
30
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
31
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
32
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
33
+
34
+ ====
35
+
36
+ Copyright and related rights for sample code are waived via CC0. Sample
37
+ code is defined as all source code displayed within the prose of the
38
+ documentation.
39
+
40
+ CC0: http://creativecommons.org/publicdomain/zero/1.0/
41
+
42
+ ====
43
+
44
+ Files located in the node_modules and vendor directories are externally
45
+ maintained libraries used by this software which have their own
46
+ licenses; we recommend you read them, as their terms may differ from the
47
+ terms above.