@agile-team/mach-report 2.13.0 → 2.15.0

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 (260) hide show
  1. package/README.md +20 -7
  2. package/THIRD_PARTY_NOTICES.md +3 -1
  3. package/dist/ExcelBindingWizard-BKH1nGNS.js +1485 -0
  4. package/dist/ExcelBindingWizard-Bs43BGNp.cjs +1 -0
  5. package/dist/ParamEditor-Da4akw6V.cjs +1 -0
  6. package/dist/ParamEditor-DoAhzJsm.js +594 -0
  7. package/dist/{ReportBatchPanel-CW2HV9I8.js → ReportBatchPanel-BMf6boMA.js} +39 -39
  8. package/dist/ReportBatchPanel-wP9m9Pj1.cjs +1 -0
  9. package/dist/ReportPreview-ChV19HBp.js +4619 -0
  10. package/dist/ReportPreview-DbLvvOUT.cjs +6 -0
  11. package/dist/{ReportTemplateLibrary-BZB-XWjj.js → ReportTemplateLibrary-C9wutIiT.js} +1 -1
  12. package/dist/ReportTemplateLibrary-Sxr3eD0J.cjs +1 -0
  13. package/dist/RuleEditor-C_Clasvd.js +2037 -0
  14. package/dist/RuleEditor-XhGHK8DE.cjs +1 -0
  15. package/dist/TemplateOutlinePanel-D6Bkny59.js +96 -0
  16. package/dist/TemplateOutlinePanel-JTSR53vJ.cjs +1 -0
  17. package/dist/TemplateReusePanel-Kx35S0Ql.cjs +1 -0
  18. package/dist/TemplateReusePanel-rVuK1kTz.js +388 -0
  19. package/dist/TemplateReviewPanel-B0ar9_zf.js +592 -0
  20. package/dist/TemplateReviewPanel-Dn6X9UmY.cjs +1 -0
  21. package/dist/analytics.cjs +1 -1
  22. package/dist/analytics.d.cts +3 -1
  23. package/dist/analytics.d.ts +3 -1
  24. package/dist/analytics.js +154 -60
  25. package/dist/artifact-integrity.json +135 -0
  26. package/dist/assets-B9ImAi6_.cjs +1 -0
  27. package/dist/assets-DEaz4qsp.js +124 -0
  28. package/dist/batch-BaP6pWDE.cjs +1 -0
  29. package/dist/batch-BfZHN1do.js +220 -0
  30. package/dist/batch-CGyt-b2W.js +273 -0
  31. package/dist/batch-CLpELXBl.cjs +1 -0
  32. package/dist/capabilities-CAh2Nrue.cjs +1 -0
  33. package/dist/capabilities-DskCHs3V.js +69 -0
  34. package/dist/codes.d.cts +2 -0
  35. package/dist/codes.d.ts +2 -0
  36. package/dist/{computed-Bvk0W15F.js → computed-C-4C2S5h.js} +3 -3
  37. package/dist/config-BVsJXSqS.js +842 -0
  38. package/dist/config-D10us76d.cjs +1 -0
  39. package/dist/data-explanation-B8MZRYVS.js +16 -0
  40. package/dist/data-explanation-DE55G30w.cjs +1 -0
  41. package/dist/designer-2bDlcNXQ.js +5136 -0
  42. package/dist/designer-BT7XCdbW.cjs +2 -0
  43. package/dist/designer.cjs +1 -2
  44. package/dist/designer.d.cts +432 -17
  45. package/dist/designer.d.ts +432 -17
  46. package/dist/designer.js +21 -4312
  47. package/dist/drill-ByJviLXS.js +145 -0
  48. package/dist/drill-DYTxuL3A.cjs +1 -0
  49. package/dist/font-loader-B_UkxpzC.cjs +1 -0
  50. package/dist/font-loader-Q3bQjmrI.js +297 -0
  51. package/dist/index.cjs +8 -8
  52. package/dist/index.d.cts +239 -5
  53. package/dist/index.d.ts +239 -5
  54. package/dist/index.js +939 -893
  55. package/dist/json-snapshot-DFb2eWkf.js +1416 -0
  56. package/dist/json-snapshot-WWSGlaHG.cjs +2 -0
  57. package/dist/licenses/_bwip-js_generic-4.11.4.txt +24 -0
  58. package/dist/licenses/_fast-csv_format-4.3.5.txt +22 -0
  59. package/dist/licenses/_fast-csv_parse-4.3.6.txt +22 -0
  60. package/dist/licenses/_pdf-lib_fontkit-1.1.1.txt +326 -0
  61. package/dist/licenses/_pdf-lib_standard-fonts-1.0.0.txt +22 -0
  62. package/dist/licenses/_pdf-lib_upng-1.0.1.txt +22 -0
  63. package/dist/licenses/_types_node-14.18.63.txt +22 -0
  64. package/dist/licenses/_types_pako-2.0.3.txt +22 -0
  65. package/dist/licenses/_types_pegjs-0.10.6.txt +22 -0
  66. package/dist/licenses/archiver-5.3.2.txt +23 -0
  67. package/dist/licenses/archiver-utils-2.1.0.txt +23 -0
  68. package/dist/licenses/archiver-utils-3.0.4.txt +23 -0
  69. package/dist/licenses/async-3.2.6.txt +20 -0
  70. package/dist/licenses/balanced-match-1.0.2.txt +22 -0
  71. package/dist/licenses/base64-js-1.5.1.txt +22 -0
  72. package/dist/licenses/big-integer-1.6.52.txt +25 -0
  73. package/dist/licenses/binary-0.3.0.txt +178 -0
  74. package/dist/licenses/bl-4.1.0.txt +14 -0
  75. package/dist/licenses/bluebird-3.4.7.txt +22 -0
  76. package/dist/licenses/brace-expansion-1.1.21.txt +22 -0
  77. package/dist/licenses/brace-expansion-2.1.7.txt +22 -0
  78. package/dist/licenses/buffer-5.7.1.txt +22 -0
  79. package/dist/licenses/buffer-crc32-0.2.13.txt +20 -0
  80. package/dist/licenses/buffer-indexof-polyfill-1.0.2.txt +23 -0
  81. package/dist/licenses/buffers-0.1.1.txt +140 -0
  82. package/dist/licenses/chainsaw-0.1.0.txt +184 -0
  83. package/dist/licenses/compress-commons-4.1.2.txt +23 -0
  84. package/dist/licenses/concat-map-0.0.1.txt +19 -0
  85. package/dist/licenses/core-util-is-1.0.3.txt +20 -0
  86. package/dist/licenses/crc-32-1.2.2.txt +202 -0
  87. package/dist/licenses/crc32-stream-4.0.3.txt +23 -0
  88. package/dist/licenses/dayjs-1.11.23.txt +22 -0
  89. package/dist/licenses/duplexer2-0.1.4.txt +27 -0
  90. package/dist/licenses/end-of-stream-1.4.5.txt +22 -0
  91. package/dist/licenses/exceljs-4.4.0.txt +23 -0
  92. package/dist/licenses/fast-csv-4.3.6.txt +22 -0
  93. package/dist/licenses/fast-png-6.4.0.txt +22 -0
  94. package/dist/licenses/fs-constants-1.0.0.txt +22 -0
  95. package/dist/licenses/fs.realpath-1.0.0.txt +44 -0
  96. package/dist/licenses/fstream-1.0.12.txt +16 -0
  97. package/dist/licenses/glob-7.2.3.txt +22 -0
  98. package/dist/licenses/graceful-fs-4.2.11.txt +16 -0
  99. package/dist/licenses/ieee754-1.2.1.txt +12 -0
  100. package/dist/licenses/immediate-3.0.6.txt +21 -0
  101. package/dist/licenses/inflight-1.0.6.txt +16 -0
  102. package/dist/licenses/inherits-2.0.4.txt +17 -0
  103. package/dist/licenses/iobuffer-5.4.0.txt +23 -0
  104. package/dist/licenses/isarray-1.0.0.txt +61 -0
  105. package/dist/licenses/jszip-3.10.2.txt +652 -0
  106. package/dist/licenses/lazystream-1.0.1.txt +24 -0
  107. package/dist/licenses/lie-3.3.0.txt +8 -0
  108. package/dist/licenses/listenercount-1.0.1.txt +6 -0
  109. package/dist/licenses/lodash.defaults-4.2.0.txt +48 -0
  110. package/dist/licenses/lodash.difference-4.5.0.txt +48 -0
  111. package/dist/licenses/lodash.escaperegexp-4.1.2.txt +48 -0
  112. package/dist/licenses/lodash.flatten-4.4.0.txt +48 -0
  113. package/dist/licenses/lodash.groupby-4.6.0.txt +48 -0
  114. package/dist/licenses/lodash.isboolean-3.0.3.txt +23 -0
  115. package/dist/licenses/lodash.isequal-4.5.0.txt +48 -0
  116. package/dist/licenses/lodash.isfunction-3.0.9.txt +48 -0
  117. package/dist/licenses/lodash.isnil-4.0.0.txt +23 -0
  118. package/dist/licenses/lodash.isplainobject-4.0.6.txt +48 -0
  119. package/dist/licenses/lodash.isundefined-3.0.1.txt +23 -0
  120. package/dist/licenses/lodash.union-4.6.0.txt +48 -0
  121. package/dist/licenses/lodash.uniq-4.5.0.txt +48 -0
  122. package/dist/licenses/minimatch-3.1.5.txt +16 -0
  123. package/dist/licenses/minimatch-5.1.9.txt +16 -0
  124. package/dist/licenses/minimist-1.2.8.txt +19 -0
  125. package/dist/licenses/mkdirp-0.5.6.txt +22 -0
  126. package/dist/licenses/node-sql-parser-5.4.0.txt +202 -0
  127. package/dist/licenses/normalize-path-3.0.0.txt +22 -0
  128. package/dist/licenses/once-1.4.0.txt +16 -0
  129. package/dist/licenses/pako-1.0.11.txt +22 -0
  130. package/dist/licenses/pako-2.2.0.txt +22 -0
  131. package/dist/licenses/path-is-absolute-1.0.1.txt +22 -0
  132. package/dist/licenses/pdf-lib-1.17.1.txt +22 -0
  133. package/dist/licenses/process-nextick-args-2.0.1.txt +20 -0
  134. package/dist/licenses/readable-stream-2.3.8.txt +48 -0
  135. package/dist/licenses/readable-stream-3.6.2.txt +48 -0
  136. package/dist/licenses/readdir-glob-1.1.3.txt +202 -0
  137. package/dist/licenses/rimraf-2.7.1.txt +16 -0
  138. package/dist/licenses/safe-buffer-5.1.2.txt +22 -0
  139. package/dist/licenses/safe-buffer-5.2.1.txt +22 -0
  140. package/dist/licenses/saxes-5.0.1.txt +397 -0
  141. package/dist/licenses/setimmediate-1.0.5.txt +21 -0
  142. package/dist/licenses/string_decoder-1.1.1.txt +49 -0
  143. package/dist/licenses/string_decoder-1.3.0.txt +49 -0
  144. package/dist/licenses/tar-stream-2.2.0.txt +22 -0
  145. package/dist/licenses/tmp-0.2.7.txt +22 -0
  146. package/dist/licenses/traverse-0.3.9.txt +25 -0
  147. package/dist/licenses/tslib-1.14.1.txt +13 -0
  148. package/dist/licenses/unzipper-0.10.14.txt +26 -0
  149. package/dist/licenses/util-deprecate-1.0.2.txt +25 -0
  150. package/dist/licenses/uuid-11.1.1.txt +10 -0
  151. package/dist/licenses/wrappy-1.0.2.txt +16 -0
  152. package/dist/licenses/xmlchars-2.2.0.txt +19 -0
  153. package/dist/licenses/zip-stream-4.1.1.txt +23 -0
  154. package/dist/matrix-CGRGkn5s.js +112 -0
  155. package/dist/matrix-gEO7ZM_u.cjs +1 -0
  156. package/dist/media-B7vnpD8k.cjs +1 -0
  157. package/dist/media-Y90dHK9z.js +70 -0
  158. package/dist/param-validation-C3HlcLLO.cjs +1 -0
  159. package/dist/param-validation-Do7Eg8Zv.js +181 -0
  160. package/dist/pdf-BwNyeGpt.js +36352 -0
  161. package/dist/pdf-CvvrjPQg.cjs +103 -0
  162. package/dist/pdf.cjs +1 -101
  163. package/dist/pdf.d.cts +18 -3
  164. package/dist/pdf.d.ts +18 -3
  165. package/dist/pdf.js +9 -36579
  166. package/dist/plugin-Ca_XZG3l.js +22 -0
  167. package/dist/{plugin-DzS6pxTA.cjs → plugin-DHO7X8z2.cjs} +1 -1
  168. package/dist/prepared-CFy9B75C.cjs +1 -0
  169. package/dist/prepared-ajM-H-9B.js +69 -0
  170. package/dist/progress-B0ctFpKf.cjs +1 -0
  171. package/dist/progress-D-OTpEav.js +52 -0
  172. package/dist/{record-bindings-D-5jQlTj.js → record-bindings-Do_b3h4V.js} +1 -1
  173. package/dist/{region-binding-workflow-CcUq8W2Q.js → region-binding-workflow-BMhK_TjP.js} +1 -1
  174. package/dist/{region-binding-workflow-BzfbxRiR.cjs → region-binding-workflow-DIYJdCUr.cjs} +1 -1
  175. package/dist/{report-params-B44imUd4.js → report-params-B1RzkhJj.js} +1 -1
  176. package/dist/{report-params-SJfhKgaX.cjs → report-params-WDGrA4oP.cjs} +1 -1
  177. package/dist/sbom.cdx.json +3982 -0
  178. package/dist/server/node.d.cts +66 -12
  179. package/dist/server/node.d.ts +66 -12
  180. package/dist/server-node.cjs +1 -1
  181. package/dist/server-node.js +405 -381
  182. package/dist/server.cjs +1 -1
  183. package/dist/server.d.cts +878 -15
  184. package/dist/server.d.ts +878 -15
  185. package/dist/server.js +1034 -534
  186. package/dist/sha256-ArEYjaTI.cjs +1 -0
  187. package/dist/sha256-DPEuJ3nh.js +155 -0
  188. package/dist/style.css +1 -1
  189. package/dist/template-bindings-C2SpvsMU.js +58 -0
  190. package/dist/template-bindings-CEtWyiLX.cjs +1 -0
  191. package/dist/template-catalog-FJE_c9Qe.cjs +1 -0
  192. package/dist/template-catalog-j2B1MJlL.js +414 -0
  193. package/dist/template-fragments-BGbQLGlV.js +187 -0
  194. package/dist/template-fragments-DcKeiylI.cjs +1 -0
  195. package/dist/template-outline-BwRV_eRo.cjs +1 -0
  196. package/dist/template-outline-cnWfT_LK.js +88 -0
  197. package/dist/{template-registry-BjE1VS6g.js → template-registry-BtaKPELV.js} +364 -201
  198. package/dist/template-registry-Co1zPq5e.cjs +1 -0
  199. package/dist/textwrap-CWHyzkBH.cjs +4 -0
  200. package/dist/textwrap-DE1kgcJB.js +110 -0
  201. package/dist/{tree-CqcQ99NM.js → tree-CjVZLRw7.js} +1 -1
  202. package/dist/{useLocalDraft-C07SYRnC.js → useLocalDraft-BnhcxXk_.js} +1 -1
  203. package/dist/{useLocalDraft-Yiw1wFgI.cjs → useLocalDraft-CioIfDb6.cjs} +1 -1
  204. package/dist/vue/async.d.cts +190 -15
  205. package/dist/vue/async.d.ts +190 -15
  206. package/dist/vue/index.d.cts +274 -24
  207. package/dist/vue/index.d.ts +274 -24
  208. package/dist/vue-async.cjs +1 -1
  209. package/dist/vue-async.js +5 -5
  210. package/dist/vue.cjs +1 -1
  211. package/dist/vue.js +90 -81
  212. package/dist/{workbook-session-DNa2RHNG.cjs → workbook-session-Bjv1YCRK.cjs} +18 -18
  213. package/dist/{workbook-session-BPb3TMnT.js → workbook-session-BvToI-Fd.js} +5440 -5288
  214. package/dist/worker.cjs +1 -1
  215. package/dist/worker.d.cts +66 -12
  216. package/dist/worker.d.ts +66 -12
  217. package/dist/worker.js +61 -56
  218. package/dist/xlsx-node.cjs +34 -34
  219. package/dist/xlsx-node.js +878 -870
  220. package/dist/xlsx.cjs +3 -4
  221. package/dist/xlsx.d.cts +22 -10
  222. package/dist/xlsx.d.ts +22 -10
  223. package/dist/xlsx.js +261 -253
  224. package/package.json +2 -2
  225. package/dist/ExcelBindingWizard-CeAf4QSE.js +0 -1465
  226. package/dist/ExcelBindingWizard-y0mT-AHR.cjs +0 -1
  227. package/dist/ParamEditor-BLaE5q5W.js +0 -522
  228. package/dist/ParamEditor-MBBC7lUE.cjs +0 -1
  229. package/dist/ReportBatchPanel-Fp1ePFag.cjs +0 -1
  230. package/dist/ReportPreview-BN6fk7Wz.cjs +0 -6
  231. package/dist/ReportPreview-D2Jkyh1U.js +0 -4243
  232. package/dist/ReportTemplateLibrary-5fk5CQBO.cjs +0 -1
  233. package/dist/RuleEditor-ChRzNQuF.cjs +0 -1
  234. package/dist/RuleEditor-DzAmW5YH.js +0 -2024
  235. package/dist/TemplateReviewPanel-BKofGrV9.js +0 -222
  236. package/dist/TemplateReviewPanel-DwtOcLue.cjs +0 -1
  237. package/dist/assets-C2U-e-Sz.cjs +0 -4
  238. package/dist/assets-Q0wUwNrV.js +0 -217
  239. package/dist/batch-Bt3Fd27Z.cjs +0 -1
  240. package/dist/batch-mRqhhhjt.js +0 -364
  241. package/dist/capabilities-CK_7hizc.js +0 -63
  242. package/dist/capabilities-CsZ-pNHR.cjs +0 -1
  243. package/dist/config-Bb7RiIO5.cjs +0 -1
  244. package/dist/config-XVwG87IA.js +0 -529
  245. package/dist/matrix-DVyWiYsd.cjs +0 -1
  246. package/dist/matrix-yZsGnldA.js +0 -227
  247. package/dist/page-window-index-CIuT4BAv.js +0 -43
  248. package/dist/page-window-index-DEjnM6IB.cjs +0 -1
  249. package/dist/param-validation-BlHHXs6u.js +0 -153
  250. package/dist/param-validation-DCK039V1.cjs +0 -1
  251. package/dist/plugin-D4wizDXB.js +0 -22
  252. package/dist/progress-7OSZbFok.js +0 -39
  253. package/dist/progress-BnLiS5eH.cjs +0 -1
  254. package/dist/task-events-DQ276fn2.cjs +0 -1
  255. package/dist/task-events-Dpsvf_t2.js +0 -47
  256. package/dist/template-registry-D3SjENi6.cjs +0 -1
  257. package/dist/template-review-DGwWOoCv.cjs +0 -2
  258. package/dist/template-review-PgEe_Wr9.js +0 -1742
  259. package/dist/validate-BJ5HIWY8.cjs +0 -1
  260. package/dist/validate-DbgEM1Hh.js +0 -163
@@ -0,0 +1,16 @@
1
+ --- LICENSE ---
2
+ The ISC License
3
+
4
+ Copyright (c) Isaac Z. Schlueter and Contributors
5
+
6
+ Permission to use, copy, modify, and/or distribute this software for any
7
+ purpose with or without fee is hereby granted, provided that the above
8
+ copyright notice and this permission notice appear in all copies.
9
+
10
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
16
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -0,0 +1,22 @@
1
+ --- LICENSE ---
2
+ The MIT License (MIT)
3
+
4
+ Copyright (c) Feross Aboukhadijeh
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.
@@ -0,0 +1,22 @@
1
+ --- LICENSE ---
2
+ The MIT License (MIT)
3
+
4
+ Copyright (c) Feross Aboukhadijeh
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.
@@ -0,0 +1,397 @@
1
+ --- README.md ---
2
+ # saxes
3
+
4
+ A sax-style non-validating parser for XML.
5
+
6
+ Saxes is a fork of [sax](https://github.com/isaacs/sax-js) 1.2.4. All mentions
7
+ of sax in this project's documentation are references to sax 1.2.4.
8
+
9
+ Designed with [node](http://nodejs.org/) in mind, but should work fine in the
10
+ browser or other CommonJS implementations.
11
+
12
+ Saxes does not support Node versions older than 10.
13
+
14
+ ## Notable Differences from Sax.
15
+
16
+ * Saxes aims to be much stricter than sax with regards to XML
17
+ well-formedness. Sax, even in its so-called "strict mode", is not strict. It
18
+ silently accepts structures that are not well-formed XML. Projects that need
19
+ better compliance with well-formedness constraints cannot use sax as-is.
20
+
21
+ Consequently, saxes does not support HTML, or pseudo-XML, or bad XML. Saxes
22
+ will report well-formedness errors in all these cases but it won't try to
23
+ extract data from malformed documents like sax does.
24
+
25
+ * Saxes is much much faster than sax, mostly because of a substantial redesign
26
+ of the internal parsing logic. The speed improvement is not merely due to
27
+ removing features that were supported by sax. That helped a bit, but saxes
28
+ adds some expensive checks in its aim for conformance with the XML
29
+ specification. Redesigning the parsing logic is what accounts for most of the
30
+ performance improvement.
31
+
32
+ * Saxes does not aim to support antiquated platforms. We will not pollute the
33
+ source or the default build with support for antiquated platforms. If you want
34
+ support for IE 11, you are welcome to produce a PR that adds a *new build*
35
+ transpiled to ES5.
36
+
37
+ * Saxes handles errors differently from sax: it provides a default onerror
38
+ handler which throws. You can replace it with your own handler if you want. If
39
+ your handler does nothing, there is no `resume` method to call.
40
+
41
+ * There's no `Stream` API. A revamped API may be introduced later. (It is still
42
+ a "streaming parser" in the general sense that you write a character stream to
43
+ it.)
44
+
45
+ * Saxes does not have facilities for limiting the size the data chunks passed to
46
+ event handlers. See the FAQ entry for more details.
47
+
48
+ ## Conformance
49
+
50
+ Saxes supports:
51
+
52
+ * [XML 1.0 fifth edition](https://www.w3.org/TR/2008/REC-xml-20081126/)
53
+ * [XML 1.1 second edition](https://www.w3.org/TR/2006/REC-xml11-20060816/)
54
+ * [Namespaces in XML 1.0 (Third Edition)](https://www.w3.org/TR/2009/REC-xml-names-20091208/).
55
+ * [Namespaces in XML 1.1 (Second Edition)](https://www.w3.org/TR/2006/REC-xml-names11-20060816/).
56
+
57
+ ## Limitations
58
+
59
+ This is a non-validating parser so it only verifies whether the document is
60
+ well-formed. We do aim to raise errors for all malformed constructs
61
+ encountered. However, this parser does not thorougly parse the contents of
62
+ DTDs. So most malformedness errors caused by errors **in DTDs** cannot be
63
+ reported.
64
+
65
+ ## Regarding `<!DOCTYPE` and `<!ENTITY`
66
+
67
+ The parser will handle the basic XML entities in text nodes and attribute
68
+ values: `&amp; &lt; &gt; &apos; &quot;`. It's possible to define additional
69
+ entities in XML by putting them in the DTD. This parser doesn't do anything with
70
+ that. If you want to listen to the `doctype` event, and then fetch the
71
+ doctypes, and read the entities and add them to `parser.ENTITIES`, then be my
72
+ guest.
73
+
74
+ ## Documentation
75
+
76
+ The source code contains JSDOC comments. Use them. What follows is a brief
77
+ summary of what is available. The final authority is the source code.
78
+
79
+ **PAY CLOSE ATTENTION TO WHAT IS PUBLIC AND WHAT IS PRIVATE.**
80
+
81
+ The move to TypeScript makes it so that everything is now formally private,
82
+ protected, or public.
83
+
84
+ If you use anything not public, that's at your own peril.
85
+
86
+ If there's a mistake in the documentation, raise an issue. If you just assume,
87
+ you may assume incorrectly.
88
+
89
+ ## Summary Usage Information
90
+
91
+ ### Example
92
+
93
+ ```javascript
94
+ var saxes = require("./lib/saxes"),
95
+ parser = new saxes.SaxesParser();
96
+
97
+ parser.on("error", function (e) {
98
+ // an error happened.
99
+ });
100
+ parser.on("text", function (t) {
101
+ // got some text. t is the string of text.
102
+ });
103
+ parser.on("opentag", function (node) {
104
+ // opened a tag. node has "name" and "attributes"
105
+ });
106
+ parser.on("end", function () {
107
+ // parser stream is done, and ready to have more stuff written to it.
108
+ });
109
+
110
+ parser.write('<xml>Hello, <who name="world">world</who>!</xml>').close();
111
+ ```
112
+
113
+ ### Constructor Arguments
114
+
115
+ Settings supported:
116
+
117
+ * `xmlns` - Boolean. If `true`, then namespaces are supported. Default
118
+ is `false`.
119
+
120
+ * `position` - Boolean. If `false`, then don't track line/col/position. Unset is
121
+ treated as `true`. Default is unset. Currently, setting this to `false` only
122
+ results in a cosmetic change: the errors reported do not contain position
123
+ information. sax-js would literally turn off the position-computing logic if
124
+ this flag was set to false. The notion was that it would optimize
125
+ execution. In saxes at least it turns out that continually testing this flag
126
+ causes a cost that offsets the benefits of turning off this logic.
127
+
128
+ * `fileName` - String. Set a file name for error reporting. This is useful only
129
+ when tracking positions. You may leave it unset.
130
+
131
+ * `fragment` - Boolean. If `true`, parse the XML as an XML fragment. Default is
132
+ `false`.
133
+
134
+ * `additionalNamespaces` - A plain object whose key, value pairs define
135
+ namespaces known before parsing the XML file. It is not legal to pass
136
+ bindings for the namespaces `"xml"` or `"xmlns"`.
137
+
138
+ * `defaultXMLVersion` - The default version of the XML specification to use if
139
+ the document contains no XML declaration. If the document does contain an XML
140
+ declaration, then this setting is ignored. Must be `"1.0"` or `"1.1"`. The
141
+ default is `"1.0"`.
142
+
143
+ * `forceXMLVersion` - Boolean. A flag indicating whether to force the XML
144
+ version used for parsing to the value of ``defaultXMLVersion``. When this flag
145
+ is ``true``, ``defaultXMLVersion`` must be specified. If unspecified, the
146
+ default value of this flag is ``false``.
147
+
148
+ Example: suppose you are parsing a document that has an XML declaration
149
+ specifying XML version 1.1.
150
+
151
+ If you set ``defaultXMLVersion`` to ``"1.0"`` without setting
152
+ ``forceXMLVersion`` then the XML declaration will override the value of
153
+ ``defaultXMLVersion`` and the document will be parsed according to XML 1.1.
154
+
155
+ If you set ``defaultXMLVersion`` to ``"1.0"`` and set ``forceXMLVersion`` to
156
+ ``true``, then the XML declaration will be ignored and the document will be
157
+ parsed according to XML 1.0.
158
+
159
+ ### Methods
160
+
161
+ `write` - Write bytes onto the stream. You don't have to pass the whole document
162
+ in one `write` call. You can read your source chunk by chunk and call `write`
163
+ with each chunk.
164
+
165
+ `close` - Close the stream. Once closed, no more data may be written until it is
166
+ done processing the buffer, which is signaled by the `end` event.
167
+
168
+ ### Properties
169
+
170
+ The parser has the following properties:
171
+
172
+ `line`, `column`, `columnIndex`, `position` - Indications of the position in the
173
+ XML document where the parser currently is looking. The `columnIndex` property
174
+ counts columns as if indexing into a JavaScript string, whereas the `column`
175
+ property counts Unicode characters.
176
+
177
+ `closed` - Boolean indicating whether or not the parser can be written to. If
178
+ it's `true`, then wait for the `ready` event to write again.
179
+
180
+ `opt` - Any options passed into the constructor.
181
+
182
+ `xmlDecl` - The XML declaration for this document. It contains the fields
183
+ `version`, `encoding` and `standalone`. They are all `undefined` before
184
+ encountering the XML declaration. If they are undefined after the XML
185
+ declaration, the corresponding value was not set by the declaration. There is no
186
+ event associated with the XML declaration. In a well-formed document, the XML
187
+ declaration may be preceded only by an optional BOM. So by the time any event
188
+ generated by the parser happens, the declaration has been processed if present
189
+ at all. Otherwise, you have a malformed document, and as stated above, you
190
+ cannot rely on the parser data!
191
+
192
+ ### Error Handling
193
+
194
+ The parser continues to parse even upon encountering errors, and does its best
195
+ to continue reporting errors. You should heed all errors reported. After an
196
+ error, however, saxes may interpret your document incorrectly. For instance
197
+ ``<foo a=bc="d"/>`` is invalid XML. Did you mean to have ``<foo a="bc=d"/>`` or
198
+ ``<foo a="b" c="d"/>`` or some other variation? For the sake of continuing to
199
+ provide errors, saxes will continue parsing the document, but the structure it
200
+ reports may be incorrect. It is only after the errors are fixed in the document
201
+ that saxes can provide a reliable interpretation of the document.
202
+
203
+ That leaves you with two rules of thumb when using saxes:
204
+
205
+ * Pay attention to the errors that saxes report. The default `onerror` handler
206
+ throws, so by default, you cannot miss errors.
207
+
208
+ * **ONCE AN ERROR HAS BEEN ENCOUNTERED, STOP RELYING ON THE EVENT HANDLERS OTHER
209
+ THAN `onerror`.** As explained above, when saxes runs into a well-formedness
210
+ problem, it makes a guess in order to continue reporting more errors. The guess
211
+ may be wrong.
212
+
213
+ ### Events
214
+
215
+ To listen to an event, override `on<eventname>`. The list of supported events
216
+ are also in the exported `EVENTS` array.
217
+
218
+ See the JSDOC comments in the source code for a description of each supported
219
+ event.
220
+
221
+ ### Parsing XML Fragments
222
+
223
+ The XML specification does not define any method by which to parse XML
224
+ fragments. However, there are usage scenarios in which it is desirable to parse
225
+ fragments. In order to allow this, saxes provides three initialization options.
226
+
227
+ If you pass the option `fragment: true` to the parser constructor, the parser
228
+ will expect an XML fragment. It essentially starts with a parsing state
229
+ equivalent to the one it would be in if `parser.write("<foo">)` had been called
230
+ right after initialization. In other words, it expects content which is
231
+ acceptable inside an element. This also turns off well-formedness checks that
232
+ are inappropriate when parsing a fragment.
233
+
234
+ The option `additionalNamespaces` allows you to define additional prefix-to-URI
235
+ bindings known before parsing starts. You would use this over `resolvePrefix` if
236
+ you have at the ready a series of namespaces bindings to use.
237
+
238
+ The option `resolvePrefix` allows you to pass a function which saxes will use if
239
+ it is unable to resolve a namespace prefix by itself. You would use this over
240
+ `additionalNamespaces` in a context where getting a complete list of defined
241
+ namespaces is onerous.
242
+
243
+ Note that you can use `additionalNamespaces` and `resolvePrefix` together if you
244
+ want. `additionalNamespaces` applies before `resolvePrefix`.
245
+
246
+ The options `additionalNamespaces` and `resolvePrefix` are really meant to be
247
+ used for parsing fragments. However, saxes won't prevent you from using them
248
+ with `fragment: false`. Note that if you do this, your document may parse
249
+ without errors and yet be malformed because the document can refer to namespaces
250
+ which are not defined *in* the document.
251
+
252
+ Of course, `additionalNamespaces` and `resolvePrefix` are used only if `xmlns`
253
+ is `true`. If you are parsing a fragment that does not use namespaces, there's
254
+ no point in setting these options.
255
+
256
+ ### Performance Tips
257
+
258
+ * saxes works faster on files that use newlines (``\u000A``) as end of line
259
+ markers than files that use other end of line markers (like ``\r`` or
260
+ ``\r\n``). The XML specification requires that conformant applications behave
261
+ as if all characters that are to be treated as end of line characters are
262
+ converted to ``\u000A`` prior to parsing. The optimal code path for saxes is a
263
+ file in which all end of line characters are already ``\u000A``.
264
+
265
+ * Don't split Unicode strings you feed to saxes across surrogates. When you
266
+ naively split a string in JavaScript, you run the risk of splitting a Unicode
267
+ character into two surrogates. e.g. In the following example ``a`` and ``b``
268
+ each contain half of a single Unicode character: ``const a = "\u{1F4A9}"[0];
269
+ const b = "\u{1F4A9}"[1]`` If you feed such split surrogates to versions of
270
+ saxes prior to 4, you'd get errors. Saxes version 4 and over are able to
271
+ detect when a chunk of data ends with a surrogate and carry over the surrogate
272
+ to the next chunk. However this operation entails slicing and concatenating
273
+ strings. If you can feed your data in a way that does not split surrogates,
274
+ you should do it. (Obviously, feeding all the data at once with a single write
275
+ is fastest.)
276
+
277
+ * Don't set event handlers you don't need. Saxes has always aimed to avoid doing
278
+ work that will just be tossed away but future improvements hope to do this
279
+ more aggressively. One way saxes knows whether or not some data is needed is
280
+ by checking whether a handler has been set for a specific event.
281
+
282
+ ## FAQ
283
+
284
+ Q. Why has saxes dropped support for limiting the size of data chunks passed to
285
+ event handlers?
286
+
287
+ A. With sax you could set ``MAX_BUFFER_LENGTH`` to cause the parser to limit the
288
+ size of data chunks passed to event handlers. So if you ran into a span of text
289
+ above the limit, multiple ``text`` events with smaller data chunks were fired
290
+ instead of a single event with a large chunk.
291
+
292
+ However, that functionality had some problematic characteristics. It had an
293
+ arbitrary default value. It was library-wide so all parsers created from a
294
+ single instance of the ``sax`` library shared it. This could potentially cause
295
+ conflicts among libraries running in the same VM but using sax for different
296
+ purposes.
297
+
298
+ These issues could have been easily fixed, but there were larger issues. The
299
+ buffer limit arbitrarily applied to some events but not others. It would split
300
+ ``text``, ``cdata`` and ``script`` events. However, if a ``comment``,
301
+ ``doctype``, ``attribute`` or ``processing instruction`` were more than the
302
+ limit, the parser would generate an error and you were left picking up the
303
+ pieces.
304
+
305
+ It was not intuitive to use. You'd think setting the limit to 1K would prevent
306
+ chunks bigger than 1K to be passed to event handlers. But that was not the
307
+ case. A comment in the source code told you that you might go over the limit if
308
+ you passed large chunks to ``write``. So if you want a 1K limit, don't pass 64K
309
+ chunks to ``write``. Fair enough. You know what limit you want so you can
310
+ control the size of the data you pass to ``write``. So you limit the chunks to
311
+ ``write`` to 1K at a time. Even if you do this, your event handlers may get data
312
+ chunks that are 2K in size. Suppose on the previous ``write`` the parser has
313
+ just finished processing an open tag, so it is ready for text. Your ``write``
314
+ passes 1K of text. You are not above the limit yet, so no event is generated
315
+ yet. The next ``write`` passes another 1K of text. It so happens that sax checks
316
+ buffer limits only once per ``write``, after the chunk of data has been
317
+ processed. Now you've hit the limit and you get a ``text`` event with 2K of
318
+ data. So even if you limit your ``write`` calls to the buffer limit you've set,
319
+ you may still get events with chunks at twice the buffer size limit you've
320
+ specified.
321
+
322
+ We may consider reinstating an equivalent functionality, provided that it
323
+ addresses the issues above and does not cause a huge performance drop for
324
+ use-case scenarios that don't need it.
325
+
326
+
327
+ --- package.json ---
328
+ {
329
+ "name": "saxes",
330
+ "description": "An evented streaming XML parser in JavaScript",
331
+ "author": "Louis-Dominique Dubeau <ldd@lddubeau.com>",
332
+ "version": "5.0.1",
333
+ "main": "saxes.js",
334
+ "types": "saxes.d.ts",
335
+ "license": "ISC",
336
+ "engines": {
337
+ "node": ">=10"
338
+ },
339
+ "scripts": {
340
+ "tsc": "tsc",
341
+ "copy": "cp -p README.md build/dist && sed -e'/\"private\": true/d' package.json > build/dist/package.json",
342
+ "build": "npm run tsc && npm run copy",
343
+ "test": "npm run build && mocha --delay",
344
+ "lint": "eslint --ignore-path .gitignore '**/*.ts' '**/*.js'",
345
+ "lint-fix": "npm run lint -- --fix",
346
+ "posttest": "npm run lint",
347
+ "typedoc": "typedoc --tsconfig tsconfig.json --name saxes --out build/docs/ --listInvalidSymbolLinks --excludePrivate --excludeNotExported",
348
+ "build-docs": "npm run typedoc",
349
+ "gh-pages": "npm run build-docs && mkdir -p build && (cd build; rm -rf gh-pages; git clone .. --branch gh-pages gh-pages) && mkdir -p build/gh-pages/latest && find build/gh-pages/latest -type f -delete && cp -rp build/docs/* build/gh-pages/latest && find build/gh-pages -type d -empty -delete",
350
+ "self:publish": "cd build/dist && npm_config_tag=`simple-dist-tag` npm publish",
351
+ "version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
352
+ "postversion": "npm run test && npm run self:publish",
353
+ "postpublish": "git push origin --follow-tags"
354
+ },
355
+ "repository": "https://github.com/lddubeau/saxes.git",
356
+ "devDependencies": {
357
+ "@commitlint/cli": "^8.3.5",
358
+ "@commitlint/config-angular": "^8.3.4",
359
+ "@types/chai": "^4.2.11",
360
+ "@types/mocha": "^7.0.2",
361
+ "@typescript-eslint/eslint-plugin": "^2.27.0",
362
+ "@typescript-eslint/eslint-plugin-tslint": "^2.27.0",
363
+ "@typescript-eslint/parser": "^2.27.0",
364
+ "@xml-conformance-suite/js": "^2.0.0",
365
+ "@xml-conformance-suite/mocha": "^2.0.0",
366
+ "@xml-conformance-suite/test-data": "^2.0.0",
367
+ "chai": "^4.2.0",
368
+ "conventional-changelog-cli": "^2.0.31",
369
+ "eslint": "^6.8.0",
370
+ "eslint-config-lddubeau-base": "^5.2.0",
371
+ "eslint-config-lddubeau-ts": "^1.1.7",
372
+ "eslint-import-resolver-typescript": "^2.0.0",
373
+ "eslint-plugin-import": "^2.20.2",
374
+ "eslint-plugin-jsx-a11y": "^6.2.3",
375
+ "eslint-plugin-prefer-arrow": "^1.2.0",
376
+ "eslint-plugin-react": "^7.19.0",
377
+ "eslint-plugin-simple-import-sort": "^5.0.2",
378
+ "husky": "^4.2.5",
379
+ "mocha": "^7.1.1",
380
+ "renovate-config-lddubeau": "^1.0.0",
381
+ "simple-dist-tag": "^1.0.2",
382
+ "ts-node": "^8.8.2",
383
+ "tsd": "^0.11.0",
384
+ "tslint": "^6.1.1",
385
+ "tslint-microsoft-contrib": "^6.2.0",
386
+ "typedoc": "^0.17.4",
387
+ "typescript": "^3.8.3"
388
+ },
389
+ "dependencies": {
390
+ "xmlchars": "^2.2.0"
391
+ },
392
+ "husky": {
393
+ "hooks": {
394
+ "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
395
+ }
396
+ }
397
+ }
@@ -0,0 +1,21 @@
1
+ --- LICENSE.txt ---
2
+ Copyright (c) 2012 Barnesandnoble.com, llc, Donavon West, and Domenic Denicola
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining
5
+ a copy of this software and associated documentation files (the
6
+ "Software"), to deal in the Software without restriction, including
7
+ without limitation the rights to use, copy, modify, merge, publish,
8
+ distribute, sublicense, and/or sell copies of the Software, and to
9
+ permit persons to whom the Software is furnished to do so, subject to
10
+ the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,49 @@
1
+ --- LICENSE ---
2
+ Node.js is licensed for use as follows:
3
+
4
+ """
5
+ Copyright Node.js contributors. All rights reserved.
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to
9
+ deal in the Software without restriction, including without limitation the
10
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
11
+ sell copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in
15
+ all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
23
+ IN THE SOFTWARE.
24
+ """
25
+
26
+ This license applies to parts of Node.js originating from the
27
+ https://github.com/joyent/node repository:
28
+
29
+ """
30
+ Copyright Joyent, Inc. and other Node contributors. All rights reserved.
31
+ Permission is hereby granted, free of charge, to any person obtaining a copy
32
+ of this software and associated documentation files (the "Software"), to
33
+ deal in the Software without restriction, including without limitation the
34
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
35
+ sell copies of the Software, and to permit persons to whom the Software is
36
+ furnished to do so, subject to the following conditions:
37
+
38
+ The above copyright notice and this permission notice shall be included in
39
+ all copies or substantial portions of the Software.
40
+
41
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
42
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
43
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
44
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
45
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
46
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
47
+ IN THE SOFTWARE.
48
+ """
49
+
@@ -0,0 +1,49 @@
1
+ --- LICENSE ---
2
+ Node.js is licensed for use as follows:
3
+
4
+ """
5
+ Copyright Node.js contributors. All rights reserved.
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to
9
+ deal in the Software without restriction, including without limitation the
10
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
11
+ sell copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in
15
+ all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
23
+ IN THE SOFTWARE.
24
+ """
25
+
26
+ This license applies to parts of Node.js originating from the
27
+ https://github.com/joyent/node repository:
28
+
29
+ """
30
+ Copyright Joyent, Inc. and other Node contributors. All rights reserved.
31
+ Permission is hereby granted, free of charge, to any person obtaining a copy
32
+ of this software and associated documentation files (the "Software"), to
33
+ deal in the Software without restriction, including without limitation the
34
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
35
+ sell copies of the Software, and to permit persons to whom the Software is
36
+ furnished to do so, subject to the following conditions:
37
+
38
+ The above copyright notice and this permission notice shall be included in
39
+ all copies or substantial portions of the Software.
40
+
41
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
42
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
43
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
44
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
45
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
46
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
47
+ IN THE SOFTWARE.
48
+ """
49
+
@@ -0,0 +1,22 @@
1
+ --- LICENSE ---
2
+ The MIT License (MIT)
3
+
4
+ Copyright (c) 2014 Mathias Buus
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.
@@ -0,0 +1,22 @@
1
+ --- LICENSE ---
2
+ The MIT License (MIT)
3
+
4
+ Copyright (c) 2014 KARASZI István
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
@@ -0,0 +1,25 @@
1
+ --- LICENSE ---
2
+ Copyright 2010 James Halliday (mail@substack.net)
3
+
4
+ This project is free software released under the MIT/X11 license:
5
+ http://www.opensource.org/licenses/mit-license.php
6
+
7
+ Copyright 2010 James Halliday (mail@substack.net)
8
+
9
+ Permission is hereby granted, free of charge, to any person obtaining a copy
10
+ of this software and associated documentation files (the "Software"), to deal
11
+ in the Software without restriction, including without limitation the rights
12
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13
+ copies of the Software, and to permit persons to whom the Software is
14
+ furnished to do so, subject to the following conditions:
15
+
16
+ The above copyright notice and this permission notice shall be included in
17
+ all copies or substantial portions of the Software.
18
+
19
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
25
+ THE SOFTWARE.
@@ -0,0 +1,13 @@
1
+ --- LICENSE.txt ---
2
+ Copyright (c) Microsoft Corporation.
3
+
4
+ Permission to use, copy, modify, and/or distribute this software for any
5
+ purpose with or without fee is hereby granted.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
+ PERFORMANCE OF THIS SOFTWARE.