@intlify/vue-i18n-extensions
Advanced tools
Comparing version 1.0.0 to 1.0.1
## v1.0.1 (2020-02-27) | ||
#### :bug: Bug Fixes | ||
* [#30](https://github.com/intlify/vue-i18n-extensions/pull/30) Update ecma keyword detection regex to not misfire on strings containing periods ([@ewohlken2](https://github.com/ewohlken2)) | ||
#### Committers: 1 | ||
- [@ewohlken2](https://github.com/ewohlken2) | ||
## v1.0.0 (2020-01-21) | ||
@@ -3,0 +12,0 @@ |
{ | ||
"name": "@intlify/vue-i18n-extensions", | ||
"description": "vue-i18n extensions", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": { | ||
@@ -33,9 +33,9 @@ "name": "kazuya kawaguchi", | ||
"eslint-plugin-vue": "^4.7.1", | ||
"jest": "^23.4.1", | ||
"jest": "^25.0.0", | ||
"jest-serializer-vue": "^2.0.2", | ||
"lerna-changelog": "^1.0.0", | ||
"shipjs": "^0.14.0", | ||
"shipjs": "^0.16.0", | ||
"vue": "^2.6.8", | ||
"vue-i18n": "^8.9.0", | ||
"vue-jest": "^2.6.0", | ||
"vue-jest": "^3.0.0", | ||
"vue-server-renderer": "^2.6.8", | ||
@@ -42,0 +42,0 @@ "vue-template-compiler": "^2.6.8" |
@@ -1,2 +0,2 @@ | ||
# :globe_with_meridians: vue-i18n-extensions | ||
# :globe_with_meridians: @intlify/vue-i18n-extensions | ||
@@ -11,9 +11,2 @@ [![CircleCI](https://circleci.com/gh/intlify/vue-i18n-extensions/tree/master.svg?style=svg)](https://circleci.com/gh/intlify/vue-i18n-extensions/tree/dev) | ||
## :loudspeaker: Notice | ||
vue-i18n-extensions will soon be transferred to [intlify organaization](https://github.com/intlify). After that, it will be developed and maintained on intlify. | ||
The `vue-i18n-extensions` that has been released on npm will be released as `@intlify/vue-i18n-extensions` in near future. | ||
Intlify is a new i18n project kickoff by @kazupon. 😉 | ||
## :star: Features | ||
@@ -20,0 +13,0 @@ - directive: `v-t` custom directive for server-side |
const stringRE = /'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g | ||
const ecmaKeywordsRE = new RegExp('\\b' + ( | ||
const ecmaKeywordsRE = new RegExp('(?<!\\.)\\b' + ( | ||
'delete,typeof,instanceof,void,do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,' + | ||
'alert,eval,super,throw,while,yield,delete,export,import,return,switch,default,' + | ||
'extends,finally,continue,debugger,function,arguments' | ||
).split(',').join('\\b|\\b') + '\\b') | ||
).split(',').join('\\b(?!\\.)|(?<!\\.)\\b') + '\\b(?!\\.)') | ||
@@ -8,0 +8,0 @@ function warn (msg, err) { |
13131
147