- move notes element before the segment element for xliff v2
- fix notes handling for xliff v2
- try to handle
<x id="INTERPOLATION"
- skip ignorable non-segments
- ignore other comments in xliff2js
- ignore comments in xliff2js, like in xliff12ToJs
- remove detectICU and escape function again
- introduce detectICU and escape function
- Fix ignoring {indent: false} option on xml generation
- Add support for mrk
- Add support for cdata sections
- Add support for nested
<group>
tags
- transpile also esm
- fix export for node v14 cjs
- fix export for dynamic imports
- fix createxliff imports
- fix xliff2js option default
- ofjs backwards compatability
- complete refactoring to make this module universal
- MIGRATION:
require('xliff/xliff2js')
should be replaced withrequire('xliff/cjs/xliff2js')
require('xliff/js2xliff')
should be replaced withrequire('xliff/cjs/js2xliff')