@scalecube/utils
Advanced tools
Comparing version 0.2.10-snapshot.feature-browser-transport-rewrite.1598658437 to 0.2.10-snapshot.feature-bug-fix-get-address-util.1613229626
@@ -151,2 +151,3 @@ 'use strict'; | ||
newAddress.path = address; | ||
newAddress.port = typeof newAddress.port === 'string' ? parseInt(newAddress.port, 10) : newAddress.port; | ||
return newAddress; | ||
@@ -156,3 +157,3 @@ }; | ||
let [v1, rest] = str.split(delimiter); | ||
if (!rest) { | ||
if (rest === undefined) { | ||
rest = v1; | ||
@@ -159,0 +160,0 @@ v1 = optionalValue; |
@@ -32,2 +32,3 @@ import * as check from './check'; | ||
newAddress.path = address; | ||
newAddress.port = typeof newAddress.port === 'string' ? parseInt(newAddress.port, 10) : newAddress.port; | ||
return newAddress; | ||
@@ -37,3 +38,3 @@ }; | ||
let [v1, rest] = str.split(delimiter); | ||
if (!rest) { | ||
if (rest === undefined) { | ||
rest = v1; | ||
@@ -40,0 +41,0 @@ v1 = optionalValue; |
{ | ||
"name": "@scalecube/utils", | ||
"version": "0.2.10-snapshot.feature-browser-transport-rewrite.1598658437", | ||
"version": "0.2.10-snapshot.feature-bug-fix-get-address-util.1613229626", | ||
"private": false, | ||
@@ -24,3 +24,3 @@ "main": "cjs/index.js", | ||
"dependencies": { | ||
"@scalecube/api": "^0.2.10-snapshot.feature-browser-transport-rewrite.1598658437" | ||
"@scalecube/api": "^0.2.10-snapshot.feature-bug-fix-get-address-util.1613229626" | ||
}, | ||
@@ -38,3 +38,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "e8bf809c4b15bc330e7fd0d43775413a51bd4b48" | ||
"gitHead": "0849f1ce97d01d0ea2769c1050d0c51b9f6b49d5" | ||
} |
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
57583
1082