securemark 0.219.4 → 0.223.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 (41) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/securemark.js +724 -578
  3. package/package-lock.json +389 -864
  4. package/package.json +12 -12
  5. package/src/combinator/control/manipulation/fallback.ts +8 -0
  6. package/src/combinator/control/manipulation/fence.ts +1 -1
  7. package/src/combinator/control/manipulation/indent.test.ts +0 -1
  8. package/src/combinator/control/manipulation/indent.ts +1 -1
  9. package/src/combinator/control/manipulation/recovery.ts +2 -2
  10. package/src/combinator.ts +1 -0
  11. package/src/parser/api/normalize.test.ts +9 -6
  12. package/src/parser/api/normalize.ts +30 -29
  13. package/src/parser/block/ilist.ts +4 -2
  14. package/src/parser/block/olist.test.ts +9 -8
  15. package/src/parser/block/olist.ts +21 -4
  16. package/src/parser/block/paragraph/mention/cite.ts +3 -3
  17. package/src/parser/block/table.test.ts +1 -1
  18. package/src/parser/block/table.ts +19 -9
  19. package/src/parser/block/ulist.test.ts +6 -5
  20. package/src/parser/block/ulist.ts +13 -2
  21. package/src/parser/block.ts +5 -7
  22. package/src/parser/inline/annotation.test.ts +2 -2
  23. package/src/parser/inline/annotation.ts +4 -4
  24. package/src/parser/inline/emphasis.ts +2 -2
  25. package/src/parser/inline/emstrong.ts +4 -4
  26. package/src/parser/inline/extension/index.ts +2 -2
  27. package/src/parser/inline/html.test.ts +13 -13
  28. package/src/parser/inline/html.ts +4 -4
  29. package/src/parser/inline/link.test.ts +5 -5
  30. package/src/parser/inline/link.ts +4 -4
  31. package/src/parser/inline/mark.ts +2 -2
  32. package/src/parser/inline/math.ts +2 -2
  33. package/src/parser/inline/media.test.ts +3 -2
  34. package/src/parser/inline/media.ts +5 -6
  35. package/src/parser/inline/reference.test.ts +2 -2
  36. package/src/parser/inline/reference.ts +4 -4
  37. package/src/parser/inline/ruby.ts +2 -2
  38. package/src/parser/inline/strong.ts +2 -2
  39. package/src/parser/util.ts +56 -9
  40. package/src/renderer/render/math.ts +1 -1
  41. package/tsconfig.json +6 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.223.0
4
+
5
+ - Refine some parsers to allow and trim leading whitespace.
6
+
7
+ ## 0.222.0
8
+
9
+ - Change link parser to trim whitespace.
10
+
11
+ ## 0.221.0
12
+
13
+ - Change ulist, olist, and ilist parsers to disallow fullwidth space indent.
14
+ - Fix ulist, olist, and ilist parsers to accept invalid lines.
15
+ - Fix table parser to accept invalid lines.
16
+
17
+ ## 0.220.0
18
+
19
+ - Change normalization not to escape unreadable characters.
20
+
3
21
  ## 0.219.4
4
22
 
5
23
  - Fix comment parser.