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

vue

Package Overview
Dependencies
Maintainers
1
Versions
531
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue - npm Package Compare versions

Comparing version 1.0.0-alpha.1 to 1.0.0-alpha.2

2

package.json
{
"name": "vue",
"version": "1.0.0-alpha.1",
"version": "1.0.0-alpha.2",
"author": "Evan You <yyx990803@gmail.com>",

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

@@ -86,2 +86,6 @@ var _ = require('../util')

exports.use = function (plugin) {
/* istanbul ignore if */
if (plugin.installed) {
return
}
// additional parameters

@@ -95,2 +99,3 @@ var args = _.toArray(arguments, 1)

}
plugin.installed = true
return this

@@ -97,0 +102,0 @@ }

@@ -147,9 +147,2 @@ if (process.env.NODE_ENV !== 'production') {

COMPUTED_CACHE: function (name) {
warn(
'Computed property "' + name + '": computed properties are not cached by ' +
'default in 1.0.0. You only need to enable cache for particularly expensive ones.'
)
},
BIND_IS: function () {

@@ -156,0 +149,0 @@ warn(

@@ -202,12 +202,7 @@ var _ = require('../util')

if (typeof userDef === 'function') {
def.get = _.bind(userDef, this)
def.get = makeComputedGetter(userDef, this)
def.set = noop
} else {
if (process.env.NODE_ENV !== 'production' && userDef.cache === false) {
_.deprecation.COMPUTED_CACHE(key)
}
def.get = userDef.get
? userDef.cache
? userDef.cache !== false
? makeComputedGetter(userDef.get, this)

@@ -214,0 +209,0 @@ : _.bind(userDef.get, this)

@@ -86,4 +86,3 @@ var _ = require('./util')

this.beforeGet()
var vm = this.vm
var scope = this.scope || vm
var scope = this.scope || this.vm
var value

@@ -116,3 +115,3 @@ try {

if (this.filters) {
value = vm._applyFilters(value, null, this.filters, false)
value = scope._applyFilters(value, null, this.filters, false)
}

@@ -130,6 +129,5 @@ this.afterGet()

Watcher.prototype.set = function (value) {
var vm = this.vm
var scope = this.scope || vm
var scope = this.scope || this.vm
if (this.filters) {
value = vm._applyFilters(
value = scope._applyFilters(
value, this.value, this.filters, true)

@@ -136,0 +134,0 @@ }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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