Socket
Socket
Sign inDemoInstall

i18next-scanner

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18next-scanner - npm Package Compare versions

Comparing version 0.5.3 to 0.5.4

2

assets/i18n/de/locale.json

@@ -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 @@

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