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

@kazupon/vue-i18n-loader

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kazupon/vue-i18n-loader - npm Package Compare versions

Comparing version 0.2.1 to 0.3.0

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="0.3.0"></a>
# [0.3.0](https://github.com/kazupon/vue-i18n-loader/compare/v0.2.1...v0.3.0) (2018-03-04)
### :star: New Features
* added hmr ([#14](https://github.com/kazupon/vue-i18n-loader/issues/14), closes [#7](https://github.com/kazupon/vue-i18n-loader/issues/7)) by [@StephanGerbeth](https://github.com/StephanGerbeth) ([c04964c](https://github.com/kazupon/vue-i18n-loader/commit/c04964c)), closes [#7](https://github.com/kazupon/vue-i18n-loader/issues/7)
<a name="0.2.1"></a>

@@ -2,0 +12,0 @@ ## [0.2.1](https://github.com/kazupon/vue-i18n-loader/compare/v0.2.0...v0.2.1) (2017-08-25)

2

lib/index.js

@@ -29,4 +29,4 @@ 'use strict';

code += 'function (Component) {\n Component.options.__i18n = Component.options.__i18n || []\n Component.options.__i18n.push(\'' + value.replace(/\u0027/g, '\\u0027') + '\')\n}\n';
code += 'function (Component) {\n Component.options.__i18n = Component.options.__i18n || []\n Component.options.__i18n.push(\'' + value.replace(/\u0027/g, '\\u0027') + '\')\n delete Component.options._Ctor\n}\n';
return code;
}
{
"name": "@kazupon/vue-i18n-loader",
"description": "vue-i18n loader for custom blocks",
"version": "0.2.1",
"version": "0.3.0",
"author": {

@@ -6,0 +6,0 @@ "name": "kazuya kawaguchi",

@@ -31,4 +31,5 @@ export default function (content) {

Component.options.__i18n.push('${value.replace(/\u0027/g, '\\u0027')}')
delete Component.options._Ctor
}\n`
return code
}
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