Socket
Socket
Sign inDemoInstall

i18next-scanner

Package Overview
Dependencies
5
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.8 to 0.5.9

.nyc_output/34326.json

8

gulpfile.js

@@ -9,3 +9,3 @@ var _ = require('lodash');

var errorHandler = require('./gulp/error-handler');
var hash = require('i18next-text').hash['sha1'];
var sha1 = require('sha1');
var pkg = require('./package.json');

@@ -64,3 +64,3 @@ var config = require('./gulp/config');

if (_.isUndefined(key)) {
key = hash(value); // returns a hash value as default key
key = sha1(value); // returns a hash value as default key
}

@@ -95,3 +95,3 @@

key = hash(value); // returns a hash value as default key
key = sha1(value); // returns a hash value as default key
parser.parse(key, value);

@@ -118,3 +118,3 @@ });

value = _.trim(r[1], '\'"');
key = hash(value); // returns a hash value as default key
key = sha1(value); // returns a hash value as default key
parser.parse(key, value);

@@ -121,0 +121,0 @@ }

{
"name": "i18next-scanner",
"version": "0.5.8",
"version": "0.5.9",
"description": "i18next-scanner is a transfrom stream that can scan your code, extract translation keys/values, and merge them into i18n resource files.",

@@ -33,4 +33,2 @@ "homepage": "https://github.com/i18next/i18next-scanner",

"colors": "^1.1.2",
"i18next": "^1.10.6",
"i18next-text": "^0.5.6",
"lodash": "^3.10.1",

@@ -37,0 +35,0 @@ "through2": "^2.0.0",

@@ -459,4 +459,4 @@ # i18next-scanner [![build status](https://travis-ci.org/i18next/i18next-scanner.svg?branch=master)](https://travis-ci.org/i18next/i18next-scanner) [![Coverage Status](https://coveralls.io/repos/i18next/i18next-scanner/badge.svg?branch=master&service=github)](https://coveralls.io/github/i18next/i18next-scanner?branch=master)

Copyright (c) 2015 Cheton Wu
Copyright (c) 2015-2016 Cheton Wu
Licensed under the [MIT License](https://github.com/i18next/i18next-scanner/blob/master/LICENSE).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc