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.7.0 to 0.7.1

11

index.js

@@ -142,6 +142,7 @@ 'use strict'

catchError: function() {
var self = this
this.error = null
this.method.promise.catch((err) => {
this.error = err
this.method.promise.catch(function() {
self.error = err
})

@@ -154,2 +155,4 @@ }

beforeCreate: function() {
var self = this
for (const key in this.$options.asyncMethods || {}) {

@@ -179,4 +182,4 @@ Vue.util.defineReactive(this, key, {

this.$options.computed[computedName] = () => {
return this[key].resolvedWith
this.$options.computed[computedName] = function() {
return self[key].resolvedWith
}

@@ -183,0 +186,0 @@ }

{
"name": "vue-async-methods",
"version": "0.7.0",
"version": "0.7.1",
"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