wappsto-redux
Advanced tools
Comparing version 4.2.0 to 4.2.1
@@ -6,6 +6,4 @@ "use strict"; | ||
}); | ||
exports.UUIDRegex = void 0; | ||
exports.getServiceVersion = getServiceVersion; | ||
exports.getUrlInfo = getUrlInfo; | ||
exports.isUUID = isUUID; | ||
@@ -16,10 +14,2 @@ var _config = _interopRequireDefault(require("../config")); | ||
var UUIDRegex = '[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-b8-9][a-f0-9]{3}-[a-f0-9]{12}'; | ||
exports.UUIDRegex = UUIDRegex; | ||
var rex = new RegExp("^".concat(UUIDRegex, "$"), 'i'); | ||
function isUUID(data) { | ||
return data && data.match(rex).length > 0; | ||
} | ||
function getUrlInfo(url) { | ||
@@ -59,3 +49,3 @@ var skip = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; | ||
if (service && _config["default"].serviceVersion) { | ||
if (_config["default"].serviceVersion.service) { | ||
if (_config["default"].serviceVersion[service]) { | ||
return _config["default"].serviceVersion[service]; | ||
@@ -62,0 +52,0 @@ } |
{ | ||
"name": "wappsto-redux", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "files": [ |
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
114966
2180