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

eslint-plugin-i18next

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-i18next - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

## [4.1.0](https://github.com/edvardchen/eslint-plugin-i18next/compare/v4.0.0...v4.1.0) (2020-06-30)
### Features
* support multibyte characters ([99ed9f2](https://github.com/edvardchen/eslint-plugin-i18next/commit/99ed9f2))
## [4.0.0](https://github.com/edvardchen/eslint-plugin-i18next/compare/v3.8.0...v4.0.0) (2020-06-28)

@@ -7,0 +14,0 @@

2

lib/rules/no-literal-string.js

@@ -61,3 +61,3 @@ /**

const whitelists = [
/^[^A-Za-z]+$/, // ignore not-word string
/^[0-9!-/:-@[-`{-~]+$/, // ignore not-word string
...((option && option.ignore) || [])

@@ -64,0 +64,0 @@ ].map(item => new RegExp(item));

{
"name": "eslint-plugin-i18next",
"version": "4.0.0",
"version": "4.1.0",
"description": "ESLint plugin for i18n",

@@ -5,0 +5,0 @@ "keywords": [

@@ -150,2 +150,3 @@ /**

},
{ code: '<div>フー</div>', errors },
{ code: '<DIV foo="bar" />', errors },

@@ -152,0 +153,0 @@ { code: '<DIV foo="bar" />', options: [{ markupOnly: true }], errors },

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