@flourish/sdk 4.2.0 → 4.2.2

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 (1074) hide show
  1. package/RELEASE_NOTES.md +6 -0
  2. package/lib/cmd/publish.js +1 -1
  3. package/lib/common.js +1 -1
  4. package/lib/sdk.js +25 -5
  5. package/lib/validate_config.js +1 -1
  6. package/my_template/node_modules/.package-lock.json +525 -0
  7. package/my_template/node_modules/@babel/code-frame/LICENSE +22 -0
  8. package/my_template/node_modules/@babel/code-frame/README.md +19 -0
  9. package/my_template/node_modules/@babel/code-frame/lib/index.js +157 -0
  10. package/my_template/node_modules/@babel/code-frame/lib/index.js.map +1 -0
  11. package/my_template/node_modules/@babel/code-frame/package.json +30 -0
  12. package/my_template/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
  13. package/my_template/node_modules/@babel/helper-validator-identifier/README.md +19 -0
  14. package/my_template/node_modules/@babel/helper-validator-identifier/lib/identifier.js +70 -0
  15. package/my_template/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
  16. package/my_template/node_modules/@babel/helper-validator-identifier/lib/index.js +57 -0
  17. package/my_template/node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
  18. package/my_template/node_modules/@babel/helper-validator-identifier/lib/keyword.js +35 -0
  19. package/my_template/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
  20. package/my_template/node_modules/@babel/helper-validator-identifier/package.json +28 -0
  21. package/my_template/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +73 -0
  22. package/my_template/node_modules/@babel/highlight/LICENSE +22 -0
  23. package/my_template/node_modules/@babel/highlight/README.md +19 -0
  24. package/my_template/node_modules/@babel/highlight/lib/index.js +105 -0
  25. package/my_template/node_modules/@babel/highlight/lib/index.js.map +1 -0
  26. package/my_template/node_modules/@babel/highlight/package.json +29 -0
  27. package/my_template/node_modules/@types/estree/LICENSE +21 -0
  28. package/my_template/node_modules/@types/estree/README.md +15 -0
  29. package/my_template/node_modules/@types/estree/flow.d.ts +167 -0
  30. package/my_template/node_modules/@types/estree/index.d.ts +683 -0
  31. package/my_template/node_modules/@types/estree/package.json +26 -0
  32. package/my_template/node_modules/@types/node/LICENSE +21 -0
  33. package/my_template/node_modules/@types/node/README.md +15 -0
  34. package/my_template/node_modules/@types/node/assert/strict.d.ts +8 -0
  35. package/my_template/node_modules/@types/node/assert.d.ts +996 -0
  36. package/my_template/node_modules/@types/node/async_hooks.d.ts +539 -0
  37. package/my_template/node_modules/@types/node/buffer.d.ts +2362 -0
  38. package/my_template/node_modules/@types/node/child_process.d.ts +1540 -0
  39. package/my_template/node_modules/@types/node/cluster.d.ts +432 -0
  40. package/my_template/node_modules/@types/node/console.d.ts +415 -0
  41. package/my_template/node_modules/@types/node/constants.d.ts +19 -0
  42. package/my_template/node_modules/@types/node/crypto.d.ts +4456 -0
  43. package/my_template/node_modules/@types/node/dgram.d.ts +586 -0
  44. package/my_template/node_modules/@types/node/diagnostics_channel.d.ts +191 -0
  45. package/my_template/node_modules/@types/node/dns/promises.d.ts +425 -0
  46. package/my_template/node_modules/@types/node/dns.d.ts +809 -0
  47. package/my_template/node_modules/@types/node/dom-events.d.ts +122 -0
  48. package/my_template/node_modules/@types/node/domain.d.ts +170 -0
  49. package/my_template/node_modules/@types/node/events.d.ts +879 -0
  50. package/my_template/node_modules/@types/node/fs/promises.d.ts +1239 -0
  51. package/my_template/node_modules/@types/node/fs.d.ts +4291 -0
  52. package/my_template/node_modules/@types/node/globals.d.ts +385 -0
  53. package/my_template/node_modules/@types/node/globals.global.d.ts +1 -0
  54. package/my_template/node_modules/@types/node/http.d.ts +1888 -0
  55. package/my_template/node_modules/@types/node/http2.d.ts +2382 -0
  56. package/my_template/node_modules/@types/node/https.d.ts +550 -0
  57. package/my_template/node_modules/@types/node/index.d.ts +88 -0
  58. package/my_template/node_modules/@types/node/inspector.d.ts +2747 -0
  59. package/my_template/node_modules/@types/node/module.d.ts +301 -0
  60. package/my_template/node_modules/@types/node/net.d.ts +949 -0
  61. package/my_template/node_modules/@types/node/os.d.ts +478 -0
  62. package/my_template/node_modules/@types/node/package.json +230 -0
  63. package/my_template/node_modules/@types/node/path.d.ts +191 -0
  64. package/my_template/node_modules/@types/node/perf_hooks.d.ts +639 -0
  65. package/my_template/node_modules/@types/node/process.d.ts +1539 -0
  66. package/my_template/node_modules/@types/node/punycode.d.ts +117 -0
  67. package/my_template/node_modules/@types/node/querystring.d.ts +141 -0
  68. package/my_template/node_modules/@types/node/readline/promises.d.ts +150 -0
  69. package/my_template/node_modules/@types/node/readline.d.ts +539 -0
  70. package/my_template/node_modules/@types/node/repl.d.ts +430 -0
  71. package/my_template/node_modules/@types/node/stream/consumers.d.ts +12 -0
  72. package/my_template/node_modules/@types/node/stream/promises.d.ts +83 -0
  73. package/my_template/node_modules/@types/node/stream/web.d.ts +350 -0
  74. package/my_template/node_modules/@types/node/stream.d.ts +1701 -0
  75. package/my_template/node_modules/@types/node/string_decoder.d.ts +67 -0
  76. package/my_template/node_modules/@types/node/test.d.ts +1382 -0
  77. package/my_template/node_modules/@types/node/timers/promises.d.ts +93 -0
  78. package/my_template/node_modules/@types/node/timers.d.ts +240 -0
  79. package/my_template/node_modules/@types/node/tls.d.ts +1210 -0
  80. package/my_template/node_modules/@types/node/trace_events.d.ts +182 -0
  81. package/my_template/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
  82. package/my_template/node_modules/@types/node/ts4.8/assert.d.ts +996 -0
  83. package/my_template/node_modules/@types/node/ts4.8/async_hooks.d.ts +539 -0
  84. package/my_template/node_modules/@types/node/ts4.8/buffer.d.ts +2362 -0
  85. package/my_template/node_modules/@types/node/ts4.8/child_process.d.ts +1540 -0
  86. package/my_template/node_modules/@types/node/ts4.8/cluster.d.ts +432 -0
  87. package/my_template/node_modules/@types/node/ts4.8/console.d.ts +415 -0
  88. package/my_template/node_modules/@types/node/ts4.8/constants.d.ts +19 -0
  89. package/my_template/node_modules/@types/node/ts4.8/crypto.d.ts +4455 -0
  90. package/my_template/node_modules/@types/node/ts4.8/dgram.d.ts +586 -0
  91. package/my_template/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +191 -0
  92. package/my_template/node_modules/@types/node/ts4.8/dns/promises.d.ts +425 -0
  93. package/my_template/node_modules/@types/node/ts4.8/dns.d.ts +809 -0
  94. package/my_template/node_modules/@types/node/ts4.8/dom-events.d.ts +122 -0
  95. package/my_template/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
  96. package/my_template/node_modules/@types/node/ts4.8/events.d.ts +879 -0
  97. package/my_template/node_modules/@types/node/ts4.8/fs/promises.d.ts +1239 -0
  98. package/my_template/node_modules/@types/node/ts4.8/fs.d.ts +4291 -0
  99. package/my_template/node_modules/@types/node/ts4.8/globals.d.ts +385 -0
  100. package/my_template/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
  101. package/my_template/node_modules/@types/node/ts4.8/http.d.ts +1888 -0
  102. package/my_template/node_modules/@types/node/ts4.8/http2.d.ts +2382 -0
  103. package/my_template/node_modules/@types/node/ts4.8/https.d.ts +550 -0
  104. package/my_template/node_modules/@types/node/ts4.8/index.d.ts +88 -0
  105. package/my_template/node_modules/@types/node/ts4.8/inspector.d.ts +2747 -0
  106. package/my_template/node_modules/@types/node/ts4.8/module.d.ts +301 -0
  107. package/my_template/node_modules/@types/node/ts4.8/net.d.ts +949 -0
  108. package/my_template/node_modules/@types/node/ts4.8/os.d.ts +478 -0
  109. package/my_template/node_modules/@types/node/ts4.8/path.d.ts +191 -0
  110. package/my_template/node_modules/@types/node/ts4.8/perf_hooks.d.ts +639 -0
  111. package/my_template/node_modules/@types/node/ts4.8/process.d.ts +1539 -0
  112. package/my_template/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
  113. package/my_template/node_modules/@types/node/ts4.8/querystring.d.ts +141 -0
  114. package/my_template/node_modules/@types/node/ts4.8/readline/promises.d.ts +150 -0
  115. package/my_template/node_modules/@types/node/ts4.8/readline.d.ts +539 -0
  116. package/my_template/node_modules/@types/node/ts4.8/repl.d.ts +430 -0
  117. package/my_template/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
  118. package/my_template/node_modules/@types/node/ts4.8/stream/promises.d.ts +83 -0
  119. package/my_template/node_modules/@types/node/ts4.8/stream/web.d.ts +350 -0
  120. package/my_template/node_modules/@types/node/ts4.8/stream.d.ts +1701 -0
  121. package/my_template/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
  122. package/my_template/node_modules/@types/node/ts4.8/test.d.ts +1382 -0
  123. package/my_template/node_modules/@types/node/ts4.8/timers/promises.d.ts +93 -0
  124. package/my_template/node_modules/@types/node/ts4.8/timers.d.ts +240 -0
  125. package/my_template/node_modules/@types/node/ts4.8/tls.d.ts +1210 -0
  126. package/my_template/node_modules/@types/node/ts4.8/trace_events.d.ts +182 -0
  127. package/my_template/node_modules/@types/node/ts4.8/tty.d.ts +208 -0
  128. package/my_template/node_modules/@types/node/ts4.8/url.d.ts +927 -0
  129. package/my_template/node_modules/@types/node/ts4.8/util.d.ts +2183 -0
  130. package/my_template/node_modules/@types/node/ts4.8/v8.d.ts +635 -0
  131. package/my_template/node_modules/@types/node/ts4.8/vm.d.ts +903 -0
  132. package/my_template/node_modules/@types/node/ts4.8/wasi.d.ts +158 -0
  133. package/my_template/node_modules/@types/node/ts4.8/worker_threads.d.ts +691 -0
  134. package/my_template/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
  135. package/my_template/node_modules/@types/node/tty.d.ts +208 -0
  136. package/my_template/node_modules/@types/node/url.d.ts +927 -0
  137. package/my_template/node_modules/@types/node/util.d.ts +2183 -0
  138. package/my_template/node_modules/@types/node/v8.d.ts +635 -0
  139. package/my_template/node_modules/@types/node/vm.d.ts +903 -0
  140. package/my_template/node_modules/@types/node/wasi.d.ts +158 -0
  141. package/my_template/node_modules/@types/node/worker_threads.d.ts +691 -0
  142. package/my_template/node_modules/@types/node/zlib.d.ts +517 -0
  143. package/my_template/node_modules/@types/resolve/LICENSE +21 -0
  144. package/my_template/node_modules/@types/resolve/README.md +16 -0
  145. package/my_template/node_modules/@types/resolve/index.d.ts +113 -0
  146. package/my_template/node_modules/@types/resolve/package.json +29 -0
  147. package/my_template/node_modules/acorn/CHANGELOG.md +620 -0
  148. package/my_template/node_modules/acorn/LICENSE +21 -0
  149. package/my_template/node_modules/acorn/README.md +269 -0
  150. package/my_template/node_modules/acorn/bin/acorn +4 -0
  151. package/my_template/node_modules/acorn/dist/acorn.d.ts +209 -0
  152. package/my_template/node_modules/acorn/dist/acorn.js +5186 -0
  153. package/my_template/node_modules/acorn/dist/acorn.js.map +1 -0
  154. package/my_template/node_modules/acorn/dist/acorn.mjs +5155 -0
  155. package/my_template/node_modules/acorn/dist/acorn.mjs.d.ts +2 -0
  156. package/my_template/node_modules/acorn/dist/acorn.mjs.map +1 -0
  157. package/my_template/node_modules/acorn/dist/bin.js +64 -0
  158. package/my_template/node_modules/acorn/package.json +35 -0
  159. package/my_template/node_modules/amdefine/LICENSE +58 -0
  160. package/my_template/node_modules/amdefine/README.md +171 -0
  161. package/my_template/node_modules/amdefine/amdefine.js +301 -0
  162. package/my_template/node_modules/amdefine/intercept.js +36 -0
  163. package/my_template/node_modules/amdefine/package.json +16 -0
  164. package/my_template/node_modules/ansi-styles/index.js +165 -0
  165. package/my_template/node_modules/ansi-styles/license +9 -0
  166. package/my_template/node_modules/ansi-styles/package.json +56 -0
  167. package/my_template/node_modules/ansi-styles/readme.md +147 -0
  168. package/my_template/node_modules/builtin-modules/builtin-modules.json +43 -0
  169. package/my_template/node_modules/builtin-modules/index.d.ts +14 -0
  170. package/my_template/node_modules/builtin-modules/index.js +11 -0
  171. package/my_template/node_modules/builtin-modules/license +9 -0
  172. package/my_template/node_modules/builtin-modules/package.json +44 -0
  173. package/my_template/node_modules/builtin-modules/readme.md +44 -0
  174. package/my_template/node_modules/builtin-modules/static.d.ts +14 -0
  175. package/my_template/node_modules/builtin-modules/static.js +2 -0
  176. package/my_template/node_modules/chalk/index.js +228 -0
  177. package/my_template/node_modules/chalk/index.js.flow +93 -0
  178. package/my_template/node_modules/chalk/license +9 -0
  179. package/my_template/node_modules/chalk/package.json +71 -0
  180. package/my_template/node_modules/chalk/readme.md +314 -0
  181. package/my_template/node_modules/chalk/templates.js +128 -0
  182. package/my_template/node_modules/chalk/types/index.d.ts +97 -0
  183. package/my_template/node_modules/clean-css/History.md +1138 -0
  184. package/my_template/node_modules/clean-css/LICENSE +19 -0
  185. package/my_template/node_modules/clean-css/README.md +369 -0
  186. package/my_template/node_modules/clean-css/bin/cleancss +184 -0
  187. package/my_template/node_modules/clean-css/index.js +1 -0
  188. package/my_template/node_modules/clean-css/lib/clean.js +231 -0
  189. package/my_template/node_modules/clean-css/lib/colors/hex-name-shortener.js +186 -0
  190. package/my_template/node_modules/clean-css/lib/colors/hsl.js +67 -0
  191. package/my_template/node_modules/clean-css/lib/colors/rgb.js +16 -0
  192. package/my_template/node_modules/clean-css/lib/imports/inliner.js +399 -0
  193. package/my_template/node_modules/clean-css/lib/properties/break-up.js +335 -0
  194. package/my_template/node_modules/clean-css/lib/properties/can-override.js +142 -0
  195. package/my_template/node_modules/clean-css/lib/properties/clone.js +26 -0
  196. package/my_template/node_modules/clean-css/lib/properties/compactable.js +285 -0
  197. package/my_template/node_modules/clean-css/lib/properties/every-combination.js +28 -0
  198. package/my_template/node_modules/clean-css/lib/properties/has-inherit.js +10 -0
  199. package/my_template/node_modules/clean-css/lib/properties/invalid-property-error.js +10 -0
  200. package/my_template/node_modules/clean-css/lib/properties/optimizer.js +215 -0
  201. package/my_template/node_modules/clean-css/lib/properties/override-compactor.js +384 -0
  202. package/my_template/node_modules/clean-css/lib/properties/populate-components.js +32 -0
  203. package/my_template/node_modules/clean-css/lib/properties/remove-unused.js +10 -0
  204. package/my_template/node_modules/clean-css/lib/properties/restore-from-optimizing.js +60 -0
  205. package/my_template/node_modules/clean-css/lib/properties/restore.js +232 -0
  206. package/my_template/node_modules/clean-css/lib/properties/shorthand-compactor.js +134 -0
  207. package/my_template/node_modules/clean-css/lib/properties/validator.js +197 -0
  208. package/my_template/node_modules/clean-css/lib/properties/vendor-prefixes.js +26 -0
  209. package/my_template/node_modules/clean-css/lib/properties/wrap-for-optimizing.js +118 -0
  210. package/my_template/node_modules/clean-css/lib/selectors/advanced.js +86 -0
  211. package/my_template/node_modules/clean-css/lib/selectors/clean-up.js +89 -0
  212. package/my_template/node_modules/clean-css/lib/selectors/extractor.js +69 -0
  213. package/my_template/node_modules/clean-css/lib/selectors/is-special.js +5 -0
  214. package/my_template/node_modules/clean-css/lib/selectors/merge-adjacent.js +35 -0
  215. package/my_template/node_modules/clean-css/lib/selectors/merge-media-queries.js +64 -0
  216. package/my_template/node_modules/clean-css/lib/selectors/merge-non-adjacent-by-body.js +61 -0
  217. package/my_template/node_modules/clean-css/lib/selectors/merge-non-adjacent-by-selector.js +76 -0
  218. package/my_template/node_modules/clean-css/lib/selectors/reduce-non-adjacent.js +172 -0
  219. package/my_template/node_modules/clean-css/lib/selectors/remove-duplicate-media-queries.js +21 -0
  220. package/my_template/node_modules/clean-css/lib/selectors/remove-duplicates.js +41 -0
  221. package/my_template/node_modules/clean-css/lib/selectors/reorderable.js +99 -0
  222. package/my_template/node_modules/clean-css/lib/selectors/restructure.js +369 -0
  223. package/my_template/node_modules/clean-css/lib/selectors/simple.js +454 -0
  224. package/my_template/node_modules/clean-css/lib/source-maps/track.js +119 -0
  225. package/my_template/node_modules/clean-css/lib/stringifier/helpers.js +167 -0
  226. package/my_template/node_modules/clean-css/lib/stringifier/one-time.js +50 -0
  227. package/my_template/node_modules/clean-css/lib/stringifier/simple.js +22 -0
  228. package/my_template/node_modules/clean-css/lib/stringifier/source-maps.js +96 -0
  229. package/my_template/node_modules/clean-css/lib/text/comments-processor.js +131 -0
  230. package/my_template/node_modules/clean-css/lib/text/escape-store.js +53 -0
  231. package/my_template/node_modules/clean-css/lib/text/expressions-processor.js +117 -0
  232. package/my_template/node_modules/clean-css/lib/text/free-text-processor.js +98 -0
  233. package/my_template/node_modules/clean-css/lib/text/urls-processor.js +75 -0
  234. package/my_template/node_modules/clean-css/lib/tokenizer/extract-properties.js +193 -0
  235. package/my_template/node_modules/clean-css/lib/tokenizer/extract-selectors.js +17 -0
  236. package/my_template/node_modules/clean-css/lib/tokenizer/tokenize.js +297 -0
  237. package/my_template/node_modules/clean-css/lib/urls/rebase.js +30 -0
  238. package/my_template/node_modules/clean-css/lib/urls/reduce.js +154 -0
  239. package/my_template/node_modules/clean-css/lib/urls/rewrite.js +107 -0
  240. package/my_template/node_modules/clean-css/lib/utils/clone-array.js +12 -0
  241. package/my_template/node_modules/clean-css/lib/utils/compatibility.js +162 -0
  242. package/my_template/node_modules/clean-css/lib/utils/input-source-map-tracker.js +284 -0
  243. package/my_template/node_modules/clean-css/lib/utils/object.js +11 -0
  244. package/my_template/node_modules/clean-css/lib/utils/quote-scanner.js +119 -0
  245. package/my_template/node_modules/clean-css/lib/utils/source-reader.js +96 -0
  246. package/my_template/node_modules/clean-css/lib/utils/source-tracker.js +31 -0
  247. package/my_template/node_modules/clean-css/lib/utils/split.js +62 -0
  248. package/my_template/node_modules/clean-css/node_modules/source-map/README.md +510 -0
  249. package/my_template/node_modules/clean-css/node_modules/source-map/build/assert-shim.js +56 -0
  250. package/my_template/node_modules/clean-css/node_modules/source-map/build/mini-require.js +152 -0
  251. package/my_template/node_modules/clean-css/node_modules/source-map/build/prefix-source-map.jsm +21 -0
  252. package/my_template/node_modules/clean-css/node_modules/source-map/build/prefix-utils.jsm +18 -0
  253. package/my_template/node_modules/clean-css/node_modules/source-map/build/suffix-browser.js +8 -0
  254. package/my_template/node_modules/clean-css/node_modules/source-map/build/suffix-source-map.jsm +6 -0
  255. package/my_template/node_modules/clean-css/node_modules/source-map/build/suffix-utils.jsm +21 -0
  256. package/my_template/node_modules/clean-css/node_modules/source-map/build/test-prefix.js +8 -0
  257. package/my_template/node_modules/clean-css/node_modules/source-map/build/test-suffix.js +3 -0
  258. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/array-set.js +107 -0
  259. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/base64-vlq.js +146 -0
  260. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/base64.js +73 -0
  261. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/binary-search.js +117 -0
  262. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/mapping-list.js +86 -0
  263. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/quick-sort.js +120 -0
  264. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/source-map-consumer.js +1077 -0
  265. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/source-map-generator.js +399 -0
  266. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/source-node.js +414 -0
  267. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/util.js +370 -0
  268. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map.js +8 -0
  269. package/my_template/node_modules/clean-css/node_modules/source-map/package.json +68 -0
  270. package/my_template/node_modules/clean-css/package.json +53 -0
  271. package/my_template/node_modules/color-convert/CHANGELOG.md +54 -0
  272. package/my_template/node_modules/color-convert/LICENSE +21 -0
  273. package/my_template/node_modules/color-convert/README.md +68 -0
  274. package/my_template/node_modules/color-convert/conversions.js +868 -0
  275. package/my_template/node_modules/color-convert/index.js +78 -0
  276. package/my_template/node_modules/color-convert/package.json +46 -0
  277. package/my_template/node_modules/color-convert/route.js +97 -0
  278. package/my_template/node_modules/color-name/.eslintrc.json +43 -0
  279. package/my_template/node_modules/color-name/LICENSE +8 -0
  280. package/my_template/node_modules/color-name/README.md +11 -0
  281. package/my_template/node_modules/color-name/index.js +152 -0
  282. package/my_template/node_modules/color-name/package.json +25 -0
  283. package/my_template/node_modules/color-name/test.js +7 -0
  284. package/my_template/node_modules/commander/History.md +256 -0
  285. package/my_template/node_modules/commander/LICENSE +22 -0
  286. package/my_template/node_modules/commander/Readme.md +342 -0
  287. package/my_template/node_modules/commander/index.js +1103 -0
  288. package/my_template/node_modules/commander/package.json +33 -0
  289. package/my_template/node_modules/copy-anything/LICENSE +21 -0
  290. package/my_template/node_modules/copy-anything/README.md +130 -0
  291. package/my_template/node_modules/copy-anything/dist/index.cjs +52 -0
  292. package/my_template/node_modules/copy-anything/dist/index.es.js +48 -0
  293. package/my_template/node_modules/copy-anything/dist/types/index.d.ts +15 -0
  294. package/my_template/node_modules/copy-anything/package.json +98 -0
  295. package/my_template/node_modules/errno/.jshintrc +59 -0
  296. package/my_template/node_modules/errno/.travis.yml +19 -0
  297. package/my_template/node_modules/errno/README.md +145 -0
  298. package/my_template/node_modules/errno/build.js +43 -0
  299. package/my_template/node_modules/errno/cli.js +22 -0
  300. package/my_template/node_modules/errno/custom.js +57 -0
  301. package/my_template/node_modules/errno/errno.js +313 -0
  302. package/my_template/node_modules/errno/package.json +33 -0
  303. package/my_template/node_modules/errno/test.js +88 -0
  304. package/my_template/node_modules/escape-string-regexp/index.js +11 -0
  305. package/my_template/node_modules/escape-string-regexp/license +21 -0
  306. package/my_template/node_modules/escape-string-regexp/package.json +41 -0
  307. package/my_template/node_modules/escape-string-regexp/readme.md +27 -0
  308. package/my_template/node_modules/estree-walker/CHANGELOG.md +55 -0
  309. package/my_template/node_modules/estree-walker/README.md +45 -0
  310. package/my_template/node_modules/estree-walker/dist/estree-walker.umd.js +65 -0
  311. package/my_template/node_modules/estree-walker/dist/estree-walker.umd.js.map +1 -0
  312. package/my_template/node_modules/estree-walker/index.d.ts +27 -0
  313. package/my_template/node_modules/estree-walker/package.json +30 -0
  314. package/my_template/node_modules/estree-walker/src/estree-walker.js +51 -0
  315. package/my_template/node_modules/function-bind/.eslintrc +21 -0
  316. package/my_template/node_modules/function-bind/.github/FUNDING.yml +12 -0
  317. package/my_template/node_modules/function-bind/.github/SECURITY.md +3 -0
  318. package/my_template/node_modules/function-bind/.nycrc +13 -0
  319. package/my_template/node_modules/function-bind/CHANGELOG.md +136 -0
  320. package/my_template/node_modules/function-bind/LICENSE +20 -0
  321. package/my_template/node_modules/function-bind/README.md +46 -0
  322. package/my_template/node_modules/function-bind/implementation.js +84 -0
  323. package/my_template/node_modules/function-bind/index.js +5 -0
  324. package/my_template/node_modules/function-bind/package.json +87 -0
  325. package/my_template/node_modules/function-bind/test/.eslintrc +9 -0
  326. package/my_template/node_modules/function-bind/test/index.js +252 -0
  327. package/my_template/node_modules/graceful-fs/LICENSE +15 -0
  328. package/my_template/node_modules/graceful-fs/README.md +143 -0
  329. package/my_template/node_modules/graceful-fs/clone.js +23 -0
  330. package/my_template/node_modules/graceful-fs/graceful-fs.js +448 -0
  331. package/my_template/node_modules/graceful-fs/legacy-streams.js +118 -0
  332. package/my_template/node_modules/graceful-fs/package.json +53 -0
  333. package/my_template/node_modules/graceful-fs/polyfills.js +355 -0
  334. package/my_template/node_modules/graceful-readlink/.travis.yml +5 -0
  335. package/my_template/node_modules/graceful-readlink/LICENSE +22 -0
  336. package/my_template/node_modules/graceful-readlink/README.md +17 -0
  337. package/my_template/node_modules/graceful-readlink/index.js +12 -0
  338. package/my_template/node_modules/graceful-readlink/package.json +18 -0
  339. package/my_template/node_modules/has-flag/index.js +8 -0
  340. package/my_template/node_modules/has-flag/license +9 -0
  341. package/my_template/node_modules/has-flag/package.json +44 -0
  342. package/my_template/node_modules/has-flag/readme.md +70 -0
  343. package/my_template/node_modules/hasown/.eslintrc +5 -0
  344. package/my_template/node_modules/hasown/.github/FUNDING.yml +12 -0
  345. package/my_template/node_modules/hasown/.nycrc +13 -0
  346. package/my_template/node_modules/hasown/CHANGELOG.md +20 -0
  347. package/my_template/node_modules/hasown/LICENSE +21 -0
  348. package/my_template/node_modules/hasown/README.md +40 -0
  349. package/my_template/node_modules/hasown/index.d.ts +3 -0
  350. package/my_template/node_modules/hasown/index.d.ts.map +1 -0
  351. package/my_template/node_modules/hasown/index.js +8 -0
  352. package/my_template/node_modules/hasown/package.json +91 -0
  353. package/my_template/node_modules/hasown/tsconfig.json +49 -0
  354. package/my_template/node_modules/image-size/LICENSE +9 -0
  355. package/my_template/node_modules/image-size/Readme.md +88 -0
  356. package/my_template/node_modules/image-size/bin/image-size.js +36 -0
  357. package/my_template/node_modules/image-size/lib/detector.js +19 -0
  358. package/my_template/node_modules/image-size/lib/index.js +105 -0
  359. package/my_template/node_modules/image-size/lib/readUInt.js +11 -0
  360. package/my_template/node_modules/image-size/lib/types/bmp.js +17 -0
  361. package/my_template/node_modules/image-size/lib/types/dds.js +18 -0
  362. package/my_template/node_modules/image-size/lib/types/gif.js +19 -0
  363. package/my_template/node_modules/image-size/lib/types/jpg.js +62 -0
  364. package/my_template/node_modules/image-size/lib/types/png.js +36 -0
  365. package/my_template/node_modules/image-size/lib/types/psd.js +17 -0
  366. package/my_template/node_modules/image-size/lib/types/svg.js +78 -0
  367. package/my_template/node_modules/image-size/lib/types/tiff.js +118 -0
  368. package/my_template/node_modules/image-size/lib/types/webp.js +69 -0
  369. package/my_template/node_modules/image-size/lib/types.js +13 -0
  370. package/my_template/node_modules/image-size/package.json +49 -0
  371. package/my_template/node_modules/is-core-module/.eslintrc +18 -0
  372. package/my_template/node_modules/is-core-module/.nycrc +9 -0
  373. package/my_template/node_modules/is-core-module/CHANGELOG.md +180 -0
  374. package/my_template/node_modules/is-core-module/LICENSE +20 -0
  375. package/my_template/node_modules/is-core-module/README.md +40 -0
  376. package/my_template/node_modules/is-core-module/core.json +158 -0
  377. package/my_template/node_modules/is-core-module/index.js +69 -0
  378. package/my_template/node_modules/is-core-module/package.json +73 -0
  379. package/my_template/node_modules/is-core-module/test/index.js +133 -0
  380. package/my_template/node_modules/is-module/README.md +41 -0
  381. package/my_template/node_modules/is-module/component.json +11 -0
  382. package/my_template/node_modules/is-module/index.js +11 -0
  383. package/my_template/node_modules/is-module/package.json +20 -0
  384. package/my_template/node_modules/is-what/.babelrc +3 -0
  385. package/my_template/node_modules/is-what/.eslintignore +9 -0
  386. package/my_template/node_modules/is-what/.eslintrc.js +18 -0
  387. package/my_template/node_modules/is-what/.github/FUNDING.yml +12 -0
  388. package/my_template/node_modules/is-what/.prettierrc +9 -0
  389. package/my_template/node_modules/is-what/.vscode/settings.json +9 -0
  390. package/my_template/node_modules/is-what/LICENSE +21 -0
  391. package/my_template/node_modules/is-what/README.md +191 -0
  392. package/my_template/node_modules/is-what/build.js +60 -0
  393. package/my_template/node_modules/is-what/dist/index.cjs.js +364 -0
  394. package/my_template/node_modules/is-what/dist/index.esm.js +327 -0
  395. package/my_template/node_modules/is-what/package.json +86 -0
  396. package/my_template/node_modules/is-what/src/index.ts +395 -0
  397. package/my_template/node_modules/is-what/test/ava.ts +376 -0
  398. package/my_template/node_modules/is-what/test/index.test.js +15 -0
  399. package/my_template/node_modules/is-what/tsconfig.json +11 -0
  400. package/my_template/node_modules/is-what/types/index.d.ts +253 -0
  401. package/my_template/node_modules/jest-worker/LICENSE +21 -0
  402. package/my_template/node_modules/jest-worker/README.md +215 -0
  403. package/my_template/node_modules/jest-worker/build/Farm.d.ts +27 -0
  404. package/my_template/node_modules/jest-worker/build/Farm.d.ts.map +1 -0
  405. package/my_template/node_modules/jest-worker/build/Farm.js +179 -0
  406. package/my_template/node_modules/jest-worker/build/WorkerPool.d.ts +14 -0
  407. package/my_template/node_modules/jest-worker/build/WorkerPool.d.ts.map +1 -0
  408. package/my_template/node_modules/jest-worker/build/WorkerPool.js +49 -0
  409. package/my_template/node_modules/jest-worker/build/base/BaseWorkerPool.d.ts +22 -0
  410. package/my_template/node_modules/jest-worker/build/base/BaseWorkerPool.d.ts.map +1 -0
  411. package/my_template/node_modules/jest-worker/build/base/BaseWorkerPool.js +134 -0
  412. package/my_template/node_modules/jest-worker/build/index.d.ts +46 -0
  413. package/my_template/node_modules/jest-worker/build/index.d.ts.map +1 -0
  414. package/my_template/node_modules/jest-worker/build/index.js +184 -0
  415. package/my_template/node_modules/jest-worker/build/types.d.ts +98 -0
  416. package/my_template/node_modules/jest-worker/build/types.d.ts.map +1 -0
  417. package/my_template/node_modules/jest-worker/build/types.js +43 -0
  418. package/my_template/node_modules/jest-worker/build/workers/ChildProcessWorker.d.ts +47 -0
  419. package/my_template/node_modules/jest-worker/build/workers/ChildProcessWorker.d.ts.map +1 -0
  420. package/my_template/node_modules/jest-worker/build/workers/ChildProcessWorker.js +310 -0
  421. package/my_template/node_modules/jest-worker/build/workers/NodeThreadsWorker.d.ts +29 -0
  422. package/my_template/node_modules/jest-worker/build/workers/NodeThreadsWorker.d.ts.map +1 -0
  423. package/my_template/node_modules/jest-worker/build/workers/NodeThreadsWorker.js +289 -0
  424. package/my_template/node_modules/jest-worker/build/workers/processChild.d.ts +8 -0
  425. package/my_template/node_modules/jest-worker/build/workers/processChild.d.ts.map +1 -0
  426. package/my_template/node_modules/jest-worker/build/workers/processChild.js +166 -0
  427. package/my_template/node_modules/jest-worker/build/workers/threadChild.d.ts +8 -0
  428. package/my_template/node_modules/jest-worker/build/workers/threadChild.d.ts.map +1 -0
  429. package/my_template/node_modules/jest-worker/build/workers/threadChild.js +176 -0
  430. package/my_template/node_modules/jest-worker/node_modules/supports-color/browser.js +5 -0
  431. package/my_template/node_modules/jest-worker/node_modules/supports-color/index.js +138 -0
  432. package/my_template/node_modules/jest-worker/node_modules/supports-color/license +9 -0
  433. package/my_template/node_modules/jest-worker/node_modules/supports-color/package.json +53 -0
  434. package/my_template/node_modules/jest-worker/node_modules/supports-color/readme.md +85 -0
  435. package/my_template/node_modules/jest-worker/package.json +29 -0
  436. package/my_template/node_modules/js-tokens/CHANGELOG.md +151 -0
  437. package/my_template/node_modules/js-tokens/LICENSE +21 -0
  438. package/my_template/node_modules/js-tokens/README.md +240 -0
  439. package/my_template/node_modules/js-tokens/index.js +23 -0
  440. package/my_template/node_modules/js-tokens/package.json +30 -0
  441. package/my_template/node_modules/less/.eslintignore +5 -0
  442. package/my_template/node_modules/less/.eslintrc.json +3 -0
  443. package/my_template/node_modules/less/Gruntfile.js +420 -0
  444. package/my_template/node_modules/less/README.md +13 -0
  445. package/my_template/node_modules/less/bin/lessc +633 -0
  446. package/my_template/node_modules/less/bower.json +22 -0
  447. package/my_template/node_modules/less/dist/less.js +11275 -0
  448. package/my_template/node_modules/less/dist/less.min.js +11 -0
  449. package/my_template/node_modules/less/dist/less.min.js.map +1 -0
  450. package/my_template/node_modules/less/index.js +1 -0
  451. package/my_template/node_modules/less/lib/less/constants.js +15 -0
  452. package/my_template/node_modules/less/lib/less/constants.js.map +1 -0
  453. package/my_template/node_modules/less/lib/less/contexts.js +171 -0
  454. package/my_template/node_modules/less/lib/less/contexts.js.map +1 -0
  455. package/my_template/node_modules/less/lib/less/data/colors.js +153 -0
  456. package/my_template/node_modules/less/lib/less/data/colors.js.map +1 -0
  457. package/my_template/node_modules/less/lib/less/data/index.js +9 -0
  458. package/my_template/node_modules/less/lib/less/data/index.js.map +1 -0
  459. package/my_template/node_modules/less/lib/less/data/unit-conversions.js +24 -0
  460. package/my_template/node_modules/less/lib/less/data/unit-conversions.js.map +1 -0
  461. package/my_template/node_modules/less/lib/less/default-options.js +57 -0
  462. package/my_template/node_modules/less/lib/less/default-options.js.map +1 -0
  463. package/my_template/node_modules/less/lib/less/environment/abstract-file-manager.js +122 -0
  464. package/my_template/node_modules/less/lib/less/environment/abstract-file-manager.js.map +1 -0
  465. package/my_template/node_modules/less/lib/less/environment/abstract-plugin-loader.js +168 -0
  466. package/my_template/node_modules/less/lib/less/environment/abstract-plugin-loader.js.map +1 -0
  467. package/my_template/node_modules/less/lib/less/environment/environment-api.js +28 -0
  468. package/my_template/node_modules/less/lib/less/environment/environment-api.js.map +1 -0
  469. package/my_template/node_modules/less/lib/less/environment/environment.js +57 -0
  470. package/my_template/node_modules/less/lib/less/environment/environment.js.map +1 -0
  471. package/my_template/node_modules/less/lib/less/environment/file-manager-api.js +106 -0
  472. package/my_template/node_modules/less/lib/less/environment/file-manager-api.js.map +1 -0
  473. package/my_template/node_modules/less/lib/less/functions/boolean.js +21 -0
  474. package/my_template/node_modules/less/lib/less/functions/boolean.js.map +1 -0
  475. package/my_template/node_modules/less/lib/less/functions/color-blending.js +78 -0
  476. package/my_template/node_modules/less/lib/less/functions/color-blending.js.map +1 -0
  477. package/my_template/node_modules/less/lib/less/functions/color.js +404 -0
  478. package/my_template/node_modules/less/lib/less/functions/color.js.map +1 -0
  479. package/my_template/node_modules/less/lib/less/functions/data-uri.js +86 -0
  480. package/my_template/node_modules/less/lib/less/functions/data-uri.js.map +1 -0
  481. package/my_template/node_modules/less/lib/less/functions/default.js +29 -0
  482. package/my_template/node_modules/less/lib/less/functions/default.js.map +1 -0
  483. package/my_template/node_modules/less/lib/less/functions/function-caller.js +66 -0
  484. package/my_template/node_modules/less/lib/less/functions/function-caller.js.map +1 -0
  485. package/my_template/node_modules/less/lib/less/functions/function-registry.js +36 -0
  486. package/my_template/node_modules/less/lib/less/functions/function-registry.js.map +1 -0
  487. package/my_template/node_modules/less/lib/less/functions/index.js +35 -0
  488. package/my_template/node_modules/less/lib/less/functions/index.js.map +1 -0
  489. package/my_template/node_modules/less/lib/less/functions/list.js +136 -0
  490. package/my_template/node_modules/less/lib/less/functions/list.js.map +1 -0
  491. package/my_template/node_modules/less/lib/less/functions/math-helper.js +20 -0
  492. package/my_template/node_modules/less/lib/less/functions/math-helper.js.map +1 -0
  493. package/my_template/node_modules/less/lib/less/functions/math.js +30 -0
  494. package/my_template/node_modules/less/lib/less/functions/math.js.map +1 -0
  495. package/my_template/node_modules/less/lib/less/functions/number.js +98 -0
  496. package/my_template/node_modules/less/lib/less/functions/number.js.map +1 -0
  497. package/my_template/node_modules/less/lib/less/functions/string.js +42 -0
  498. package/my_template/node_modules/less/lib/less/functions/string.js.map +1 -0
  499. package/my_template/node_modules/less/lib/less/functions/svg.js +88 -0
  500. package/my_template/node_modules/less/lib/less/functions/svg.js.map +1 -0
  501. package/my_template/node_modules/less/lib/less/functions/types.js +75 -0
  502. package/my_template/node_modules/less/lib/less/functions/types.js.map +1 -0
  503. package/my_template/node_modules/less/lib/less/import-manager.js +196 -0
  504. package/my_template/node_modules/less/lib/less/import-manager.js.map +1 -0
  505. package/my_template/node_modules/less/lib/less/index.js +130 -0
  506. package/my_template/node_modules/less/lib/less/index.js.map +1 -0
  507. package/my_template/node_modules/less/lib/less/less-error.js +162 -0
  508. package/my_template/node_modules/less/lib/less/less-error.js.map +1 -0
  509. package/my_template/node_modules/less/lib/less/logger.js +37 -0
  510. package/my_template/node_modules/less/lib/less/logger.js.map +1 -0
  511. package/my_template/node_modules/less/lib/less/parse-tree.js +69 -0
  512. package/my_template/node_modules/less/lib/less/parse-tree.js.map +1 -0
  513. package/my_template/node_modules/less/lib/less/parse.js +108 -0
  514. package/my_template/node_modules/less/lib/less/parse.js.map +1 -0
  515. package/my_template/node_modules/less/lib/less/parser/chunker.js +147 -0
  516. package/my_template/node_modules/less/lib/less/parser/chunker.js.map +1 -0
  517. package/my_template/node_modules/less/lib/less/parser/parser-input.js +355 -0
  518. package/my_template/node_modules/less/lib/less/parser/parser-input.js.map +1 -0
  519. package/my_template/node_modules/less/lib/less/parser/parser.js +2262 -0
  520. package/my_template/node_modules/less/lib/less/parser/parser.js.map +1 -0
  521. package/my_template/node_modules/less/lib/less/plugin-manager.js +158 -0
  522. package/my_template/node_modules/less/lib/less/plugin-manager.js.map +1 -0
  523. package/my_template/node_modules/less/lib/less/render.js +64 -0
  524. package/my_template/node_modules/less/lib/less/render.js.map +1 -0
  525. package/my_template/node_modules/less/lib/less/source-map-builder.js +72 -0
  526. package/my_template/node_modules/less/lib/less/source-map-builder.js.map +1 -0
  527. package/my_template/node_modules/less/lib/less/source-map-output.js +140 -0
  528. package/my_template/node_modules/less/lib/less/source-map-output.js.map +1 -0
  529. package/my_template/node_modules/less/lib/less/transform-tree.js +93 -0
  530. package/my_template/node_modules/less/lib/less/transform-tree.js.map +1 -0
  531. package/my_template/node_modules/less/lib/less/tree/anonymous.js +34 -0
  532. package/my_template/node_modules/less/lib/less/tree/anonymous.js.map +1 -0
  533. package/my_template/node_modules/less/lib/less/tree/assignment.js +32 -0
  534. package/my_template/node_modules/less/lib/less/tree/assignment.js.map +1 -0
  535. package/my_template/node_modules/less/lib/less/tree/atrule.js +146 -0
  536. package/my_template/node_modules/less/lib/less/tree/atrule.js.map +1 -0
  537. package/my_template/node_modules/less/lib/less/tree/attribute.js +29 -0
  538. package/my_template/node_modules/less/lib/less/tree/attribute.js.map +1 -0
  539. package/my_template/node_modules/less/lib/less/tree/call.js +104 -0
  540. package/my_template/node_modules/less/lib/less/tree/call.js.map +1 -0
  541. package/my_template/node_modules/less/lib/less/tree/color.js +243 -0
  542. package/my_template/node_modules/less/lib/less/tree/color.js.map +1 -0
  543. package/my_template/node_modules/less/lib/less/tree/combinator.js +29 -0
  544. package/my_template/node_modules/less/lib/less/tree/combinator.js.map +1 -0
  545. package/my_template/node_modules/less/lib/less/tree/comment.js +28 -0
  546. package/my_template/node_modules/less/lib/less/tree/comment.js.map +1 -0
  547. package/my_template/node_modules/less/lib/less/tree/condition.js +41 -0
  548. package/my_template/node_modules/less/lib/less/tree/condition.js.map +1 -0
  549. package/my_template/node_modules/less/lib/less/tree/debug-info.js +37 -0
  550. package/my_template/node_modules/less/lib/less/tree/debug-info.js.map +1 -0
  551. package/my_template/node_modules/less/lib/less/tree/declaration.js +118 -0
  552. package/my_template/node_modules/less/lib/less/tree/declaration.js.map +1 -0
  553. package/my_template/node_modules/less/lib/less/tree/detached-ruleset.js +47 -0
  554. package/my_template/node_modules/less/lib/less/tree/detached-ruleset.js.map +1 -0
  555. package/my_template/node_modules/less/lib/less/tree/dimension.js +159 -0
  556. package/my_template/node_modules/less/lib/less/tree/dimension.js.map +1 -0
  557. package/my_template/node_modules/less/lib/less/tree/element.js +64 -0
  558. package/my_template/node_modules/less/lib/less/tree/element.js.map +1 -0
  559. package/my_template/node_modules/less/lib/less/tree/expression.js +90 -0
  560. package/my_template/node_modules/less/lib/less/tree/expression.js.map +1 -0
  561. package/my_template/node_modules/less/lib/less/tree/extend.js +62 -0
  562. package/my_template/node_modules/less/lib/less/tree/extend.js.map +1 -0
  563. package/my_template/node_modules/less/lib/less/tree/import.js +191 -0
  564. package/my_template/node_modules/less/lib/less/tree/import.js.map +1 -0
  565. package/my_template/node_modules/less/lib/less/tree/index.js +56 -0
  566. package/my_template/node_modules/less/lib/less/tree/index.js.map +1 -0
  567. package/my_template/node_modules/less/lib/less/tree/javascript.js +35 -0
  568. package/my_template/node_modules/less/lib/less/tree/javascript.js.map +1 -0
  569. package/my_template/node_modules/less/lib/less/tree/js-eval-node.js +57 -0
  570. package/my_template/node_modules/less/lib/less/tree/js-eval-node.js.map +1 -0
  571. package/my_template/node_modules/less/lib/less/tree/keyword.js +21 -0
  572. package/my_template/node_modules/less/lib/less/tree/keyword.js.map +1 -0
  573. package/my_template/node_modules/less/lib/less/tree/media.js +152 -0
  574. package/my_template/node_modules/less/lib/less/tree/media.js.map +1 -0
  575. package/my_template/node_modules/less/lib/less/tree/mixin-call.js +194 -0
  576. package/my_template/node_modules/less/lib/less/tree/mixin-call.js.map +1 -0
  577. package/my_template/node_modules/less/lib/less/tree/mixin-definition.js +233 -0
  578. package/my_template/node_modules/less/lib/less/tree/mixin-definition.js.map +1 -0
  579. package/my_template/node_modules/less/lib/less/tree/namespace-value.js +76 -0
  580. package/my_template/node_modules/less/lib/less/tree/namespace-value.js.map +1 -0
  581. package/my_template/node_modules/less/lib/less/tree/negative.js +25 -0
  582. package/my_template/node_modules/less/lib/less/tree/negative.js.map +1 -0
  583. package/my_template/node_modules/less/lib/less/tree/node.js +166 -0
  584. package/my_template/node_modules/less/lib/less/tree/node.js.map +1 -0
  585. package/my_template/node_modules/less/lib/less/tree/operation.js +77 -0
  586. package/my_template/node_modules/less/lib/less/tree/operation.js.map +1 -0
  587. package/my_template/node_modules/less/lib/less/tree/paren.js +21 -0
  588. package/my_template/node_modules/less/lib/less/tree/paren.js.map +1 -0
  589. package/my_template/node_modules/less/lib/less/tree/property.js +62 -0
  590. package/my_template/node_modules/less/lib/less/tree/property.js.map +1 -0
  591. package/my_template/node_modules/less/lib/less/tree/quoted.js +66 -0
  592. package/my_template/node_modules/less/lib/less/tree/quoted.js.map +1 -0
  593. package/my_template/node_modules/less/lib/less/tree/ruleset.js +786 -0
  594. package/my_template/node_modules/less/lib/less/tree/ruleset.js.map +1 -0
  595. package/my_template/node_modules/less/lib/less/tree/selector.js +126 -0
  596. package/my_template/node_modules/less/lib/less/tree/selector.js.map +1 -0
  597. package/my_template/node_modules/less/lib/less/tree/unicode-descriptor.js +13 -0
  598. package/my_template/node_modules/less/lib/less/tree/unicode-descriptor.js.map +1 -0
  599. package/my_template/node_modules/less/lib/less/tree/unit.js +141 -0
  600. package/my_template/node_modules/less/lib/less/tree/unit.js.map +1 -0
  601. package/my_template/node_modules/less/lib/less/tree/url.js +60 -0
  602. package/my_template/node_modules/less/lib/less/tree/url.js.map +1 -0
  603. package/my_template/node_modules/less/lib/less/tree/value.js +43 -0
  604. package/my_template/node_modules/less/lib/less/tree/value.js.map +1 -0
  605. package/my_template/node_modules/less/lib/less/tree/variable-call.js +44 -0
  606. package/my_template/node_modules/less/lib/less/tree/variable-call.js.map +1 -0
  607. package/my_template/node_modules/less/lib/less/tree/variable.js +61 -0
  608. package/my_template/node_modules/less/lib/less/tree/variable.js.map +1 -0
  609. package/my_template/node_modules/less/lib/less/utils.js +143 -0
  610. package/my_template/node_modules/less/lib/less/utils.js.map +1 -0
  611. package/my_template/node_modules/less/lib/less/visitors/extend-visitor.js +462 -0
  612. package/my_template/node_modules/less/lib/less/visitors/extend-visitor.js.map +1 -0
  613. package/my_template/node_modules/less/lib/less/visitors/import-sequencer.js +61 -0
  614. package/my_template/node_modules/less/lib/less/visitors/import-sequencer.js.map +1 -0
  615. package/my_template/node_modules/less/lib/less/visitors/import-visitor.js +202 -0
  616. package/my_template/node_modules/less/lib/less/visitors/import-visitor.js.map +1 -0
  617. package/my_template/node_modules/less/lib/less/visitors/index.js +20 -0
  618. package/my_template/node_modules/less/lib/less/visitors/index.js.map +1 -0
  619. package/my_template/node_modules/less/lib/less/visitors/join-selector-visitor.js +57 -0
  620. package/my_template/node_modules/less/lib/less/visitors/join-selector-visitor.js.map +1 -0
  621. package/my_template/node_modules/less/lib/less/visitors/set-tree-visibility-visitor.js +43 -0
  622. package/my_template/node_modules/less/lib/less/visitors/set-tree-visibility-visitor.js.map +1 -0
  623. package/my_template/node_modules/less/lib/less/visitors/to-css-visitor.js +321 -0
  624. package/my_template/node_modules/less/lib/less/visitors/to-css-visitor.js.map +1 -0
  625. package/my_template/node_modules/less/lib/less/visitors/visitor.js +158 -0
  626. package/my_template/node_modules/less/lib/less/visitors/visitor.js.map +1 -0
  627. package/my_template/node_modules/less/lib/less-browser/add-default-options.js +45 -0
  628. package/my_template/node_modules/less/lib/less-browser/add-default-options.js.map +1 -0
  629. package/my_template/node_modules/less/lib/less-browser/bootstrap.js +64 -0
  630. package/my_template/node_modules/less/lib/less-browser/bootstrap.js.map +1 -0
  631. package/my_template/node_modules/less/lib/less-browser/browser.js +80 -0
  632. package/my_template/node_modules/less/lib/less-browser/browser.js.map +1 -0
  633. package/my_template/node_modules/less/lib/less-browser/cache.js +45 -0
  634. package/my_template/node_modules/less/lib/less-browser/cache.js.map +1 -0
  635. package/my_template/node_modules/less/lib/less-browser/error-reporting.js +183 -0
  636. package/my_template/node_modules/less/lib/less-browser/error-reporting.js.map +1 -0
  637. package/my_template/node_modules/less/lib/less-browser/file-manager.js +122 -0
  638. package/my_template/node_modules/less/lib/less-browser/file-manager.js.map +1 -0
  639. package/my_template/node_modules/less/lib/less-browser/image-size.js +30 -0
  640. package/my_template/node_modules/less/lib/less-browser/image-size.js.map +1 -0
  641. package/my_template/node_modules/less/lib/less-browser/index.js +256 -0
  642. package/my_template/node_modules/less/lib/less-browser/index.js.map +1 -0
  643. package/my_template/node_modules/less/lib/less-browser/log-listener.js +43 -0
  644. package/my_template/node_modules/less/lib/less-browser/log-listener.js.map +1 -0
  645. package/my_template/node_modules/less/lib/less-browser/plugin-loader.js +42 -0
  646. package/my_template/node_modules/less/lib/less-browser/plugin-loader.js.map +1 -0
  647. package/my_template/node_modules/less/lib/less-browser/utils.js +29 -0
  648. package/my_template/node_modules/less/lib/less-browser/utils.js.map +1 -0
  649. package/my_template/node_modules/less/lib/less-node/environment.js +19 -0
  650. package/my_template/node_modules/less/lib/less-node/environment.js.map +1 -0
  651. package/my_template/node_modules/less/lib/less-node/file-manager.js +158 -0
  652. package/my_template/node_modules/less/lib/less-node/file-manager.js.map +1 -0
  653. package/my_template/node_modules/less/lib/less-node/fs.js +11 -0
  654. package/my_template/node_modules/less/lib/less-node/fs.js.map +1 -0
  655. package/my_template/node_modules/less/lib/less-node/image-size.js +54 -0
  656. package/my_template/node_modules/less/lib/less-node/image-size.js.map +1 -0
  657. package/my_template/node_modules/less/lib/less-node/index.js +28 -0
  658. package/my_template/node_modules/less/lib/less-node/index.js.map +1 -0
  659. package/my_template/node_modules/less/lib/less-node/lessc-helper.js +92 -0
  660. package/my_template/node_modules/less/lib/less-node/lessc-helper.js.map +1 -0
  661. package/my_template/node_modules/less/lib/less-node/plugin-loader.js +73 -0
  662. package/my_template/node_modules/less/lib/less-node/plugin-loader.js.map +1 -0
  663. package/my_template/node_modules/less/lib/less-node/url-file-manager.js +68 -0
  664. package/my_template/node_modules/less/lib/less-node/url-file-manager.js.map +1 -0
  665. package/my_template/node_modules/less/package.json +133 -0
  666. package/my_template/node_modules/less/test/.eslintrc.json +9 -0
  667. package/my_template/node_modules/less/test/README.md +3 -0
  668. package/my_template/node_modules/less/test/browser/common.js +230 -0
  669. package/my_template/node_modules/less/test/browser/css/global-vars/simple.css +3 -0
  670. package/my_template/node_modules/less/test/browser/css/modify-vars/simple.css +8 -0
  671. package/my_template/node_modules/less/test/browser/css/plugin/plugin.css +3 -0
  672. package/my_template/node_modules/less/test/browser/css/postProcessor/postProcessor.css +4 -0
  673. package/my_template/node_modules/less/test/browser/css/relative-urls/urls.css +36 -0
  674. package/my_template/node_modules/less/test/browser/css/rewrite-urls/urls.css +36 -0
  675. package/my_template/node_modules/less/test/browser/css/rootpath/urls.css +35 -0
  676. package/my_template/node_modules/less/test/browser/css/rootpath-relative/urls.css +35 -0
  677. package/my_template/node_modules/less/test/browser/css/rootpath-rewrite-urls/urls.css +35 -0
  678. package/my_template/node_modules/less/test/browser/css/urls.css +54 -0
  679. package/my_template/node_modules/less/test/browser/generator/benchmark.config.js +50 -0
  680. package/my_template/node_modules/less/test/browser/generator/generate.js +78 -0
  681. package/my_template/node_modules/less/test/browser/generator/runner.config.js +186 -0
  682. package/my_template/node_modules/less/test/browser/generator/runner.js +2 -0
  683. package/my_template/node_modules/less/test/browser/generator/template.js +83 -0
  684. package/my_template/node_modules/less/test/browser/less/console-errors/test-error.less +3 -0
  685. package/my_template/node_modules/less/test/browser/less/console-errors/test-error.txt +2 -0
  686. package/my_template/node_modules/less/test/browser/less/errors/image-height-error.less +3 -0
  687. package/my_template/node_modules/less/test/browser/less/errors/image-height-error.txt +4 -0
  688. package/my_template/node_modules/less/test/browser/less/errors/image-size-error.less +3 -0
  689. package/my_template/node_modules/less/test/browser/less/errors/image-size-error.txt +4 -0
  690. package/my_template/node_modules/less/test/browser/less/errors/image-width-error.less +3 -0
  691. package/my_template/node_modules/less/test/browser/less/errors/image-width-error.txt +4 -0
  692. package/my_template/node_modules/less/test/browser/less/global-vars/simple.less +3 -0
  693. package/my_template/node_modules/less/test/browser/less/imports/urls.less +4 -0
  694. package/my_template/node_modules/less/test/browser/less/imports/urls2.less +4 -0
  695. package/my_template/node_modules/less/test/browser/less/modify-vars/imports/simple2.less +4 -0
  696. package/my_template/node_modules/less/test/browser/less/modify-vars/simple.less +8 -0
  697. package/my_template/node_modules/less/test/browser/less/nested-gradient-with-svg-gradient/mixin-consumer.less +5 -0
  698. package/my_template/node_modules/less/test/browser/less/nested-gradient-with-svg-gradient/svg-gradient-mixin.less +15 -0
  699. package/my_template/node_modules/less/test/browser/less/plugin/plugin.js +4 -0
  700. package/my_template/node_modules/less/test/browser/less/plugin/plugin.less +4 -0
  701. package/my_template/node_modules/less/test/browser/less/postProcessor/postProcessor.less +4 -0
  702. package/my_template/node_modules/less/test/browser/less/relative-urls/urls.less +34 -0
  703. package/my_template/node_modules/less/test/browser/less/rewrite-urls/urls.less +34 -0
  704. package/my_template/node_modules/less/test/browser/less/rootpath/urls.less +33 -0
  705. package/my_template/node_modules/less/test/browser/less/rootpath-relative/urls.less +33 -0
  706. package/my_template/node_modules/less/test/browser/less/rootpath-rewrite-urls/urls.less +33 -0
  707. package/my_template/node_modules/less/test/browser/less/urls.less +62 -0
  708. package/my_template/node_modules/less/test/browser/runner-VisitorPlugin-options.js +3 -0
  709. package/my_template/node_modules/less/test/browser/runner-VisitorPlugin.js +3 -0
  710. package/my_template/node_modules/less/test/browser/runner-browser-options.js +51 -0
  711. package/my_template/node_modules/less/test/browser/runner-browser-spec.js +12 -0
  712. package/my_template/node_modules/less/test/browser/runner-console-errors.js +5 -0
  713. package/my_template/node_modules/less/test/browser/runner-errors-options.js +6 -0
  714. package/my_template/node_modules/less/test/browser/runner-errors-spec.js +3 -0
  715. package/my_template/node_modules/less/test/browser/runner-filemanagerPlugin-options.js +5 -0
  716. package/my_template/node_modules/less/test/browser/runner-filemanagerPlugin.js +3 -0
  717. package/my_template/node_modules/less/test/browser/runner-global-vars-options.js +7 -0
  718. package/my_template/node_modules/less/test/browser/runner-global-vars-spec.js +3 -0
  719. package/my_template/node_modules/less/test/browser/runner-legacy-options.js +6 -0
  720. package/my_template/node_modules/less/test/browser/runner-legacy-spec.js +3 -0
  721. package/my_template/node_modules/less/test/browser/runner-main-options.js +17 -0
  722. package/my_template/node_modules/less/test/browser/runner-main-spec.js +7 -0
  723. package/my_template/node_modules/less/test/browser/runner-modify-vars-options.js +5 -0
  724. package/my_template/node_modules/less/test/browser/runner-modify-vars-spec.js +33 -0
  725. package/my_template/node_modules/less/test/browser/runner-no-js-errors-options.js +4 -0
  726. package/my_template/node_modules/less/test/browser/runner-no-js-errors-spec.js +3 -0
  727. package/my_template/node_modules/less/test/browser/runner-postProcessorPlugin-options.js +3 -0
  728. package/my_template/node_modules/less/test/browser/runner-postProcessorPlugin.js +3 -0
  729. package/my_template/node_modules/less/test/browser/runner-preProcessorPlugin-options.js +3 -0
  730. package/my_template/node_modules/less/test/browser/runner-preProcessorPlugin.js +3 -0
  731. package/my_template/node_modules/less/test/browser/runner-production-options.js +3 -0
  732. package/my_template/node_modules/less/test/browser/runner-production-spec.js +5 -0
  733. package/my_template/node_modules/less/test/browser/runner-relative-urls-options.js +3 -0
  734. package/my_template/node_modules/less/test/browser/runner-relative-urls-spec.js +3 -0
  735. package/my_template/node_modules/less/test/browser/runner-rewrite-urls-options.js +3 -0
  736. package/my_template/node_modules/less/test/browser/runner-rewrite-urls-spec.js +3 -0
  737. package/my_template/node_modules/less/test/browser/runner-rootpath-options.js +3 -0
  738. package/my_template/node_modules/less/test/browser/runner-rootpath-relative-options.js +4 -0
  739. package/my_template/node_modules/less/test/browser/runner-rootpath-relative-spec.js +3 -0
  740. package/my_template/node_modules/less/test/browser/runner-rootpath-rewrite-urls-options.js +4 -0
  741. package/my_template/node_modules/less/test/browser/runner-rootpath-rewrite-urls-spec.js +3 -0
  742. package/my_template/node_modules/less/test/browser/runner-rootpath-spec.js +3 -0
  743. package/my_template/node_modules/less/test/browser/runner-strict-units-options.js +5 -0
  744. package/my_template/node_modules/less/test/browser/runner-strict-units-spec.js +3 -0
  745. package/my_template/node_modules/less/test/index.js +89 -0
  746. package/my_template/node_modules/less/test/less-test.js +535 -0
  747. package/my_template/node_modules/less/test/modify-vars.js +28 -0
  748. package/my_template/node_modules/less/test/plugins/filemanager/index.js +19 -0
  749. package/my_template/node_modules/less/test/plugins/postprocess/index.js +14 -0
  750. package/my_template/node_modules/less/test/plugins/preprocess/index.js +19 -0
  751. package/my_template/node_modules/less/test/plugins/visitor/index.js +24 -0
  752. package/my_template/node_modules/less/test/sourcemaps/basic.json +1 -0
  753. package/my_template/node_modules/less/test/sourcemaps/custom-props.json +1 -0
  754. package/my_template/node_modules/less/test/sourcemaps/index.html +17 -0
  755. package/my_template/node_modules/less/test/sourcemaps-disable-annotation/basic.json +1 -0
  756. package/my_template/node_modules/less/test/test-es6.ts +17 -0
  757. package/my_template/node_modules/less/tsconfig.json +13 -0
  758. package/my_template/node_modules/less-plugin-clean-css/LICENSE +201 -0
  759. package/my_template/node_modules/less-plugin-clean-css/README.md +33 -0
  760. package/my_template/node_modules/less-plugin-clean-css/lib/clean-css-processor.js +63 -0
  761. package/my_template/node_modules/less-plugin-clean-css/lib/index.js +23 -0
  762. package/my_template/node_modules/less-plugin-clean-css/lib/parse-options.js +61 -0
  763. package/my_template/node_modules/less-plugin-clean-css/lib/usage.js +19 -0
  764. package/my_template/node_modules/less-plugin-clean-css/package.json +39 -0
  765. package/my_template/node_modules/make-dir/index.d.ts +39 -0
  766. package/my_template/node_modules/make-dir/index.js +139 -0
  767. package/my_template/node_modules/make-dir/license +9 -0
  768. package/my_template/node_modules/make-dir/package.json +59 -0
  769. package/my_template/node_modules/make-dir/readme.md +123 -0
  770. package/my_template/node_modules/merge-stream/LICENSE +21 -0
  771. package/my_template/node_modules/merge-stream/README.md +78 -0
  772. package/my_template/node_modules/merge-stream/index.js +41 -0
  773. package/my_template/node_modules/merge-stream/package.json +19 -0
  774. package/my_template/node_modules/mime/CHANGELOG.md +164 -0
  775. package/my_template/node_modules/mime/LICENSE +21 -0
  776. package/my_template/node_modules/mime/README.md +90 -0
  777. package/my_template/node_modules/mime/cli.js +8 -0
  778. package/my_template/node_modules/mime/mime.js +108 -0
  779. package/my_template/node_modules/mime/package.json +44 -0
  780. package/my_template/node_modules/mime/src/build.js +53 -0
  781. package/my_template/node_modules/mime/src/test.js +60 -0
  782. package/my_template/node_modules/mime/types.json +1 -0
  783. package/my_template/node_modules/native-request/README.md +184 -0
  784. package/my_template/node_modules/native-request/commons/jsonToParameter.js +14 -0
  785. package/my_template/node_modules/native-request/index.js +65 -0
  786. package/my_template/node_modules/native-request/lib/Request.js +144 -0
  787. package/my_template/node_modules/native-request/package.json +45 -0
  788. package/my_template/node_modules/native-request/test/express.get.cookies.js +58 -0
  789. package/my_template/node_modules/native-request/test/express.get.js +146 -0
  790. package/my_template/node_modules/native-request/test/express.post.cookies.js +59 -0
  791. package/my_template/node_modules/native-request/test/express.post.js +148 -0
  792. package/my_template/node_modules/native-request/test/get.cookies.js +72 -0
  793. package/my_template/node_modules/native-request/test/get.js +140 -0
  794. package/my_template/node_modules/native-request/test/post.cookies.js +72 -0
  795. package/my_template/node_modules/native-request/test/post.js +155 -0
  796. package/my_template/node_modules/path-parse/LICENSE +21 -0
  797. package/my_template/node_modules/path-parse/README.md +42 -0
  798. package/my_template/node_modules/path-parse/index.js +75 -0
  799. package/my_template/node_modules/path-parse/package.json +33 -0
  800. package/my_template/node_modules/pify/index.js +68 -0
  801. package/my_template/node_modules/pify/license +9 -0
  802. package/my_template/node_modules/pify/package.json +51 -0
  803. package/my_template/node_modules/pify/readme.md +145 -0
  804. package/my_template/node_modules/prr/.jshintrc +61 -0
  805. package/my_template/node_modules/prr/.travis.yml +10 -0
  806. package/my_template/node_modules/prr/LICENSE.md +11 -0
  807. package/my_template/node_modules/prr/README.md +47 -0
  808. package/my_template/node_modules/prr/package.json +26 -0
  809. package/my_template/node_modules/prr/prr.js +63 -0
  810. package/my_template/node_modules/prr/test.js +169 -0
  811. package/my_template/node_modules/resolve/.editorconfig +37 -0
  812. package/my_template/node_modules/resolve/.eslintrc +65 -0
  813. package/my_template/node_modules/resolve/.github/FUNDING.yml +12 -0
  814. package/my_template/node_modules/resolve/LICENSE +21 -0
  815. package/my_template/node_modules/resolve/SECURITY.md +3 -0
  816. package/my_template/node_modules/resolve/async.js +3 -0
  817. package/my_template/node_modules/resolve/bin/resolve +50 -0
  818. package/my_template/node_modules/resolve/example/async.js +5 -0
  819. package/my_template/node_modules/resolve/example/sync.js +3 -0
  820. package/my_template/node_modules/resolve/index.js +6 -0
  821. package/my_template/node_modules/resolve/lib/async.js +329 -0
  822. package/my_template/node_modules/resolve/lib/caller.js +8 -0
  823. package/my_template/node_modules/resolve/lib/core.js +12 -0
  824. package/my_template/node_modules/resolve/lib/core.json +158 -0
  825. package/my_template/node_modules/resolve/lib/homedir.js +24 -0
  826. package/my_template/node_modules/resolve/lib/is-core.js +5 -0
  827. package/my_template/node_modules/resolve/lib/node-modules-paths.js +42 -0
  828. package/my_template/node_modules/resolve/lib/normalize-options.js +10 -0
  829. package/my_template/node_modules/resolve/lib/sync.js +208 -0
  830. package/my_template/node_modules/resolve/package.json +72 -0
  831. package/my_template/node_modules/resolve/readme.markdown +301 -0
  832. package/my_template/node_modules/resolve/sync.js +3 -0
  833. package/my_template/node_modules/resolve/test/core.js +88 -0
  834. package/my_template/node_modules/resolve/test/dotdot/abc/index.js +2 -0
  835. package/my_template/node_modules/resolve/test/dotdot/index.js +1 -0
  836. package/my_template/node_modules/resolve/test/dotdot.js +29 -0
  837. package/my_template/node_modules/resolve/test/faulty_basedir.js +29 -0
  838. package/my_template/node_modules/resolve/test/filter.js +34 -0
  839. package/my_template/node_modules/resolve/test/filter_sync.js +33 -0
  840. package/my_template/node_modules/resolve/test/home_paths.js +127 -0
  841. package/my_template/node_modules/resolve/test/home_paths_sync.js +114 -0
  842. package/my_template/node_modules/resolve/test/mock.js +315 -0
  843. package/my_template/node_modules/resolve/test/mock_sync.js +214 -0
  844. package/my_template/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +1 -0
  845. package/my_template/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +1 -0
  846. package/my_template/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +1 -0
  847. package/my_template/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +3 -0
  848. package/my_template/node_modules/resolve/test/module_dir.js +56 -0
  849. package/my_template/node_modules/resolve/test/node-modules-paths.js +143 -0
  850. package/my_template/node_modules/resolve/test/node_path/x/aaa/index.js +1 -0
  851. package/my_template/node_modules/resolve/test/node_path/x/ccc/index.js +1 -0
  852. package/my_template/node_modules/resolve/test/node_path/y/bbb/index.js +1 -0
  853. package/my_template/node_modules/resolve/test/node_path/y/ccc/index.js +1 -0
  854. package/my_template/node_modules/resolve/test/node_path.js +70 -0
  855. package/my_template/node_modules/resolve/test/nonstring.js +9 -0
  856. package/my_template/node_modules/resolve/test/pathfilter/deep_ref/main.js +0 -0
  857. package/my_template/node_modules/resolve/test/pathfilter.js +75 -0
  858. package/my_template/node_modules/resolve/test/precedence/aaa/index.js +1 -0
  859. package/my_template/node_modules/resolve/test/precedence/aaa/main.js +1 -0
  860. package/my_template/node_modules/resolve/test/precedence/aaa.js +1 -0
  861. package/my_template/node_modules/resolve/test/precedence/bbb/main.js +1 -0
  862. package/my_template/node_modules/resolve/test/precedence/bbb.js +1 -0
  863. package/my_template/node_modules/resolve/test/precedence.js +23 -0
  864. package/my_template/node_modules/resolve/test/resolver/baz/doom.js +0 -0
  865. package/my_template/node_modules/resolve/test/resolver/baz/package.json +4 -0
  866. package/my_template/node_modules/resolve/test/resolver/baz/quux.js +1 -0
  867. package/my_template/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
  868. package/my_template/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
  869. package/my_template/node_modules/resolve/test/resolver/browser_field/package.json +5 -0
  870. package/my_template/node_modules/resolve/test/resolver/cup.coffee +1 -0
  871. package/my_template/node_modules/resolve/test/resolver/dot_main/index.js +1 -0
  872. package/my_template/node_modules/resolve/test/resolver/dot_main/package.json +3 -0
  873. package/my_template/node_modules/resolve/test/resolver/dot_slash_main/index.js +1 -0
  874. package/my_template/node_modules/resolve/test/resolver/dot_slash_main/package.json +3 -0
  875. package/my_template/node_modules/resolve/test/resolver/false_main/index.js +0 -0
  876. package/my_template/node_modules/resolve/test/resolver/false_main/package.json +4 -0
  877. package/my_template/node_modules/resolve/test/resolver/foo.js +1 -0
  878. package/my_template/node_modules/resolve/test/resolver/incorrect_main/index.js +2 -0
  879. package/my_template/node_modules/resolve/test/resolver/incorrect_main/package.json +3 -0
  880. package/my_template/node_modules/resolve/test/resolver/invalid_main/package.json +7 -0
  881. package/my_template/node_modules/resolve/test/resolver/mug.coffee +0 -0
  882. package/my_template/node_modules/resolve/test/resolver/mug.js +0 -0
  883. package/my_template/node_modules/resolve/test/resolver/multirepo/lerna.json +6 -0
  884. package/my_template/node_modules/resolve/test/resolver/multirepo/package.json +20 -0
  885. package/my_template/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +35 -0
  886. package/my_template/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +14 -0
  887. package/my_template/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
  888. package/my_template/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +14 -0
  889. package/my_template/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +26 -0
  890. package/my_template/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +15 -0
  891. package/my_template/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +12 -0
  892. package/my_template/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
  893. package/my_template/node_modules/resolve/test/resolver/other_path/root.js +0 -0
  894. package/my_template/node_modules/resolve/test/resolver/quux/foo/index.js +1 -0
  895. package/my_template/node_modules/resolve/test/resolver/same_names/foo/index.js +1 -0
  896. package/my_template/node_modules/resolve/test/resolver/same_names/foo.js +1 -0
  897. package/my_template/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
  898. package/my_template/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep +0 -0
  899. package/my_template/node_modules/resolve/test/resolver/symlinked/package/bar.js +1 -0
  900. package/my_template/node_modules/resolve/test/resolver/symlinked/package/package.json +3 -0
  901. package/my_template/node_modules/resolve/test/resolver/without_basedir/main.js +5 -0
  902. package/my_template/node_modules/resolve/test/resolver.js +597 -0
  903. package/my_template/node_modules/resolve/test/resolver_sync.js +730 -0
  904. package/my_template/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
  905. package/my_template/node_modules/resolve/test/shadowed_core.js +54 -0
  906. package/my_template/node_modules/resolve/test/subdirs.js +13 -0
  907. package/my_template/node_modules/resolve/test/symlinks.js +176 -0
  908. package/my_template/node_modules/rollup/CHANGELOG.md +3084 -0
  909. package/my_template/node_modules/rollup/LICENSE.md +578 -0
  910. package/my_template/node_modules/rollup/README.md +138 -0
  911. package/my_template/node_modules/rollup/dist/bin/rollup +1457 -0
  912. package/my_template/node_modules/rollup/dist/rollup.browser.es.js +25 -0
  913. package/my_template/node_modules/rollup/dist/rollup.browser.js +26 -0
  914. package/my_template/node_modules/rollup/dist/rollup.d.ts +656 -0
  915. package/my_template/node_modules/rollup/dist/rollup.es.js +17493 -0
  916. package/my_template/node_modules/rollup/dist/rollup.js +29 -0
  917. package/my_template/node_modules/rollup/dist/shared/index.js +321 -0
  918. package/my_template/node_modules/rollup/dist/shared/node-entry.js +17504 -0
  919. package/my_template/node_modules/rollup/package.json +139 -0
  920. package/my_template/node_modules/rollup-plugin-node-resolve/CHANGELOG.md +195 -0
  921. package/my_template/node_modules/rollup-plugin-node-resolve/README.md +135 -0
  922. package/my_template/node_modules/rollup-plugin-node-resolve/dist/rollup-plugin-node-resolve.cjs.js +425 -0
  923. package/my_template/node_modules/rollup-plugin-node-resolve/dist/rollup-plugin-node-resolve.es.js +421 -0
  924. package/my_template/node_modules/rollup-plugin-node-resolve/index.d.ts +100 -0
  925. package/my_template/node_modules/rollup-plugin-node-resolve/package.json +60 -0
  926. package/my_template/node_modules/rollup-plugin-node-resolve/src/index.js +358 -0
  927. package/my_template/node_modules/rollup-plugin-uglify/LICENSE +20 -0
  928. package/my_template/node_modules/rollup-plugin-uglify/README.md +84 -0
  929. package/my_template/node_modules/rollup-plugin-uglify/index.js +51 -0
  930. package/my_template/node_modules/rollup-plugin-uglify/package.json +43 -0
  931. package/my_template/node_modules/rollup-plugin-uglify/transform.js +13 -0
  932. package/my_template/node_modules/rollup-pluginutils/CHANGELOG.md +125 -0
  933. package/my_template/node_modules/rollup-pluginutils/README.md +169 -0
  934. package/my_template/node_modules/rollup-pluginutils/dist/pluginutils.cjs.js +3292 -0
  935. package/my_template/node_modules/rollup-pluginutils/dist/pluginutils.d.ts +39 -0
  936. package/my_template/node_modules/rollup-pluginutils/dist/pluginutils.es.js +3280 -0
  937. package/my_template/node_modules/rollup-pluginutils/package.json +57 -0
  938. package/my_template/node_modules/rollup-pluginutils/src/addExtension.ts +9 -0
  939. package/my_template/node_modules/rollup-pluginutils/src/attachScopes.ts +125 -0
  940. package/my_template/node_modules/rollup-pluginutils/src/createFilter.ts +52 -0
  941. package/my_template/node_modules/rollup-pluginutils/src/dataToEsm.ts +92 -0
  942. package/my_template/node_modules/rollup-pluginutils/src/extractAssignedNames.ts +46 -0
  943. package/my_template/node_modules/rollup-pluginutils/src/index.ts +6 -0
  944. package/my_template/node_modules/rollup-pluginutils/src/makeLegalIdentifier.ts +21 -0
  945. package/my_template/node_modules/rollup-pluginutils/src/pluginutils.d.ts +39 -0
  946. package/my_template/node_modules/rollup-pluginutils/src/utils/ensureArray.ts +5 -0
  947. package/my_template/node_modules/semver/LICENSE +15 -0
  948. package/my_template/node_modules/semver/README.md +412 -0
  949. package/my_template/node_modules/semver/bin/semver +160 -0
  950. package/my_template/node_modules/semver/package.json +38 -0
  951. package/my_template/node_modules/semver/range.bnf +16 -0
  952. package/my_template/node_modules/semver/semver.js +1525 -0
  953. package/my_template/node_modules/serialize-javascript/LICENSE +27 -0
  954. package/my_template/node_modules/serialize-javascript/README.md +143 -0
  955. package/my_template/node_modules/serialize-javascript/index.js +210 -0
  956. package/my_template/node_modules/serialize-javascript/package.json +33 -0
  957. package/my_template/node_modules/source-map/CHANGELOG.md +301 -0
  958. package/my_template/node_modules/source-map/LICENSE +28 -0
  959. package/my_template/node_modules/source-map/README.md +742 -0
  960. package/my_template/node_modules/source-map/dist/source-map.debug.js +3234 -0
  961. package/my_template/node_modules/source-map/dist/source-map.js +3233 -0
  962. package/my_template/node_modules/source-map/dist/source-map.min.js +2 -0
  963. package/my_template/node_modules/source-map/dist/source-map.min.js.map +1 -0
  964. package/my_template/node_modules/source-map/lib/array-set.js +121 -0
  965. package/my_template/node_modules/source-map/lib/base64-vlq.js +140 -0
  966. package/my_template/node_modules/source-map/lib/base64.js +67 -0
  967. package/my_template/node_modules/source-map/lib/binary-search.js +111 -0
  968. package/my_template/node_modules/source-map/lib/mapping-list.js +79 -0
  969. package/my_template/node_modules/source-map/lib/quick-sort.js +114 -0
  970. package/my_template/node_modules/source-map/lib/source-map-consumer.js +1145 -0
  971. package/my_template/node_modules/source-map/lib/source-map-generator.js +425 -0
  972. package/my_template/node_modules/source-map/lib/source-node.js +413 -0
  973. package/my_template/node_modules/source-map/lib/util.js +488 -0
  974. package/my_template/node_modules/source-map/package.json +73 -0
  975. package/my_template/node_modules/source-map/source-map.d.ts +98 -0
  976. package/my_template/node_modules/source-map/source-map.js +8 -0
  977. package/my_template/node_modules/supports-color/browser.js +5 -0
  978. package/my_template/node_modules/supports-color/index.js +131 -0
  979. package/my_template/node_modules/supports-color/license +9 -0
  980. package/my_template/node_modules/supports-color/package.json +53 -0
  981. package/my_template/node_modules/supports-color/readme.md +66 -0
  982. package/my_template/node_modules/supports-preserve-symlinks-flag/.eslintrc +14 -0
  983. package/my_template/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +12 -0
  984. package/my_template/node_modules/supports-preserve-symlinks-flag/.nycrc +9 -0
  985. package/my_template/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +22 -0
  986. package/my_template/node_modules/supports-preserve-symlinks-flag/LICENSE +21 -0
  987. package/my_template/node_modules/supports-preserve-symlinks-flag/README.md +42 -0
  988. package/my_template/node_modules/supports-preserve-symlinks-flag/browser.js +3 -0
  989. package/my_template/node_modules/supports-preserve-symlinks-flag/index.js +9 -0
  990. package/my_template/node_modules/supports-preserve-symlinks-flag/package.json +70 -0
  991. package/my_template/node_modules/supports-preserve-symlinks-flag/test/index.js +29 -0
  992. package/my_template/node_modules/tslib/CopyrightNotice.txt +15 -0
  993. package/my_template/node_modules/tslib/LICENSE.txt +12 -0
  994. package/my_template/node_modules/tslib/README.md +142 -0
  995. package/my_template/node_modules/tslib/modules/index.js +51 -0
  996. package/my_template/node_modules/tslib/modules/package.json +3 -0
  997. package/my_template/node_modules/tslib/package.json +37 -0
  998. package/my_template/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +23 -0
  999. package/my_template/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +6 -0
  1000. package/my_template/node_modules/tslib/tslib.d.ts +37 -0
  1001. package/my_template/node_modules/tslib/tslib.es6.html +1 -0
  1002. package/my_template/node_modules/tslib/tslib.es6.js +218 -0
  1003. package/my_template/node_modules/tslib/tslib.html +1 -0
  1004. package/my_template/node_modules/tslib/tslib.js +284 -0
  1005. package/my_template/node_modules/uglify-js/LICENSE +29 -0
  1006. package/my_template/node_modules/uglify-js/README.md +1478 -0
  1007. package/my_template/node_modules/uglify-js/bin/uglifyjs +605 -0
  1008. package/my_template/node_modules/uglify-js/lib/ast.js +2356 -0
  1009. package/my_template/node_modules/uglify-js/lib/compress.js +14241 -0
  1010. package/my_template/node_modules/uglify-js/lib/minify.js +276 -0
  1011. package/my_template/node_modules/uglify-js/lib/mozilla-ast.js +1310 -0
  1012. package/my_template/node_modules/uglify-js/lib/output.js +1956 -0
  1013. package/my_template/node_modules/uglify-js/lib/parse.js +2585 -0
  1014. package/my_template/node_modules/uglify-js/lib/propmangle.js +328 -0
  1015. package/my_template/node_modules/uglify-js/lib/scope.js +866 -0
  1016. package/my_template/node_modules/uglify-js/lib/sourcemap.js +195 -0
  1017. package/my_template/node_modules/uglify-js/lib/transform.js +250 -0
  1018. package/my_template/node_modules/uglify-js/lib/utils.js +287 -0
  1019. package/my_template/node_modules/uglify-js/package.json +56 -0
  1020. package/my_template/node_modules/uglify-js/tools/domprops.html +456 -0
  1021. package/my_template/node_modules/uglify-js/tools/domprops.json +8325 -0
  1022. package/my_template/node_modules/uglify-js/tools/exports.js +8 -0
  1023. package/my_template/node_modules/uglify-js/tools/node.js +110 -0
  1024. package/my_template/node_modules/uglify-js/tools/tty.js +22 -0
  1025. package/my_template/node_modules/undici-types/README.md +6 -0
  1026. package/my_template/node_modules/undici-types/agent.d.ts +31 -0
  1027. package/my_template/node_modules/undici-types/api.d.ts +43 -0
  1028. package/my_template/node_modules/undici-types/balanced-pool.d.ts +18 -0
  1029. package/my_template/node_modules/undici-types/cache.d.ts +36 -0
  1030. package/my_template/node_modules/undici-types/client.d.ts +97 -0
  1031. package/my_template/node_modules/undici-types/connector.d.ts +34 -0
  1032. package/my_template/node_modules/undici-types/content-type.d.ts +21 -0
  1033. package/my_template/node_modules/undici-types/cookies.d.ts +28 -0
  1034. package/my_template/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
  1035. package/my_template/node_modules/undici-types/dispatcher.d.ts +241 -0
  1036. package/my_template/node_modules/undici-types/errors.d.ts +128 -0
  1037. package/my_template/node_modules/undici-types/fetch.d.ts +209 -0
  1038. package/my_template/node_modules/undici-types/file.d.ts +39 -0
  1039. package/my_template/node_modules/undici-types/filereader.d.ts +54 -0
  1040. package/my_template/node_modules/undici-types/formdata.d.ts +108 -0
  1041. package/my_template/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  1042. package/my_template/node_modules/undici-types/global-origin.d.ts +7 -0
  1043. package/my_template/node_modules/undici-types/handlers.d.ts +9 -0
  1044. package/my_template/node_modules/undici-types/header.d.ts +4 -0
  1045. package/my_template/node_modules/undici-types/index.d.ts +63 -0
  1046. package/my_template/node_modules/undici-types/interceptors.d.ts +5 -0
  1047. package/my_template/node_modules/undici-types/mock-agent.d.ts +50 -0
  1048. package/my_template/node_modules/undici-types/mock-client.d.ts +25 -0
  1049. package/my_template/node_modules/undici-types/mock-errors.d.ts +12 -0
  1050. package/my_template/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  1051. package/my_template/node_modules/undici-types/mock-pool.d.ts +25 -0
  1052. package/my_template/node_modules/undici-types/package.json +55 -0
  1053. package/my_template/node_modules/undici-types/patch.d.ts +71 -0
  1054. package/my_template/node_modules/undici-types/pool-stats.d.ts +19 -0
  1055. package/my_template/node_modules/undici-types/pool.d.ts +28 -0
  1056. package/my_template/node_modules/undici-types/proxy-agent.d.ts +30 -0
  1057. package/my_template/node_modules/undici-types/readable.d.ts +61 -0
  1058. package/my_template/node_modules/undici-types/webidl.d.ts +220 -0
  1059. package/my_template/node_modules/undici-types/websocket.d.ts +131 -0
  1060. package/package.json +1 -1
  1061. package/server/comms_js.js +1 -0
  1062. package/server/index.js +3 -3
  1063. package/site/images/icon-add-folder.svg +5 -0
  1064. package/site/images/icon-all-projects.svg +3 -0
  1065. package/site/images/icon-folder.svg +3 -0
  1066. package/site/images/icon-search.svg +5 -0
  1067. package/site/images/icon-shared-projects.svg +10 -0
  1068. package/site/images/onboarding-tour-story-duplicate-slide.png +0 -0
  1069. package/site/images/onboarding-tour-white-story.gif +0 -0
  1070. package/site/images/story-onboarding-tour-legend.gif +0 -0
  1071. package/site/script.js +2 -2
  1072. package/site/sdk.css +2 -2
  1073. package/tsconfig.json +10 -0
  1074. package/utils/state.js +0 -152
@@ -0,0 +1,157 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.codeFrameColumns = codeFrameColumns;
7
+ exports.default = _default;
8
+ var _highlight = require("@babel/highlight");
9
+ var _chalk = _interopRequireWildcard(require("chalk"), true);
10
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
11
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
12
+ let chalkWithForcedColor = undefined;
13
+ function getChalk(forceColor) {
14
+ if (forceColor) {
15
+ var _chalkWithForcedColor;
16
+ (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({
17
+ enabled: true,
18
+ level: 1
19
+ });
20
+ return chalkWithForcedColor;
21
+ }
22
+ return _chalk.default;
23
+ }
24
+ let deprecationWarningShown = false;
25
+ function getDefs(chalk) {
26
+ return {
27
+ gutter: chalk.grey,
28
+ marker: chalk.red.bold,
29
+ message: chalk.red.bold
30
+ };
31
+ }
32
+ const NEWLINE = /\r\n|[\n\r\u2028\u2029]/;
33
+ function getMarkerLines(loc, source, opts) {
34
+ const startLoc = Object.assign({
35
+ column: 0,
36
+ line: -1
37
+ }, loc.start);
38
+ const endLoc = Object.assign({}, startLoc, loc.end);
39
+ const {
40
+ linesAbove = 2,
41
+ linesBelow = 3
42
+ } = opts || {};
43
+ const startLine = startLoc.line;
44
+ const startColumn = startLoc.column;
45
+ const endLine = endLoc.line;
46
+ const endColumn = endLoc.column;
47
+ let start = Math.max(startLine - (linesAbove + 1), 0);
48
+ let end = Math.min(source.length, endLine + linesBelow);
49
+ if (startLine === -1) {
50
+ start = 0;
51
+ }
52
+ if (endLine === -1) {
53
+ end = source.length;
54
+ }
55
+ const lineDiff = endLine - startLine;
56
+ const markerLines = {};
57
+ if (lineDiff) {
58
+ for (let i = 0; i <= lineDiff; i++) {
59
+ const lineNumber = i + startLine;
60
+ if (!startColumn) {
61
+ markerLines[lineNumber] = true;
62
+ } else if (i === 0) {
63
+ const sourceLength = source[lineNumber - 1].length;
64
+ markerLines[lineNumber] = [startColumn, sourceLength - startColumn + 1];
65
+ } else if (i === lineDiff) {
66
+ markerLines[lineNumber] = [0, endColumn];
67
+ } else {
68
+ const sourceLength = source[lineNumber - i].length;
69
+ markerLines[lineNumber] = [0, sourceLength];
70
+ }
71
+ }
72
+ } else {
73
+ if (startColumn === endColumn) {
74
+ if (startColumn) {
75
+ markerLines[startLine] = [startColumn, 0];
76
+ } else {
77
+ markerLines[startLine] = true;
78
+ }
79
+ } else {
80
+ markerLines[startLine] = [startColumn, endColumn - startColumn];
81
+ }
82
+ }
83
+ return {
84
+ start,
85
+ end,
86
+ markerLines
87
+ };
88
+ }
89
+ function codeFrameColumns(rawLines, loc, opts = {}) {
90
+ const highlighted = (opts.highlightCode || opts.forceColor) && (0, _highlight.shouldHighlight)(opts);
91
+ const chalk = getChalk(opts.forceColor);
92
+ const defs = getDefs(chalk);
93
+ const maybeHighlight = (chalkFn, string) => {
94
+ return highlighted ? chalkFn(string) : string;
95
+ };
96
+ const lines = rawLines.split(NEWLINE);
97
+ const {
98
+ start,
99
+ end,
100
+ markerLines
101
+ } = getMarkerLines(loc, lines, opts);
102
+ const hasColumns = loc.start && typeof loc.start.column === "number";
103
+ const numberMaxWidth = String(end).length;
104
+ const highlightedLines = highlighted ? (0, _highlight.default)(rawLines, opts) : rawLines;
105
+ let frame = highlightedLines.split(NEWLINE, end).slice(start, end).map((line, index) => {
106
+ const number = start + 1 + index;
107
+ const paddedNumber = ` ${number}`.slice(-numberMaxWidth);
108
+ const gutter = ` ${paddedNumber} |`;
109
+ const hasMarker = markerLines[number];
110
+ const lastMarkerLine = !markerLines[number + 1];
111
+ if (hasMarker) {
112
+ let markerLine = "";
113
+ if (Array.isArray(hasMarker)) {
114
+ const markerSpacing = line.slice(0, Math.max(hasMarker[0] - 1, 0)).replace(/[^\t]/g, " ");
115
+ const numberOfMarkers = hasMarker[1] || 1;
116
+ markerLine = ["\n ", maybeHighlight(defs.gutter, gutter.replace(/\d/g, " ")), " ", markerSpacing, maybeHighlight(defs.marker, "^").repeat(numberOfMarkers)].join("");
117
+ if (lastMarkerLine && opts.message) {
118
+ markerLine += " " + maybeHighlight(defs.message, opts.message);
119
+ }
120
+ }
121
+ return [maybeHighlight(defs.marker, ">"), maybeHighlight(defs.gutter, gutter), line.length > 0 ? ` ${line}` : "", markerLine].join("");
122
+ } else {
123
+ return ` ${maybeHighlight(defs.gutter, gutter)}${line.length > 0 ? ` ${line}` : ""}`;
124
+ }
125
+ }).join("\n");
126
+ if (opts.message && !hasColumns) {
127
+ frame = `${" ".repeat(numberMaxWidth + 1)}${opts.message}\n${frame}`;
128
+ }
129
+ if (highlighted) {
130
+ return chalk.reset(frame);
131
+ } else {
132
+ return frame;
133
+ }
134
+ }
135
+ function _default(rawLines, lineNumber, colNumber, opts = {}) {
136
+ if (!deprecationWarningShown) {
137
+ deprecationWarningShown = true;
138
+ const message = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";
139
+ if (process.emitWarning) {
140
+ process.emitWarning(message, "DeprecationWarning");
141
+ } else {
142
+ const deprecationError = new Error(message);
143
+ deprecationError.name = "DeprecationWarning";
144
+ console.warn(new Error(message));
145
+ }
146
+ }
147
+ colNumber = Math.max(colNumber, 0);
148
+ const location = {
149
+ start: {
150
+ column: colNumber,
151
+ line: lineNumber
152
+ }
153
+ };
154
+ return codeFrameColumns(rawLines, location, opts);
155
+ }
156
+
157
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_highlight","require","_chalk","_interopRequireWildcard","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","chalkWithForcedColor","undefined","getChalk","forceColor","_chalkWithForcedColor","chalk","constructor","enabled","level","deprecationWarningShown","getDefs","gutter","grey","marker","red","bold","message","NEWLINE","getMarkerLines","loc","source","opts","startLoc","assign","column","line","start","endLoc","end","linesAbove","linesBelow","startLine","startColumn","endLine","endColumn","Math","max","min","length","lineDiff","markerLines","lineNumber","sourceLength","codeFrameColumns","rawLines","highlighted","highlightCode","shouldHighlight","defs","maybeHighlight","chalkFn","string","lines","split","hasColumns","numberMaxWidth","String","highlightedLines","highlight","frame","slice","map","index","number","paddedNumber","hasMarker","lastMarkerLine","markerLine","Array","isArray","markerSpacing","replace","numberOfMarkers","repeat","join","reset","_default","colNumber","process","emitWarning","deprecationError","Error","name","console","warn","location"],"sources":["../src/index.ts"],"sourcesContent":["import highlight, { shouldHighlight } from \"@babel/highlight\";\n\nimport chalk, { Chalk as ChalkClass, type ChalkInstance as Chalk } from \"chalk\";\n\nlet chalkWithForcedColor: Chalk = undefined;\nfunction getChalk(forceColor: boolean) {\n if (forceColor) {\n chalkWithForcedColor ??= process.env.BABEL_8_BREAKING\n ? new ChalkClass({ level: 1 })\n : // @ts-expect-error .Instance was .constructor in chalk 2\n new chalk.constructor({ enabled: true, level: 1 });\n return chalkWithForcedColor;\n }\n return chalk;\n}\n\nlet deprecationWarningShown = false;\n\ntype Location = {\n column: number;\n line: number;\n};\n\ntype NodeLocation = {\n end?: Location;\n start: Location;\n};\n\nexport interface Options {\n /** Syntax highlight the code as JavaScript for terminals. default: false */\n highlightCode?: boolean;\n /** The number of lines to show above the error. default: 2 */\n linesAbove?: number;\n /** The number of lines to show below the error. default: 3 */\n linesBelow?: number;\n /**\n * Forcibly syntax highlight the code as JavaScript (for non-terminals);\n * overrides highlightCode.\n * default: false\n */\n forceColor?: boolean;\n /**\n * Pass in a string to be displayed inline (if possible) next to the\n * highlighted location in the code. If it can't be positioned inline,\n * it will be placed above the code frame.\n * default: nothing\n */\n message?: string;\n}\n\n/**\n * Chalk styles for code frame token types.\n */\nfunction getDefs(chalk: Chalk) {\n return {\n gutter: chalk.grey,\n marker: chalk.red.bold,\n message: chalk.red.bold,\n };\n}\n\n/**\n * RegExp to test for newlines in terminal.\n */\n\nconst NEWLINE = /\\r\\n|[\\n\\r\\u2028\\u2029]/;\n\n/**\n * Extract what lines should be marked and highlighted.\n */\n\ntype MarkerLines = Record<number, true | [number, number]>;\n\nfunction getMarkerLines(\n loc: NodeLocation,\n source: Array<string>,\n opts: Options,\n): {\n start: number;\n end: number;\n markerLines: MarkerLines;\n} {\n const startLoc: Location = {\n column: 0,\n line: -1,\n ...loc.start,\n };\n const endLoc: Location = {\n ...startLoc,\n ...loc.end,\n };\n const { linesAbove = 2, linesBelow = 3 } = opts || {};\n const startLine = startLoc.line;\n const startColumn = startLoc.column;\n const endLine = endLoc.line;\n const endColumn = endLoc.column;\n\n let start = Math.max(startLine - (linesAbove + 1), 0);\n let end = Math.min(source.length, endLine + linesBelow);\n\n if (startLine === -1) {\n start = 0;\n }\n\n if (endLine === -1) {\n end = source.length;\n }\n\n const lineDiff = endLine - startLine;\n const markerLines: MarkerLines = {};\n\n if (lineDiff) {\n for (let i = 0; i <= lineDiff; i++) {\n const lineNumber = i + startLine;\n\n if (!startColumn) {\n markerLines[lineNumber] = true;\n } else if (i === 0) {\n const sourceLength = source[lineNumber - 1].length;\n\n markerLines[lineNumber] = [startColumn, sourceLength - startColumn + 1];\n } else if (i === lineDiff) {\n markerLines[lineNumber] = [0, endColumn];\n } else {\n const sourceLength = source[lineNumber - i].length;\n\n markerLines[lineNumber] = [0, sourceLength];\n }\n }\n } else {\n if (startColumn === endColumn) {\n if (startColumn) {\n markerLines[startLine] = [startColumn, 0];\n } else {\n markerLines[startLine] = true;\n }\n } else {\n markerLines[startLine] = [startColumn, endColumn - startColumn];\n }\n }\n\n return { start, end, markerLines };\n}\n\nexport function codeFrameColumns(\n rawLines: string,\n loc: NodeLocation,\n opts: Options = {},\n): string {\n const highlighted =\n (opts.highlightCode || opts.forceColor) && shouldHighlight(opts);\n const chalk = getChalk(opts.forceColor);\n const defs = getDefs(chalk);\n const maybeHighlight = (chalkFn: Chalk, string: string) => {\n return highlighted ? chalkFn(string) : string;\n };\n const lines = rawLines.split(NEWLINE);\n const { start, end, markerLines } = getMarkerLines(loc, lines, opts);\n const hasColumns = loc.start && typeof loc.start.column === \"number\";\n\n const numberMaxWidth = String(end).length;\n\n const highlightedLines = highlighted ? highlight(rawLines, opts) : rawLines;\n\n let frame = highlightedLines\n .split(NEWLINE, end)\n .slice(start, end)\n .map((line, index) => {\n const number = start + 1 + index;\n const paddedNumber = ` ${number}`.slice(-numberMaxWidth);\n const gutter = ` ${paddedNumber} |`;\n const hasMarker = markerLines[number];\n const lastMarkerLine = !markerLines[number + 1];\n if (hasMarker) {\n let markerLine = \"\";\n if (Array.isArray(hasMarker)) {\n const markerSpacing = line\n .slice(0, Math.max(hasMarker[0] - 1, 0))\n .replace(/[^\\t]/g, \" \");\n const numberOfMarkers = hasMarker[1] || 1;\n\n markerLine = [\n \"\\n \",\n maybeHighlight(defs.gutter, gutter.replace(/\\d/g, \" \")),\n \" \",\n markerSpacing,\n maybeHighlight(defs.marker, \"^\").repeat(numberOfMarkers),\n ].join(\"\");\n\n if (lastMarkerLine && opts.message) {\n markerLine += \" \" + maybeHighlight(defs.message, opts.message);\n }\n }\n return [\n maybeHighlight(defs.marker, \">\"),\n maybeHighlight(defs.gutter, gutter),\n line.length > 0 ? ` ${line}` : \"\",\n markerLine,\n ].join(\"\");\n } else {\n return ` ${maybeHighlight(defs.gutter, gutter)}${\n line.length > 0 ? ` ${line}` : \"\"\n }`;\n }\n })\n .join(\"\\n\");\n\n if (opts.message && !hasColumns) {\n frame = `${\" \".repeat(numberMaxWidth + 1)}${opts.message}\\n${frame}`;\n }\n\n if (highlighted) {\n return chalk.reset(frame);\n } else {\n return frame;\n }\n}\n\n/**\n * Create a code frame, adding line numbers, code highlighting, and pointing to a given position.\n */\n\nexport default function (\n rawLines: string,\n lineNumber: number,\n colNumber?: number | null,\n opts: Options = {},\n): string {\n if (!deprecationWarningShown) {\n deprecationWarningShown = true;\n\n const message =\n \"Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.\";\n\n if (process.emitWarning) {\n // A string is directly supplied to emitWarning, because when supplying an\n // Error object node throws in the tests because of different contexts\n process.emitWarning(message, \"DeprecationWarning\");\n } else {\n const deprecationError = new Error(message);\n deprecationError.name = \"DeprecationWarning\";\n console.warn(new Error(message));\n }\n }\n\n colNumber = Math.max(colNumber, 0);\n\n const location: NodeLocation = {\n start: { column: colNumber, line: lineNumber },\n };\n\n return codeFrameColumns(rawLines, location, opts);\n}\n"],"mappings":";;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAC,uBAAA,CAAAF,OAAA;AAAgF,SAAAG,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAF,wBAAAE,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAjB,CAAA,EAAAc,CAAA,SAAAI,CAAA,GAAAR,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAI,CAAA,KAAAA,CAAA,CAAAX,GAAA,IAAAW,CAAA,CAAAC,GAAA,IAAAR,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CA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uB,GAAG,IAAI;IAE9B,MAAMO,OAAO,GACX,qGAAqG;IAEvG,IAAI8D,OAAO,CAACC,WAAW,EAAE;MAGvBD,OAAO,CAACC,WAAW,CAAC/D,OAAO,EAAE,oBAAoB,CAAC;IACpD,CAAC,MAAM;MACL,MAAMgE,gBAAgB,GAAG,IAAIC,KAAK,CAACjE,OAAO,CAAC;MAC3CgE,gBAAgB,CAACE,IAAI,GAAG,oBAAoB;MAC5CC,OAAO,CAACC,IAAI,CAAC,IAAIH,KAAK,CAACjE,OAAO,CAAC,CAAC;IAClC;EACF;EAEA6D,SAAS,GAAG1C,IAAI,CAACC,GAAG,CAACyC,SAAS,EAAE,CAAC,CAAC;EAElC,MAAMQ,QAAsB,GAAG;IAC7B3D,KAAK,EAAE;MAAEF,MAAM,EAAEqD,SAAS;MAAEpD,IAAI,EAAEgB;IAAW;EAC/C,CAAC;EAED,OAAOE,gBAAgB,CAACC,QAAQ,EAAEyC,QAAQ,EAAEhE,IAAI,CAAC;AACnD"}
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "@babel/code-frame",
3
+ "version": "7.23.5",
4
+ "description": "Generate errors that contain a code frame that point to source locations.",
5
+ "author": "The Babel Team (https://babel.dev/team)",
6
+ "homepage": "https://babel.dev/docs/en/next/babel-code-frame",
7
+ "bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen",
8
+ "license": "MIT",
9
+ "publishConfig": {
10
+ "access": "public"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/babel/babel.git",
15
+ "directory": "packages/babel-code-frame"
16
+ },
17
+ "main": "./lib/index.js",
18
+ "dependencies": {
19
+ "@babel/highlight": "^7.23.4",
20
+ "chalk": "^2.4.2"
21
+ },
22
+ "devDependencies": {
23
+ "import-meta-resolve": "^4.0.0",
24
+ "strip-ansi": "^4.0.0"
25
+ },
26
+ "engines": {
27
+ "node": ">=6.9.0"
28
+ },
29
+ "type": "commonjs"
30
+ }
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2014-present Sebastian McKenzie and other contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,19 @@
1
+ # @babel/helper-validator-identifier
2
+
3
+ > Validate identifier/keywords name
4
+
5
+ See our website [@babel/helper-validator-identifier](https://babeljs.io/docs/babel-helper-validator-identifier) for more information.
6
+
7
+ ## Install
8
+
9
+ Using npm:
10
+
11
+ ```sh
12
+ npm install --save @babel/helper-validator-identifier
13
+ ```
14
+
15
+ or using yarn:
16
+
17
+ ```sh
18
+ yarn add @babel/helper-validator-identifier
19
+ ```
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.isIdentifierChar = isIdentifierChar;
7
+ exports.isIdentifierName = isIdentifierName;
8
+ exports.isIdentifierStart = isIdentifierStart;
9
+ let nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u0870-\u0887\u0889-\u088e\u08a0-\u08c9\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ca\ua7d0\ua7d1\ua7d3\ua7d5-\ua7d9\ua7f2-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc";
10
+ let nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0898-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0cf3\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ece\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u200c\u200d\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\u30fb\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f\uff65";
11
+ const nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
12
+ const nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
13
+ nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
14
+ const astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191];
15
+ const astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 81, 2, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 9, 5351, 0, 7, 14, 13835, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 983, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
16
+ function isInAstralSet(code, set) {
17
+ let pos = 0x10000;
18
+ for (let i = 0, length = set.length; i < length; i += 2) {
19
+ pos += set[i];
20
+ if (pos > code) return false;
21
+ pos += set[i + 1];
22
+ if (pos >= code) return true;
23
+ }
24
+ return false;
25
+ }
26
+ function isIdentifierStart(code) {
27
+ if (code < 65) return code === 36;
28
+ if (code <= 90) return true;
29
+ if (code < 97) return code === 95;
30
+ if (code <= 122) return true;
31
+ if (code <= 0xffff) {
32
+ return code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code));
33
+ }
34
+ return isInAstralSet(code, astralIdentifierStartCodes);
35
+ }
36
+ function isIdentifierChar(code) {
37
+ if (code < 48) return code === 36;
38
+ if (code < 58) return true;
39
+ if (code < 65) return false;
40
+ if (code <= 90) return true;
41
+ if (code < 97) return code === 95;
42
+ if (code <= 122) return true;
43
+ if (code <= 0xffff) {
44
+ return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code));
45
+ }
46
+ return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes);
47
+ }
48
+ function isIdentifierName(name) {
49
+ let isFirst = true;
50
+ for (let i = 0; i < name.length; i++) {
51
+ let cp = name.charCodeAt(i);
52
+ if ((cp & 0xfc00) === 0xd800 && i + 1 < name.length) {
53
+ const trail = name.charCodeAt(++i);
54
+ if ((trail & 0xfc00) === 0xdc00) {
55
+ cp = 0x10000 + ((cp & 0x3ff) << 10) + (trail & 0x3ff);
56
+ }
57
+ }
58
+ if (isFirst) {
59
+ isFirst = false;
60
+ if (!isIdentifierStart(cp)) {
61
+ return false;
62
+ }
63
+ } else if (!isIdentifierChar(cp)) {
64
+ return false;
65
+ }
66
+ }
67
+ return !isFirst;
68
+ }
69
+
70
+ //# sourceMappingURL=identifier.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["nonASCIIidentifierStartChars","nonASCIIidentifierChars","nonASCIIidentifierStart","RegExp","nonASCIIidentifier","astralIdentifierStartCodes","astralIdentifierCodes","isInAstralSet","code","set","pos","i","length","isIdentifierStart","test","String","fromCharCode","isIdentifierChar","isIdentifierName","name","isFirst","cp","charCodeAt","trail"],"sources":["../src/identifier.ts"],"sourcesContent":["import * as charCodes from \"charcodes\";\n\n// ## Character categories\n\n// Big ugly regular expressions that match characters in the\n// whitespace, identifier, and identifier-start categories. These\n// are only applied when a character is found to actually have a\n// code point between 0x80 and 0xffff.\n// Generated by `scripts/generate-identifier-regex.js`.\n\n/* prettier-ignore */\nlet nonASCIIidentifierStartChars = \"\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u037f\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u052f\\u0531-\\u0556\\u0559\\u0560-\\u0588\\u05d0-\\u05ea\\u05ef-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u0860-\\u086a\\u0870-\\u0887\\u0889-\\u088e\\u08a0-\\u08c9\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u09fc\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0af9\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c39\\u0c3d\\u0c58-\\u0c5a\\u0c5d\\u0c60\\u0c61\\u0c80\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cdd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d04-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d54-\\u0d56\\u0d5f-\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e86-\\u0e8a\\u0e8c-\\u0ea3\\u0ea5\\u0ea7-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f5\\u13f8-\\u13fd\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f8\\u1700-\\u1711\\u171f-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1878\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191e\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19b0-\\u19c9\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4c\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1c80-\\u1c88\\u1c90-\\u1cba\\u1cbd-\\u1cbf\\u1ce9-\\u1cec\\u1cee-\\u1cf3\\u1cf5\\u1cf6\\u1cfa\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2118-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309b-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u31a0-\\u31bf\\u31f0-\\u31ff\\u3400-\\u4dbf\\u4e00-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua69d\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua7ca\\ua7d0\\ua7d1\\ua7d3\\ua7d5-\\ua7d9\\ua7f2-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua8fd\\ua8fe\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\ua9e0-\\ua9e4\\ua9e6-\\ua9ef\\ua9fa-\\ua9fe\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa7e-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uab30-\\uab5a\\uab5c-\\uab69\\uab70-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc\";\n/* prettier-ignore */\nlet nonASCIIidentifierChars = \"\\u200c\\u200d\\xb7\\u0300-\\u036f\\u0387\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u064b-\\u0669\\u0670\\u06d6-\\u06dc\\u06df-\\u06e4\\u06e7\\u06e8\\u06ea-\\u06ed\\u06f0-\\u06f9\\u0711\\u0730-\\u074a\\u07a6-\\u07b0\\u07c0-\\u07c9\\u07eb-\\u07f3\\u07fd\\u0816-\\u0819\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0859-\\u085b\\u0898-\\u089f\\u08ca-\\u08e1\\u08e3-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09cb-\\u09cd\\u09d7\\u09e2\\u09e3\\u09e6-\\u09ef\\u09fe\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2\\u0ae3\\u0ae6-\\u0aef\\u0afa-\\u0aff\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b55-\\u0b57\\u0b62\\u0b63\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c00-\\u0c04\\u0c3c\\u0c3e-\\u0c44\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62\\u0c63\\u0c66-\\u0c6f\\u0c81-\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2\\u0ce3\\u0ce6-\\u0cef\\u0cf3\\u0d00-\\u0d03\\u0d3b\\u0d3c\\u0d3e-\\u0d44\\u0d46-\\u0d48\\u0d4a-\\u0d4d\\u0d57\\u0d62\\u0d63\\u0d66-\\u0d6f\\u0d81-\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0de6-\\u0def\\u0df2\\u0df3\\u0e31\\u0e34-\\u0e3a\\u0e47-\\u0e4e\\u0e50-\\u0e59\\u0eb1\\u0eb4-\\u0ebc\\u0ec8-\\u0ece\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f3e\\u0f3f\\u0f71-\\u0f84\\u0f86\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u102b-\\u103e\\u1040-\\u1049\\u1056-\\u1059\\u105e-\\u1060\\u1062-\\u1064\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u1369-\\u1371\\u1712-\\u1715\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17b4-\\u17d3\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u180f-\\u1819\\u18a9\\u1920-\\u192b\\u1930-\\u193b\\u1946-\\u194f\\u19d0-\\u19da\\u1a17-\\u1a1b\\u1a55-\\u1a5e\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1ab0-\\u1abd\\u1abf-\\u1ace\\u1b00-\\u1b04\\u1b34-\\u1b44\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1b80-\\u1b82\\u1ba1-\\u1bad\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c24-\\u1c37\\u1c40-\\u1c49\\u1c50-\\u1c59\\u1cd0-\\u1cd2\\u1cd4-\\u1ce8\\u1ced\\u1cf4\\u1cf7-\\u1cf9\\u1dc0-\\u1dff\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2cef-\\u2cf1\\u2d7f\\u2de0-\\u2dff\\u302a-\\u302f\\u3099\\u309a\\u30fb\\ua620-\\ua629\\ua66f\\ua674-\\ua67d\\ua69e\\ua69f\\ua6f0\\ua6f1\\ua802\\ua806\\ua80b\\ua823-\\ua827\\ua82c\\ua880\\ua881\\ua8b4-\\ua8c5\\ua8d0-\\ua8d9\\ua8e0-\\ua8f1\\ua8ff-\\ua909\\ua926-\\ua92d\\ua947-\\ua953\\ua980-\\ua983\\ua9b3-\\ua9c0\\ua9d0-\\ua9d9\\ua9e5\\ua9f0-\\ua9f9\\uaa29-\\uaa36\\uaa43\\uaa4c\\uaa4d\\uaa50-\\uaa59\\uaa7b-\\uaa7d\\uaab0\\uaab2-\\uaab4\\uaab7\\uaab8\\uaabe\\uaabf\\uaac1\\uaaeb-\\uaaef\\uaaf5\\uaaf6\\uabe3-\\uabea\\uabec\\uabed\\uabf0-\\uabf9\\ufb1e\\ufe00-\\ufe0f\\ufe20-\\ufe2f\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f\\uff65\";\n\nconst nonASCIIidentifierStart = new RegExp(\n \"[\" + nonASCIIidentifierStartChars + \"]\",\n);\nconst nonASCIIidentifier = new RegExp(\n \"[\" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + \"]\",\n);\n\nnonASCIIidentifierStartChars = nonASCIIidentifierChars = null;\n\n// These are a run-length and offset-encoded representation of the\n// >0xffff code points that are a valid part of identifiers. The\n// offset starts at 0x10000, and each pair of numbers represents an\n// offset to the next range, and then a size of the range. They were\n// generated by `scripts/generate-identifier-regex.js`.\n/* prettier-ignore */\nconst astralIdentifierStartCodes = [0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191];\n/* prettier-ignore */\nconst astralIdentifierCodes = [509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];\n\n// This has a complexity linear to the value of the code. The\n// assumption is that looking up astral identifier characters is\n// rare.\nfunction isInAstralSet(code: number, set: readonly number[]): boolean {\n let pos = 0x10000;\n for (let i = 0, length = set.length; i < length; i += 2) {\n pos += set[i];\n if (pos > code) return false;\n\n pos += set[i + 1];\n if (pos >= code) return true;\n }\n return false;\n}\n\n// Test whether a given character code starts an identifier.\n\nexport function isIdentifierStart(code: number): boolean {\n if (code < charCodes.uppercaseA) return code === charCodes.dollarSign;\n if (code <= charCodes.uppercaseZ) return true;\n if (code < charCodes.lowercaseA) return code === charCodes.underscore;\n if (code <= charCodes.lowercaseZ) return true;\n if (code <= 0xffff) {\n return (\n code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code))\n );\n }\n return isInAstralSet(code, astralIdentifierStartCodes);\n}\n\n// Test whether a given character is part of an identifier.\n\nexport function isIdentifierChar(code: number): boolean {\n if (code < charCodes.digit0) return code === charCodes.dollarSign;\n if (code < charCodes.colon) return true;\n if (code < charCodes.uppercaseA) return false;\n if (code <= charCodes.uppercaseZ) return true;\n if (code < charCodes.lowercaseA) return code === charCodes.underscore;\n if (code <= charCodes.lowercaseZ) return true;\n if (code <= 0xffff) {\n return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code));\n }\n return (\n isInAstralSet(code, astralIdentifierStartCodes) ||\n isInAstralSet(code, astralIdentifierCodes)\n );\n}\n\n// Test whether a given string is a valid identifier name\n\nexport function isIdentifierName(name: string): boolean {\n let isFirst = true;\n for (let i = 0; i < name.length; i++) {\n // The implementation is based on\n // https://source.chromium.org/chromium/chromium/src/+/master:v8/src/builtins/builtins-string-gen.cc;l=1455;drc=221e331b49dfefadbc6fa40b0c68e6f97606d0b3;bpv=0;bpt=1\n // We reimplement `codePointAt` because `codePointAt` is a V8 builtin which is not inlined by TurboFan (as of M91)\n // since `name` is mostly ASCII, an inlined `charCodeAt` wins here\n let cp = name.charCodeAt(i);\n if ((cp & 0xfc00) === 0xd800 && i + 1 < name.length) {\n const trail = name.charCodeAt(++i);\n if ((trail & 0xfc00) === 0xdc00) {\n cp = 0x10000 + ((cp & 0x3ff) << 10) + (trail & 0x3ff);\n }\n }\n if (isFirst) {\n isFirst = false;\n if (!isIdentifierStart(cp)) {\n return false;\n }\n } else if (!isIdentifierChar(cp)) {\n return false;\n }\n }\n return !isFirst;\n}\n"],"mappings":";;;;;;;;AAWA,IAAIA,4BAA4B,GAAG,8qIAA8qI;AAEjtI,IAAIC,uBAAuB,GAAG,2lFAA2lF;AAEznF,MAAMC,uBAAuB,GAAG,IAAIC,MAAM,CACxC,GAAG,GAAGH,4BAA4B,GAAG,GACvC,CAAC;AACD,MAAMI,kBAAkB,GAAG,IAAID,MAAM,CACnC,GAAG,GAAGH,4BAA4B,GAAGC,uBAAuB,GAAG,GACjE,CAAC;AAEDD,4BAA4B,GAAGC,uBAAuB,GAAG,IAAI;AAQ7D,MAAMI,0BAA0B,GAAG,CAAC,CAAC,EAAC,EAAE,EAAC,CAAC,EAAC,EAAE,EAAC,CAAC,EAAC,EAAE,EAAC,CAAC,EAAC,CAAC,EA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EAAE;QAC1B,OAAO,KAAK;MACd;IACF,CAAC,MAAM,IAAI,CAACJ,gBAAgB,CAACI,EAAE,CAAC,EAAE;MAChC,OAAO,KAAK;IACd;EACF;EACA,OAAO,CAACD,OAAO;AACjB"}
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "isIdentifierChar", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _identifier.isIdentifierChar;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "isIdentifierName", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _identifier.isIdentifierName;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "isIdentifierStart", {
19
+ enumerable: true,
20
+ get: function () {
21
+ return _identifier.isIdentifierStart;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "isKeyword", {
25
+ enumerable: true,
26
+ get: function () {
27
+ return _keyword.isKeyword;
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "isReservedWord", {
31
+ enumerable: true,
32
+ get: function () {
33
+ return _keyword.isReservedWord;
34
+ }
35
+ });
36
+ Object.defineProperty(exports, "isStrictBindOnlyReservedWord", {
37
+ enumerable: true,
38
+ get: function () {
39
+ return _keyword.isStrictBindOnlyReservedWord;
40
+ }
41
+ });
42
+ Object.defineProperty(exports, "isStrictBindReservedWord", {
43
+ enumerable: true,
44
+ get: function () {
45
+ return _keyword.isStrictBindReservedWord;
46
+ }
47
+ });
48
+ Object.defineProperty(exports, "isStrictReservedWord", {
49
+ enumerable: true,
50
+ get: function () {
51
+ return _keyword.isStrictReservedWord;
52
+ }
53
+ });
54
+ var _identifier = require("./identifier.js");
55
+ var _keyword = require("./keyword.js");
56
+
57
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_identifier","require","_keyword"],"sources":["../src/index.ts"],"sourcesContent":["export {\n isIdentifierName,\n isIdentifierChar,\n isIdentifierStart,\n} from \"./identifier.ts\";\nexport {\n isReservedWord,\n isStrictBindOnlyReservedWord,\n isStrictBindReservedWord,\n isStrictReservedWord,\n isKeyword,\n} from \"./keyword.ts\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AAKA,IAAAC,QAAA,GAAAD,OAAA"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.isKeyword = isKeyword;
7
+ exports.isReservedWord = isReservedWord;
8
+ exports.isStrictBindOnlyReservedWord = isStrictBindOnlyReservedWord;
9
+ exports.isStrictBindReservedWord = isStrictBindReservedWord;
10
+ exports.isStrictReservedWord = isStrictReservedWord;
11
+ const reservedWords = {
12
+ keyword: ["break", "case", "catch", "continue", "debugger", "default", "do", "else", "finally", "for", "function", "if", "return", "switch", "throw", "try", "var", "const", "while", "with", "new", "this", "super", "class", "extends", "export", "import", "null", "true", "false", "in", "instanceof", "typeof", "void", "delete"],
13
+ strict: ["implements", "interface", "let", "package", "private", "protected", "public", "static", "yield"],
14
+ strictBind: ["eval", "arguments"]
15
+ };
16
+ const keywords = new Set(reservedWords.keyword);
17
+ const reservedWordsStrictSet = new Set(reservedWords.strict);
18
+ const reservedWordsStrictBindSet = new Set(reservedWords.strictBind);
19
+ function isReservedWord(word, inModule) {
20
+ return inModule && word === "await" || word === "enum";
21
+ }
22
+ function isStrictReservedWord(word, inModule) {
23
+ return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word);
24
+ }
25
+ function isStrictBindOnlyReservedWord(word) {
26
+ return reservedWordsStrictBindSet.has(word);
27
+ }
28
+ function isStrictBindReservedWord(word, inModule) {
29
+ return isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word);
30
+ }
31
+ function isKeyword(word) {
32
+ return keywords.has(word);
33
+ }
34
+
35
+ //# sourceMappingURL=keyword.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["reservedWords","keyword","strict","strictBind","keywords","Set","reservedWordsStrictSet","reservedWordsStrictBindSet","isReservedWord","word","inModule","isStrictReservedWord","has","isStrictBindOnlyReservedWord","isStrictBindReservedWord","isKeyword"],"sources":["../src/keyword.ts"],"sourcesContent":["const reservedWords = {\n keyword: [\n \"break\",\n \"case\",\n \"catch\",\n \"continue\",\n \"debugger\",\n \"default\",\n \"do\",\n \"else\",\n \"finally\",\n \"for\",\n \"function\",\n \"if\",\n \"return\",\n \"switch\",\n \"throw\",\n \"try\",\n \"var\",\n \"const\",\n \"while\",\n \"with\",\n \"new\",\n \"this\",\n \"super\",\n \"class\",\n \"extends\",\n \"export\",\n \"import\",\n \"null\",\n \"true\",\n \"false\",\n \"in\",\n \"instanceof\",\n \"typeof\",\n \"void\",\n \"delete\",\n ],\n strict: [\n \"implements\",\n \"interface\",\n \"let\",\n \"package\",\n \"private\",\n \"protected\",\n \"public\",\n \"static\",\n \"yield\",\n ],\n strictBind: [\"eval\", \"arguments\"],\n};\nconst keywords = new Set(reservedWords.keyword);\nconst reservedWordsStrictSet = new Set(reservedWords.strict);\nconst reservedWordsStrictBindSet = new Set(reservedWords.strictBind);\n\n/**\n * Checks if word is a reserved word in non-strict mode\n */\nexport function isReservedWord(word: string, inModule: boolean): boolean {\n return (inModule && word === \"await\") || word === \"enum\";\n}\n\n/**\n * Checks if word is a reserved word in non-binding strict mode\n *\n * Includes non-strict reserved words\n */\nexport function isStrictReservedWord(word: string, inModule: boolean): boolean {\n return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word);\n}\n\n/**\n * Checks if word is a reserved word in binding strict mode, but it is allowed as\n * a normal identifier.\n */\nexport function isStrictBindOnlyReservedWord(word: string): boolean {\n return reservedWordsStrictBindSet.has(word);\n}\n\n/**\n * Checks if word is a reserved word in binding strict mode\n *\n * Includes non-strict reserved words and non-binding strict reserved words\n */\nexport function isStrictBindReservedWord(\n word: string,\n inModule: boolean,\n): boolean {\n return (\n isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word)\n );\n}\n\nexport function isKeyword(word: string): boolean {\n return keywords.has(word);\n}\n"],"mappings":";;;;;;;;;;AAAA,MAAMA,aAAa,GAAG;EACpBC,OAAO,EAAE,CACP,OAAO,EACP,MAAM,EACN,OAAO,EACP,UAAU,EACV,UAAU,EACV,SAAS,EACT,IAAI,EACJ,MAAM,EACN,SAAS,EACT,KAAK,EACL,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,KAAK,EACL,KAAK,EACL,OAAO,EACP,OAAO,EACP,MAAM,EACN,KAAK,EACL,MAAM,EACN,OAAO,EACP,OAAO,EACP,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,MAAM,EACN,OAAO,EACP,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,QAAQ,CACT;EACDC,MAAM,EAAE,CACN,YAAY,EACZ,WAAW,EACX,KAAK,EACL,SAAS,EACT,SAAS,EACT,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,OAAO,CACR;EACDC,UAAU,EAAE,CAAC,MAAM,EAAE,WAAW;AAClC,CAAC;AACD,MAAMC,QAAQ,GAAG,IAAIC,GAAG,CAACL,aAAa,CAACC,OAAO,CAAC;AAC/C,MAAMK,sBAAsB,GAAG,IAAID,GAAG,CAACL,aAAa,CAACE,MAAM,CAAC;AAC5D,MAAMK,0BAA0B,GAAG,IAAIF,GAAG,CAACL,aAAa,CAACG,UAAU,CAAC;AAK7D,SAASK,cAAcA,CAACC,IAAY,EAAEC,QAAiB,EAAW;EACvE,OAAQA,QAAQ,IAAID,IAAI,KAAK,OAAO,IAAKA,IAAI,KAAK,MAAM;AAC1D;AAOO,SAASE,oBAAoBA,CAACF,IAAY,EAAEC,QAAiB,EAAW;EAC7E,OAAOF,cAAc,CAACC,IAAI,EAAEC,QAAQ,CAAC,IAAIJ,sBAAsB,CAACM,GAAG,CAACH,IAAI,CAAC;AAC3E;AAMO,SAASI,4BAA4BA,CAACJ,IAAY,EAAW;EAClE,OAAOF,0BAA0B,CAACK,GAAG,CAACH,IAAI,CAAC;AAC7C;AAOO,SAASK,wBAAwBA,CACtCL,IAAY,EACZC,QAAiB,EACR;EACT,OACEC,oBAAoB,CAACF,IAAI,EAAEC,QAAQ,CAAC,IAAIG,4BAA4B,CAACJ,IAAI,CAAC;AAE9E;AAEO,SAASM,SAASA,CAACN,IAAY,EAAW;EAC/C,OAAOL,QAAQ,CAACQ,GAAG,CAACH,IAAI,CAAC;AAC3B"}
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "@babel/helper-validator-identifier",
3
+ "version": "7.22.20",
4
+ "description": "Validate identifier/keywords name",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/babel/babel.git",
8
+ "directory": "packages/babel-helper-validator-identifier"
9
+ },
10
+ "license": "MIT",
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "main": "./lib/index.js",
15
+ "exports": {
16
+ ".": "./lib/index.js",
17
+ "./package.json": "./package.json"
18
+ },
19
+ "devDependencies": {
20
+ "@unicode/unicode-15.1.0": "^1.5.2",
21
+ "charcodes": "^0.2.0"
22
+ },
23
+ "engines": {
24
+ "node": ">=6.9.0"
25
+ },
26
+ "author": "The Babel Team (https://babel.dev/team)",
27
+ "type": "commonjs"
28
+ }
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+
3
+ // Always use the latest available version of Unicode!
4
+ // https://tc39.github.io/ecma262/#sec-conformance
5
+ const version = "15.1.0";
6
+
7
+ const start = require(
8
+ "@unicode/unicode-" + version + "/Binary_Property/ID_Start/code-points.js"
9
+ ).filter(function (ch) {
10
+ return ch > 0x7f;
11
+ });
12
+ let last = -1;
13
+ const cont = require(
14
+ "@unicode/unicode-" + version + "/Binary_Property/ID_Continue/code-points.js"
15
+ ).filter(function (ch) {
16
+ return ch > 0x7f && search(start, ch, last + 1) == -1;
17
+ });
18
+
19
+ function search(arr, ch, starting) {
20
+ for (let i = starting; arr[i] <= ch && i < arr.length; last = i++) {
21
+ if (arr[i] === ch) return i;
22
+ }
23
+ return -1;
24
+ }
25
+
26
+ function pad(str, width) {
27
+ while (str.length < width) str = "0" + str;
28
+ return str;
29
+ }
30
+
31
+ function esc(code) {
32
+ const hex = code.toString(16);
33
+ if (hex.length <= 2) return "\\x" + pad(hex, 2);
34
+ else return "\\u" + pad(hex, 4);
35
+ }
36
+
37
+ function generate(chars) {
38
+ const astral = [];
39
+ let re = "";
40
+ for (let i = 0, at = 0x10000; i < chars.length; i++) {
41
+ const from = chars[i];
42
+ let to = from;
43
+ while (i < chars.length - 1 && chars[i + 1] == to + 1) {
44
+ i++;
45
+ to++;
46
+ }
47
+ if (to <= 0xffff) {
48
+ if (from == to) re += esc(from);
49
+ else if (from + 1 == to) re += esc(from) + esc(to);
50
+ else re += esc(from) + "-" + esc(to);
51
+ } else {
52
+ astral.push(from - at, to - from);
53
+ at = to;
54
+ }
55
+ }
56
+ return { nonASCII: re, astral: astral };
57
+ }
58
+
59
+ const startData = generate(start);
60
+ const contData = generate(cont);
61
+
62
+ console.log("/* prettier-ignore */");
63
+ console.log('let nonASCIIidentifierStartChars = "' + startData.nonASCII + '";');
64
+ console.log("/* prettier-ignore */");
65
+ console.log('let nonASCIIidentifierChars = "' + contData.nonASCII + '";');
66
+ console.log("/* prettier-ignore */");
67
+ console.log(
68
+ "const astralIdentifierStartCodes = " + JSON.stringify(startData.astral) + ";"
69
+ );
70
+ console.log("/* prettier-ignore */");
71
+ console.log(
72
+ "const astralIdentifierCodes = " + JSON.stringify(contData.astral) + ";"
73
+ );