{"_id":"@bugatino/xliff-simple-merge","_rev":"1-8e9bec2b21a38fcdcfebe04e6147cdd2","name":"@bugatino/xliff-simple-merge","dist-tags":{"latest":"0.10.3"},"versions":{"0.10.2":{"name":"@bugatino/xliff-simple-merge","version":"0.10.2","description":"Merges XLIFF files","main":"dist/src/index.js","bin":{"xliff-simple-merge":"dist/src/index.js"},"scripts":{"test":"jest","test-coverage":"jest --coverage","build":"tsc","prepack":"tsc"},"keywords":["xliff","angular","i18n","merge"],"repository":{"type":"git","url":"git+https://github.com/bugatino/xliff-simple-merge.git"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"dependencies":{"commander":"~8.3.0","js-levenshtein":"~1.1.6","xmldoc":"~1.1.2"},"devDependencies":{"@types/jest":"~26.0.20","@types/js-levenshtein":"~1.1.1","@types/xml2js":"~0.4.9","@types/xmldoc":"~1.1.6","jest":"~27.4.7","ts-jest":"~27.1.3","ts-node":"^10.4.0","tslint":"~6.1.3","typescript":"~4.5.4"},"author":{"name":"daniel-schreiber@gmx.de"},"license":"MIT","gitHead":"26e859f4ff0474516242555e42c063c531c9973c","bugs":{"url":"https://github.com/bugatino/xliff-simple-merge/issues"},"homepage":"https://github.com/bugatino/xliff-simple-merge#readme","_id":"@bugatino/xliff-simple-merge@0.10.2","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-qMPGlxMav/WBk4h+hGghDrooQQkOsggQzWWqH/UNA7fmryIyMQHRWZ/0uxW2zE4wbmuvU193NiOw90WqXgSk5A==","shasum":"7a6f43213b0be14bc05e2358746d252eb3287a45","tarball":"https://registry.npmjs.org/@bugatino/xliff-simple-merge/-/xliff-simple-merge-0.10.2.tgz","fileCount":7,"unpackedSize":16011,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG3Wdf/zZgHBVSu+WGBlJrhvzyL7j1SAOfU4SrnYtkydAiEApUd8alKAYDlU//rZFt1B+XqWqRUfc90ApP2pxl1QKtI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiXc1EACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpdFw//SpVrGJuvmuWAvytk+P43FU41/bO5SZ7f0/GOsfVf+NoMCMNQ\r\nxEQZlycwU+aDFwsXrEwgDJWHG9iy7topD8w6RDwxQ/WduFh3PKZOHViqU40u\r\nPIcJehcUcwNmHq7JdZYb+Ujhrt4Vfywz35sTujutQEVOD2EY99xCha6yIin4\r\nBrAzHe1kdkn9t9A5ZikoW6E5iYGKyPOeaXqAi0rNnFRYdBLxrA8XHW/TNTqR\r\nz64T2qBnd5dG/sM/TA6mTdsk1veU4iCfFTVwuGEdrrBheOKSZyUoNV1e4niD\r\nhkmuukEEkZdMTiBYOXechQZs2wt8WhQtvuWUdOdpnEnpeYZCpNWZQRdg+ih3\r\no4d60XbAo9yIze19rDHyVCqsAxMa04Lr5TMn6VUNcU+z5JOV5fwy08UVzhBX\r\nDZQSb0ZrkCNOKO6YRfyLk656wmtL5ugpc9dR+4AAjutmqF56IfEd8LEK3mvU\r\n+CotGRGLWSu/dNOTEtBHHKq0O8b49LOOQ6Gh29hW5FR03+OAohT5HDOQuY9Q\r\nmssynzVzNxodp4GjPUh3N+G+vv+77GFs0GV/p/TfC68wJk7YGybfLSfbQlog\r\nvRENd+42lWPBtSvKan15TUgc/O4cHSe7GRL0DKAAZW9FC6APbMscNniZuAsC\r\nWEK31zb+LL70/L6+k/yBdLo/yssGTtYRdIo=\r\n=bf3k\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bugatino","email":"bugatino@gmail.com"},"directories":{},"maintainers":[{"name":"bugatino","email":"bugatino@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xliff-simple-merge_0.10.2_1650314563975_0.7405627665313774"},"_hasShrinkwrap":false},"0.10.3":{"name":"@bugatino/xliff-simple-merge","version":"0.10.3","description":"Merges XLIFF files (with keep unused trans-unit id)","main":"dist/src/index.js","bin":{"xliff-simple-merge":"dist/src/index.js"},"scripts":{"test":"jest","test-coverage":"jest --coverage","build":"tsc","prepack":"tsc"},"keywords":["xliff","angular","i18n","merge"],"repository":{"type":"git","url":"git+https://github.com/bugatino/xliff-simple-merge.git"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"dependencies":{"commander":"~8.3.0","js-levenshtein":"~1.1.6","xmldoc":"~1.1.2"},"devDependencies":{"@types/jest":"~26.0.20","@types/js-levenshtein":"~1.1.1","@types/xml2js":"~0.4.9","@types/xmldoc":"~1.1.6","jest":"~27.4.7","ts-jest":"~27.1.3","ts-node":"^10.4.0","tslint":"~6.1.3","typescript":"~4.5.4"},"author":{"name":"daniel-schreiber@gmx.de"},"license":"MIT","gitHead":"6f37efc33f8944d95cf5f3e668a5baab86843126","bugs":{"url":"https://github.com/bugatino/xliff-simple-merge/issues"},"homepage":"https://github.com/bugatino/xliff-simple-merge#readme","_id":"@bugatino/xliff-simple-merge@0.10.3","_nodeVersion":"14.17.4","_npmVersion":"6.14.14","dist":{"integrity":"sha512-TXCk5mX1pFmtuZrHK7sfexDLfxPyK3bA0TWH6OgcI1lbOSq7QreMZaZquJlzG8wKzVCdUBRjkf6hNdzwrI0PWA==","shasum":"60044afc7ba1fb9488f5df7e8116a96bd06526fa","tarball":"https://registry.npmjs.org/@bugatino/xliff-simple-merge/-/xliff-simple-merge-0.10.3.tgz","fileCount":7,"unpackedSize":17260,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSUVgz0Bq8qDp6RiKdd4CNVySwMt+/8eAclCwN/LgDkwIhAL+Q/YzbDTuh1OQXysppGexWLBLgCnwFTUIWKIfijAIX"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJickmQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpwOg/+I1eWYqQwPNVm+IUM3Txb7f2IjP/6FVQNGSZn8YILedafkhF3\r\nOvU3UvH3iYGpUSXgq1M8/rLd+C2sdivntF16ErCpdz3EEcgfLOSRuecRyU9o\r\n1vN/6d8Ws+2/GLP2eTmyjKQBp8zZXb+m0Ir9GjJ3NLasYsX5YBKkrAh9gyTX\r\ngx5+CBd+CHS69EsJm+FONjZvl+at+JWGn4qbtgHwiX0RYyHYLdkiQHno0fCX\r\npCCmLUzRk4G7ud7n7ec08G6JsvpANdzgntnjxCRSgCva2s5DIrbNZx7pgUVd\r\n33yrBMIuuuQuikPyJHw9whsVMLCxcISX8LIp89ZtDzc+dL4FfSoJiBaeay06\r\n42azRo+CMacxh7D/PcLC+H6o4aFaZqZ+WbfN9wmX8W8/KNbPIIFI5lzUlsE7\r\nfVc1x5wRNqUJJcbIxQIRrsmr+e7LbmB5crWotw1bCGpMBMyuhT9H3clgNCk1\r\nHSdwLCt9pq5TiMSrkaYnN51BLpS8wfTLzAsfJ8KzesjbuSnyqR7K5DnMWyMZ\r\nutmIPXKJ3gI+4hlEEbFsyfhDLMnEA9UCvAw2Y+ax2+TwwlbAzqkQ64yWXPyD\r\nMQwW5IDRB+2G8lMqgj04WlyRcda85pstTYS9cdXEvUtzl//WeHDooWTbFCfP\r\notE+S2zNCBIXeba0dKf6FmU6ma5w/7MEQ+4=\r\n=RBaK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bugatino","email":"bugatino@gmail.com"},"directories":{},"maintainers":[{"name":"bugatino","email":"bugatino@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xliff-simple-merge_0.10.3_1651657103840_0.6600003231654039"},"_hasShrinkwrap":false}},"time":{"created":"2022-04-18T20:42:43.924Z","0.10.2":"2022-04-18T20:42:44.245Z","modified":"2022-05-04T09:38:24.048Z","0.10.3":"2022-05-04T09:38:23.984Z"},"maintainers":[{"name":"bugatino","email":"bugatino@gmail.com"}],"description":"Merges XLIFF files (with keep unused trans-unit id)","homepage":"https://github.com/bugatino/xliff-simple-merge#readme","keywords":["xliff","angular","i18n","merge"],"repository":{"type":"git","url":"git+https://github.com/bugatino/xliff-simple-merge.git"},"author":{"name":"daniel-schreiber@gmx.de"},"bugs":{"url":"https://github.com/bugatino/xliff-simple-merge/issues"},"license":"MIT","readme":"## This is fork of: https://github.com/daniel-sc/xliff-simple-merge \nAdded:\n- option **--no-remove-unused** to keep unused trans-unit id of destination file during merge.\n- option **--new-target-blank** to make new translation target blank.\n\nYou can use this tool to merge 2 translated files, for example, to merge \"new_messages.vi.xlf\" into \"messages.vi.xlf\" and keep missing translations of messages.vi.xlf compared to new_messages.vi.xlf you can use the following command:\n```\nnpx @bugatino\\xliff-simple-merge -i new_messages.vi.xlf -d messages.vi.xlf --no-remove-unused\n```\n\n---\n\n# XLIFF Simple Merge (Forked)\n\nThis program automates the merging of XLIFF files (version 1.2 and 2.0). \nNew translations from the input file (e.g. \"messages.xlf\") are merged into the destination file (e.g \"messages.fr-FR.xlf\"), while keeping exising translations intact. \n~~Removed translations will be removed in the input file.~~\n\nThis can be used as post-processing to angular i18n extraction, to update translations files.\n\n## Usage\n\nEither install via `npm i -g xliff-simple-merge` or run directly with `npx xliff-simple-merge`.\n\n```text\nOptions:\n  -i, --input-file <inputFile>              input file/merge origin\n  -d, --destination-file <destinationFile>  merge destination\n  -o, --output-file <outputFile>            output file, if not provided \"merge destination\" is overwritten\n  --no-remove-unused                        prevent remove unused trans-unit id of destination file during merge\n  --no-match-fuzzy                          prevent fuzzy matching of similar units with changed id\n  --no-collapse-whitespace                  prevent collapsing of multiple whitespaces and trimming when comparing translations sources\n  --no-reset-translation-state              prevent (re-)setting the translation state to new/initial for new/changed units\n  --no-replace-apostrophe                   prevent replacing of apostrophes (') with \"&apos;\"\n  --new-target-blank                        new translation targets should be blank\n  --debug                                   enable debug output\n  -h, --help                                display help for command\n```\n","readmeFilename":"README.md"}