anyone 1.0.3-dev-b07a89 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/all.production.js +1 -1
- package/dist/cjs/any.production.js +1 -1
- package/dist/cjs/anyone.production.js +1 -1
- package/dist/cjs/none.production.js +1 -1
- package/dist/cjs/one.production.js +1 -1
- package/dist/es/all.development.js +1 -1
- package/dist/es/all.production.js +1 -1
- package/dist/es/any.development.js +1 -1
- package/dist/es/any.production.js +1 -1
- package/dist/es/anyone.production.js +1 -1
- package/dist/es/none.development.js +1 -1
- package/dist/es/none.production.js +1 -1
- package/dist/es/one.development.js +1 -1
- package/dist/es/one.production.js +1 -1
- package/dist/umd/all.development.js +3 -3
- package/dist/umd/all.production.js +1 -1
- package/dist/umd/any.development.js +3 -3
- package/dist/umd/any.production.js +1 -1
- package/dist/umd/anyone.development.js +3 -3
- package/dist/umd/anyone.production.js +1 -1
- package/dist/umd/none.development.js +3 -3
- package/dist/umd/none.production.js +1 -1
- package/dist/umd/one.development.js +3 -3
- package/dist/umd/one.production.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var r=require("vest-utils");function t(t){if(r.isFunction(t))try{return e(t())}catch(r){return!1}return e(t)}function e(r){return!!Array.isArray(r)||0!=r
|
|
1
|
+
"use strict";var r=require("vest-utils");function t(t){if(r.isFunction(t))try{return e(t())}catch(r){return!1}return e(t)}function e(r){return!!Array.isArray(r)||0!=r&&Boolean(r)}module.exports=function(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];return r.every(t)};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var r=require("vest-utils");function t(t){if(r.isFunction(t))try{return n(t())}catch(r){return!1}return n(t)}function n(r){return!!Array.isArray(r)||0!=r
|
|
1
|
+
"use strict";var r=require("vest-utils");function t(t){if(r.isFunction(t))try{return n(t())}catch(r){return!1}return n(t)}function n(r){return!!Array.isArray(r)||0!=r&&Boolean(r)}module.exports=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.some(t)};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("vest-utils");function e(e){if(r.isFunction(e))try{return
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("vest-utils");function e(e){if(r.isFunction(e))try{return n(e())}catch(r){return!1}return n(e)}function n(r){return!!Array.isArray(r)||0!=r&&Boolean(r)}exports.all=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.every(e)},exports.any=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.some(e)},exports.none=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return n.every(r.bindNot(e))},exports.one=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];for(var t=0,o=0;o<r.length;o++)if(e(r[o])&&t++,t>1)return!1;return 1===t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var r=require("vest-utils");function t(t){if(r.isFunction(t))try{return n(t())}catch(r){return!1}return n(t)}function n(r){return!!Array.isArray(r)||0!=r
|
|
1
|
+
"use strict";var r=require("vest-utils");function t(t){if(r.isFunction(t))try{return n(t())}catch(r){return!1}return n(t)}function n(r){return!!Array.isArray(r)||0!=r&&Boolean(r)}module.exports=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return n.every(r.bindNot(t))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var r=require("vest-utils");function t(t){if(r.isFunction(t))try{return n(t())}catch(r){return!1}return n(t)}function n(r){return!!Array.isArray(r)||0!=r
|
|
1
|
+
"use strict";var r=require("vest-utils");function t(t){if(r.isFunction(t))try{return n(t())}catch(r){return!1}return n(t)}function n(r){return!!Array.isArray(r)||0!=r&&Boolean(r)}module.exports=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];for(var e=0,u=0;u<r.length;u++)if(t(r[u])&&e++,e>1)return!1;return 1===e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isFunction as r}from"vest-utils";function t(t){if(r(t))try{return n(t())}catch(r){return!1}return n(t)}function n(r){return!!Array.isArray(r)||0!=r
|
|
1
|
+
import{isFunction as r}from"vest-utils";function t(t){if(r(t))try{return n(t())}catch(r){return!1}return n(t)}function n(r){return!!Array.isArray(r)||0!=r&&Boolean(r)}function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.every(t)}export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isFunction as r}from"vest-utils";function t(t){if(r(t))try{return n(t())}catch(r){return!1}return n(t)}function n(r){return!!Array.isArray(r)||0!=r
|
|
1
|
+
import{isFunction as r}from"vest-utils";function t(t){if(r(t))try{return n(t())}catch(r){return!1}return n(t)}function n(r){return!!Array.isArray(r)||0!=r&&Boolean(r)}function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.some(t)}export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isFunction as r,bindNot as n}from"vest-utils";function t(n){if(r(n))try{return e(n())}catch(r){return!1}return e(n)}function e(r){return!!Array.isArray(r)||0!=r
|
|
1
|
+
import{isFunction as r,bindNot as n}from"vest-utils";function t(n){if(r(n))try{return e(n())}catch(r){return!1}return e(n)}function e(r){return!!Array.isArray(r)||0!=r&&Boolean(r)}function o(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.every(t)}function u(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.some(t)}function f(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];return r.every(n(t))}function i(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];for(var e=0,o=0;o<r.length;o++)if(t(r[o])&&e++,e>1)return!1;return 1===e}export{o as all,u as any,f as none,i as one};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isFunction as r,bindNot as t}from"vest-utils";function n(t){if(r(t))try{return e(t())}catch(r){return!1}return e(t)}function e(r){return!!Array.isArray(r)||0!=r
|
|
1
|
+
import{isFunction as r,bindNot as t}from"vest-utils";function n(t){if(r(t))try{return e(t())}catch(r){return!1}return e(t)}function e(r){return!!Array.isArray(r)||0!=r&&Boolean(r)}function u(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];return r.every(t(n))}export{u as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isFunction as r}from"vest-utils";function t(r){return!!Array.isArray(r)||0!=r
|
|
1
|
+
import{isFunction as r}from"vest-utils";function t(t){if(r(t))try{return n(t())}catch(r){return!1}return n(t)}function n(r){return!!Array.isArray(r)||0!=r&&Boolean(r)}function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];for(var e=0,u=0;u<r.length;u++)if(t(r[u])&&e++,e>1)return!1;return 1===e}export{e as default};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('vest-utils')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['vest-utils'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.all = factory(global[
|
|
5
|
-
}(this, (function (vestUtils) { 'use strict';
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.all = factory(global["vest-utils"]));
|
|
5
|
+
})(this, (function (vestUtils) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Accepts a value or a function, and coerces it into a boolean value
|
|
@@ -36,4 +36,4 @@
|
|
|
36
36
|
|
|
37
37
|
return all;
|
|
38
38
|
|
|
39
|
-
}))
|
|
39
|
+
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("vest-utils")):"function"==typeof define&&define.amd?define(["vest-utils"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).all=t(e["vest-utils"])}(this,(function(e){"use strict";function t(t){if(e.isFunction(t))try{return n(t())}catch(e){return!1}return n(t)}function n(e){return!!Array.isArray(e)||0!=e&&Boolean(e)}return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.every(t)}}));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('vest-utils')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['vest-utils'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.any = factory(global[
|
|
5
|
-
}(this, (function (vestUtils) { 'use strict';
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.any = factory(global["vest-utils"]));
|
|
5
|
+
})(this, (function (vestUtils) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Accepts a value or a function, and coerces it into a boolean value
|
|
@@ -36,4 +36,4 @@
|
|
|
36
36
|
|
|
37
37
|
return any;
|
|
38
38
|
|
|
39
|
-
}))
|
|
39
|
+
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("vest-utils")):"function"==typeof define&&define.amd?define(["vest-utils"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).any=t(e["vest-utils"])}(this,(function(e){"use strict";function t(t){if(e.isFunction(t))try{return n(t())}catch(e){return!1}return n(t)}function n(e){return!!Array.isArray(e)||0!=e&&Boolean(e)}return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.some(t)}}));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vest-utils')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['exports', 'vest-utils'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.anyone = {}, global[
|
|
5
|
-
}(this, (function (exports, vestUtils) { 'use strict';
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.anyone = {}, global["vest-utils"]));
|
|
5
|
+
})(this, (function (exports, vestUtils) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Accepts a value or a function, and coerces it into a boolean value
|
|
@@ -83,4 +83,4 @@
|
|
|
83
83
|
|
|
84
84
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
85
85
|
|
|
86
|
-
}))
|
|
86
|
+
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("vest-utils")):"function"==typeof define&&define.amd?define(["exports","vest-utils"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).anyone={},e["vest-utils"])}(this,(function(e,n){"use strict";function t(e){if(n.isFunction(e))try{return r(e())}catch(e){return!1}return r(e)}function r(e){return!!Array.isArray(e)||0!=e&&Boolean(e)}e.all=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.every(t)},e.any=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.some(t)},e.none=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return e.every(n.bindNot(t))},e.one=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var r=0,o=0;o<e.length;o++)if(t(e[o])&&r++,r>1)return!1;return 1===r},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('vest-utils')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['vest-utils'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.none = factory(global[
|
|
5
|
-
}(this, (function (vestUtils) { 'use strict';
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.none = factory(global["vest-utils"]));
|
|
5
|
+
})(this, (function (vestUtils) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Accepts a value or a function, and coerces it into a boolean value
|
|
@@ -36,4 +36,4 @@
|
|
|
36
36
|
|
|
37
37
|
return none;
|
|
38
38
|
|
|
39
|
-
}))
|
|
39
|
+
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("vest-utils")):"function"==typeof define&&define.amd?define(["vest-utils"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).none=t(e["vest-utils"])}(this,(function(e){"use strict";function t(t){if(e.isFunction(t))try{return n(t())}catch(e){return!1}return n(t)}function n(e){return!!Array.isArray(e)||0!=e&&Boolean(e)}return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return n.every(e.bindNot(t))}}));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('vest-utils')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['vest-utils'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.one = factory(global[
|
|
5
|
-
}(this, (function (vestUtils) { 'use strict';
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.one = factory(global["vest-utils"]));
|
|
5
|
+
})(this, (function (vestUtils) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Accepts a value or a function, and coerces it into a boolean value
|
|
@@ -45,4 +45,4 @@
|
|
|
45
45
|
|
|
46
46
|
return one;
|
|
47
47
|
|
|
48
|
-
}))
|
|
48
|
+
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("vest-utils")):"function"==typeof define&&define.amd?define(["vest-utils"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).one=t(e["vest-utils"])}(this,(function(e){"use strict";function t(t){if(e.isFunction(t))try{return n(t())}catch(e){return!1}return n(t)}function n(e){return!!Array.isArray(e)||0!=e&&Boolean(e)}return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var r=0,i=0;i<e.length;i++)if(t(e[i])&&r++,r>1)return!1;return 1===r}}));
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"main": "./dist/cjs/anyone.js",
|
|
5
5
|
"types": "./types/anyone.d.ts",
|
|
6
|
-
"version": "1.0.3
|
|
6
|
+
"version": "1.0.3",
|
|
7
7
|
"author": "ealush",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"test": "vx test",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"release": "vx release"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"vest-utils": "^0.0.
|
|
14
|
+
"vest-utils": "^0.0.3"
|
|
15
15
|
},
|
|
16
16
|
"module": "./dist/es/anyone.production.js",
|
|
17
17
|
"exports": {
|