Comparing version 2.7.7 to 2.7.8
@@ -95,2 +95,3 @@ 'use strict'; | ||
subject = ob.clone(subject); | ||
var flattened = ob.flatten(subject); | ||
@@ -709,2 +710,3 @@ var updatedFlattened = {}; | ||
subject = ob.clone(subject); | ||
var flattened = ob.flatten(subject); | ||
@@ -711,0 +713,0 @@ var updatedFlattened = {}; |
{ | ||
"name": "objob", | ||
"version": "2.7.7", | ||
"version": "2.7.8", | ||
"description": "A tool for controlling and manipulating javascript object fields and output.", | ||
@@ -5,0 +5,0 @@ "main": "lib/objob.js", |
@@ -80,2 +80,3 @@ 'use strict'; | ||
omit: function(subject, input = []){ | ||
subject = ob.clone(subject); | ||
let flattened = ob.flatten(subject); | ||
@@ -562,2 +563,3 @@ let updatedFlattened = {}; | ||
pick: (subject, input = []) => { | ||
subject = ob.clone(subject); | ||
let flattened = ob.flatten(subject); | ||
@@ -564,0 +566,0 @@ let updatedFlattened = {}; |
661903
3244