{"_id":"@768bit/vmv","_rev":"2-b502ea3fef428ab921458196260c4a09","name":"@768bit/vmv","dist-tags":{"latest":"0.7.5"},"versions":{"0.7.4":{"name":"@768bit/vmv","sideEffects":["*.sass","*.scss"],"version":"0.7.4","description":"Simple, lightweight model-based validation for Vue.js","author":{"name":"Paweł Grabarz","email":"pawel.grabarz@monterail.com"},"license":"MIT","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/monterail/vuelidate.git"},"scripts":{"dev":"node build/dev-server.js","bundle:web":"rimraf dist && cross-env BUILD=web node build/build-bundle.js","bundle:lib":"rimraf lib && cross-env BUILD=lib babel src --out-dir lib","build":"npm run bundle:lib && npm run bundle:web","docs":"rimraf gh-pages && mkdir gh-pages && node build/build-docs.js","unit":"karma start test/unit/karma.conf.js --watch","test-unit":"karma start test/unit/karma.conf.js --single-run","test-ssr":"cross-env BABEL_ENV=node mocha --require @babel/register test/ssr/index.js","test":"npm run test-unit && npm run test-ssr","lint":"eslint --ext .js,.vue src test/unit/specs","prepublishOnly":"npm run build"},"devDependencies":{"@babel/cli":"^7.0.0-beta.47","@babel/core":"^7.0.0-beta.47","@babel/plugin-proposal-export-default-from":"^7.0.0-beta.47","@babel/preset-env":"^7.0.0-beta.47","@babel/register":"^7.0.0-beta.47","autoprefixer":"^8.5.0","babel-loader":"^8.0.0-beta.3","chai":"^4.1.2","connect-history-api-fallback":"^1.5.0","copy-webpack-plugin":"^4.5.1","cross-env":"^5.1.5","css-loader":"^0.28.11","eslint":"^4.19.1","eslint-config-prettier":"^2.9.0","eslint-loader":"^2.0.0","eslint-plugin-prettier":"^2.7.0","eslint-plugin-vue":"^4.5.0","express":"^4.16.3","file-loader":"^1.1.11","html-webpack-plugin":"^3.2.0","http-proxy-middleware":"^0.18.0","istanbul-instrumenter-loader":"^3.0.1","json-loader":"^0.5.7","karma":"^2.0.2","karma-chrome-launcher":"^2.2.0","karma-coverage-istanbul-reporter":"^2.0.0","karma-mocha":"^1.3.0","karma-sinon-chai":"^1.3.4","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"0.0.32","karma-webpack":"^3.0.0","lolex":"^2.6.0","mini-css-extract-plugin":"^0.4.0","mocha":"^5.2.0","node-sass":"^4.9.0","opn":"^5.3.0","ora":"^2.1.0","prettier":"^1.12.1","pug":"2.0.3","pug-loader":"^2.4.0","pug-plain-loader":"^1.0.0","puppeteer":"^1.4.0","raw-loader":"^0.5.1","rimraf":"^2.6.2","sass-loader":"^7.0.1","shelljs":"^0.8.2","sinon":"^5.0.7","sinon-chai":"^3.0.0","url-loader":"^1.0.1","vue":"^2.5.16","vue-json-tree-view":"^2.1.4","vue-loader":"^15.1.0","vue-server-renderer":"^2.5.16","vue-style-loader":"^4.1.0","vue-template-compiler":"^2.5.16","webpack":"^4.8.3","webpack-dev-middleware":"^3.1.3","webpack-hot-middleware":"^2.22.2","webpack-merge":"^4.1.2"},"engines":{"node":">= 4.0.0","npm":">= 3.0.0"},"dependencies":{},"gitHead":"db9b800a04c9a230af81b674e7babc0fad9344e5","bugs":{"url":"https://github.com/monterail/vuelidate/issues"},"homepage":"https://github.com/monterail/vuelidate#readme","_id":"@768bit/vmv@0.7.4","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"spuddleziz","email":"spuddleziz@gmail.com"},"dist":{"integrity":"sha512-zaYbOnu+kkFrBpBPy2Jn1ZUsZWMrluwpk8hokZrqXx18O4nOzXc9N0m0eIu+ohJ2go2yNPkw/OMirZuJonbaWQ==","shasum":"330f8624c436d0c1f6e9df67163de8ab9353f88c","tarball":"https://registry.npmjs.org/@768bit/vmv/-/vmv-0.7.4.tgz","fileCount":59,"unpackedSize":77313,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcF90sCRA9TVsSAnZWagAAmc0QAIiFU1e9nHF5s7pPSJAG\nGWQg5EJKGVHb8syFdlX/kx/lc7fC8oLBBPeqJAEcaZNWpgf3UF/n7/vMhsrg\n1FOR+h9hdhmexNR0QSHxOQSv4aO9YEzn9h5rj3tR1TP3WHRmiPCPMmTDhIzv\nS/E67jakAI6c3l2OsM3ATDACAxVi2aS/a3BnkplTJGyejazUdU8KrizSBkvN\nUqjaMYvDDpccyCRiWTOZxW03NY1X51jmwyzk2miM7OINdmh9OZu8R9VaKk6l\nRXV7kR6eWWOsY1VgB7Q4/kYG+y4SLkJsZrP1k3YeKlpMZ3p2zf/PiA/QN3ok\n42Ic3F3HTtCBcw4H6Wp68zhUoKOAQ9jjiRbwXId/M+bwA557Wz7oM7j8JrQG\nQFnyvryDPtki3zH0CokTAvLtvMGOkBgFnqz61DFhe06kXjv8xaEGHTCImC66\nsnbZKViBn0y2Kpmdv2ndo8uuCYSY49oKcrAxmn63KaKu4mnHHNdYSjjFLA41\nM4yi52H16gdGO+sQsoXtk1yrdjhNIojOqFnsNW80md5Pot3nxmLcQ+hbE6Nr\n8/xpzi9R7/aGBbCjdB2zkRGHcIOoYWhUd3bNDWRFpfP70RuEjOLUiXUONFiW\n8j75s0QER1+VeFZwJjQeLIxPFTCXbVI9B6W4QbI9wpKxv5FYSzm59Hp1ineH\nBDtx\r\n=DLpG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHnW2DtvVnCFxYkt2fRbEiGJP1Tzfs3/aZ5yoG/SNeegIgV7/6NEpNcpqjehBYbL9uNksIP79qWK4b6ucQZ28CASs="}]},"maintainers":[{"name":"spuddleziz","email":"spuddleziz@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vmv_0.7.4_1545067820216_0.23667519878184828"},"_hasShrinkwrap":false},"0.7.5":{"name":"@768bit/vmv","sideEffects":["*.sass","*.scss"],"version":"0.7.5","description":"Simple, lightweight model-based validation for Vue.js","author":{"name":"Paweł Grabarz","email":"pawel.grabarz@monterail.com"},"license":"MIT","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/monterail/vuelidate.git"},"scripts":{"dev":"node build/dev-server.js","bundle:web":"rimraf dist && cross-env BUILD=web node build/build-bundle.js","bundle:lib":"rimraf lib && cross-env BUILD=lib babel src --out-dir lib","build":"npm run bundle:lib && npm run bundle:web","docs":"rimraf gh-pages && mkdir gh-pages && node build/build-docs.js","unit":"karma start test/unit/karma.conf.js --watch","test-unit":"karma start test/unit/karma.conf.js --single-run","test-ssr":"cross-env BABEL_ENV=node mocha --require @babel/register test/ssr/index.js","test":"npm run test-unit && npm run test-ssr","lint":"eslint --ext .js,.vue src test/unit/specs","prepublishOnly":"npm run build"},"devDependencies":{"@babel/cli":"^7.0.0-beta.47","@babel/core":"^7.0.0-beta.47","@babel/plugin-proposal-export-default-from":"^7.0.0-beta.47","@babel/preset-env":"^7.0.0-beta.47","@babel/register":"^7.0.0-beta.47","autoprefixer":"^8.5.0","babel-loader":"^8.0.0-beta.3","chai":"^4.1.2","connect-history-api-fallback":"^1.5.0","copy-webpack-plugin":"^4.5.1","cross-env":"^5.1.5","css-loader":"^0.28.11","eslint":"^4.19.1","eslint-config-prettier":"^2.9.0","eslint-loader":"^2.0.0","eslint-plugin-prettier":"^2.7.0","eslint-plugin-vue":"^4.5.0","express":"^4.16.3","file-loader":"^1.1.11","html-webpack-plugin":"^3.2.0","http-proxy-middleware":"^0.18.0","istanbul-instrumenter-loader":"^3.0.1","json-loader":"^0.5.7","karma":"^2.0.2","karma-chrome-launcher":"^2.2.0","karma-coverage-istanbul-reporter":"^2.0.0","karma-mocha":"^1.3.0","karma-sinon-chai":"^1.3.4","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"0.0.32","karma-webpack":"^3.0.0","lolex":"^2.6.0","mini-css-extract-plugin":"^0.4.0","mocha":"^5.2.0","node-sass":"^4.9.0","opn":"^5.3.0","ora":"^2.1.0","prettier":"^1.12.1","pug":"2.0.3","pug-loader":"^2.4.0","pug-plain-loader":"^1.0.0","puppeteer":"^1.4.0","raw-loader":"^0.5.1","rimraf":"^2.6.2","sass-loader":"^7.0.1","shelljs":"^0.8.2","sinon":"^5.0.7","sinon-chai":"^3.0.0","url-loader":"^1.0.1","vue":"^2.5.16","vue-json-tree-view":"^2.1.4","vue-loader":"^15.1.0","vue-server-renderer":"^2.5.16","vue-style-loader":"^4.1.0","vue-template-compiler":"^2.5.16","webpack":"^4.8.3","webpack-dev-middleware":"^3.1.3","webpack-hot-middleware":"^2.22.2","webpack-merge":"^4.1.2"},"engines":{"node":">= 4.0.0","npm":">= 3.0.0"},"dependencies":{},"gitHead":"284ef16f2adb4b8246f70fee843673de92a36aa0","bugs":{"url":"https://github.com/monterail/vuelidate/issues"},"homepage":"https://github.com/monterail/vuelidate#readme","_id":"@768bit/vmv@0.7.5","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"spuddleziz","email":"spuddleziz@gmail.com"},"dist":{"integrity":"sha512-ZpgHai1t4c7Ul3/zVYL1BtywD0cwgnr7d5du5zYvmde5keQ2cjnzTTBh4WmtIPIQND9b+Zcd1xNG+f6Fa5quBA==","shasum":"6d0ebfdab924e0d3450fc014130c3d13ef5e8d24","tarball":"https://registry.npmjs.org/@768bit/vmv/-/vmv-0.7.5.tgz","fileCount":59,"unpackedSize":77818,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcF97HCRA9TVsSAnZWagAAkTwP/jTyKBWOAlA4gVhOntOL\nRgF8CYfev/o+z8/YD9DZDu6MZZTvBNEgbbz5jGo8JjbzphOsKI0jboPmK091\nzfdaVE1kj54WZPNtnqFpjx7/8Ej/QxfICEXsdHLqQMxEI3Rt6aGYwpC725R0\nGAhBHPa2e/CCO2CFAnOIPWOJjb81EECiZo3uOaBfZSKA72yE7bHd0JwzEBgz\nLm9uVjlYMntU8srQ69kqax33sqCNez1Osism0v3783EXi3bGJEpaR8Ob0Zjh\n6CdWD7Mhr0I02dXfuNqzSDOa5POXxSqk0nCGgvu7Z3K8oHQ8/uqId3dMavP3\nvPDJCTiS6IAplb9GlTikbugUNmq8GpfN7uGbI8DoBd62NJ9Udtkom5oWtzID\nY/HuHeT0y2xYHe0FMwDTlDOrOrhC3rrv2djhLiGB074/p+HWYHV06T9efY3M\ny2+7Rc5qIH5fLOlcwpiHU+tk+5u5Xm5sXAiUEonFdJemaJT+D8vC1PUAFlwc\nvWb0T+nznH8RtC6OMcf/CCU54dGctJt0hkzOrFhqiEwlNNIgq3wUQqchdQ9e\nqRPQxJfvzz5UwHEF4MSlAni7xN5zdpDl7V4ePozrWDuQli/cOqxIh7IWFdsZ\nuKS6kLJmYiPI1SHZhVyW5yWqZCGQzvbdwI7She1L4CEHjCWcX509tse90rmh\ndIyZ\r\n=8sQY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCM84ykec1by+aPddSb7srrY9sbKsNwEE8JQM7jV0SYDAIhAJ2C+s4yHn97Iw6MGnJugNbwn5OzHbY+7je5J9MIUtW2"}]},"maintainers":[{"name":"spuddleziz","email":"spuddleziz@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vmv_0.7.5_1545068230659_0.582966153228549"},"_hasShrinkwrap":false}},"time":{"created":"2018-12-17T17:30:20.036Z","0.7.4":"2018-12-17T17:30:20.339Z","modified":"2022-04-04T10:49:04.695Z","0.7.5":"2018-12-17T17:37:10.819Z"},"maintainers":[{"name":"spuddleziz","email":"spuddleziz@gmail.com"}],"description":"Simple, lightweight model-based validation for Vue.js","homepage":"https://github.com/monterail/vuelidate#readme","repository":{"type":"git","url":"git+https://github.com/monterail/vuelidate.git"},"author":{"name":"Paweł Grabarz","email":"pawel.grabarz@monterail.com"},"bugs":{"url":"https://github.com/monterail/vuelidate/issues"},"license":"MIT","readme":"# vuelidate\n[![codecov](https://codecov.io/gh/monterail/vuelidate/branch/master/graph/badge.svg)](https://codecov.io/gh/monterail/vuelidate)\n![gzip size](http://img.badgesize.io/monterail/vuelidate/master/dist/vuelidate.min.js.svg?compression=gzip)\n\n> Simple, lightweight model-based validation for Vue.js\n\n### Features & characteristics:\n* Model based\n* Decoupled from templates\n* Dependency free, minimalistic library\n* Support for collection validations\n* Support for nested models\n* Contextified validators\n* Easy to use with custom validators (e.g. Moment.js)\n* Support for function composition\n* Validates different data sources: Vuex getters, computed values, etc.\n\n## Demo & docs\n\n[http://monterail.github.io/vuelidate/](http://monterail.github.io/vuelidate/)\n\n## Installation\n\n```bash\nnpm install vuelidate --save\n```\n\nYou can import the library and use as a Vue plugin to enable the functionality globally on all components containing validation configuration.\n\n```javascript\nimport Vue from 'vue'\nimport Vuelidate from 'vuelidate'\nVue.use(Vuelidate)\n```\n\nAlternatively it is possible to import a mixin directly to components in which it will be used.\n\n```javascript\nimport { validationMixin } from 'vuelidate'\n\nvar Component = Vue.extend({\n  mixins: [validationMixin],\n  validations: { ... }\n})\n```\n\nThe browser-ready bundle is also provided in the package.\n\n```html\n<script src=\"vuelidate/dist/vuelidate.min.js\"></script>\n<!-- The builtin validators is added by adding the following line. -->\n<script src=\"vuelidate/dist/validators.min.js\"></script>\n```\n\n```javascript\nVue.use(window.vuelidate.default)\n```\n\n## Basic usage\n\nFor each value you want to validate, you have to create a key inside validations options. You can specify when input becomes dirty by using appropriate event on your input box.\n\n```javascript\nimport { required, minLength, between } from 'vuelidate/lib/validators'\n\nexport default {\n  data () {\n    return {\n      name: '',\n      age: 0\n    }\n  },\n  validations: {\n    name: {\n      required,\n      minLength: minLength(4)\n    },\n    age: {\n      between: between(20, 30)\n    }\n  }\n}\n```\n\nThis will result in a validation object:\n\n```javascript\n$v: {\n  name: {\n    \"required\": false,\n    \"minLength\": false,\n    \"$invalid\": true,\n    \"$dirty\": false,\n    \"$error\": false,\n    \"$pending\": false\n  },\n  age: {\n    \"between\": false\n    \"$invalid\": true,\n    \"$dirty\": false,\n    \"$error\": false,\n    \"$pending\": false\n  }\n}\n```\n\nCheckout the docs for more examples: [https://monterail.github.io/vuelidate/](https://monterail.github.io/vuelidate/)\n\n## Contributing\n\n``` bash\n# install dependencies\nnpm install\n\n# serve with hot reload at localhost:8080\nnpm run dev\n\n# create UMD bundle.\nnpm run build\n\n# Create docs inside /gh-pages ready to be published\nnpm run docs\n\n# run unit tests\nnpm run unit\n\n# run all tests\nnpm test\n```\n\nFor detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2016 Paweł Grabarz & Damian Dulisz\n","readmeFilename":"README.md"}