Comparing version 1.5.1 to 1.5.2
@@ -6,6 +6,8 @@ "use strict"; | ||
var _sensibles = require("./sensibles"); | ||
var _vue = _interopRequireDefault(require("vue")); | ||
var _isPlainObject = _interopRequireDefault(require("lodash/isPlainObject")); | ||
var _sensibles = require("./sensibles"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -44,3 +46,5 @@ | ||
validator: function validator() {} | ||
validator: function validator() { | ||
return true; | ||
} | ||
}, props); | ||
@@ -127,3 +131,7 @@ }; | ||
if (process.env.NODE_ENV !== 'production') { | ||
_vue.default.config.silent === false && console.warn('You are using the production shimmed version of VueTypes in a development build. Refer to https://github.com/dwightjack/vue-types#production-build to learn how to configure VueTypes for usage in multiple environments.'); | ||
} | ||
var _default = vueTypes; | ||
exports.default = _default; |
@@ -0,3 +1,4 @@ | ||
import Vue from 'vue'; | ||
import isPlainObject from 'lodash/isPlainObject'; | ||
import { setDefaults } from './sensibles'; | ||
import isPlainObject from 'lodash/isPlainObject'; | ||
@@ -35,3 +36,5 @@ var isArray = Array.isArray || function (value) { | ||
validator: function validator() {} | ||
validator: function validator() { | ||
return true; | ||
} | ||
}, props); | ||
@@ -118,2 +121,6 @@ }; | ||
if (process.env.NODE_ENV !== 'production') { | ||
Vue.config.silent === false && console.warn('You are using the production shimmed version of VueTypes in a development build. Refer to https://github.com/dwightjack/vue-types#production-build to learn how to configure VueTypes for usage in multiple environments.'); | ||
} | ||
export default vueTypes; |
{ | ||
"name": "vue-types", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "Prop types utility for Vue", | ||
@@ -5,0 +5,0 @@ "author": "Marco Solazzi", |
@@ -0,3 +1,4 @@ | ||
import Vue from 'vue' | ||
import isPlainObject from 'lodash/isPlainObject' | ||
import { setDefaults } from './sensibles' | ||
import isPlainObject from 'lodash/isPlainObject' | ||
@@ -26,3 +27,3 @@ const isArray = Array.isArray || function (value) { | ||
}, | ||
validator () {} | ||
validator () { return true } | ||
}, props) | ||
@@ -78,2 +79,6 @@ | ||
if (process.env.NODE_ENV !== 'production') { | ||
Vue.config.silent === false && console.warn('You are using the production shimmed version of VueTypes in a development build. Refer to https://github.com/dwightjack/vue-types#production-build to learn how to configure VueTypes for usage in multiple environments.') | ||
} | ||
export default vueTypes |
/*! vue-types - v1.5.1 | ||
/*! vue-types - v1.5.2 | ||
* https://github.com/dwightjack/vue-types | ||
@@ -4,0 +4,0 @@ * Copyright (c) 2019 - Marco Solazzi; |
@@ -1,2 +0,2 @@ | ||
/*! vue-types - v1.5.1 | ||
/*! vue-types - v1.5.2 | ||
* https://github.com/dwightjack/vue-types | ||
@@ -3,0 +3,0 @@ * Copyright (c) 2019 - Marco Solazzi; |
179427
2664
6