Comparing version 2.7.3 to 2.7.4
@@ -24,3 +24,3 @@ 'use strict'; | ||
var remainder = keyChain2.replace(keyChain); | ||
if (remainder.includes('.') && remainder.split('.').length === 1) { | ||
if (remainder.includes('.') && remainder.split('.').length === 2) { | ||
shallow = true; | ||
@@ -27,0 +27,0 @@ } |
{ | ||
"name": "objob", | ||
"version": "2.7.3", | ||
"version": "2.7.4", | ||
"description": "A tool for controlling and manipulating javascript object fields and output.", | ||
@@ -5,0 +5,0 @@ "main": "lib/objob.js", |
@@ -19,3 +19,3 @@ /* | ||
let remainder = keyChain2.replace(keyChain); | ||
if(remainder.includes('.') && remainder.split('.').length === 1) { | ||
if(remainder.includes('.') && remainder.split('.').length === 2) { | ||
shallow = true; | ||
@@ -22,0 +22,0 @@ } |
@@ -6,3 +6,3 @@ /* eslint max-nested-callbacks: 0*/ | ||
describe('flatten', () => { | ||
describe('make flattened shallow', () => { | ||
let ob1; | ||
@@ -9,0 +9,0 @@ |
659859