fiftyone.geolocation
Advanced tools
Comparing version 4.4.45 to 4.4.46
@@ -90,3 +90,3 @@ /* ********************************************************************* | ||
var data = flowData.location; | ||
const data = flowData.location; | ||
console.log(data); | ||
@@ -93,0 +93,0 @@ // Print results of client side processing to the page. |
@@ -57,4 +57,4 @@ /* ********************************************************************* | ||
const cloudRequestEngineOptions = { | ||
resourceKey: resourceKey, | ||
cloudRequestOrigin: cloudRequestOrigin | ||
resourceKey, | ||
cloudRequestOrigin | ||
}; | ||
@@ -69,3 +69,3 @@ if (baseURL !== null) { | ||
this.flowElements.push(new GeoLocationCloud({ locationProvider: locationProvider })); | ||
this.flowElements.push(new GeoLocationCloud({ locationProvider })); | ||
} | ||
@@ -72,0 +72,0 @@ } |
{ | ||
"name": "fiftyone.geolocation", | ||
"version": "4.4.45", | ||
"version": "4.4.46", | ||
"description": "Perform reverse geocoding using longitude and latitude to populate postal addresses", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -106,3 +106,3 @@ /* ********************************************************************* | ||
}).build(); | ||
var engine = pipeline.flowElements.location; | ||
const engine = pipeline.flowElements.location; | ||
@@ -121,3 +121,3 @@ await testAvailableProperties(done, pipeline, engine); | ||
}).build(); | ||
var engine = pipeline.flowElements.location; | ||
const engine = pipeline.flowElements.location; | ||
@@ -141,3 +141,3 @@ await testValueTypes(done, pipeline, engine); | ||
try { | ||
var apv = flowData[engine.dataKey][key]; | ||
const apv = flowData[engine.dataKey][key]; | ||
if (apv === undefined) { | ||
@@ -174,5 +174,5 @@ done.fail(new Error(`Aspect property value for ${key} should not be undefined.`)); | ||
if (expectedProperties[engine.dataKey].includes(key)) { | ||
var property = engine.properties[key.toLowerCase()]; | ||
var expectedType = property.type; | ||
var apv = flowData[engine.dataKey][key]; | ||
const property = engine.properties[key.toLowerCase()]; | ||
const expectedType = property.type; | ||
const apv = flowData[engine.dataKey][key]; | ||
@@ -192,4 +192,4 @@ expect(apv).not.toBeNull(); | ||
toBe51DType (received, name, fodType) { | ||
var valueType = typeof received; | ||
var valid = false; | ||
const valueType = typeof received; | ||
let valid = false; | ||
@@ -196,0 +196,0 @@ switch (fodType) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
246364