Socket
Socket
Sign inDemoInstall

i18next-scanner

Package Overview
Dependencies
111
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.6.5 to 2.6.6

lib/jsx-to-string.js

2

lib/parser.js

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

try {
var syntax = (0, _esprima.parse)('(' + code + ')');
var syntax = code.trim() !== '' ? (0, _esprima.parse)('(' + code + ')') : {};
var props = _lodash2.default.get(syntax, 'body[0].expression.properties') || [];

@@ -430,0 +430,0 @@ // http://i18next.com/docs/options/

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

@@ -69,12 +69,12 @@ "homepage": "https://github.com/i18next/i18next-scanner",

"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"coveralls": "^3.0.0",
"eslint": "^5.0.0",
"eslint-config-trendmicro": "^1.3.1",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.10.0",
"coveralls": "^3.0.2",
"eslint": "^5.6.0",
"eslint-config-trendmicro": "^1.4.1",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.11.1",
"gulp": "^3.9.1",

@@ -81,0 +81,0 @@ "gulp-tap": "^1.0.1",

@@ -528,3 +528,3 @@ # 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)

Set to `true` to trun on debug output.
Set to `true` to turn on debug output.

@@ -531,0 +531,0 @@ #### removeUnusedKeys

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc