Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@analytics/type-utils

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@analytics/type-utils - npm Package Compare versions

Comparing version 0.5.4 to 0.6.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [0.6.0](https://github.com/DavidWells/analytics/tree/master/packages/analytics-util-types/compare/@analytics/type-utils@0.5.4...@analytics/type-utils@0.6.0) (2022-03-18)
### Features
* add type checks ([f51819d](https://github.com/DavidWells/analytics/tree/master/packages/analytics-util-types/commit/f51819d69d0187159911a3b626fcf0c9d118580f))
## [0.5.4](https://github.com/DavidWells/analytics/tree/master/packages/analytics-util-types/compare/@analytics/type-utils@0.5.3...@analytics/type-utils@0.5.4) (2022-02-05)

@@ -8,0 +19,0 @@

2

dist/analytics-util-types.js

@@ -1,2 +0,2 @@

var e,t=function(){},o="undefined"!=typeof process?process:{},n=(null==(e=o.env)?void 0:e.NODE_ENV)||"",r="production"===n,s="staging"===n,i="development"===n,p="undefined"!=typeof window,u=p&&"localhost"===window.location.hostname,c=null!=o.versions&&null!=o.versions.node,a="undefined"!=typeof Deno&&void 0!==Deno.core,l="object"==typeof self&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,f=p&&"nodejs"===window.name||"undefined"!=typeof navigator&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function d(e,t){return typeof t===e}var x=d.bind(null,"function"),m=d.bind(null,"string"),y=d.bind(null,"undefined"),N=d.bind(null,"boolean");function g(e){return null===e}function b(e){return e&&("object"==typeof e||null!==e)}function O(e,t){var o=e instanceof Element||e instanceof HTMLDocument;return o&&t?v(e,t):o}function v(e,t){return void 0===t&&(t=""),e&&e.nodeName===t.toUpperCase()}function E(e){return function(){return e.apply(void 0,[].slice.call(arguments).concat([].slice.call(arguments,1)))}}var A=E(O),j=E(O),D=E(O),S=E(O);exports.ALL="*",exports.ANY="any",exports.ARRAY="array",exports.BOOLEAN="boolean",exports.BUTTON="button",exports.CHANGE="change",exports.ENV=n,exports.FORM="form",exports.FUNCTION="function",exports.HIDDEN="hidden",exports.INPUT="input",exports.NONE="none",exports.NUMBER="number",exports.OBJECT="object",exports.PREFIX="__",exports.SELECT="select",exports.STRING="string",exports.SUBMIT="submit",exports.UNDEFINED="undefined",exports.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)},exports.isBoolean=N,exports.isBrowser=p,exports.isButton=j,exports.isClass=function(e){return!!x(e)&&/^class /.test(Function.prototype.toString.call(e))},exports.isDeno=a,exports.isDev=i,exports.isElement=O,exports.isEmail=function(e){return!(e.length>320)&&/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)},exports.isErrorLike=function(e){return b(e)&&m(e.message)&&m(e.name)},exports.isForm=A,exports.isFunction=x,exports.isHidden=function(e,t){if(!e||"hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(null!=t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1},exports.isInput=D,exports.isIsoDate=function(e){return/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/.test(e)},exports.isJsDom=f,exports.isLocalHost=u,exports.isNoOp=function(e){if(!x(e))return!1;var o=/{(\r|\n|\s)*}/gm,n=t+"";return n===(e.toString().match(o)||[""])[0].replace(o,n)},exports.isNode=c,exports.isNodeList=function(e){return NodeList.prototype.isPrototypeOf(e)},exports.isNodeType=v,exports.isNull=g,exports.isNumber=function(e){return!isNaN(parseFloat(e))},exports.isObject=function(e){if(!b(e))return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t},exports.isObjectLike=b,exports.isPrimitive=function(e){if(g(e))return!0;switch(typeof e){case"string":case"number":case"symbol":case"undefined":case"boolean":return!0;default:return!1}},exports.isProd=r,exports.isPromise=function(e){return!!e&&!!(!y(Promise)&&e instanceof Promise||e.then&&x(e.then))},exports.isRegex=function(e){return e instanceof RegExp},exports.isSelect=S,exports.isStaging=s,exports.isString=m,exports.isTruthy=function(e){return!(m(e)&&"false"===e.toLowerCase()||!e)},exports.isUndefined=y,exports.isWebWorker=l,exports.noOp=t,exports.typeOf=d;
var e=function(){},t=/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/,r=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,n=/^\{[\s\S]*\}$|^\[[\s\S]*\]$/,o="undefined"!=typeof process?process:{},s=o.env&&o.env.NODE_ENV||"",i="production"===s,u="staging"===s,c="development"===s,p="undefined"!=typeof window,a=p&&"localhost"===window.location.hostname,f=null!=o.versions&&null!=o.versions.node,l="undefined"!=typeof Deno&&void 0!==Deno.core,x="object"==typeof self&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,d=p&&"nodejs"===window.name||"undefined"!=typeof navigator&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function y(e,t){return t.charAt(0)[e]()+t.slice(1)}var N=y.bind(null,"toUpperCase"),E=y.bind(null,"toLowerCase");function m(e){return R(e)?N("null"):"object"==typeof e?j(e):Object.prototype.toString.call(e).slice(8,-1)}function b(e,t){void 0===t&&(t=!0);var r=m(e);return t?E(r):r}function g(e,t){return typeof t===e}var O=g.bind(null,"function"),S=g.bind(null,"string"),v=g.bind(null,"undefined"),A=g.bind(null,"boolean"),T=g.bind(null,"symbol");function R(e){return null===e}function F(e){return"number"===b(e)&&!isNaN(e)}function h(e){return"array"===b(e)}function D(e){if(!L(e))return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function L(e){return e&&("object"==typeof e||null!==e)}function j(e){return O(e.constructor)?e.constructor.name:null}function C(e){return e instanceof Set}function I(e){return e instanceof Map}function P(e){return e instanceof Error||S(e.message)&&e.constructor&&F(e.constructor.stackTraceLimit)}function U(e,t){if("object"!=typeof t||R(t))return!1;if(t instanceof e)return!0;var r=b(new e(""));if(P(t))for(;t;){if(b(t)===r)return!0;t=Object.getPrototypeOf(t)}return!1}var _=U.bind(null,TypeError),w=U.bind(null,SyntaxError);function B(e,t){var r=e instanceof Element||e instanceof HTMLDocument;return r&&t?G(e,t):r}function G(e,t){return void 0===t&&(t=""),e&&e.nodeName===t.toUpperCase()}function M(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}var z=M(B,"form"),Z=M(B,"button"),k=M(B,"input"),Y=M(B,"select");exports.ALL="*",exports.ANY="any",exports.ARRAY="array",exports.ASYNC_FUNCTION="asyncFunction",exports.ASYNC_GENERATOR_FUNCTION="asyncGeneratorFunction",exports.BOOLEAN="boolean",exports.BUTTON="button",exports.CHANGE="change",exports.ENV=s,exports.ERROR="error",exports.FORM="form",exports.FUNCTION="function",exports.GENERATOR_FUNCTION="generatorFunction",exports.HIDDEN="hidden",exports.INPUT="input",exports.NONE="none",exports.NULL="null",exports.NUMBER="number",exports.OBJECT="object",exports.PREFIX="__",exports.REGEX_EMAIL=r,exports.REGEX_ISO=t,exports.REGEX_JSON=n,exports.SELECT="select",exports.STRING="string",exports.SUBMIT="submit",exports.SYMBOL="symbol",exports.SYNTAX_ERROR="syntaxError",exports.TYPE_ERROR="typeError",exports.UNDEFINED="undefined",exports.ctorName=j,exports.ensureArray=function(e){return e?h(e)?e:[e]:[]},exports.getType=b,exports.getTypeName=m,exports.isArguments=function(e){try{if(F(e.length)&&O(e.callee))return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1},exports.isArray=h,exports.isAsyncFunction=function(e){return"asyncFunction"===b(e)},exports.isBoolean=A,exports.isBrowser=p,exports.isBuffer=function(e){return!(!e.constructor||!O(e.constructor.isBuffer))&&e.constructor.isBuffer(e)},exports.isButton=Z,exports.isClass=function(e){return!!O(e)&&/^class /.test(Function.prototype.toString.call(e))},exports.isDate=function(e){return e instanceof Date||O(e.toDateString)&&O(e.getDate)&&O(e.setDate)},exports.isDefined=function(e){return!v(e)},exports.isDeno=l,exports.isDev=c,exports.isElement=B,exports.isEmail=function(e){return!(e.length>320)&&r.test(e)},exports.isEmpty=function(e){return!(!R(e)&&(h(e)?e.length:C(e)||I(e)?e.size:D(e)&&Object.keys(e).length))},exports.isError=P,exports.isErrorLike=function(e){return L(e)&&S(e.message)&&S(e.name)},exports.isFalse=function(e){return!1===e},exports.isFalsy=function(e){return!e},exports.isForm=z,exports.isFunction=O,exports.isGenerator=function(e){return L(e)&&O(e.throw)&&O(e.return)&&O(e.next)},exports.isGeneratorFunction=function(e){return"generatorFunction"===b(e)},exports.isHidden=function(e,t){if(!e||"hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(null!=t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1},exports.isInput=k,exports.isIsoDate=function(e){return t.test(e)},exports.isJsDom=d,exports.isJson=function(e){if(!S(e)||!n.test(e))return!1;try{JSON.parse(e)}catch(e){return!1}return!0},exports.isLocalHost=a,exports.isMap=I,exports.isMethod=function(e,t){return D(e)&&O(e[t])},exports.isNoOp=function(t){if(!O(t))return!1;var r=/{(\r|\n|\s)*}/gm,n=e+"";return n===(t.toString().match(r)||[""])[0].replace(r,n)},exports.isNode=f,exports.isNodeList=function(e){return NodeList.prototype.isPrototypeOf(e)},exports.isNodeType=G,exports.isNull=R,exports.isNumber=F,exports.isNumberLike=function(e){return!isNaN(parseFloat(e))},exports.isObject=D,exports.isObjectLike=L,exports.isPrimitive=function(e){if(R(e))return!0;switch(typeof e){case"string":case"number":case"symbol":case"undefined":case"boolean":return!0;default:return!1}},exports.isProd=i,exports.isPromise=function(e){return!!e&&!!(!v(Promise)&&e instanceof Promise||e.then&&O(e.then))},exports.isRegex=function(e){return e instanceof RegExp},exports.isSelect=Y,exports.isSet=C,exports.isStaging=u,exports.isString=S,exports.isSymbol=T,exports.isSyntaxError=w,exports.isTrue=function(e){return!0===e},exports.isTruthy=function(e){return!(S(e)&&"false"===e.toLowerCase()||!e)},exports.isTypeError=_,exports.isUndefined=v,exports.isWebWorker=x,exports.noOp=e;
//# sourceMappingURL=analytics-util-types.js.map

@@ -1,2 +0,2 @@

var n;const e="function",t="string",o="undefined",r="boolean",u="object",i="array",c="number",s=()=>{},f="any",a="*",l="none",d="hidden",p="__",b="form",g="input",m="button",y="select",j="change",v="submit",h="undefined"!=typeof process?process:{},A=(null==(n=h.env)?void 0:n.NODE_ENV)||"",O="production"===A,w="staging"===A,Z="development"===A,z="undefined"!=typeof window,N=z&&"localhost"===window.location.hostname,P=null!=h.versions&&null!=h.versions.node,S="undefined"!=typeof Deno&&void 0!==Deno.core,D="object"==typeof self&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,E=z&&"nodejs"===window.name||"undefined"!=typeof navigator&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function C(n,e){return typeof e===n}const _=C.bind(null,"function"),L=C.bind(null,"string"),$=C.bind(null,"undefined"),x=C.bind(null,"boolean");function F(n){return null===n}function T(n){return!isNaN(parseFloat(n))}function k(n){return!!_(n)&&/^class /.test(Function.prototype.toString.call(n))}function G(n){return"[object Array]"===Object.prototype.toString.call(n)}function H(n){return n&&("object"==typeof n||null!==n)}function M(n){if(!H(n))return!1;let e=n;for(;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(n)===e}function R(n){if(F(n))return!0;switch(typeof n){case"string":case"number":case"symbol":case"undefined":case"boolean":return!0;default:return!1}}function U(n){return!!n&&!!(!$(Promise)&&n instanceof Promise||n.then&&_(n.then))}function V(n){return n instanceof RegExp}function W(n){return H(n)&&L(n.message)&&L(n.name)}function q(n){if(!_(n))return!1;const e=/{(\r|\n|\s)*}/gm,t=s+"";return t===(n.toString().match(e)||[""])[0].replace(e,t)}function B(n){return!(L(n)&&"false"===n.toLowerCase()||!n)}function I(n){return!(n.length>320)&&/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(n)}function J(n){return/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/.test(n)}function K(n){return NodeList.prototype.isPrototypeOf(n)}function Q(n,e){const t=n instanceof Element||n instanceof HTMLDocument;return t&&e?X(n,e):t}function X(n,e=""){return n&&n.nodeName===e.toUpperCase()}function Y(n,...e){return function(...t){return n(...t,...e)}}const nn=Y(Q,"form"),en=Y(Q,"button"),tn=Y(Q,"input"),on=Y(Q,"select");function rn(n,e){if(!n||"hidden"===getComputedStyle(n).visibility)return!0;for(;n;){if(null!=e&&n===e)return!1;if("none"===getComputedStyle(n).display)return!0;n=n.parentElement}return!1}export{a as ALL,f as ANY,i as ARRAY,r as BOOLEAN,m as BUTTON,j as CHANGE,A as ENV,b as FORM,e as FUNCTION,d as HIDDEN,g as INPUT,l as NONE,c as NUMBER,u as OBJECT,p as PREFIX,y as SELECT,t as STRING,v as SUBMIT,o as UNDEFINED,G as isArray,x as isBoolean,z as isBrowser,en as isButton,k as isClass,S as isDeno,Z as isDev,Q as isElement,I as isEmail,W as isErrorLike,nn as isForm,_ as isFunction,rn as isHidden,tn as isInput,J as isIsoDate,E as isJsDom,N as isLocalHost,q as isNoOp,P as isNode,K as isNodeList,X as isNodeType,F as isNull,T as isNumber,M as isObject,H as isObjectLike,R as isPrimitive,O as isProd,U as isPromise,V as isRegex,on as isSelect,w as isStaging,L as isString,B as isTruthy,$ as isUndefined,D as isWebWorker,s as noOp,C as typeOf};
const n="function",t="string",e="undefined",r="boolean",o="object",u="array",c="number",i="symbol",s="null",f="error",a="typeError",l="syntaxError",d="asyncFunction",p="generatorFunction",y="asyncGeneratorFunction",b=()=>{},g="any",m="*",h="none",j="hidden",O="__",S="form",w="input",v="button",A="select",E="change",N="submit",D=/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/,z=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Z=/^\{[\s\S]*\}$|^\[[\s\S]*\]$/,F="undefined"!=typeof process?process:{},P=F.env&&F.env.NODE_ENV||"",x="production"===P,C="staging"===P,L="development"===P,$="undefined"!=typeof window,T=$&&"localhost"===window.location.hostname,_=null!=F.versions&&null!=F.versions.node,k="undefined"!=typeof Deno&&void 0!==Deno.core,B="object"==typeof self&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,G=$&&"nodejs"===window.name||"undefined"!=typeof navigator&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function M(n,t){return t.charAt(0)[n]()+t.slice(1)}const U=M.bind(null,"toUpperCase"),H=M.bind(null,"toLowerCase");function J(n){return Y(n)?U("null"):"object"==typeof n?yn(n):Object.prototype.toString.call(n).slice(8,-1)}function R(n,t=!0){const e=J(n);return t?H(e):e}function V(n,t){return typeof t===n}const W=V.bind(null,"function"),q=V.bind(null,"string"),I=V.bind(null,"undefined");function K(n){return!I(n)}const Q=V.bind(null,"boolean"),X=V.bind(null,"symbol");function Y(n){return null===n}function nn(n){return"number"===R(n)&&!isNaN(n)}function tn(n){return!isNaN(parseFloat(n))}function en(n){return!!W(n)&&/^class /.test(Function.prototype.toString.call(n))}function rn(n){return"array"===R(n)}function on(n){if(!un(n))return!1;let t=n;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(n)===t}function un(n){return n&&("object"==typeof n||null!==n)}function cn(n){if(!q(n)||!Z.test(n))return!1;try{JSON.parse(n)}catch(n){return!1}return!0}function sn(n){if(Y(n))return!0;switch(typeof n){case"string":case"number":case"symbol":case"undefined":case"boolean":return!0;default:return!1}}function fn(n,t){return on(n)&&W(n[t])}function an(n){return!!n&&!!(!I(Promise)&&n instanceof Promise||n.then&&W(n.then))}function ln(n){return un(n)&&W(n.throw)&&W(n.return)&&W(n.next)}function dn(n){return"generatorFunction"===R(n)}function pn(n){return"asyncFunction"===R(n)}function yn(n){return W(n.constructor)?n.constructor.name:null}function bn(n){return n instanceof Set}function gn(n){return n instanceof Map}function mn(n){return n instanceof RegExp}function hn(n){return!(!n.constructor||!W(n.constructor.isBuffer))&&n.constructor.isBuffer(n)}function jn(n){return n instanceof Error||q(n.message)&&n.constructor&&nn(n.constructor.stackTraceLimit)}function On(n){return un(n)&&q(n.message)&&q(n.name)}function Sn(n,t){if("object"!=typeof t||Y(t))return!1;if(t instanceof n)return!0;const e=R(new n(""));if(jn(t))for(;t;){if(R(t)===e)return!0;t=Object.getPrototypeOf(t)}return!1}const wn=Sn.bind(null,TypeError),vn=Sn.bind(null,SyntaxError);function An(n){if(!W(n))return!1;const t=/{(\r|\n|\s)*}/gm,e=b+"";return e===(n.toString().match(t)||[""])[0].replace(t,e)}function En(n){try{if(nn(n.length)&&W(n.callee))return!0}catch(n){if(-1!==n.message.indexOf("callee"))return!0}return!1}function Nn(n){return!(q(n)&&"false"===n.toLowerCase()||!n)}function Dn(n){return!n}function zn(n){return!0===n}function Zn(n){return!1===n}function Fn(n){return!(n.length>320)&&z.test(n)}function Pn(n){return n instanceof Date||W(n.toDateString)&&W(n.getDate)&&W(n.setDate)}function xn(n){return D.test(n)}function Cn(n){return!(!Y(n)&&(rn(n)?n.length:bn(n)||gn(n)?n.size:on(n)&&Object.keys(n).length))}function Ln(n){return NodeList.prototype.isPrototypeOf(n)}function $n(n,t){const e=n instanceof Element||n instanceof HTMLDocument;return e&&t?Tn(n,t):e}function Tn(n,t=""){return n&&n.nodeName===t.toUpperCase()}function _n(n,...t){return function(...e){return n(...e,...t)}}const kn=_n($n,"form"),Bn=_n($n,"button"),Gn=_n($n,"input"),Mn=_n($n,"select");function Un(n,t){if(!n||"hidden"===getComputedStyle(n).visibility)return!0;for(;n;){if(null!=t&&n===t)return!1;if("none"===getComputedStyle(n).display)return!0;n=n.parentElement}return!1}function Hn(n){return n?rn(n)?n:[n]:[]}export{m as ALL,g as ANY,u as ARRAY,d as ASYNC_FUNCTION,y as ASYNC_GENERATOR_FUNCTION,r as BOOLEAN,v as BUTTON,E as CHANGE,P as ENV,f as ERROR,S as FORM,n as FUNCTION,p as GENERATOR_FUNCTION,j as HIDDEN,w as INPUT,h as NONE,s as NULL,c as NUMBER,o as OBJECT,O as PREFIX,z as REGEX_EMAIL,D as REGEX_ISO,Z as REGEX_JSON,A as SELECT,t as STRING,N as SUBMIT,i as SYMBOL,l as SYNTAX_ERROR,a as TYPE_ERROR,e as UNDEFINED,yn as ctorName,Hn as ensureArray,R as getType,J as getTypeName,En as isArguments,rn as isArray,pn as isAsyncFunction,Q as isBoolean,$ as isBrowser,hn as isBuffer,Bn as isButton,en as isClass,Pn as isDate,K as isDefined,k as isDeno,L as isDev,$n as isElement,Fn as isEmail,Cn as isEmpty,jn as isError,On as isErrorLike,Zn as isFalse,Dn as isFalsy,kn as isForm,W as isFunction,ln as isGenerator,dn as isGeneratorFunction,Un as isHidden,Gn as isInput,xn as isIsoDate,G as isJsDom,cn as isJson,T as isLocalHost,gn as isMap,fn as isMethod,An as isNoOp,_ as isNode,Ln as isNodeList,Tn as isNodeType,Y as isNull,nn as isNumber,tn as isNumberLike,on as isObject,un as isObjectLike,sn as isPrimitive,x as isProd,an as isPromise,mn as isRegex,Mn as isSelect,bn as isSet,C as isStaging,q as isString,X as isSymbol,vn as isSyntaxError,zn as isTrue,Nn as isTruthy,wn as isTypeError,I as isUndefined,B as isWebWorker,b as noOp};
//# sourceMappingURL=analytics-util-types.modern.js.map

@@ -1,2 +0,2 @@

var n,e="function",t="string",o="undefined",r="boolean",i="object",u="array",c="number",a=function(){},f="any",l="*",s="none",d="hidden",p="__",y="form",g="input",b="button",m="select",v="change",j="submit",h="undefined"!=typeof process?process:{},A=(null==(n=h.env)?void 0:n.NODE_ENV)||"",O="production"===A,w="staging"===A,Z="development"===A,z="undefined"!=typeof window,N=z&&"localhost"===window.location.hostname,P=null!=h.versions&&null!=h.versions.node,S="undefined"!=typeof Deno&&void 0!==Deno.core,D="object"==typeof self&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,E=z&&"nodejs"===window.name||"undefined"!=typeof navigator&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function C(n,e){return typeof e===n}var _=C.bind(null,"function"),L=C.bind(null,"string"),$=C.bind(null,"undefined"),x=C.bind(null,"boolean");function F(n){return null===n}function T(n){return!isNaN(parseFloat(n))}function k(n){return!!_(n)&&/^class /.test(Function.prototype.toString.call(n))}function G(n){return"[object Array]"===Object.prototype.toString.call(n)}function H(n){return n&&("object"==typeof n||null!==n)}function M(n){if(!H(n))return!1;for(var e=n;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(n)===e}function R(n){if(F(n))return!0;switch(typeof n){case"string":case"number":case"symbol":case"undefined":case"boolean":return!0;default:return!1}}function U(n){return!!n&&!!(!$(Promise)&&n instanceof Promise||n.then&&_(n.then))}function V(n){return n instanceof RegExp}function W(n){return H(n)&&L(n.message)&&L(n.name)}function q(n){if(!_(n))return!1;var e=/{(\r|\n|\s)*}/gm,t=a+"";return t===(n.toString().match(e)||[""])[0].replace(e,t)}function B(n){return!(L(n)&&"false"===n.toLowerCase()||!n)}function I(n){return!(n.length>320)&&/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(n)}function J(n){return/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/.test(n)}function K(n){return NodeList.prototype.isPrototypeOf(n)}function Q(n,e){var t=n instanceof Element||n instanceof HTMLDocument;return t&&e?X(n,e):t}function X(n,e){return void 0===e&&(e=""),n&&n.nodeName===e.toUpperCase()}function Y(n){return function(){return n.apply(void 0,[].slice.call(arguments).concat([].slice.call(arguments,1)))}}var nn=Y(Q),en=Y(Q),tn=Y(Q),on=Y(Q);function rn(n,e){if(!n||"hidden"===getComputedStyle(n).visibility)return!0;for(;n;){if(null!=e&&n===e)return!1;if("none"===getComputedStyle(n).display)return!0;n=n.parentElement}return!1}export{l as ALL,f as ANY,u as ARRAY,r as BOOLEAN,b as BUTTON,v as CHANGE,A as ENV,y as FORM,e as FUNCTION,d as HIDDEN,g as INPUT,s as NONE,c as NUMBER,i as OBJECT,p as PREFIX,m as SELECT,t as STRING,j as SUBMIT,o as UNDEFINED,G as isArray,x as isBoolean,z as isBrowser,en as isButton,k as isClass,S as isDeno,Z as isDev,Q as isElement,I as isEmail,W as isErrorLike,nn as isForm,_ as isFunction,rn as isHidden,tn as isInput,J as isIsoDate,E as isJsDom,N as isLocalHost,q as isNoOp,P as isNode,K as isNodeList,X as isNodeType,F as isNull,T as isNumber,M as isObject,H as isObjectLike,R as isPrimitive,O as isProd,U as isPromise,V as isRegex,on as isSelect,w as isStaging,L as isString,B as isTruthy,$ as isUndefined,D as isWebWorker,a as noOp,C as typeOf};
var n="function",t="string",e="undefined",r="boolean",o="object",u="array",i="number",c="symbol",f="null",a="error",s="typeError",l="syntaxError",d="asyncFunction",p="generatorFunction",y="asyncGeneratorFunction",b=function(){},g="any",m="*",v="none",h="hidden",j="__",O="form",S="input",w="button",A="select",E="change",N="submit",D=/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/,z=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Z=/^\{[\s\S]*\}$|^\[[\s\S]*\]$/,F="undefined"!=typeof process?process:{},P=F.env&&F.env.NODE_ENV||"",x="production"===P,C="staging"===P,L="development"===P,$="undefined"!=typeof window,T=$&&"localhost"===window.location.hostname,_=null!=F.versions&&null!=F.versions.node,k="undefined"!=typeof Deno&&void 0!==Deno.core,B="object"==typeof self&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,G=$&&"nodejs"===window.name||"undefined"!=typeof navigator&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function M(n,t){return t.charAt(0)[n]()+t.slice(1)}var U=M.bind(null,"toUpperCase"),H=M.bind(null,"toLowerCase");function J(n){return Y(n)?U("null"):"object"==typeof n?yn(n):Object.prototype.toString.call(n).slice(8,-1)}function R(n,t){void 0===t&&(t=!0);var e=J(n);return t?H(e):e}function V(n,t){return typeof t===n}var W=V.bind(null,"function"),q=V.bind(null,"string"),I=V.bind(null,"undefined");function K(n){return!I(n)}var Q=V.bind(null,"boolean"),X=V.bind(null,"symbol");function Y(n){return null===n}function nn(n){return"number"===R(n)&&!isNaN(n)}function tn(n){return!isNaN(parseFloat(n))}function en(n){return!!W(n)&&/^class /.test(Function.prototype.toString.call(n))}function rn(n){return"array"===R(n)}function on(n){if(!un(n))return!1;for(var t=n;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(n)===t}function un(n){return n&&("object"==typeof n||null!==n)}function cn(n){if(!q(n)||!Z.test(n))return!1;try{JSON.parse(n)}catch(n){return!1}return!0}function fn(n){if(Y(n))return!0;switch(typeof n){case"string":case"number":case"symbol":case"undefined":case"boolean":return!0;default:return!1}}function an(n,t){return on(n)&&W(n[t])}function sn(n){return!!n&&!!(!I(Promise)&&n instanceof Promise||n.then&&W(n.then))}function ln(n){return un(n)&&W(n.throw)&&W(n.return)&&W(n.next)}function dn(n){return"generatorFunction"===R(n)}function pn(n){return"asyncFunction"===R(n)}function yn(n){return W(n.constructor)?n.constructor.name:null}function bn(n){return n instanceof Set}function gn(n){return n instanceof Map}function mn(n){return n instanceof RegExp}function vn(n){return!(!n.constructor||!W(n.constructor.isBuffer))&&n.constructor.isBuffer(n)}function hn(n){return n instanceof Error||q(n.message)&&n.constructor&&nn(n.constructor.stackTraceLimit)}function jn(n){return un(n)&&q(n.message)&&q(n.name)}function On(n,t){if("object"!=typeof t||Y(t))return!1;if(t instanceof n)return!0;var e=R(new n(""));if(hn(t))for(;t;){if(R(t)===e)return!0;t=Object.getPrototypeOf(t)}return!1}var Sn=On.bind(null,TypeError),wn=On.bind(null,SyntaxError);function An(n){if(!W(n))return!1;var t=/{(\r|\n|\s)*}/gm,e=b+"";return e===(n.toString().match(t)||[""])[0].replace(t,e)}function En(n){try{if(nn(n.length)&&W(n.callee))return!0}catch(n){if(-1!==n.message.indexOf("callee"))return!0}return!1}function Nn(n){return!(q(n)&&"false"===n.toLowerCase()||!n)}function Dn(n){return!n}function zn(n){return!0===n}function Zn(n){return!1===n}function Fn(n){return!(n.length>320)&&z.test(n)}function Pn(n){return n instanceof Date||W(n.toDateString)&&W(n.getDate)&&W(n.setDate)}function xn(n){return D.test(n)}function Cn(n){return!(!Y(n)&&(rn(n)?n.length:bn(n)||gn(n)?n.size:on(n)&&Object.keys(n).length))}function Ln(n){return NodeList.prototype.isPrototypeOf(n)}function $n(n,t){var e=n instanceof Element||n instanceof HTMLDocument;return e&&t?Tn(n,t):e}function Tn(n,t){return void 0===t&&(t=""),n&&n.nodeName===t.toUpperCase()}function _n(n){var t=[].slice.call(arguments,1);return function(){return n.apply(void 0,[].slice.call(arguments).concat(t))}}var kn=_n($n,"form"),Bn=_n($n,"button"),Gn=_n($n,"input"),Mn=_n($n,"select");function Un(n,t){if(!n||"hidden"===getComputedStyle(n).visibility)return!0;for(;n;){if(null!=t&&n===t)return!1;if("none"===getComputedStyle(n).display)return!0;n=n.parentElement}return!1}function Hn(n){return n?rn(n)?n:[n]:[]}export{m as ALL,g as ANY,u as ARRAY,d as ASYNC_FUNCTION,y as ASYNC_GENERATOR_FUNCTION,r as BOOLEAN,w as BUTTON,E as CHANGE,P as ENV,a as ERROR,O as FORM,n as FUNCTION,p as GENERATOR_FUNCTION,h as HIDDEN,S as INPUT,v as NONE,f as NULL,i as NUMBER,o as OBJECT,j as PREFIX,z as REGEX_EMAIL,D as REGEX_ISO,Z as REGEX_JSON,A as SELECT,t as STRING,N as SUBMIT,c as SYMBOL,l as SYNTAX_ERROR,s as TYPE_ERROR,e as UNDEFINED,yn as ctorName,Hn as ensureArray,R as getType,J as getTypeName,En as isArguments,rn as isArray,pn as isAsyncFunction,Q as isBoolean,$ as isBrowser,vn as isBuffer,Bn as isButton,en as isClass,Pn as isDate,K as isDefined,k as isDeno,L as isDev,$n as isElement,Fn as isEmail,Cn as isEmpty,hn as isError,jn as isErrorLike,Zn as isFalse,Dn as isFalsy,kn as isForm,W as isFunction,ln as isGenerator,dn as isGeneratorFunction,Un as isHidden,Gn as isInput,xn as isIsoDate,G as isJsDom,cn as isJson,T as isLocalHost,gn as isMap,an as isMethod,An as isNoOp,_ as isNode,Ln as isNodeList,Tn as isNodeType,Y as isNull,nn as isNumber,tn as isNumberLike,on as isObject,un as isObjectLike,fn as isPrimitive,x as isProd,sn as isPromise,mn as isRegex,Mn as isSelect,bn as isSet,C as isStaging,q as isString,X as isSymbol,wn as isSyntaxError,zn as isTrue,Nn as isTruthy,Sn as isTypeError,I as isUndefined,B as isWebWorker,b as noOp};
//# sourceMappingURL=analytics-util-types.module.js.map

@@ -1,2 +0,2 @@

!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e||self).utilTypes={})}(this,function(e){var n,t="function",o="string",i="undefined",r="boolean",s="object",u="number",c=function(){},l="none",a="hidden",f=typeof process!==i?process:{},d=(null==(n=f.env)?void 0:n.NODE_ENV)||"",p="production"===d,y="staging"===d,m="development"===d,N=typeof window!==i,g=N&&"localhost"===window.location.hostname,b=null!=f.versions&&null!=f.versions.node,O=typeof Deno!==i&&typeof Deno.core!==i,E=typeof self===s&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,v=N&&"nodejs"===window.name||typeof navigator!==i&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function A(e,n){return typeof n===e}var T=A.bind(null,t),h=A.bind(null,o),D=A.bind(null,i),j=A.bind(null,r);function S(e){return null===e}function L(e){return e&&(typeof e===s||null!==e)}function P(e,n){var t=e instanceof Element||e instanceof HTMLDocument;return t&&n?w(e,n):t}function w(e,n){return void 0===n&&(n=""),e&&e.nodeName===n.toUpperCase()}function C(e){return function(){return e.apply(void 0,[].slice.call(arguments).concat([].slice.call(arguments,1)))}}var I=C(P),B=C(P),F=C(P),R=C(P);e.ALL="*",e.ANY="any",e.ARRAY="array",e.BOOLEAN=r,e.BUTTON="button",e.CHANGE="change",e.ENV=d,e.FORM="form",e.FUNCTION=t,e.HIDDEN=a,e.INPUT="input",e.NONE=l,e.NUMBER=u,e.OBJECT=s,e.PREFIX="__",e.SELECT="select",e.STRING=o,e.SUBMIT="submit",e.UNDEFINED=i,e.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)},e.isBoolean=j,e.isBrowser=N,e.isButton=B,e.isClass=function(e){return!!T(e)&&/^class /.test(Function.prototype.toString.call(e))},e.isDeno=O,e.isDev=m,e.isElement=P,e.isEmail=function(e){return!(e.length>320)&&/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)},e.isErrorLike=function(e){return L(e)&&h(e.message)&&h(e.name)},e.isForm=I,e.isFunction=T,e.isHidden=function(e,n){if(!e||getComputedStyle(e).visibility===a)return!0;for(;e;){if(null!=n&&e===n)return!1;if(getComputedStyle(e).display===l)return!0;e=e.parentElement}return!1},e.isInput=F,e.isIsoDate=function(e){return/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/.test(e)},e.isJsDom=v,e.isLocalHost=g,e.isNoOp=function(e){if(!T(e))return!1;var n=/{(\r|\n|\s)*}/gm,t=c+"";return t===(e.toString().match(n)||[""])[0].replace(n,t)},e.isNode=b,e.isNodeList=function(e){return NodeList.prototype.isPrototypeOf(e)},e.isNodeType=w,e.isNull=S,e.isNumber=function(e){return!isNaN(parseFloat(e))},e.isObject=function(e){if(!L(e))return!1;for(var n=e;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(e)===n},e.isObjectLike=L,e.isPrimitive=function(e){if(S(e))return!0;switch(typeof e){case o:case u:case"symbol":case i:case r:return!0;default:return!1}},e.isProd=p,e.isPromise=function(e){return!!e&&!!(!D(Promise)&&e instanceof Promise||e.then&&T(e.then))},e.isRegex=function(e){return e instanceof RegExp},e.isSelect=R,e.isStaging=y,e.isString=h,e.isTruthy=function(e){return!(h(e)&&"false"===e.toLowerCase()||!e)},e.isUndefined=D,e.isWebWorker=E,e.noOp=c,e.typeOf=A});
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((n||self).utilTypes={})}(this,function(n){var t="function",e="string",r="undefined",o="boolean",i="object",u="array",s="number",c="symbol",a="null",f="asyncFunction",l="generatorFunction",d=function(){},p="none",y="hidden",N="form",E="input",m="button",g="select",O=/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/,b=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,T=/^\{[\s\S]*\}$|^\[[\s\S]*\]$/,S=typeof process!==r?process:{},A=S.env&&S.env.NODE_ENV||"",v="production"===A,R="staging"===A,h="development"===A,D=typeof window!==r,F=D&&"localhost"===window.location.hostname,L=null!=S.versions&&null!=S.versions.node,C=typeof Deno!==r&&typeof Deno.core!==r,j=typeof self===i&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,I=D&&"nodejs"===window.name||typeof navigator!==r&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function P(n,t){return t.charAt(0)[n]()+t.slice(1)}var U=P.bind(null,"toUpperCase"),_=P.bind(null,"toLowerCase");function w(n){return Y(n)?U(a):typeof n===i?W(n):Object.prototype.toString.call(n).slice(8,-1)}function B(n,t){void 0===t&&(t=!0);var e=w(n);return t?_(e):e}function G(n,t){return typeof t===n}var x=G.bind(null,t),M=G.bind(null,e),z=G.bind(null,r),Z=G.bind(null,o),k=G.bind(null,c);function Y(n){return null===n}function H(n){return B(n)===s&&!isNaN(n)}function J(n){return B(n)===u}function X(n){if(!$(n))return!1;for(var t=n;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(n)===t}function $(n){return n&&(typeof n===i||null!==n)}function W(n){return x(n.constructor)?n.constructor.name:null}function V(n){return n instanceof Set}function q(n){return n instanceof Map}function K(n){return n instanceof Error||M(n.message)&&n.constructor&&H(n.constructor.stackTraceLimit)}function Q(n,t){if("object"!=typeof t||Y(t))return!1;if(t instanceof n)return!0;var e=B(new n(""));if(K(t))for(;t;){if(B(t)===e)return!0;t=Object.getPrototypeOf(t)}return!1}var nn=Q.bind(null,TypeError),tn=Q.bind(null,SyntaxError);function en(n,t){var e=n instanceof Element||n instanceof HTMLDocument;return e&&t?rn(n,t):e}function rn(n,t){return void 0===t&&(t=""),n&&n.nodeName===t.toUpperCase()}function on(n){var t=[].slice.call(arguments,1);return function(){return n.apply(void 0,[].slice.call(arguments).concat(t))}}var un=on(en,N),sn=on(en,m),cn=on(en,E),an=on(en,g);n.ALL="*",n.ANY="any",n.ARRAY=u,n.ASYNC_FUNCTION=f,n.ASYNC_GENERATOR_FUNCTION="asyncGeneratorFunction",n.BOOLEAN=o,n.BUTTON=m,n.CHANGE="change",n.ENV=A,n.ERROR="error",n.FORM=N,n.FUNCTION=t,n.GENERATOR_FUNCTION=l,n.HIDDEN=y,n.INPUT=E,n.NONE=p,n.NULL=a,n.NUMBER=s,n.OBJECT=i,n.PREFIX="__",n.REGEX_EMAIL=b,n.REGEX_ISO=O,n.REGEX_JSON=T,n.SELECT=g,n.STRING=e,n.SUBMIT="submit",n.SYMBOL=c,n.SYNTAX_ERROR="syntaxError",n.TYPE_ERROR="typeError",n.UNDEFINED=r,n.ctorName=W,n.ensureArray=function(n){return n?J(n)?n:[n]:[]},n.getType=B,n.getTypeName=w,n.isArguments=function(n){try{if(H(n.length)&&x(n.callee))return!0}catch(n){if(-1!==n.message.indexOf("callee"))return!0}return!1},n.isArray=J,n.isAsyncFunction=function(n){return B(n)===f},n.isBoolean=Z,n.isBrowser=D,n.isBuffer=function(n){return!(!n.constructor||!x(n.constructor.isBuffer))&&n.constructor.isBuffer(n)},n.isButton=sn,n.isClass=function(n){return!!x(n)&&/^class /.test(Function.prototype.toString.call(n))},n.isDate=function(n){return n instanceof Date||x(n.toDateString)&&x(n.getDate)&&x(n.setDate)},n.isDefined=function(n){return!z(n)},n.isDeno=C,n.isDev=h,n.isElement=en,n.isEmail=function(n){return!(n.length>320)&&b.test(n)},n.isEmpty=function(n){return!(!Y(n)&&(J(n)?n.length:V(n)||q(n)?n.size:X(n)&&Object.keys(n).length))},n.isError=K,n.isErrorLike=function(n){return $(n)&&M(n.message)&&M(n.name)},n.isFalse=function(n){return!1===n},n.isFalsy=function(n){return!n},n.isForm=un,n.isFunction=x,n.isGenerator=function(n){return $(n)&&x(n.throw)&&x(n.return)&&x(n.next)},n.isGeneratorFunction=function(n){return B(n)===l},n.isHidden=function(n,t){if(!n||getComputedStyle(n).visibility===y)return!0;for(;n;){if(null!=t&&n===t)return!1;if(getComputedStyle(n).display===p)return!0;n=n.parentElement}return!1},n.isInput=cn,n.isIsoDate=function(n){return O.test(n)},n.isJsDom=I,n.isJson=function(n){if(!M(n)||!T.test(n))return!1;try{JSON.parse(n)}catch(n){return!1}return!0},n.isLocalHost=F,n.isMap=q,n.isMethod=function(n,t){return X(n)&&x(n[t])},n.isNoOp=function(n){if(!x(n))return!1;var t=/{(\r|\n|\s)*}/gm,e=d+"";return e===(n.toString().match(t)||[""])[0].replace(t,e)},n.isNode=L,n.isNodeList=function(n){return NodeList.prototype.isPrototypeOf(n)},n.isNodeType=rn,n.isNull=Y,n.isNumber=H,n.isNumberLike=function(n){return!isNaN(parseFloat(n))},n.isObject=X,n.isObjectLike=$,n.isPrimitive=function(n){if(Y(n))return!0;switch(typeof n){case e:case s:case c:case r:case o:return!0;default:return!1}},n.isProd=v,n.isPromise=function(n){return!!n&&!!(!z(Promise)&&n instanceof Promise||n.then&&x(n.then))},n.isRegex=function(n){return n instanceof RegExp},n.isSelect=an,n.isSet=V,n.isStaging=R,n.isString=M,n.isSymbol=k,n.isSyntaxError=tn,n.isTrue=function(n){return!0===n},n.isTruthy=function(n){return!(M(n)&&"false"===n.toLowerCase()||!n)},n.isTypeError=nn,n.isUndefined=z,n.isWebWorker=j,n.noOp=d});
//# sourceMappingURL=analytics-util-types.umd.js.map

@@ -1,2 +0,2 @@

var utilTypes=function(e){var n,t="function",o="string",i="undefined",r="boolean",s="object",u="number",c=function(){},a="none",l="hidden",f=typeof process!==i?process:{},d=(null==(n=f.env)?void 0:n.NODE_ENV)||"",p="production"===d,y="staging"===d,m="development"===d,N=typeof window!==i,g=N&&"localhost"===window.location.hostname,b=null!=f.versions&&null!=f.versions.node,O=typeof Deno!==i&&typeof Deno.core!==i,v=typeof self===s&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,E=N&&"nodejs"===window.name||typeof navigator!==i&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function A(e,n){return typeof n===e}var D=A.bind(null,t),T=A.bind(null,o),S=A.bind(null,i),j=A.bind(null,r);function L(e){return null===e}function P(e){return e&&(typeof e===s||null!==e)}function h(e,n){var t=e instanceof Element||e instanceof HTMLDocument;return t&&n?w(e,n):t}function w(e,n){return void 0===n&&(n=""),e&&e.nodeName===n.toUpperCase()}function C(e){return function(){return e.apply(void 0,[].slice.call(arguments).concat([].slice.call(arguments,1)))}}var I=C(h),B=C(h),F=C(h),R=C(h);return e.ALL="*",e.ANY="any",e.ARRAY="array",e.BOOLEAN=r,e.BUTTON="button",e.CHANGE="change",e.ENV=d,e.FORM="form",e.FUNCTION=t,e.HIDDEN=l,e.INPUT="input",e.NONE=a,e.NUMBER=u,e.OBJECT=s,e.PREFIX="__",e.SELECT="select",e.STRING=o,e.SUBMIT="submit",e.UNDEFINED=i,e.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)},e.isBoolean=j,e.isBrowser=N,e.isButton=B,e.isClass=function(e){return!!D(e)&&/^class /.test(Function.prototype.toString.call(e))},e.isDeno=O,e.isDev=m,e.isElement=h,e.isEmail=function(e){return!(e.length>320)&&/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)},e.isErrorLike=function(e){return P(e)&&T(e.message)&&T(e.name)},e.isForm=I,e.isFunction=D,e.isHidden=function(e,n){if(!e||getComputedStyle(e).visibility===l)return!0;for(;e;){if(null!=n&&e===n)return!1;if(getComputedStyle(e).display===a)return!0;e=e.parentElement}return!1},e.isInput=F,e.isIsoDate=function(e){return/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/.test(e)},e.isJsDom=E,e.isLocalHost=g,e.isNoOp=function(e){if(!D(e))return!1;var n=/{(\r|\n|\s)*}/gm,t=c+"";return t===(e.toString().match(n)||[""])[0].replace(n,t)},e.isNode=b,e.isNodeList=function(e){return NodeList.prototype.isPrototypeOf(e)},e.isNodeType=w,e.isNull=L,e.isNumber=function(e){return!isNaN(parseFloat(e))},e.isObject=function(e){if(!P(e))return!1;for(var n=e;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(e)===n},e.isObjectLike=P,e.isPrimitive=function(e){if(L(e))return!0;switch(typeof e){case o:case u:case"symbol":case i:case r:return!0;default:return!1}},e.isProd=p,e.isPromise=function(e){return!!e&&!!(!S(Promise)&&e instanceof Promise||e.then&&D(e.then))},e.isRegex=function(e){return e instanceof RegExp},e.isSelect=R,e.isStaging=y,e.isString=T,e.isTruthy=function(e){return!(T(e)&&"false"===e.toLowerCase()||!e)},e.isUndefined=S,e.isWebWorker=v,e.noOp=c,e.typeOf=A,e}({});
var utilTypes=function(n){var t="function",e="string",r="undefined",o="boolean",i="object",u="array",s="number",c="symbol",a="null",f="asyncFunction",l="generatorFunction",d=function(){},p="none",y="hidden",N="form",E="input",m="button",g="select",O=/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/,b=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,S=/^\{[\s\S]*\}$|^\[[\s\S]*\]$/,v=typeof process!==r?process:{},A=v.env&&v.env.NODE_ENV||"",T="production"===A,R="staging"===A,D="development"===A,h=typeof window!==r,F=h&&"localhost"===window.location.hostname,L=null!=v.versions&&null!=v.versions.node,C=typeof Deno!==r&&typeof Deno.core!==r,I=typeof self===i&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,j=h&&"nodejs"===window.name||typeof navigator!==r&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function P(n,t){return t.charAt(0)[n]()+t.slice(1)}var U=P.bind(null,"toUpperCase"),_=P.bind(null,"toLowerCase");function w(n){return Y(n)?U(a):typeof n===i?W(n):Object.prototype.toString.call(n).slice(8,-1)}function B(n,t){void 0===t&&(t=!0);var e=w(n);return t?_(e):e}function G(n,t){return typeof t===n}var M=G.bind(null,t),z=G.bind(null,e),Z=G.bind(null,r),k=G.bind(null,o),x=G.bind(null,c);function Y(n){return null===n}function H(n){return B(n)===s&&!isNaN(n)}function J(n){return B(n)===u}function X(n){if(!$(n))return!1;for(var t=n;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(n)===t}function $(n){return n&&(typeof n===i||null!==n)}function W(n){return M(n.constructor)?n.constructor.name:null}function V(n){return n instanceof Set}function q(n){return n instanceof Map}function K(n){return n instanceof Error||z(n.message)&&n.constructor&&H(n.constructor.stackTraceLimit)}function Q(n,t){if("object"!=typeof t||Y(t))return!1;if(t instanceof n)return!0;var e=B(new n(""));if(K(t))for(;t;){if(B(t)===e)return!0;t=Object.getPrototypeOf(t)}return!1}var nn=Q.bind(null,TypeError),tn=Q.bind(null,SyntaxError);function en(n,t){var e=n instanceof Element||n instanceof HTMLDocument;return e&&t?rn(n,t):e}function rn(n,t){return void 0===t&&(t=""),n&&n.nodeName===t.toUpperCase()}function on(n){var t=[].slice.call(arguments,1);return function(){return n.apply(void 0,[].slice.call(arguments).concat(t))}}var un=on(en,N),sn=on(en,m),cn=on(en,E),an=on(en,g);return n.ALL="*",n.ANY="any",n.ARRAY=u,n.ASYNC_FUNCTION=f,n.ASYNC_GENERATOR_FUNCTION="asyncGeneratorFunction",n.BOOLEAN=o,n.BUTTON=m,n.CHANGE="change",n.ENV=A,n.ERROR="error",n.FORM=N,n.FUNCTION=t,n.GENERATOR_FUNCTION=l,n.HIDDEN=y,n.INPUT=E,n.NONE=p,n.NULL=a,n.NUMBER=s,n.OBJECT=i,n.PREFIX="__",n.REGEX_EMAIL=b,n.REGEX_ISO=O,n.REGEX_JSON=S,n.SELECT=g,n.STRING=e,n.SUBMIT="submit",n.SYMBOL=c,n.SYNTAX_ERROR="syntaxError",n.TYPE_ERROR="typeError",n.UNDEFINED=r,n.ctorName=W,n.ensureArray=function(n){return n?J(n)?n:[n]:[]},n.getType=B,n.getTypeName=w,n.isArguments=function(n){try{if(H(n.length)&&M(n.callee))return!0}catch(n){if(-1!==n.message.indexOf("callee"))return!0}return!1},n.isArray=J,n.isAsyncFunction=function(n){return B(n)===f},n.isBoolean=k,n.isBrowser=h,n.isBuffer=function(n){return!(!n.constructor||!M(n.constructor.isBuffer))&&n.constructor.isBuffer(n)},n.isButton=sn,n.isClass=function(n){return!!M(n)&&/^class /.test(Function.prototype.toString.call(n))},n.isDate=function(n){return n instanceof Date||M(n.toDateString)&&M(n.getDate)&&M(n.setDate)},n.isDefined=function(n){return!Z(n)},n.isDeno=C,n.isDev=D,n.isElement=en,n.isEmail=function(n){return!(n.length>320)&&b.test(n)},n.isEmpty=function(n){return!(!Y(n)&&(J(n)?n.length:V(n)||q(n)?n.size:X(n)&&Object.keys(n).length))},n.isError=K,n.isErrorLike=function(n){return $(n)&&z(n.message)&&z(n.name)},n.isFalse=function(n){return!1===n},n.isFalsy=function(n){return!n},n.isForm=un,n.isFunction=M,n.isGenerator=function(n){return $(n)&&M(n.throw)&&M(n.return)&&M(n.next)},n.isGeneratorFunction=function(n){return B(n)===l},n.isHidden=function(n,t){if(!n||getComputedStyle(n).visibility===y)return!0;for(;n;){if(null!=t&&n===t)return!1;if(getComputedStyle(n).display===p)return!0;n=n.parentElement}return!1},n.isInput=cn,n.isIsoDate=function(n){return O.test(n)},n.isJsDom=j,n.isJson=function(n){if(!z(n)||!S.test(n))return!1;try{JSON.parse(n)}catch(n){return!1}return!0},n.isLocalHost=F,n.isMap=q,n.isMethod=function(n,t){return X(n)&&M(n[t])},n.isNoOp=function(n){if(!M(n))return!1;var t=/{(\r|\n|\s)*}/gm,e=d+"";return e===(n.toString().match(t)||[""])[0].replace(t,e)},n.isNode=L,n.isNodeList=function(n){return NodeList.prototype.isPrototypeOf(n)},n.isNodeType=rn,n.isNull=Y,n.isNumber=H,n.isNumberLike=function(n){return!isNaN(parseFloat(n))},n.isObject=X,n.isObjectLike=$,n.isPrimitive=function(n){if(Y(n))return!0;switch(typeof n){case e:case s:case c:case r:case o:return!0;default:return!1}},n.isProd=T,n.isPromise=function(n){return!!n&&!!(!Z(Promise)&&n instanceof Promise||n.then&&M(n.then))},n.isRegex=function(n){return n instanceof RegExp},n.isSelect=an,n.isSet=V,n.isStaging=R,n.isString=z,n.isSymbol=x,n.isSyntaxError=tn,n.isTrue=function(n){return!0===n},n.isTruthy=function(n){return!(z(n)&&"false"===n.toLowerCase()||!n)},n.isTypeError=nn,n.isUndefined=Z,n.isWebWorker=I,n.noOp=d,n}({});
//# sourceMappingURL=type-utils.js.map

@@ -1,2 +0,2 @@

!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e||self).utilTypes={})}(this,function(e){var n,t="function",o="string",i="undefined",r="boolean",s="object",u="number",c=function(){},l="none",a="hidden",f=typeof process!==i?process:{},d=(null==(n=f.env)?void 0:n.NODE_ENV)||"",p="production"===d,y="staging"===d,m="development"===d,N=typeof window!==i,g=N&&"localhost"===window.location.hostname,b=null!=f.versions&&null!=f.versions.node,O=typeof Deno!==i&&typeof Deno.core!==i,E=typeof self===s&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,v=N&&"nodejs"===window.name||typeof navigator!==i&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function A(e,n){return typeof n===e}var T=A.bind(null,t),h=A.bind(null,o),D=A.bind(null,i),j=A.bind(null,r);function S(e){return null===e}function L(e){return e&&(typeof e===s||null!==e)}function P(e,n){var t=e instanceof Element||e instanceof HTMLDocument;return t&&n?w(e,n):t}function w(e,n){return void 0===n&&(n=""),e&&e.nodeName===n.toUpperCase()}function C(e){return function(){return e.apply(void 0,[].slice.call(arguments).concat([].slice.call(arguments,1)))}}var I=C(P),B=C(P),F=C(P),R=C(P);e.ALL="*",e.ANY="any",e.ARRAY="array",e.BOOLEAN=r,e.BUTTON="button",e.CHANGE="change",e.ENV=d,e.FORM="form",e.FUNCTION=t,e.HIDDEN=a,e.INPUT="input",e.NONE=l,e.NUMBER=u,e.OBJECT=s,e.PREFIX="__",e.SELECT="select",e.STRING=o,e.SUBMIT="submit",e.UNDEFINED=i,e.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)},e.isBoolean=j,e.isBrowser=N,e.isButton=B,e.isClass=function(e){return!!T(e)&&/^class /.test(Function.prototype.toString.call(e))},e.isDeno=O,e.isDev=m,e.isElement=P,e.isEmail=function(e){return!(e.length>320)&&/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)},e.isErrorLike=function(e){return L(e)&&h(e.message)&&h(e.name)},e.isForm=I,e.isFunction=T,e.isHidden=function(e,n){if(!e||getComputedStyle(e).visibility===a)return!0;for(;e;){if(null!=n&&e===n)return!1;if(getComputedStyle(e).display===l)return!0;e=e.parentElement}return!1},e.isInput=F,e.isIsoDate=function(e){return/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/.test(e)},e.isJsDom=v,e.isLocalHost=g,e.isNoOp=function(e){if(!T(e))return!1;var n=/{(\r|\n|\s)*}/gm,t=c+"";return t===(e.toString().match(n)||[""])[0].replace(n,t)},e.isNode=b,e.isNodeList=function(e){return NodeList.prototype.isPrototypeOf(e)},e.isNodeType=w,e.isNull=S,e.isNumber=function(e){return!isNaN(parseFloat(e))},e.isObject=function(e){if(!L(e))return!1;for(var n=e;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(e)===n},e.isObjectLike=L,e.isPrimitive=function(e){if(S(e))return!0;switch(typeof e){case o:case u:case"symbol":case i:case r:return!0;default:return!1}},e.isProd=p,e.isPromise=function(e){return!!e&&!!(!D(Promise)&&e instanceof Promise||e.then&&T(e.then))},e.isRegex=function(e){return e instanceof RegExp},e.isSelect=R,e.isStaging=y,e.isString=h,e.isTruthy=function(e){return!(h(e)&&"false"===e.toLowerCase()||!e)},e.isUndefined=D,e.isWebWorker=E,e.noOp=c,e.typeOf=A});
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((n||self).utilTypes={})}(this,function(n){var t="function",e="string",r="undefined",o="boolean",i="object",u="array",s="number",c="symbol",a="null",f="asyncFunction",l="generatorFunction",d=function(){},p="none",y="hidden",N="form",E="input",m="button",g="select",O=/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/,b=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,T=/^\{[\s\S]*\}$|^\[[\s\S]*\]$/,S=typeof process!==r?process:{},A=S.env&&S.env.NODE_ENV||"",v="production"===A,R="staging"===A,h="development"===A,D=typeof window!==r,F=D&&"localhost"===window.location.hostname,L=null!=S.versions&&null!=S.versions.node,C=typeof Deno!==r&&typeof Deno.core!==r,j=typeof self===i&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,I=D&&"nodejs"===window.name||typeof navigator!==r&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function P(n,t){return t.charAt(0)[n]()+t.slice(1)}var U=P.bind(null,"toUpperCase"),_=P.bind(null,"toLowerCase");function w(n){return Y(n)?U(a):typeof n===i?W(n):Object.prototype.toString.call(n).slice(8,-1)}function B(n,t){void 0===t&&(t=!0);var e=w(n);return t?_(e):e}function G(n,t){return typeof t===n}var x=G.bind(null,t),M=G.bind(null,e),z=G.bind(null,r),Z=G.bind(null,o),k=G.bind(null,c);function Y(n){return null===n}function H(n){return B(n)===s&&!isNaN(n)}function J(n){return B(n)===u}function X(n){if(!$(n))return!1;for(var t=n;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(n)===t}function $(n){return n&&(typeof n===i||null!==n)}function W(n){return x(n.constructor)?n.constructor.name:null}function V(n){return n instanceof Set}function q(n){return n instanceof Map}function K(n){return n instanceof Error||M(n.message)&&n.constructor&&H(n.constructor.stackTraceLimit)}function Q(n,t){if("object"!=typeof t||Y(t))return!1;if(t instanceof n)return!0;var e=B(new n(""));if(K(t))for(;t;){if(B(t)===e)return!0;t=Object.getPrototypeOf(t)}return!1}var nn=Q.bind(null,TypeError),tn=Q.bind(null,SyntaxError);function en(n,t){var e=n instanceof Element||n instanceof HTMLDocument;return e&&t?rn(n,t):e}function rn(n,t){return void 0===t&&(t=""),n&&n.nodeName===t.toUpperCase()}function on(n){var t=[].slice.call(arguments,1);return function(){return n.apply(void 0,[].slice.call(arguments).concat(t))}}var un=on(en,N),sn=on(en,m),cn=on(en,E),an=on(en,g);n.ALL="*",n.ANY="any",n.ARRAY=u,n.ASYNC_FUNCTION=f,n.ASYNC_GENERATOR_FUNCTION="asyncGeneratorFunction",n.BOOLEAN=o,n.BUTTON=m,n.CHANGE="change",n.ENV=A,n.ERROR="error",n.FORM=N,n.FUNCTION=t,n.GENERATOR_FUNCTION=l,n.HIDDEN=y,n.INPUT=E,n.NONE=p,n.NULL=a,n.NUMBER=s,n.OBJECT=i,n.PREFIX="__",n.REGEX_EMAIL=b,n.REGEX_ISO=O,n.REGEX_JSON=T,n.SELECT=g,n.STRING=e,n.SUBMIT="submit",n.SYMBOL=c,n.SYNTAX_ERROR="syntaxError",n.TYPE_ERROR="typeError",n.UNDEFINED=r,n.ctorName=W,n.ensureArray=function(n){return n?J(n)?n:[n]:[]},n.getType=B,n.getTypeName=w,n.isArguments=function(n){try{if(H(n.length)&&x(n.callee))return!0}catch(n){if(-1!==n.message.indexOf("callee"))return!0}return!1},n.isArray=J,n.isAsyncFunction=function(n){return B(n)===f},n.isBoolean=Z,n.isBrowser=D,n.isBuffer=function(n){return!(!n.constructor||!x(n.constructor.isBuffer))&&n.constructor.isBuffer(n)},n.isButton=sn,n.isClass=function(n){return!!x(n)&&/^class /.test(Function.prototype.toString.call(n))},n.isDate=function(n){return n instanceof Date||x(n.toDateString)&&x(n.getDate)&&x(n.setDate)},n.isDefined=function(n){return!z(n)},n.isDeno=C,n.isDev=h,n.isElement=en,n.isEmail=function(n){return!(n.length>320)&&b.test(n)},n.isEmpty=function(n){return!(!Y(n)&&(J(n)?n.length:V(n)||q(n)?n.size:X(n)&&Object.keys(n).length))},n.isError=K,n.isErrorLike=function(n){return $(n)&&M(n.message)&&M(n.name)},n.isFalse=function(n){return!1===n},n.isFalsy=function(n){return!n},n.isForm=un,n.isFunction=x,n.isGenerator=function(n){return $(n)&&x(n.throw)&&x(n.return)&&x(n.next)},n.isGeneratorFunction=function(n){return B(n)===l},n.isHidden=function(n,t){if(!n||getComputedStyle(n).visibility===y)return!0;for(;n;){if(null!=t&&n===t)return!1;if(getComputedStyle(n).display===p)return!0;n=n.parentElement}return!1},n.isInput=cn,n.isIsoDate=function(n){return O.test(n)},n.isJsDom=I,n.isJson=function(n){if(!M(n)||!T.test(n))return!1;try{JSON.parse(n)}catch(n){return!1}return!0},n.isLocalHost=F,n.isMap=q,n.isMethod=function(n,t){return X(n)&&x(n[t])},n.isNoOp=function(n){if(!x(n))return!1;var t=/{(\r|\n|\s)*}/gm,e=d+"";return e===(n.toString().match(t)||[""])[0].replace(t,e)},n.isNode=L,n.isNodeList=function(n){return NodeList.prototype.isPrototypeOf(n)},n.isNodeType=rn,n.isNull=Y,n.isNumber=H,n.isNumberLike=function(n){return!isNaN(parseFloat(n))},n.isObject=X,n.isObjectLike=$,n.isPrimitive=function(n){if(Y(n))return!0;switch(typeof n){case e:case s:case c:case r:case o:return!0;default:return!1}},n.isProd=v,n.isPromise=function(n){return!!n&&!!(!z(Promise)&&n instanceof Promise||n.then&&x(n.then))},n.isRegex=function(n){return n instanceof RegExp},n.isSelect=an,n.isSet=V,n.isStaging=R,n.isString=M,n.isSymbol=k,n.isSyntaxError=tn,n.isTrue=function(n){return!0===n},n.isTruthy=function(n){return!(M(n)&&"false"===n.toLowerCase()||!n)},n.isTypeError=nn,n.isUndefined=z,n.isWebWorker=j,n.noOp=d});
//# sourceMappingURL=type-utils.umd.js.map
{
"name": "@analytics/type-utils",
"version": "0.5.4",
"version": "0.6.0",
"description": "Tiny runtime type checking utils",

@@ -16,3 +16,2 @@ "author": "David Wells",

],
"netlifySiteId": "ac2aee7b-fd8f-45da-9458-3c903c81b2da",
"amdName": "utilTypes",

@@ -25,8 +24,10 @@ "source": "src/index.js",

"scripts": {
"start": "npm run sync && concurrently 'npm:watch:dev' 'npm:copy' 'npm:serve'",
"test": "uvu tests -r esm -i setup",
"types": "tsc --noEmit false --emitDeclarationOnly true",
"start": "npm run sync && concurrently 'npm:watch:*' 'npm:copy' 'npm:serve'",
"serve": "servor dist index.html 8081 --reload --browse",
"copy": "watchlist examples -- npm run sync",
"sync": "cp examples/index.html dist",
"watch": "microbundle watch",
"watch:dev": "microbundle watch --external none -f iife,umd -o dist/browser --no-compress",
"watch:test": "watchlist src tests examples -- npm t",
"build": "microbundle && npm run build:dev",

@@ -37,3 +38,3 @@ "build:dev": "microbundle build --external none -f iife,umd -o dist/browser",

"release:major": "npm version major && npm publish",
"deploy": "npm run build:dev && npm run sync && netlify deploy --prod --dir dist --site $npm_config_netlifySiteId"
"deploy": "npm run build:dev && npm run sync && netlify deploy --prod --dir dist --site ac2aee7b-fd8f-45da-9458-3c903c81b2da"
},

@@ -49,7 +50,9 @@ "files": [

"concurrently": "^6.1.0",
"microbundle": "^0.13.0",
"esm": "^3.2.25",
"microbundle": "^0.14.2",
"servor": "^4.0.2",
"uvu": "^0.5.1",
"watchlist": "^0.2.3"
},
"gitHead": "104d15e3d891b1560459272443e11bf3b926028b"
"gitHead": "911491fffca5df822a6d8eb5b6255e47983e338c"
}

@@ -11,3 +11,3 @@ <!--

The entire package weighs in at <!-- AUTO-GENERATED-CONTENT:START (pkgSize) -->`1.5kb`<!-- AUTO-GENERATED-CONTENT:END -->.
The entire package weighs in at <!-- AUTO-GENERATED-CONTENT:START (pkgSize) -->`3.02kb`<!-- AUTO-GENERATED-CONTENT:END -->.

@@ -330,2 +330,10 @@ [See live demo](https://utils-types.netlify.app/).

// true
```
```
## Alternative libs
- [Native node types utils](https://nodejs.org/dist/latest-v17.x/docs/api/util.html#utiltypes)
- https://github.com/jonschlinkert/kind-of
- https://github.com/enricomarino/is
- https://github.com/mesqueeb/is-what
- https://github.com/stdlib-js/assert

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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