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 5.1.0 to 5.2.0

4

CHANGELOG.md

@@ -0,1 +1,5 @@

### 5.2.0
- Add support for cdata sections
### 5.1.0

@@ -2,0 +6,0 @@

@@ -38,3 +38,7 @@ "use strict";

if (valueElement.type === 'cdata') {
return valueElement.cdata;
}
return '';
}

@@ -30,3 +30,7 @@ import { tagToElementType } from '../inline-elements/typeToTagMaps.js';

if (valueElement.type === 'cdata') {
return valueElement.cdata;
}
return '';
}

@@ -34,4 +34,9 @@ import { tagToElementType } from '../inline-elements/typeToTagMaps.js'

// CDATA Section https://docs.oasis-open.org/xliff/v1.2/xliff-profile-html/xliff-profile-html-1.2-cd02.html
if (valueElement.type === 'cdata') {
return valueElement.cdata
}
// just ignore anything else
return ''
}

2

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

@@ -5,0 +5,0 @@ "type": "module",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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