New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vue-verify

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-verify - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

18

dist/vue-verify.js
/*!
* vue-verify 0.4.0
* build in January 26th 2016, 15:26:21
* vue-verify 0.5.0
* build in February 17th 2016, 14:17:13
*/

@@ -77,2 +77,4 @@ (function webpackUniversalModuleDefinition(root, factory) {

vm.$set(namespace + ".$valid", false)
vm.$set(namespace + ".$rules", rules)
Object.keys(rules).forEach(function (modelPath) {

@@ -234,2 +236,14 @@ vm.$set(getVerifyModelPath(modelPath) + ".$dirty", false)

}
Vue.prototype.$verifyReset = function () {
var vm = this
console.log(vm)
var verifier = vm.$options.verifier || {}
var namespace = verifier.namespace || options.namespace || "verify"
var rules = vm.$get(namespace + ".$rules")
if (rules) {
vm.$verify(rules)
}
}
}

@@ -236,0 +250,0 @@

2

package.json
{
"name": "vue-verify",
"version": "0.4.0",
"version": "0.5.0",
"description": "verification plugin of vue",

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

@@ -136,2 +136,6 @@ # Intro

# Reset
You can reset the verify results with method `$verifyReset()` of Vue instance.
# Use in nodejs

@@ -138,0 +142,0 @@

@@ -17,2 +17,4 @@ /**

vm.$set(namespace + ".$valid", false)
vm.$set(namespace + ".$rules", rules)
Object.keys(rules).forEach(function (modelPath) {

@@ -174,2 +176,14 @@ vm.$set(getVerifyModelPath(modelPath) + ".$dirty", false)

}
Vue.prototype.$verifyReset = function () {
var vm = this
console.log(vm)
var verifier = vm.$options.verifier || {}
var namespace = verifier.namespace || options.namespace || "verify"
var rules = vm.$get(namespace + ".$rules")
if (rules) {
vm.$verify(rules)
}
}
}

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