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

lodash-omitdeep

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash-omitdeep - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

dist/types.d.ts

2

dist/cjs/index.js

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

"use strict";var r=require("lodash.isnil"),e=require("lodash.isplainobject"),t=require("lodash.omit"),i=require("lodash.omitby");function n(t){return!r(t)&&(e(t)||Array.isArray(t))}exports={omitDeep:function r(i,...o){return function(i){if(!Array.isArray(i)&&!e(i))return i;if(Array.isArray(i))return i.map((e=>n(e)?r(e,...o):e));const s={};for(const[e,t]of Object.entries(i))s[e]=n(t)?r(t,...o):t;return t(s,...o)}(i)},omitByDeep:function r(t,n){return function(t){if(!Array.isArray(t)&&!e(t))return t;if(Array.isArray(t))return t.map((e=>r(e,n)));const o={};for(const[e,i]of Object.entries(t))o[e]=r(i,n);return i(o,n)}(t)}};
"use strict";var r=require("lodash.isnil"),e=require("lodash.isplainobject"),t=require("lodash.omit"),i=require("lodash.omitby");function n(t){return!r(t)&&(e(t)||Array.isArray(t))}var o={omitDeep:function r(i,...o){return function(i){if(!Array.isArray(i)&&!e(i))return i;if(Array.isArray(i))return i.map((e=>n(e)?r(e,...o):e));const s={};for(const[e,t]of Object.entries(i))s[e]=n(t)?r(t,...o):t;return t(s,...o)}(i)},omitByDeep:function r(t,n){return function(t){if(!Array.isArray(t)&&!e(t))return t;if(Array.isArray(t))return t.map((e=>r(e,n)));const o={};for(const[e,i]of Object.entries(t))o[e]=r(i,n);return i(o,n)}(t)}};module.exports=o;
//# sourceMappingURL=index.js.map

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

import r from"lodash.isnil";import t from"lodash.isplainobject";import o from"lodash.omit";import i from"lodash.omitby";function n(o){return!r(o)&&(t(o)||Array.isArray(o))}exports={omitDeep:function r(i,...e){return function(i){if(!Array.isArray(i)&&!t(i))return i;if(Array.isArray(i))return i.map((t=>n(t)?r(t,...e):t));const s={};for(const[t,o]of Object.entries(i))s[t]=n(o)?r(o,...e):o;return o(s,...e)}(i)},omitByDeep:function r(o,n){return function(o){if(!Array.isArray(o)&&!t(o))return o;if(Array.isArray(o))return o.map((t=>r(t,n)));const e={};for(const[t,i]of Object.entries(o))e[t]=r(i,n);return i(e,n)}(o)}};
import r from"lodash.isnil";import t from"lodash.isplainobject";import o from"lodash.omit";import i from"lodash.omitby";function n(o){return!r(o)&&(t(o)||Array.isArray(o))}var e={omitDeep:function r(i,...e){return function(i){if(!Array.isArray(i)&&!t(i))return i;if(Array.isArray(i))return i.map((t=>n(t)?r(t,...e):t));const a={};for(const[t,o]of Object.entries(i))a[t]=n(o)?r(o,...e):o;return o(a,...e)}(i)},omitByDeep:function r(o,n){return function(o){if(!Array.isArray(o)&&!t(o))return o;if(Array.isArray(o))return o.map((t=>r(t,n)));const e={};for(const[t,i]of Object.entries(o))e[t]=r(i,n);return i(e,n)}(o)}};export{e as default};
//# sourceMappingURL=index.js.map
{
"name": "lodash-omitdeep",
"version": "1.1.1",
"version": "1.1.2",
"description": "Lodash omitDeep/omitByDeep object key/value recursively",

@@ -96,2 +96,3 @@ "author": {

"rollup": "^3.24.0",
"rollup-plugin-dts": "^5.3.0",
"shx": "^0.3.4",

@@ -98,0 +99,0 @@ "ts-jest": "^29.1.0",

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