b2m-utils 0.0.140 → 0.0.142
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/functions/index.d.ts +1 -0
- package/build/functions/normalizeString/index.d.ts +1 -0
- package/build/index.esm.js +5 -1
- package/build/index.esm.js.gz +0 -0
- package/build/index.esm.js.map +1 -1
- package/build/index.js +5 -0
- package/build/index.js.gz +0 -0
- package/build/index.js.map +1 -1
- package/build/types/RatecardLane/index.d.ts +3 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -6179,6 +6179,10 @@ var getRouteOnTimeFromFreight = function (freight, contracts, routeToVerify) {
|
|
|
6179
6179
|
return false;
|
|
6180
6180
|
};
|
|
6181
6181
|
|
|
6182
|
+
var normalizeString = function (str) {
|
|
6183
|
+
return String(str).normalize("NFD").replace(/[\u0300-\u036f]/g, "");
|
|
6184
|
+
};
|
|
6185
|
+
|
|
6182
6186
|
function getConfigurationFromDomain(domainConfigurations, configurationName) {
|
|
6183
6187
|
return domainConfigurations.find(function (i) { return i.name === configurationName; });
|
|
6184
6188
|
}
|
|
@@ -6527,5 +6531,6 @@ exports.getFormattedFreightPlaceName = getFormattedFreightPlaceName;
|
|
|
6527
6531
|
exports.getNormalizedCityName = getNormalizedCityName;
|
|
6528
6532
|
exports.getRouteDeliveryTimeFromFreight = getRouteDeliveryTimeFromFreight;
|
|
6529
6533
|
exports.getRouteOnTimeFromFreight = getRouteOnTimeFromFreight;
|
|
6534
|
+
exports.normalizeString = normalizeString;
|
|
6530
6535
|
exports.setFormattedDatesInObjects = setFormattedDatesInObjects;
|
|
6531
6536
|
//# sourceMappingURL=index.js.map
|
package/build/index.js.gz
CHANGED
|
Binary file
|