Tony Brix
353e13b479
feat: add Marked instance ( #2831 )
...
Co-authored-by: Steven <steven@ceriously.com>
2023-06-09 22:10:12 -05:00
Ben McCann
4afb228d95
fix: Convert to ESM ( #2227 )
...
BREAKING CHANGE:
- Default export removed. Use `import { marked } from 'marked'` or `const { marked } = require('marked')` instead.
- `/lib/marked.js` removed. Use `/marked.min.js` in script tag instead.
- When using marked in a script tag use `marked.parse(...)` instead of `marked(...)`
2021-11-02 09:32:17 -05:00
Ivan Demidov
ad26aeb1d5
test: perf change deepEqual to renderExtra
2020-04-21 10:44:46 +03:00
Ivan Demidov
ce80652bac
style: after lint
2020-04-21 10:44:46 +03:00
Ivan Demidov
91a884a08c
test: add condition for deepEqual rules
2020-04-21 10:44:46 +03:00
Tony Brix
9774b70a27
change tests to async
2019-09-11 16:37:31 -05:00
Tony Brix
0276ad7940
silent tests
2019-07-02 10:03:46 -05:00
Tony Brix
1f4c17fa8a
Merge branch 'master' into spec-options
2019-07-02 09:36:05 -05:00
Tony Brix
44dbeeb31e
remove tables option
2019-07-02 00:23:57 -05:00
Tony Brix
ef4904d89a
use correct options
2019-07-01 08:12:01 -05:00
KT
0e8d8f4768
use the more generic sanitizer
option instead of sanitizerRemoveHtml
in tests
2019-06-28 21:31:03 +02:00
KT
73ad6589b8
make lint happy
2019-06-27 01:30:01 +02:00
KT
506704a5fe
add test cases for sanitization hardening
2019-06-27 01:09:34 +02:00
Tony Brix
505f76932c
rename redos
2019-05-03 21:01:22 -05:00
Tony Brix
30adf160c2
copy standard deviations ;) from main eslint config
2019-05-03 20:59:45 -05:00
Tony Brix
2881fc923b
remove example
2019-05-03 20:59:44 -05:00
Tony Brix
bc835ae99e
simplify eslint config
2019-05-03 20:59:44 -05:00
Tony Brix
975ec34152
load all specs
2019-05-03 20:59:43 -05:00
Tony Brix
b1174c21d8
update run-spec for node 4
2019-05-03 20:58:27 -05:00
Tony Brix
8cc733d26b
update gfm specs to 0.29
2019-04-12 10:31:44 -05:00
Tony Brix
b636a97ecd
update commonmark specs to 0.29
2019-04-09 13:21:44 -05:00
Tony Brix
0ac3c48da0
show pass percent
2019-04-09 13:19:50 -05:00
Tony Brix
fb9a71ccf1
use arrow functions
2019-03-12 09:32:45 -05:00
Tony Brix
5f2f087418
add run-spec
2019-03-12 09:23:11 -05:00