@emulsify/cli 2.0.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (303) hide show
  1. package/README.md +131 -12
  2. package/dist/handlers/componentInstall.js +65 -4
  3. package/dist/index.js +2 -0
  4. package/dist/node_modules/.package-lock.json +6 -216
  5. package/dist/node_modules/@types/node/README.md +1 -1
  6. package/dist/node_modules/@types/node/http2.d.ts +1 -0
  7. package/dist/node_modules/@types/node/package.json +2 -2
  8. package/dist/package-lock.json +61 -42
  9. package/dist/package.json +5 -6
  10. package/dist/schemas/emulsifyProjectConfig.json +80 -0
  11. package/dist/util/fs/executeScript.js +10 -4
  12. package/dist/util/fs/loadJsonFile.js +14 -4
  13. package/dist/util/fs/safeResolveWithin.js +22 -0
  14. package/dist/util/getRepositoryLatestTag.js +96 -13
  15. package/dist/util/project/buildComponentDependencyList.js +35 -10
  16. package/dist/util/project/generateComponent.js +52 -23
  17. package/dist/util/project/getEmulsifyConfig.js +35 -1
  18. package/dist/util/project/installComponentFromCache.js +3 -2
  19. package/dist/util/project/installGeneralAssetsFromCache.js +4 -2
  20. package/dist/util/system/getAvailableSystems.js +0 -5
  21. package/package.json +5 -6
  22. package/dist/node_modules/@babel/code-frame/LICENSE +0 -22
  23. package/dist/node_modules/@babel/code-frame/README.md +0 -19
  24. package/dist/node_modules/@babel/code-frame/lib/index.js +0 -217
  25. package/dist/node_modules/@babel/code-frame/lib/index.js.map +0 -1
  26. package/dist/node_modules/@babel/code-frame/package.json +0 -32
  27. package/dist/node_modules/@babel/helper-validator-identifier/LICENSE +0 -22
  28. package/dist/node_modules/@babel/helper-validator-identifier/README.md +0 -19
  29. package/dist/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
  30. package/dist/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
  31. package/dist/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
  32. package/dist/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
  33. package/dist/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
  34. package/dist/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
  35. package/dist/node_modules/@babel/helper-validator-identifier/package.json +0 -31
  36. package/dist/node_modules/@types/progress/LICENSE +0 -21
  37. package/dist/node_modules/@types/progress/README.md +0 -15
  38. package/dist/node_modules/@types/progress/index.d.ts +0 -143
  39. package/dist/node_modules/@types/progress/package.json +0 -27
  40. package/dist/node_modules/argparse/CHANGELOG.md +0 -216
  41. package/dist/node_modules/argparse/LICENSE +0 -254
  42. package/dist/node_modules/argparse/README.md +0 -84
  43. package/dist/node_modules/argparse/argparse.js +0 -3707
  44. package/dist/node_modules/argparse/lib/sub.js +0 -67
  45. package/dist/node_modules/argparse/lib/textwrap.js +0 -440
  46. package/dist/node_modules/argparse/package.json +0 -31
  47. package/dist/node_modules/callsites/index.d.ts +0 -96
  48. package/dist/node_modules/callsites/index.js +0 -13
  49. package/dist/node_modules/callsites/license +0 -9
  50. package/dist/node_modules/callsites/package.json +0 -39
  51. package/dist/node_modules/callsites/readme.md +0 -48
  52. package/dist/node_modules/cosmiconfig/LICENSE +0 -22
  53. package/dist/node_modules/cosmiconfig/README.md +0 -782
  54. package/dist/node_modules/cosmiconfig/dist/Explorer.d.ts +0 -2
  55. package/dist/node_modules/cosmiconfig/dist/Explorer.js +0 -174
  56. package/dist/node_modules/cosmiconfig/dist/ExplorerBase.d.ts +0 -2
  57. package/dist/node_modules/cosmiconfig/dist/ExplorerBase.js +0 -126
  58. package/dist/node_modules/cosmiconfig/dist/ExplorerSync.d.ts +0 -2
  59. package/dist/node_modules/cosmiconfig/dist/ExplorerSync.js +0 -188
  60. package/dist/node_modules/cosmiconfig/dist/defaults.d.ts +0 -25
  61. package/dist/node_modules/cosmiconfig/dist/defaults.js +0 -105
  62. package/dist/node_modules/cosmiconfig/dist/index.d.ts +0 -6
  63. package/dist/node_modules/cosmiconfig/dist/index.js +0 -148
  64. package/dist/node_modules/cosmiconfig/dist/loaders.d.ts +0 -8
  65. package/dist/node_modules/cosmiconfig/dist/loaders.js +0 -150
  66. package/dist/node_modules/cosmiconfig/dist/merge.d.ts +0 -9
  67. package/dist/node_modules/cosmiconfig/dist/merge.js +0 -44
  68. package/dist/node_modules/cosmiconfig/dist/types.d.ts +0 -98
  69. package/dist/node_modules/cosmiconfig/dist/types.js +0 -3
  70. package/dist/node_modules/cosmiconfig/dist/util.d.ts +0 -2
  71. package/dist/node_modules/cosmiconfig/dist/util.js +0 -108
  72. package/dist/node_modules/cosmiconfig/package.json +0 -103
  73. package/dist/node_modules/env-paths/index.d.ts +0 -101
  74. package/dist/node_modules/env-paths/index.js +0 -74
  75. package/dist/node_modules/env-paths/license +0 -9
  76. package/dist/node_modules/env-paths/package.json +0 -45
  77. package/dist/node_modules/env-paths/readme.md +0 -115
  78. package/dist/node_modules/error-ex/LICENSE +0 -21
  79. package/dist/node_modules/error-ex/README.md +0 -144
  80. package/dist/node_modules/error-ex/index.js +0 -141
  81. package/dist/node_modules/error-ex/package.json +0 -46
  82. package/dist/node_modules/import-fresh/index.d.ts +0 -30
  83. package/dist/node_modules/import-fresh/index.js +0 -34
  84. package/dist/node_modules/import-fresh/license +0 -9
  85. package/dist/node_modules/import-fresh/node_modules/resolve-from/index.js +0 -47
  86. package/dist/node_modules/import-fresh/node_modules/resolve-from/license +0 -9
  87. package/dist/node_modules/import-fresh/node_modules/resolve-from/package.json +0 -34
  88. package/dist/node_modules/import-fresh/node_modules/resolve-from/readme.md +0 -72
  89. package/dist/node_modules/import-fresh/package.json +0 -48
  90. package/dist/node_modules/import-fresh/readme.md +0 -54
  91. package/dist/node_modules/is-arrayish/.editorconfig +0 -18
  92. package/dist/node_modules/is-arrayish/.istanbul.yml +0 -4
  93. package/dist/node_modules/is-arrayish/.travis.yml +0 -17
  94. package/dist/node_modules/is-arrayish/LICENSE +0 -21
  95. package/dist/node_modules/is-arrayish/README.md +0 -16
  96. package/dist/node_modules/is-arrayish/index.js +0 -10
  97. package/dist/node_modules/is-arrayish/package.json +0 -34
  98. package/dist/node_modules/js-tokens/CHANGELOG.md +0 -151
  99. package/dist/node_modules/js-tokens/LICENSE +0 -21
  100. package/dist/node_modules/js-tokens/README.md +0 -240
  101. package/dist/node_modules/js-tokens/index.js +0 -23
  102. package/dist/node_modules/js-tokens/package.json +0 -30
  103. package/dist/node_modules/js-yaml/LICENSE +0 -21
  104. package/dist/node_modules/js-yaml/README.md +0 -231
  105. package/dist/node_modules/js-yaml/bin/js-yaml.js +0 -117
  106. package/dist/node_modules/js-yaml/dist/js-yaml.js +0 -2404
  107. package/dist/node_modules/js-yaml/dist/js-yaml.js.map +0 -1
  108. package/dist/node_modules/js-yaml/dist/js-yaml.min.js +0 -33
  109. package/dist/node_modules/js-yaml/dist/js-yaml.min.js.map +0 -1
  110. package/dist/node_modules/js-yaml/dist/js-yaml.mjs +0 -2382
  111. package/dist/node_modules/js-yaml/dist/js-yaml.mjs.map +0 -1
  112. package/dist/node_modules/js-yaml/index.js +0 -44
  113. package/dist/node_modules/js-yaml/lib/common.js +0 -50
  114. package/dist/node_modules/js-yaml/lib/dumper.js +0 -937
  115. package/dist/node_modules/js-yaml/lib/exception.js +0 -51
  116. package/dist/node_modules/js-yaml/lib/index_vite_proxy.tmp.mjs +0 -37
  117. package/dist/node_modules/js-yaml/lib/loader.js +0 -1794
  118. package/dist/node_modules/js-yaml/lib/schema/core.js +0 -9
  119. package/dist/node_modules/js-yaml/lib/schema/default.js +0 -20
  120. package/dist/node_modules/js-yaml/lib/schema/failsafe.js +0 -14
  121. package/dist/node_modules/js-yaml/lib/schema/json.js +0 -17
  122. package/dist/node_modules/js-yaml/lib/schema.js +0 -109
  123. package/dist/node_modules/js-yaml/lib/snippet.js +0 -96
  124. package/dist/node_modules/js-yaml/lib/type/binary.js +0 -122
  125. package/dist/node_modules/js-yaml/lib/type/bool.js +0 -35
  126. package/dist/node_modules/js-yaml/lib/type/float.js +0 -99
  127. package/dist/node_modules/js-yaml/lib/type/int.js +0 -142
  128. package/dist/node_modules/js-yaml/lib/type/map.js +0 -8
  129. package/dist/node_modules/js-yaml/lib/type/merge.js +0 -12
  130. package/dist/node_modules/js-yaml/lib/type/null.js +0 -35
  131. package/dist/node_modules/js-yaml/lib/type/omap.js +0 -45
  132. package/dist/node_modules/js-yaml/lib/type/pairs.js +0 -50
  133. package/dist/node_modules/js-yaml/lib/type/seq.js +0 -8
  134. package/dist/node_modules/js-yaml/lib/type/set.js +0 -29
  135. package/dist/node_modules/js-yaml/lib/type/str.js +0 -8
  136. package/dist/node_modules/js-yaml/lib/type/timestamp.js +0 -88
  137. package/dist/node_modules/js-yaml/lib/type.js +0 -66
  138. package/dist/node_modules/js-yaml/package.json +0 -77
  139. package/dist/node_modules/json-parse-even-better-errors/CHANGELOG.md +0 -50
  140. package/dist/node_modules/json-parse-even-better-errors/LICENSE.md +0 -25
  141. package/dist/node_modules/json-parse-even-better-errors/README.md +0 -96
  142. package/dist/node_modules/json-parse-even-better-errors/index.js +0 -121
  143. package/dist/node_modules/json-parse-even-better-errors/package.json +0 -33
  144. package/dist/node_modules/lines-and-columns/LICENSE +0 -21
  145. package/dist/node_modules/lines-and-columns/README.md +0 -33
  146. package/dist/node_modules/lines-and-columns/build/index.d.ts +0 -13
  147. package/dist/node_modules/lines-and-columns/build/index.js +0 -62
  148. package/dist/node_modules/lines-and-columns/package.json +0 -49
  149. package/dist/node_modules/parent-module/index.js +0 -37
  150. package/dist/node_modules/parent-module/license +0 -9
  151. package/dist/node_modules/parent-module/package.json +0 -46
  152. package/dist/node_modules/parent-module/readme.md +0 -67
  153. package/dist/node_modules/parse-json/index.js +0 -54
  154. package/dist/node_modules/parse-json/license +0 -9
  155. package/dist/node_modules/parse-json/package.json +0 -45
  156. package/dist/node_modules/parse-json/readme.md +0 -119
  157. package/dist/node_modules/picocolors/LICENSE +0 -15
  158. package/dist/node_modules/picocolors/README.md +0 -21
  159. package/dist/node_modules/picocolors/package.json +0 -25
  160. package/dist/node_modules/picocolors/picocolors.browser.js +0 -4
  161. package/dist/node_modules/picocolors/picocolors.d.ts +0 -5
  162. package/dist/node_modules/picocolors/picocolors.js +0 -75
  163. package/dist/node_modules/picocolors/types.d.ts +0 -51
  164. package/dist/node_modules/typescript/LICENSE.txt +0 -55
  165. package/dist/node_modules/typescript/README.md +0 -50
  166. package/dist/node_modules/typescript/SECURITY.md +0 -39
  167. package/dist/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  168. package/dist/node_modules/typescript/bin/tsc +0 -2
  169. package/dist/node_modules/typescript/bin/tsserver +0 -2
  170. package/dist/node_modules/typescript/lib/_tsc.js +0 -134465
  171. package/dist/node_modules/typescript/lib/_tsserver.js +0 -659
  172. package/dist/node_modules/typescript/lib/_typingsInstaller.js +0 -222
  173. package/dist/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2129
  174. package/dist/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2125
  175. package/dist/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2129
  176. package/dist/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2129
  177. package/dist/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2125
  178. package/dist/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2129
  179. package/dist/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2129
  180. package/dist/node_modules/typescript/lib/lib.d.ts +0 -20
  181. package/dist/node_modules/typescript/lib/lib.decorators.d.ts +0 -382
  182. package/dist/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -20
  183. package/dist/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -18
  184. package/dist/node_modules/typescript/lib/lib.dom.d.ts +0 -45125
  185. package/dist/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -18
  186. package/dist/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -150
  187. package/dist/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -595
  188. package/dist/node_modules/typescript/lib/lib.es2015.d.ts +0 -26
  189. package/dist/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -75
  190. package/dist/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -603
  191. package/dist/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -79
  192. package/dist/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -126
  193. package/dist/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -142
  194. package/dist/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -44
  195. package/dist/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -324
  196. package/dist/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -114
  197. package/dist/node_modules/typescript/lib/lib.es2016.d.ts +0 -19
  198. package/dist/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -21
  199. package/dist/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -29
  200. package/dist/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -19
  201. package/dist/node_modules/typescript/lib/lib.es2017.d.ts +0 -24
  202. package/dist/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -29
  203. package/dist/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -21
  204. package/dist/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -42
  205. package/dist/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -47
  206. package/dist/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -133
  207. package/dist/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -43
  208. package/dist/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -51
  209. package/dist/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -75
  210. package/dist/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -51
  211. package/dist/node_modules/typescript/lib/lib.es2018.d.ts +0 -22
  212. package/dist/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -22
  213. package/dist/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -81
  214. package/dist/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -28
  215. package/dist/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -35
  216. package/dist/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -77
  217. package/dist/node_modules/typescript/lib/lib.es2019.d.ts +0 -22
  218. package/dist/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -22
  219. package/dist/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -21
  220. package/dist/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -31
  221. package/dist/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -35
  222. package/dist/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -22
  223. package/dist/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -763
  224. package/dist/node_modules/typescript/lib/lib.es2020.d.ts +0 -25
  225. package/dist/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -40
  226. package/dist/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -22
  227. package/dist/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -472
  228. package/dist/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -26
  229. package/dist/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -45
  230. package/dist/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -97
  231. package/dist/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -42
  232. package/dist/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -39
  233. package/dist/node_modules/typescript/lib/lib.es2021.d.ts +0 -21
  234. package/dist/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -22
  235. package/dist/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -164
  236. package/dist/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -46
  237. package/dist/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -31
  238. package/dist/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -76
  239. package/dist/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -119
  240. package/dist/node_modules/typescript/lib/lib.es2022.d.ts +0 -23
  241. package/dist/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -73
  242. package/dist/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -22
  243. package/dist/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -143
  244. package/dist/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -24
  245. package/dist/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -37
  246. package/dist/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -23
  247. package/dist/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -922
  248. package/dist/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -19
  249. package/dist/node_modules/typescript/lib/lib.es2023.d.ts +0 -20
  250. package/dist/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -22
  251. package/dist/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -62
  252. package/dist/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -63
  253. package/dist/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -27
  254. package/dist/node_modules/typescript/lib/lib.es2024.d.ts +0 -24
  255. package/dist/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -22
  256. package/dist/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -27
  257. package/dist/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -33
  258. package/dist/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -23
  259. package/dist/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -66
  260. package/dist/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -27
  261. package/dist/node_modules/typescript/lib/lib.es2025.collection.d.ts +0 -94
  262. package/dist/node_modules/typescript/lib/lib.es2025.d.ts +0 -23
  263. package/dist/node_modules/typescript/lib/lib.es2025.float16.d.ts +0 -443
  264. package/dist/node_modules/typescript/lib/lib.es2025.full.d.ts +0 -22
  265. package/dist/node_modules/typescript/lib/lib.es2025.intl.d.ts +0 -200
  266. package/dist/node_modules/typescript/lib/lib.es2025.iterator.d.ts +0 -146
  267. package/dist/node_modules/typescript/lib/lib.es2025.promise.d.ts +0 -32
  268. package/dist/node_modules/typescript/lib/lib.es2025.regexp.d.ts +0 -30
  269. package/dist/node_modules/typescript/lib/lib.es5.d.ts +0 -4599
  270. package/dist/node_modules/typescript/lib/lib.es6.d.ts +0 -21
  271. package/dist/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -33
  272. package/dist/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -47
  273. package/dist/node_modules/typescript/lib/lib.esnext.d.ts +0 -27
  274. package/dist/node_modules/typescript/lib/lib.esnext.date.d.ts +0 -21
  275. package/dist/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -26
  276. package/dist/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -191
  277. package/dist/node_modules/typescript/lib/lib.esnext.error.d.ts +0 -22
  278. package/dist/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -22
  279. package/dist/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -107
  280. package/dist/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +0 -23
  281. package/dist/node_modules/typescript/lib/lib.esnext.temporal.d.ts +0 -485
  282. package/dist/node_modules/typescript/lib/lib.esnext.typedarrays.d.ts +0 -90
  283. package/dist/node_modules/typescript/lib/lib.scripthost.d.ts +0 -320
  284. package/dist/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -18
  285. package/dist/node_modules/typescript/lib/lib.webworker.d.ts +0 -15606
  286. package/dist/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -21
  287. package/dist/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -18
  288. package/dist/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2129
  289. package/dist/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2129
  290. package/dist/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2125
  291. package/dist/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2129
  292. package/dist/node_modules/typescript/lib/tsc.js +0 -8
  293. package/dist/node_modules/typescript/lib/tsserver.js +0 -8
  294. package/dist/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  295. package/dist/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  296. package/dist/node_modules/typescript/lib/typesMap.json +0 -497
  297. package/dist/node_modules/typescript/lib/typescript.d.ts +0 -11448
  298. package/dist/node_modules/typescript/lib/typescript.js +0 -201039
  299. package/dist/node_modules/typescript/lib/typingsInstaller.js +0 -8
  300. package/dist/node_modules/typescript/lib/watchGuard.js +0 -53
  301. package/dist/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2129
  302. package/dist/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2125
  303. package/dist/node_modules/typescript/package.json +0 -118
@@ -1,30 +0,0 @@
1
- /**
2
- Import a module while bypassing the cache.
3
-
4
- @example
5
- ```
6
- // foo.js
7
- let i = 0;
8
- module.exports = () => ++i;
9
-
10
- // index.js
11
- import importFresh = require('import-fresh');
12
-
13
- require('./foo')();
14
- //=> 1
15
-
16
- require('./foo')();
17
- //=> 2
18
-
19
- importFresh('./foo')();
20
- //=> 1
21
-
22
- importFresh('./foo')();
23
- //=> 1
24
-
25
- const foo = importFresh<typeof import('./foo')>('./foo');
26
- ```
27
- */
28
- declare function importFresh<T>(moduleId: string): T;
29
-
30
- export = importFresh;
@@ -1,34 +0,0 @@
1
- 'use strict';
2
- const path = require('path');
3
- const resolveFrom = require('resolve-from');
4
- const parentModule = require('parent-module');
5
-
6
- module.exports = moduleId => {
7
- if (typeof moduleId !== 'string') {
8
- throw new TypeError('Expected a string');
9
- }
10
-
11
- const parentPath = parentModule(__filename);
12
-
13
- const cwd = parentPath ? path.dirname(parentPath) : __dirname;
14
- const filePath = resolveFrom(cwd, moduleId);
15
-
16
- const oldModule = require.cache[filePath];
17
- // Delete itself from module parent
18
- if (oldModule && oldModule.parent) {
19
- let i = oldModule.parent.children.length;
20
-
21
- while (i--) {
22
- if (oldModule.parent.children[i].id === filePath) {
23
- oldModule.parent.children.splice(i, 1);
24
- }
25
- }
26
- }
27
-
28
- delete require.cache[filePath]; // Delete module from cache
29
-
30
- const parent = require.cache[parentPath]; // If `filePath` and `parentPath` are the same, cache will already be deleted so we won't get a memory leak in next step
31
-
32
- // In case cache doesn't have parent, fall back to normal require
33
- return parent === undefined || parent.require === undefined ? require(filePath) : parent.require(filePath);
34
- };
@@ -1,9 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
-
7
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,47 +0,0 @@
1
- 'use strict';
2
- const path = require('path');
3
- const Module = require('module');
4
- const fs = require('fs');
5
-
6
- const resolveFrom = (fromDir, moduleId, silent) => {
7
- if (typeof fromDir !== 'string') {
8
- throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof fromDir}\``);
9
- }
10
-
11
- if (typeof moduleId !== 'string') {
12
- throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof moduleId}\``);
13
- }
14
-
15
- try {
16
- fromDir = fs.realpathSync(fromDir);
17
- } catch (err) {
18
- if (err.code === 'ENOENT') {
19
- fromDir = path.resolve(fromDir);
20
- } else if (silent) {
21
- return null;
22
- } else {
23
- throw err;
24
- }
25
- }
26
-
27
- const fromFile = path.join(fromDir, 'noop.js');
28
-
29
- const resolveFileName = () => Module._resolveFilename(moduleId, {
30
- id: fromFile,
31
- filename: fromFile,
32
- paths: Module._nodeModulePaths(fromDir)
33
- });
34
-
35
- if (silent) {
36
- try {
37
- return resolveFileName();
38
- } catch (err) {
39
- return null;
40
- }
41
- }
42
-
43
- return resolveFileName();
44
- };
45
-
46
- module.exports = (fromDir, moduleId) => resolveFrom(fromDir, moduleId);
47
- module.exports.silent = (fromDir, moduleId) => resolveFrom(fromDir, moduleId, true);
@@ -1,9 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
-
7
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,34 +0,0 @@
1
- {
2
- "name": "resolve-from",
3
- "version": "4.0.0",
4
- "description": "Resolve the path of a module like `require.resolve()` but from a given path",
5
- "license": "MIT",
6
- "repository": "sindresorhus/resolve-from",
7
- "author": {
8
- "name": "Sindre Sorhus",
9
- "email": "sindresorhus@gmail.com",
10
- "url": "sindresorhus.com"
11
- },
12
- "engines": {
13
- "node": ">=4"
14
- },
15
- "scripts": {
16
- "test": "xo && ava"
17
- },
18
- "files": [
19
- "index.js"
20
- ],
21
- "keywords": [
22
- "require",
23
- "resolve",
24
- "path",
25
- "module",
26
- "from",
27
- "like",
28
- "import"
29
- ],
30
- "devDependencies": {
31
- "ava": "*",
32
- "xo": "*"
33
- }
34
- }
@@ -1,72 +0,0 @@
1
- # resolve-from [![Build Status](https://travis-ci.org/sindresorhus/resolve-from.svg?branch=master)](https://travis-ci.org/sindresorhus/resolve-from)
2
-
3
- > Resolve the path of a module like [`require.resolve()`](https://nodejs.org/api/globals.html#globals_require_resolve) but from a given path
4
-
5
-
6
- ## Install
7
-
8
- ```
9
- $ npm install resolve-from
10
- ```
11
-
12
-
13
- ## Usage
14
-
15
- ```js
16
- const resolveFrom = require('resolve-from');
17
-
18
- // There is a file at `./foo/bar.js`
19
-
20
- resolveFrom('foo', './bar');
21
- //=> '/Users/sindresorhus/dev/test/foo/bar.js'
22
- ```
23
-
24
-
25
- ## API
26
-
27
- ### resolveFrom(fromDir, moduleId)
28
-
29
- Like `require()`, throws when the module can't be found.
30
-
31
- ### resolveFrom.silent(fromDir, moduleId)
32
-
33
- Returns `null` instead of throwing when the module can't be found.
34
-
35
- #### fromDir
36
-
37
- Type: `string`
38
-
39
- Directory to resolve from.
40
-
41
- #### moduleId
42
-
43
- Type: `string`
44
-
45
- What you would use in `require()`.
46
-
47
-
48
- ## Tip
49
-
50
- Create a partial using a bound function if you want to resolve from the same `fromDir` multiple times:
51
-
52
- ```js
53
- const resolveFromFoo = resolveFrom.bind(null, 'foo');
54
-
55
- resolveFromFoo('./bar');
56
- resolveFromFoo('./baz');
57
- ```
58
-
59
-
60
- ## Related
61
-
62
- - [resolve-cwd](https://github.com/sindresorhus/resolve-cwd) - Resolve the path of a module from the current working directory
63
- - [import-from](https://github.com/sindresorhus/import-from) - Import a module from a given path
64
- - [import-cwd](https://github.com/sindresorhus/import-cwd) - Import a module from the current working directory
65
- - [resolve-pkg](https://github.com/sindresorhus/resolve-pkg) - Resolve the path of a package regardless of it having an entry point
66
- - [import-lazy](https://github.com/sindresorhus/import-lazy) - Import a module lazily
67
- - [resolve-global](https://github.com/sindresorhus/resolve-global) - Resolve the path of a globally installed module
68
-
69
-
70
- ## License
71
-
72
- MIT © [Sindre Sorhus](https://sindresorhus.com)
@@ -1,48 +0,0 @@
1
- {
2
- "name": "import-fresh",
3
- "version": "3.3.1",
4
- "description": "Import a module while bypassing the cache",
5
- "license": "MIT",
6
- "repository": "sindresorhus/import-fresh",
7
- "funding": "https://github.com/sponsors/sindresorhus",
8
- "author": {
9
- "name": "Sindre Sorhus",
10
- "email": "sindresorhus@gmail.com",
11
- "url": "https://sindresorhus.com"
12
- },
13
- "exports": {
14
- "types": "./index.d.ts",
15
- "default": "./index.js"
16
- },
17
- "sideEffects": false,
18
- "engines": {
19
- "node": ">=6"
20
- },
21
- "scripts": {
22
- "test": "xo && ava && tsd",
23
- "heapdump": "node heapdump.js"
24
- },
25
- "files": [
26
- "index.js",
27
- "index.d.ts"
28
- ],
29
- "keywords": [
30
- "require",
31
- "cache",
32
- "uncache",
33
- "uncached",
34
- "module",
35
- "fresh",
36
- "bypass"
37
- ],
38
- "dependencies": {
39
- "parent-module": "^1.0.0",
40
- "resolve-from": "^4.0.0"
41
- },
42
- "devDependencies": {
43
- "ava": "^1.0.1",
44
- "heapdump": "^0.3.12",
45
- "tsd": "^0.7.3",
46
- "xo": "^0.23.0"
47
- }
48
- }
@@ -1,54 +0,0 @@
1
- # import-fresh
2
-
3
- > Import a module while bypassing the [cache](https://nodejs.org/api/modules.html#modules_caching)
4
-
5
- Useful for testing purposes when you need to freshly import a module.
6
-
7
- ## ESM
8
-
9
- For ESM, you can use this snippet:
10
-
11
- ```js
12
- const importFresh = moduleName => import(`${moduleName}?${Date.now()}`);
13
-
14
- const {default: foo} = await importFresh('foo');
15
- ```
16
-
17
- **This snippet causes a memory leak, so only use it for short-lived tests.**
18
-
19
- ## Install
20
-
21
- ```sh
22
- npm install import-fresh
23
- ```
24
-
25
- ## Usage
26
-
27
- ```js
28
- // foo.js
29
- let i = 0;
30
- module.exports = () => ++i;
31
- ```
32
-
33
- ```js
34
- const importFresh = require('import-fresh');
35
-
36
- require('./foo')();
37
- //=> 1
38
-
39
- require('./foo')();
40
- //=> 2
41
-
42
- importFresh('./foo')();
43
- //=> 1
44
-
45
- importFresh('./foo')();
46
- //=> 1
47
- ```
48
-
49
- ## Related
50
-
51
- - [clear-module](https://github.com/sindresorhus/clear-module) - Clear a module from the import cache
52
- - [import-from](https://github.com/sindresorhus/import-from) - Import a module from a given path
53
- - [import-cwd](https://github.com/sindresorhus/import-cwd) - Import a module from the current working directory
54
- - [import-lazy](https://github.com/sindresorhus/import-lazy) - Import modules lazily
@@ -1,18 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- indent_style = tab
5
- end_of_line = lf
6
- charset = utf-8
7
- trim_trailing_whitespace = true
8
- insert_final_newline = true
9
-
10
- [*.coffee]
11
- indent_style = space
12
-
13
- [{package.json,*.yml}]
14
- indent_style = space
15
- indent_size = 2
16
-
17
- [*.md]
18
- trim_trailing_whitespace = false
@@ -1,4 +0,0 @@
1
- instrumentation:
2
- excludes:
3
- - test.js
4
- - test/**/*
@@ -1,17 +0,0 @@
1
- language: node_js
2
-
3
- script:
4
- - node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --compilers coffee:coffee-script/register
5
- - cat coverage/lcov.info | node_modules/.bin/coveralls
6
- node_js:
7
- - "0.10"
8
- - "0.11"
9
- - "0.12"
10
- - "iojs"
11
- os:
12
- - linux
13
- - osx
14
-
15
- notifications:
16
- slack:
17
- secure: oOt8QGzdrPDsTMcyahtIq5Q+0U1iwfgJgFCxBLsomQ0bpIMn+y5m4viJydA2UinHPGc944HS3LMZS9iKQyv+DjTgbhUyNXqeVjtxCwRe37f5rKQlXVvdfmjHk2kln4H8DcK3r5Qd/+2hd9BeMsp2GImTrkRSud1CZQlhhe5IgZOboSoWpGVMMy1iazWT06tAtiB2LRVhmsdUaFZDWAhGZ+UAvCPf+mnBOAylIj+U0GDrofhfTi25RK0gddG2f/p2M1HCu49O6wECGWkt2hVei233DkNJyLLLJVcvmhf+aXkV5TjMyaoxh/HdcV4DrA7KvYuWmWWKsINa9hlwAsdd/FYmJ6PjRkKWas2JoQ1C+qOzDxyQvn3CaUZFKD99pdsq0rBBZujqXQKZZ/hWb/CE74BI6fKmqQkiEPaD/7uADj04FEg6HVBZaMCyauOaK5b3VC97twbALZ1qVxYV6mU+zSEvnUbpnjjvRO0fSl9ZHA+rzkW73kX3GmHY0wAozEZbSy7QLuZlQ2QtHmBLr+APaGMdL1sFF9qFfzqKy0WDbSE0WS6hpAEJpTsjYmeBrnI8UmK3m++iEgyQPvZoH9LhUT+ek7XIfHZMe04BmC6wuO24/RfpmR6bQK9VMarFCYlBiWxg/z30vkP0KTpUi3o/cqFm7/Noxc0i2LVqM3E0Sy4=
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2015 JD Ballard
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
@@ -1,16 +0,0 @@
1
- # node-is-arrayish [![Travis-CI.org Build Status](https://img.shields.io/travis/Qix-/node-is-arrayish.svg?style=flat-square)](https://travis-ci.org/Qix-/node-is-arrayish) [![Coveralls.io Coverage Rating](https://img.shields.io/coveralls/Qix-/node-is-arrayish.svg?style=flat-square)](https://coveralls.io/r/Qix-/node-is-arrayish)
2
- > Determines if an object can be used like an Array
3
-
4
- ## Example
5
- ```javascript
6
- var isArrayish = require('is-arrayish');
7
-
8
- isArrayish([]); // true
9
- isArrayish({__proto__: []}); // true
10
- isArrayish({}); // false
11
- isArrayish({length:10}); // false
12
- ```
13
-
14
- ## License
15
- Licensed under the [MIT License](http://opensource.org/licenses/MIT).
16
- You can find a copy of it in [LICENSE](LICENSE).
@@ -1,10 +0,0 @@
1
- 'use strict';
2
-
3
- module.exports = function isArrayish(obj) {
4
- if (!obj) {
5
- return false;
6
- }
7
-
8
- return obj instanceof Array || Array.isArray(obj) ||
9
- (obj.length >= 0 && obj.splice instanceof Function);
10
- };
@@ -1,34 +0,0 @@
1
- {
2
- "name": "is-arrayish",
3
- "description": "Determines if an object can be used as an array",
4
- "version": "0.2.1",
5
- "author": "Qix (http://github.com/qix-)",
6
- "keywords": [
7
- "is",
8
- "array",
9
- "duck",
10
- "type",
11
- "arrayish",
12
- "similar",
13
- "proto",
14
- "prototype",
15
- "type"
16
- ],
17
- "license": "MIT",
18
- "scripts": {
19
- "pretest": "xo",
20
- "test": "mocha --compilers coffee:coffee-script/register"
21
- },
22
- "repository": {
23
- "type": "git",
24
- "url": "https://github.com/qix-/node-is-arrayish.git"
25
- },
26
- "devDependencies": {
27
- "coffee-script": "^1.9.3",
28
- "coveralls": "^2.11.2",
29
- "istanbul": "^0.3.17",
30
- "mocha": "^2.2.5",
31
- "should": "^7.0.1",
32
- "xo": "^0.6.1"
33
- }
34
- }
@@ -1,151 +0,0 @@
1
- ### Version 4.0.0 (2018-01-28) ###
2
-
3
- - Added: Support for ES2018. The only change needed was recognizing the `s`
4
- regex flag.
5
- - Changed: _All_ tokens returned by the `matchToToken` function now have a
6
- `closed` property. It is set to `undefined` for the tokens where “closed”
7
- doesn’t make sense. This means that all tokens objects have the same shape,
8
- which might improve performance.
9
-
10
- These are the breaking changes:
11
-
12
- - `'/a/s'.match(jsTokens)` no longer returns `['/', 'a', '/', 's']`, but
13
- `['/a/s']`. (There are of course other variations of this.)
14
- - Code that rely on some token objects not having the `closed` property could
15
- now behave differently.
16
-
17
-
18
- ### Version 3.0.2 (2017-06-28) ###
19
-
20
- - No code changes. Just updates to the readme.
21
-
22
-
23
- ### Version 3.0.1 (2017-01-30) ###
24
-
25
- - Fixed: ES2015 unicode escapes with more than 6 hex digits are now matched
26
- correctly.
27
-
28
-
29
- ### Version 3.0.0 (2017-01-11) ###
30
-
31
- This release contains one breaking change, that should [improve performance in
32
- V8][v8-perf]:
33
-
34
- > So how can you, as a JavaScript developer, ensure that your RegExps are fast?
35
- > If you are not interested in hooking into RegExp internals, make sure that
36
- > neither the RegExp instance, nor its prototype is modified in order to get the
37
- > best performance:
38
- >
39
- > ```js
40
- > var re = /./g;
41
- > re.exec(''); // Fast path.
42
- > re.new_property = 'slow';
43
- > ```
44
-
45
- This module used to export a single regex, with `.matchToToken` bolted
46
- on, just like in the above example. This release changes the exports of
47
- the module to avoid this issue.
48
-
49
- Before:
50
-
51
- ```js
52
- import jsTokens from "js-tokens"
53
- // or:
54
- var jsTokens = require("js-tokens")
55
- var matchToToken = jsTokens.matchToToken
56
- ```
57
-
58
- After:
59
-
60
- ```js
61
- import jsTokens, {matchToToken} from "js-tokens"
62
- // or:
63
- var jsTokens = require("js-tokens").default
64
- var matchToToken = require("js-tokens").matchToToken
65
- ```
66
-
67
- [v8-perf]: http://v8project.blogspot.se/2017/01/speeding-up-v8-regular-expressions.html
68
-
69
-
70
- ### Version 2.0.0 (2016-06-19) ###
71
-
72
- - Added: Support for ES2016. In other words, support for the `**` exponentiation
73
- operator.
74
-
75
- These are the breaking changes:
76
-
77
- - `'**'.match(jsTokens)` no longer returns `['*', '*']`, but `['**']`.
78
- - `'**='.match(jsTokens)` no longer returns `['*', '*=']`, but `['**=']`.
79
-
80
-
81
- ### Version 1.0.3 (2016-03-27) ###
82
-
83
- - Improved: Made the regex ever so slightly smaller.
84
- - Updated: The readme.
85
-
86
-
87
- ### Version 1.0.2 (2015-10-18) ###
88
-
89
- - Improved: Limited npm package contents for a smaller download. Thanks to
90
- @zertosh!
91
-
92
-
93
- ### Version 1.0.1 (2015-06-20) ###
94
-
95
- - Fixed: Declared an undeclared variable.
96
-
97
-
98
- ### Version 1.0.0 (2015-02-26) ###
99
-
100
- - Changed: Merged the 'operator' and 'punctuation' types into 'punctuator'. That
101
- type is now equivalent to the Punctuator token in the ECMAScript
102
- specification. (Backwards-incompatible change.)
103
- - Fixed: A `-` followed by a number is now correctly matched as a punctuator
104
- followed by a number. It used to be matched as just a number, but there is no
105
- such thing as negative number literals. (Possibly backwards-incompatible
106
- change.)
107
-
108
-
109
- ### Version 0.4.1 (2015-02-21) ###
110
-
111
- - Added: Support for the regex `u` flag.
112
-
113
-
114
- ### Version 0.4.0 (2015-02-21) ###
115
-
116
- - Improved: `jsTokens.matchToToken` performance.
117
- - Added: Support for octal and binary number literals.
118
- - Added: Support for template strings.
119
-
120
-
121
- ### Version 0.3.1 (2015-01-06) ###
122
-
123
- - Fixed: Support for unicode spaces. They used to be allowed in names (which is
124
- very confusing), and some unicode newlines were wrongly allowed in strings and
125
- regexes.
126
-
127
-
128
- ### Version 0.3.0 (2014-12-19) ###
129
-
130
- - Changed: The `jsTokens.names` array has been replaced with the
131
- `jsTokens.matchToToken` function. The capturing groups of `jsTokens` are no
132
- longer part of the public API; instead use said function. See this [gist] for
133
- an example. (Backwards-incompatible change.)
134
- - Changed: The empty string is now considered an “invalid” token, instead an
135
- “empty” token (its own group). (Backwards-incompatible change.)
136
- - Removed: component support. (Backwards-incompatible change.)
137
-
138
- [gist]: https://gist.github.com/lydell/be49dbf80c382c473004
139
-
140
-
141
- ### Version 0.2.0 (2014-06-19) ###
142
-
143
- - Changed: Match ES6 function arrows (`=>`) as an operator, instead of its own
144
- category (“functionArrow”), for simplicity. (Backwards-incompatible change.)
145
- - Added: ES6 splats (`...`) are now matched as an operator (instead of three
146
- punctuations). (Backwards-incompatible change.)
147
-
148
-
149
- ### Version 0.1.0 (2014-03-08) ###
150
-
151
- - Initial release.
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2014, 2015, 2016, 2017, 2018 Simon Lydell
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.