lodash-omitdeep 1.4.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
- /* @license lodash-omitdeep v1.4.0 */
1
+ /* @license lodash-omitdeep v1.4.1 */
2
2
  "use strict";function r(r,t){(null==t||t>r.length)&&(t=r.length);for(var n=0,e=Array(t);n<t;n++)e[n]=r[n];return e}exports._slicedToArray=function(t,n){return function(r){if(Array.isArray(r))return r}(t)||function(r,t){var n=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=n){var e,o,l,a,i=[],u=!0,c=!1;try{if(l=(n=n.call(r)).next,0===t);else for(;!(u=(e=l.call(n)).done)&&(i.push(e.value),i.length!==t);u=!0);}catch(r){c=!0,o=r}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return i}}(t,n)||function(t,n){if(t){if("string"==typeof t)return r(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?r(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()};
3
- //# sourceMappingURL=_rollupPluginBabelHelpers-DgCCDcvl.js.map
3
+ //# sourceMappingURL=_rollupPluginBabelHelpers-DUvUfWrK.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_rollupPluginBabelHelpers-DUvUfWrK.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/cjs/index.js CHANGED
@@ -1,3 +1,3 @@
1
- /* @license lodash-omitdeep v1.4.0 */
2
- "use strict";var e=require("./omitDeep/omitDeep.js"),i=require("./omitDeepBy/omitDeepBy.js");require("./_rollupPluginBabelHelpers-DgCCDcvl.js"),require("lodash.isnil"),require("lodash.isplainobject"),require("lodash.omit"),require("lodash.omitby"),exports.omitDeep=e.omitDeep,exports.omitDeepBy=i.omitDeepBy;
1
+ /* @license lodash-omitdeep v1.4.1 */
2
+ "use strict";var e=require("./omitDeep/omitDeep.js"),i=require("./omitDeepBy/omitDeepBy.js");require("./_rollupPluginBabelHelpers-DUvUfWrK.js"),require("lodash.isnil"),require("lodash.isplainobject"),require("lodash.omit"),require("lodash.omitby"),exports.omitDeep=e.omitDeep,exports.omitDeepBy=i.omitDeepBy;
3
3
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,3 @@
1
- /* @license lodash-omitdeep v1.4.0 */
2
- "use strict";var r=require("../_rollupPluginBabelHelpers-DgCCDcvl.js"),e=require("lodash.isnil"),i=require("lodash.isplainobject"),n=require("lodash.omit"),t=function(r){return!e(r)&&(i(r)||Array.isArray(r))},a=function(e){for(var o=arguments.length,u=new Array(o>1?o-1:0),l=1;l<o;l++)u[l-1]=arguments[l];return function(e){if(!Array.isArray(e)&&!i(e))return e;if(Array.isArray(e))return e.map((function(r){return t(r)?a.apply(void 0,[r].concat(u)):r}));for(var o={},l=0,s=Object.entries(e);l<s.length;l++){var c=r._slicedToArray(s[l],2),p=c[0],y=c[1];o[p]=t(y)?a.apply(void 0,[y].concat(u)):y}return n.apply(void 0,[o].concat(u))}(e)};exports.needOmit=t,exports.omitDeep=a;
1
+ /* @license lodash-omitdeep v1.4.1 */
2
+ "use strict";var r=require("../_rollupPluginBabelHelpers-DUvUfWrK.js"),e=require("lodash.isnil"),i=require("lodash.isplainobject"),n=require("lodash.omit"),t=function(r){return!e(r)&&(i(r)||Array.isArray(r))},a=function(e){for(var o=arguments.length,u=new Array(o>1?o-1:0),l=1;l<o;l++)u[l-1]=arguments[l];return function(e){if(!Array.isArray(e)&&!i(e))return e;if(Array.isArray(e))return e.map((function(r){return t(r)?a.apply(void 0,[r].concat(u)):r}));for(var o={},l=0,s=Object.entries(e);l<s.length;l++){var c=r._slicedToArray(s[l],2),p=c[0],y=c[1];o[p]=t(y)?a.apply(void 0,[y].concat(u)):y}return n.apply(void 0,[o].concat(u))}(e)};exports.needOmit=t,exports.omitDeep=a;
3
3
  //# sourceMappingURL=omitDeep.js.map
@@ -1,3 +1,3 @@
1
- /* @license lodash-omitdeep v1.4.0 */
2
- "use strict";var r=require("../_rollupPluginBabelHelpers-DgCCDcvl.js"),e=require("lodash.isplainobject"),i=require("lodash.omitby"),t=function(n,u){return function(n){if(!Array.isArray(n)&&!e(n))return n;if(Array.isArray(n))return n.map((function(r){return t(r,u)}));for(var a={},o=0,s=Object.entries(n);o<s.length;o++){var l=r._slicedToArray(s[o],2),c=l[0],y=l[1];a[c]=t(y,u)}return i(a,u)}(n)};exports.omitDeepBy=t;
1
+ /* @license lodash-omitdeep v1.4.1 */
2
+ "use strict";var r=require("../_rollupPluginBabelHelpers-DUvUfWrK.js"),e=require("lodash.isplainobject"),i=require("lodash.omitby"),t=function(n,u){return function(n){if(!Array.isArray(n)&&!e(n))return n;if(Array.isArray(n))return n.map((function(r){return t(r,u)}));for(var a={},o=0,s=Object.entries(n);o<s.length;o++){var l=r._slicedToArray(s[o],2),c=l[0],y=l[1];a[c]=t(y,u)}return i(a,u)}(n)};exports.omitDeepBy=t;
3
3
  //# sourceMappingURL=omitDeepBy.js.map
@@ -1,3 +1,3 @@
1
- /* @license lodash-omitdeep v1.4.0 */
1
+ /* @license lodash-omitdeep v1.4.1 */
2
2
  function r(r,t){(null==t||t>r.length)&&(t=r.length);for(var n=0,e=Array(t);n<t;n++)e[n]=r[n];return e}function t(t,n){return function(r){if(Array.isArray(r))return r}(t)||function(r,t){var n=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=n){var e,o,l,a,i=[],u=!0,c=!1;try{if(l=(n=n.call(r)).next,0===t);else for(;!(u=(e=l.call(n)).done)&&(i.push(e.value),i.length!==t);u=!0);}catch(r){c=!0,o=r}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return i}}(t,n)||function(t,n){if(t){if("string"==typeof t)return r(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?r(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}export{t as _};
3
- //# sourceMappingURL=_rollupPluginBabelHelpers-D_85f5Fd.js.map
3
+ //# sourceMappingURL=_rollupPluginBabelHelpers-CrGLvWoI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_rollupPluginBabelHelpers-CrGLvWoI.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/esm/index.js CHANGED
@@ -1,3 +1,3 @@
1
- /* @license lodash-omitdeep v1.4.0 */
2
- export{omitDeep}from"./omitDeep/omitDeep.js";export{omitDeepBy}from"./omitDeepBy/omitDeepBy.js";import"./_rollupPluginBabelHelpers-D_85f5Fd.js";import"lodash.isnil";import"lodash.isplainobject";import"lodash.omit";import"lodash.omitby";
1
+ /* @license lodash-omitdeep v1.4.1 */
2
+ export{omitDeep}from"./omitDeep/omitDeep.js";export{omitDeepBy}from"./omitDeepBy/omitDeepBy.js";import"./_rollupPluginBabelHelpers-CrGLvWoI.js";import"lodash.isnil";import"lodash.isplainobject";import"lodash.omit";import"lodash.omitby";
3
3
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,3 @@
1
- /* @license lodash-omitdeep v1.4.0 */
2
- import{_ as r}from"../_rollupPluginBabelHelpers-D_85f5Fd.js";import o from"lodash.isnil";import a from"lodash.isplainobject";import t from"lodash.omit";var i=function(r){return!o(r)&&(a(r)||Array.isArray(r))},n=function(o){for(var e=arguments.length,p=new Array(e>1?e-1:0),l=1;l<e;l++)p[l-1]=arguments[l];return function(o){if(!Array.isArray(o)&&!a(o))return o;if(Array.isArray(o))return o.map((function(r){return i(r)?n.apply(void 0,[r].concat(p)):r}));for(var e={},l=0,s=Object.entries(o);l<s.length;l++){var c=r(s[l],2),f=c[0],u=c[1];e[f]=i(u)?n.apply(void 0,[u].concat(p)):u}return t.apply(void 0,[e].concat(p))}(o)};export{i as needOmit,n as omitDeep};
1
+ /* @license lodash-omitdeep v1.4.1 */
2
+ import{_ as r}from"../_rollupPluginBabelHelpers-CrGLvWoI.js";import o from"lodash.isnil";import a from"lodash.isplainobject";import t from"lodash.omit";var i=function(r){return!o(r)&&(a(r)||Array.isArray(r))},n=function(o){for(var e=arguments.length,p=new Array(e>1?e-1:0),l=1;l<e;l++)p[l-1]=arguments[l];return function(o){if(!Array.isArray(o)&&!a(o))return o;if(Array.isArray(o))return o.map((function(r){return i(r)?n.apply(void 0,[r].concat(p)):r}));for(var e={},l=0,s=Object.entries(o);l<s.length;l++){var c=r(s[l],2),f=c[0],u=c[1];e[f]=i(u)?n.apply(void 0,[u].concat(p)):u}return t.apply(void 0,[e].concat(p))}(o)};export{i as needOmit,n as omitDeep};
3
3
  //# sourceMappingURL=omitDeep.js.map
@@ -1,3 +1,3 @@
1
- /* @license lodash-omitdeep v1.4.0 */
2
- import{_ as r}from"../_rollupPluginBabelHelpers-D_85f5Fd.js";import t from"lodash.isplainobject";import o from"lodash.omitby";var e=function(i,n){return function(i){if(!Array.isArray(i)&&!t(i))return i;if(Array.isArray(i))return i.map((function(r){return e(r,n)}));for(var a={},s=0,u=Object.entries(i);s<u.length;s++){var f=r(u[s],2),l=f[0],m=f[1];a[l]=e(m,n)}return o(a,n)}(i)};export{e as omitDeepBy};
1
+ /* @license lodash-omitdeep v1.4.1 */
2
+ import{_ as r}from"../_rollupPluginBabelHelpers-CrGLvWoI.js";import t from"lodash.isplainobject";import o from"lodash.omitby";var e=function(i,n){return function(i){if(!Array.isArray(i)&&!t(i))return i;if(Array.isArray(i))return i.map((function(r){return e(r,n)}));for(var a={},s=0,u=Object.entries(i);s<u.length;s++){var f=r(u[s],2),l=f[0],m=f[1];a[l]=e(m,n)}return o(a,n)}(i)};export{e as omitDeepBy};
3
3
  //# sourceMappingURL=omitDeepBy.js.map
package/package.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "name": "lodash-omitdeep",
3
- "type": "module",
4
- "version": "1.4.0",
3
+ "version": "1.4.1",
5
4
  "description": "lodash omitDeep/omitByDeep object key/value recursively",
6
5
  "author": {
7
6
  "name": "SIBERIA CAN CODE 🧊",
@@ -36,6 +35,11 @@
36
35
  "deep"
37
36
  ],
38
37
  "sideEffects": false,
38
+ "exports": {
39
+ "types": "./dist/index.d.ts",
40
+ "import": "./dist/esm/index.js",
41
+ "require": "./dist/cjs/index.js"
42
+ },
39
43
  "main": "dist/cjs/index.js",
40
44
  "module": "dist/esm/index.js",
41
45
  "types": "dist/index.d.ts",
@@ -65,17 +69,17 @@
65
69
  },
66
70
  "devDependencies": {
67
71
  "@siberiacancode/builder": "^1.3.17",
68
- "@siberiacancode/eslint": "^2.6.0",
69
- "@siberiacancode/prettier": "^1.1.1",
72
+ "@siberiacancode/eslint": "^2.8.0",
73
+ "@siberiacancode/prettier": "^1.2.0",
70
74
  "@siberiacancode/vitest": "^1.2.4",
71
75
  "@types/lodash.isnil": "^4.0.9",
72
76
  "@types/lodash.isplainobject": "^4.0.9",
73
77
  "@types/lodash.omit": "^4.5.9",
74
78
  "@types/lodash.omitby": "^4.6.9",
75
79
  "husky": "^9.1.7",
76
- "lint-staged": "^15.3.0",
80
+ "lint-staged": "^15.4.3",
77
81
  "shx": "^0.3.4",
78
- "typescript": "^5.7.2"
82
+ "typescript": "^5.7.3"
79
83
  },
80
84
  "lint-staged": {
81
85
  "*.js": [
@@ -1 +0,0 @@
1
- {"version":3,"file":"_rollupPluginBabelHelpers-DgCCDcvl.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"_rollupPluginBabelHelpers-D_85f5Fd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}