2.14.0
What's Changed
rewriting improvements:
- fix typo in rewrite order params, pass opts last
- handle rewriting of external esm modules:
- rewrite <script type="module" src="..."> with special 'esm_' modifier
- if esm_ modifier, don't treat as ajax, but apply module rewriting
- add tests for module rewriting with esm_, update existing tests to use mp_ modifier to match current usage
- Set
scriptRWback to empty string when unable to determine script type by @oott123 in #96
indexing fixes:
- skip index for WARC records that have OPTIONS or HEAD methods, both when reading existing cdxj and generating cdxj from WARC records (part of fix for webrecorder/archiveweb.page#124)
ds rules:
- expand instagram rule to disable DASH (fix for webrecorder/archiveweb.page#125)
- fix twitter video rule to more accurately match json block
- tests: add test for #335 (clearing script rewrite mode)
dependencies:
- switch to http-link-header for link header parsing (smaller lib)
- update to latest parse5 (ts based), remove checking raw text, use large buffer instead
- update to warcio 2.0.1 (ts based), includes fixes for indexing certain WARCs
- update to wombat 3.4.2, includes additional overrides for .style, location rewrite fixes
- fix copyright version in banner message to use current year
- reduce overall build sw.js size by ~40k
New Contributors
Full Changelog: 2.13.15...2.14.0