New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

single-spa-vue

Package Overview
Dependencies
Maintainers
5
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

single-spa-vue - npm Package Compare versions

Comparing version 1.5.4 to 1.6.0

2

lib/single-spa-vue.js

@@ -118,2 +118,4 @@ (function (global, factory) {

}
return mountedInstances.instance;
});

@@ -120,0 +122,0 @@ }

2

package.json
{
"name": "single-spa-vue",
"version": "1.5.4",
"version": "1.6.0",
"description": "a single-spa plugin for vue.js applications",

@@ -5,0 +5,0 @@ "main": "lib/single-spa-vue.js",

@@ -90,2 +90,3 @@ const defaultOpts = {

}
return mountedInstances.instance;
})

@@ -92,0 +93,0 @@ }

@@ -155,2 +155,15 @@ import singleSpaVue from './single-spa-vue'

})
it(`mounts will return promise with vue instance`, () => {
const lifecycles = new singleSpaVue({
Vue,
appOptions: {},
})
return lifecycles.bootstrap(props).then(() => lifecycles.mount(props).then((instance) => {
expect(Vue).toHaveBeenCalled()
expect(instance instanceof Vue).toBeTruthy()
})).then(() => {
return lifecycles.unmount(props)
})
})
})

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