single-spa-vue
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -51,3 +51,5 @@ 'use strict'; | ||
mountedInstances.instance = new opts.Vue(opts.appOptions); | ||
mountedInstances.instance = mountedInstances.instance.bind(mountedInstances.instance); | ||
if (mountedInstances.instance.bind) { | ||
mountedInstances.instance = mountedInstances.instance.bind(mountedInstances.instance); | ||
} | ||
resolve(); | ||
@@ -54,0 +56,0 @@ }); |
{ | ||
"name": "single-spa-vue", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "a single-spa plugin for vue.js applications", | ||
@@ -5,0 +5,0 @@ "main": "lib/single-spa-vue.js", |
@@ -43,3 +43,5 @@ const defaultOpts = { | ||
mountedInstances.instance = new opts.Vue(opts.appOptions); | ||
mountedInstances.instance = mountedInstances.instance.bind(mountedInstances.instance) | ||
if (mountedInstances.instance.bind) { | ||
mountedInstances.instance = mountedInstances.instance.bind(mountedInstances.instance); | ||
} | ||
resolve(); | ||
@@ -46,0 +48,0 @@ }); |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
10079
100
0