partial-json-repair 0.0.0-stage → 0.1.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 (326) hide show
  1. package/LICENSE +181 -0
  2. package/README.md +1263 -2
  3. package/SECURITY.md +65 -0
  4. package/dist/AGENTS.md +85 -0
  5. package/dist/async-configuration.d.ts +14 -0
  6. package/dist/async-configuration.d.ts.map +1 -0
  7. package/dist/async-configuration.js +35 -0
  8. package/dist/async-configuration.js.map +1 -0
  9. package/dist/async-operation.d.ts +41 -0
  10. package/dist/async-operation.d.ts.map +1 -0
  11. package/dist/async-operation.js +171 -0
  12. package/dist/async-operation.js.map +1 -0
  13. package/dist/async-parser.d.ts +13 -0
  14. package/dist/async-parser.d.ts.map +1 -0
  15. package/dist/async-parser.js +131 -0
  16. package/dist/async-parser.js.map +1 -0
  17. package/dist/async-worker.js +615 -0
  18. package/dist/async-worker.js.map +1 -0
  19. package/dist/async.d.ts +36 -0
  20. package/dist/async.d.ts.map +1 -0
  21. package/dist/async.js +15 -0
  22. package/dist/async.js.map +1 -0
  23. package/dist/bare-values.js +61 -0
  24. package/dist/bare-values.js.map +1 -0
  25. package/dist/builder.js +646 -0
  26. package/dist/builder.js.map +1 -0
  27. package/dist/builtin-route.js +251 -0
  28. package/dist/builtin-route.js.map +1 -0
  29. package/dist/byte-positions.js +77 -0
  30. package/dist/byte-positions.js.map +1 -0
  31. package/dist/candidate-reader.js +700 -0
  32. package/dist/candidate-reader.js.map +1 -0
  33. package/dist/chars.js +158 -0
  34. package/dist/chars.js.map +1 -0
  35. package/dist/configuration-error.js +125 -0
  36. package/dist/configuration-error.js.map +1 -0
  37. package/dist/cooperative-executor.js +112 -0
  38. package/dist/cooperative-executor.js.map +1 -0
  39. package/dist/cut.js +49 -0
  40. package/dist/cut.js.map +1 -0
  41. package/dist/decoded-fragments.d.ts +7 -0
  42. package/dist/decoded-fragments.d.ts.map +1 -0
  43. package/dist/decoded-fragments.js +97 -0
  44. package/dist/decoded-fragments.js.map +1 -0
  45. package/dist/decoded-picks.js +107 -0
  46. package/dist/decoded-picks.js.map +1 -0
  47. package/dist/edit-log.js +76 -0
  48. package/dist/edit-log.js.map +1 -0
  49. package/dist/exact-number.d.ts +54 -0
  50. package/dist/exact-number.d.ts.map +1 -0
  51. package/dist/exact-number.js +177 -0
  52. package/dist/exact-number.js.map +1 -0
  53. package/dist/index.d.ts +46 -0
  54. package/dist/index.d.ts.map +1 -0
  55. package/dist/index.js +43 -0
  56. package/dist/index.js.map +1 -0
  57. package/dist/joined-stop-signal.js +63 -0
  58. package/dist/joined-stop-signal.js.map +1 -0
  59. package/dist/lexical-window.js +617 -0
  60. package/dist/lexical-window.js.map +1 -0
  61. package/dist/measured-scan-cursor.js +35 -0
  62. package/dist/measured-scan-cursor.js.map +1 -0
  63. package/dist/metrics.d.ts +52 -0
  64. package/dist/metrics.d.ts.map +1 -0
  65. package/dist/metrics.js +218 -0
  66. package/dist/metrics.js.map +1 -0
  67. package/dist/native-slice.js +80 -0
  68. package/dist/native-slice.js.map +1 -0
  69. package/dist/number-fidelity.js +88 -0
  70. package/dist/number-fidelity.js.map +1 -0
  71. package/dist/options.d.ts +323 -0
  72. package/dist/options.d.ts.map +1 -0
  73. package/dist/options.js +309 -0
  74. package/dist/options.js.map +1 -0
  75. package/dist/owned-text.js +30 -0
  76. package/dist/owned-text.js.map +1 -0
  77. package/dist/parser-configuration.d.ts +19 -0
  78. package/dist/parser-configuration.d.ts.map +1 -0
  79. package/dist/parser-configuration.js +61 -0
  80. package/dist/parser-configuration.js.map +1 -0
  81. package/dist/parser-outcome.d.ts +20 -0
  82. package/dist/parser-outcome.d.ts.map +1 -0
  83. package/dist/parser-outcome.js +104 -0
  84. package/dist/parser-outcome.js.map +1 -0
  85. package/dist/parser-stream.d.ts +30 -0
  86. package/dist/parser-stream.d.ts.map +1 -0
  87. package/dist/parser-stream.js +735 -0
  88. package/dist/parser-stream.js.map +1 -0
  89. package/dist/parser.d.ts +105 -0
  90. package/dist/parser.d.ts.map +1 -0
  91. package/dist/path-filter.js +48 -0
  92. package/dist/path-filter.js.map +1 -0
  93. package/dist/picks.js +465 -0
  94. package/dist/picks.js.map +1 -0
  95. package/dist/positions.d.ts +12 -0
  96. package/dist/positions.d.ts.map +1 -0
  97. package/dist/positions.js +82 -0
  98. package/dist/positions.js.map +1 -0
  99. package/dist/pre-scan.js +586 -0
  100. package/dist/pre-scan.js.map +1 -0
  101. package/dist/presets.d.ts +51 -0
  102. package/dist/presets.d.ts.map +1 -0
  103. package/dist/presets.js +53 -0
  104. package/dist/presets.js.map +1 -0
  105. package/dist/quote-ambiguity.js +181 -0
  106. package/dist/quote-ambiguity.js.map +1 -0
  107. package/dist/repair-async.d.ts +13 -0
  108. package/dist/repair-async.d.ts.map +1 -0
  109. package/dist/repair-async.js +11 -0
  110. package/dist/repair-async.js.map +1 -0
  111. package/dist/repair-operation.js +83 -0
  112. package/dist/repair-operation.js.map +1 -0
  113. package/dist/repair-splice.js +217 -0
  114. package/dist/repair-splice.js.map +1 -0
  115. package/dist/report.d.ts +10 -0
  116. package/dist/report.d.ts.map +1 -0
  117. package/dist/report.js +289 -0
  118. package/dist/report.js.map +1 -0
  119. package/dist/root-filter.js +19 -0
  120. package/dist/root-filter.js.map +1 -0
  121. package/dist/root-log.js +68 -0
  122. package/dist/root-log.js.map +1 -0
  123. package/dist/same-thread-strategy.d.ts +16 -0
  124. package/dist/same-thread-strategy.d.ts.map +1 -0
  125. package/dist/same-thread-strategy.js +18 -0
  126. package/dist/same-thread-strategy.js.map +1 -0
  127. package/dist/scalar-reader.js +703 -0
  128. package/dist/scalar-reader.js.map +1 -0
  129. package/dist/scan-cursor.js +118 -0
  130. package/dist/scan-cursor.js.map +1 -0
  131. package/dist/scan-diagnostics.js +371 -0
  132. package/dist/scan-diagnostics.js.map +1 -0
  133. package/dist/scan-readers.js +44 -0
  134. package/dist/scan-readers.js.map +1 -0
  135. package/dist/scan.js +881 -0
  136. package/dist/scan.js.map +1 -0
  137. package/dist/selection-copy.js +70 -0
  138. package/dist/selection-copy.js.map +1 -0
  139. package/dist/selection-feature.d.ts +33 -0
  140. package/dist/selection-feature.d.ts.map +1 -0
  141. package/dist/selection-feature.js +84 -0
  142. package/dist/selection-feature.js.map +1 -0
  143. package/dist/selector.d.ts +27 -0
  144. package/dist/selector.d.ts.map +1 -0
  145. package/dist/selector.js +187 -0
  146. package/dist/selector.js.map +1 -0
  147. package/dist/snapshot-owned.d.ts +6 -0
  148. package/dist/snapshot-owned.d.ts.map +1 -0
  149. package/dist/snapshot-owned.js +27 -0
  150. package/dist/snapshot-owned.js.map +1 -0
  151. package/dist/snapshot-shared.d.ts +6 -0
  152. package/dist/snapshot-shared.d.ts.map +1 -0
  153. package/dist/snapshot-shared.js +42 -0
  154. package/dist/snapshot-shared.js.map +1 -0
  155. package/dist/snapshot.js +151 -0
  156. package/dist/snapshot.js.map +1 -0
  157. package/dist/source-fragments.d.ts +7 -0
  158. package/dist/source-fragments.d.ts.map +1 -0
  159. package/dist/source-fragments.js +104 -0
  160. package/dist/source-fragments.js.map +1 -0
  161. package/dist/source-picks.js +220 -0
  162. package/dist/source-picks.js.map +1 -0
  163. package/dist/span-async.d.ts +13 -0
  164. package/dist/span-async.d.ts.map +1 -0
  165. package/dist/span-async.js +11 -0
  166. package/dist/span-async.js.map +1 -0
  167. package/dist/span-operation.js +12 -0
  168. package/dist/span-operation.js.map +1 -0
  169. package/dist/stop-signal.d.ts +17 -0
  170. package/dist/stop-signal.d.ts.map +1 -0
  171. package/dist/stop-signal.js +22 -0
  172. package/dist/stop-signal.js.map +1 -0
  173. package/dist/stopper.js +96 -0
  174. package/dist/stopper.js.map +1 -0
  175. package/dist/stream-scalars.js +61 -0
  176. package/dist/stream-scalars.js.map +1 -0
  177. package/dist/stream.d.ts +54 -0
  178. package/dist/stream.d.ts.map +1 -0
  179. package/dist/stream.js +23 -0
  180. package/dist/stream.js.map +1 -0
  181. package/dist/string-escapes.js +18 -0
  182. package/dist/string-escapes.js.map +1 -0
  183. package/dist/stringify.d.ts +12 -0
  184. package/dist/stringify.d.ts.map +1 -0
  185. package/dist/stringify.js +210 -0
  186. package/dist/stringify.js.map +1 -0
  187. package/dist/transport.d.ts +50 -0
  188. package/dist/transport.d.ts.map +1 -0
  189. package/dist/transport.js +633 -0
  190. package/dist/transport.js.map +1 -0
  191. package/dist/tree.js +104 -0
  192. package/dist/tree.js.map +1 -0
  193. package/dist/trivia-run.js +111 -0
  194. package/dist/trivia-run.js.map +1 -0
  195. package/dist/try-parsers.d.ts +30 -0
  196. package/dist/try-parsers.d.ts.map +1 -0
  197. package/dist/try-parsers.js +83 -0
  198. package/dist/try-parsers.js.map +1 -0
  199. package/dist/types.d.ts +736 -0
  200. package/dist/types.d.ts.map +1 -0
  201. package/dist/types.js +63 -0
  202. package/dist/types.js.map +1 -0
  203. package/dist/utf8.js +290 -0
  204. package/dist/utf8.js.map +1 -0
  205. package/dist/whole-input.js +58 -0
  206. package/dist/whole-input.js.map +1 -0
  207. package/dist/whole-iteration.js +74 -0
  208. package/dist/whole-iteration.js.map +1 -0
  209. package/dist/whole-operation.d.ts +5 -0
  210. package/dist/whole-operation.d.ts.map +1 -0
  211. package/dist/whole-operation.js +270 -0
  212. package/dist/whole-operation.js.map +1 -0
  213. package/dist/whole-reader.js +399 -0
  214. package/dist/whole-reader.js.map +1 -0
  215. package/dist/whole-source.js +168 -0
  216. package/dist/whole-source.js.map +1 -0
  217. package/dist/worker-executor.d.ts +36 -0
  218. package/dist/worker-executor.d.ts.map +1 -0
  219. package/dist/worker-executor.js +749 -0
  220. package/dist/worker-executor.js.map +1 -0
  221. package/dist/worker-host.d.ts +5 -0
  222. package/dist/worker-host.d.ts.map +1 -0
  223. package/dist/worker-message.d.ts +155 -0
  224. package/dist/worker-message.d.ts.map +1 -0
  225. package/dist/worker-message.js +44 -0
  226. package/dist/worker-message.js.map +1 -0
  227. package/dist/worker-output.js +368 -0
  228. package/dist/worker-output.js.map +1 -0
  229. package/dist/worker-receive.js +41 -0
  230. package/dist/worker-receive.js.map +1 -0
  231. package/dist/worker-route.js +109 -0
  232. package/dist/worker-route.js.map +1 -0
  233. package/dist/worker-strategy.d.ts +10 -0
  234. package/dist/worker-strategy.d.ts.map +1 -0
  235. package/dist/worker-strategy.js +26 -0
  236. package/dist/worker-strategy.js.map +1 -0
  237. package/dist/worker-unavailable.js +12 -0
  238. package/dist/worker-unavailable.js.map +1 -0
  239. package/docs/PRIOR-ART.md +619 -0
  240. package/package.json +48 -4
  241. package/src/async-configuration.ts +64 -0
  242. package/src/async-operation.ts +371 -0
  243. package/src/async-parser.ts +175 -0
  244. package/src/async-worker.ts +446 -0
  245. package/src/async.ts +75 -0
  246. package/src/bare-values.ts +103 -0
  247. package/src/builder.ts +894 -0
  248. package/src/builtin-route.ts +321 -0
  249. package/src/byte-positions.ts +81 -0
  250. package/src/candidate-reader.ts +826 -0
  251. package/src/chars.ts +245 -0
  252. package/src/configuration-error.ts +163 -0
  253. package/src/cooperative-executor.ts +145 -0
  254. package/src/cut.ts +71 -0
  255. package/src/decoded-fragments.ts +116 -0
  256. package/src/decoded-picks.ts +191 -0
  257. package/src/edit-log.ts +87 -0
  258. package/src/exact-number.ts +197 -0
  259. package/src/index.ts +221 -0
  260. package/src/joined-stop-signal.ts +85 -0
  261. package/src/lexical-window.ts +991 -0
  262. package/src/measured-scan-cursor.ts +40 -0
  263. package/src/metrics.ts +344 -0
  264. package/src/native-slice.ts +108 -0
  265. package/src/number-fidelity.ts +131 -0
  266. package/src/options.ts +803 -0
  267. package/src/owned-text.ts +54 -0
  268. package/src/parser-configuration.ts +170 -0
  269. package/src/parser-outcome.ts +156 -0
  270. package/src/parser-stream.ts +972 -0
  271. package/src/parser.ts +173 -0
  272. package/src/path-filter.ts +80 -0
  273. package/src/picks.ts +610 -0
  274. package/src/positions.ts +119 -0
  275. package/src/pre-scan.ts +780 -0
  276. package/src/presets.ts +94 -0
  277. package/src/quote-ambiguity.ts +302 -0
  278. package/src/repair-async.ts +34 -0
  279. package/src/repair-operation.ts +93 -0
  280. package/src/repair-splice.ts +277 -0
  281. package/src/report.ts +386 -0
  282. package/src/root-filter.ts +32 -0
  283. package/src/root-log.ts +104 -0
  284. package/src/same-thread-strategy.ts +51 -0
  285. package/src/scalar-reader.ts +1093 -0
  286. package/src/scan-collect.ts +18 -0
  287. package/src/scan-contract.ts +192 -0
  288. package/src/scan-cursor.ts +142 -0
  289. package/src/scan-diagnostics.ts +436 -0
  290. package/src/scan-readers.ts +96 -0
  291. package/src/scan.ts +1238 -0
  292. package/src/selection-copy.ts +83 -0
  293. package/src/selection-feature.ts +199 -0
  294. package/src/selector.ts +219 -0
  295. package/src/snapshot-owned.ts +35 -0
  296. package/src/snapshot-shared.ts +60 -0
  297. package/src/snapshot.ts +215 -0
  298. package/src/source-fragments.ts +169 -0
  299. package/src/source-picks.ts +264 -0
  300. package/src/span-async.ts +36 -0
  301. package/src/span-operation.ts +14 -0
  302. package/src/stop-signal.ts +29 -0
  303. package/src/stopper.ts +104 -0
  304. package/src/stream-scalars.ts +96 -0
  305. package/src/stream.ts +115 -0
  306. package/src/string-escapes.ts +27 -0
  307. package/src/stringify.ts +225 -0
  308. package/src/transport.ts +816 -0
  309. package/src/tree.ts +109 -0
  310. package/src/trivia-run.ts +126 -0
  311. package/src/try-parsers.ts +104 -0
  312. package/src/types.ts +839 -0
  313. package/src/utf8.ts +354 -0
  314. package/src/whole-input.ts +87 -0
  315. package/src/whole-iteration.ts +85 -0
  316. package/src/whole-operation.ts +389 -0
  317. package/src/whole-reader.ts +573 -0
  318. package/src/whole-source.ts +203 -0
  319. package/src/worker-executor.ts +994 -0
  320. package/src/worker-host.ts +36 -0
  321. package/src/worker-message.ts +180 -0
  322. package/src/worker-output.ts +451 -0
  323. package/src/worker-receive.ts +55 -0
  324. package/src/worker-route.ts +177 -0
  325. package/src/worker-strategy.ts +33 -0
  326. package/src/worker-unavailable.ts +24 -0
package/LICENSE ADDED
@@ -0,0 +1,181 @@
1
+ Copyright 2026 Anizoptera
2
+ Copyright 2026 Art Shendrik
3
+
4
+ Apache License
5
+ Version 2.0, January 2004
6
+ http://www.apache.org/licenses/
7
+
8
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
9
+
10
+ 1. Definitions.
11
+
12
+ "License" shall mean the terms and conditions for use, reproduction,
13
+ and distribution as defined by Sections 1 through 9 of this document.
14
+
15
+ "Licensor" shall mean the copyright owner or entity authorized by
16
+ the copyright owner that is granting the License.
17
+
18
+ "Legal Entity" shall mean the union of the acting entity and all
19
+ other entities that control, are controlled by, or are under common
20
+ control with that entity. For the purposes of this definition,
21
+ "control" means (i) the power, direct or indirect, to cause the
22
+ direction or management of such entity, whether by contract or
23
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
24
+ outstanding shares, or (iii) beneficial ownership of such entity.
25
+
26
+ "You" (or "Your") shall mean an individual or Legal Entity
27
+ exercising permissions granted by this License.
28
+
29
+ "Source" form shall mean the preferred form for making modifications,
30
+ including but not limited to software source code, documentation
31
+ source, and configuration files.
32
+
33
+ "Object" form shall mean any form resulting from mechanical
34
+ transformation or translation of a Source form, including but
35
+ not limited to compiled object code, generated documentation,
36
+ and conversions to other media types.
37
+
38
+ "Work" shall mean the work of authorship, whether in Source or
39
+ Object form, made available under the License, as indicated by a
40
+ copyright notice that is included in or attached to the work
41
+ (an example is provided in the Appendix below).
42
+
43
+ "Derivative Works" shall mean any work, whether in Source or
44
+ Object form, that is based on (or derived from) the Work and for
45
+ which the editorial revisions, annotations, elaborations, or other
46
+ modifications represent, as a whole, an original work of authorship.
47
+ For the purposes of this License, Derivative Works shall not include
48
+ works that remain separable from, or merely link (or bind by name)
49
+ to the interfaces of, the Work and Derivative Works thereof.
50
+
51
+ "Contribution" shall mean any work of authorship, including
52
+ the original version of the Work and any modifications or additions
53
+ to that Work or Derivative Works thereof, that is intentionally
54
+ submitted to Licensor for inclusion in the Work by the copyright owner
55
+ or by an individual or Legal Entity authorized to submit on behalf of
56
+ the copyright owner. For the purposes of this definition, "submitted"
57
+ means any form of electronic, verbal, or written communication sent
58
+ to the Licensor or its representatives, including but not limited to
59
+ communication on electronic mailing lists, source code control systems,
60
+ and issue tracking systems that are managed by, or on behalf of, the
61
+ Licensor for the purpose of discussing and improving the Work, but
62
+ excluding communication that is conspicuously marked or otherwise
63
+ designated in writing by the copyright owner as "Not a Contribution."
64
+
65
+ "Contributor" shall mean Licensor and any individual or Legal Entity
66
+ on behalf of whom a Contribution has been received by Licensor and
67
+ subsequently incorporated within the Work.
68
+
69
+ 2. Grant of Copyright License. Subject to the terms and conditions of
70
+ this License, each Contributor hereby grants to You a perpetual,
71
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
72
+ copyright license to reproduce, prepare Derivative Works of,
73
+ publicly display, publicly perform, sublicense, and distribute the
74
+ Work and such Derivative Works in Source or Object form.
75
+
76
+ 3. Grant of Patent License. Subject to the terms and conditions of
77
+ this License, each Contributor hereby grants to You a perpetual,
78
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
79
+ (except as stated in this section) patent license to make, have made,
80
+ use, offer to sell, sell, import, and otherwise transfer the Work,
81
+ where such license applies only to those patent claims licensable
82
+ by such Contributor that are necessarily infringed by their
83
+ Contribution(s) alone or by combination of their Contribution(s)
84
+ with the Work to which such Contribution(s) was submitted. If You
85
+ institute patent litigation against any entity alleging that the Work
86
+ or a Contribution incorporated within the Work constitutes direct
87
+ or contributory patent infringement, then any patent licenses granted
88
+ to You under this License for that Work shall terminate as of the date
89
+ such litigation is filed.
90
+
91
+ 4. Redistribution. You may reproduce and distribute copies of the
92
+ Work or Derivative Works thereof in any medium, with or without
93
+ modifications, and in Source or Object form, provided that You
94
+ meet the following conditions:
95
+
96
+ (a) You must give any other recipients of the Work or
97
+ Derivative Works a copy of this License; and
98
+
99
+ (b) You must cause any modified files to carry prominent notices
100
+ stating that You changed the files; and
101
+
102
+ (c) You must retain, in the Source form of any Derivative Works
103
+ that You distribute, all copyright, patent, trademark, and
104
+ attribution notices from the Source form of the Work,
105
+ excluding those notices that do not pertain to any part of
106
+ the Derivative Works; and
107
+
108
+ (d) If the Work includes a "NOTICE" text file as part of its
109
+ distribution, then any Derivative Works that You distribute must
110
+ include a readable copy of the attribution notices contained
111
+ within such NOTICE file, excluding those notices that do not
112
+ pertain to any part of the Derivative Works, in at least one
113
+ of the following places: within a NOTICE text file distributed
114
+ as part of the Derivative Works; within the Source form or
115
+ documentation, if provided along with the Derivative Works; or,
116
+ within a display generated by the Derivative Works, if and
117
+ wherever such third-party notices normally appear. The contents
118
+ of the NOTICE file are for informational purposes only and
119
+ do not modify the License.
120
+
121
+ You may add Your own copyright statement to Your modifications and
122
+ may provide additional or different license terms and conditions for
123
+ use, reproduction, or distribution of Your modifications, or for any
124
+ such Derivative Works as a whole, provided Your use, reproduction,
125
+ and distribution of the Work otherwise complies with the conditions
126
+ stated in this License.
127
+
128
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
129
+ any Contribution intentionally submitted for inclusion in the Work
130
+ by You to the Licensor shall be under the terms and conditions of
131
+ this License, without any additional terms or conditions.
132
+
133
+ 6. Trademarks. This License does not grant permission to use the trade
134
+ names, trademarks, service marks, or product names of the Licensor,
135
+ except as required for reasonable and customary use in describing the
136
+ origin of the Work and reproducing the content of the NOTICE file.
137
+
138
+ 7. Disclaimer of Warranty. Unless required by applicable law or agreed
139
+ to in writing, Licensor provides the Work on an "AS IS" BASIS,
140
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
141
+ implied, including, without limitation, any warranties or conditions
142
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
143
+ PARTICULAR PURPOSE.
144
+
145
+ 8. Limitation of Liability. In no event and under no legal theory,
146
+ whether in tort, contract, or otherwise, unless required by
147
+ applicable law or agreed to in writing, shall any Contributor be
148
+ liable to You for damages, including any direct, indirect, special,
149
+ incidental, or consequential damages of any character arising as a
150
+ result of this License or out of the use or inability to use the Work.
151
+
152
+ 9. Accepting Warranty or Additional Liability. While redistributing
153
+ the Work or Derivative Works thereof, You may choose to offer, and
154
+ charge a fee for, acceptance of support, warranty, indemnity, or
155
+ other liability obligations and/or rights consistent with this
156
+ License. However, in accepting such obligations, You may act only on
157
+ Your own behalf and on Your sole responsibility, not on behalf of any
158
+ other Contributor.
159
+
160
+ END OF TERMS AND CONDITIONS
161
+
162
+ APPENDIX: How to apply the Apache License to your work.
163
+
164
+ To apply the Apache License to your work, attach the following
165
+ boilerplate notice, with the fields enclosed by brackets "[]"
166
+ replaced with your own identifying information. The text should be
167
+ enclosed in the appropriate comment syntax for the file format.
168
+
169
+ Copyright [yyyy] [name of copyright owner]
170
+
171
+ Licensed under the Apache License, Version 2.0 (the "License");
172
+ you may not use this file except in compliance with the License.
173
+ You may obtain a copy of the License at
174
+
175
+ http://www.apache.org/licenses/LICENSE-2.0
176
+
177
+ Unless required by applicable law or agreed to in writing, software
178
+ distributed under the License is distributed on an "AS IS" BASIS,
179
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
180
+ See the License for the specific language governing permissions and
181
+ limitations under the License.