🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@ismartify/common

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ismartify/common - npm Package Compare versions

Comparing version
1.0.15
to
1.0.16
+1
-1
dist/index.cjs

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

"use strict";var h=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var f=(i,t)=>{for(var e in t)h(i,e,{get:t[e],enumerable:!0})},d=(i,t,e,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of l(t))!m.call(i,r)&&r!==e&&h(i,r,{get:()=>t[r],enumerable:!(s=g(t,r))||s.enumerable});return i};var p=i=>d(h({},"__esModule",{value:!0}),i);var y={};f(y,{ISmartifyError:()=>c,ISmartifyStore:()=>a});module.exports=p(y);var a=class{#t=new Map;constructor(){this.set("__namespace","ismartify"),this.set("__name","ismartify.store"),this.set("__description","ismartify\u57FA\u7840\u8FD0\u884C\u65F6\u5B58\u50A8\u7C7B")}raw=()=>this.#t;get=(t,e)=>e===void 0?this.#t.get(t):this.#t.get(t)||e;set=(t,e)=>(this.#t.set(t,e),this);pick(...t){return t.map(e=>this.#t.get(e))}delete=t=>(this.#t.delete(t),this);clear=()=>(this.#t.clear(),this);has=t=>this.#t.has(t);mixin=(t,e)=>{let s=function(...r){return e(this,...r)};return this.set(`@.${t}`,s),this};call=(t,...e)=>{let s=this.get(`@.${t}`);if(!s)throw new Error(`Function ${t} not found in mixin`);return s.call(this,...e)};exec=(t,...e)=>t(this,...e);tap=t=>{let e=typeof t=="string"?new RegExp(t):t instanceof RegExp?t:null,o=Array.from(this.raw().entries()).filter(([n])=>!e||e.test(n)).map(([n,u])=>({key:n,value:u}));return console.table(o),this}};var c=class extends Error{_IsmartifyError=!0;statusCode=500;code="UNKNOWN_ERROR";module="noname";#t=/^(([0-9]*)\.)?([^$@#]+)?(?:#([^@$]+))?(?:@([^$]+))?$/gi;constructor(t="\u672A\u77E5\u9519\u8BEF"){super(t);let e=this.#t.exec(t||"");if(e){let[,,s="500",r="",o="UNKNOWN_ERROR",n]=e;s&&(this.statusCode=parseInt(s,10)||500),o&&(this.code=o),r&&(this.message=r),n&&(this.module=n)}}throw(){throw this}json(t=!1){let e={code:this.code,message:this.message,module:this.module};return t&&(e.stack=this.stack||""),{success:!1,error:e,status:this.statusCode}}};console.log("ISmartify code");0&&(module.exports={ISmartifyError,ISmartifyStore});
"use strict";var h=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var f=(i,t)=>{for(var e in t)h(i,e,{get:t[e],enumerable:!0})},d=(i,t,e,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of l(t))!m.call(i,r)&&r!==e&&h(i,r,{get:()=>t[r],enumerable:!(s=g(t,r))||s.enumerable});return i};var p=i=>d(h({},"__esModule",{value:!0}),i);var y={};f(y,{ISmartifyError:()=>c,ISmartifyStore:()=>a});module.exports=p(y);var a=class{#t=new Map;constructor(){this.set("__namespace","ismartify"),this.set("__name","ismartify.store"),this.set("__description","ismartify\u57FA\u7840\u8FD0\u884C\u65F6\u5B58\u50A8\u7C7B")}raw=()=>this.#t;get=(t,e)=>e===void 0?this.#t.get(t):this.#t.get(t)||e;set=(t,e)=>(this.#t.set(t,e),this);pick(...t){return t.map(e=>this.#t.get(e))}delete=t=>(this.#t.delete(t),this);clear=()=>(this.#t.clear(),this);has=t=>this.#t.has(t);mixin=(t,e)=>{let s=function(...r){return e(this,...r)};return this.set(`@.${t}`,s),this};call=(t,...e)=>{let s=this.get(`@.${t}`);if(!s)throw new Error(`Function ${t} not found in mixin`);return s.call(this,...e)};exec=(t,...e)=>t(this,...e);tap=t=>{let e=typeof t=="string"?new RegExp(t):t instanceof RegExp?t:null,o=Array.from(this.raw().entries()).filter(([n])=>!e||e.test(n)).map(([n,u])=>({key:n,value:u}));return console.table(o),this}};var c=class extends Error{_IsmartifyError=!0;statusCode=500;code="UNKNOWN_ERROR";module="noname";#t=/^(([0-9]*)\.)?([^$@#]+)?(?:#([^@$]+))?(?:@([^$]+))?$/gi;constructor(t="\u672A\u77E5\u9519\u8BEF"){super(t);let e=this.#t.exec(t||"");if(e){let[,,s="500",r="",o="UNKNOWN_ERROR",n]=e;s&&(this.statusCode=parseInt(s,10)||500),o&&(this.code=o),r&&(this.message=r),n&&(this.module=n)}}throw(){throw this}json(t=!1){let e={code:this.code,message:this.message,module:this.module};return t&&(e.stack=this.stack||""),{success:!1,error:e,status:this.statusCode}}};0&&(module.exports={ISmartifyError,ISmartifyStore});

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

"use strict";var ISmartifyCommon=(()=>{var h=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var f=(i,t)=>{for(var e in t)h(i,e,{get:t[e],enumerable:!0})},d=(i,t,e,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of l(t))!m.call(i,r)&&r!==e&&h(i,r,{get:()=>t[r],enumerable:!(s=g(t,r))||s.enumerable});return i};var p=i=>d(h({},"__esModule",{value:!0}),i);var y={};f(y,{ISmartifyError:()=>c,ISmartifyStore:()=>a});var a=class{#t=new Map;constructor(){this.set("__namespace","ismartify"),this.set("__name","ismartify.store"),this.set("__description","ismartify\u57FA\u7840\u8FD0\u884C\u65F6\u5B58\u50A8\u7C7B")}raw=()=>this.#t;get=(t,e)=>e===void 0?this.#t.get(t):this.#t.get(t)||e;set=(t,e)=>(this.#t.set(t,e),this);pick(...t){return t.map(e=>this.#t.get(e))}delete=t=>(this.#t.delete(t),this);clear=()=>(this.#t.clear(),this);has=t=>this.#t.has(t);mixin=(t,e)=>{let s=function(...r){return e(this,...r)};return this.set(`@.${t}`,s),this};call=(t,...e)=>{let s=this.get(`@.${t}`);if(!s)throw new Error(`Function ${t} not found in mixin`);return s.call(this,...e)};exec=(t,...e)=>t(this,...e);tap=t=>{let e=typeof t=="string"?new RegExp(t):t instanceof RegExp?t:null,o=Array.from(this.raw().entries()).filter(([n])=>!e||e.test(n)).map(([n,u])=>({key:n,value:u}));return console.table(o),this}};var c=class extends Error{_IsmartifyError=!0;statusCode=500;code="UNKNOWN_ERROR";module="noname";#t=/^(([0-9]*)\.)?([^$@#]+)?(?:#([^@$]+))?(?:@([^$]+))?$/gi;constructor(t="\u672A\u77E5\u9519\u8BEF"){super(t);let e=this.#t.exec(t||"");if(e){let[,,s="500",r="",o="UNKNOWN_ERROR",n]=e;s&&(this.statusCode=parseInt(s,10)||500),o&&(this.code=o),r&&(this.message=r),n&&(this.module=n)}}throw(){throw this}json(t=!1){let e={code:this.code,message:this.message,module:this.module};return t&&(e.stack=this.stack||""),{success:!1,error:e,status:this.statusCode}}};console.log("ISmartify code");return p(y);})();
"use strict";var ISmartifyCommon=(()=>{var h=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var f=(i,t)=>{for(var e in t)h(i,e,{get:t[e],enumerable:!0})},d=(i,t,e,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of l(t))!m.call(i,r)&&r!==e&&h(i,r,{get:()=>t[r],enumerable:!(s=g(t,r))||s.enumerable});return i};var p=i=>d(h({},"__esModule",{value:!0}),i);var y={};f(y,{ISmartifyError:()=>c,ISmartifyStore:()=>a});var a=class{#t=new Map;constructor(){this.set("__namespace","ismartify"),this.set("__name","ismartify.store"),this.set("__description","ismartify\u57FA\u7840\u8FD0\u884C\u65F6\u5B58\u50A8\u7C7B")}raw=()=>this.#t;get=(t,e)=>e===void 0?this.#t.get(t):this.#t.get(t)||e;set=(t,e)=>(this.#t.set(t,e),this);pick(...t){return t.map(e=>this.#t.get(e))}delete=t=>(this.#t.delete(t),this);clear=()=>(this.#t.clear(),this);has=t=>this.#t.has(t);mixin=(t,e)=>{let s=function(...r){return e(this,...r)};return this.set(`@.${t}`,s),this};call=(t,...e)=>{let s=this.get(`@.${t}`);if(!s)throw new Error(`Function ${t} not found in mixin`);return s.call(this,...e)};exec=(t,...e)=>t(this,...e);tap=t=>{let e=typeof t=="string"?new RegExp(t):t instanceof RegExp?t:null,o=Array.from(this.raw().entries()).filter(([n])=>!e||e.test(n)).map(([n,u])=>({key:n,value:u}));return console.table(o),this}};var c=class extends Error{_IsmartifyError=!0;statusCode=500;code="UNKNOWN_ERROR";module="noname";#t=/^(([0-9]*)\.)?([^$@#]+)?(?:#([^@$]+))?(?:@([^$]+))?$/gi;constructor(t="\u672A\u77E5\u9519\u8BEF"){super(t);let e=this.#t.exec(t||"");if(e){let[,,s="500",r="",o="UNKNOWN_ERROR",n]=e;s&&(this.statusCode=parseInt(s,10)||500),o&&(this.code=o),r&&(this.message=r),n&&(this.module=n)}}throw(){throw this}json(t=!1){let e={code:this.code,message:this.message,module:this.module};return t&&(e.stack=this.stack||""),{success:!1,error:e,status:this.statusCode}}};return p(y);})();

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

var o=class{#t=new Map;constructor(){this.set("__namespace","ismartify"),this.set("__name","ismartify.store"),this.set("__description","ismartify\u57FA\u7840\u8FD0\u884C\u65F6\u5B58\u50A8\u7C7B")}raw=()=>this.#t;get=(t,e)=>e===void 0?this.#t.get(t):this.#t.get(t)||e;set=(t,e)=>(this.#t.set(t,e),this);pick(...t){return t.map(e=>this.#t.get(e))}delete=t=>(this.#t.delete(t),this);clear=()=>(this.#t.clear(),this);has=t=>this.#t.has(t);mixin=(t,e)=>{let s=function(...i){return e(this,...i)};return this.set(`@.${t}`,s),this};call=(t,...e)=>{let s=this.get(`@.${t}`);if(!s)throw new Error(`Function ${t} not found in mixin`);return s.call(this,...e)};exec=(t,...e)=>t(this,...e);tap=t=>{let e=typeof t=="string"?new RegExp(t):t instanceof RegExp?t:null,n=Array.from(this.raw().entries()).filter(([r])=>!e||e.test(r)).map(([r,h])=>({key:r,value:h}));return console.table(n),this}};var a=class extends Error{_IsmartifyError=!0;statusCode=500;code="UNKNOWN_ERROR";module="noname";#t=/^(([0-9]*)\.)?([^$@#]+)?(?:#([^@$]+))?(?:@([^$]+))?$/gi;constructor(t="\u672A\u77E5\u9519\u8BEF"){super(t);let e=this.#t.exec(t||"");if(e){let[,,s="500",i="",n="UNKNOWN_ERROR",r]=e;s&&(this.statusCode=parseInt(s,10)||500),n&&(this.code=n),i&&(this.message=i),r&&(this.module=r)}}throw(){throw this}json(t=!1){let e={code:this.code,message:this.message,module:this.module};return t&&(e.stack=this.stack||""),{success:!1,error:e,status:this.statusCode}}};console.log("ISmartify code");export{a as ISmartifyError,o as ISmartifyStore};
var o=class{#t=new Map;constructor(){this.set("__namespace","ismartify"),this.set("__name","ismartify.store"),this.set("__description","ismartify\u57FA\u7840\u8FD0\u884C\u65F6\u5B58\u50A8\u7C7B")}raw=()=>this.#t;get=(t,e)=>e===void 0?this.#t.get(t):this.#t.get(t)||e;set=(t,e)=>(this.#t.set(t,e),this);pick(...t){return t.map(e=>this.#t.get(e))}delete=t=>(this.#t.delete(t),this);clear=()=>(this.#t.clear(),this);has=t=>this.#t.has(t);mixin=(t,e)=>{let s=function(...i){return e(this,...i)};return this.set(`@.${t}`,s),this};call=(t,...e)=>{let s=this.get(`@.${t}`);if(!s)throw new Error(`Function ${t} not found in mixin`);return s.call(this,...e)};exec=(t,...e)=>t(this,...e);tap=t=>{let e=typeof t=="string"?new RegExp(t):t instanceof RegExp?t:null,n=Array.from(this.raw().entries()).filter(([r])=>!e||e.test(r)).map(([r,h])=>({key:r,value:h}));return console.table(n),this}};var a=class extends Error{_IsmartifyError=!0;statusCode=500;code="UNKNOWN_ERROR";module="noname";#t=/^(([0-9]*)\.)?([^$@#]+)?(?:#([^@$]+))?(?:@([^$]+))?$/gi;constructor(t="\u672A\u77E5\u9519\u8BEF"){super(t);let e=this.#t.exec(t||"");if(e){let[,,s="500",i="",n="UNKNOWN_ERROR",r]=e;s&&(this.statusCode=parseInt(s,10)||500),n&&(this.code=n),i&&(this.message=i),r&&(this.module=r)}}throw(){throw this}json(t=!1){let e={code:this.code,message:this.message,module:this.module};return t&&(e.stack=this.stack||""),{success:!1,error:e,status:this.statusCode}}};export{a as ISmartifyError,o as ISmartifyStore};
{
"name": "@ismartify/common",
"version": "1.0.15",
"version": "1.0.16",
"description": "",

@@ -5,0 +5,0 @@ "type": "module",