@graphistry/falcor-react-schema
Advanced tools
Comparing version 2.6.22 to 2.6.23
@@ -120,6 +120,5 @@ 'use strict'; | ||
path = []; | ||
var value = context, | ||
key = void 0, | ||
type = void 0, | ||
var key = void 0, | ||
index = -1, | ||
value = context, | ||
pathId = -1, | ||
@@ -140,3 +139,3 @@ valsId = -1, | ||
do { | ||
if (index === count || !value || 'object' !== (typeof value === 'undefined' ? 'undefined' : _typeof(value))) { | ||
if (index === count) { | ||
vals[++valsId] = { value: value, path: path }; | ||
@@ -146,3 +145,3 @@ break; | ||
break; | ||
} else if (type = value.$type) { | ||
} else if (!value || 'object' !== (typeof value === 'undefined' ? 'undefined' : _typeof(value)) || value.$type) { | ||
vals[++valsId] = { value: value, path: path }; | ||
@@ -149,0 +148,0 @@ break; |
{ | ||
"name": "@graphistry/falcor-react-schema", | ||
"version": "2.6.22", | ||
"version": "2.6.23", | ||
"description": "", | ||
@@ -30,6 +30,6 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@graphistry/falcor": "^2.6.22", | ||
"@graphistry/falcor": "^2.6.23", | ||
"@graphistry/falcor-json-graph": "^2.6.16", | ||
"@graphistry/falcor-path-utils": "^2.6.16", | ||
"@graphistry/falcor-query-syntax": "^2.6.22", | ||
"@graphistry/falcor-query-syntax": "^2.6.23", | ||
"babel-plugin-transform-runtime": "~6.15.0", | ||
@@ -44,3 +44,3 @@ "babel-preset-react": "~6.16.0", | ||
"devDependencies": { | ||
"@graphistry/falcor-router": "^2.6.22", | ||
"@graphistry/falcor-router": "^2.6.23", | ||
"babel-cli": "~6.18.0", | ||
@@ -47,0 +47,0 @@ "babel-plugin-istanbul": "~3.0.0", |
@@ -65,4 +65,4 @@ import { Observable } from 'rxjs/Observable'; | ||
const vals = [], path = []; | ||
let value = context, | ||
key, type, index = -1, | ||
let key, index = -1, | ||
value = context, | ||
pathId = -1, valsId = -1, | ||
@@ -82,3 +82,3 @@ count = pathTemplate.length; | ||
do { | ||
if (index === count || !value || 'object' !== typeof value) { | ||
if (index === count) { | ||
vals[++valsId] = { value, path }; | ||
@@ -88,3 +88,3 @@ break; | ||
break; | ||
} else if (type = value.$type) { | ||
} else if (!value || 'object' !== typeof value || value.$type) { | ||
vals[++valsId] = { value, path }; | ||
@@ -91,0 +91,0 @@ break; |
Sorry, the diff of this file is not supported yet
130276
1675