- ensure jsToXliff functions generate valid xliff files #58
- special handling for sizeRestriction attribute in xliff v2
- introduce captureSpacesBetweenElements option
- fix when source and target has different keys
- do not error on empty groups #53
- handle empty xliff files #52
- better group handling support
- support multiple notes
- fix if no source but target
- a bit friendlier when not having target values
- expose noteKeys on createjs and createxliff function
- 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')