@m6web/eslint-plugin-i18n
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [2.0.1](https://github.com/M6Web/eslint-plugin-m6web-i18n/compare/@m6web/eslint-plugin-i18n@2.0.0...@m6web/eslint-plugin-i18n@2.0.1) (2022-05-05) | ||
### Bug Fixes | ||
* **eslint-plugin-i18n:** fix eslint rule crash when i18nKey was different from a string ([#120](https://github.com/M6Web/eslint-plugin-m6web-i18n/issues/120)) ([cee2f45](https://github.com/M6Web/eslint-plugin-m6web-i18n/commit/cee2f45b05c986295c030de7180c79ad4ec33395)) | ||
# [2.0.0](https://github.com/M6Web/eslint-plugin-m6web-i18n/compare/@m6web/eslint-plugin-i18n@1.5.0...@m6web/eslint-plugin-i18n@2.0.0) (2022-01-20) | ||
@@ -8,0 +19,0 @@ |
@@ -109,3 +109,3 @@ 'use strict'; | ||
if (!i18nKey) { | ||
if (!i18nKey || typeof i18nKey !== 'string') { | ||
return; | ||
@@ -112,0 +112,0 @@ } |
{ | ||
"name": "@m6web/eslint-plugin-i18n", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "eslint plugin for generic i18n", | ||
@@ -38,3 +38,3 @@ "author": "m6web", | ||
}, | ||
"gitHead": "b3f3ef468142cd0168626a8eebb9070ea47c2c3f" | ||
"gitHead": "fcf72b5c18f33562aa009a70fa1a576f25d2dcf5" | ||
} |
@@ -81,3 +81,3 @@ const _ = require('lodash'); | ||
if (!i18nKey) { | ||
if (!i18nKey || typeof i18nKey !== 'string') { | ||
return; | ||
@@ -84,0 +84,0 @@ } |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
35036
1