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

vue-computed-promise

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-computed-promise - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

nightwatch.json

9

package.json
{
"name": "vue-computed-promise",
"version": "1.0.1",
"version": "1.0.2",
"description": "Plugin for Vue.js, allows promises to be returned for computed properties",
"main": "vue-computed-promise.js",
"scripts": {
"test": "node_modules/nightwatch/bin/nightwatch"
},

@@ -23,5 +24,7 @@ "repository": {

"devDependencies": {
"geckodriver": "^1.4.0",
"nightwatch": "^0.9.14",
"selenium-server-standalone-jar": "3.3.1"
},
"dependencies": {
}
"dependencies": {}
}

@@ -33,3 +33,9 @@ (function (global, factory) {

let data = this.$data;
let result = oldComputed[key].call(this);
let result;
// Computed property can be either object or function
if (typeof oldComputed[key] === "object") {
result = oldComputed[key];
} else {
result = oldComputed[key].call(this);
}

@@ -36,0 +42,0 @@ if(result && typeof result === "function") {

Sorry, the diff of this file is not supported yet

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