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

essy-util-misc

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

essy-util-misc - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

index.js

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

module.exports=function(n){var t={};function r(e){if(t[e])return t[e].exports;var u=t[e]={i:e,l:!1,exports:{}};return n[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var u in n)r.d(e,u,function(t){return n[t]}.bind(null,u));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="",r(r.s=0)}([function(n,t,r){"use strict";function e(n){let t=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY;for(let e=0;e<n.length;e++)n[e]>t&&(t=n[e]),n[e]<r&&(r=n[e]);return[r,t]}function u(...n){return n.every(n=>!n)}function o(n){return n[0].toUpperCase()+n.substring(1).toLowerCase()}function f(n,t,r){for(let e=0;e<n.length;e++)if(n[e][r]===t)return n[e];return!1}function i(n){return n}function c(){return!0}function l(n){const t=[];let r="";for(let e=0;e<n.length;e++)n[e]<"a"&&(t.push(r),r=""),r+=n[e];return t.push(r),t.map(n=>o(n)).join(" ")}function a(n,t=0,r=!1){const e=[];if(r)for(let r=0;r<n;r++)e.push(r+t);else for(let r=0;r<n;r++)e.push(t);return e}function p(n,t){return Object.keys(n).map((r,e)=>t(r,n[r],e))}function d(n,t=!1){return t?function(t,r){return t[n]>r[n]?-1:t[n]<r[n]?1:0}:function(t,r){return t[n]<r[n]?-1:t[n]>r[n]?1:0}}function s(n,t,r){return n.filter(n=>n[t]!==r)}r.r(t),r.d(t,"arrExtent",(function(){return e})),r.d(t,"allFalse",(function(){return u})),r.d(t,"capitalize",(function(){return o})),r.d(t,"findByProp",(function(){return f})),r.d(t,"fnIdentity",(function(){return i})),r.d(t,"fnNoOp",(function(){return c})),r.d(t,"fromCamelCase",(function(){return l})),r.d(t,"getArray",(function(){return a})),r.d(t,"mapObj",(function(){return p})),r.d(t,"sortByProp",(function(){return d})),r.d(t,"withoutByProp",(function(){return s}))}]);
module.exports=function(n){var t={};function r(e){if(t[e])return t[e].exports;var u=t[e]={i:e,l:!1,exports:{}};return n[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var u in n)r.d(e,u,function(t){return n[t]}.bind(null,u));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="",r(r.s=0)}([function(n,t,r){"use strict";function e(...n){return n.every(n=>!n)}function u(n){"object"==typeof window&&window.dataLayer.push(n)}function o(n){let t=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY;for(let e=0;e<n.length;e++)n[e]>t&&(t=n[e]),n[e]<r&&(r=n[e]);return[r,t]}function i(n){return n[0].toUpperCase()+n.substring(1).toLowerCase()}function f(n,t,r){for(let e=0;e<n.length;e++)if(n[e][r]===t)return n[e];return!1}function c(n){return n}function l(){return!0}function a(n){const t=[];let r="";for(let e=0;e<n.length;e++)n[e]<"a"&&(t.push(r),r=""),r+=n[e];return t.push(r),t.map(n=>i(n)).join(" ")}function d(n,t=0,r=!1){const e=[];if(r)for(let r=0;r<n;r++)e.push(r+t);else for(let r=0;r<n;r++)e.push(t);return e}function p(n,t){return Object.keys(n).map((r,e)=>t(r,n[r],e))}function s(n,t=!1){return t?function(t,r){return t[n]>r[n]?-1:t[n]<r[n]?1:0}:function(t,r){return t[n]<r[n]?-1:t[n]>r[n]?1:0}}function y(n,t,r){return n.filter(n=>n[t]!==r)}r.r(t),r.d(t,"allFalse",(function(){return e})),r.d(t,"analyticsEvent",(function(){return u})),r.d(t,"arrExtent",(function(){return o})),r.d(t,"capitalize",(function(){return i})),r.d(t,"findByProp",(function(){return f})),r.d(t,"fnIdentity",(function(){return c})),r.d(t,"fnNoOp",(function(){return l})),r.d(t,"fromCamelCase",(function(){return a})),r.d(t,"getArray",(function(){return d})),r.d(t,"mapObj",(function(){return p})),r.d(t,"sortByProp",(function(){return s})),r.d(t,"withoutByProp",(function(){return y}))}]);
{
"name": "essy-util-misc",
"version": "1.0.1",
"version": "1.0.2",
"description": "Miscellaneous Javascript utility functions.",

@@ -5,0 +5,0 @@ "main": "index.js",

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