Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hyapp-utils

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyapp-utils - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

11

index.js
import Http from './src/http'
let instance = null
export default class Utils {
constructor ({url, baseurl}) {
if (!instance) {
Vue.use(new Http(url, baseurl))
instance = this
}
return instance
this.url = url
this.baseurl = baseurl
}
install(Vue) {
Vue.use(new Http(this.url, this.baseurl))
}
}
{
"name": "hyapp-utils",
"version": "1.0.3",
"version": "1.0.4",
"description": "'hyapp utils'",

@@ -5,0 +5,0 @@ "main": "index.js",

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