Socket
Socket
Sign inDemoInstall

vue-focus

Package Overview
Dependencies
1
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0-rc1 to 2.0.0-rc2

6

CHANGELOG.md

@@ -0,1 +1,6 @@

## [2.0.0-rc2] - 2016-09-28
## Fixed
- Incorrect dependency on Vue
## [2.0.0-rc1] - 2016-09-22

@@ -40,1 +45,2 @@

[2.0.0-rc1]: https://github.com/simplesmiler/vue-focus/compare/1.0.0...2.0.0-rc1
[2.0.0-rc2]: https://github.com/simplesmiler/vue-focus/compare/2.0.0-rc1...2.0.0-rc2
'use strict';
var Vue = require('vue');
Vue = 'default' in Vue ? Vue['default'] : Vue;
var version = '2.0.0-rc1';
var compatible = (/^2\./).test(Vue.version);
if (!compatible) {
Vue.util.warn('VueFocus ' + version + ' only supports Vue 2.x, and does not support Vue ' + Vue.version);
}
var focus = {

@@ -21,3 +31,4 @@ inserted: function(el, binding) {

exports.version = version;
exports.focus = focus;
exports.mixin = mixin;

14

dist/vue-focus.js

@@ -1,3 +0,12 @@

(function (exports) { 'use strict';
(function (exports,Vue) { 'use strict';
Vue = 'default' in Vue ? Vue['default'] : Vue;
var version = '2.0.0-rc1';
var compatible = (/^2\./).test(Vue.version);
if (!compatible) {
Vue.util.warn('VueFocus ' + version + ' only supports Vue 2.x, and does not support Vue ' + Vue.version);
}
var focus = {

@@ -21,5 +30,6 @@ inserted: function(el, binding) {

exports.version = version;
exports.focus = focus;
exports.mixin = mixin;
})((this.VueFocus = {}));
})((this.VueFocus = {}),Vue);

2

dist/vue-focus.min.js

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

!function(u){"use strict";var c={inserted:function(u,c){c.value?u.focus():u.blur()},componentUpdated:function(u,c){c.value?u.focus():u.blur()}},e={directives:{focus:c}};u.focus=c,u.mixin=e}(this.VueFocus={});
!function(u,e){"use strict";e="default"in e?e.default:e;var o="2.0.0-rc1",s=/^2\./.test(e.version);s||e.util.warn("VueFocus "+o+" only supports Vue 2.x, and does not support Vue "+e.version);var n={inserted:function(u,e){e.value?u.focus():u.blur()},componentUpdated:function(u,e){e.value?u.focus():u.blur()}},t={directives:{focus:n}};u.version=o,u.focus=n,u.mixin=t}(this.VueFocus={},Vue);

@@ -0,1 +1,10 @@

import Vue from 'vue';
export var version = '2.0.0-rc1';
var compatible = (/^2\./).test(Vue.version);
if (!compatible) {
Vue.util.warn('VueFocus ' + version + ' only supports Vue 2.x, and does not support Vue ' + Vue.version);
}
export var focus = {

@@ -2,0 +11,0 @@ inserted: function(el, binding) {

{
"name": "vue-focus",
"description": "A set of reusable focus directives for reusable Vue.js components",
"version": "2.0.0-rc1",
"version": "2.0.0-rc2",
"author": "Denis Karabaza <denis.karabaza@gmail.com>",

@@ -39,3 +39,3 @@ "browserify": {

"peerDependencies": {
"vue": "^2.0.0"
"vue": "^2.0.0-rc.1"
},

@@ -42,0 +42,0 @@ "repository": {

@@ -37,5 +37,5 @@ # vue-focus

``` html
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue-focus/2.0.0/vue-focus.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue-focus/2.0.0-rc2/vue-focus.js"></script>
<!-- OR -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue-focus/2.0.0/vue-focus.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue-focus/2.0.0-rc2/vue-focus.min.js"></script>
```

@@ -42,0 +42,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc