i18next-scanner
Advanced tools
Comparing version 0.5.3 to 0.5.4
@@ -5,2 +5,2 @@ { | ||
} | ||
} | ||
} |
@@ -12,2 +12,2 @@ { | ||
"loading": "Wird geladen..." | ||
} | ||
} |
@@ -5,2 +5,2 @@ { | ||
} | ||
} | ||
} |
@@ -12,2 +12,2 @@ { | ||
"loading": "Loading..." | ||
} | ||
} |
{ | ||
"name": "i18next-scanner", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"description": "i18next-scanner is a transfrom stream that can scan your code, extract translation keys/values, and merge them into i18n resource files.", | ||
@@ -25,4 +25,3 @@ "homepage": "https://github.com/cheton/i18next-scanner", | ||
"engines": { | ||
"node": "0.10.x", | ||
"npm": "1.1.x" | ||
"node": "0.10.x" | ||
}, | ||
@@ -29,0 +28,0 @@ "keywords": [ |
@@ -122,2 +122,7 @@ # i18next-scanner [![build status](https://travis-ci.org/cheton/i18next-scanner.svg?branch=master)](https://travis-ci.org/cheton/i18next-scanner) | ||
value = _.trim(r[1], '\'"'); | ||
// Replace double backslash with single backslash | ||
value = value.replace(/\\\\/g, '\\'); | ||
value = value.replace(/\\\'/, '\''); | ||
key = hash(value); // returns a hash value as its default key | ||
@@ -177,2 +182,6 @@ parser.parse(key, value); | ||
value = _.trim(r[1], '\'"'); | ||
// Replace double backslash with single backslash | ||
value = value.replace(/\\\\/g, '\\'); | ||
value = value.replace(/\\\'/, '\''); | ||
} | ||
@@ -179,0 +188,0 @@ |
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
48610
880
419