Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

i18next-scanner

Package Overview
Dependencies
Maintainers
1
Versions
93
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 1.5.0 to 1.5.1

22

lib/parser.js

@@ -73,3 +73,3 @@ 'use strict';

var matchBalancedParentheses = function matchBalancedParentheses() {
var str = arguments.length <= 0 || arguments[0] === undefined ? '' : arguments[0];
var str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';

@@ -261,4 +261,4 @@ var parentheses = '[]{}()';

var opts = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
var customHandler = arguments.length <= 2 || arguments[2] === undefined ? null : arguments[2];
var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var customHandler = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;

@@ -353,4 +353,4 @@ if (_lodash2.default.isFunction(opts)) {

var opts = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
var customHandler = arguments.length <= 2 || arguments[2] === undefined ? null : arguments[2];
var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var customHandler = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;

@@ -413,3 +413,3 @@ if (_lodash2.default.isFunction(opts)) {

value: function get(key) {
var opts = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

@@ -500,3 +500,3 @@ if (_lodash2.default.isObject(key)) {

var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

@@ -630,7 +630,7 @@ // Backward compatibility

value: function toJSON() {
var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var replacer = options.replacer;
var space = options.space;
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var others = _objectWithoutProperties(options, ['replacer', 'space']);
var replacer = options.replacer,
space = options.space,
others = _objectWithoutProperties(options, ['replacer', 'space']);

@@ -637,0 +637,0 @@ return JSON.stringify(this.get(others), replacer, space);

{
"name": "i18next-scanner",
"version": "1.5.0",
"version": "1.5.1",
"description": "Scan your code, extract translation keys/values, and merge them into i18n resource files.",

@@ -40,16 +40,16 @@ "homepage": "https://github.com/i18next/i18next-scanner",

"dependencies": {
"esprima": "^2.7.2",
"lodash": "^4.13.1",
"through2": "^2.0.1",
"vinyl": "^1.1.1",
"vinyl-fs": "^2.4.3"
"esprima": "^3.1.2",
"lodash": "^4.17.2",
"through2": "^2.0.2",
"vinyl": "^2.0.1",
"vinyl-fs": "^2.4.4"
},
"devDependencies": {
"babel-cli": "^6.10.1",
"babel-core": "^6.9.1",
"babel-eslint": "^6.0.4",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-0": "^6.5.0",
"coveralls": "^2.11.9",
"eslint": "^2.12.0",
"babel-cli": "^6.18.0",
"babel-core": "^6.18.2",
"babel-eslint": "^7.1.1",
"babel-preset-es2015": "^6.18.0",
"babel-preset-stage-0": "^6.16.0",
"coveralls": "^2.11.15",
"eslint": "^3.11.0",
"gulp": "^3.9.1",

@@ -59,5 +59,5 @@ "gulp-tap": "^0.1.3",

"sha1": "^1.1.1",
"tap": "^5.7.2",
"tap": "^8.0.1",
"text-table": "^0.2.0"
}
}

Sorry, the diff of this file is not supported yet

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