Comparing version 5.5.0 to 5.5.1
@@ -0,1 +1,5 @@ | ||
### 5.5.1 | ||
- ignore comments in xliff2js, like in xliff12ToJs | ||
### 5.5.0 | ||
@@ -2,0 +6,0 @@ |
@@ -58,2 +58,5 @@ "use strict"; | ||
file.elements = file.elements || []; | ||
file.elements = file.elements.filter(function (child) { | ||
return child.type !== 'comment'; | ||
}); | ||
resources[namespace] = createUnits(file, initValues); | ||
@@ -60,0 +63,0 @@ return resources; |
@@ -47,2 +47,5 @@ import convert from 'xml-js'; | ||
file.elements = file.elements || []; | ||
file.elements = file.elements.filter(function (child) { | ||
return child.type !== 'comment'; | ||
}); | ||
resources[namespace] = createUnits(file, initValues); | ||
@@ -49,0 +52,0 @@ return resources; |
@@ -45,2 +45,5 @@ import convert from 'xml-js' | ||
file.elements = file.elements || [] | ||
file.elements = file.elements.filter( | ||
(child) => child.type !== 'comment' | ||
) | ||
resources[namespace] = createUnits(file, initValues) | ||
@@ -47,0 +50,0 @@ |
{ | ||
"name": "xliff", | ||
"version": "5.5.0", | ||
"version": "5.5.1", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
510274
10528