@koopjs/geoservice-utils
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -27,4 +27,7 @@ "use strict"; | ||
function normalizeObjectIds(objectIds) { | ||
return Array.isArray(objectIds) ? objectIds : objectIds.split(','); | ||
if (Array.isArray(objectIds)) { | ||
return objectIds; | ||
} | ||
return (typeof objectIds === 'string') ? objectIds.split(',') : [objectIds]; | ||
} | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@koopjs/geoservice-utils", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "A set of utilities for working with Geoservice requests and parameters.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
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
29600
408