@mrclrchtr/supi-code-intelligence 11.4.0 → 13.0.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 (330) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/README.md +17 -9
  3. package/node_modules/@mrclrchtr/supi-code-runtime/package.json +1 -1
  4. package/node_modules/@mrclrchtr/supi-code-runtime/src/api.ts +1 -0
  5. package/node_modules/@mrclrchtr/supi-code-runtime/src/types.ts +51 -23
  6. package/node_modules/@mrclrchtr/supi-core/package.json +3 -1
  7. package/node_modules/@mrclrchtr/supi-core/src/api.ts +4 -0
  8. package/node_modules/@mrclrchtr/supi-core/src/context/context-tag.ts +1 -1
  9. package/node_modules/@mrclrchtr/supi-core/src/debug-registry.ts +22 -3
  10. package/node_modules/@mrclrchtr/supi-core/src/retired-packages.ts +152 -0
  11. package/node_modules/@mrclrchtr/supi-core/src/session.ts +1 -0
  12. package/node_modules/@mrclrchtr/supi-core/src/shell-hints.ts +46 -0
  13. package/node_modules/@mrclrchtr/supi-core/src/spill.ts +93 -0
  14. package/node_modules/@mrclrchtr/supi-lsp/README.md +21 -16
  15. package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-code-runtime/package.json +1 -1
  16. package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-code-runtime/src/api.ts +1 -0
  17. package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-code-runtime/src/types.ts +51 -23
  18. package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-core/package.json +3 -1
  19. package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-core/src/api.ts +4 -0
  20. package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-core/src/context/context-tag.ts +1 -1
  21. package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-core/src/debug-registry.ts +22 -3
  22. package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-core/src/retired-packages.ts +152 -0
  23. package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-core/src/session.ts +1 -0
  24. package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-core/src/shell-hints.ts +46 -0
  25. package/node_modules/@mrclrchtr/supi-lsp/node_modules/@mrclrchtr/supi-core/src/spill.ts +93 -0
  26. package/node_modules/@mrclrchtr/supi-lsp/package.json +8 -8
  27. package/node_modules/@mrclrchtr/supi-lsp/src/api.ts +3 -2
  28. package/node_modules/@mrclrchtr/supi-lsp/src/client/client-diagnostic-cache.ts +102 -47
  29. package/node_modules/@mrclrchtr/supi-lsp/src/client/client-diagnostic-capabilities.ts +13 -3
  30. package/node_modules/@mrclrchtr/supi-lsp/src/client/client-diagnostic-host.ts +8 -0
  31. package/node_modules/@mrclrchtr/supi-lsp/src/client/client-diagnostic-refresh.ts +15 -1
  32. package/node_modules/@mrclrchtr/supi-lsp/src/client/client-diagnostic-request.ts +1 -1
  33. package/node_modules/@mrclrchtr/supi-lsp/src/client/client-diagnostics.ts +71 -13
  34. package/node_modules/@mrclrchtr/supi-lsp/src/client/client-disk-stamp.ts +60 -0
  35. package/node_modules/@mrclrchtr/supi-lsp/src/client/client-document-state.ts +3 -0
  36. package/node_modules/@mrclrchtr/supi-lsp/src/client/client-document-sync.ts +28 -6
  37. package/node_modules/@mrclrchtr/supi-lsp/src/client/client-edit-capture.ts +258 -0
  38. package/node_modules/@mrclrchtr/supi-lsp/src/client/client-file-state.ts +17 -3
  39. package/node_modules/@mrclrchtr/supi-lsp/src/client/client-semantic-input-barrier.ts +53 -4
  40. package/node_modules/@mrclrchtr/supi-lsp/src/client/client.ts +75 -14
  41. package/node_modules/@mrclrchtr/supi-lsp/src/config/capabilities.ts +8 -0
  42. package/node_modules/@mrclrchtr/supi-lsp/src/config/operation-support.ts +48 -79
  43. package/node_modules/@mrclrchtr/supi-lsp/src/config/tsconfig-extends.ts +2 -1
  44. package/node_modules/@mrclrchtr/supi-lsp/src/config/tsconfig-path.ts +2 -2
  45. package/node_modules/@mrclrchtr/supi-lsp/src/config/tsconfig-scope.ts +14 -5
  46. package/node_modules/@mrclrchtr/supi-lsp/src/config/typescript-module.ts +17 -0
  47. package/node_modules/@mrclrchtr/supi-lsp/src/diagnostics/evidence.ts +42 -0
  48. package/node_modules/@mrclrchtr/supi-lsp/src/manager/manager-client-state.ts +2 -17
  49. package/node_modules/@mrclrchtr/supi-lsp/src/manager/manager-removal-ledger.ts +52 -0
  50. package/node_modules/@mrclrchtr/supi-lsp/src/manager/manager.ts +43 -21
  51. package/node_modules/@mrclrchtr/supi-lsp/src/manager/typescript-file-local.ts +6 -1
  52. package/node_modules/@mrclrchtr/supi-lsp/src/provider/lsp-refactor-provider.ts +21 -35
  53. package/node_modules/@mrclrchtr/supi-lsp/src/provider/lsp-semantic-provider.ts +6 -1
  54. package/node_modules/@mrclrchtr/supi-lsp/src/provider/refactor-command-capture.ts +139 -0
  55. package/node_modules/@mrclrchtr/supi-lsp/src/provider/refactor-planning.ts +202 -47
  56. package/node_modules/@mrclrchtr/supi-lsp/src/provider/semantic-symbol-mapper.ts +13 -3
  57. package/node_modules/@mrclrchtr/supi-lsp/src/session/route-boundary.ts +26 -0
  58. package/node_modules/@mrclrchtr/supi-lsp/src/session/runtime-diagnostic-surface.ts +11 -0
  59. package/node_modules/@mrclrchtr/supi-lsp/src/session/runtime-diagnostics.ts +1 -0
  60. package/node_modules/@mrclrchtr/supi-lsp/src/session/runtime-registry.ts +74 -14
  61. package/node_modules/@mrclrchtr/supi-lsp/src/session/runtime-rename.ts +3 -0
  62. package/node_modules/@mrclrchtr/supi-lsp/src/session/runtime-transition-debug.ts +11 -1
  63. package/node_modules/@mrclrchtr/supi-lsp/src/session/workspace-lsp-runtime.ts +24 -1
  64. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-code-runtime/package.json +1 -1
  65. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-code-runtime/src/api.ts +1 -0
  66. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-code-runtime/src/types.ts +51 -23
  67. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-core/package.json +3 -1
  68. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-core/src/api.ts +4 -0
  69. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-core/src/context/context-tag.ts +1 -1
  70. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-core/src/debug-registry.ts +22 -3
  71. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-core/src/retired-packages.ts +152 -0
  72. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-core/src/session.ts +1 -0
  73. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-core/src/shell-hints.ts +46 -0
  74. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/@mrclrchtr/supi-core/src/spill.ts +93 -0
  75. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/debug/web-tree-sitter.cjs +50 -75
  76. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/debug/web-tree-sitter.cjs.map +2 -2
  77. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/debug/web-tree-sitter.js +50 -75
  78. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/debug/web-tree-sitter.js.map +2 -2
  79. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/debug/web-tree-sitter.wasm +0 -0
  80. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/debug/web-tree-sitter.wasm.map +6 -6
  81. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/package.json +1 -1
  82. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/web-tree-sitter.cjs +50 -75
  83. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/web-tree-sitter.cjs.map +2 -2
  84. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/web-tree-sitter.d.cts +7 -7
  85. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/web-tree-sitter.d.cts.map +1 -1
  86. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/web-tree-sitter.d.ts +7 -7
  87. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/web-tree-sitter.d.ts.map +1 -1
  88. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/web-tree-sitter.js +50 -75
  89. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/web-tree-sitter.js.map +2 -2
  90. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/web-tree-sitter.wasm +0 -0
  91. package/node_modules/@mrclrchtr/supi-tree-sitter/node_modules/web-tree-sitter/web-tree-sitter.wasm.map +5 -5
  92. package/node_modules/@mrclrchtr/supi-tree-sitter/package.json +5 -5
  93. package/node_modules/@mrclrchtr/supi-tree-sitter/resources/grammars/kotlin/tree-sitter-kotlin.wasm.json +1 -1
  94. package/node_modules/@mrclrchtr/supi-tree-sitter/resources/grammars/latex/tree-sitter-latex.wasm.json +1 -1
  95. package/node_modules/@mrclrchtr/supi-tree-sitter/resources/grammars/sql/tree-sitter-sql.wasm.json +1 -1
  96. package/node_modules/@mrclrchtr/supi-tree-sitter/resources/grammars/tsx/tree-sitter-tsx.wasm.json +1 -1
  97. package/node_modules/@mrclrchtr/supi-tree-sitter/resources/grammars/typescript/tree-sitter-typescript.wasm.json +1 -1
  98. package/node_modules/@mrclrchtr/supi-tree-sitter/src/coordinates.ts +16 -2
  99. package/node_modules/@mrclrchtr/supi-tree-sitter/src/session/structural-worker-client.ts +4 -3
  100. package/node_modules/@mrclrchtr/supi-tree-sitter/src/syntax-errors.ts +2 -0
  101. package/node_modules/@mrclrchtr/supi-tree-sitter/src/tool/call-range.ts +94 -0
  102. package/node_modules/@mrclrchtr/supi-tree-sitter/src/tool/call-sites.ts +26 -6
  103. package/node_modules/@mrclrchtr/supi-tree-sitter/src/tool/callees.ts +6 -3
  104. package/node_modules/@mrclrchtr/supi-tree-sitter/src/tool/exports.ts +13 -4
  105. package/node_modules/@mrclrchtr/supi-tree-sitter/src/worker/runtime.ts +1 -9
  106. package/node_modules/fast-xml-parser/CHANGELOG.md +886 -0
  107. package/node_modules/fast-xml-parser/LICENSE +21 -0
  108. package/node_modules/fast-xml-parser/README.md +204 -0
  109. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
  110. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
  111. package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
  112. package/node_modules/fast-xml-parser/lib/fxp.d.cts +774 -0
  113. package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
  114. package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
  115. package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
  116. package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
  117. package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +2 -0
  118. package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -0
  119. package/node_modules/fast-xml-parser/node_modules/@nodable/entities/README.md +92 -0
  120. package/node_modules/fast-xml-parser/node_modules/@nodable/entities/package.json +57 -0
  121. package/node_modules/fast-xml-parser/node_modules/@nodable/entities/src/EntityDecoder.js +644 -0
  122. package/node_modules/fast-xml-parser/node_modules/@nodable/entities/src/EntityEncoder.js +239 -0
  123. package/node_modules/fast-xml-parser/node_modules/@nodable/entities/src/all-entities.js +53 -0
  124. package/node_modules/fast-xml-parser/node_modules/@nodable/entities/src/entities.js +1139 -0
  125. package/node_modules/fast-xml-parser/node_modules/@nodable/entities/src/entityTries.js +60 -0
  126. package/node_modules/fast-xml-parser/node_modules/@nodable/entities/src/index.d.ts +358 -0
  127. package/node_modules/fast-xml-parser/node_modules/@nodable/entities/src/index.js +29 -0
  128. package/node_modules/fast-xml-parser/node_modules/fast-xml-builder/CHANGELOG.md +52 -0
  129. package/node_modules/fast-xml-parser/node_modules/fast-xml-builder/LICENSE +21 -0
  130. package/node_modules/fast-xml-parser/node_modules/fast-xml-builder/README.md +77 -0
  131. package/node_modules/fast-xml-parser/node_modules/fast-xml-builder/lib/fxb.cjs +1 -0
  132. package/node_modules/fast-xml-parser/node_modules/fast-xml-builder/lib/fxb.d.cts +270 -0
  133. package/node_modules/fast-xml-parser/node_modules/fast-xml-builder/lib/fxb.min.js +2 -0
  134. package/node_modules/fast-xml-parser/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -0
  135. package/node_modules/fast-xml-parser/node_modules/fast-xml-builder/package.json +77 -0
  136. package/node_modules/fast-xml-parser/node_modules/fast-xml-builder/src/fxb.d.ts +270 -0
  137. package/node_modules/fast-xml-parser/node_modules/fast-xml-builder/src/fxb.js +609 -0
  138. package/node_modules/fast-xml-parser/node_modules/fast-xml-builder/src/ignoreAttributes.js +18 -0
  139. package/node_modules/fast-xml-parser/node_modules/fast-xml-builder/src/orderedJs2Xml.js +360 -0
  140. package/node_modules/fast-xml-parser/node_modules/fast-xml-builder/src/prettifyJs2Xml.js +0 -0
  141. package/node_modules/fast-xml-parser/node_modules/fast-xml-builder/src/util.js +23 -0
  142. package/node_modules/fast-xml-parser/node_modules/is-unsafe/LICENSE +21 -0
  143. package/node_modules/fast-xml-parser/node_modules/is-unsafe/README.md +632 -0
  144. package/node_modules/fast-xml-parser/node_modules/is-unsafe/package.json +56 -0
  145. package/node_modules/fast-xml-parser/node_modules/is-unsafe/src/contexts/html.js +102 -0
  146. package/node_modules/fast-xml-parser/node_modules/is-unsafe/src/contexts/log.js +98 -0
  147. package/node_modules/fast-xml-parser/node_modules/is-unsafe/src/contexts/nosql.js +114 -0
  148. package/node_modules/fast-xml-parser/node_modules/is-unsafe/src/contexts/redos.js +60 -0
  149. package/node_modules/fast-xml-parser/node_modules/is-unsafe/src/contexts/shell.js +105 -0
  150. package/node_modules/fast-xml-parser/node_modules/is-unsafe/src/contexts/sql-strict.js +47 -0
  151. package/node_modules/fast-xml-parser/node_modules/is-unsafe/src/contexts/sql.js +95 -0
  152. package/node_modules/fast-xml-parser/node_modules/is-unsafe/src/contexts/svg.js +81 -0
  153. package/node_modules/fast-xml-parser/node_modules/is-unsafe/src/contexts/xml.js +79 -0
  154. package/node_modules/fast-xml-parser/node_modules/is-unsafe/src/index.cjs +27 -0
  155. package/node_modules/fast-xml-parser/node_modules/is-unsafe/src/index.d.ts +103 -0
  156. package/node_modules/fast-xml-parser/node_modules/is-unsafe/src/index.js +292 -0
  157. package/node_modules/fast-xml-parser/node_modules/is-unsafe/src/util/decode-entities.js +48 -0
  158. package/node_modules/fast-xml-parser/node_modules/path-expression-matcher/LICENSE +21 -0
  159. package/node_modules/fast-xml-parser/node_modules/path-expression-matcher/README.md +947 -0
  160. package/node_modules/fast-xml-parser/node_modules/path-expression-matcher/lib/pem.cjs +1 -0
  161. package/node_modules/fast-xml-parser/node_modules/path-expression-matcher/lib/pem.d.cts +725 -0
  162. package/node_modules/fast-xml-parser/node_modules/path-expression-matcher/lib/pem.min.js +2 -0
  163. package/node_modules/fast-xml-parser/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -0
  164. package/node_modules/fast-xml-parser/node_modules/path-expression-matcher/package.json +79 -0
  165. package/node_modules/fast-xml-parser/node_modules/path-expression-matcher/src/Expression.js +232 -0
  166. package/node_modules/fast-xml-parser/node_modules/path-expression-matcher/src/ExpressionSet.js +225 -0
  167. package/node_modules/fast-xml-parser/node_modules/path-expression-matcher/src/Matcher.js +663 -0
  168. package/node_modules/fast-xml-parser/node_modules/path-expression-matcher/src/index.d.ts +589 -0
  169. package/node_modules/fast-xml-parser/node_modules/path-expression-matcher/src/index.js +30 -0
  170. package/node_modules/fast-xml-parser/node_modules/strnum/CHANGELOG.md +63 -0
  171. package/node_modules/fast-xml-parser/node_modules/strnum/LICENSE +21 -0
  172. package/node_modules/fast-xml-parser/node_modules/strnum/README.md +113 -0
  173. package/node_modules/fast-xml-parser/node_modules/strnum/node_modules/anynum/LICENSE +21 -0
  174. package/node_modules/fast-xml-parser/node_modules/strnum/node_modules/anynum/README.md +142 -0
  175. package/node_modules/fast-xml-parser/node_modules/strnum/node_modules/anynum/anynum.js +135 -0
  176. package/node_modules/fast-xml-parser/node_modules/strnum/node_modules/anynum/digitTable.js +116 -0
  177. package/node_modules/fast-xml-parser/node_modules/strnum/node_modules/anynum/package.json +42 -0
  178. package/node_modules/fast-xml-parser/node_modules/strnum/package.json +36 -0
  179. package/node_modules/fast-xml-parser/node_modules/strnum/strnum.js +176 -0
  180. package/node_modules/fast-xml-parser/node_modules/xml-naming/LICENSE +21 -0
  181. package/node_modules/fast-xml-parser/node_modules/xml-naming/README.md +287 -0
  182. package/node_modules/fast-xml-parser/node_modules/xml-naming/package.json +56 -0
  183. package/node_modules/fast-xml-parser/node_modules/xml-naming/src/index.d.ts +108 -0
  184. package/node_modules/fast-xml-parser/node_modules/xml-naming/src/index.js +382 -0
  185. package/node_modules/fast-xml-parser/package.json +93 -0
  186. package/node_modules/fast-xml-parser/src/cli/cli.js +97 -0
  187. package/node_modules/fast-xml-parser/src/cli/man.js +17 -0
  188. package/node_modules/fast-xml-parser/src/cli/read.js +43 -0
  189. package/node_modules/fast-xml-parser/src/fxp.d.ts +754 -0
  190. package/node_modules/fast-xml-parser/src/fxp.js +14 -0
  191. package/node_modules/fast-xml-parser/src/ignoreAttributes.js +18 -0
  192. package/node_modules/fast-xml-parser/src/util.js +61 -0
  193. package/node_modules/fast-xml-parser/src/v6/CharsSymbol.js +16 -0
  194. package/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +106 -0
  195. package/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +61 -0
  196. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +69 -0
  197. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +103 -0
  198. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +100 -0
  199. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +154 -0
  200. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +94 -0
  201. package/node_modules/fast-xml-parser/src/v6/Report.js +0 -0
  202. package/node_modules/fast-xml-parser/src/v6/TagPath.js +81 -0
  203. package/node_modules/fast-xml-parser/src/v6/TagPathMatcher.js +13 -0
  204. package/node_modules/fast-xml-parser/src/v6/XMLParser.js +83 -0
  205. package/node_modules/fast-xml-parser/src/v6/Xml2JsParser.js +235 -0
  206. package/node_modules/fast-xml-parser/src/v6/XmlPartReader.js +210 -0
  207. package/node_modules/fast-xml-parser/src/v6/XmlSpecialTagsReader.js +111 -0
  208. package/node_modules/fast-xml-parser/src/v6/inputSource/BufferSource.js +116 -0
  209. package/node_modules/fast-xml-parser/src/v6/inputSource/StringSource.js +121 -0
  210. package/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +105 -0
  211. package/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParser.js +22 -0
  212. package/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParserExt.js +19 -0
  213. package/node_modules/fast-xml-parser/src/v6/valueParsers/currency.js +38 -0
  214. package/node_modules/fast-xml-parser/src/v6/valueParsers/join.js +13 -0
  215. package/node_modules/fast-xml-parser/src/v6/valueParsers/number.js +14 -0
  216. package/node_modules/fast-xml-parser/src/v6/valueParsers/trim.js +6 -0
  217. package/node_modules/fast-xml-parser/src/validator.js +518 -0
  218. package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +6 -0
  219. package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +426 -0
  220. package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +164 -0
  221. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +907 -0
  222. package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +77 -0
  223. package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +177 -0
  224. package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +54 -0
  225. package/package.json +10 -8
  226. package/src/analysis/evidence.ts +331 -73
  227. package/src/analysis/health/diagnostics.ts +66 -18
  228. package/src/analysis/health/evidence-reason.ts +44 -0
  229. package/src/analysis/health/server-status.ts +41 -12
  230. package/src/analysis/search/pattern.ts +3 -3
  231. package/src/analysis/target/anchored-structural.ts +4 -1
  232. package/src/analysis/target/anchored.ts +3 -6
  233. package/src/analysis/target/symbol.ts +42 -48
  234. package/src/analysis/target/types.ts +4 -9
  235. package/src/analysis/workspace/cmake-parser.ts +207 -0
  236. package/src/analysis/workspace/cmake.ts +141 -0
  237. package/src/analysis/workspace/maven.ts +310 -0
  238. package/src/analysis/workspace/membership.ts +100 -26
  239. package/src/analysis/workspace/metadata.ts +6 -1
  240. package/src/analysis/workspace/observe.ts +6 -0
  241. package/src/analysis/workspace/types.ts +11 -3
  242. package/src/diagnostics/coverage.ts +49 -0
  243. package/src/diagnostics/evidence.ts +10 -2
  244. package/src/session/find-types.ts +8 -4
  245. package/src/session/find-workflow.ts +11 -16
  246. package/src/session/health-workflow.ts +6 -0
  247. package/src/session/input/common.ts +1 -1
  248. package/src/session/input/health-refactor.ts +48 -34
  249. package/src/session/input/workflows.ts +45 -46
  250. package/src/session/inspect/file-point.ts +2 -2
  251. package/src/session/inspect-types.ts +1 -1
  252. package/src/session/inspect-workflow.ts +3 -3
  253. package/src/session/orientation/collect.ts +42 -7
  254. package/src/session/orientation/context-facts.ts +3 -3
  255. package/src/session/orientation/context-sections.ts +13 -15
  256. package/src/session/orientation/facts.ts +5 -8
  257. package/src/session/orientation-workflow.ts +4 -19
  258. package/src/session/refactor-file-actions.ts +122 -0
  259. package/src/session/refactor-plan-pipeline.ts +152 -0
  260. package/src/session/refactor-plans.ts +18 -15
  261. package/src/session/refactor-types.ts +24 -12
  262. package/src/session/refactor-workflow.ts +68 -243
  263. package/src/session/target-workflow.ts +25 -18
  264. package/src/tool/code_find/execute.ts +6 -7
  265. package/src/tool/code_find/result.ts +5 -7
  266. package/src/tool/code_find/spec.ts +9 -16
  267. package/src/tool/code_find/tui.ts +12 -6
  268. package/src/tool/code_graph/display.ts +5 -6
  269. package/src/tool/code_graph/format.ts +8 -24
  270. package/src/tool/code_graph/result.ts +16 -75
  271. package/src/tool/code_graph/section.ts +21 -33
  272. package/src/tool/code_graph/spec.ts +6 -0
  273. package/src/tool/code_graph/tui.ts +10 -5
  274. package/src/tool/code_health/diagnostic-tui.ts +49 -0
  275. package/src/tool/code_health/guidance.ts +27 -0
  276. package/src/tool/code_health/markdown.ts +60 -8
  277. package/src/tool/code_health/result.ts +20 -9
  278. package/src/tool/code_health/spec.ts +6 -0
  279. package/src/tool/code_health/structured-schema.ts +18 -4
  280. package/src/tool/code_health/structured.ts +22 -18
  281. package/src/tool/code_health/tui.ts +33 -40
  282. package/src/tool/code_inspect/execute.ts +1 -1
  283. package/src/tool/code_inspect/markdown.ts +33 -6
  284. package/src/tool/code_inspect/result.ts +24 -19
  285. package/src/tool/code_inspect/spec.ts +14 -6
  286. package/src/tool/code_inspect/structured.ts +4 -21
  287. package/src/tool/code_inspect/tui.ts +2 -2
  288. package/src/tool/code_orientation/result.ts +53 -100
  289. package/src/tool/code_orientation/spec.ts +8 -0
  290. package/src/tool/code_orientation/structured-schema.ts +16 -12
  291. package/src/tool/code_orientation/structured-workspace.ts +13 -7
  292. package/src/tool/code_orientation/structured.ts +31 -39
  293. package/src/tool/code_orientation/workspace-format.ts +4 -10
  294. package/src/tool/code_orientation/workspace-instructions.ts +4 -5
  295. package/src/tool/code_orientation/workspace-observations.ts +2 -2
  296. package/src/tool/code_orientation/workspace-output.ts +16 -7
  297. package/src/tool/code_orientation/workspace-projects.ts +7 -10
  298. package/src/tool/code_orientation/workspace-sections.ts +13 -19
  299. package/src/tool/code_refactor_apply/result.ts +2 -1
  300. package/src/tool/code_refactor_apply/spec.ts +7 -0
  301. package/src/tool/code_refactor_plan/execute.ts +0 -2
  302. package/src/tool/code_refactor_plan/result.ts +23 -13
  303. package/src/tool/code_refactor_plan/spec.ts +8 -2
  304. package/src/tool/code_refactor_plan/structured.ts +59 -12
  305. package/src/tool/code_refactor_plan/tui.ts +14 -17
  306. package/src/tool/code_resolve/markdown.ts +5 -47
  307. package/src/tool/code_resolve/result.ts +43 -72
  308. package/src/tool/code_resolve/spec.ts +6 -0
  309. package/src/tool/infra/truncate.ts +2 -16
  310. package/src/tool/namespace.ts +14 -0
  311. package/src/tool/refactor-markdown.ts +55 -15
  312. package/src/tool/register.ts +3 -0
  313. package/src/tool/result/candidate-selection.ts +141 -0
  314. package/src/tool/result/display.ts +41 -45
  315. package/src/tool/result/errors.ts +1 -0
  316. package/src/tool/result/model-budget.ts +26 -1
  317. package/src/tool/result/refactor-preview.ts +118 -0
  318. package/src/tool/result/refactor-unavailable.ts +16 -0
  319. package/src/tool/result/refactor.ts +19 -10
  320. package/src/tool/result/structured.ts +2 -1
  321. package/src/tool/result/types.ts +9 -8
  322. package/src/tool/schemas.ts +76 -38
  323. package/src/tool/specs.ts +3 -0
  324. package/src/ui/footer.ts +2 -4
  325. package/src/ui/status-overlay.ts +1 -1
  326. package/src/ui/status-presentation.ts +4 -7
  327. package/src/ui/tui/candidate-selection.ts +40 -95
  328. package/src/ui/tui/common.ts +16 -70
  329. package/src/ui/tui/display.ts +6 -24
  330. package/src/tool/result/candidate-row.ts +0 -49
@@ -0,0 +1,886 @@
1
+ <small>Note: If you find missing information about particular minor version, that version must have been changed without any functional change in this library.</small>
2
+
3
+ Note: Due to some last quick changes on v4, detail of v4.5.3 & v4.5.4 are not updated here. v4.5.4x is the last tag of v4 in github repository. I'm extremely sorry for the confusion
4
+
5
+ **5.12.0 / 2026-11-03**
6
+ - perf improvement for stop node: After the first failure in a given stop node, the function stops using readTagExp and switches to a cheap fallback.
7
+ - devdep:jasmine 7.0
8
+ - deps:
9
+ - @nodable/entities v3.1.0
10
+ - fast-xml-builder v1.3.1
11
+ - is-unsafe v2.0.3
12
+ - strnum v2.5.1
13
+ - fix cjs typing
14
+ - fix: preserve original metadata offsets for CRLF input (#911) (By [sskift](https://github.com/sskift))
15
+
16
+ **5.11.2 / 2026-09-29**
17
+ - fix (#875): decode Uint8Array XML input as UTF-8 (By emme1t)
18
+ - fix (#880) :type EntityDecoderOptions.setXmlVersion's version as a number (By Yevhenii Kotyrlo)
19
+
20
+ **5.11.1 / 2026-08-27**
21
+ - fix: validator; Replace regex with a single-pass scanner for attribute tokens, eliminating quadratic behavior on long whitespace runs.
22
+
23
+ **5.11.0 / 2026-08-16**
24
+ - feat: support for endIndex in node metadata (#850) [By [Pavel Dranichnikov](https://github.com/Wain-PC)]
25
+ - fix: don't crash on a closing tag with no matching opening tag (#861) [By [Haïm Dimer](https://github.com/hdimer)]
26
+ - fix: DOCTYPE to read SYSTEM/PUBLIC
27
+ - deps: strnum v2.4.2
28
+
29
+ **5.10.1 / 2026-07-17**
30
+ - fix: multiple DOCTYPE declarations.
31
+ - deps: `@nodable/entities` for treeshaking
32
+
33
+ **5.10.0 / 2026-07-11**
34
+ - upgrade:
35
+ - xml-naming v0.3.0: cache support
36
+ - PEM v1.6.2: sibling bug fix
37
+ - is-unsafe v2.0.0: tree shaking
38
+
39
+ **5.9.3 / 2026-06-19*
40
+ - update strnum
41
+
42
+
43
+ **5.9.2 / 2026-06-17*
44
+ - dummy release to test changes in github action
45
+
46
+ **5.9.1 / 2026-06-17*
47
+ - dummy release to test release from github action
48
+
49
+ **5.9.0 / 2026-06-15*
50
+ - update strnum to 2.3.0
51
+ - you can set hex, binary, enotation, infinity, unicode
52
+ - validate unsafe HTML or XML data in doctype entities unsing 'is-unsafe' library.
53
+ User can override rules by overriding EntityDecoder.
54
+
55
+ **5.8.0 / 2026-05-12*
56
+ - integrate xml-naming to validate DOCTYPE entity name and notation name (using qname becaue of backward compatibility)
57
+ - This will consider xml-version as well. '1.0' is default
58
+ - update strnum to 2.3.0
59
+ - You can set octal and binary parsing which is bydeault off
60
+ - update fast-xml-builder to 1.2.0
61
+ - can sanitize tag names if found invalid
62
+ - fix format output
63
+
64
+ **5.7.3 / 2006-05-05**
65
+ - fix: alwaysCreateTextNode should create text node when attributes are present for self closing node
66
+ - fix stop node expression when ns prefix is removed (found by [iruizsalinas](https://github.com/iruizsalinas))
67
+ - update XML Builder to 1.1.7
68
+ - mark addEntity deprecated
69
+
70
+
71
+ **5.7.2 / 2026-04-25**
72
+ - allow numerical external entity for backward compatibility
73
+ - fix #705: attributesGroupName working with preserveOrder
74
+ - fix #817: stackoverflow when tag expression is very long
75
+
76
+ **5.7.1 / 2026-04-20**
77
+ - fix typo in CJS typing file
78
+
79
+ **5.7.0 / 2026-04-17**
80
+ - Use `@nodable/entities` v2.1.0
81
+ - breaking changes
82
+ - single entity scan. You're not allowed to user entity value to form another entity name.
83
+ - you cant add numeric external entity
84
+ - entity error message when expantion limit is crossed might change
85
+ - typings are updated for new options related to process entity
86
+ - please follow documentation of `@nodable/entities` for more detail.
87
+ - performance
88
+ - if processEntities is false, then there should not be impact on performance.
89
+ - if processEntities is true, but you dont pass entity decoder separately then performance may degrade by approx 8-10%
90
+ - if processEntities is true, and you pass entity decoder separately
91
+ - if no entity then performance should be same as before
92
+ - if there are entities then performance should be increased from past versions
93
+ - ignoreAttributes is not required to be set to set xml version for NCR entity value
94
+ - update 'fast-xml-builder' to sanitize malicious CDATA and comment's content
95
+
96
+ **5.6.0 / 2026-04-15**
97
+ - fix: entity replacement for numeric entities
98
+ - use @nodable/entities to replace entities
99
+ - this may change some error messages related to entities expansion limit or inavlid use
100
+ - post check would be exposed in future version
101
+
102
+ **5.5.12 / 2026-04-13**
103
+ - Performance Improvement: update path-expression-matcher
104
+ - use proxy pattern than Proxy class
105
+
106
+ **5.5.11 / 2026-04-08**
107
+ - Performance Improvement
108
+ - integrate ExpressionSet for stopNodes
109
+
110
+ **5.5.10 / 2026-04-03**
111
+ - increase default entity explansion limit as many projects demand for that
112
+ - performance improvement
113
+ - reduce calls to toString
114
+ - early return when entities are not present
115
+ - prepare rawAttrsForMatcher only if user sets `jPath: false`
116
+
117
+ **5.5.9 / 2026-03-23**
118
+ - combine typing files
119
+
120
+
121
+ **4.5.5 / 2026-03-22**
122
+
123
+ apply fixes from v5 (legacy maintenance branch v4-maintenance)
124
+
125
+ - support maxEntityCount
126
+ - support onDangerousProperty
127
+ - support maxNestedTags
128
+ - handle prototype pollution
129
+ - fix incorrect entity name replacement
130
+ - fix incorrect condition for entity expansion
131
+
132
+ **5.5.8 / 2026-03-20**
133
+ - pass read only matcher in callback
134
+
135
+ **5.5.7 / 2026-03-19**
136
+ - fix: entity expansion limits
137
+ - update strnum package to 2.2.0
138
+
139
+ **5.5.6 / 2026-03-16**
140
+ - update builder dependency
141
+ - fix incorrect regex to replace \. in entity name
142
+ - fix check for entitiy expansion for lastEntities and html entities too
143
+
144
+ **5.5.5 / 2026-03-13**
145
+ - sanitize dangerous tag or attribute name
146
+ - error on critical property name
147
+ - support onDangerousProperty option
148
+
149
+ **5.5.4 / 2026-03-13**
150
+ - declare Matcher & Expression as unknown so user is not forced to install path-expression-matcher
151
+
152
+
153
+ **5.5.3 / 2026-03-11**
154
+ - upgrade builder
155
+
156
+ **5.5.2 / 2026-03-11**
157
+ - update dependency to fix typings
158
+
159
+ **5.5.1 / 2026-03-10**
160
+ - fix dependency
161
+
162
+ **5.5.0 / 2026-03-10**
163
+ - support path-expression-matcher
164
+ - fix: stopNode should not be parsed
165
+ - performance improvement for stopNode checking
166
+
167
+ **5.4.2 / 2026-03-03**
168
+ - support maxEntityCount option
169
+
170
+ **5.4.1 / 2026-02-25**
171
+ - fix (#785) unpairedTag node should not have tag content
172
+
173
+ **5.4.0 / 2026-02-25**
174
+ - migrate to fast-xml-builder
175
+
176
+ **5.3.9 / 2026-02-25**
177
+ - support strictReservedNames
178
+
179
+ **5.3.8 / 2026-02-25**
180
+ - support maxNestedTags
181
+ - handle non-array input for XML builder when preserveOrder is true (By [Angelo Coetzee](https://github.com/Angelopvtac))
182
+ - save use of js properies
183
+
184
+ **5.3.7 / 2026-02-20**
185
+ - fix typings for CJS (By [Corentin Girard](https://github.com/Drarig29))
186
+
187
+
188
+
189
+ **5.3.6 / 2026-02-14**
190
+ - Improve security and performance of entity processing
191
+ - new options `maxEntitySize`, `maxExpansionDepth`, `maxTotalExpansions`, `maxExpandedLength`, `allowedTags`,`tagFilter`
192
+ - fast return when no edtity is present
193
+ - improvement replacement logic to reduce number of calls
194
+
195
+
196
+ **5.3.5 / 2026-02-08**
197
+ - fix: Escape regex char in entity name
198
+ - update strnum to 2.1.2
199
+ - add missing exports in CJS typings
200
+
201
+
202
+ **5.3.4 / 2026-01-30**
203
+ - fix: handle HTML numeric and hex entities when out of range
204
+
205
+
206
+ **5.3.3 / 2025-12-12**
207
+ - fix #775: transformTagName with allowBooleanAttributes adds an unnecessary attribute
208
+
209
+ **5.3.2 / 2025-11-14**
210
+ - fix for import statement for v6
211
+
212
+ **5.3.1 / 2025-11-03**
213
+ - Performance improvement for stopNodes (By [Maciek Lamberski](https://github.com/macieklamberski))
214
+
215
+ **5.3.0 / 2025-10-03**
216
+ - Use `Uint8Array` in place of `Buffer` in Parser
217
+
218
+ **5.2.5 / 2025-06-08**
219
+ - Inform user to use [fxp-cli](https://github.com/NaturalIntelligence/fxp-cli) instead of in-built CLI feature
220
+ - Export typings for direct use
221
+
222
+ **5.2.4 / 2025-06-06**
223
+ - fix (#747): fix EMPTY and ANY with ELEMENT in DOCTYPE
224
+
225
+ **5.2.3 / 2025-05-11**
226
+ - fix (#747): support EMPTY and ANY with ELEMENT in DOCTYPE
227
+
228
+ **5.2.2 / 2025-05-05**
229
+ - fix (#746): update strnum to fix parsing issues related to enotations
230
+
231
+ **5.2.1 / 2025-04-22**
232
+ - fix: read DOCTYPE entity value correctly
233
+ - read DOCTYPE NOTATION, ELEMENT exp but not using read values
234
+
235
+
236
+ **5.2.0 / 2025-04-03**
237
+ - feat: support metadata on nodes (#593) (By [Steven R. Loomis](https://github.com/srl295))
238
+
239
+ **5.1.0 / 2025-04-02**
240
+ - feat: declare package as side-effect free (#738) (By [Thomas Bouffard](https://github.com/tbouffard))
241
+ - fix cjs build mode
242
+ - fix builder return type to string
243
+ -
244
+
245
+ **5.0.9 / 2025-03-14**
246
+ - fix: support numeric entities with values over 0xFFFF (#726) (By [Marc Durdin](https://github.com/mcdurdin))
247
+ - fix: update strnum to fix parsing 0 if skiplike option is used
248
+
249
+ **5.0.8 / 2025-02-27**
250
+ - fix parsing 0 if skiplike option is used.
251
+ - updating strnum dependency
252
+
253
+ **5.0.7 / 2025-02-25**
254
+ - fix (#724) typings for cjs.
255
+
256
+ **5.0.6 / 2025-02-20**
257
+ - fix cli output (By [Angel Delgado](https://github.com/angeld7))
258
+ - remove multiple JSON parsing
259
+
260
+ **5.0.5 / 2025-02-20**
261
+ - fix parsing of string starting with 'e' or 'E' by updating strnum
262
+
263
+ **5.0.4 / 2025-02-20**
264
+ - fix CLI to support all the versions of node js when displaying library version.
265
+ - fix CJS import in v5
266
+ - by fixing webpack config
267
+
268
+ **5.0.3 / 2025-02-20**
269
+ - Using strnum ESM module
270
+ - new fixes in strum may break your experience
271
+
272
+ **5.0.2 / 2025-02-20**
273
+ - fix: include CommonJS resources in the npm package #714 (By [Thomas Bouffard](https://github.com/tbouffard))
274
+ - fix: move babel deps to dev deps
275
+
276
+ **5.0.1 / 2025-02-19**
277
+ - fix syntax error for CLI command
278
+
279
+ **5.0.0 / 2025-02-19**
280
+ - ESM support
281
+ - no change in the functionality, syntax, APIs, options, or documentation.
282
+
283
+ **4.5.2 / 2025-02-18**
284
+ - Fix null CDATA to comply with undefined behavior (#701) (By [Matthieu BOHEAS](https://github.com/Kelgors))
285
+ - Fix(performance): Update check for leaf node in saveTextToParentTag function in OrderedObjParser.js (#707) (By [...](https://github.com/tomingtoming))
286
+ - Fix: emit full JSON string from CLI when no output filename specified (#710) (By [Matt Benson](https://github.com/mbenson))
287
+
288
+ **4.5.1 / 2024-12-15**
289
+ - Fix empty tag key name for v5 (#697). no impact on v4
290
+ - Fixes entity parsing when used in strict mode (#699)
291
+
292
+ **4.5.0 / 2024-09-03**
293
+ - feat #666: ignoreAttributes support function, and array of string or regex (By [ArtemM](https://github.com/mav-rik))
294
+
295
+ **4.4.1 / 2024-07-28**
296
+ - v5 fix: maximum length limit to currency value
297
+ - fix #634: build attributes with oneListGroup and attributesGroupName (#653)(By [Andreas Naziris](https://github.com/a-rasin))
298
+ - fix: get oneListGroup to work as expected for array of strings (#662)(By [Andreas Naziris](https://github.com/a-rasin))
299
+
300
+ **4.4.0 / 2024-05-18**
301
+ - fix #654: parse attribute list correctly for self closing stop node.
302
+ - fix: validator bug when closing tag is not opened. (#647) (By [Ryosuke Fukatani](https://github.com/RyosukeFukatani))
303
+ - fix #581: typings; return type of `tagValueProcessor` & `attributeValueProcessor` (#582) (By [monholm]())
304
+
305
+ **4.3.6 / 2024-03-16**
306
+ - Add support for parsing HTML numeric entities (#645) (By [Jonas Schade ](https://github.com/DerZade))
307
+
308
+ **4.3.5 / 2024-02-24**
309
+ - code for v5 is added for experimental use
310
+
311
+ **4.3.4 / 2024-01-10**
312
+ - fix: Don't escape entities in CDATA sections (#633) (By [wackbyte](https://github.com/wackbyte))
313
+
314
+ **4.3.3 / 2024-01-10**
315
+ - Remove unnecessary regex
316
+
317
+ **4.3.2 / 2023-10-02**
318
+ - fix `jObj.hasOwnProperty` when give input is null (By [Arda TANRIKULU](https://github.com/ardatan))
319
+
320
+ **4.3.1 / 2023-09-24**
321
+ - revert back "Fix typings for builder and parser to make return type generic" to avoid failure of existing projects. Need to decide a common approach.
322
+
323
+ **4.3.0 / 2023-09-20**
324
+ - Fix stopNodes to work with removeNSPrefix (#607) (#608) (By [Craig Andrews]https://github.com/candrews))
325
+ - Fix #610 ignore properties set to Object.prototype
326
+ - Fix typings for builder and parser to make return type generic (By [Sarah Dayan](https://github.com/sarahdayan))
327
+
328
+ **4.2.7 / 2023-07-30**
329
+ - Fix: builder should set text node correctly when only textnode is present (#589) (By [qianqing](https://github.com/joneqian))
330
+ - Fix: Fix for null and undefined attributes when building xml (#585) (#598). A null or undefined value should be ignored. (By [Eugenio Ceschia](https://github.com/cecia234))
331
+
332
+ **4.2.6 / 2023-07-17**
333
+ - Fix: Remove trailing slash from jPath for self-closing tags (#595) (By [Maciej Radzikowski](https://github.com/m-radzikowski))
334
+
335
+ **4.2.5 / 2023-06-22**
336
+ - change code implementation
337
+
338
+ **4.2.4 / 2023-06-06**
339
+ - fix security bug
340
+
341
+ **4.2.3 / 2023-06-05**
342
+ - fix security bug
343
+
344
+ **4.2.2 / 2023-04-18**
345
+ - fix #562: fix unpaired tag when it comes in last of a nested tag. Also throw error when unpaired tag is used as closing tag
346
+
347
+ **4.2.1 / 2023-04-18**
348
+ - fix: jpath after unpaired tags
349
+
350
+ **4.2.0 / 2023-04-09**
351
+ - support `updateTag` parser property
352
+
353
+ **4.1.4 / 2023-04-08**
354
+ - update typings to let user create XMLBuilder instance without options (#556) (By [Patrick](https://github.com/omggga))
355
+ - fix: IsArray option isn't parsing tags with 0 as value correctly #490 (#557) (By [Aleksandr Murashkin](https://github.com/p-kuen))
356
+ - feature: support `oneListGroup` to group repeated children tags udder single group
357
+
358
+ **4.1.3 / 2023-02-26**
359
+ - fix #546: Support complex entity value
360
+
361
+ **4.1.2 / 2023-02-12**
362
+ - Security Fix
363
+
364
+ **4.1.1 / 2023-02-03**
365
+ - Fix #540: ignoreAttributes breaks unpairedTags
366
+ - Refactor XML builder code
367
+
368
+ **4.1.0 / 2023-02-02**
369
+ - Fix '<' or '>' in DTD comment throwing an error. (#533) (By [Adam Baker](https://github.com/Cwazywierdo))
370
+ - Set "eNotation" to 'true' as default
371
+
372
+ **4.0.15 / 2023-01-25**
373
+ - make "eNotation" optional
374
+
375
+ **4.0.14 / 2023-01-22**
376
+ - fixed: add missed typing "eNotation" to parse values
377
+
378
+ **4.0.13 / 2023-01-07**
379
+ - preserveorder formatting (By [mdeknowis](https://github.com/mdeknowis))
380
+ - support `transformAttributeName` (By [Erik Rothoff Andersson](https://github.com/erkie))
381
+
382
+ **4.0.12 / 2022-11-19**
383
+ - fix typescript
384
+
385
+ **4.0.11 / 2022-10-05**
386
+ - fix #501: parse for entities only once
387
+
388
+ **4.0.10 / 2022-09-14**
389
+ - fix broken links in demo site (By [Yannick Lang](https://github.com/layaxx))
390
+ - fix #491: tagValueProcessor type definition (By [Andrea Francesco Speziale](https://github.com/andreafspeziale))
391
+ - Add jsdocs for tagValueProcessor
392
+
393
+
394
+ **4.0.9 / 2022-07-10**
395
+ - fix #470: stop-tag can have self-closing tag with same name
396
+ - fix #472: stopNode can have any special tag inside
397
+ - Allow !ATTLIST and !NOTATION with DOCTYPE
398
+ - Add transformTagName option to transform tag names when parsing (#469) (By [Erik Rothoff Andersson](https://github.com/erkie))
399
+
400
+ **4.0.8 / 2022-05-28**
401
+ - Fix CDATA parsing returning empty string when value = 0 (#451) (By [ndelanou](https://github.com/ndelanou))
402
+ - Fix stopNodes when same tag appears inside node (#456) (By [patrickshipe](https://github.com/patrickshipe))
403
+ - fix #468: prettify own properties only
404
+
405
+ **4.0.7 / 2022-03-18**
406
+ - support CDATA even if tag order is not preserved
407
+ - support Comments even if tag order is not preserved
408
+ - fix #446: XMLbuilder should not indent XML declaration
409
+
410
+ **4.0.6 / 2022-03-08**
411
+ - fix: call tagValueProcessor only once for array items
412
+ - fix: missing changed for #437
413
+
414
+ **4.0.5 / 2022-03-06**
415
+ - fix #437: call tagValueProcessor from XML builder
416
+
417
+ **4.0.4 / 2022-03-03**
418
+ - fix #435: should skip unpaired and self-closing nodes when set as stopnodes
419
+
420
+ **4.0.3 / 2022-02-15**
421
+ - fix: ReferenceError when Bundled with Strict (#431) (By [Andreas Heissenberger](https://github.com/aheissenberger))
422
+
423
+
424
+ **4.0.2 / 2022-02-04**
425
+ - builder supports `suppressUnpairedNode`
426
+ - parser supports `ignoreDeclaration` and `ignorePiTags`
427
+ - fix: when comment is parsed as text value if given as `<!--> ...` #423
428
+ - builder supports decoding `&`
429
+
430
+ **4.0.1 / 2022-01-08**
431
+ - fix builder for pi tag
432
+ - fix: support suppressBooleanAttrs by builder
433
+
434
+ **4.0.0 / 2022-01-06**
435
+ - Generating different combined, parser only, builder only, validator only browser bundles
436
+ - Keeping cjs modules as they can be imported in cjs and esm modules both. Otherwise refer `esm` branch.
437
+
438
+ **4.0.0-beta.8 / 2021-12-13**
439
+ - call tagValueProcessor for stop nodes
440
+
441
+ **4.0.0-beta.7 / 2021-12-09**
442
+ - fix Validator bug when an attribute has no value but '=' only
443
+ - XML Builder should suppress unpaired tags by default.
444
+ - documents update for missing features
445
+ - refactoring to use Object.assign
446
+ - refactoring to remove repeated code
447
+
448
+ **4.0.0-beta.6 / 2021-12-05**
449
+ - Support PI Tags processing
450
+ - Support `suppressBooleanAttributes` by XML Builder for attributes with value `true`.
451
+
452
+ **4.0.0-beta.5 / 2021-12-04**
453
+ - fix: when a tag with name "attributes"
454
+
455
+ **4.0.0-beta.4 / 2021-12-02**
456
+ - Support HTML document parsing
457
+ - skip stop nodes parsing when building the XML from JS object
458
+ - Support external entites without DOCTYPE
459
+ - update dev dependency: strnum v1.0.5 to fix long number issue
460
+
461
+ **4.0.0-beta.3 / 2021-11-30**
462
+ - support global stopNodes expression like "*.stop"
463
+ - support self-closing and paired unpaired tags
464
+ - fix: CDATA should not be parsed.
465
+ - Fix typings for XMLBuilder (#396)(By [Anders Emil Salvesen](https://github.com/andersem))
466
+ - supports XML entities, HTML entities, DOCTYPE entities
467
+
468
+ **⚠️ 4.0.0-beta.2 / 2021-11-19**
469
+ - rename `attrMap` to `attibutes` in parser output when `preserveOrder:true`
470
+ - supports unpairedTags
471
+
472
+ **⚠️ 4.0.0-beta.1 / 2021-11-18**
473
+ - Parser returns an array now
474
+ - to make the structure common
475
+ - and to return root level detail
476
+ - renamed `cdataTagName` to `cdataPropName`
477
+ - Added `commentPropName`
478
+ - fix typings
479
+
480
+ **⚠️ 4.0.0-beta.0 / 2021-11-16**
481
+ - Name change of many configuration properties.
482
+ - `attrNodeName` to `attributesGroupName`
483
+ - `attrValueProcessor` to `attributeValueProcessor`
484
+ - `parseNodeValue` to `parseTagValue`
485
+ - `ignoreNameSpace` to `removeNSPrefix`
486
+ - `numParseOptions` to `numberParseOptions`
487
+ - spelling correction for `suppressEmptyNode`
488
+ - Name change of cli and browser bundle to **fxparser**
489
+ - `isArray` option is added to parse a tag into array
490
+ - `preserveOrder` option is added to render XML in such a way that the result js Object maintains the order of properties same as in XML.
491
+ - Processing behaviour of `tagValueProcessor` and `attributeValueProcessor` are changes with extra input parameters
492
+ - j2xparser is renamed to XMLBuilder.
493
+ - You need to build XML parser instance for given options first before parsing XML.
494
+ - fix #327, #336: throw error when extra text after XML content
495
+ - fix #330: attribute value can have '\n',
496
+ - fix #350: attrbiutes can be separated by '\n' from tagname
497
+
498
+ 3.21.1 / 2021-10-31
499
+ - Correctly format JSON elements with a text prop but no attribute props ( By [haddadnj](https://github.com/haddadnj) )
500
+
501
+ 3.21.0 / 2021-10-25
502
+ - feat: added option `rootNodeName` to set tag name for array input when converting js object to XML.
503
+ - feat: added option `alwaysCreateTextNode` to force text node creation (by: *@massimo-ua*)
504
+ - ⚠️ feat: Better error location for unclosed tags. (by *@Gei0r*)
505
+ - Some error messages would be changed when validating XML. Eg
506
+ - `{ InvalidXml: "Invalid '[ \"rootNode\"]' found." }` → `{InvalidTag: "Unclosed tag 'rootNode'."}`
507
+ - `{ InvalidTag: "Closing tag 'rootNode' is expected inplace of 'rootnode'." }` → `{ InvalidTag: "Expected closing tag 'rootNode' (opened in line 1) instead of closing tag 'rootnode'."}`
508
+ - ⚠️ feat: Column in error response when validating XML
509
+ ```js
510
+ {
511
+ "code": "InvalidAttr",
512
+ "msg": "Attribute 'abc' is repeated.",
513
+ "line": 1,
514
+ "col": 22
515
+ }
516
+ ```
517
+
518
+ 3.20.1 / 2021-09-25
519
+ - update strnum package
520
+
521
+ 3.20.0 / 2021-09-10
522
+ - Use strnum npm package to parse string to number
523
+ - breaking change: long number will be parsed to scientific notation.
524
+
525
+ 3.19.0 / 2021-03-14
526
+ - License changed to MIT original
527
+ - Fix #321 : namespace tag parsing
528
+
529
+ 3.18.0 / 2021-02-05
530
+ - Support RegEx and function in arrayMode option
531
+ - Fix #317 : validate nested PI tags
532
+
533
+ 3.17.4 / 2020-06-07
534
+ - Refactor some code to support IE11
535
+ - Fix: `<tag >` space as attribute string
536
+
537
+ 3.17.3 / 2020-05-23
538
+ - Fix: tag name separated by \n \t
539
+ - Fix: throw error for unclosed tags
540
+
541
+ 3.17.2 / 2020-05-23
542
+ - Fixed an issue in processing doctype tag
543
+ - Fixed tagName where it should not have whitespace chars
544
+
545
+ 3.17.1 / 2020-05-19
546
+ - Fixed an issue in checking opening tag
547
+
548
+ 3.17.0 / 2020-05-18
549
+ - parser: fix '<' issue when it comes in aatr value
550
+ - parser: refactoring to remove dependency from regex
551
+ - validator: fix IE 11 issue for error messages
552
+ - updated dev dependencies
553
+ - separated benchmark module to sub-module
554
+ - breaking change: comments will not be removed from CDATA data
555
+
556
+ 3.16.0 / 2020-01-12
557
+ - validaor: fix for ampersand characters (#215)
558
+ - refactoring to support unicode chars in tag name
559
+ - update typing for validator error
560
+
561
+ 3.15.1 / 2019-12-09
562
+ - validaor: fix multiple roots are not allowed
563
+
564
+ 3.15.0 / 2019-11-23
565
+ - validaor: improve error messaging
566
+ - validator: add line number in case of error
567
+ - validator: add more error scenarios to make it more descriptive
568
+
569
+ 3.14.0 / 2019-10-25
570
+ - arrayMode for XML to JS obj parsing
571
+
572
+ 3.13.0 / 2019-10-02
573
+ - pass tag/attr name to tag/attr value processor
574
+ - inbuilt optional validation with XML parser
575
+
576
+ 3.12.21 / 2019-10-02
577
+ - Fix validator for unclosed XMLs
578
+ - move nimnjs dependency to dev dependency
579
+ - update dependencies
580
+
581
+ 3.12.20 / 2019-08-16
582
+ - Revert: Fix #167: '>' in attribute value as it is causing high performance degrade.
583
+
584
+ 3.12.19 / 2019-07-28
585
+ - Fix js to xml parser should work for date values. (broken: `tagValueProcessor` will receive the original value instead of string always) (breaking change)
586
+
587
+ 3.12.18 / 2019-07-27
588
+ - remove configstore dependency
589
+
590
+ 3.12.17 / 2019-07-14
591
+ - Fix #167: '>' in attribute value
592
+
593
+ 3.12.16 / 2019-03-23
594
+ - Support a new option "stopNodes". (#150)
595
+ Accept the list of tags which are not required to be parsed. Instead, all the nested tag and data will be assigned as string.
596
+ - Don't show post-install message
597
+
598
+ 3.12.12 / 2019-01-11
599
+ - fix : IE parseInt, parseFloat error
600
+
601
+ 3.12.11 / 2018-12-24
602
+ - fix #132: "/" should not be parsed as boolean attr in case of self closing tags
603
+
604
+ 3.12.9 / 2018-11-23
605
+ - fix #129 : validator should not fail when an atrribute name is 'length'
606
+
607
+ 3.12.8 / 2018-11-22
608
+ - fix #128 : use 'attrValueProcessor' to process attribute value in json2xml parser
609
+
610
+ 3.12.6 / 2018-11-10
611
+ - Fix #126: check for type
612
+
613
+ 3.12.4 / 2018-09-12
614
+ - Fix: include tasks in npm package
615
+
616
+ 3.12.3 / 2018-09-12
617
+ - Fix CLI issue raised in last PR
618
+
619
+ 3.12.2 / 2018-09-11
620
+ - Fix formatting for JSON to XML output
621
+ - Migrate to webpack (PR merged)
622
+ - fix cli (PR merged)
623
+
624
+ 3.12.0 / 2018-08-06
625
+ - Support hexadecimal values
626
+ - Support true number parsing
627
+
628
+ 3.11.2 / 2018-07-23
629
+ - Update Demo for more options
630
+ - Update license information
631
+ - Update readme for formatting, users, and spelling mistakes
632
+ - Add missing typescript definition for j2xParser
633
+ - refactoring: change filenames
634
+
635
+ 3.11.1 / 2018-06-05
636
+ - fix #93: read the text after self closing tag
637
+
638
+ 3.11.0 / 2018-05-20
639
+ - return defaultOptions if there are not options in buildOptions function
640
+ - added localeRange declaration in parser.d.ts
641
+ - Added support of cyrillic characters in validator XML
642
+ - fixed bug in validator work when XML data with byte order marker
643
+
644
+ 3.10.0 / 2018-05-13
645
+ - Added support of cyrillic characters in parsing XML to JSON
646
+
647
+ 3.9.11 / 2018-05-09
648
+ - fix https://github.com/NaturalIntelligence/fast-xml-parser/issues/80 fix nimn chars
649
+ - update package information
650
+ - fix https://github.com/NaturalIntelligence/fast-xml-parser/issues/86: json 2 xml parser : property with null value should be parsed to self closing tag.
651
+ - update online demo
652
+ - revert zombiejs to old version to support old version of node
653
+ - update dependencies
654
+
655
+ 3.3.10 / 2018-04-23
656
+ - fix #77 : parse even if closing tag has space before '>'
657
+ - include all css & js lib in demo app
658
+ - remove babel dependencies until needed
659
+
660
+ 3.3.9 / 2018-04-18
661
+ - fix #74 : TS2314 TypeScript compiler error
662
+
663
+ 3.3.8 / 2018-04-17
664
+ - fix #73 : IE doesn't support Object.assign
665
+
666
+ 3.3.7 / 2018-04-14
667
+ - fix: use let insted of const in for loop of validator
668
+ - Merge pull request
669
+ https://github.com/NaturalIntelligence/fast-xml-parser/issues/71 from bb/master
670
+ first draft of typings for typescript
671
+ https://github.com/NaturalIntelligence/fast-xml-parser/issues/69
672
+ - Merge pull request
673
+ https://github.com/NaturalIntelligence/fast-xml-parser/issues/70 from bb/patch-1
674
+ fix some typos in readme
675
+
676
+ 3.3.6 / 2018-03-21
677
+ - change arrow functions to full notation for IE compatibility
678
+
679
+ 3.3.5 / 2018-03-15
680
+ - fix https://github.com/NaturalIntelligence/fast-xml-parser/issues/67 : attrNodeName invalid behavior
681
+ - fix: remove decodeHTML char condition
682
+
683
+ 3.3.4 / 2018-03-14
684
+ - remove dependency on "he" package
685
+ - refactor code to separate methods in separate files.
686
+ - draft code for transforming XML to json string. It is not officially documented due to performance issue.
687
+
688
+ 3.3.0 / 2018-03-05
689
+ - use common default options for XML parsing for consistency. And add `parseToNimn` method.
690
+ - update nexttodo
691
+ - update README about XML to Nimn transformation and remove special notes about 3.x release
692
+ - update CONTRIBUTING.ms mentioning nexttodo
693
+ - add negative case for XML PIs
694
+ - validate xml processing instruction tags https://github.com/NaturalIntelligence/fast-xml-parser/issues/62
695
+ - nimndata: handle array with object
696
+ - nimndata: node with nested node and text node
697
+ - nimndata: handle attributes and text node
698
+ - nimndata: add options, handle array
699
+ - add xml to nimn data converter
700
+ - x2j: direct access property with tagname
701
+ - update changelog
702
+ - fix validator when single quote presents in value enclosed with double quotes or vice versa
703
+ - Revert "remove unneded nimnjs dependency, move opencollective to devDependencies and replace it
704
+ with more light opencollective-postinstall"
705
+ This reverts commit d47aa7181075d82db4fee97fd8ea32b056fe3f46.
706
+ - Merge pull request: https://github.com/NaturalIntelligence/fast-xml-parser/issues/63 from HaroldPutman/suppress-undefined
707
+ Keep undefined nodes out of the XML output : This is useful when you are deleting nodes from the JSON and rewriting XML.
708
+
709
+ 3.2.4 / 2018-03-01
710
+ - fix #59 fix in validator when open quote presents in attribute value
711
+ - Create nexttodo.md
712
+ - exclude static from bitHound tests
713
+ - add package lock
714
+
715
+ 3.2.3 / 2018-02-28
716
+ - Merge pull request from Delagen/master: fix namespaces can contain the same characters as xml names
717
+
718
+ 3.2.2 / 2018-02-22
719
+ - fix: attribute xmlns should not be removed if ignoreNameSpace is false
720
+ - create CONTRIBUTING.md
721
+
722
+ 3.2.1 / 2018-02-17
723
+ - fix: empty attribute should be parsed
724
+
725
+ 3.2.0 / 2018-02-16
726
+ - Merge pull request : Dev to Master
727
+ - Update README and version
728
+ - j2x:add performance test
729
+ - j2x: Remove extra empty line before closing tag
730
+ - j2x: suppress empty nodes to self closing node if configured
731
+ - j2x: provide option to give indentation depth
732
+ - j2x: make optional formatting
733
+ - j2x: encodeHTMLchat
734
+ - j2x: handle cdata tag
735
+ - j2x: handle grouped attributes
736
+ - convert json to xml
737
+ - nested object
738
+ - array
739
+ - attributes
740
+ - text value
741
+ - small refactoring
742
+ - Merge pull request: Update cli.js to let user validate XML file or data
743
+ - Add option for rendering CDATA as separate property
744
+
745
+ 3.0.1 / 2018-02-09
746
+ - fix CRLF: replace it with single space in attributes value only.
747
+
748
+ 3.0.0 / 2018-02-08
749
+ - change online tool with new changes
750
+ - update info about new options
751
+ - separate tag value processing to separate function
752
+ - make HTML decoding optional
753
+ - give an option to allow boolean attributes
754
+ - change cli options as per v3
755
+ - Correct comparison table format on README
756
+ - update v3 information
757
+ - some performance improvement changes
758
+ - Make regex object local to the method and move some common methods to util
759
+ - Change parser to
760
+ - handle multiple instances of CDATA
761
+ - make triming of value optionals
762
+ - HTML decode attribute and text value
763
+ - refactor code to separate files
764
+ - Ignore newline chars without RE (in validator)
765
+ - validate for XML prolog
766
+ - Validate DOCTYPE without RE
767
+ - Update validator to return error response
768
+ - Update README to add detail about V3
769
+ - Separate xmlNode model class
770
+ - include vscode debug config
771
+ - fix for repeated object
772
+ - fix attribute regex for boolean attributes
773
+ - Fix validator for invalid attributes
774
+ 2.9.4 / 2018-02-02
775
+ - Merge pull request: Decode HTML characters
776
+ - refactor source folder name
777
+ - ignore bundle / browser js to be published to npm
778
+ 2.9.3 / 2018-01-26
779
+ - Merge pull request: Correctly remove CRLF line breaks
780
+ - Enable to parse attribute in online editor
781
+ - Fix testing demo app test
782
+ - Describe parsing options
783
+ - Add options for online demo
784
+ 2.9.2 / 2018-01-18
785
+ - Remove check if tag starting with "XML"
786
+ - Fix: when there are spaces before / after CDATA
787
+
788
+ 2.9.1 / 2018-01-16
789
+ - Fix: newline should be replaced with single space
790
+ - Fix: for single and multiline comments
791
+ - validate xml with CDATA
792
+ - Fix: the issue when there is no space between 2 attributes
793
+ - Fix: https://github.com/NaturalIntelligence/fast-xml-parser/issues/33: when there is newline char in attr val, it doesn't parse
794
+ - Merge pull request: fix ignoreNamespace
795
+ - fix: don't wrap attributes if only namespace attrs
796
+ - fix: use portfinder for run tests, update deps
797
+ - fix: don't treat namespaces as attributes when ignoreNamespace enabled
798
+
799
+ 2.9.0 / 2018-01-10
800
+ - Rewrite the validator to handle large files.
801
+ Ignore DOCTYPE validation.
802
+ - Fix: When attribute value has equal sign
803
+
804
+ 2.8.3 / 2017-12-15
805
+ - Fix: when a tag has value along with subtags
806
+
807
+ 2.8.2 / 2017-12-04
808
+ - Fix value parsing for IE
809
+
810
+ 2.8.1 / 2017-12-01
811
+ - fix: validator should return false instead of err when invalid XML
812
+
813
+ 2.8.0 / 2017-11-29
814
+ - Add CLI option to ignore value conversion
815
+ - Fix variable name when filename is given on CLI
816
+ - Update CLI help text
817
+ - Merge pull request: xml2js: Accept standard input
818
+ - Test Node 8
819
+ - Update dependencies
820
+ - Bundle readToEnd
821
+ - Add ability to read from standard input
822
+
823
+ 2.7.4 / 2017-09-22
824
+ - Merge pull request: Allow wrap attributes with subobject to compatible with other parsers output
825
+
826
+ 2.7.3 / 2017-08-02
827
+ - fix: handle CDATA with regx
828
+
829
+ 2.7.2 / 2017-07-30
830
+ - Change travis config for yarn caching
831
+ - fix validator: when tag property is same as array property
832
+ - Merge pull request: Failing test case in validator for valid SVG
833
+
834
+ 2.7.1 / 2017-07-26
835
+ - Fix: Handle val 0
836
+
837
+ 2.7.0 / 2017-07-25
838
+ - Fix test for arrayMode
839
+ - Merge pull request: Add arrayMode option to parse any nodes as arrays
840
+
841
+ 2.6.0 / 2017-07-14
842
+ - code improvement
843
+ - Add unit tests for value conversion for attr
844
+ - Merge pull request: option of an attribute value conversion to a number (textAttrConversion) the same way as the textNodeConversion option does. Default value is false.
845
+
846
+ 2.5.1 / 2017-07-01
847
+ - Fix XML element name pattern
848
+ - Fix XML element name pattern while parsing
849
+ - Fix validation for xml tag element
850
+
851
+ 2.5.0 / 2017-06-25
852
+ - Improve Validator performance
853
+ - update attr matching regex
854
+ - Add perf tests
855
+ - Improve atrr regex to handle all cases
856
+
857
+ 2.4.4 / 2017-06-08
858
+ - Bug fix: when an attribute has single or double quote in value
859
+
860
+ 2.4.3 / 2017-06-05
861
+ - Bug fix: when multiple CDATA tags are given
862
+ - Merge pull request: add option "textNodeConversion"
863
+ - add option "textNodeConversion"
864
+
865
+ 2.4.1 / 2017-04-14
866
+ - fix tests
867
+ - Bug fix: preserve initial space of node value
868
+ - Handle CDATA
869
+
870
+ 2.3.1 / 2017-03-15
871
+ - Bug fix: when single self closing tag
872
+ - Merge pull request: fix .codeclimate.yml
873
+ - Update .codeclimate.yml - Fixed config so it does not error anymore.
874
+ - Update .codeclimate.yml
875
+
876
+ 2.3.0 / 2017-02-26
877
+ - Code improvement
878
+ - add bithound config
879
+ - Update usage
880
+ - Update travis to generate bundle js before running tests
881
+ - 1.Browserify, 2. add more tests for validator
882
+ - Add validator
883
+ - Fix CLI default parameter bug
884
+
885
+ 2.2.1 / 2017-02-05
886
+ - Bug fix: CLI default option