Tony Brix
587729f9a5
chore: remove node 4 polyfills ( #3014 )
2023-09-29 00:54:12 -06:00
Florian Dreier
cb549065f1
fix: Migrate to Typescript ( #2805 )
...
BREAKING CHANGE: Migrate to Typescript
2023-07-29 00:31:34 -06:00
Tony Brix and Steven
353e13b479
feat: add Marked instance ( #2831 )
...
Co-authored-by: Steven <steven@ceriously.com >
2023-06-09 22:10:12 -05:00
Tony Brix
a37fe8e82b
fix: fix quadratic execution in em mask ( #2818 )
...
* fix: fix redos in em mask
* also remove (
2023-05-26 11:50:39 -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
Tony Brix
3b8358025d
test comment to end of doc
2020-08-07 11:19:47 -05:00
Ivan Demidov
e6fe42110c
perf: diff string
2020-04-23 18:20:24 +03:00
Ivan Demidov
8b8ecf1d94
style: after lint
2020-04-21 10:44:46 +03:00
Ivan Demidov
70dc21f4a1
test: perf toRenderExact method
2020-04-21 10:44:46 +03:00
Ivan Demidov
ad26aeb1d5
test: perf change deepEqual to renderExtra
2020-04-21 10:44:46 +03:00
Ivan Demidov
fbbdcc8dd5
test: add helper toDeepEqual for strict html equal
2020-04-21 10:44:46 +03:00
Tony Brix
4d24272617
add tests
2020-04-02 00:24:21 -05:00
Tony Brix
ba45b32dd7
remove test:redos and use es6 in tests
2019-11-06 12:15:12 -06:00
Tony Brix
9774b70a27
change tests to async
2019-09-11 16:37:31 -05:00
Tony Brix
7ed2692770
fix testing with node 4
2019-07-01 09:33:25 -05:00
Tony Brix
4b6a6e72b5
.md files can have skip and only to help debug
2019-07-01 08:07:36 -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
ff127c5a59
use template literals
2019-03-13 10:39:01 -05:00
Tony Brix
621f649c2b
abstract htmldiffer
2019-03-13 08:50:11 -05:00
Tony Brix
b169e7bc1a
add excerpt length constant
2019-03-12 09:32:45 -05:00
Tony Brix
fb9a71ccf1
use arrow functions
2019-03-12 09:32:45 -05:00
Tony Brix
b9d99af59d
add toRender matcher
2019-03-12 09:23:11 -05:00
Tony Brix
b858452c9c
use getDefaults
2018-04-10 07:53:59 -05:00
Tony Brix
1e0e4dccd4
reset defaults in beforeEach
2018-04-09 23:19:04 -05:00