vue-easter-egg-trigger
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "vue-easter-egg-trigger", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "This packages makes it nice and easy to add Easter Egg triggers to your Vue site.", | ||
@@ -5,0 +5,0 @@ "private": false, |
@@ -36,2 +36,4 @@ import EasterEggComponent from './components/EasterEggComponent.vue'; | ||
export { EasterEggComponent }; | ||
export default EasterEggTrigger; |
@@ -11,3 +11,4 @@ import Vue from 'vue'; | ||
new Vue({ | ||
name: 'App', | ||
render: (h) => h(App), | ||
}).$mount('#app'); |
@@ -203,3 +203,3 @@ import { findIndex, includes, isEqual, uniq } from 'lodash'; | ||
// Auto destroy $bus.$on // | ||
if (egg.destroyBus) { | ||
if (egg.destroyBus && egg.withBus) { | ||
new EasterEggTriggerVueObj().$bus.$off(`${egg.name}`); | ||
@@ -206,0 +206,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
305491
329
0
2