Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

xliff

Package Overview
Dependencies
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xliff - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0

10

js2xliff.js

@@ -7,3 +7,3 @@ const xml2js = require('xml2js');

cb = opt;
opt = { pretty: true, indent: ' ', newline: '\n' };
opt = { pretty: true, indent: ' ', newline: '\n' };
}

@@ -14,5 +14,7 @@

headless: true,
pretty: opt.pretty,
indent: opt.indent || ' ',
newline: opt.newline || '\n'
renderOpts: {
pretty: opt.pretty === false ? false : true,
indent: opt.indent || ' ',
newline: opt.newline || '\n'
},
});

@@ -19,0 +21,0 @@

@@ -7,3 +7,3 @@ const xml2js = require('xml2js');

cb = opt;
opt = { headless: true, pretty: true, indent: ' ', newline: '\n' };
opt = { headless: true, pretty: true, indent: ' ', newline: '\n' };
}

@@ -14,5 +14,7 @@

headless: opt.headless,
pretty: opt.pretty,
indent: opt.indent || ' ',
newline: opt.newline || '\n'
renderOpts: {
pretty: opt.pretty === false ? false : true,
indent: opt.indent || ' ',
newline: opt.newline || '\n'
},
});

@@ -19,0 +21,0 @@

4

package.json
{
"name": "xliff",
"version": "2.1.1",
"version": "2.2.0",
"description": "xliff2js and js2xliff converter xliff utils",

@@ -10,3 +10,3 @@ "main": "index.js",

"dependencies": {
"xml2js": "0.4.18"
"xml2js": "0.4.19"
},

@@ -13,0 +13,0 @@ "devDependencies": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc