New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vest-utils

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vest-utils - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1-dev-20240731-1b50

2

dist/cjs/minifyObject.production.js

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

"use strict";function n(n){return Boolean(Array.isArray(n))}function t(n){const t=String(n),e=Number(n),r=!isNaN(parseFloat(t))&&!isNaN(Number(n))&&isFinite(e);return Boolean(r)}function e(n,e){return function(n,e){return t(n)&&t(e)&&Number(n)===Number(e)}(n.length,e)}function r(n){return function(n){return null===n}(n)||function(n){return void 0===n}(n)}function o(n){return"object"==typeof n&&!r(n)}function u(n){return!n||(t=n,r="length",Object.prototype.hasOwnProperty.call(t,r)?e(n,0):!!o(n)&&e(Object.keys(n),0));var t,r}function c(n,t){t.set(n,(t.get(n)||0)+1)}function i(n,t,e){for(const r in n){const u=n[r];f({key:r,value:u},e)&&(Array.isArray(n)||c(r,t),o(u)?i(u,t,e):c(u,t))}}function f({key:n,value:t},e){return(!n||!e.has(n))&&((!o(t)||!u(t))&&(!function(n){return r(n)||function(n){return"function"==typeof n}(n)||"symbol"==typeof n}(t)&&(!o(t)||!u(t))))}function s(n,t,e){const r=y(n);for(const u in n){const c=n[u];if(!f({key:u,value:c},e))continue;let i;i=o(c)?s(c,t,e):a(c,t),p(r,i,a(u,t))}return r}function a(n,t){var e;return null!==(e=t.get(n))&&void 0!==e?e:n}function l(n,t){var e,r;return r=n,String(r)===r&&null!==(e=t[n])&&void 0!==e?e:n}function p(t,e,r){n(t)?t.push(e):t[r]=e}function y(t){return n(t)?[]:{}}exports.expandObject=function n(t,e){const r=y(t);for(const u in t){let c;const i=t[u];c=o(i)?n(i,e):l(i,e);p(r,c,l(u,e))}return r},exports.minifyObject=function(n,t=new Set){const e=new Map;i(n,e,t);const r=function(n){const t=[];for(const[e,r]of n)r>1&&t.push({value:e,count:r});const e=t.sort(((n,t)=>t.count-n.count)),r=function(){const n="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$%^&*";let t=0;return function(){let e="",r=t;do{e+=n[r%n.length],r=Math.floor(r/n.length)}while(r>0);return t++,e}}();return e.reduce(((t,{value:e})=>{if(!function(n,t){return n.toString().length>=t}(e,t.keyLength))return t;let o;do{o=r()}while(n.has(o));return t.map.set(e,o),t.reverseMap[o]=e,t.keyLength=o.length,t}),{map:new Map,reverseMap:{},keyLength:1})}(e);return[s(n,r.map,t),r.reverseMap]};
"use strict";function n(n){return Boolean(Array.isArray(n))}function t(n){const t=String(n),e=Number(n),r=!isNaN(parseFloat(t))&&!isNaN(Number(n))&&isFinite(e);return Boolean(r)}function e(n,e){return function(n,e){return t(n)&&t(e)&&Number(n)===Number(e)}(n.length,e)}function r(n){return function(n){return null===n}(n)||function(n){return void 0===n}(n)}function o(n){return"object"==typeof n&&!r(n)}function u(n){return!n||(t=n,r="length",Object.prototype.hasOwnProperty.call(t,r)?e(n,0):!!o(n)&&e(Object.keys(n),0));var t,r}function c(n,t){t.set(n,(t.get(n)||0)+1)}function i(n,t,e){for(const r in n){const u=n[r];f({key:r,value:u},e)&&(Array.isArray(n)||c(r,t),o(u)?i(u,t,e):c(u,t))}}function f({key:n,value:t},e){return(!n||!e.has(n))&&((!o(t)||!u(t))&&(!function(n){return r(n)||function(n){return"function"==typeof n}(n)||"symbol"==typeof n}(t)&&(!o(t)||!u(t))))}function s(n,t,e){const r=y(n);for(const u in n){const c=n[u];if(!f({key:u,value:c},e))continue;let i;i=o(c)?s(c,t,e):a(c,t),p(r,i,a(u,t))}return r}function a(n,t){var e;return null!==(e=t.get(n))&&void 0!==e?e:n}function l(n,t){var e,r;return r=n,String(r)===r&&null!==(e=t[n])&&void 0!==e?e:n}function p(t,e,r){n(t)?t.push(e):t[r]=e}function y(t){return n(t)?[]:{}}exports.expandObject=function n(t,e){const r=y(t);for(const u in t){let c;const i=t[u];c=o(i)?n(i,e):l(i,e);p(r,c,l(u,e))}return r},exports.minifyObject=function(n,t=new Set){const e=new Map;i(n,e,t);const r=function(n){const t=[];for(const[e,r]of n)r>1&&t.push({value:e,count:r});const e=t.sort(((n,t)=>t.count-n.count)),r=function(){const n="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$%^&*";let t=0;return function(){let e="",r=t;do{e+=n[r%70],r=Math.floor(r/70)}while(r>0);return t++,e}}();return e.reduce(((t,{value:e})=>{if(!function(n,t){return n.toString().length>=t}(e,t.keyLength))return t;let o;do{o=r()}while(n.has(o));return t.map.set(e,o),t.reverseMap[o]=e,t.keyLength=o.length,t}),{map:new Map,reverseMap:{},keyLength:1})}(e);return[s(n,r.map,t),r.reverseMap]};
//# sourceMappingURL=minifyObject.production.js.map

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

function n(n){return Boolean(Array.isArray(n))}function t(n){const t=String(n),e=Number(n),r=!isNaN(parseFloat(t))&&!isNaN(Number(n))&&isFinite(e);return Boolean(r)}function e(n,e){return function(n,e){return t(n)&&t(e)&&Number(n)===Number(e)}(n.length,e)}function r(n){return function(n){return null===n}(n)||function(n){return void 0===n}(n)}function o(n){return"object"==typeof n&&!r(n)}function u(n){return!n||(t=n,r="length",Object.prototype.hasOwnProperty.call(t,r)?e(n,0):!!o(n)&&e(Object.keys(n),0));var t,r}function c(n,t=new Set){const e=new Map;f(n,e,t);const r=function(n){const t=[];for(const[e,r]of n)r>1&&t.push({value:e,count:r});const e=t.sort(((n,t)=>t.count-n.count)),r=function(){const n="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$%^&*";let t=0;return function(){let e="",r=t;do{e+=n[r%n.length],r=Math.floor(r/n.length)}while(r>0);return t++,e}}();return e.reduce(((t,{value:e})=>{if(!function(n,t){return n.toString().length>=t}(e,t.keyLength))return t;let o;do{o=r()}while(n.has(o));return t.map.set(e,o),t.reverseMap[o]=e,t.keyLength=o.length,t}),{map:new Map,reverseMap:{},keyLength:1})}(e);return[a(n,r.map,t),r.reverseMap]}function i(n,t){t.set(n,(t.get(n)||0)+1)}function f(n,t,e){for(const r in n){const u=n[r];s({key:r,value:u},e)&&(Array.isArray(n)||i(r,t),o(u)?f(u,t,e):i(u,t))}}function s({key:n,value:t},e){return(!n||!e.has(n))&&((!o(t)||!u(t))&&(!function(n){return r(n)||function(n){return"function"==typeof n}(n)||"symbol"==typeof n}(t)&&(!o(t)||!u(t))))}function a(n,t,e){const r=g(n);for(const u in n){const c=n[u];if(!s({key:u,value:c},e))continue;let i;i=o(c)?a(c,t,e):l(c,t),y(r,i,l(u,t))}return r}function l(n,t){var e;return null!==(e=t.get(n))&&void 0!==e?e:n}function p(n,t){var e,r;return r=n,String(r)===r&&null!==(e=t[n])&&void 0!==e?e:n}function h(n,t){const e=g(n);for(const r in n){let u;const c=n[r];u=o(c)?h(c,t):p(c,t);y(e,u,p(r,t))}return e}function y(t,e,r){n(t)?t.push(e):t[r]=e}function g(t){return n(t)?[]:{}}export{h as expandObject,c as minifyObject};
function n(n){return Boolean(Array.isArray(n))}function t(n){const t=String(n),e=Number(n),r=!isNaN(parseFloat(t))&&!isNaN(Number(n))&&isFinite(e);return Boolean(r)}function e(n,e){return function(n,e){return t(n)&&t(e)&&Number(n)===Number(e)}(n.length,e)}function r(n){return function(n){return null===n}(n)||function(n){return void 0===n}(n)}function o(n){return"object"==typeof n&&!r(n)}function u(n){return!n||(t=n,r="length",Object.prototype.hasOwnProperty.call(t,r)?e(n,0):!!o(n)&&e(Object.keys(n),0));var t,r}function c(n,t=new Set){const e=new Map;f(n,e,t);const r=function(n){const t=[];for(const[e,r]of n)r>1&&t.push({value:e,count:r});const e=t.sort(((n,t)=>t.count-n.count)),r=function(){const n="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$%^&*";let t=0;return function(){let e="",r=t;do{e+=n[r%70],r=Math.floor(r/70)}while(r>0);return t++,e}}();return e.reduce(((t,{value:e})=>{if(!function(n,t){return n.toString().length>=t}(e,t.keyLength))return t;let o;do{o=r()}while(n.has(o));return t.map.set(e,o),t.reverseMap[o]=e,t.keyLength=o.length,t}),{map:new Map,reverseMap:{},keyLength:1})}(e);return[a(n,r.map,t),r.reverseMap]}function i(n,t){t.set(n,(t.get(n)||0)+1)}function f(n,t,e){for(const r in n){const u=n[r];s({key:r,value:u},e)&&(Array.isArray(n)||i(r,t),o(u)?f(u,t,e):i(u,t))}}function s({key:n,value:t},e){return(!n||!e.has(n))&&((!o(t)||!u(t))&&(!function(n){return r(n)||function(n){return"function"==typeof n}(n)||"symbol"==typeof n}(t)&&(!o(t)||!u(t))))}function a(n,t,e){const r=v(n);for(const u in n){const c=n[u];if(!s({key:u,value:c},e))continue;let i;i=o(c)?a(c,t,e):l(c,t),h(r,i,l(u,t))}return r}function l(n,t){var e;return null!==(e=t.get(n))&&void 0!==e?e:n}function p(n,t){var e,r;return r=n,String(r)===r&&null!==(e=t[n])&&void 0!==e?e:n}function y(n,t){const e=v(n);for(const r in n){let u;const c=n[r];u=o(c)?y(c,t):p(c,t);h(e,u,p(r,t))}return e}function h(t,e,r){n(t)?t.push(e):t[r]=e}function v(t){return n(t)?[]:{}}export{y as expandObject,c as minifyObject};
//# sourceMappingURL=minifyObject.production.js.map

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

!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((n="undefined"!=typeof globalThis?globalThis:n||self).minifyObject={})}(this,(function(n){"use strict";function t(n){return Boolean(Array.isArray(n))}function e(n){const t=String(n),e=Number(n),r=!isNaN(parseFloat(t))&&!isNaN(Number(n))&&isFinite(e);return Boolean(r)}function r(n,t){return function(n,t){return e(n)&&e(t)&&Number(n)===Number(t)}(n.length,t)}function o(n){return function(n){return null===n}(n)||function(n){return void 0===n}(n)}function u(n){return"object"==typeof n&&!o(n)}function i(n){return!n||(t=n,e="length",Object.prototype.hasOwnProperty.call(t,e)?r(n,0):!!u(n)&&r(Object.keys(n),0));var t,e}function c(n,t){t.set(n,(t.get(n)||0)+1)}function f(n,t,e){for(const r in n){const o=n[r];s({key:r,value:o},e)&&(Array.isArray(n)||c(r,t),u(o)?f(o,t,e):c(o,t))}}function s({key:n,value:t},e){return(!n||!e.has(n))&&((!u(t)||!i(t))&&(!function(n){return o(n)||function(n){return"function"==typeof n}(n)||"symbol"==typeof n}(t)&&(!u(t)||!i(t))))}function l(n,t,e){const r=h(n);for(const o in n){const i=n[o];if(!s({key:o,value:i},e))continue;let c;c=u(i)?l(i,t,e):a(i,t),y(r,c,a(o,t))}return r}function a(n,t){var e;return null!==(e=t.get(n))&&void 0!==e?e:n}function p(n,t){var e,r;return r=n,String(r)===r&&null!==(e=t[n])&&void 0!==e?e:n}function y(n,e,r){t(n)?n.push(e):n[r]=e}function h(n){return t(n)?[]:{}}n.expandObject=function n(t,e){const r=h(t);for(const o in t){let i;const c=t[o];i=u(c)?n(c,e):p(c,e);y(r,i,p(o,e))}return r},n.minifyObject=function(n,t=new Set){const e=new Map;f(n,e,t);const r=function(n){const t=[];for(const[e,r]of n)r>1&&t.push({value:e,count:r});const e=t.sort(((n,t)=>t.count-n.count)),r=function(){const n="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$%^&*";let t=0;return function(){let e="",r=t;do{e+=n[r%n.length],r=Math.floor(r/n.length)}while(r>0);return t++,e}}();return e.reduce(((t,{value:e})=>{if(!function(n,t){return n.toString().length>=t}(e,t.keyLength))return t;let o;do{o=r()}while(n.has(o));return t.map.set(e,o),t.reverseMap[o]=e,t.keyLength=o.length,t}),{map:new Map,reverseMap:{},keyLength:1})}(e);return[l(n,r.map,t),r.reverseMap]}}));
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((n="undefined"!=typeof globalThis?globalThis:n||self).minifyObject={})}(this,(function(n){"use strict";function t(n){return Boolean(Array.isArray(n))}function e(n){const t=String(n),e=Number(n),r=!isNaN(parseFloat(t))&&!isNaN(Number(n))&&isFinite(e);return Boolean(r)}function r(n,t){return function(n,t){return e(n)&&e(t)&&Number(n)===Number(t)}(n.length,t)}function o(n){return function(n){return null===n}(n)||function(n){return void 0===n}(n)}function u(n){return"object"==typeof n&&!o(n)}function i(n){return!n||(t=n,e="length",Object.prototype.hasOwnProperty.call(t,e)?r(n,0):!!u(n)&&r(Object.keys(n),0));var t,e}function c(n,t){t.set(n,(t.get(n)||0)+1)}function f(n,t,e){for(const r in n){const o=n[r];s({key:r,value:o},e)&&(Array.isArray(n)||c(r,t),u(o)?f(o,t,e):c(o,t))}}function s({key:n,value:t},e){return(!n||!e.has(n))&&((!u(t)||!i(t))&&(!function(n){return o(n)||function(n){return"function"==typeof n}(n)||"symbol"==typeof n}(t)&&(!u(t)||!i(t))))}function a(n,t,e){const r=h(n);for(const o in n){const i=n[o];if(!s({key:o,value:i},e))continue;let c;c=u(i)?a(i,t,e):l(i,t),y(r,c,l(o,t))}return r}function l(n,t){var e;return null!==(e=t.get(n))&&void 0!==e?e:n}function p(n,t){var e,r;return r=n,String(r)===r&&null!==(e=t[n])&&void 0!==e?e:n}function y(n,e,r){t(n)?n.push(e):n[r]=e}function h(n){return t(n)?[]:{}}n.expandObject=function n(t,e){const r=h(t);for(const o in t){let i;const c=t[o];i=u(c)?n(c,e):p(c,e);y(r,i,p(o,e))}return r},n.minifyObject=function(n,t=new Set){const e=new Map;f(n,e,t);const r=function(n){const t=[];for(const[e,r]of n)r>1&&t.push({value:e,count:r});const e=t.sort(((n,t)=>t.count-n.count)),r=function(){const n="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$%^&*";let t=0;return function(){let e="",r=t;do{e+=n[r%70],r=Math.floor(r/70)}while(r>0);return t++,e}}();return e.reduce(((t,{value:e})=>{if(!function(n,t){return n.toString().length>=t}(e,t.keyLength))return t;let o;do{o=r()}while(n.has(o));return t.map.set(e,o),t.reverseMap[o]=e,t.keyLength=o.length,t}),{map:new Map,reverseMap:{},keyLength:1})}(e);return[a(n,r.map,t),r.reverseMap]}}));
//# sourceMappingURL=minifyObject.production.js.map
{
"version": "1.3.0",
"version": "1.3.1-dev-20240731-1b50",
"name": "vest-utils",

@@ -4,0 +4,0 @@ "author": "ealush",

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