securemark 0.279.1 → 0.280.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +10 -10
  3. package/dist/index.js +120 -138
  4. package/markdown.d.ts +1 -7
  5. package/package.json +1 -1
  6. package/src/combinator/data/parser/context/delimiter.ts +49 -21
  7. package/src/combinator/data/parser/context/memo.ts +6 -6
  8. package/src/combinator/data/parser/context.ts +23 -7
  9. package/src/combinator/data/parser/some.ts +1 -1
  10. package/src/parser/api/bind.ts +4 -1
  11. package/src/parser/api/parse.test.ts +13 -13
  12. package/src/parser/api/parse.ts +4 -1
  13. package/src/parser/block/extension/table.ts +1 -1
  14. package/src/parser/block/heading.ts +1 -1
  15. package/src/parser/block/reply/quote.ts +9 -46
  16. package/src/parser/block.ts +2 -2
  17. package/src/parser/inline/annotation.ts +4 -4
  18. package/src/parser/inline/autolink/account.ts +1 -1
  19. package/src/parser/inline/autolink/url.ts +1 -1
  20. package/src/parser/inline/autolink.ts +2 -2
  21. package/src/parser/inline/bracket.test.ts +3 -2
  22. package/src/parser/inline/bracket.ts +8 -9
  23. package/src/parser/inline/deletion.ts +4 -4
  24. package/src/parser/inline/emphasis.ts +4 -4
  25. package/src/parser/inline/emstrong.ts +4 -4
  26. package/src/parser/inline/extension/index.test.ts +6 -0
  27. package/src/parser/inline/extension/index.ts +11 -11
  28. package/src/parser/inline/extension/placeholder.ts +4 -4
  29. package/src/parser/inline/html.test.ts +1 -1
  30. package/src/parser/inline/html.ts +5 -5
  31. package/src/parser/inline/insertion.ts +4 -4
  32. package/src/parser/inline/link.ts +6 -6
  33. package/src/parser/inline/mark.ts +4 -4
  34. package/src/parser/inline/media.ts +4 -4
  35. package/src/parser/inline/reference.ts +3 -3
  36. package/src/parser/inline/remark.test.ts +1 -0
  37. package/src/parser/inline/remark.ts +4 -4
  38. package/src/parser/inline/ruby.ts +2 -2
  39. package/src/parser/inline/strong.ts +4 -4
  40. package/src/parser/inline/template.ts +7 -4
  41. package/src/parser/inline.test.ts +2 -5
  42. package/src/parser/source/str.ts +0 -19
  43. package/src/parser/source/text.test.ts +1 -1
  44. package/src/parser/source/text.ts +3 -3
  45. package/src/parser/source.ts +1 -1
  46. package/src/parser/visibility.ts +3 -1
  47. package/src/util/toc.ts +4 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.280.1
4
+
5
+ - Refactoring.
6
+
7
+ ## 0.280.0
8
+
9
+ - Decrease resource size to 20,000.
10
+ - Change operator precedence of template syntax to 6.
11
+ - Swap operator precedence of html syntax and remark syntax.
12
+
3
13
  ## 0.279.1
4
14
 
5
15
  - Refactoring.
package/README.md CHANGED
@@ -65,16 +65,16 @@ Secure markdown renderer working on browsers for user input data.
65
65
 
66
66
  ## Operator precedence
67
67
 
68
- |P| Operators |
69
- |-|-------------------|
70
- |9| \n, \\\n |
71
- |8| ` |
72
- |6| (()), [[]], ${}$ |
73
- |5| \<tag>\</tag> |
74
- |4| [% %] |
75
- |3| $, " |
76
- |2| (), [], {} |
77
- |1| *, **, ==, ++, ~~ |
68
+ |P| Operators |
69
+ |-|------------------------|
70
+ |9| \n, \\\n |
71
+ |8| ` |
72
+ |6| (()), [[]], {{}}, ${}$ |
73
+ |5| [% %] |
74
+ |4| \<tag>\</tag> |
75
+ |3| $, " |
76
+ |2| (), [], {} |
77
+ |1| *, **, ==, ++, ~~ |
78
78
 
79
79
  ## Dependencies
80
80