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

vue-async-methods

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-async-methods - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

16

index.js

@@ -19,2 +19,6 @@ 'use strict'

function isFunction(func) {
return typeof func === 'function'
}
function wrapMethod(func, vm, funcName) {

@@ -51,3 +55,7 @@ function wrapped() {

throw err
if (isFunction(options.onError)) {
options.onError(err)
} else {
throw err
}
})

@@ -71,3 +79,7 @@ } else {

reject(err)
if (isFunction(options.onError)) {
options.onError(err)
} else {
reject(err)
}
})

@@ -74,0 +86,0 @@ }

2

package.json
{
"name": "vue-async-methods",
"version": "0.2.0",
"version": "0.3.0",
"description": "Vue async methods support",

@@ -5,0 +5,0 @@ "license": "MIT",

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