18 Commits

Author SHA1 Message Date
Florian Dreier
cb549065f1
fix: Migrate to Typescript (#2805)
BREAKING CHANGE: Migrate to Typescript
2023-07-29 00:31:34 -06:00
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
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
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