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

vue-gtranslate

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-gtranslate - npm Package Compare versions

Comparing version 2.0.8 to 2.0.11

Translator2.vue

16

.eslintrc.js
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'eslint:recommended'
],
parserOptions: {
parser: 'babel-eslint'
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
}
}

2

package.json
{
"name": "vue-gtranslate",
"version": "2.0.8",
"version": "2.0.11",
"description": "gtranslate plugin for vue js",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -8,3 +8,12 @@ # vue-gtranslate

```sh
npm i vue-gtranslate
```
### Demo
```html
Add the script to the head of your index.html file
<script type="text/javascript"

@@ -11,0 +20,0 @@ src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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