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.
@@ -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&&!!r}module.exports=function(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];return r.every(t)};
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&&!!r}module.exports=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.some(t)};
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 t(e())}catch(r){return!1}return t(e)}function t(r){return!!Array.isArray(r)||0!=r&&!!r}exports.all=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return r.every(e)},exports.any=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return r.some(e)},exports.none=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.every(r.bindNot(e))},exports.one=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];for(var n=t=0;n<r.length;n++)if(e(r[n])&&t++,1<t)return!1;return 1===t};
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&&!!r}module.exports=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return n.every(r.bindNot(t))};
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&&!!r}module.exports=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];for(var e=n=0;e<r.length;e++)if(t(r[e])&&n++,1<n)return!1;return 1===n};
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};
@@ -30,4 +30,4 @@ function all() {
30
30
  return args.every(run);
31
31
  }
32
32
 
33
- export default all;
33
+ export { all 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&&!!r}export default function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.every(t)}
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};
@@ -30,4 +30,4 @@ function any() {
30
30
  return args.some(run);
31
31
  }
32
32
 
33
- export default any;
33
+ export { any 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&&!!r}export default function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.some(t)}
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&&!!r}function u(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.every(t)}function o(){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=n=0;e<r.length;e++)if(t(r[e])&&n++,1<n)return!1;return 1===n}export{u as all,o as any,f as none,i as one};
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};
@@ -30,4 +30,4 @@ function none() {
30
30
  return args.every(bindNot(run));
31
31
  }
32
32
 
33
- export default none;
33
+ export { none as default };
@@ -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&&!!r}export default function(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];return r.every(t(n))}
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};
@@ -39,4 +39,4 @@ function one() {
39
39
  return count === 1;
40
40
  }
41
41
 
42
- export default one;
42
+ export { one as default };
@@ -1 +1 @@
1
- import{isFunction as r}from"vest-utils";function t(r){return!!Array.isArray(r)||0!=r&&!!r}export default function(){for(var a=[],e=0;e<arguments.length;e++)a[e]=arguments[e];for(var n=e=0;n<a.length;n++){r:{var f=a[n];if(r(f))try{var i=t(f());break r}catch(r){i=!1;break r}i=t(f)}if(i&&e++,1<e)return!1}return 1===e}
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['vest-utils']));
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
- "use strict";!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){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&&!!e}return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.every(t)}}));
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['vest-utils']));
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
- "use strict";!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){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&&!!e}return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.some(t)}}));
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['vest-utils']));
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
- "use strict";!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){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&&!!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=n=0;r<e.length;r++)if(t(e[r])&&n++,1<n)return!1;return 1===n},Object.defineProperty(e,"__esModule",{value:!0})}));
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['vest-utils']));
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
- "use strict";!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){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&&!!e}return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return n.every(e.bindNot(t))}}));
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['vest-utils']));
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
- "use strict";!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){function t(e){return!!Array.isArray(e)||0!=e&&!!e}return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];for(var i=r=0;i<n.length;i++){e:{var o=n[i];if(e.isFunction(o))try{var f=t(o());break e}catch(e){f=!1;break e}f=t(o)}if(f&&r++,1<r)return!1}return 1===r}}));
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-dev-b07a89",
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.2"
14
+ "vest-utils": "^0.0.3"
15
15
  },
16
16
  "module": "./dist/es/anyone.production.js",
17
17
  "exports": {