prismic-ts-codegen 0.1.16 → 0.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (546) hide show
  1. package/bin/prismic-ts-codegen.js +3 -0
  2. package/dist/_node_modules/@babel/code-frame/lib/index.cjs +144 -0
  3. package/dist/_node_modules/@babel/code-frame/lib/index.cjs.map +1 -0
  4. package/dist/_node_modules/@babel/code-frame/lib/index.js +143 -0
  5. package/dist/_node_modules/@babel/code-frame/lib/index.js.map +1 -0
  6. package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.cjs +82 -0
  7. package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.cjs.map +1 -0
  8. package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.js +83 -0
  9. package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
  10. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs +62 -0
  11. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs.map +1 -0
  12. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js +61 -0
  13. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
  14. package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.cjs +35 -0
  15. package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.cjs.map +1 -0
  16. package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.js +36 -0
  17. package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
  18. package/dist/_node_modules/@babel/highlight/lib/index.cjs +100 -0
  19. package/dist/_node_modules/@babel/highlight/lib/index.cjs.map +1 -0
  20. package/dist/_node_modules/@babel/highlight/lib/index.js +99 -0
  21. package/dist/_node_modules/@babel/highlight/lib/index.js.map +1 -0
  22. package/dist/_node_modules/ansi-styles/index.cjs +146 -0
  23. package/dist/_node_modules/ansi-styles/index.cjs.map +1 -0
  24. package/dist/_node_modules/ansi-styles/index.js +146 -0
  25. package/dist/_node_modules/ansi-styles/index.js.map +1 -0
  26. package/dist/_node_modules/arrify/index.cjs +10 -0
  27. package/dist/_node_modules/arrify/index.cjs.map +1 -0
  28. package/dist/_node_modules/arrify/index.js +10 -0
  29. package/dist/_node_modules/arrify/index.js.map +1 -0
  30. package/dist/_node_modules/camelcase/index.cjs +83 -0
  31. package/dist/_node_modules/camelcase/index.cjs.map +1 -0
  32. package/dist/_node_modules/camelcase/index.js +84 -0
  33. package/dist/_node_modules/camelcase/index.js.map +1 -0
  34. package/dist/_node_modules/camelcase-keys/index.cjs +55 -0
  35. package/dist/_node_modules/camelcase-keys/index.cjs.map +1 -0
  36. package/dist/_node_modules/camelcase-keys/index.js +56 -0
  37. package/dist/_node_modules/camelcase-keys/index.js.map +1 -0
  38. package/dist/_node_modules/chalk/index.cjs +172 -0
  39. package/dist/_node_modules/chalk/index.cjs.map +1 -0
  40. package/dist/_node_modules/chalk/index.js +172 -0
  41. package/dist/_node_modules/chalk/index.js.map +1 -0
  42. package/dist/_node_modules/chalk/templates.cjs +108 -0
  43. package/dist/_node_modules/chalk/templates.cjs.map +1 -0
  44. package/dist/_node_modules/chalk/templates.js +108 -0
  45. package/dist/_node_modules/chalk/templates.js.map +1 -0
  46. package/dist/_node_modules/color-convert/conversions.cjs +710 -0
  47. package/dist/_node_modules/color-convert/conversions.cjs.map +1 -0
  48. package/dist/_node_modules/color-convert/conversions.js +710 -0
  49. package/dist/_node_modules/color-convert/conversions.js.map +1 -0
  50. package/dist/_node_modules/color-convert/index.cjs +59 -0
  51. package/dist/_node_modules/color-convert/index.cjs.map +1 -0
  52. package/dist/_node_modules/color-convert/index.js +59 -0
  53. package/dist/_node_modules/color-convert/index.js.map +1 -0
  54. package/dist/_node_modules/color-convert/route.cjs +69 -0
  55. package/dist/_node_modules/color-convert/route.cjs.map +1 -0
  56. package/dist/_node_modules/color-convert/route.js +69 -0
  57. package/dist/_node_modules/color-convert/route.js.map +1 -0
  58. package/dist/_node_modules/color-name/index.cjs +154 -0
  59. package/dist/_node_modules/color-name/index.cjs.map +1 -0
  60. package/dist/_node_modules/color-name/index.js +154 -0
  61. package/dist/_node_modules/color-name/index.js.map +1 -0
  62. package/dist/_node_modules/data-uri-to-buffer/dist/index.cjs +41 -0
  63. package/dist/_node_modules/data-uri-to-buffer/dist/index.cjs.map +1 -0
  64. package/dist/_node_modules/data-uri-to-buffer/dist/index.js +41 -0
  65. package/dist/_node_modules/data-uri-to-buffer/dist/index.js.map +1 -0
  66. package/dist/_node_modules/decamelize/index.cjs +38 -0
  67. package/dist/_node_modules/decamelize/index.cjs.map +1 -0
  68. package/dist/_node_modules/decamelize/index.js +39 -0
  69. package/dist/_node_modules/decamelize/index.js.map +1 -0
  70. package/dist/_node_modules/decamelize-keys/index.cjs +50 -0
  71. package/dist/_node_modules/decamelize-keys/index.cjs.map +1 -0
  72. package/dist/_node_modules/decamelize-keys/index.js +51 -0
  73. package/dist/_node_modules/decamelize-keys/index.js.map +1 -0
  74. package/dist/_node_modules/error-ex/index.cjs +109 -0
  75. package/dist/_node_modules/error-ex/index.cjs.map +1 -0
  76. package/dist/_node_modules/error-ex/index.js +109 -0
  77. package/dist/_node_modules/error-ex/index.js.map +1 -0
  78. package/dist/_node_modules/escape-string-regexp/index.cjs +11 -0
  79. package/dist/_node_modules/escape-string-regexp/index.cjs.map +1 -0
  80. package/dist/_node_modules/escape-string-regexp/index.js +11 -0
  81. package/dist/_node_modules/escape-string-regexp/index.js.map +1 -0
  82. package/dist/_node_modules/fetch-blob/file.cjs +61 -0
  83. package/dist/_node_modules/fetch-blob/file.cjs.map +1 -0
  84. package/dist/_node_modules/fetch-blob/file.js +61 -0
  85. package/dist/_node_modules/fetch-blob/file.js.map +1 -0
  86. package/dist/_node_modules/fetch-blob/index.cjs +223 -0
  87. package/dist/_node_modules/fetch-blob/index.cjs.map +1 -0
  88. package/dist/_node_modules/fetch-blob/index.js +223 -0
  89. package/dist/_node_modules/fetch-blob/index.js.map +1 -0
  90. package/dist/_node_modules/fetch-blob/streams.cjs +43 -0
  91. package/dist/_node_modules/fetch-blob/streams.cjs.map +1 -0
  92. package/dist/_node_modules/fetch-blob/streams.js +42 -0
  93. package/dist/_node_modules/fetch-blob/streams.js.map +1 -0
  94. package/dist/_node_modules/formdata-polyfill/esm.min.cjs +116 -0
  95. package/dist/_node_modules/formdata-polyfill/esm.min.cjs.map +1 -0
  96. package/dist/_node_modules/formdata-polyfill/esm.min.js +116 -0
  97. package/dist/_node_modules/formdata-polyfill/esm.min.js.map +1 -0
  98. package/dist/_node_modules/function-bind/implementation.cjs +47 -0
  99. package/dist/_node_modules/function-bind/implementation.cjs.map +1 -0
  100. package/dist/_node_modules/function-bind/implementation.js +47 -0
  101. package/dist/_node_modules/function-bind/implementation.js.map +1 -0
  102. package/dist/_node_modules/function-bind/index.cjs +7 -0
  103. package/dist/_node_modules/function-bind/index.cjs.map +1 -0
  104. package/dist/_node_modules/function-bind/index.js +7 -0
  105. package/dist/_node_modules/function-bind/index.js.map +1 -0
  106. package/dist/_node_modules/hard-rejection/index.cjs +25 -0
  107. package/dist/_node_modules/hard-rejection/index.cjs.map +1 -0
  108. package/dist/_node_modules/hard-rejection/index.js +26 -0
  109. package/dist/_node_modules/hard-rejection/index.js.map +1 -0
  110. package/dist/_node_modules/has/src/index.cjs +7 -0
  111. package/dist/_node_modules/has/src/index.cjs.map +1 -0
  112. package/dist/_node_modules/has/src/index.js +7 -0
  113. package/dist/_node_modules/has/src/index.js.map +1 -0
  114. package/dist/_node_modules/hosted-git-info/lib/from-url.cjs +93 -0
  115. package/dist/_node_modules/hosted-git-info/lib/from-url.cjs.map +1 -0
  116. package/dist/_node_modules/hosted-git-info/lib/from-url.js +93 -0
  117. package/dist/_node_modules/hosted-git-info/lib/from-url.js.map +1 -0
  118. package/dist/_node_modules/hosted-git-info/lib/hosts.cjs +164 -0
  119. package/dist/_node_modules/hosted-git-info/lib/hosts.cjs.map +1 -0
  120. package/dist/_node_modules/hosted-git-info/lib/hosts.js +164 -0
  121. package/dist/_node_modules/hosted-git-info/lib/hosts.js.map +1 -0
  122. package/dist/_node_modules/hosted-git-info/lib/index.cjs +168 -0
  123. package/dist/_node_modules/hosted-git-info/lib/index.cjs.map +1 -0
  124. package/dist/_node_modules/hosted-git-info/lib/index.js +168 -0
  125. package/dist/_node_modules/hosted-git-info/lib/index.js.map +1 -0
  126. package/dist/_node_modules/hosted-git-info/lib/parse-url.cjs +51 -0
  127. package/dist/_node_modules/hosted-git-info/lib/parse-url.cjs.map +1 -0
  128. package/dist/_node_modules/hosted-git-info/lib/parse-url.js +51 -0
  129. package/dist/_node_modules/hosted-git-info/lib/parse-url.js.map +1 -0
  130. package/dist/_node_modules/indent-string/index.cjs +34 -0
  131. package/dist/_node_modules/indent-string/index.cjs.map +1 -0
  132. package/dist/_node_modules/indent-string/index.js +35 -0
  133. package/dist/_node_modules/indent-string/index.js.map +1 -0
  134. package/dist/_node_modules/is-arrayish/index.cjs +10 -0
  135. package/dist/_node_modules/is-arrayish/index.cjs.map +1 -0
  136. package/dist/_node_modules/is-arrayish/index.js +10 -0
  137. package/dist/_node_modules/is-arrayish/index.js.map +1 -0
  138. package/dist/_node_modules/is-core-module/core.json.cjs +496 -0
  139. package/dist/_node_modules/is-core-module/core.json.cjs.map +1 -0
  140. package/dist/_node_modules/is-core-module/core.json.js +496 -0
  141. package/dist/_node_modules/is-core-module/core.json.js.map +1 -0
  142. package/dist/_node_modules/is-core-module/index.cjs +62 -0
  143. package/dist/_node_modules/is-core-module/index.cjs.map +1 -0
  144. package/dist/_node_modules/is-core-module/index.js +62 -0
  145. package/dist/_node_modules/is-core-module/index.js.map +1 -0
  146. package/dist/_node_modules/is-plain-obj/index.cjs +9 -0
  147. package/dist/_node_modules/is-plain-obj/index.cjs.map +1 -0
  148. package/dist/_node_modules/is-plain-obj/index.js +9 -0
  149. package/dist/_node_modules/is-plain-obj/index.js.map +1 -0
  150. package/dist/_node_modules/js-tokens/index.cjs +27 -0
  151. package/dist/_node_modules/js-tokens/index.cjs.map +1 -0
  152. package/dist/_node_modules/js-tokens/index.js +26 -0
  153. package/dist/_node_modules/js-tokens/index.js.map +1 -0
  154. package/dist/_node_modules/json-parse-even-better-errors/index.cjs +90 -0
  155. package/dist/_node_modules/json-parse-even-better-errors/index.cjs.map +1 -0
  156. package/dist/_node_modules/json-parse-even-better-errors/index.js +90 -0
  157. package/dist/_node_modules/json-parse-even-better-errors/index.js.map +1 -0
  158. package/dist/_node_modules/kind-of/index.cjs +129 -0
  159. package/dist/_node_modules/kind-of/index.cjs.map +1 -0
  160. package/dist/_node_modules/kind-of/index.js +129 -0
  161. package/dist/_node_modules/kind-of/index.js.map +1 -0
  162. package/dist/_node_modules/lines-and-columns/build/index.cjs +67 -0
  163. package/dist/_node_modules/lines-and-columns/build/index.cjs.map +1 -0
  164. package/dist/_node_modules/lines-and-columns/build/index.js +66 -0
  165. package/dist/_node_modules/lines-and-columns/build/index.js.map +1 -0
  166. package/dist/_node_modules/lru-cache/index.cjs +1015 -0
  167. package/dist/_node_modules/lru-cache/index.cjs.map +1 -0
  168. package/dist/_node_modules/lru-cache/index.js +1015 -0
  169. package/dist/_node_modules/lru-cache/index.js.map +1 -0
  170. package/dist/_node_modules/map-obj/index.cjs +49 -0
  171. package/dist/_node_modules/map-obj/index.cjs.map +1 -0
  172. package/dist/_node_modules/map-obj/index.js +50 -0
  173. package/dist/_node_modules/map-obj/index.js.map +1 -0
  174. package/dist/_node_modules/meow/source/index.cjs +88 -0
  175. package/dist/_node_modules/meow/source/index.cjs.map +1 -0
  176. package/dist/_node_modules/meow/source/index.js +89 -0
  177. package/dist/_node_modules/meow/source/index.js.map +1 -0
  178. package/dist/_node_modules/meow/source/options.cjs +83 -0
  179. package/dist/_node_modules/meow/source/options.cjs.map +1 -0
  180. package/dist/_node_modules/meow/source/options.js +83 -0
  181. package/dist/_node_modules/meow/source/options.js.map +1 -0
  182. package/dist/_node_modules/meow/source/parser.cjs +61 -0
  183. package/dist/_node_modules/meow/source/parser.cjs.map +1 -0
  184. package/dist/_node_modules/meow/source/parser.js +61 -0
  185. package/dist/_node_modules/meow/source/parser.js.map +1 -0
  186. package/dist/_node_modules/meow/source/utils.cjs +8 -0
  187. package/dist/_node_modules/meow/source/utils.cjs.map +1 -0
  188. package/dist/_node_modules/meow/source/utils.js +8 -0
  189. package/dist/_node_modules/meow/source/utils.js.map +1 -0
  190. package/dist/_node_modules/meow/source/validate.cjs +102 -0
  191. package/dist/_node_modules/meow/source/validate.cjs.map +1 -0
  192. package/dist/_node_modules/meow/source/validate.js +102 -0
  193. package/dist/_node_modules/meow/source/validate.js.map +1 -0
  194. package/dist/_node_modules/min-indent/index.cjs +12 -0
  195. package/dist/_node_modules/min-indent/index.cjs.map +1 -0
  196. package/dist/_node_modules/min-indent/index.js +13 -0
  197. package/dist/_node_modules/min-indent/index.js.map +1 -0
  198. package/dist/_node_modules/minimist-options/index.cjs +94 -0
  199. package/dist/_node_modules/minimist-options/index.cjs.map +1 -0
  200. package/dist/_node_modules/minimist-options/index.js +95 -0
  201. package/dist/_node_modules/minimist-options/index.js.map +1 -0
  202. package/dist/_node_modules/node-domexception/index.cjs +11 -0
  203. package/dist/_node_modules/node-domexception/index.cjs.map +1 -0
  204. package/dist/_node_modules/node-domexception/index.js +10 -0
  205. package/dist/_node_modules/node-domexception/index.js.map +1 -0
  206. package/dist/_node_modules/node-fetch/src/body.cjs +262 -0
  207. package/dist/_node_modules/node-fetch/src/body.cjs.map +1 -0
  208. package/dist/_node_modules/node-fetch/src/body.js +262 -0
  209. package/dist/_node_modules/node-fetch/src/body.js.map +1 -0
  210. package/dist/_node_modules/node-fetch/src/errors/abort-error.cjs +10 -0
  211. package/dist/_node_modules/node-fetch/src/errors/abort-error.cjs.map +1 -0
  212. package/dist/_node_modules/node-fetch/src/errors/abort-error.js +10 -0
  213. package/dist/_node_modules/node-fetch/src/errors/abort-error.js.map +1 -0
  214. package/dist/_node_modules/node-fetch/src/errors/base.cjs +17 -0
  215. package/dist/_node_modules/node-fetch/src/errors/base.cjs.map +1 -0
  216. package/dist/_node_modules/node-fetch/src/errors/base.js +17 -0
  217. package/dist/_node_modules/node-fetch/src/errors/base.js.map +1 -0
  218. package/dist/_node_modules/node-fetch/src/errors/fetch-error.cjs +19 -0
  219. package/dist/_node_modules/node-fetch/src/errors/fetch-error.cjs.map +1 -0
  220. package/dist/_node_modules/node-fetch/src/errors/fetch-error.js +19 -0
  221. package/dist/_node_modules/node-fetch/src/errors/fetch-error.js.map +1 -0
  222. package/dist/_node_modules/node-fetch/src/headers.cjs +190 -0
  223. package/dist/_node_modules/node-fetch/src/headers.cjs.map +1 -0
  224. package/dist/_node_modules/node-fetch/src/headers.js +190 -0
  225. package/dist/_node_modules/node-fetch/src/headers.js.map +1 -0
  226. package/dist/_node_modules/node-fetch/src/index.cjs +292 -0
  227. package/dist/_node_modules/node-fetch/src/index.cjs.map +1 -0
  228. package/dist/_node_modules/node-fetch/src/index.js +292 -0
  229. package/dist/_node_modules/node-fetch/src/index.js.map +1 -0
  230. package/dist/_node_modules/node-fetch/src/request.cjs +206 -0
  231. package/dist/_node_modules/node-fetch/src/request.cjs.map +1 -0
  232. package/dist/_node_modules/node-fetch/src/request.js +206 -0
  233. package/dist/_node_modules/node-fetch/src/request.js.map +1 -0
  234. package/dist/_node_modules/node-fetch/src/response.cjs +122 -0
  235. package/dist/_node_modules/node-fetch/src/response.cjs.map +1 -0
  236. package/dist/_node_modules/node-fetch/src/response.js +123 -0
  237. package/dist/_node_modules/node-fetch/src/response.js.map +1 -0
  238. package/dist/_node_modules/node-fetch/src/utils/get-search.cjs +12 -0
  239. package/dist/_node_modules/node-fetch/src/utils/get-search.cjs.map +1 -0
  240. package/dist/_node_modules/node-fetch/src/utils/get-search.js +12 -0
  241. package/dist/_node_modules/node-fetch/src/utils/get-search.js.map +1 -0
  242. package/dist/_node_modules/node-fetch/src/utils/is-redirect.cjs +8 -0
  243. package/dist/_node_modules/node-fetch/src/utils/is-redirect.cjs.map +1 -0
  244. package/dist/_node_modules/node-fetch/src/utils/is-redirect.js +8 -0
  245. package/dist/_node_modules/node-fetch/src/utils/is-redirect.js.map +1 -0
  246. package/dist/_node_modules/node-fetch/src/utils/is.cjs +28 -0
  247. package/dist/_node_modules/node-fetch/src/utils/is.cjs.map +1 -0
  248. package/dist/_node_modules/node-fetch/src/utils/is.js +28 -0
  249. package/dist/_node_modules/node-fetch/src/utils/is.js.map +1 -0
  250. package/dist/_node_modules/node-fetch/src/utils/multipart-parser.cjs +356 -0
  251. package/dist/_node_modules/node-fetch/src/utils/multipart-parser.cjs.map +1 -0
  252. package/dist/_node_modules/node-fetch/src/utils/multipart-parser.js +356 -0
  253. package/dist/_node_modules/node-fetch/src/utils/multipart-parser.js.map +1 -0
  254. package/dist/_node_modules/node-fetch/src/utils/referrer.cjs +149 -0
  255. package/dist/_node_modules/node-fetch/src/utils/referrer.cjs.map +1 -0
  256. package/dist/_node_modules/node-fetch/src/utils/referrer.js +149 -0
  257. package/dist/_node_modules/node-fetch/src/utils/referrer.js.map +1 -0
  258. package/dist/_node_modules/normalize-package-data/lib/extract_description.cjs +24 -0
  259. package/dist/_node_modules/normalize-package-data/lib/extract_description.cjs.map +1 -0
  260. package/dist/_node_modules/normalize-package-data/lib/extract_description.js +24 -0
  261. package/dist/_node_modules/normalize-package-data/lib/extract_description.js.map +1 -0
  262. package/dist/_node_modules/normalize-package-data/lib/fixer.cjs +438 -0
  263. package/dist/_node_modules/normalize-package-data/lib/fixer.cjs.map +1 -0
  264. package/dist/_node_modules/normalize-package-data/lib/fixer.js +438 -0
  265. package/dist/_node_modules/normalize-package-data/lib/fixer.js.map +1 -0
  266. package/dist/_node_modules/normalize-package-data/lib/make_warning.cjs +26 -0
  267. package/dist/_node_modules/normalize-package-data/lib/make_warning.cjs.map +1 -0
  268. package/dist/_node_modules/normalize-package-data/lib/make_warning.js +26 -0
  269. package/dist/_node_modules/normalize-package-data/lib/make_warning.js.map +1 -0
  270. package/dist/_node_modules/normalize-package-data/lib/normalize.cjs +58 -0
  271. package/dist/_node_modules/normalize-package-data/lib/normalize.cjs.map +1 -0
  272. package/dist/_node_modules/normalize-package-data/lib/normalize.js +59 -0
  273. package/dist/_node_modules/normalize-package-data/lib/normalize.js.map +1 -0
  274. package/dist/_node_modules/normalize-package-data/lib/typos.json.cjs +41 -0
  275. package/dist/_node_modules/normalize-package-data/lib/typos.json.cjs.map +1 -0
  276. package/dist/_node_modules/normalize-package-data/lib/typos.json.js +41 -0
  277. package/dist/_node_modules/normalize-package-data/lib/typos.json.js.map +1 -0
  278. package/dist/_node_modules/normalize-package-data/lib/warning_messages.json.cjs +90 -0
  279. package/dist/_node_modules/normalize-package-data/lib/warning_messages.json.cjs.map +1 -0
  280. package/dist/_node_modules/normalize-package-data/lib/warning_messages.json.js +90 -0
  281. package/dist/_node_modules/normalize-package-data/lib/warning_messages.json.js.map +1 -0
  282. package/dist/_node_modules/parse-json/index.cjs +54 -0
  283. package/dist/_node_modules/parse-json/index.cjs.map +1 -0
  284. package/dist/_node_modules/parse-json/index.js +55 -0
  285. package/dist/_node_modules/parse-json/index.js.map +1 -0
  286. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.cjs +159 -0
  287. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.cjs.map +1 -0
  288. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.js +159 -0
  289. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.js.map +1 -0
  290. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.cjs +88 -0
  291. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.cjs.map +1 -0
  292. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.js +88 -0
  293. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.js.map +1 -0
  294. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs +180 -0
  295. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs.map +1 -0
  296. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js +180 -0
  297. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js.map +1 -0
  298. package/dist/_node_modules/read-pkg/_node_modules/lru-cache/index.cjs +268 -0
  299. package/dist/_node_modules/read-pkg/_node_modules/lru-cache/index.cjs.map +1 -0
  300. package/dist/_node_modules/read-pkg/_node_modules/lru-cache/index.js +268 -0
  301. package/dist/_node_modules/read-pkg/_node_modules/lru-cache/index.js.map +1 -0
  302. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.cjs +20 -0
  303. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.cjs.map +1 -0
  304. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.js +20 -0
  305. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.js.map +1 -0
  306. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.cjs +438 -0
  307. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.cjs.map +1 -0
  308. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.js +438 -0
  309. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.js.map +1 -0
  310. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.cjs +26 -0
  311. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.cjs.map +1 -0
  312. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.js +26 -0
  313. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.js.map +1 -0
  314. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.cjs +58 -0
  315. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.cjs.map +1 -0
  316. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.js +59 -0
  317. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.js.map +1 -0
  318. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.cjs +41 -0
  319. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.cjs.map +1 -0
  320. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.js +41 -0
  321. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.js.map +1 -0
  322. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.cjs +90 -0
  323. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.cjs.map +1 -0
  324. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.js +90 -0
  325. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.js.map +1 -0
  326. package/dist/_node_modules/read-pkg/index.cjs +20 -0
  327. package/dist/_node_modules/read-pkg/index.cjs.map +1 -0
  328. package/dist/_node_modules/read-pkg/index.js +20 -0
  329. package/dist/_node_modules/read-pkg/index.js.map +1 -0
  330. package/dist/_node_modules/read-pkg-up/_node_modules/find-up/index.cjs +48 -0
  331. package/dist/_node_modules/read-pkg-up/_node_modules/find-up/index.cjs.map +1 -0
  332. package/dist/_node_modules/read-pkg-up/_node_modules/find-up/index.js +48 -0
  333. package/dist/_node_modules/read-pkg-up/_node_modules/find-up/index.js.map +1 -0
  334. package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.cjs +43 -0
  335. package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.cjs.map +1 -0
  336. package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.js +43 -0
  337. package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.js.map +1 -0
  338. package/dist/_node_modules/read-pkg-up/index.cjs +17 -0
  339. package/dist/_node_modules/read-pkg-up/index.cjs.map +1 -0
  340. package/dist/_node_modules/read-pkg-up/index.js +17 -0
  341. package/dist/_node_modules/read-pkg-up/index.js.map +1 -0
  342. package/dist/_node_modules/redent/index.cjs +8 -0
  343. package/dist/_node_modules/redent/index.cjs.map +1 -0
  344. package/dist/_node_modules/redent/index.js +9 -0
  345. package/dist/_node_modules/redent/index.js.map +1 -0
  346. package/dist/_node_modules/semver/classes/semver.cjs +245 -0
  347. package/dist/_node_modules/semver/classes/semver.cjs.map +1 -0
  348. package/dist/_node_modules/semver/classes/semver.js +245 -0
  349. package/dist/_node_modules/semver/classes/semver.js.map +1 -0
  350. package/dist/_node_modules/semver/functions/clean.cjs +11 -0
  351. package/dist/_node_modules/semver/functions/clean.cjs.map +1 -0
  352. package/dist/_node_modules/semver/functions/clean.js +11 -0
  353. package/dist/_node_modules/semver/functions/clean.js.map +1 -0
  354. package/dist/_node_modules/semver/functions/parse.cjs +20 -0
  355. package/dist/_node_modules/semver/functions/parse.cjs.map +1 -0
  356. package/dist/_node_modules/semver/functions/parse.js +20 -0
  357. package/dist/_node_modules/semver/functions/parse.js.map +1 -0
  358. package/dist/_node_modules/semver/functions/valid.cjs +11 -0
  359. package/dist/_node_modules/semver/functions/valid.cjs.map +1 -0
  360. package/dist/_node_modules/semver/functions/valid.js +11 -0
  361. package/dist/_node_modules/semver/functions/valid.js.map +1 -0
  362. package/dist/_node_modules/semver/internal/constants.cjs +29 -0
  363. package/dist/_node_modules/semver/internal/constants.cjs.map +1 -0
  364. package/dist/_node_modules/semver/internal/constants.js +29 -0
  365. package/dist/_node_modules/semver/internal/constants.js.map +1 -0
  366. package/dist/_node_modules/semver/internal/debug.cjs +7 -0
  367. package/dist/_node_modules/semver/internal/debug.cjs.map +1 -0
  368. package/dist/_node_modules/semver/internal/debug.js +7 -0
  369. package/dist/_node_modules/semver/internal/debug.js.map +1 -0
  370. package/dist/_node_modules/semver/internal/identifiers.cjs +19 -0
  371. package/dist/_node_modules/semver/internal/identifiers.cjs.map +1 -0
  372. package/dist/_node_modules/semver/internal/identifiers.js +19 -0
  373. package/dist/_node_modules/semver/internal/identifiers.js.map +1 -0
  374. package/dist/_node_modules/semver/internal/parse-options.cjs +16 -0
  375. package/dist/_node_modules/semver/internal/parse-options.cjs.map +1 -0
  376. package/dist/_node_modules/semver/internal/parse-options.js +16 -0
  377. package/dist/_node_modules/semver/internal/parse-options.js.map +1 -0
  378. package/dist/_node_modules/semver/internal/re.cjs +82 -0
  379. package/dist/_node_modules/semver/internal/re.cjs.map +1 -0
  380. package/dist/_node_modules/semver/internal/re.js +82 -0
  381. package/dist/_node_modules/semver/internal/re.js.map +1 -0
  382. package/dist/_node_modules/spdx-correct/index.cjs +334 -0
  383. package/dist/_node_modules/spdx-correct/index.cjs.map +1 -0
  384. package/dist/_node_modules/spdx-correct/index.js +334 -0
  385. package/dist/_node_modules/spdx-correct/index.js.map +1 -0
  386. package/dist/_node_modules/spdx-exceptions/index.json.cjs +43 -0
  387. package/dist/_node_modules/spdx-exceptions/index.json.cjs.map +1 -0
  388. package/dist/_node_modules/spdx-exceptions/index.json.js +44 -0
  389. package/dist/_node_modules/spdx-exceptions/index.json.js.map +1 -0
  390. package/dist/_node_modules/spdx-expression-parse/index.cjs +11 -0
  391. package/dist/_node_modules/spdx-expression-parse/index.cjs.map +1 -0
  392. package/dist/_node_modules/spdx-expression-parse/index.js +11 -0
  393. package/dist/_node_modules/spdx-expression-parse/index.js.map +1 -0
  394. package/dist/_node_modules/spdx-expression-parse/parse.cjs +111 -0
  395. package/dist/_node_modules/spdx-expression-parse/parse.cjs.map +1 -0
  396. package/dist/_node_modules/spdx-expression-parse/parse.js +111 -0
  397. package/dist/_node_modules/spdx-expression-parse/parse.js.map +1 -0
  398. package/dist/_node_modules/spdx-expression-parse/scan.cjs +104 -0
  399. package/dist/_node_modules/spdx-expression-parse/scan.cjs.map +1 -0
  400. package/dist/_node_modules/spdx-expression-parse/scan.js +104 -0
  401. package/dist/_node_modules/spdx-expression-parse/scan.js.map +1 -0
  402. package/dist/_node_modules/spdx-license-ids/deprecated.json.cjs +30 -0
  403. package/dist/_node_modules/spdx-license-ids/deprecated.json.cjs.map +1 -0
  404. package/dist/_node_modules/spdx-license-ids/deprecated.json.js +31 -0
  405. package/dist/_node_modules/spdx-license-ids/deprecated.json.js.map +1 -0
  406. package/dist/_node_modules/spdx-license-ids/index.json.cjs +510 -0
  407. package/dist/_node_modules/spdx-license-ids/index.json.cjs.map +1 -0
  408. package/dist/_node_modules/spdx-license-ids/index.json.js +511 -0
  409. package/dist/_node_modules/spdx-license-ids/index.json.js.map +1 -0
  410. package/dist/_node_modules/strip-indent/index.cjs +12 -0
  411. package/dist/_node_modules/strip-indent/index.cjs.map +1 -0
  412. package/dist/_node_modules/strip-indent/index.js +13 -0
  413. package/dist/_node_modules/strip-indent/index.js.map +1 -0
  414. package/dist/_node_modules/supports-color/browser.cjs +8 -0
  415. package/dist/_node_modules/supports-color/browser.cjs.map +1 -0
  416. package/dist/_node_modules/supports-color/browser.js +8 -0
  417. package/dist/_node_modules/supports-color/browser.js.map +1 -0
  418. package/dist/_node_modules/trim-newlines/index.cjs +15 -0
  419. package/dist/_node_modules/trim-newlines/index.cjs.map +1 -0
  420. package/dist/_node_modules/trim-newlines/index.js +15 -0
  421. package/dist/_node_modules/trim-newlines/index.js.map +1 -0
  422. package/dist/_node_modules/validate-npm-package-license/index.cjs +71 -0
  423. package/dist/_node_modules/validate-npm-package-license/index.cjs.map +1 -0
  424. package/dist/_node_modules/validate-npm-package-license/index.js +71 -0
  425. package/dist/_node_modules/validate-npm-package-license/index.js.map +1 -0
  426. package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.cjs +3822 -0
  427. package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.cjs.map +1 -0
  428. package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +3822 -0
  429. package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +1 -0
  430. package/dist/_node_modules/yallist/iterator.cjs +19 -0
  431. package/dist/_node_modules/yallist/iterator.cjs.map +1 -0
  432. package/dist/_node_modules/yallist/iterator.js +19 -0
  433. package/dist/_node_modules/yallist/iterator.js.map +1 -0
  434. package/dist/_node_modules/yallist/yallist.cjs +367 -0
  435. package/dist/_node_modules/yallist/yallist.cjs.map +1 -0
  436. package/dist/_node_modules/yallist/yallist.js +367 -0
  437. package/dist/_node_modules/yallist/yallist.js.map +1 -0
  438. package/dist/_node_modules/yargs-parser/build/lib/index.cjs +56 -0
  439. package/dist/_node_modules/yargs-parser/build/lib/index.cjs.map +1 -0
  440. package/dist/_node_modules/yargs-parser/build/lib/index.js +57 -0
  441. package/dist/_node_modules/yargs-parser/build/lib/index.js.map +1 -0
  442. package/dist/_node_modules/yargs-parser/build/lib/string-utils.cjs +63 -0
  443. package/dist/_node_modules/yargs-parser/build/lib/string-utils.cjs.map +1 -0
  444. package/dist/_node_modules/yargs-parser/build/lib/string-utils.js +63 -0
  445. package/dist/_node_modules/yargs-parser/build/lib/string-utils.js.map +1 -0
  446. package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.cjs +39 -0
  447. package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.cjs.map +1 -0
  448. package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.js +39 -0
  449. package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.js.map +1 -0
  450. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.cjs +15 -0
  451. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.cjs.map +1 -0
  452. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.js +16 -0
  453. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.js.map +1 -0
  454. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.cjs +847 -0
  455. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.cjs.map +1 -0
  456. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.js +847 -0
  457. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.js.map +1 -0
  458. package/dist/_virtual/_commonjsHelpers.cjs +9 -0
  459. package/dist/_virtual/_commonjsHelpers.cjs.map +1 -0
  460. package/dist/_virtual/_commonjsHelpers.js +9 -0
  461. package/dist/_virtual/_commonjsHelpers.js.map +1 -0
  462. package/dist/_virtual/conversions.cjs +5 -0
  463. package/dist/_virtual/conversions.cjs.map +1 -0
  464. package/dist/_virtual/conversions.js +5 -0
  465. package/dist/_virtual/conversions.js.map +1 -0
  466. package/dist/_virtual/identifier.cjs +5 -0
  467. package/dist/_virtual/identifier.cjs.map +1 -0
  468. package/dist/_virtual/identifier.js +5 -0
  469. package/dist/_virtual/identifier.js.map +1 -0
  470. package/dist/_virtual/index.cjs +5 -0
  471. package/dist/_virtual/index.cjs.map +1 -0
  472. package/dist/_virtual/index.js +5 -0
  473. package/dist/_virtual/index.js.map +1 -0
  474. package/dist/_virtual/index10.cjs +5 -0
  475. package/dist/_virtual/index10.cjs.map +1 -0
  476. package/dist/_virtual/index10.js +5 -0
  477. package/dist/_virtual/index10.js.map +1 -0
  478. package/dist/_virtual/index11.cjs +5 -0
  479. package/dist/_virtual/index11.cjs.map +1 -0
  480. package/dist/_virtual/index11.js +5 -0
  481. package/dist/_virtual/index11.js.map +1 -0
  482. package/dist/_virtual/index2.cjs +5 -0
  483. package/dist/_virtual/index2.cjs.map +1 -0
  484. package/dist/_virtual/index2.js +5 -0
  485. package/dist/_virtual/index2.js.map +1 -0
  486. package/dist/_virtual/index3.cjs +5 -0
  487. package/dist/_virtual/index3.cjs.map +1 -0
  488. package/dist/_virtual/index3.js +5 -0
  489. package/dist/_virtual/index3.js.map +1 -0
  490. package/dist/_virtual/index4.cjs +5 -0
  491. package/dist/_virtual/index4.cjs.map +1 -0
  492. package/dist/_virtual/index4.js +5 -0
  493. package/dist/_virtual/index4.js.map +1 -0
  494. package/dist/_virtual/index5.cjs +5 -0
  495. package/dist/_virtual/index5.cjs.map +1 -0
  496. package/dist/_virtual/index5.js +5 -0
  497. package/dist/_virtual/index5.js.map +1 -0
  498. package/dist/_virtual/index6.cjs +5 -0
  499. package/dist/_virtual/index6.cjs.map +1 -0
  500. package/dist/_virtual/index6.js +5 -0
  501. package/dist/_virtual/index6.js.map +1 -0
  502. package/dist/_virtual/index7.cjs +5 -0
  503. package/dist/_virtual/index7.cjs.map +1 -0
  504. package/dist/_virtual/index7.js +5 -0
  505. package/dist/_virtual/index7.js.map +1 -0
  506. package/dist/_virtual/index8.cjs +5 -0
  507. package/dist/_virtual/index8.cjs.map +1 -0
  508. package/dist/_virtual/index8.js +5 -0
  509. package/dist/_virtual/index8.js.map +1 -0
  510. package/dist/_virtual/index9.cjs +5 -0
  511. package/dist/_virtual/index9.cjs.map +1 -0
  512. package/dist/_virtual/index9.js +5 -0
  513. package/dist/_virtual/index9.js.map +1 -0
  514. package/dist/_virtual/keyword.cjs +5 -0
  515. package/dist/_virtual/keyword.cjs.map +1 -0
  516. package/dist/_virtual/keyword.js +5 -0
  517. package/dist/_virtual/keyword.js.map +1 -0
  518. package/dist/_virtual/ponyfill.es2018.cjs +5 -0
  519. package/dist/_virtual/ponyfill.es2018.cjs.map +1 -0
  520. package/dist/_virtual/ponyfill.es2018.js +5 -0
  521. package/dist/_virtual/ponyfill.es2018.js.map +1 -0
  522. package/dist/_virtual/re.cjs +5 -0
  523. package/dist/_virtual/re.cjs.map +1 -0
  524. package/dist/_virtual/re.js +5 -0
  525. package/dist/_virtual/re.js.map +1 -0
  526. package/dist/cli/loadLocaleIDs.cjs +2 -2
  527. package/dist/cli/loadLocaleIDs.cjs.map +1 -1
  528. package/dist/cli/loadLocaleIDs.js +1 -1
  529. package/dist/cli/loadModels.cjs +2 -2
  530. package/dist/cli/loadModels.cjs.map +1 -1
  531. package/dist/cli/loadModels.js +1 -1
  532. package/dist/cli.cjs +2 -2
  533. package/dist/cli.cjs.map +1 -1
  534. package/dist/cli.js +1 -1
  535. package/dist/lib/buildFieldProperties.cjs +2 -0
  536. package/dist/lib/buildFieldProperties.cjs.map +1 -1
  537. package/dist/lib/buildFieldProperties.js +2 -0
  538. package/dist/lib/buildFieldProperties.js.map +1 -1
  539. package/dist/lib/buildSharedSliceType.cjs +2 -0
  540. package/dist/lib/buildSharedSliceType.cjs.map +1 -1
  541. package/dist/lib/buildSharedSliceType.js +2 -0
  542. package/dist/lib/buildSharedSliceType.js.map +1 -1
  543. package/package.json +2 -2
  544. package/src/lib/buildFieldProperties.ts +2 -0
  545. package/src/lib/buildSharedSliceType.ts +2 -0
  546. package/bin/prismic-ts-codegen.mjs +0 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"normalize.js","sources":["../../../../../../node_modules/read-pkg/node_modules/normalize-package-data/lib/normalize.js"],"sourcesContent":["module.exports = normalize\n\nvar fixer = require('./fixer')\nnormalize.fixer = fixer\n\nvar makeWarning = require('./make_warning')\n\nvar fieldsToFix = ['name', 'version', 'description', 'repository', 'modules', 'scripts',\n 'files', 'bin', 'man', 'bugs', 'keywords', 'readme', 'homepage', 'license']\nvar otherThingsToFix = ['dependencies', 'people', 'typos']\n\nvar thingsToFix = fieldsToFix.map(function (fieldName) {\n return ucFirst(fieldName) + 'Field'\n})\n// two ways to do this in CoffeeScript on only one line, sub-70 chars:\n// thingsToFix = fieldsToFix.map (name) -> ucFirst(name) + \"Field\"\n// thingsToFix = (ucFirst(name) + \"Field\" for name in fieldsToFix)\nthingsToFix = thingsToFix.concat(otherThingsToFix)\n\nfunction normalize (data, warn, strict) {\n if (warn === true) {\n warn = null\n strict = true\n }\n if (!strict) {\n strict = false\n }\n if (!warn || data.private) {\n warn = function (msg) { /* noop */ }\n }\n\n if (data.scripts &&\n data.scripts.install === 'node-gyp rebuild' &&\n !data.scripts.preinstall) {\n data.gypfile = true\n }\n fixer.warn = function () {\n warn(makeWarning.apply(null, arguments))\n }\n thingsToFix.forEach(function (thingName) {\n fixer['fix' + ucFirst(thingName)](data, strict)\n })\n data._id = data.name + '@' + data.version\n}\n\nfunction ucFirst (string) {\n return string.charAt(0).toUpperCase() + string.slice(1)\n}\n"],"names":["require$$0","require$$1"],"mappings":";;;AAAA,IAAA,cAAiB;AAEjB,IAAI,QAAQA;AACZ,UAAU,QAAQ;AAElB,IAAI,cAAcC;AAElB,IAAI,cAAc;AAAA,EAAC;AAAA,EAAQ;AAAA,EAAW;AAAA,EAAe;AAAA,EAAc;AAAA,EAAW;AAAA,EAC5E;AAAA,EAAS;AAAA,EAAO;AAAA,EAAO;AAAA,EAAQ;AAAA,EAAY;AAAA,EAAU;AAAA,EAAY;AAAS;AAC5E,IAAI,mBAAmB,CAAC,gBAAgB,UAAU,OAAO;AAEzD,IAAI,cAAc,YAAY,IAAI,SAAU,WAAW;AACrD,SAAO,QAAQ,SAAS,IAAI;AAC9B,CAAC;AAID,cAAc,YAAY,OAAO,gBAAgB;AAEjD,SAAS,UAAW,MAAM,MAAM,QAAQ;AACtC,MAAI,SAAS,MAAM;AACjB,WAAO;AACP,aAAS;AAAA,EACV;AACD,MAAI,CAAC,QAAQ;AACX,aAAS;AAAA,EACV;AACD,MAAI,CAAC,QAAQ,KAAK,SAAS;AACzB,WAAO,SAAU,KAAK;AAAA,IAAc;AAAA,EACrC;AAED,MAAI,KAAK,WACL,KAAK,QAAQ,YAAY,sBACzB,CAAC,KAAK,QAAQ,YAAY;AAC5B,SAAK,UAAU;AAAA,EAChB;AACD,QAAM,OAAO,WAAY;AACvB,SAAK,YAAY,MAAM,MAAM,SAAS,CAAC;AAAA,EACxC;AACD,cAAY,QAAQ,SAAU,WAAW;AACvC,UAAM,QAAQ,QAAQ,SAAS,CAAC,EAAE,MAAM,MAAM;AAAA,EAClD,CAAG;AACD,OAAK,MAAM,KAAK,OAAO,MAAM,KAAK;AACpC;AAEA,SAAS,QAAS,QAAQ;AACxB,SAAO,OAAO,OAAO,CAAC,EAAE,YAAW,IAAK,OAAO,MAAM,CAAC;AACxD;;","x_google_ignoreList":[0]}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const topLevel = {
4
+ dependancies: "dependencies",
5
+ dependecies: "dependencies",
6
+ depdenencies: "dependencies",
7
+ devEependencies: "devDependencies",
8
+ depends: "dependencies",
9
+ "dev-dependencies": "devDependencies",
10
+ devDependences: "devDependencies",
11
+ devDepenencies: "devDependencies",
12
+ devdependencies: "devDependencies",
13
+ repostitory: "repository",
14
+ repo: "repository",
15
+ prefereGlobal: "preferGlobal",
16
+ hompage: "homepage",
17
+ hampage: "homepage",
18
+ autohr: "author",
19
+ autor: "author",
20
+ contributers: "contributors",
21
+ publicationConfig: "publishConfig",
22
+ script: "scripts"
23
+ };
24
+ const bugs = {
25
+ web: "url",
26
+ name: "url"
27
+ };
28
+ const script = {
29
+ server: "start",
30
+ tests: "test"
31
+ };
32
+ const require$$7 = {
33
+ topLevel,
34
+ bugs,
35
+ script
36
+ };
37
+ exports.bugs = bugs;
38
+ exports.default = require$$7;
39
+ exports.script = script;
40
+ exports.topLevel = topLevel;
41
+ //# sourceMappingURL=typos.json.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typos.json.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,41 @@
1
+ const topLevel = {
2
+ dependancies: "dependencies",
3
+ dependecies: "dependencies",
4
+ depdenencies: "dependencies",
5
+ devEependencies: "devDependencies",
6
+ depends: "dependencies",
7
+ "dev-dependencies": "devDependencies",
8
+ devDependences: "devDependencies",
9
+ devDepenencies: "devDependencies",
10
+ devdependencies: "devDependencies",
11
+ repostitory: "repository",
12
+ repo: "repository",
13
+ prefereGlobal: "preferGlobal",
14
+ hompage: "homepage",
15
+ hampage: "homepage",
16
+ autohr: "author",
17
+ autor: "author",
18
+ contributers: "contributors",
19
+ publicationConfig: "publishConfig",
20
+ script: "scripts"
21
+ };
22
+ const bugs = {
23
+ web: "url",
24
+ name: "url"
25
+ };
26
+ const script = {
27
+ server: "start",
28
+ tests: "test"
29
+ };
30
+ const require$$7 = {
31
+ topLevel,
32
+ bugs,
33
+ script
34
+ };
35
+ export {
36
+ bugs,
37
+ require$$7 as default,
38
+ script,
39
+ topLevel
40
+ };
41
+ //# sourceMappingURL=typos.json.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typos.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const repositories = "'repositories' (plural) Not supported. Please pick one as the 'repository' field";
4
+ const missingRepository = "No repository field.";
5
+ const brokenGitUrl = "Probably broken git url: %s";
6
+ const nonObjectScripts = "scripts must be an object";
7
+ const nonStringScript = "script values must be string commands";
8
+ const nonArrayFiles = "Invalid 'files' member";
9
+ const invalidFilename = "Invalid filename in 'files' list: %s";
10
+ const nonArrayBundleDependencies = "Invalid 'bundleDependencies' list. Must be array of package names";
11
+ const nonStringBundleDependency = "Invalid bundleDependencies member: %s";
12
+ const nonDependencyBundleDependency = "Non-dependency in bundleDependencies: %s";
13
+ const nonObjectDependencies = "%s field must be an object";
14
+ const nonStringDependency = "Invalid dependency: %s %s";
15
+ const deprecatedArrayDependencies = "specifying %s as array is deprecated";
16
+ const deprecatedModules = "modules field is deprecated";
17
+ const nonArrayKeywords = "keywords should be an array of strings";
18
+ const nonStringKeyword = "keywords should be an array of strings";
19
+ const conflictingName = "%s is also the name of a node core module.";
20
+ const nonStringDescription = "'description' field should be a string";
21
+ const missingDescription = "No description";
22
+ const missingReadme = "No README data";
23
+ const missingLicense = "No license field.";
24
+ const nonEmailUrlBugsString = "Bug string field must be url, email, or {email,url}";
25
+ const nonUrlBugsUrlField = "bugs.url field must be a string url. Deleted.";
26
+ const nonEmailBugsEmailField = "bugs.email field must be a string email. Deleted.";
27
+ const emptyNormalizedBugs = "Normalized value of bugs field is an empty object. Deleted.";
28
+ const nonUrlHomepage = "homepage field must be a string url. Deleted.";
29
+ const invalidLicense = "license should be a valid SPDX license expression";
30
+ const typo = "%s should probably be %s.";
31
+ const require$$1 = {
32
+ repositories,
33
+ missingRepository,
34
+ brokenGitUrl,
35
+ nonObjectScripts,
36
+ nonStringScript,
37
+ nonArrayFiles,
38
+ invalidFilename,
39
+ nonArrayBundleDependencies,
40
+ nonStringBundleDependency,
41
+ nonDependencyBundleDependency,
42
+ nonObjectDependencies,
43
+ nonStringDependency,
44
+ deprecatedArrayDependencies,
45
+ deprecatedModules,
46
+ nonArrayKeywords,
47
+ nonStringKeyword,
48
+ conflictingName,
49
+ nonStringDescription,
50
+ missingDescription,
51
+ missingReadme,
52
+ missingLicense,
53
+ nonEmailUrlBugsString,
54
+ nonUrlBugsUrlField,
55
+ nonEmailBugsEmailField,
56
+ emptyNormalizedBugs,
57
+ nonUrlHomepage,
58
+ invalidLicense,
59
+ typo
60
+ };
61
+ exports.brokenGitUrl = brokenGitUrl;
62
+ exports.conflictingName = conflictingName;
63
+ exports.default = require$$1;
64
+ exports.deprecatedArrayDependencies = deprecatedArrayDependencies;
65
+ exports.deprecatedModules = deprecatedModules;
66
+ exports.emptyNormalizedBugs = emptyNormalizedBugs;
67
+ exports.invalidFilename = invalidFilename;
68
+ exports.invalidLicense = invalidLicense;
69
+ exports.missingDescription = missingDescription;
70
+ exports.missingLicense = missingLicense;
71
+ exports.missingReadme = missingReadme;
72
+ exports.missingRepository = missingRepository;
73
+ exports.nonArrayBundleDependencies = nonArrayBundleDependencies;
74
+ exports.nonArrayFiles = nonArrayFiles;
75
+ exports.nonArrayKeywords = nonArrayKeywords;
76
+ exports.nonDependencyBundleDependency = nonDependencyBundleDependency;
77
+ exports.nonEmailBugsEmailField = nonEmailBugsEmailField;
78
+ exports.nonEmailUrlBugsString = nonEmailUrlBugsString;
79
+ exports.nonObjectDependencies = nonObjectDependencies;
80
+ exports.nonObjectScripts = nonObjectScripts;
81
+ exports.nonStringBundleDependency = nonStringBundleDependency;
82
+ exports.nonStringDependency = nonStringDependency;
83
+ exports.nonStringDescription = nonStringDescription;
84
+ exports.nonStringKeyword = nonStringKeyword;
85
+ exports.nonStringScript = nonStringScript;
86
+ exports.nonUrlBugsUrlField = nonUrlBugsUrlField;
87
+ exports.nonUrlHomepage = nonUrlHomepage;
88
+ exports.repositories = repositories;
89
+ exports.typo = typo;
90
+ //# sourceMappingURL=warning_messages.json.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"warning_messages.json.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,90 @@
1
+ const repositories = "'repositories' (plural) Not supported. Please pick one as the 'repository' field";
2
+ const missingRepository = "No repository field.";
3
+ const brokenGitUrl = "Probably broken git url: %s";
4
+ const nonObjectScripts = "scripts must be an object";
5
+ const nonStringScript = "script values must be string commands";
6
+ const nonArrayFiles = "Invalid 'files' member";
7
+ const invalidFilename = "Invalid filename in 'files' list: %s";
8
+ const nonArrayBundleDependencies = "Invalid 'bundleDependencies' list. Must be array of package names";
9
+ const nonStringBundleDependency = "Invalid bundleDependencies member: %s";
10
+ const nonDependencyBundleDependency = "Non-dependency in bundleDependencies: %s";
11
+ const nonObjectDependencies = "%s field must be an object";
12
+ const nonStringDependency = "Invalid dependency: %s %s";
13
+ const deprecatedArrayDependencies = "specifying %s as array is deprecated";
14
+ const deprecatedModules = "modules field is deprecated";
15
+ const nonArrayKeywords = "keywords should be an array of strings";
16
+ const nonStringKeyword = "keywords should be an array of strings";
17
+ const conflictingName = "%s is also the name of a node core module.";
18
+ const nonStringDescription = "'description' field should be a string";
19
+ const missingDescription = "No description";
20
+ const missingReadme = "No README data";
21
+ const missingLicense = "No license field.";
22
+ const nonEmailUrlBugsString = "Bug string field must be url, email, or {email,url}";
23
+ const nonUrlBugsUrlField = "bugs.url field must be a string url. Deleted.";
24
+ const nonEmailBugsEmailField = "bugs.email field must be a string email. Deleted.";
25
+ const emptyNormalizedBugs = "Normalized value of bugs field is an empty object. Deleted.";
26
+ const nonUrlHomepage = "homepage field must be a string url. Deleted.";
27
+ const invalidLicense = "license should be a valid SPDX license expression";
28
+ const typo = "%s should probably be %s.";
29
+ const require$$1 = {
30
+ repositories,
31
+ missingRepository,
32
+ brokenGitUrl,
33
+ nonObjectScripts,
34
+ nonStringScript,
35
+ nonArrayFiles,
36
+ invalidFilename,
37
+ nonArrayBundleDependencies,
38
+ nonStringBundleDependency,
39
+ nonDependencyBundleDependency,
40
+ nonObjectDependencies,
41
+ nonStringDependency,
42
+ deprecatedArrayDependencies,
43
+ deprecatedModules,
44
+ nonArrayKeywords,
45
+ nonStringKeyword,
46
+ conflictingName,
47
+ nonStringDescription,
48
+ missingDescription,
49
+ missingReadme,
50
+ missingLicense,
51
+ nonEmailUrlBugsString,
52
+ nonUrlBugsUrlField,
53
+ nonEmailBugsEmailField,
54
+ emptyNormalizedBugs,
55
+ nonUrlHomepage,
56
+ invalidLicense,
57
+ typo
58
+ };
59
+ export {
60
+ brokenGitUrl,
61
+ conflictingName,
62
+ require$$1 as default,
63
+ deprecatedArrayDependencies,
64
+ deprecatedModules,
65
+ emptyNormalizedBugs,
66
+ invalidFilename,
67
+ invalidLicense,
68
+ missingDescription,
69
+ missingLicense,
70
+ missingReadme,
71
+ missingRepository,
72
+ nonArrayBundleDependencies,
73
+ nonArrayFiles,
74
+ nonArrayKeywords,
75
+ nonDependencyBundleDependency,
76
+ nonEmailBugsEmailField,
77
+ nonEmailUrlBugsString,
78
+ nonObjectDependencies,
79
+ nonObjectScripts,
80
+ nonStringBundleDependency,
81
+ nonStringDependency,
82
+ nonStringDescription,
83
+ nonStringKeyword,
84
+ nonStringScript,
85
+ nonUrlBugsUrlField,
86
+ nonUrlHomepage,
87
+ repositories,
88
+ typo
89
+ };
90
+ //# sourceMappingURL=warning_messages.json.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"warning_messages.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const process = require("node:process");
4
+ const fs = require("node:fs");
5
+ const path = require("node:path");
6
+ const node_url = require("node:url");
7
+ const index = require("../parse-json/index.cjs");
8
+ const normalize = require('./_node_modules/normalize-package-data/lib/normalize.cjs');
9
+ const toPath = (urlOrPath) => urlOrPath instanceof URL ? node_url.fileURLToPath(urlOrPath) : urlOrPath;
10
+ function readPackageSync({ cwd, normalize: normalize$1 = true } = {}) {
11
+ cwd = toPath(cwd) || process.cwd();
12
+ const filePath = path.resolve(cwd, "package.json");
13
+ const json = index(fs.readFileSync(filePath, "utf8"));
14
+ if (normalize$1) {
15
+ normalize(json);
16
+ }
17
+ return json;
18
+ }
19
+ exports.readPackageSync = readPackageSync;
20
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../node_modules/read-pkg/index.js"],"sourcesContent":["import process from 'node:process';\nimport fs, {promises as fsPromises} from 'node:fs';\nimport path from 'node:path';\nimport {fileURLToPath} from 'node:url';\nimport parseJson from 'parse-json';\nimport normalizePackageData from 'normalize-package-data';\n\nconst toPath = urlOrPath => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;\n\nexport async function readPackage({cwd, normalize = true} = {}) {\n\tcwd = toPath(cwd) || process.cwd();\n\tconst filePath = path.resolve(cwd, 'package.json');\n\tconst json = parseJson(await fsPromises.readFile(filePath, 'utf8'));\n\n\tif (normalize) {\n\t\tnormalizePackageData(json);\n\t}\n\n\treturn json;\n}\n\nexport function readPackageSync({cwd, normalize = true} = {}) {\n\tcwd = toPath(cwd) || process.cwd();\n\tconst filePath = path.resolve(cwd, 'package.json');\n\tconst json = parseJson(fs.readFileSync(filePath, 'utf8'));\n\n\tif (normalize) {\n\t\tnormalizePackageData(json);\n\t}\n\n\treturn json;\n}\n"],"names":["fileURLToPath","normalize","parseJson","normalizePackageData"],"mappings":";;;;;;;;AAOA,MAAM,SAAS,eAAa,qBAAqB,MAAMA,SAAAA,cAAc,SAAS,IAAI;AAc3E,SAAS,gBAAgB,EAAC,KAAG,WAAEC,cAAY,KAAI,IAAI,CAAA,GAAI;AAC7D,QAAM,OAAO,GAAG,KAAK,QAAQ,IAAG;AAChC,QAAM,WAAW,KAAK,QAAQ,KAAK,cAAc;AACjD,QAAM,OAAOC,MAAU,GAAG,aAAa,UAAU,MAAM,CAAC;AAExD,MAAID,aAAW;AACdE,cAAqB,IAAI;AAAA,EACzB;AAED,SAAO;AACR;;","x_google_ignoreList":[0]}
@@ -0,0 +1,20 @@
1
+ import process from "node:process";
2
+ import fs from "node:fs";
3
+ import path from "node:path";
4
+ import { fileURLToPath } from "node:url";
5
+ import parseJson from "../parse-json/index.js";
6
+ import normalizePackageData from './_node_modules/normalize-package-data/lib/normalize.js';
7
+ const toPath = (urlOrPath) => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;
8
+ function readPackageSync({ cwd, normalize = true } = {}) {
9
+ cwd = toPath(cwd) || process.cwd();
10
+ const filePath = path.resolve(cwd, "package.json");
11
+ const json = parseJson(fs.readFileSync(filePath, "utf8"));
12
+ if (normalize) {
13
+ normalizePackageData(json);
14
+ }
15
+ return json;
16
+ }
17
+ export {
18
+ readPackageSync
19
+ };
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../node_modules/read-pkg/index.js"],"sourcesContent":["import process from 'node:process';\nimport fs, {promises as fsPromises} from 'node:fs';\nimport path from 'node:path';\nimport {fileURLToPath} from 'node:url';\nimport parseJson from 'parse-json';\nimport normalizePackageData from 'normalize-package-data';\n\nconst toPath = urlOrPath => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;\n\nexport async function readPackage({cwd, normalize = true} = {}) {\n\tcwd = toPath(cwd) || process.cwd();\n\tconst filePath = path.resolve(cwd, 'package.json');\n\tconst json = parseJson(await fsPromises.readFile(filePath, 'utf8'));\n\n\tif (normalize) {\n\t\tnormalizePackageData(json);\n\t}\n\n\treturn json;\n}\n\nexport function readPackageSync({cwd, normalize = true} = {}) {\n\tcwd = toPath(cwd) || process.cwd();\n\tconst filePath = path.resolve(cwd, 'package.json');\n\tconst json = parseJson(fs.readFileSync(filePath, 'utf8'));\n\n\tif (normalize) {\n\t\tnormalizePackageData(json);\n\t}\n\n\treturn json;\n}\n"],"names":[],"mappings":";;;;;;AAOA,MAAM,SAAS,eAAa,qBAAqB,MAAM,cAAc,SAAS,IAAI;AAc3E,SAAS,gBAAgB,EAAC,KAAK,YAAY,KAAI,IAAI,CAAA,GAAI;AAC7D,QAAM,OAAO,GAAG,KAAK,QAAQ,IAAG;AAChC,QAAM,WAAW,KAAK,QAAQ,KAAK,cAAc;AACjD,QAAM,OAAO,UAAU,GAAG,aAAa,UAAU,MAAM,CAAC;AAExD,MAAI,WAAW;AACd,yBAAqB,IAAI;AAAA,EACzB;AAED,SAAO;AACR;","x_google_ignoreList":[0]}
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const path = require("node:path");
4
+ const node_url = require("node:url");
5
+ const index = require("../locate-path/index.cjs");
6
+ require("node:fs");
7
+ const toPath = (urlOrPath) => urlOrPath instanceof URL ? node_url.fileURLToPath(urlOrPath) : urlOrPath;
8
+ const findUpStop = Symbol("findUpStop");
9
+ function findUpMultipleSync(name, options = {}) {
10
+ let directory = path.resolve(toPath(options.cwd) || "");
11
+ const { root } = path.parse(directory);
12
+ const stopAt = options.stopAt || root;
13
+ const limit = options.limit || Number.POSITIVE_INFINITY;
14
+ const paths = [name].flat();
15
+ const runMatcher = (locateOptions) => {
16
+ if (typeof name !== "function") {
17
+ return index.locatePathSync(paths, locateOptions);
18
+ }
19
+ const foundPath = name(locateOptions.cwd);
20
+ if (typeof foundPath === "string") {
21
+ return index.locatePathSync([foundPath], locateOptions);
22
+ }
23
+ return foundPath;
24
+ };
25
+ const matches = [];
26
+ while (true) {
27
+ const foundPath = runMatcher({ ...options, cwd: directory });
28
+ if (foundPath === findUpStop) {
29
+ break;
30
+ }
31
+ if (foundPath) {
32
+ matches.push(path.resolve(directory, foundPath));
33
+ }
34
+ if (directory === stopAt || matches.length >= limit) {
35
+ break;
36
+ }
37
+ directory = path.dirname(directory);
38
+ }
39
+ return matches;
40
+ }
41
+ function findUpSync(name, options = {}) {
42
+ const matches = findUpMultipleSync(name, { ...options, limit: 1 });
43
+ return matches[0];
44
+ }
45
+ exports.findUpMultipleSync = findUpMultipleSync;
46
+ exports.findUpStop = findUpStop;
47
+ exports.findUpSync = findUpSync;
48
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/read-pkg-up/node_modules/find-up/index.js"],"sourcesContent":["import path from 'node:path';\nimport {fileURLToPath} from 'node:url';\nimport {locatePath, locatePathSync} from 'locate-path';\n\nconst toPath = urlOrPath => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;\n\nexport const findUpStop = Symbol('findUpStop');\n\nexport async function findUpMultiple(name, options = {}) {\n\tlet directory = path.resolve(toPath(options.cwd) || '');\n\tconst {root} = path.parse(directory);\n\tconst stopAt = path.resolve(directory, options.stopAt || root);\n\tconst limit = options.limit || Number.POSITIVE_INFINITY;\n\tconst paths = [name].flat();\n\n\tconst runMatcher = async locateOptions => {\n\t\tif (typeof name !== 'function') {\n\t\t\treturn locatePath(paths, locateOptions);\n\t\t}\n\n\t\tconst foundPath = await name(locateOptions.cwd);\n\t\tif (typeof foundPath === 'string') {\n\t\t\treturn locatePath([foundPath], locateOptions);\n\t\t}\n\n\t\treturn foundPath;\n\t};\n\n\tconst matches = [];\n\t// eslint-disable-next-line no-constant-condition\n\twhile (true) {\n\t\t// eslint-disable-next-line no-await-in-loop\n\t\tconst foundPath = await runMatcher({...options, cwd: directory});\n\n\t\tif (foundPath === findUpStop) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif (foundPath) {\n\t\t\tmatches.push(path.resolve(directory, foundPath));\n\t\t}\n\n\t\tif (directory === stopAt || matches.length >= limit) {\n\t\t\tbreak;\n\t\t}\n\n\t\tdirectory = path.dirname(directory);\n\t}\n\n\treturn matches;\n}\n\nexport function findUpMultipleSync(name, options = {}) {\n\tlet directory = path.resolve(toPath(options.cwd) || '');\n\tconst {root} = path.parse(directory);\n\tconst stopAt = options.stopAt || root;\n\tconst limit = options.limit || Number.POSITIVE_INFINITY;\n\tconst paths = [name].flat();\n\n\tconst runMatcher = locateOptions => {\n\t\tif (typeof name !== 'function') {\n\t\t\treturn locatePathSync(paths, locateOptions);\n\t\t}\n\n\t\tconst foundPath = name(locateOptions.cwd);\n\t\tif (typeof foundPath === 'string') {\n\t\t\treturn locatePathSync([foundPath], locateOptions);\n\t\t}\n\n\t\treturn foundPath;\n\t};\n\n\tconst matches = [];\n\t// eslint-disable-next-line no-constant-condition\n\twhile (true) {\n\t\tconst foundPath = runMatcher({...options, cwd: directory});\n\n\t\tif (foundPath === findUpStop) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif (foundPath) {\n\t\t\tmatches.push(path.resolve(directory, foundPath));\n\t\t}\n\n\t\tif (directory === stopAt || matches.length >= limit) {\n\t\t\tbreak;\n\t\t}\n\n\t\tdirectory = path.dirname(directory);\n\t}\n\n\treturn matches;\n}\n\nexport async function findUp(name, options = {}) {\n\tconst matches = await findUpMultiple(name, {...options, limit: 1});\n\treturn matches[0];\n}\n\nexport function findUpSync(name, options = {}) {\n\tconst matches = findUpMultipleSync(name, {...options, limit: 1});\n\treturn matches[0];\n}\n\nexport {\n\tpathExists,\n\tpathExistsSync,\n} from 'path-exists';\n"],"names":["fileURLToPath","locatePathSync"],"mappings":";;;;;;AAIA,MAAM,SAAS,eAAa,qBAAqB,MAAMA,SAAAA,cAAc,SAAS,IAAI;AAEtE,MAAC,aAAa,OAAO,YAAY;AA8CtC,SAAS,mBAAmB,MAAM,UAAU,IAAI;AACtD,MAAI,YAAY,KAAK,QAAQ,OAAO,QAAQ,GAAG,KAAK,EAAE;AACtD,QAAM,EAAC,KAAI,IAAI,KAAK,MAAM,SAAS;AACnC,QAAM,SAAS,QAAQ,UAAU;AACjC,QAAM,QAAQ,QAAQ,SAAS,OAAO;AACtC,QAAM,QAAQ,CAAC,IAAI,EAAE,KAAI;AAEzB,QAAM,aAAa,mBAAiB;AACnC,QAAI,OAAO,SAAS,YAAY;AAC/B,aAAOC,MAAc,eAAC,OAAO,aAAa;AAAA,IAC1C;AAED,UAAM,YAAY,KAAK,cAAc,GAAG;AACxC,QAAI,OAAO,cAAc,UAAU;AAClC,aAAOA,qBAAe,CAAC,SAAS,GAAG,aAAa;AAAA,IAChD;AAED,WAAO;AAAA,EACT;AAEC,QAAM,UAAU,CAAA;AAEhB,SAAO,MAAM;AACZ,UAAM,YAAY,WAAW,EAAC,GAAG,SAAS,KAAK,UAAS,CAAC;AAEzD,QAAI,cAAc,YAAY;AAC7B;AAAA,IACA;AAED,QAAI,WAAW;AACd,cAAQ,KAAK,KAAK,QAAQ,WAAW,SAAS,CAAC;AAAA,IAC/C;AAED,QAAI,cAAc,UAAU,QAAQ,UAAU,OAAO;AACpD;AAAA,IACA;AAED,gBAAY,KAAK,QAAQ,SAAS;AAAA,EAClC;AAED,SAAO;AACR;AAOO,SAAS,WAAW,MAAM,UAAU,IAAI;AAC9C,QAAM,UAAU,mBAAmB,MAAM,EAAC,GAAG,SAAS,OAAO,EAAC,CAAC;AAC/D,SAAO,QAAQ,CAAC;AACjB;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,48 @@
1
+ import path from "node:path";
2
+ import { fileURLToPath } from "node:url";
3
+ import { locatePathSync } from "../locate-path/index.js";
4
+ import "node:fs";
5
+ const toPath = (urlOrPath) => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;
6
+ const findUpStop = Symbol("findUpStop");
7
+ function findUpMultipleSync(name, options = {}) {
8
+ let directory = path.resolve(toPath(options.cwd) || "");
9
+ const { root } = path.parse(directory);
10
+ const stopAt = options.stopAt || root;
11
+ const limit = options.limit || Number.POSITIVE_INFINITY;
12
+ const paths = [name].flat();
13
+ const runMatcher = (locateOptions) => {
14
+ if (typeof name !== "function") {
15
+ return locatePathSync(paths, locateOptions);
16
+ }
17
+ const foundPath = name(locateOptions.cwd);
18
+ if (typeof foundPath === "string") {
19
+ return locatePathSync([foundPath], locateOptions);
20
+ }
21
+ return foundPath;
22
+ };
23
+ const matches = [];
24
+ while (true) {
25
+ const foundPath = runMatcher({ ...options, cwd: directory });
26
+ if (foundPath === findUpStop) {
27
+ break;
28
+ }
29
+ if (foundPath) {
30
+ matches.push(path.resolve(directory, foundPath));
31
+ }
32
+ if (directory === stopAt || matches.length >= limit) {
33
+ break;
34
+ }
35
+ directory = path.dirname(directory);
36
+ }
37
+ return matches;
38
+ }
39
+ function findUpSync(name, options = {}) {
40
+ const matches = findUpMultipleSync(name, { ...options, limit: 1 });
41
+ return matches[0];
42
+ }
43
+ export {
44
+ findUpMultipleSync,
45
+ findUpStop,
46
+ findUpSync
47
+ };
48
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/read-pkg-up/node_modules/find-up/index.js"],"sourcesContent":["import path from 'node:path';\nimport {fileURLToPath} from 'node:url';\nimport {locatePath, locatePathSync} from 'locate-path';\n\nconst toPath = urlOrPath => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;\n\nexport const findUpStop = Symbol('findUpStop');\n\nexport async function findUpMultiple(name, options = {}) {\n\tlet directory = path.resolve(toPath(options.cwd) || '');\n\tconst {root} = path.parse(directory);\n\tconst stopAt = path.resolve(directory, options.stopAt || root);\n\tconst limit = options.limit || Number.POSITIVE_INFINITY;\n\tconst paths = [name].flat();\n\n\tconst runMatcher = async locateOptions => {\n\t\tif (typeof name !== 'function') {\n\t\t\treturn locatePath(paths, locateOptions);\n\t\t}\n\n\t\tconst foundPath = await name(locateOptions.cwd);\n\t\tif (typeof foundPath === 'string') {\n\t\t\treturn locatePath([foundPath], locateOptions);\n\t\t}\n\n\t\treturn foundPath;\n\t};\n\n\tconst matches = [];\n\t// eslint-disable-next-line no-constant-condition\n\twhile (true) {\n\t\t// eslint-disable-next-line no-await-in-loop\n\t\tconst foundPath = await runMatcher({...options, cwd: directory});\n\n\t\tif (foundPath === findUpStop) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif (foundPath) {\n\t\t\tmatches.push(path.resolve(directory, foundPath));\n\t\t}\n\n\t\tif (directory === stopAt || matches.length >= limit) {\n\t\t\tbreak;\n\t\t}\n\n\t\tdirectory = path.dirname(directory);\n\t}\n\n\treturn matches;\n}\n\nexport function findUpMultipleSync(name, options = {}) {\n\tlet directory = path.resolve(toPath(options.cwd) || '');\n\tconst {root} = path.parse(directory);\n\tconst stopAt = options.stopAt || root;\n\tconst limit = options.limit || Number.POSITIVE_INFINITY;\n\tconst paths = [name].flat();\n\n\tconst runMatcher = locateOptions => {\n\t\tif (typeof name !== 'function') {\n\t\t\treturn locatePathSync(paths, locateOptions);\n\t\t}\n\n\t\tconst foundPath = name(locateOptions.cwd);\n\t\tif (typeof foundPath === 'string') {\n\t\t\treturn locatePathSync([foundPath], locateOptions);\n\t\t}\n\n\t\treturn foundPath;\n\t};\n\n\tconst matches = [];\n\t// eslint-disable-next-line no-constant-condition\n\twhile (true) {\n\t\tconst foundPath = runMatcher({...options, cwd: directory});\n\n\t\tif (foundPath === findUpStop) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif (foundPath) {\n\t\t\tmatches.push(path.resolve(directory, foundPath));\n\t\t}\n\n\t\tif (directory === stopAt || matches.length >= limit) {\n\t\t\tbreak;\n\t\t}\n\n\t\tdirectory = path.dirname(directory);\n\t}\n\n\treturn matches;\n}\n\nexport async function findUp(name, options = {}) {\n\tconst matches = await findUpMultiple(name, {...options, limit: 1});\n\treturn matches[0];\n}\n\nexport function findUpSync(name, options = {}) {\n\tconst matches = findUpMultipleSync(name, {...options, limit: 1});\n\treturn matches[0];\n}\n\nexport {\n\tpathExists,\n\tpathExistsSync,\n} from 'path-exists';\n"],"names":[],"mappings":";;;;AAIA,MAAM,SAAS,eAAa,qBAAqB,MAAM,cAAc,SAAS,IAAI;AAEtE,MAAC,aAAa,OAAO,YAAY;AA8CtC,SAAS,mBAAmB,MAAM,UAAU,IAAI;AACtD,MAAI,YAAY,KAAK,QAAQ,OAAO,QAAQ,GAAG,KAAK,EAAE;AACtD,QAAM,EAAC,KAAI,IAAI,KAAK,MAAM,SAAS;AACnC,QAAM,SAAS,QAAQ,UAAU;AACjC,QAAM,QAAQ,QAAQ,SAAS,OAAO;AACtC,QAAM,QAAQ,CAAC,IAAI,EAAE,KAAI;AAEzB,QAAM,aAAa,mBAAiB;AACnC,QAAI,OAAO,SAAS,YAAY;AAC/B,aAAO,eAAe,OAAO,aAAa;AAAA,IAC1C;AAED,UAAM,YAAY,KAAK,cAAc,GAAG;AACxC,QAAI,OAAO,cAAc,UAAU;AAClC,aAAO,eAAe,CAAC,SAAS,GAAG,aAAa;AAAA,IAChD;AAED,WAAO;AAAA,EACT;AAEC,QAAM,UAAU,CAAA;AAEhB,SAAO,MAAM;AACZ,UAAM,YAAY,WAAW,EAAC,GAAG,SAAS,KAAK,UAAS,CAAC;AAEzD,QAAI,cAAc,YAAY;AAC7B;AAAA,IACA;AAED,QAAI,WAAW;AACd,cAAQ,KAAK,KAAK,QAAQ,WAAW,SAAS,CAAC;AAAA,IAC/C;AAED,QAAI,cAAc,UAAU,QAAQ,UAAU,OAAO;AACpD;AAAA,IACA;AAED,gBAAY,KAAK,QAAQ,SAAS;AAAA,EAClC;AAED,SAAO;AACR;AAOO,SAAS,WAAW,MAAM,UAAU,IAAI;AAC9C,QAAM,UAAU,mBAAmB,MAAM,EAAC,GAAG,SAAS,OAAO,EAAC,CAAC;AAC/D,SAAO,QAAQ,CAAC;AACjB;","x_google_ignoreList":[0]}
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const process = require("node:process");
4
+ const path = require("node:path");
5
+ const fs = require("node:fs");
6
+ const node_url = require("node:url");
7
+ const typeMappings = {
8
+ directory: "isDirectory",
9
+ file: "isFile"
10
+ };
11
+ function checkType(type) {
12
+ if (Object.hasOwnProperty.call(typeMappings, type)) {
13
+ return;
14
+ }
15
+ throw new Error(`Invalid type specified: ${type}`);
16
+ }
17
+ const matchType = (type, stat) => stat[typeMappings[type]]();
18
+ const toPath = (urlOrPath) => urlOrPath instanceof URL ? node_url.fileURLToPath(urlOrPath) : urlOrPath;
19
+ function locatePathSync(paths, {
20
+ cwd = process.cwd(),
21
+ type = "file",
22
+ allowSymlinks = true
23
+ } = {}) {
24
+ checkType(type);
25
+ cwd = toPath(cwd);
26
+ const statFunction = allowSymlinks ? fs.statSync : fs.lstatSync;
27
+ for (const path_ of paths) {
28
+ try {
29
+ const stat = statFunction(path.resolve(cwd, path_), {
30
+ throwIfNoEntry: false
31
+ });
32
+ if (!stat) {
33
+ continue;
34
+ }
35
+ if (matchType(type, stat)) {
36
+ return path_;
37
+ }
38
+ } catch {
39
+ }
40
+ }
41
+ }
42
+ exports.locatePathSync = locatePathSync;
43
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/read-pkg-up/node_modules/locate-path/index.js"],"sourcesContent":["import process from 'node:process';\nimport path from 'node:path';\nimport fs, {promises as fsPromises} from 'node:fs';\nimport {fileURLToPath} from 'node:url';\nimport pLocate from 'p-locate';\n\nconst typeMappings = {\n\tdirectory: 'isDirectory',\n\tfile: 'isFile',\n};\n\nfunction checkType(type) {\n\tif (Object.hasOwnProperty.call(typeMappings, type)) {\n\t\treturn;\n\t}\n\n\tthrow new Error(`Invalid type specified: ${type}`);\n}\n\nconst matchType = (type, stat) => stat[typeMappings[type]]();\n\nconst toPath = urlOrPath => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;\n\nexport async function locatePath(\n\tpaths,\n\t{\n\t\tcwd = process.cwd(),\n\t\ttype = 'file',\n\t\tallowSymlinks = true,\n\t\tconcurrency,\n\t\tpreserveOrder,\n\t} = {},\n) {\n\tcheckType(type);\n\tcwd = toPath(cwd);\n\n\tconst statFunction = allowSymlinks ? fsPromises.stat : fsPromises.lstat;\n\n\treturn pLocate(paths, async path_ => {\n\t\ttry {\n\t\t\tconst stat = await statFunction(path.resolve(cwd, path_));\n\t\t\treturn matchType(type, stat);\n\t\t} catch {\n\t\t\treturn false;\n\t\t}\n\t}, {concurrency, preserveOrder});\n}\n\nexport function locatePathSync(\n\tpaths,\n\t{\n\t\tcwd = process.cwd(),\n\t\ttype = 'file',\n\t\tallowSymlinks = true,\n\t} = {},\n) {\n\tcheckType(type);\n\tcwd = toPath(cwd);\n\n\tconst statFunction = allowSymlinks ? fs.statSync : fs.lstatSync;\n\n\tfor (const path_ of paths) {\n\t\ttry {\n\t\t\tconst stat = statFunction(path.resolve(cwd, path_), {\n\t\t\t\tthrowIfNoEntry: false,\n\t\t\t});\n\n\t\t\tif (!stat) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (matchType(type, stat)) {\n\t\t\t\treturn path_;\n\t\t\t}\n\t\t} catch {}\n\t}\n}\n"],"names":["fileURLToPath"],"mappings":";;;;;;AAMA,MAAM,eAAe;AAAA,EACpB,WAAW;AAAA,EACX,MAAM;AACP;AAEA,SAAS,UAAU,MAAM;AACxB,MAAI,OAAO,eAAe,KAAK,cAAc,IAAI,GAAG;AACnD;AAAA,EACA;AAED,QAAM,IAAI,MAAM,2BAA2B,MAAM;AAClD;AAEA,MAAM,YAAY,CAAC,MAAM,SAAS,KAAK,aAAa,IAAI,CAAC;AAEzD,MAAM,SAAS,eAAa,qBAAqB,MAAMA,SAAAA,cAAc,SAAS,IAAI;AA2B3E,SAAS,eACf,OACA;AAAA,EACC,MAAM,QAAQ,IAAK;AAAA,EACnB,OAAO;AAAA,EACP,gBAAgB;AAClB,IAAK,CAAE,GACL;AACD,YAAU,IAAI;AACd,QAAM,OAAO,GAAG;AAEhB,QAAM,eAAe,gBAAgB,GAAG,WAAW,GAAG;AAEtD,aAAW,SAAS,OAAO;AAC1B,QAAI;AACH,YAAM,OAAO,aAAa,KAAK,QAAQ,KAAK,KAAK,GAAG;AAAA,QACnD,gBAAgB;AAAA,MACpB,CAAI;AAED,UAAI,CAAC,MAAM;AACV;AAAA,MACA;AAED,UAAI,UAAU,MAAM,IAAI,GAAG;AAC1B,eAAO;AAAA,MACP;AAAA,IACD,QAAC;AAAA,IAAQ;AAAA,EACV;AACF;;","x_google_ignoreList":[0]}
@@ -0,0 +1,43 @@
1
+ import process from "node:process";
2
+ import path from "node:path";
3
+ import fs from "node:fs";
4
+ import { fileURLToPath } from "node:url";
5
+ const typeMappings = {
6
+ directory: "isDirectory",
7
+ file: "isFile"
8
+ };
9
+ function checkType(type) {
10
+ if (Object.hasOwnProperty.call(typeMappings, type)) {
11
+ return;
12
+ }
13
+ throw new Error(`Invalid type specified: ${type}`);
14
+ }
15
+ const matchType = (type, stat) => stat[typeMappings[type]]();
16
+ const toPath = (urlOrPath) => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;
17
+ function locatePathSync(paths, {
18
+ cwd = process.cwd(),
19
+ type = "file",
20
+ allowSymlinks = true
21
+ } = {}) {
22
+ checkType(type);
23
+ cwd = toPath(cwd);
24
+ const statFunction = allowSymlinks ? fs.statSync : fs.lstatSync;
25
+ for (const path_ of paths) {
26
+ try {
27
+ const stat = statFunction(path.resolve(cwd, path_), {
28
+ throwIfNoEntry: false
29
+ });
30
+ if (!stat) {
31
+ continue;
32
+ }
33
+ if (matchType(type, stat)) {
34
+ return path_;
35
+ }
36
+ } catch {
37
+ }
38
+ }
39
+ }
40
+ export {
41
+ locatePathSync
42
+ };
43
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/read-pkg-up/node_modules/locate-path/index.js"],"sourcesContent":["import process from 'node:process';\nimport path from 'node:path';\nimport fs, {promises as fsPromises} from 'node:fs';\nimport {fileURLToPath} from 'node:url';\nimport pLocate from 'p-locate';\n\nconst typeMappings = {\n\tdirectory: 'isDirectory',\n\tfile: 'isFile',\n};\n\nfunction checkType(type) {\n\tif (Object.hasOwnProperty.call(typeMappings, type)) {\n\t\treturn;\n\t}\n\n\tthrow new Error(`Invalid type specified: ${type}`);\n}\n\nconst matchType = (type, stat) => stat[typeMappings[type]]();\n\nconst toPath = urlOrPath => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;\n\nexport async function locatePath(\n\tpaths,\n\t{\n\t\tcwd = process.cwd(),\n\t\ttype = 'file',\n\t\tallowSymlinks = true,\n\t\tconcurrency,\n\t\tpreserveOrder,\n\t} = {},\n) {\n\tcheckType(type);\n\tcwd = toPath(cwd);\n\n\tconst statFunction = allowSymlinks ? fsPromises.stat : fsPromises.lstat;\n\n\treturn pLocate(paths, async path_ => {\n\t\ttry {\n\t\t\tconst stat = await statFunction(path.resolve(cwd, path_));\n\t\t\treturn matchType(type, stat);\n\t\t} catch {\n\t\t\treturn false;\n\t\t}\n\t}, {concurrency, preserveOrder});\n}\n\nexport function locatePathSync(\n\tpaths,\n\t{\n\t\tcwd = process.cwd(),\n\t\ttype = 'file',\n\t\tallowSymlinks = true,\n\t} = {},\n) {\n\tcheckType(type);\n\tcwd = toPath(cwd);\n\n\tconst statFunction = allowSymlinks ? fs.statSync : fs.lstatSync;\n\n\tfor (const path_ of paths) {\n\t\ttry {\n\t\t\tconst stat = statFunction(path.resolve(cwd, path_), {\n\t\t\t\tthrowIfNoEntry: false,\n\t\t\t});\n\n\t\t\tif (!stat) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (matchType(type, stat)) {\n\t\t\t\treturn path_;\n\t\t\t}\n\t\t} catch {}\n\t}\n}\n"],"names":[],"mappings":";;;;AAMA,MAAM,eAAe;AAAA,EACpB,WAAW;AAAA,EACX,MAAM;AACP;AAEA,SAAS,UAAU,MAAM;AACxB,MAAI,OAAO,eAAe,KAAK,cAAc,IAAI,GAAG;AACnD;AAAA,EACA;AAED,QAAM,IAAI,MAAM,2BAA2B,MAAM;AAClD;AAEA,MAAM,YAAY,CAAC,MAAM,SAAS,KAAK,aAAa,IAAI,CAAC;AAEzD,MAAM,SAAS,eAAa,qBAAqB,MAAM,cAAc,SAAS,IAAI;AA2B3E,SAAS,eACf,OACA;AAAA,EACC,MAAM,QAAQ,IAAK;AAAA,EACnB,OAAO;AAAA,EACP,gBAAgB;AAClB,IAAK,CAAE,GACL;AACD,YAAU,IAAI;AACd,QAAM,OAAO,GAAG;AAEhB,QAAM,eAAe,gBAAgB,GAAG,WAAW,GAAG;AAEtD,aAAW,SAAS,OAAO;AAC1B,QAAI;AACH,YAAM,OAAO,aAAa,KAAK,QAAQ,KAAK,KAAK,GAAG;AAAA,QACnD,gBAAgB;AAAA,MACpB,CAAI;AAED,UAAI,CAAC,MAAM;AACV;AAAA,MACA;AAED,UAAI,UAAU,MAAM,IAAI,GAAG;AAC1B,eAAO;AAAA,MACP;AAAA,IACD,QAAC;AAAA,IAAQ;AAAA,EACV;AACF;","x_google_ignoreList":[0]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const path = require("node:path");
4
+ const index = require('./_node_modules/find-up/index.cjs');
5
+ const index$1 = require("../read-pkg/index.cjs");
6
+ function readPackageUpSync(options) {
7
+ const filePath = index.findUpSync("package.json", options);
8
+ if (!filePath) {
9
+ return;
10
+ }
11
+ return {
12
+ packageJson: index$1.readPackageSync({ ...options, cwd: path.dirname(filePath) }),
13
+ path: filePath
14
+ };
15
+ }
16
+ exports.readPackageUpSync = readPackageUpSync;
17
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../node_modules/read-pkg-up/index.js"],"sourcesContent":["import path from 'node:path';\nimport {findUp, findUpSync} from 'find-up';\nimport {readPackage, readPackageSync} from 'read-pkg';\n\nexport async function readPackageUp(options) {\n\tconst filePath = await findUp('package.json', options);\n\tif (!filePath) {\n\t\treturn;\n\t}\n\n\treturn {\n\t\tpackageJson: await readPackage({...options, cwd: path.dirname(filePath)}),\n\t\tpath: filePath,\n\t};\n}\n\nexport function readPackageUpSync(options) {\n\tconst filePath = findUpSync('package.json', options);\n\tif (!filePath) {\n\t\treturn;\n\t}\n\n\treturn {\n\t\tpackageJson: readPackageSync({...options, cwd: path.dirname(filePath)}),\n\t\tpath: filePath,\n\t};\n}\n"],"names":["findUpSync","readPackageSync"],"mappings":";;;;;AAgBO,SAAS,kBAAkB,SAAS;AAC1C,QAAM,WAAWA,MAAAA,WAAW,gBAAgB,OAAO;AACnD,MAAI,CAAC,UAAU;AACd;AAAA,EACA;AAED,SAAO;AAAA,IACN,aAAaC,QAAAA,gBAAgB,EAAC,GAAG,SAAS,KAAK,KAAK,QAAQ,QAAQ,EAAC,CAAC;AAAA,IACtE,MAAM;AAAA,EACR;AACA;;","x_google_ignoreList":[0]}
@@ -0,0 +1,17 @@
1
+ import path from "node:path";
2
+ import { findUpSync } from './_node_modules/find-up/index.js';
3
+ import { readPackageSync } from "../read-pkg/index.js";
4
+ function readPackageUpSync(options) {
5
+ const filePath = findUpSync("package.json", options);
6
+ if (!filePath) {
7
+ return;
8
+ }
9
+ return {
10
+ packageJson: readPackageSync({ ...options, cwd: path.dirname(filePath) }),
11
+ path: filePath
12
+ };
13
+ }
14
+ export {
15
+ readPackageUpSync
16
+ };
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../node_modules/read-pkg-up/index.js"],"sourcesContent":["import path from 'node:path';\nimport {findUp, findUpSync} from 'find-up';\nimport {readPackage, readPackageSync} from 'read-pkg';\n\nexport async function readPackageUp(options) {\n\tconst filePath = await findUp('package.json', options);\n\tif (!filePath) {\n\t\treturn;\n\t}\n\n\treturn {\n\t\tpackageJson: await readPackage({...options, cwd: path.dirname(filePath)}),\n\t\tpath: filePath,\n\t};\n}\n\nexport function readPackageUpSync(options) {\n\tconst filePath = findUpSync('package.json', options);\n\tif (!filePath) {\n\t\treturn;\n\t}\n\n\treturn {\n\t\tpackageJson: readPackageSync({...options, cwd: path.dirname(filePath)}),\n\t\tpath: filePath,\n\t};\n}\n"],"names":[],"mappings":";;;AAgBO,SAAS,kBAAkB,SAAS;AAC1C,QAAM,WAAW,WAAW,gBAAgB,OAAO;AACnD,MAAI,CAAC,UAAU;AACd;AAAA,EACA;AAED,SAAO;AAAA,IACN,aAAa,gBAAgB,EAAC,GAAG,SAAS,KAAK,KAAK,QAAQ,QAAQ,EAAC,CAAC;AAAA,IACtE,MAAM;AAAA,EACR;AACA;","x_google_ignoreList":[0]}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ const index$1 = require("../strip-indent/index.cjs");
3
+ const index = require("../indent-string/index.cjs");
4
+ function redent(string, count = 0, options = {}) {
5
+ return index(index$1(string), count, options);
6
+ }
7
+ module.exports = redent;
8
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../node_modules/redent/index.js"],"sourcesContent":["import stripIndent from 'strip-indent';\nimport indentString from 'indent-string';\n\nexport default function redent(string, count = 0, options = {}) {\n\treturn indentString(stripIndent(string), count, options);\n}\n"],"names":["indentString","stripIndent"],"mappings":";;;AAGe,SAAS,OAAO,QAAQ,QAAQ,GAAG,UAAU,CAAA,GAAI;AAC/D,SAAOA,MAAaC,QAAY,MAAM,GAAG,OAAO,OAAO;AACxD;;","x_google_ignoreList":[0]}
@@ -0,0 +1,9 @@
1
+ import stripIndent from "../strip-indent/index.js";
2
+ import indentString from "../indent-string/index.js";
3
+ function redent(string, count = 0, options = {}) {
4
+ return indentString(stripIndent(string), count, options);
5
+ }
6
+ export {
7
+ redent as default
8
+ };
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../node_modules/redent/index.js"],"sourcesContent":["import stripIndent from 'strip-indent';\nimport indentString from 'indent-string';\n\nexport default function redent(string, count = 0, options = {}) {\n\treturn indentString(stripIndent(string), count, options);\n}\n"],"names":[],"mappings":";;AAGe,SAAS,OAAO,QAAQ,QAAQ,GAAG,UAAU,CAAA,GAAI;AAC/D,SAAO,aAAa,YAAY,MAAM,GAAG,OAAO,OAAO;AACxD;","x_google_ignoreList":[0]}