vue-honeypot
Advanced tools
Comparing version 1.0.6 to 2.0.0
@@ -18,2 +18,3 @@ // | ||
// | ||
var script = { | ||
@@ -29,3 +30,2 @@ data: () => ({ | ||
} | ||
} | ||
@@ -111,11 +111,8 @@ }; | ||
const __vue_script__ = script; | ||
/* template */ | ||
var __vue_render__ = function () { | ||
var _vm = this; | ||
var _h = _vm.$createElement; | ||
var _c = _vm._self._c || _h; | ||
return _c('label', { | ||
@@ -151,3 +148,2 @@ staticStyle: { | ||
} | ||
_vm.value = $event.target.value; | ||
@@ -158,15 +154,11 @@ } | ||
}; | ||
var __vue_staticRenderFns__ = []; | ||
var __vue_staticRenderFns__ = []; | ||
/* style */ | ||
const __vue_inject_styles__ = undefined; | ||
/* scoped */ | ||
const __vue_scope_id__ = undefined; | ||
/* module identifier */ | ||
const __vue_module_identifier__ = undefined; | ||
/* functional template */ | ||
const __vue_is_functional_template__ = false; | ||
@@ -186,2 +178,3 @@ /* style inject */ | ||
// install function executed by Vue.use() | ||
const install = function installVueIcon(Vue) { | ||
@@ -191,7 +184,9 @@ if (install.installed) return; | ||
Vue.component('VueHoneypot', __vue_component__); | ||
}; // Create module definition for Vue.use() | ||
}; | ||
// Inject install function into component - allows component | ||
// to be registered via Vue.use() as well as Vue.component() | ||
__vue_component__.install = install; | ||
__vue_component__.install = install; // Export component by default | ||
// It's possible to expose named exports when writing components that can | ||
// also be used as directives, etc. - eg. import { RollupDemoDirective } from 'rollup-demo'; | ||
@@ -198,0 +193,0 @@ // export const RollupDemoDirective = component; |
@@ -18,2 +18,3 @@ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});// | ||
// | ||
var script = { | ||
@@ -29,3 +30,2 @@ data: () => ({ | ||
} | ||
} | ||
@@ -107,11 +107,8 @@ };function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) { | ||
const __vue_script__ = script; | ||
/* template */ | ||
var __vue_render__ = function () { | ||
var _vm = this; | ||
var _h = _vm.$createElement; | ||
var _c = _vm._self._c || _h; | ||
return _c('label', { | ||
@@ -129,15 +126,11 @@ staticStyle: { | ||
}; | ||
var __vue_staticRenderFns__ = []; | ||
var __vue_staticRenderFns__ = []; | ||
/* style */ | ||
const __vue_inject_styles__ = undefined; | ||
/* scoped */ | ||
const __vue_scope_id__ = undefined; | ||
/* module identifier */ | ||
const __vue_module_identifier__ = "data-v-6ded3740"; | ||
/* functional template */ | ||
const __vue_is_functional_template__ = false; | ||
@@ -155,2 +148,3 @@ /* style inject */ | ||
// install function executed by Vue.use() | ||
const install = function installVueIcon(Vue) { | ||
@@ -160,15 +154,14 @@ if (install.installed) return; | ||
Vue.component('VueHoneypot', __vue_component__); | ||
}; // Create module definition for Vue.use() | ||
}; | ||
// Create module definition for Vue.use() | ||
const plugin = { | ||
install | ||
}; // To auto-install on non-es builds, when vue is found | ||
}; | ||
// To auto-install on non-es builds, when vue is found | ||
// eslint-disable-next-line no-redeclare | ||
/* global window, global */ | ||
{ | ||
let GlobalVue = null; | ||
if (typeof window !== 'undefined') { | ||
@@ -179,13 +172,14 @@ GlobalVue = window.Vue; | ||
} | ||
if (GlobalVue) { | ||
GlobalVue.use(plugin); | ||
} | ||
} // Inject install function into component - allows component | ||
} | ||
// Inject install function into component - allows component | ||
// to be registered via Vue.use() as well as Vue.component() | ||
__vue_component__.install = install; | ||
__vue_component__.install = install; // Export component by default | ||
// It's possible to expose named exports when writing components that can | ||
// also be used as directives, etc. - eg. import { RollupDemoDirective } from 'rollup-demo'; | ||
// export const RollupDemoDirective = component; | ||
exports["default"]=__vue_component__; | ||
exports.default=__vue_component__; |
{ | ||
"name": "vue-honeypot", | ||
"version": "1.0.6", | ||
"version": "2.0.0", | ||
"description": "A simple honeypot component for Vue.js.", | ||
@@ -19,2 +19,3 @@ "keywords": [ | ||
"author": "Sebastian Landwehr <info@sebastianlandwehr.com>", | ||
"type": "module", | ||
"main": "dist/index.ssr.js", | ||
@@ -30,2 +31,3 @@ "unpkg": "dist/index.min.js", | ||
"commit": "base commit", | ||
"depcheck": "base depcheck", | ||
"lint": "base lint", | ||
@@ -37,7 +39,7 @@ "prepare": "base prepare", | ||
"devDependencies": { | ||
"@dword-design/base": "^8.6.12", | ||
"@dword-design/base": "^9.2.0", | ||
"@dword-design/base-config-component": "^1.1.35" | ||
}, | ||
"engines": { | ||
"node": ">=12" | ||
"node": ">=14" | ||
}, | ||
@@ -44,0 +46,0 @@ "publishConfig": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20234
341
Yes