@yamato-daiwa/es-extensions 1.6.4 → 1.6.5
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/Distributable/cjs/Promises/PromisesQueue.js +6 -6
- package/Distributable/cjs/Strings/explodeCasedPhraseToWords.js +1 -1
- package/Distributable/cjs/Strings/isIPv4AddressLiesInRange.js +32 -32
- package/Distributable/cjs/index.js +56 -56
- package/Distributable/esm/Promises/PromisesQueue.d.ts +2 -2
- package/Distributable/esm/Promises/PromisesQueue.js +6 -6
- package/Distributable/esm/Sets/addMultipleElementsToSet.d.ts +1 -1
- package/Distributable/esm/Strings/explodeCasedPhraseToWords.js +1 -1
- package/Distributable/esm/Strings/isIPv4AddressLiesInRange.d.ts +1 -1
- package/Distributable/esm/Strings/isIPv4AddressLiesInRange.js +32 -32
- package/Distributable/esm/index.d.ts +27 -27
- package/Distributable/esm/index.js +26 -26
- package/package.json +1 -1
|
@@ -21,7 +21,7 @@ class PromisesQueue {
|
|
|
21
21
|
constructor(initialAsynchronousFunctions = []) {
|
|
22
22
|
this.asynchronousFunctionsQueue.push(...initialAsynchronousFunctions);
|
|
23
23
|
}
|
|
24
|
-
async startExecutionIfHasNotStartedYet(
|
|
24
|
+
async startExecutionIfHasNotStartedYet(compoundParameter) {
|
|
25
25
|
if (this.isExecutingNow) {
|
|
26
26
|
return;
|
|
27
27
|
}
|
|
@@ -31,7 +31,7 @@ class PromisesQueue {
|
|
|
31
31
|
await asynchronousFunction();
|
|
32
32
|
}
|
|
33
33
|
catch (error) {
|
|
34
|
-
switch (
|
|
34
|
+
switch (compoundParameter.behaviourOnSomePromiseFailed) {
|
|
35
35
|
case PromisesQueue.BEHAVIOUR_ON_SOME_PROMISE_FAILED.throwingTheError: {
|
|
36
36
|
throw error;
|
|
37
37
|
}
|
|
@@ -40,7 +40,7 @@ class PromisesQueue {
|
|
|
40
40
|
errorType: "AsynchronousProcessingFailedError",
|
|
41
41
|
title: "Asynchronous processing failed error",
|
|
42
42
|
description: "The error occurred during execution of one of promised.",
|
|
43
|
-
occurrenceLocation: "promisesQueue.startExecutionIfHasNotStartedYet(
|
|
43
|
+
occurrenceLocation: "promisesQueue.startExecutionIfHasNotStartedYet(compoundParameter)",
|
|
44
44
|
caughtError: error
|
|
45
45
|
});
|
|
46
46
|
}
|
|
@@ -58,10 +58,10 @@ class PromisesQueue {
|
|
|
58
58
|
addFunctionToQueue(newAsynchronousFunction) {
|
|
59
59
|
this.asynchronousFunctionsQueue.push(newAsynchronousFunction);
|
|
60
60
|
}
|
|
61
|
-
async addFunctionAndStartExecutionIfHasNotStartedYet(
|
|
62
|
-
this.addFunctionToQueue(
|
|
61
|
+
async addFunctionAndStartExecutionIfHasNotStartedYet(compoundParameter) {
|
|
62
|
+
this.addFunctionToQueue(compoundParameter.newAsynchronousFunction);
|
|
63
63
|
return this.startExecutionIfHasNotStartedYet({
|
|
64
|
-
behaviourOnSomePromiseFailed:
|
|
64
|
+
behaviourOnSomePromiseFailed: compoundParameter.behaviourOnSomePromiseFailed
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
67
|
stopExecutionOnceCurrentPromiseFinished() {
|
|
@@ -15,7 +15,7 @@ function explodeCasedPhraseToWords(targetString) {
|
|
|
15
15
|
errorInstance: new InvalidParameterValueError_1.default({
|
|
16
16
|
parameterNumber: 1,
|
|
17
17
|
parameterName: "targetString",
|
|
18
|
-
customMessage: `The first and only parameter must be a string while actually is has type
|
|
18
|
+
customMessage: `The first and only parameter must be a string while actually is has type "${typeof targetString}".`
|
|
19
19
|
}),
|
|
20
20
|
title: InvalidParameterValueError_1.default.localization.defaultTitle,
|
|
21
21
|
occurrenceLocation: "explodeToWords(targetString)"
|
|
@@ -7,89 +7,89 @@ const isArbitraryObject_1 = __importDefault(require("../TypeGuards/Objects/isArb
|
|
|
7
7
|
const InvalidParameterValueError_1 = __importDefault(require("../Errors/InvalidParameterValue/InvalidParameterValueError"));
|
|
8
8
|
const Logger_1 = __importDefault(require("../Logging/Logger"));
|
|
9
9
|
const isString_1 = __importDefault(require("../TypeGuards/Strings/isString"));
|
|
10
|
-
function isIPv4AddressLiesInRange(
|
|
11
|
-
if (!(0, isArbitraryObject_1.default)(
|
|
10
|
+
function isIPv4AddressLiesInRange(compoundParameter) {
|
|
11
|
+
if (!(0, isArbitraryObject_1.default)(compoundParameter)) {
|
|
12
12
|
Logger_1.default.throwErrorAndLog({
|
|
13
13
|
errorInstance: new InvalidParameterValueError_1.default({
|
|
14
14
|
parameterNumber: 1,
|
|
15
|
-
parameterName: "
|
|
15
|
+
parameterName: "compoundParameter",
|
|
16
16
|
messageSpecificPart: "The first and only parameter must be an object type."
|
|
17
17
|
}),
|
|
18
18
|
title: InvalidParameterValueError_1.default.localization.defaultTitle,
|
|
19
|
-
occurrenceLocation: "isIPv4AddressLiesInRange(
|
|
19
|
+
occurrenceLocation: "isIPv4AddressLiesInRange(compoundParameter)"
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
|
-
if (!(0, isString_1.default)(
|
|
22
|
+
if (!(0, isString_1.default)(compoundParameter.comparedIP_Address)) {
|
|
23
23
|
Logger_1.default.throwErrorAndLog({
|
|
24
24
|
errorInstance: new InvalidParameterValueError_1.default({
|
|
25
25
|
parameterNumber: 1,
|
|
26
|
-
parameterName: "
|
|
27
|
-
messageSpecificPart: "The
|
|
28
|
-
`${typeof
|
|
26
|
+
parameterName: "compoundParameter.comparedIP_Address",
|
|
27
|
+
messageSpecificPart: "The \"comparedIP_Address\" must be a string while actually has type " +
|
|
28
|
+
`${typeof compoundParameter.comparedIP_Address}`
|
|
29
29
|
}),
|
|
30
30
|
title: InvalidParameterValueError_1.default.localization.defaultTitle,
|
|
31
|
-
occurrenceLocation: "isIPv4AddressLiesInRange(
|
|
31
|
+
occurrenceLocation: "isIPv4AddressLiesInRange(compoundParameter)"
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
-
if (!(0, isString_1.default)(
|
|
34
|
+
if (!(0, isString_1.default)(compoundParameter.minimalIP_Address)) {
|
|
35
35
|
Logger_1.default.throwErrorAndLog({
|
|
36
36
|
errorInstance: new InvalidParameterValueError_1.default({
|
|
37
37
|
parameterNumber: 1,
|
|
38
|
-
parameterName: "
|
|
39
|
-
messageSpecificPart: "The
|
|
40
|
-
`${typeof
|
|
38
|
+
parameterName: "compoundParameter.minimalIP_Address",
|
|
39
|
+
messageSpecificPart: "The \"minimalIP_Address\" must be a string while actually has type " +
|
|
40
|
+
`${typeof compoundParameter.minimalIP_Address}`
|
|
41
41
|
}),
|
|
42
42
|
title: InvalidParameterValueError_1.default.localization.defaultTitle,
|
|
43
|
-
occurrenceLocation: "isIPv4AddressLiesInRange(
|
|
43
|
+
occurrenceLocation: "isIPv4AddressLiesInRange(compoundParameter)"
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
|
-
if (!(0, isString_1.default)(
|
|
46
|
+
if (!(0, isString_1.default)(compoundParameter.maximalIP_Address)) {
|
|
47
47
|
Logger_1.default.throwErrorAndLog({
|
|
48
48
|
errorInstance: new InvalidParameterValueError_1.default({
|
|
49
49
|
parameterNumber: 1,
|
|
50
50
|
parameterName: "maximalIP_Address.minimalIP_Address",
|
|
51
|
-
messageSpecificPart: "The
|
|
52
|
-
`${typeof
|
|
51
|
+
messageSpecificPart: "The \"maximalIP_Address\" must be a string while actually has type " +
|
|
52
|
+
`${typeof compoundParameter.maximalIP_Address}`
|
|
53
53
|
}),
|
|
54
54
|
title: InvalidParameterValueError_1.default.localization.defaultTitle,
|
|
55
|
-
occurrenceLocation: "isIPv4AddressLiesInRange(
|
|
55
|
+
occurrenceLocation: "isIPv4AddressLiesInRange(compoundParameter)"
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
58
|
const VALID_IP_ADDRESS_PATTERN = /^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$/u;
|
|
59
|
-
if (!VALID_IP_ADDRESS_PATTERN.test(
|
|
59
|
+
if (!VALID_IP_ADDRESS_PATTERN.test(compoundParameter.comparedIP_Address)) {
|
|
60
60
|
Logger_1.default.throwErrorAndLog({
|
|
61
61
|
errorInstance: new InvalidParameterValueError_1.default({
|
|
62
62
|
parameterNumber: 1,
|
|
63
|
-
parameterName: "
|
|
64
|
-
messageSpecificPart: `The value
|
|
63
|
+
parameterName: "compoundParameter.comparedIP_Address",
|
|
64
|
+
messageSpecificPart: `The value "${compoundParameter.comparedIP_Address}" of 'comparedIP_Address' is not a` +
|
|
65
65
|
"valid IPv4 address."
|
|
66
66
|
}),
|
|
67
67
|
title: InvalidParameterValueError_1.default.localization.defaultTitle,
|
|
68
|
-
occurrenceLocation: "isIPv4AddressLiesInRange(
|
|
68
|
+
occurrenceLocation: "isIPv4AddressLiesInRange(compoundParameter)"
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
|
-
if (!VALID_IP_ADDRESS_PATTERN.test(
|
|
71
|
+
if (!VALID_IP_ADDRESS_PATTERN.test(compoundParameter.minimalIP_Address)) {
|
|
72
72
|
Logger_1.default.throwErrorAndLog({
|
|
73
73
|
errorInstance: new InvalidParameterValueError_1.default({
|
|
74
74
|
parameterNumber: 1,
|
|
75
|
-
parameterName: "
|
|
76
|
-
messageSpecificPart: `The value
|
|
75
|
+
parameterName: "compoundParameter.minimalIP_Address",
|
|
76
|
+
messageSpecificPart: `The value "${compoundParameter.minimalIP_Address}" of 'minimalIP_Address' is not a ` +
|
|
77
77
|
"valid IPv4 address."
|
|
78
78
|
}),
|
|
79
79
|
title: InvalidParameterValueError_1.default.localization.defaultTitle,
|
|
80
|
-
occurrenceLocation: "isIPv4AddressLiesInRange(
|
|
80
|
+
occurrenceLocation: "isIPv4AddressLiesInRange(compoundParameter)"
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
|
-
if (!VALID_IP_ADDRESS_PATTERN.test(
|
|
83
|
+
if (!VALID_IP_ADDRESS_PATTERN.test(compoundParameter.maximalIP_Address)) {
|
|
84
84
|
Logger_1.default.throwErrorAndLog({
|
|
85
85
|
errorInstance: new InvalidParameterValueError_1.default({
|
|
86
86
|
parameterNumber: 1,
|
|
87
|
-
parameterName: "
|
|
88
|
-
messageSpecificPart: `The value
|
|
87
|
+
parameterName: "compoundParameter.maximalIP_Address",
|
|
88
|
+
messageSpecificPart: `The value "${compoundParameter.maximalIP_Address}" of "maximalIP_Address" is not a ` +
|
|
89
89
|
"valid IPv4 address."
|
|
90
90
|
}),
|
|
91
91
|
title: InvalidParameterValueError_1.default.localization.defaultTitle,
|
|
92
|
-
occurrenceLocation: "isIPv4AddressLiesInRange(
|
|
92
|
+
occurrenceLocation: "isIPv4AddressLiesInRange(compoundParameter)"
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
95
|
function IPv4AddressToNumber(IPv4Address) {
|
|
@@ -99,7 +99,7 @@ function isIPv4AddressLiesInRange(namedParameters) {
|
|
|
99
99
|
substring(CHARACTERS_COUNT_WHICH_WILL_BE_REMOVED_FROM_THE_START_OF_IP_ADDRESS_OCTET)).
|
|
100
100
|
join(""));
|
|
101
101
|
}
|
|
102
|
-
return IPv4AddressToNumber(
|
|
103
|
-
IPv4AddressToNumber(
|
|
102
|
+
return IPv4AddressToNumber(compoundParameter.comparedIP_Address) >= IPv4AddressToNumber(compoundParameter.minimalIP_Address) &&
|
|
103
|
+
IPv4AddressToNumber(compoundParameter.comparedIP_Address) <= IPv4AddressToNumber(compoundParameter.maximalIP_Address);
|
|
104
104
|
}
|
|
105
105
|
exports.default = isIPv4AddressLiesInRange;
|
|
@@ -9,9 +9,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
9
9
|
};
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
11
|
exports.ClassRequiredInitializationHasNotBeenExecutedErrorLocalization__English = exports.ClassRequiredInitializationHasNotBeenExecutedError = exports.ClassRedundantSubsequentInitializationErrorLocalization__English = exports.ClassRedundantSubsequentInitializationError = exports.AlgorithmMismatchErrorLocalization__English = exports.AlgorithmMismatchError = exports.substituteWhenUndefined = exports.substituteWhenNull = exports.Timer = exports.TimePoint = exports.secondsToMilliseconds = exports.millisecondsToSeconds = exports.hasTimeCome = exports.getYearOfPreviousMonth = exports.getYearOfNextMonth = exports.getPreviousMonthNumber = exports.getNextMonthNumber = exports.getMonthNumberByName = exports.getMonthNameByNumber = exports.getDaysCountInSpecificMonth = exports.CalendarBuilder = exports.MockGatewayHelperLocalization__English = exports.MockGatewayHelper = exports.DataMocking = exports.YDEE_BUG_REPORTING_PAGE_URI = exports.ServerErrorsHTTP_StatusCodes = exports.ClientErrorsHTTP_StatusCodes = exports.RedirectionResponsesHTTP_StatusCodes = exports.SuccessfulResponsesHTTP_StatusCodes = exports.InformationalResponsesHTTP_StatusCodes = exports.HTTP_StatusCodes = exports.HTTP_Methods = exports.SECONDS_PER_MINUTE = exports.MonthsNames = exports.MONTHS_PER_YEAR = exports.MINUTES_PER_HOUR = exports.MAXIMAL_DAYS_AT_MONTH = exports.HOURS_PER_STELLAR_DAY = exports.DaysOfWeek = exports.CHARACTERS_COUNT_OF_DATE_PART_IN_ISO8601_STRING = exports.twoDimensionalizeArray = exports.replaceArrayElementsByPredicates = exports.replaceArrayElementsByIndexesImmutably = exports.removeArrayElementsByPredicates = exports.removeArrayElementsByIndexes = exports.getLastElementOfArray = exports.getIndexOfArrayElementSatisfiesThePredicateIfSuchElementIsExactlyOne = exports.getIndexesOfArrayElementsWhichSatisfiesThePredicate = exports.getArrayElementSatisfiesThePredicateIfSuchElementIsExactlyOne = exports.addElementsToArray = void 0;
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
12
|
+
exports.PromisesQueue = exports.splitToPaginationCollection = exports.computeLastItemNumberForSpecificPaginationPage = exports.computeFirstItemNumberForSpecificPaginationPage = exports.getObjectPropertySafely = exports.separateEach4DigitsGroupWithComma = exports.separateEach3DigitsGroupWithComma = exports.roundUpToSpecificIntegerPlaceValue = exports.roundToSpecifiedNearestDecimalPlaceValue = exports.roundToSpecificNearestIntegerPlaceValue = exports.roundDownToSpecificIntegerPlaceValue = exports.isStringifiedNonNegativeIntegerOfRegularNotation = exports.getArithmeticMean = exports.formatNumberWith4KetaKanji = exports.LoggerLocalization__English = exports.Logger = exports.PoliteErrorsMessagesBuilder__English = exports.PoliteErrorsMessagesBuilder = exports.UnsupportedScenarioErrorLocalization__English = exports.UnsupportedScenarioError = exports.UnexpectedEventErrorLocalization__English = exports.UnexpectedEventError = exports.ModuleDynamicLoadingFailedErrorLocalization__English = exports.ModuleDynamicLoadingFailedError = exports.InvalidParameterValueErrorLocalization__English = exports.InvalidParameterValueError = exports.InvalidExternalDataErrorLocalization__English = exports.InvalidExternalDataError = exports.InvalidConfigErrorLocalization__English = exports.InvalidConfigError = exports.InterProcessInteractionFailedErrorLocalization__English = exports.InterProcessInteractionFailedError = exports.IncompatiblePropertiesInObjectTypeParameterErrorLocalization__English = exports.IncompatiblePropertiesInObjectTypeParameterError = exports.ImproperUsageErrorLocalization__English = exports.ImproperUsageError = exports.FileWritingFailedErrorLocalization__English = exports.FileWritingFailedError = exports.FileReadingFailedErrorLocalization__English = exports.FileReadingFailedError = exports.DOM_ElementRetrievingFailedErrorLocalization__English = exports.DOM_ElementRetrievingFailedError = exports.DataSubmittingFailedErrorLocalization__English = exports.DataSubmittingFailedError = exports.DataRetrievingFailedErrorLocalization__English = exports.DataRetrievingFailedError = exports.CrossBrowserIssueErrorLocalization__English = exports.CrossBrowserIssueError = exports.ConfigFileNotFoundErrorLocalization__English = exports.ConfigFileNotFoundError = void 0;
|
|
13
|
+
exports.stringifyAndFormatArbitraryValue = exports.splitString = exports.reverseString = exports.replaceDoubleBackslashesWithForwardSlashes = exports.replaceBrHTML_TagToNewLineEscapeSequence = exports.replace2OrMoreSpacesTo1 = exports.removeSpecificCharacterFromCertainPosition = exports.removeNthCharacter = exports.removeNonDigitsCharacters = exports.removeLastCharacter = exports.removeAllSpecifiedCharacters = exports.insertSubstringIf = exports.insertSubstring = exports.getPositionsOfAllSubstringOccurrences = exports.getLastCharacter = exports.extractMatchingsWithRegularExpression = exports.stringifiedDigits = exports.SpaceCharactersStringifiedHexCharactersForRegularExpressionWithUnicodeFlag = exports.SpaceCharacters = exports.uppercaseLatinCharacters = exports.lowercaseLatinCharacters = exports.EscapeCharacters = exports.isIPv4AddressLiesInRange = exports.hasStringOnlySpecificCharacters = exports.getEnglishAbbreviatedOrdinalNumber = exports.explodeCasedPhraseToWords = exports.EmailAddress = exports.capitalizeFirstCharacter = exports.areStringifiedDigitsOnly = exports.appendCharacterIfItDoesNotPresentInLastPosition = exports.getURI_Fragment = exports.getURI_PartWithoutFragment = exports.appendFragmentToURI = exports.appendLastFileNameExtension = exports.getMatchingWithFirstRegularExpressionCapturingGroup = exports.convertPotentialStringToFloatIfPossible = exports.convertPotentialStringToIntegerIfPossible = exports.convertPotentialStringToNumberIfPossible = exports.RawObjectDataProcessorLocalization__English = exports.RawObjectDataProcessor = exports.removeRandomArrayElement = exports.getSpecificBooleanValueWithProbability = exports.getRandomSubarray = exports.getRandomObjectPropertyValue = exports.getRandomLatinCharacter = exports.getRandomInteger = exports.getRandomBoolean = exports.getRandomArrayElement = exports.RandomStringsGenerator = exports.getRandomString = void 0;
|
|
14
|
+
exports.undefinedToNull = exports.undefinedToEmptyString = exports.undefinedToEmptyArray = exports.nullToZero = exports.nullToUndefined = exports.nullToEmptyString = exports.emptyStringToNull = exports.isFunctionLike = exports.isElementOfEnumeration = exports.isBoolean = exports.isUndefined = exports.isNull = exports.isNotUndefined = exports.isNotNull = exports.isEitherUndefinedOrNull = exports.isNeitherUndefinedNorNull = exports.isNonEmptyArray = exports.isEmptyArray = exports.IsArrayOfLengthCheckingOperation = exports.isArrayOfLength = exports.isArrayOfCertainTypeElements = exports.isNonNullObject = exports.isNonEmptyObject = exports.isNonEmptyArbitraryObject = exports.isEmptyObject = exports.isArbitraryObject = exports.IsStringOfLengthCheckingOperation = exports.isStringOfLength = exports.isString = exports.isNonEmptyString = exports.isEmptyString = exports.isPositiveDecimalFraction = exports.isNumber = exports.isNonNegativeInteger = exports.isNegativeIntegerOrZero = exports.isNegativeInteger = exports.isNegativeDecimalFraction = exports.isNaturalNumber = exports.isDecimalFractionOfAnySign = exports.filterMap = exports.createMapBasedOnOtherMap = exports.addMultiplePairsToMap = exports.addMultipleElementsToSet = exports.trimSpaces = exports.toUpperCamelCase = exports.toScreamingSnakeCase = exports.toLowerCamelCase = void 0;
|
|
15
15
|
var addElementsToArray_1 = require("./Arrays/addElementsToArray");
|
|
16
16
|
Object.defineProperty(exports, "addElementsToArray", { enumerable: true, get: function () { return __importDefault(addElementsToArray_1).default; } });
|
|
17
17
|
var getArrayElementSatisfiesThePredicateIfSuchElementIsExactlyOne_1 = require("./Arrays/getArrayElementSatisfiesThePredicateIfSuchElementIsExactlyOne");
|
|
@@ -197,6 +197,45 @@ var separateEach3DigitsGroupWithComma_1 = require("./Numbers/separateEach3Digits
|
|
|
197
197
|
Object.defineProperty(exports, "separateEach3DigitsGroupWithComma", { enumerable: true, get: function () { return __importDefault(separateEach3DigitsGroupWithComma_1).default; } });
|
|
198
198
|
var separateEach4DigitsGroupWithComma_1 = require("./Numbers/separateEach4DigitsGroupWithComma");
|
|
199
199
|
Object.defineProperty(exports, "separateEach4DigitsGroupWithComma", { enumerable: true, get: function () { return __importDefault(separateEach4DigitsGroupWithComma_1).default; } });
|
|
200
|
+
var getObjectPropertySafely_1 = require("./Objects/getObjectPropertySafely");
|
|
201
|
+
Object.defineProperty(exports, "getObjectPropertySafely", { enumerable: true, get: function () { return __importDefault(getObjectPropertySafely_1).default; } });
|
|
202
|
+
var computeFirstItemNumberForSpecificPaginationPage_1 = require("./Pagination/computeFirstItemNumberForSpecificPaginationPage");
|
|
203
|
+
Object.defineProperty(exports, "computeFirstItemNumberForSpecificPaginationPage", { enumerable: true, get: function () { return __importDefault(computeFirstItemNumberForSpecificPaginationPage_1).default; } });
|
|
204
|
+
var computeLastItemNumberForSpecificPaginationPage_1 = require("./Pagination/computeLastItemNumberForSpecificPaginationPage");
|
|
205
|
+
Object.defineProperty(exports, "computeLastItemNumberForSpecificPaginationPage", { enumerable: true, get: function () { return __importDefault(computeLastItemNumberForSpecificPaginationPage_1).default; } });
|
|
206
|
+
var splitToPaginationCollection_1 = require("./Pagination/splitToPaginationCollection");
|
|
207
|
+
Object.defineProperty(exports, "splitToPaginationCollection", { enumerable: true, get: function () { return __importDefault(splitToPaginationCollection_1).default; } });
|
|
208
|
+
var PromisesQueue_1 = require("./Promises/PromisesQueue");
|
|
209
|
+
Object.defineProperty(exports, "PromisesQueue", { enumerable: true, get: function () { return __importDefault(PromisesQueue_1).default; } });
|
|
210
|
+
var getRandomString_1 = require("./RandomValuesGenerators/getRandomString/getRandomString");
|
|
211
|
+
Object.defineProperty(exports, "getRandomString", { enumerable: true, get: function () { return __importDefault(getRandomString_1).default; } });
|
|
212
|
+
Object.defineProperty(exports, "RandomStringsGenerator", { enumerable: true, get: function () { return getRandomString_1.RandomStringsGenerator; } });
|
|
213
|
+
var getRandomArrayElement_1 = require("./RandomValuesGenerators/getRandomArrayElement");
|
|
214
|
+
Object.defineProperty(exports, "getRandomArrayElement", { enumerable: true, get: function () { return __importDefault(getRandomArrayElement_1).default; } });
|
|
215
|
+
var getRandomBoolean_1 = require("./RandomValuesGenerators/getRandomBoolean");
|
|
216
|
+
Object.defineProperty(exports, "getRandomBoolean", { enumerable: true, get: function () { return __importDefault(getRandomBoolean_1).default; } });
|
|
217
|
+
var getRandomInteger_1 = require("./RandomValuesGenerators/getRandomInteger");
|
|
218
|
+
Object.defineProperty(exports, "getRandomInteger", { enumerable: true, get: function () { return __importDefault(getRandomInteger_1).default; } });
|
|
219
|
+
var getRandomLatinCharacter_1 = require("./RandomValuesGenerators/getRandomLatinCharacter");
|
|
220
|
+
Object.defineProperty(exports, "getRandomLatinCharacter", { enumerable: true, get: function () { return __importDefault(getRandomLatinCharacter_1).default; } });
|
|
221
|
+
var getRandomObjectPropertyValue_1 = require("./RandomValuesGenerators/getRandomObjectPropertyValue");
|
|
222
|
+
Object.defineProperty(exports, "getRandomObjectPropertyValue", { enumerable: true, get: function () { return __importDefault(getRandomObjectPropertyValue_1).default; } });
|
|
223
|
+
var getRandomSubarray_1 = require("./RandomValuesGenerators/getRandomSubarray");
|
|
224
|
+
Object.defineProperty(exports, "getRandomSubarray", { enumerable: true, get: function () { return __importDefault(getRandomSubarray_1).default; } });
|
|
225
|
+
var getSpecificBooleanValueWithProbability_1 = require("./RandomValuesGenerators/getSpecificBooleanValueWithProbability");
|
|
226
|
+
Object.defineProperty(exports, "getSpecificBooleanValueWithProbability", { enumerable: true, get: function () { return __importDefault(getSpecificBooleanValueWithProbability_1).default; } });
|
|
227
|
+
var removeRandomArrayElement_1 = require("./RandomValuesGenerators/removeRandomArrayElement");
|
|
228
|
+
Object.defineProperty(exports, "removeRandomArrayElement", { enumerable: true, get: function () { return __importDefault(removeRandomArrayElement_1).default; } });
|
|
229
|
+
var RawObjectDataProcessor_1 = require("./RawObjectDataProcessor/RawObjectDataProcessor");
|
|
230
|
+
Object.defineProperty(exports, "RawObjectDataProcessor", { enumerable: true, get: function () { return __importDefault(RawObjectDataProcessor_1).default; } });
|
|
231
|
+
var RawObjectDataProcessorLocalization__English_1 = require("./RawObjectDataProcessor/RawObjectDataProcessorLocalization__English");
|
|
232
|
+
Object.defineProperty(exports, "RawObjectDataProcessorLocalization__English", { enumerable: true, get: function () { return __importDefault(RawObjectDataProcessorLocalization__English_1).default; } });
|
|
233
|
+
var convertPotentialStringToNumberIfPossible_1 = require("./RawObjectDataProcessor/Helpers/convertPotentialStringToNumberIfPossible");
|
|
234
|
+
Object.defineProperty(exports, "convertPotentialStringToNumberIfPossible", { enumerable: true, get: function () { return __importDefault(convertPotentialStringToNumberIfPossible_1).default; } });
|
|
235
|
+
var convertPotentialStringToIntegerIfPossible_1 = require("./RawObjectDataProcessor/Helpers/convertPotentialStringToIntegerIfPossible");
|
|
236
|
+
Object.defineProperty(exports, "convertPotentialStringToIntegerIfPossible", { enumerable: true, get: function () { return __importDefault(convertPotentialStringToIntegerIfPossible_1).default; } });
|
|
237
|
+
var convertPotentialStringToFloatIfPossible_1 = require("./RawObjectDataProcessor/Helpers/convertPotentialStringToFloatIfPossible");
|
|
238
|
+
Object.defineProperty(exports, "convertPotentialStringToFloatIfPossible", { enumerable: true, get: function () { return __importDefault(convertPotentialStringToFloatIfPossible_1).default; } });
|
|
200
239
|
var getMatchingWithFirstRegularExpressionCapturingGroup_1 = require("./Strings/RegularExpressions/getMatchingWithFirstRegularExpressionCapturingGroup");
|
|
201
240
|
Object.defineProperty(exports, "getMatchingWithFirstRegularExpressionCapturingGroup", { enumerable: true, get: function () { return __importDefault(getMatchingWithFirstRegularExpressionCapturingGroup_1).default; } });
|
|
202
241
|
var appendLastFileNameExtension_1 = require("./Strings/URI/FilesAndDirectories/appendLastFileNameExtension");
|
|
@@ -209,6 +248,20 @@ var getURI_Fragment_1 = require("./Strings/URI/getURI_Fragment");
|
|
|
209
248
|
Object.defineProperty(exports, "getURI_Fragment", { enumerable: true, get: function () { return __importDefault(getURI_Fragment_1).default; } });
|
|
210
249
|
var appendCharacterIfItDoesNotPresentInLastPosition_1 = require("./Strings/appendCharacterIfItDoesNotPresentInLastPosition");
|
|
211
250
|
Object.defineProperty(exports, "appendCharacterIfItDoesNotPresentInLastPosition", { enumerable: true, get: function () { return __importDefault(appendCharacterIfItDoesNotPresentInLastPosition_1).default; } });
|
|
251
|
+
var areStringifiedDigitsOnly_1 = require("./Strings/areStringifiedDigitsOnly");
|
|
252
|
+
Object.defineProperty(exports, "areStringifiedDigitsOnly", { enumerable: true, get: function () { return __importDefault(areStringifiedDigitsOnly_1).default; } });
|
|
253
|
+
var capitalizeFirstCharacter_1 = require("./Strings/capitalizeFirstCharacter");
|
|
254
|
+
Object.defineProperty(exports, "capitalizeFirstCharacter", { enumerable: true, get: function () { return __importDefault(capitalizeFirstCharacter_1).default; } });
|
|
255
|
+
var EmailAddress_1 = require("./Strings/EmailAddress");
|
|
256
|
+
Object.defineProperty(exports, "EmailAddress", { enumerable: true, get: function () { return __importDefault(EmailAddress_1).default; } });
|
|
257
|
+
var explodeCasedPhraseToWords_1 = require("./Strings/explodeCasedPhraseToWords");
|
|
258
|
+
Object.defineProperty(exports, "explodeCasedPhraseToWords", { enumerable: true, get: function () { return __importDefault(explodeCasedPhraseToWords_1).default; } });
|
|
259
|
+
var getEnglishAbbreviatedOrdinalNumber_1 = require("./Strings/getEnglishAbbreviatedOrdinalNumber");
|
|
260
|
+
Object.defineProperty(exports, "getEnglishAbbreviatedOrdinalNumber", { enumerable: true, get: function () { return __importDefault(getEnglishAbbreviatedOrdinalNumber_1).default; } });
|
|
261
|
+
var hasStringOnlySpecificCharacters_1 = require("./Strings/hasStringOnlySpecificCharacters");
|
|
262
|
+
Object.defineProperty(exports, "hasStringOnlySpecificCharacters", { enumerable: true, get: function () { return __importDefault(hasStringOnlySpecificCharacters_1).default; } });
|
|
263
|
+
var isIPv4AddressLiesInRange_1 = require("./Strings/isIPv4AddressLiesInRange");
|
|
264
|
+
Object.defineProperty(exports, "isIPv4AddressLiesInRange", { enumerable: true, get: function () { return __importDefault(isIPv4AddressLiesInRange_1).default; } });
|
|
212
265
|
var EscapeCharacters_1 = require("./Strings/CharactersAssets/EscapeCharacters");
|
|
213
266
|
Object.defineProperty(exports, "EscapeCharacters", { enumerable: true, get: function () { return __importDefault(EscapeCharacters_1).default; } });
|
|
214
267
|
var lowercaseLatinCharacters_1 = require("./Strings/CharactersAssets/lowercaseLatinCharacters");
|
|
@@ -221,30 +274,16 @@ var SpaceCharactersStringifiedHexCharactersForRegularExpressionWithUnicodeFlag_1
|
|
|
221
274
|
Object.defineProperty(exports, "SpaceCharactersStringifiedHexCharactersForRegularExpressionWithUnicodeFlag", { enumerable: true, get: function () { return __importDefault(SpaceCharactersStringifiedHexCharactersForRegularExpressionWithUnicodeFlag_1).default; } });
|
|
222
275
|
var stringifiedDigits_1 = require("./Strings/CharactersAssets/stringifiedDigits");
|
|
223
276
|
Object.defineProperty(exports, "stringifiedDigits", { enumerable: true, get: function () { return __importDefault(stringifiedDigits_1).default; } });
|
|
224
|
-
var areStringifiedDigitsOnly_1 = require("./Strings/areStringifiedDigitsOnly");
|
|
225
|
-
Object.defineProperty(exports, "areStringifiedDigitsOnly", { enumerable: true, get: function () { return __importDefault(areStringifiedDigitsOnly_1).default; } });
|
|
226
|
-
var capitalizeFirstCharacter_1 = require("./Strings/capitalizeFirstCharacter");
|
|
227
|
-
Object.defineProperty(exports, "capitalizeFirstCharacter", { enumerable: true, get: function () { return __importDefault(capitalizeFirstCharacter_1).default; } });
|
|
228
|
-
var EmailAddress_1 = require("./Strings/EmailAddress");
|
|
229
|
-
Object.defineProperty(exports, "EmailAddress", { enumerable: true, get: function () { return __importDefault(EmailAddress_1).default; } });
|
|
230
|
-
var explodeCasedPhraseToWords_1 = require("./Strings/explodeCasedPhraseToWords");
|
|
231
|
-
Object.defineProperty(exports, "explodeCasedPhraseToWords", { enumerable: true, get: function () { return __importDefault(explodeCasedPhraseToWords_1).default; } });
|
|
232
277
|
var extractMatchingsWithRegularExpression_1 = require("./Strings/RegularExpressions/extractMatchingsWithRegularExpression");
|
|
233
278
|
Object.defineProperty(exports, "extractMatchingsWithRegularExpression", { enumerable: true, get: function () { return __importDefault(extractMatchingsWithRegularExpression_1).default; } });
|
|
234
|
-
var getEnglishAbbreviatedOrdinalNumber_1 = require("./Strings/getEnglishAbbreviatedOrdinalNumber");
|
|
235
|
-
Object.defineProperty(exports, "getEnglishAbbreviatedOrdinalNumber", { enumerable: true, get: function () { return __importDefault(getEnglishAbbreviatedOrdinalNumber_1).default; } });
|
|
236
279
|
var getLastCharacter_1 = require("./Strings/getLastCharacter");
|
|
237
280
|
Object.defineProperty(exports, "getLastCharacter", { enumerable: true, get: function () { return __importDefault(getLastCharacter_1).default; } });
|
|
238
281
|
var getPositionsOfAllSubstringOccurrences_1 = require("./Strings/getPositionsOfAllSubstringOccurrences");
|
|
239
282
|
Object.defineProperty(exports, "getPositionsOfAllSubstringOccurrences", { enumerable: true, get: function () { return __importDefault(getPositionsOfAllSubstringOccurrences_1).default; } });
|
|
240
|
-
var hasStringOnlySpecificCharacters_1 = require("./Strings/hasStringOnlySpecificCharacters");
|
|
241
|
-
Object.defineProperty(exports, "hasStringOnlySpecificCharacters", { enumerable: true, get: function () { return __importDefault(hasStringOnlySpecificCharacters_1).default; } });
|
|
242
283
|
var insertSubstring_1 = require("./Strings/insertSubstring");
|
|
243
284
|
Object.defineProperty(exports, "insertSubstring", { enumerable: true, get: function () { return __importDefault(insertSubstring_1).default; } });
|
|
244
285
|
var insertSubstringIf_1 = require("./Strings/insertSubstringIf");
|
|
245
286
|
Object.defineProperty(exports, "insertSubstringIf", { enumerable: true, get: function () { return __importDefault(insertSubstringIf_1).default; } });
|
|
246
|
-
var isIPv4AddressLiesInRange_1 = require("./Strings/isIPv4AddressLiesInRange");
|
|
247
|
-
Object.defineProperty(exports, "isIPv4AddressLiesInRange", { enumerable: true, get: function () { return __importDefault(isIPv4AddressLiesInRange_1).default; } });
|
|
248
287
|
var removeAllSpecifiedCharacters_1 = require("./Strings/removeAllSpecifiedCharacters");
|
|
249
288
|
Object.defineProperty(exports, "removeAllSpecifiedCharacters", { enumerable: true, get: function () { return __importDefault(removeAllSpecifiedCharacters_1).default; } });
|
|
250
289
|
var removeLastCharacter_1 = require("./Strings/removeLastCharacter");
|
|
@@ -275,8 +314,6 @@ var toUpperCamelCase_1 = require("./Strings/toUpperCamelCase");
|
|
|
275
314
|
Object.defineProperty(exports, "toUpperCamelCase", { enumerable: true, get: function () { return __importDefault(toUpperCamelCase_1).default; } });
|
|
276
315
|
var trimSpaces_1 = require("./Strings/trimSpaces");
|
|
277
316
|
Object.defineProperty(exports, "trimSpaces", { enumerable: true, get: function () { return __importDefault(trimSpaces_1).default; } });
|
|
278
|
-
var getObjectPropertySafely_1 = require("./Objects/getObjectPropertySafely");
|
|
279
|
-
Object.defineProperty(exports, "getObjectPropertySafely", { enumerable: true, get: function () { return __importDefault(getObjectPropertySafely_1).default; } });
|
|
280
317
|
var addMultipleElementsToSet_1 = require("./Sets/addMultipleElementsToSet");
|
|
281
318
|
Object.defineProperty(exports, "addMultipleElementsToSet", { enumerable: true, get: function () { return __importDefault(addMultipleElementsToSet_1).default; } });
|
|
282
319
|
var addMultiplePairsToMap_1 = require("./Maps/addMultiplePairsToMap");
|
|
@@ -361,40 +398,3 @@ var undefinedToEmptyString_1 = require("./ValueTransformers/undefinedToEmptyStri
|
|
|
361
398
|
Object.defineProperty(exports, "undefinedToEmptyString", { enumerable: true, get: function () { return __importDefault(undefinedToEmptyString_1).default; } });
|
|
362
399
|
var undefinedToNull_1 = require("./ValueTransformers/undefinedToNull");
|
|
363
400
|
Object.defineProperty(exports, "undefinedToNull", { enumerable: true, get: function () { return __importDefault(undefinedToNull_1).default; } });
|
|
364
|
-
var getRandomString_1 = require("./RandomValuesGenerators/getRandomString/getRandomString");
|
|
365
|
-
Object.defineProperty(exports, "getRandomString", { enumerable: true, get: function () { return __importDefault(getRandomString_1).default; } });
|
|
366
|
-
Object.defineProperty(exports, "RandomStringsGenerator", { enumerable: true, get: function () { return getRandomString_1.RandomStringsGenerator; } });
|
|
367
|
-
var getRandomArrayElement_1 = require("./RandomValuesGenerators/getRandomArrayElement");
|
|
368
|
-
Object.defineProperty(exports, "getRandomArrayElement", { enumerable: true, get: function () { return __importDefault(getRandomArrayElement_1).default; } });
|
|
369
|
-
var getRandomBoolean_1 = require("./RandomValuesGenerators/getRandomBoolean");
|
|
370
|
-
Object.defineProperty(exports, "getRandomBoolean", { enumerable: true, get: function () { return __importDefault(getRandomBoolean_1).default; } });
|
|
371
|
-
var getRandomInteger_1 = require("./RandomValuesGenerators/getRandomInteger");
|
|
372
|
-
Object.defineProperty(exports, "getRandomInteger", { enumerable: true, get: function () { return __importDefault(getRandomInteger_1).default; } });
|
|
373
|
-
var getRandomLatinCharacter_1 = require("./RandomValuesGenerators/getRandomLatinCharacter");
|
|
374
|
-
Object.defineProperty(exports, "getRandomLatinCharacter", { enumerable: true, get: function () { return __importDefault(getRandomLatinCharacter_1).default; } });
|
|
375
|
-
var getRandomObjectPropertyValue_1 = require("./RandomValuesGenerators/getRandomObjectPropertyValue");
|
|
376
|
-
Object.defineProperty(exports, "getRandomObjectPropertyValue", { enumerable: true, get: function () { return __importDefault(getRandomObjectPropertyValue_1).default; } });
|
|
377
|
-
var getRandomSubarray_1 = require("./RandomValuesGenerators/getRandomSubarray");
|
|
378
|
-
Object.defineProperty(exports, "getRandomSubarray", { enumerable: true, get: function () { return __importDefault(getRandomSubarray_1).default; } });
|
|
379
|
-
var getSpecificBooleanValueWithProbability_1 = require("./RandomValuesGenerators/getSpecificBooleanValueWithProbability");
|
|
380
|
-
Object.defineProperty(exports, "getSpecificBooleanValueWithProbability", { enumerable: true, get: function () { return __importDefault(getSpecificBooleanValueWithProbability_1).default; } });
|
|
381
|
-
var removeRandomArrayElement_1 = require("./RandomValuesGenerators/removeRandomArrayElement");
|
|
382
|
-
Object.defineProperty(exports, "removeRandomArrayElement", { enumerable: true, get: function () { return __importDefault(removeRandomArrayElement_1).default; } });
|
|
383
|
-
var computeFirstItemNumberForSpecificPaginationPage_1 = require("./Pagination/computeFirstItemNumberForSpecificPaginationPage");
|
|
384
|
-
Object.defineProperty(exports, "computeFirstItemNumberForSpecificPaginationPage", { enumerable: true, get: function () { return __importDefault(computeFirstItemNumberForSpecificPaginationPage_1).default; } });
|
|
385
|
-
var computeLastItemNumberForSpecificPaginationPage_1 = require("./Pagination/computeLastItemNumberForSpecificPaginationPage");
|
|
386
|
-
Object.defineProperty(exports, "computeLastItemNumberForSpecificPaginationPage", { enumerable: true, get: function () { return __importDefault(computeLastItemNumberForSpecificPaginationPage_1).default; } });
|
|
387
|
-
var splitToPaginationCollection_1 = require("./Pagination/splitToPaginationCollection");
|
|
388
|
-
Object.defineProperty(exports, "splitToPaginationCollection", { enumerable: true, get: function () { return __importDefault(splitToPaginationCollection_1).default; } });
|
|
389
|
-
var PromisesQueue_1 = require("./Promises/PromisesQueue");
|
|
390
|
-
Object.defineProperty(exports, "PromisesQueue", { enumerable: true, get: function () { return __importDefault(PromisesQueue_1).default; } });
|
|
391
|
-
var RawObjectDataProcessor_1 = require("./RawObjectDataProcessor/RawObjectDataProcessor");
|
|
392
|
-
Object.defineProperty(exports, "RawObjectDataProcessor", { enumerable: true, get: function () { return __importDefault(RawObjectDataProcessor_1).default; } });
|
|
393
|
-
var RawObjectDataProcessorLocalization__English_1 = require("./RawObjectDataProcessor/RawObjectDataProcessorLocalization__English");
|
|
394
|
-
Object.defineProperty(exports, "RawObjectDataProcessorLocalization__English", { enumerable: true, get: function () { return __importDefault(RawObjectDataProcessorLocalization__English_1).default; } });
|
|
395
|
-
var convertPotentialStringToNumberIfPossible_1 = require("./RawObjectDataProcessor/Helpers/convertPotentialStringToNumberIfPossible");
|
|
396
|
-
Object.defineProperty(exports, "convertPotentialStringToNumberIfPossible", { enumerable: true, get: function () { return __importDefault(convertPotentialStringToNumberIfPossible_1).default; } });
|
|
397
|
-
var convertPotentialStringToIntegerIfPossible_1 = require("./RawObjectDataProcessor/Helpers/convertPotentialStringToIntegerIfPossible");
|
|
398
|
-
Object.defineProperty(exports, "convertPotentialStringToIntegerIfPossible", { enumerable: true, get: function () { return __importDefault(convertPotentialStringToIntegerIfPossible_1).default; } });
|
|
399
|
-
var convertPotentialStringToFloatIfPossible_1 = require("./RawObjectDataProcessor/Helpers/convertPotentialStringToFloatIfPossible");
|
|
400
|
-
Object.defineProperty(exports, "convertPotentialStringToFloatIfPossible", { enumerable: true, get: function () { return __importDefault(convertPotentialStringToFloatIfPossible_1).default; } });
|
|
@@ -4,11 +4,11 @@ declare class PromisesQueue {
|
|
|
4
4
|
private asynchronousFunctionsQueue;
|
|
5
5
|
static errorHandler(error: unknown): void;
|
|
6
6
|
constructor(initialAsynchronousFunctions?: ReadonlyArray<(...parameters: ReadonlyArray<unknown>) => Promise<void>>);
|
|
7
|
-
startExecutionIfHasNotStartedYet(
|
|
7
|
+
startExecutionIfHasNotStartedYet(compoundParameter: Readonly<{
|
|
8
8
|
behaviourOnSomePromiseFailed: PromisesQueue.BEHAVIOUR_ON_SOME_PROMISE_FAILED;
|
|
9
9
|
}>): Promise<void>;
|
|
10
10
|
addFunctionToQueue(newAsynchronousFunction: (...parameters: ReadonlyArray<unknown>) => Promise<void>): void;
|
|
11
|
-
addFunctionAndStartExecutionIfHasNotStartedYet(
|
|
11
|
+
addFunctionAndStartExecutionIfHasNotStartedYet(compoundParameter: Readonly<{
|
|
12
12
|
newAsynchronousFunction: (...parameters: ReadonlyArray<unknown>) => Promise<void>;
|
|
13
13
|
behaviourOnSomePromiseFailed: PromisesQueue.BEHAVIOUR_ON_SOME_PROMISE_FAILED;
|
|
14
14
|
}>): Promise<void>;
|
|
@@ -16,7 +16,7 @@ class PromisesQueue {
|
|
|
16
16
|
constructor(initialAsynchronousFunctions = []) {
|
|
17
17
|
this.asynchronousFunctionsQueue.push(...initialAsynchronousFunctions);
|
|
18
18
|
}
|
|
19
|
-
async startExecutionIfHasNotStartedYet(
|
|
19
|
+
async startExecutionIfHasNotStartedYet(compoundParameter) {
|
|
20
20
|
if (this.isExecutingNow) {
|
|
21
21
|
return;
|
|
22
22
|
}
|
|
@@ -26,7 +26,7 @@ class PromisesQueue {
|
|
|
26
26
|
await asynchronousFunction();
|
|
27
27
|
}
|
|
28
28
|
catch (error) {
|
|
29
|
-
switch (
|
|
29
|
+
switch (compoundParameter.behaviourOnSomePromiseFailed) {
|
|
30
30
|
case PromisesQueue.BEHAVIOUR_ON_SOME_PROMISE_FAILED.throwingTheError: {
|
|
31
31
|
throw error;
|
|
32
32
|
}
|
|
@@ -35,7 +35,7 @@ class PromisesQueue {
|
|
|
35
35
|
errorType: "AsynchronousProcessingFailedError",
|
|
36
36
|
title: "Asynchronous processing failed error",
|
|
37
37
|
description: "The error occurred during execution of one of promised.",
|
|
38
|
-
occurrenceLocation: "promisesQueue.startExecutionIfHasNotStartedYet(
|
|
38
|
+
occurrenceLocation: "promisesQueue.startExecutionIfHasNotStartedYet(compoundParameter)",
|
|
39
39
|
caughtError: error
|
|
40
40
|
});
|
|
41
41
|
}
|
|
@@ -53,10 +53,10 @@ class PromisesQueue {
|
|
|
53
53
|
addFunctionToQueue(newAsynchronousFunction) {
|
|
54
54
|
this.asynchronousFunctionsQueue.push(newAsynchronousFunction);
|
|
55
55
|
}
|
|
56
|
-
async addFunctionAndStartExecutionIfHasNotStartedYet(
|
|
57
|
-
this.addFunctionToQueue(
|
|
56
|
+
async addFunctionAndStartExecutionIfHasNotStartedYet(compoundParameter) {
|
|
57
|
+
this.addFunctionToQueue(compoundParameter.newAsynchronousFunction);
|
|
58
58
|
return this.startExecutionIfHasNotStartedYet({
|
|
59
|
-
behaviourOnSomePromiseFailed:
|
|
59
|
+
behaviourOnSomePromiseFailed: compoundParameter.behaviourOnSomePromiseFailed
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
62
|
stopExecutionOnceCurrentPromiseFinished() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function addMultipleElementsToSet<SetElement>(targetSet: Set<SetElement>, newElements:
|
|
1
|
+
export default function addMultipleElementsToSet<SetElement>(targetSet: Set<SetElement>, newElements: ReadonlyArray<SetElement>): Set<SetElement>;
|
|
@@ -10,7 +10,7 @@ export default function explodeCasedPhraseToWords(targetString) {
|
|
|
10
10
|
errorInstance: new InvalidParameterValueError({
|
|
11
11
|
parameterNumber: 1,
|
|
12
12
|
parameterName: "targetString",
|
|
13
|
-
customMessage: `The first and only parameter must be a string while actually is has type
|
|
13
|
+
customMessage: `The first and only parameter must be a string while actually is has type "${typeof targetString}".`
|
|
14
14
|
}),
|
|
15
15
|
title: InvalidParameterValueError.localization.defaultTitle,
|
|
16
16
|
occurrenceLocation: "explodeToWords(targetString)"
|
|
@@ -2,89 +2,89 @@ import isArbitraryObject from "../TypeGuards/Objects/isArbitraryObject";
|
|
|
2
2
|
import InvalidParameterValueError from "../Errors/InvalidParameterValue/InvalidParameterValueError";
|
|
3
3
|
import Logger from "../Logging/Logger";
|
|
4
4
|
import isString from "../TypeGuards/Strings/isString";
|
|
5
|
-
export default function isIPv4AddressLiesInRange(
|
|
6
|
-
if (!isArbitraryObject(
|
|
5
|
+
export default function isIPv4AddressLiesInRange(compoundParameter) {
|
|
6
|
+
if (!isArbitraryObject(compoundParameter)) {
|
|
7
7
|
Logger.throwErrorAndLog({
|
|
8
8
|
errorInstance: new InvalidParameterValueError({
|
|
9
9
|
parameterNumber: 1,
|
|
10
|
-
parameterName: "
|
|
10
|
+
parameterName: "compoundParameter",
|
|
11
11
|
messageSpecificPart: "The first and only parameter must be an object type."
|
|
12
12
|
}),
|
|
13
13
|
title: InvalidParameterValueError.localization.defaultTitle,
|
|
14
|
-
occurrenceLocation: "isIPv4AddressLiesInRange(
|
|
14
|
+
occurrenceLocation: "isIPv4AddressLiesInRange(compoundParameter)"
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
if (!isString(
|
|
17
|
+
if (!isString(compoundParameter.comparedIP_Address)) {
|
|
18
18
|
Logger.throwErrorAndLog({
|
|
19
19
|
errorInstance: new InvalidParameterValueError({
|
|
20
20
|
parameterNumber: 1,
|
|
21
|
-
parameterName: "
|
|
22
|
-
messageSpecificPart: "The
|
|
23
|
-
`${typeof
|
|
21
|
+
parameterName: "compoundParameter.comparedIP_Address",
|
|
22
|
+
messageSpecificPart: "The \"comparedIP_Address\" must be a string while actually has type " +
|
|
23
|
+
`${typeof compoundParameter.comparedIP_Address}`
|
|
24
24
|
}),
|
|
25
25
|
title: InvalidParameterValueError.localization.defaultTitle,
|
|
26
|
-
occurrenceLocation: "isIPv4AddressLiesInRange(
|
|
26
|
+
occurrenceLocation: "isIPv4AddressLiesInRange(compoundParameter)"
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
|
-
if (!isString(
|
|
29
|
+
if (!isString(compoundParameter.minimalIP_Address)) {
|
|
30
30
|
Logger.throwErrorAndLog({
|
|
31
31
|
errorInstance: new InvalidParameterValueError({
|
|
32
32
|
parameterNumber: 1,
|
|
33
|
-
parameterName: "
|
|
34
|
-
messageSpecificPart: "The
|
|
35
|
-
`${typeof
|
|
33
|
+
parameterName: "compoundParameter.minimalIP_Address",
|
|
34
|
+
messageSpecificPart: "The \"minimalIP_Address\" must be a string while actually has type " +
|
|
35
|
+
`${typeof compoundParameter.minimalIP_Address}`
|
|
36
36
|
}),
|
|
37
37
|
title: InvalidParameterValueError.localization.defaultTitle,
|
|
38
|
-
occurrenceLocation: "isIPv4AddressLiesInRange(
|
|
38
|
+
occurrenceLocation: "isIPv4AddressLiesInRange(compoundParameter)"
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
-
if (!isString(
|
|
41
|
+
if (!isString(compoundParameter.maximalIP_Address)) {
|
|
42
42
|
Logger.throwErrorAndLog({
|
|
43
43
|
errorInstance: new InvalidParameterValueError({
|
|
44
44
|
parameterNumber: 1,
|
|
45
45
|
parameterName: "maximalIP_Address.minimalIP_Address",
|
|
46
|
-
messageSpecificPart: "The
|
|
47
|
-
`${typeof
|
|
46
|
+
messageSpecificPart: "The \"maximalIP_Address\" must be a string while actually has type " +
|
|
47
|
+
`${typeof compoundParameter.maximalIP_Address}`
|
|
48
48
|
}),
|
|
49
49
|
title: InvalidParameterValueError.localization.defaultTitle,
|
|
50
|
-
occurrenceLocation: "isIPv4AddressLiesInRange(
|
|
50
|
+
occurrenceLocation: "isIPv4AddressLiesInRange(compoundParameter)"
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
53
|
const VALID_IP_ADDRESS_PATTERN = /^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$/u;
|
|
54
|
-
if (!VALID_IP_ADDRESS_PATTERN.test(
|
|
54
|
+
if (!VALID_IP_ADDRESS_PATTERN.test(compoundParameter.comparedIP_Address)) {
|
|
55
55
|
Logger.throwErrorAndLog({
|
|
56
56
|
errorInstance: new InvalidParameterValueError({
|
|
57
57
|
parameterNumber: 1,
|
|
58
|
-
parameterName: "
|
|
59
|
-
messageSpecificPart: `The value
|
|
58
|
+
parameterName: "compoundParameter.comparedIP_Address",
|
|
59
|
+
messageSpecificPart: `The value "${compoundParameter.comparedIP_Address}" of 'comparedIP_Address' is not a` +
|
|
60
60
|
"valid IPv4 address."
|
|
61
61
|
}),
|
|
62
62
|
title: InvalidParameterValueError.localization.defaultTitle,
|
|
63
|
-
occurrenceLocation: "isIPv4AddressLiesInRange(
|
|
63
|
+
occurrenceLocation: "isIPv4AddressLiesInRange(compoundParameter)"
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
|
-
if (!VALID_IP_ADDRESS_PATTERN.test(
|
|
66
|
+
if (!VALID_IP_ADDRESS_PATTERN.test(compoundParameter.minimalIP_Address)) {
|
|
67
67
|
Logger.throwErrorAndLog({
|
|
68
68
|
errorInstance: new InvalidParameterValueError({
|
|
69
69
|
parameterNumber: 1,
|
|
70
|
-
parameterName: "
|
|
71
|
-
messageSpecificPart: `The value
|
|
70
|
+
parameterName: "compoundParameter.minimalIP_Address",
|
|
71
|
+
messageSpecificPart: `The value "${compoundParameter.minimalIP_Address}" of 'minimalIP_Address' is not a ` +
|
|
72
72
|
"valid IPv4 address."
|
|
73
73
|
}),
|
|
74
74
|
title: InvalidParameterValueError.localization.defaultTitle,
|
|
75
|
-
occurrenceLocation: "isIPv4AddressLiesInRange(
|
|
75
|
+
occurrenceLocation: "isIPv4AddressLiesInRange(compoundParameter)"
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
|
-
if (!VALID_IP_ADDRESS_PATTERN.test(
|
|
78
|
+
if (!VALID_IP_ADDRESS_PATTERN.test(compoundParameter.maximalIP_Address)) {
|
|
79
79
|
Logger.throwErrorAndLog({
|
|
80
80
|
errorInstance: new InvalidParameterValueError({
|
|
81
81
|
parameterNumber: 1,
|
|
82
|
-
parameterName: "
|
|
83
|
-
messageSpecificPart: `The value
|
|
82
|
+
parameterName: "compoundParameter.maximalIP_Address",
|
|
83
|
+
messageSpecificPart: `The value "${compoundParameter.maximalIP_Address}" of "maximalIP_Address" is not a ` +
|
|
84
84
|
"valid IPv4 address."
|
|
85
85
|
}),
|
|
86
86
|
title: InvalidParameterValueError.localization.defaultTitle,
|
|
87
|
-
occurrenceLocation: "isIPv4AddressLiesInRange(
|
|
87
|
+
occurrenceLocation: "isIPv4AddressLiesInRange(compoundParameter)"
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
90
|
function IPv4AddressToNumber(IPv4Address) {
|
|
@@ -94,6 +94,6 @@ export default function isIPv4AddressLiesInRange(namedParameters) {
|
|
|
94
94
|
substring(CHARACTERS_COUNT_WHICH_WILL_BE_REMOVED_FROM_THE_START_OF_IP_ADDRESS_OCTET)).
|
|
95
95
|
join(""));
|
|
96
96
|
}
|
|
97
|
-
return IPv4AddressToNumber(
|
|
98
|
-
IPv4AddressToNumber(
|
|
97
|
+
return IPv4AddressToNumber(compoundParameter.comparedIP_Address) >= IPv4AddressToNumber(compoundParameter.minimalIP_Address) &&
|
|
98
|
+
IPv4AddressToNumber(compoundParameter.comparedIP_Address) <= IPv4AddressToNumber(compoundParameter.maximalIP_Address);
|
|
99
99
|
}
|
|
@@ -95,30 +95,50 @@ export { default as roundToSpecifiedNearestDecimalPlaceValue } from "./Numbers/r
|
|
|
95
95
|
export { default as roundUpToSpecificIntegerPlaceValue } from "./Numbers/roundUpToSpecificIntegerPlaceValue";
|
|
96
96
|
export { default as separateEach3DigitsGroupWithComma } from "./Numbers/separateEach3DigitsGroupWithComma";
|
|
97
97
|
export { default as separateEach4DigitsGroupWithComma } from "./Numbers/separateEach4DigitsGroupWithComma";
|
|
98
|
+
export { default as getObjectPropertySafely } from "./Objects/getObjectPropertySafely";
|
|
99
|
+
export { default as computeFirstItemNumberForSpecificPaginationPage } from "./Pagination/computeFirstItemNumberForSpecificPaginationPage";
|
|
100
|
+
export { default as computeLastItemNumberForSpecificPaginationPage } from "./Pagination/computeLastItemNumberForSpecificPaginationPage";
|
|
101
|
+
export { default as splitToPaginationCollection } from "./Pagination/splitToPaginationCollection";
|
|
102
|
+
export type { PaginationCollection } from "./Pagination/splitToPaginationCollection";
|
|
103
|
+
export { default as PromisesQueue } from "./Promises/PromisesQueue";
|
|
104
|
+
export { default as getRandomString, RandomStringsGenerator } from "./RandomValuesGenerators/getRandomString/getRandomString";
|
|
105
|
+
export { default as getRandomArrayElement } from "./RandomValuesGenerators/getRandomArrayElement";
|
|
106
|
+
export { default as getRandomBoolean } from "./RandomValuesGenerators/getRandomBoolean";
|
|
107
|
+
export { default as getRandomInteger } from "./RandomValuesGenerators/getRandomInteger";
|
|
108
|
+
export { default as getRandomLatinCharacter } from "./RandomValuesGenerators/getRandomLatinCharacter";
|
|
109
|
+
export { default as getRandomObjectPropertyValue } from "./RandomValuesGenerators/getRandomObjectPropertyValue";
|
|
110
|
+
export { default as getRandomSubarray } from "./RandomValuesGenerators/getRandomSubarray";
|
|
111
|
+
export { default as getSpecificBooleanValueWithProbability } from "./RandomValuesGenerators/getSpecificBooleanValueWithProbability";
|
|
112
|
+
export { default as removeRandomArrayElement } from "./RandomValuesGenerators/removeRandomArrayElement";
|
|
113
|
+
export { default as RawObjectDataProcessor } from "./RawObjectDataProcessor/RawObjectDataProcessor";
|
|
114
|
+
export { default as RawObjectDataProcessorLocalization__English } from "./RawObjectDataProcessor/RawObjectDataProcessorLocalization__English";
|
|
115
|
+
export { default as convertPotentialStringToNumberIfPossible } from "./RawObjectDataProcessor/Helpers/convertPotentialStringToNumberIfPossible";
|
|
116
|
+
export { default as convertPotentialStringToIntegerIfPossible } from "./RawObjectDataProcessor/Helpers/convertPotentialStringToIntegerIfPossible";
|
|
117
|
+
export { default as convertPotentialStringToFloatIfPossible } from "./RawObjectDataProcessor/Helpers/convertPotentialStringToFloatIfPossible";
|
|
98
118
|
export { default as getMatchingWithFirstRegularExpressionCapturingGroup } from "./Strings/RegularExpressions/getMatchingWithFirstRegularExpressionCapturingGroup";
|
|
99
119
|
export { default as appendLastFileNameExtension } from "./Strings/URI/FilesAndDirectories/appendLastFileNameExtension";
|
|
100
120
|
export { default as appendFragmentToURI } from "./Strings/URI/appendFragmentToURI";
|
|
101
121
|
export { default as getURI_PartWithoutFragment } from "./Strings/URI/getURI_PartWithoutFragment";
|
|
102
122
|
export { default as getURI_Fragment } from "./Strings/URI/getURI_Fragment";
|
|
103
123
|
export { default as appendCharacterIfItDoesNotPresentInLastPosition } from "./Strings/appendCharacterIfItDoesNotPresentInLastPosition";
|
|
124
|
+
export { default as areStringifiedDigitsOnly } from "./Strings/areStringifiedDigitsOnly";
|
|
125
|
+
export { default as capitalizeFirstCharacter } from "./Strings/capitalizeFirstCharacter";
|
|
126
|
+
export { default as EmailAddress } from "./Strings/EmailAddress";
|
|
127
|
+
export { default as explodeCasedPhraseToWords } from "./Strings/explodeCasedPhraseToWords";
|
|
128
|
+
export { default as getEnglishAbbreviatedOrdinalNumber } from "./Strings/getEnglishAbbreviatedOrdinalNumber";
|
|
129
|
+
export { default as hasStringOnlySpecificCharacters } from "./Strings/hasStringOnlySpecificCharacters";
|
|
130
|
+
export { default as isIPv4AddressLiesInRange } from "./Strings/isIPv4AddressLiesInRange";
|
|
104
131
|
export { default as EscapeCharacters } from "./Strings/CharactersAssets/EscapeCharacters";
|
|
105
132
|
export { default as lowercaseLatinCharacters } from "./Strings/CharactersAssets/lowercaseLatinCharacters";
|
|
106
133
|
export { default as uppercaseLatinCharacters } from "./Strings/CharactersAssets/uppercaseLatinCharacters";
|
|
107
134
|
export { default as SpaceCharacters } from "./Strings/CharactersAssets/SpaceCharacters";
|
|
108
135
|
export { default as SpaceCharactersStringifiedHexCharactersForRegularExpressionWithUnicodeFlag } from "./Strings/CharactersAssets/SpaceCharactersStringifiedHexCharactersForRegularExpressionWithUnicodeFlag";
|
|
109
136
|
export { default as stringifiedDigits } from "./Strings/CharactersAssets/stringifiedDigits";
|
|
110
|
-
export { default as areStringifiedDigitsOnly } from "./Strings/areStringifiedDigitsOnly";
|
|
111
|
-
export { default as capitalizeFirstCharacter } from "./Strings/capitalizeFirstCharacter";
|
|
112
|
-
export { default as EmailAddress } from "./Strings/EmailAddress";
|
|
113
|
-
export { default as explodeCasedPhraseToWords } from "./Strings/explodeCasedPhraseToWords";
|
|
114
137
|
export { default as extractMatchingsWithRegularExpression, type ExtractingOfMatchingsWithRegularExpression } from "./Strings/RegularExpressions/extractMatchingsWithRegularExpression";
|
|
115
|
-
export { default as getEnglishAbbreviatedOrdinalNumber } from "./Strings/getEnglishAbbreviatedOrdinalNumber";
|
|
116
138
|
export { default as getLastCharacter } from "./Strings/getLastCharacter";
|
|
117
139
|
export { default as getPositionsOfAllSubstringOccurrences } from "./Strings/getPositionsOfAllSubstringOccurrences";
|
|
118
|
-
export { default as hasStringOnlySpecificCharacters } from "./Strings/hasStringOnlySpecificCharacters";
|
|
119
140
|
export { default as insertSubstring } from "./Strings/insertSubstring";
|
|
120
141
|
export { default as insertSubstringIf } from "./Strings/insertSubstringIf";
|
|
121
|
-
export { default as isIPv4AddressLiesInRange } from "./Strings/isIPv4AddressLiesInRange";
|
|
122
142
|
export { default as removeAllSpecifiedCharacters } from "./Strings/removeAllSpecifiedCharacters";
|
|
123
143
|
export { default as removeLastCharacter } from "./Strings/removeLastCharacter";
|
|
124
144
|
export { default as removeNonDigitsCharacters } from "./Strings/removeNonDigitsCharacters";
|
|
@@ -134,7 +154,6 @@ export { default as toLowerCamelCase } from "./Strings/toLowerCamelCase";
|
|
|
134
154
|
export { default as toScreamingSnakeCase } from "./Strings/toScreamingSnakeCase";
|
|
135
155
|
export { default as toUpperCamelCase } from "./Strings/toUpperCamelCase";
|
|
136
156
|
export { default as trimSpaces } from "./Strings/trimSpaces";
|
|
137
|
-
export { default as getObjectPropertySafely } from "./Objects/getObjectPropertySafely";
|
|
138
157
|
export { default as addMultipleElementsToSet } from "./Sets/addMultipleElementsToSet";
|
|
139
158
|
export { default as addMultiplePairsToMap } from "./Maps/addMultiplePairsToMap";
|
|
140
159
|
export { default as createMapBasedOnOtherMap } from "./Maps/createMapBasedOnOtherMap";
|
|
@@ -181,22 +200,3 @@ export { default as nullToZero } from "./ValueTransformers/nullToZero";
|
|
|
181
200
|
export { default as undefinedToEmptyArray } from "./ValueTransformers/undefinedToEmptyArray";
|
|
182
201
|
export { default as undefinedToEmptyString } from "./ValueTransformers/undefinedToEmptyString";
|
|
183
202
|
export { default as undefinedToNull } from "./ValueTransformers/undefinedToNull";
|
|
184
|
-
export { default as getRandomString, RandomStringsGenerator } from "./RandomValuesGenerators/getRandomString/getRandomString";
|
|
185
|
-
export { default as getRandomArrayElement } from "./RandomValuesGenerators/getRandomArrayElement";
|
|
186
|
-
export { default as getRandomBoolean } from "./RandomValuesGenerators/getRandomBoolean";
|
|
187
|
-
export { default as getRandomInteger } from "./RandomValuesGenerators/getRandomInteger";
|
|
188
|
-
export { default as getRandomLatinCharacter } from "./RandomValuesGenerators/getRandomLatinCharacter";
|
|
189
|
-
export { default as getRandomObjectPropertyValue } from "./RandomValuesGenerators/getRandomObjectPropertyValue";
|
|
190
|
-
export { default as getRandomSubarray } from "./RandomValuesGenerators/getRandomSubarray";
|
|
191
|
-
export { default as getSpecificBooleanValueWithProbability } from "./RandomValuesGenerators/getSpecificBooleanValueWithProbability";
|
|
192
|
-
export { default as removeRandomArrayElement } from "./RandomValuesGenerators/removeRandomArrayElement";
|
|
193
|
-
export { default as computeFirstItemNumberForSpecificPaginationPage } from "./Pagination/computeFirstItemNumberForSpecificPaginationPage";
|
|
194
|
-
export { default as computeLastItemNumberForSpecificPaginationPage } from "./Pagination/computeLastItemNumberForSpecificPaginationPage";
|
|
195
|
-
export { default as splitToPaginationCollection } from "./Pagination/splitToPaginationCollection";
|
|
196
|
-
export type { PaginationCollection } from "./Pagination/splitToPaginationCollection";
|
|
197
|
-
export { default as PromisesQueue } from "./Promises/PromisesQueue";
|
|
198
|
-
export { default as RawObjectDataProcessor } from "./RawObjectDataProcessor/RawObjectDataProcessor";
|
|
199
|
-
export { default as RawObjectDataProcessorLocalization__English } from "./RawObjectDataProcessor/RawObjectDataProcessorLocalization__English";
|
|
200
|
-
export { default as convertPotentialStringToNumberIfPossible } from "./RawObjectDataProcessor/Helpers/convertPotentialStringToNumberIfPossible";
|
|
201
|
-
export { default as convertPotentialStringToIntegerIfPossible } from "./RawObjectDataProcessor/Helpers/convertPotentialStringToIntegerIfPossible";
|
|
202
|
-
export { default as convertPotentialStringToFloatIfPossible } from "./RawObjectDataProcessor/Helpers/convertPotentialStringToFloatIfPossible";
|
|
@@ -93,30 +93,49 @@ export { default as roundToSpecifiedNearestDecimalPlaceValue } from "./Numbers/r
|
|
|
93
93
|
export { default as roundUpToSpecificIntegerPlaceValue } from "./Numbers/roundUpToSpecificIntegerPlaceValue";
|
|
94
94
|
export { default as separateEach3DigitsGroupWithComma } from "./Numbers/separateEach3DigitsGroupWithComma";
|
|
95
95
|
export { default as separateEach4DigitsGroupWithComma } from "./Numbers/separateEach4DigitsGroupWithComma";
|
|
96
|
+
export { default as getObjectPropertySafely } from "./Objects/getObjectPropertySafely";
|
|
97
|
+
export { default as computeFirstItemNumberForSpecificPaginationPage } from "./Pagination/computeFirstItemNumberForSpecificPaginationPage";
|
|
98
|
+
export { default as computeLastItemNumberForSpecificPaginationPage } from "./Pagination/computeLastItemNumberForSpecificPaginationPage";
|
|
99
|
+
export { default as splitToPaginationCollection } from "./Pagination/splitToPaginationCollection";
|
|
100
|
+
export { default as PromisesQueue } from "./Promises/PromisesQueue";
|
|
101
|
+
export { default as getRandomString, RandomStringsGenerator } from "./RandomValuesGenerators/getRandomString/getRandomString";
|
|
102
|
+
export { default as getRandomArrayElement } from "./RandomValuesGenerators/getRandomArrayElement";
|
|
103
|
+
export { default as getRandomBoolean } from "./RandomValuesGenerators/getRandomBoolean";
|
|
104
|
+
export { default as getRandomInteger } from "./RandomValuesGenerators/getRandomInteger";
|
|
105
|
+
export { default as getRandomLatinCharacter } from "./RandomValuesGenerators/getRandomLatinCharacter";
|
|
106
|
+
export { default as getRandomObjectPropertyValue } from "./RandomValuesGenerators/getRandomObjectPropertyValue";
|
|
107
|
+
export { default as getRandomSubarray } from "./RandomValuesGenerators/getRandomSubarray";
|
|
108
|
+
export { default as getSpecificBooleanValueWithProbability } from "./RandomValuesGenerators/getSpecificBooleanValueWithProbability";
|
|
109
|
+
export { default as removeRandomArrayElement } from "./RandomValuesGenerators/removeRandomArrayElement";
|
|
110
|
+
export { default as RawObjectDataProcessor } from "./RawObjectDataProcessor/RawObjectDataProcessor";
|
|
111
|
+
export { default as RawObjectDataProcessorLocalization__English } from "./RawObjectDataProcessor/RawObjectDataProcessorLocalization__English";
|
|
112
|
+
export { default as convertPotentialStringToNumberIfPossible } from "./RawObjectDataProcessor/Helpers/convertPotentialStringToNumberIfPossible";
|
|
113
|
+
export { default as convertPotentialStringToIntegerIfPossible } from "./RawObjectDataProcessor/Helpers/convertPotentialStringToIntegerIfPossible";
|
|
114
|
+
export { default as convertPotentialStringToFloatIfPossible } from "./RawObjectDataProcessor/Helpers/convertPotentialStringToFloatIfPossible";
|
|
96
115
|
export { default as getMatchingWithFirstRegularExpressionCapturingGroup } from "./Strings/RegularExpressions/getMatchingWithFirstRegularExpressionCapturingGroup";
|
|
97
116
|
export { default as appendLastFileNameExtension } from "./Strings/URI/FilesAndDirectories/appendLastFileNameExtension";
|
|
98
117
|
export { default as appendFragmentToURI } from "./Strings/URI/appendFragmentToURI";
|
|
99
118
|
export { default as getURI_PartWithoutFragment } from "./Strings/URI/getURI_PartWithoutFragment";
|
|
100
119
|
export { default as getURI_Fragment } from "./Strings/URI/getURI_Fragment";
|
|
101
120
|
export { default as appendCharacterIfItDoesNotPresentInLastPosition } from "./Strings/appendCharacterIfItDoesNotPresentInLastPosition";
|
|
121
|
+
export { default as areStringifiedDigitsOnly } from "./Strings/areStringifiedDigitsOnly";
|
|
122
|
+
export { default as capitalizeFirstCharacter } from "./Strings/capitalizeFirstCharacter";
|
|
123
|
+
export { default as EmailAddress } from "./Strings/EmailAddress";
|
|
124
|
+
export { default as explodeCasedPhraseToWords } from "./Strings/explodeCasedPhraseToWords";
|
|
125
|
+
export { default as getEnglishAbbreviatedOrdinalNumber } from "./Strings/getEnglishAbbreviatedOrdinalNumber";
|
|
126
|
+
export { default as hasStringOnlySpecificCharacters } from "./Strings/hasStringOnlySpecificCharacters";
|
|
127
|
+
export { default as isIPv4AddressLiesInRange } from "./Strings/isIPv4AddressLiesInRange";
|
|
102
128
|
export { default as EscapeCharacters } from "./Strings/CharactersAssets/EscapeCharacters";
|
|
103
129
|
export { default as lowercaseLatinCharacters } from "./Strings/CharactersAssets/lowercaseLatinCharacters";
|
|
104
130
|
export { default as uppercaseLatinCharacters } from "./Strings/CharactersAssets/uppercaseLatinCharacters";
|
|
105
131
|
export { default as SpaceCharacters } from "./Strings/CharactersAssets/SpaceCharacters";
|
|
106
132
|
export { default as SpaceCharactersStringifiedHexCharactersForRegularExpressionWithUnicodeFlag } from "./Strings/CharactersAssets/SpaceCharactersStringifiedHexCharactersForRegularExpressionWithUnicodeFlag";
|
|
107
133
|
export { default as stringifiedDigits } from "./Strings/CharactersAssets/stringifiedDigits";
|
|
108
|
-
export { default as areStringifiedDigitsOnly } from "./Strings/areStringifiedDigitsOnly";
|
|
109
|
-
export { default as capitalizeFirstCharacter } from "./Strings/capitalizeFirstCharacter";
|
|
110
|
-
export { default as EmailAddress } from "./Strings/EmailAddress";
|
|
111
|
-
export { default as explodeCasedPhraseToWords } from "./Strings/explodeCasedPhraseToWords";
|
|
112
134
|
export { default as extractMatchingsWithRegularExpression } from "./Strings/RegularExpressions/extractMatchingsWithRegularExpression";
|
|
113
|
-
export { default as getEnglishAbbreviatedOrdinalNumber } from "./Strings/getEnglishAbbreviatedOrdinalNumber";
|
|
114
135
|
export { default as getLastCharacter } from "./Strings/getLastCharacter";
|
|
115
136
|
export { default as getPositionsOfAllSubstringOccurrences } from "./Strings/getPositionsOfAllSubstringOccurrences";
|
|
116
|
-
export { default as hasStringOnlySpecificCharacters } from "./Strings/hasStringOnlySpecificCharacters";
|
|
117
137
|
export { default as insertSubstring } from "./Strings/insertSubstring";
|
|
118
138
|
export { default as insertSubstringIf } from "./Strings/insertSubstringIf";
|
|
119
|
-
export { default as isIPv4AddressLiesInRange } from "./Strings/isIPv4AddressLiesInRange";
|
|
120
139
|
export { default as removeAllSpecifiedCharacters } from "./Strings/removeAllSpecifiedCharacters";
|
|
121
140
|
export { default as removeLastCharacter } from "./Strings/removeLastCharacter";
|
|
122
141
|
export { default as removeNonDigitsCharacters } from "./Strings/removeNonDigitsCharacters";
|
|
@@ -132,7 +151,6 @@ export { default as toLowerCamelCase } from "./Strings/toLowerCamelCase";
|
|
|
132
151
|
export { default as toScreamingSnakeCase } from "./Strings/toScreamingSnakeCase";
|
|
133
152
|
export { default as toUpperCamelCase } from "./Strings/toUpperCamelCase";
|
|
134
153
|
export { default as trimSpaces } from "./Strings/trimSpaces";
|
|
135
|
-
export { default as getObjectPropertySafely } from "./Objects/getObjectPropertySafely";
|
|
136
154
|
export { default as addMultipleElementsToSet } from "./Sets/addMultipleElementsToSet";
|
|
137
155
|
export { default as addMultiplePairsToMap } from "./Maps/addMultiplePairsToMap";
|
|
138
156
|
export { default as createMapBasedOnOtherMap } from "./Maps/createMapBasedOnOtherMap";
|
|
@@ -174,21 +192,3 @@ export { default as nullToZero } from "./ValueTransformers/nullToZero";
|
|
|
174
192
|
export { default as undefinedToEmptyArray } from "./ValueTransformers/undefinedToEmptyArray";
|
|
175
193
|
export { default as undefinedToEmptyString } from "./ValueTransformers/undefinedToEmptyString";
|
|
176
194
|
export { default as undefinedToNull } from "./ValueTransformers/undefinedToNull";
|
|
177
|
-
export { default as getRandomString, RandomStringsGenerator } from "./RandomValuesGenerators/getRandomString/getRandomString";
|
|
178
|
-
export { default as getRandomArrayElement } from "./RandomValuesGenerators/getRandomArrayElement";
|
|
179
|
-
export { default as getRandomBoolean } from "./RandomValuesGenerators/getRandomBoolean";
|
|
180
|
-
export { default as getRandomInteger } from "./RandomValuesGenerators/getRandomInteger";
|
|
181
|
-
export { default as getRandomLatinCharacter } from "./RandomValuesGenerators/getRandomLatinCharacter";
|
|
182
|
-
export { default as getRandomObjectPropertyValue } from "./RandomValuesGenerators/getRandomObjectPropertyValue";
|
|
183
|
-
export { default as getRandomSubarray } from "./RandomValuesGenerators/getRandomSubarray";
|
|
184
|
-
export { default as getSpecificBooleanValueWithProbability } from "./RandomValuesGenerators/getSpecificBooleanValueWithProbability";
|
|
185
|
-
export { default as removeRandomArrayElement } from "./RandomValuesGenerators/removeRandomArrayElement";
|
|
186
|
-
export { default as computeFirstItemNumberForSpecificPaginationPage } from "./Pagination/computeFirstItemNumberForSpecificPaginationPage";
|
|
187
|
-
export { default as computeLastItemNumberForSpecificPaginationPage } from "./Pagination/computeLastItemNumberForSpecificPaginationPage";
|
|
188
|
-
export { default as splitToPaginationCollection } from "./Pagination/splitToPaginationCollection";
|
|
189
|
-
export { default as PromisesQueue } from "./Promises/PromisesQueue";
|
|
190
|
-
export { default as RawObjectDataProcessor } from "./RawObjectDataProcessor/RawObjectDataProcessor";
|
|
191
|
-
export { default as RawObjectDataProcessorLocalization__English } from "./RawObjectDataProcessor/RawObjectDataProcessorLocalization__English";
|
|
192
|
-
export { default as convertPotentialStringToNumberIfPossible } from "./RawObjectDataProcessor/Helpers/convertPotentialStringToNumberIfPossible";
|
|
193
|
-
export { default as convertPotentialStringToIntegerIfPossible } from "./RawObjectDataProcessor/Helpers/convertPotentialStringToIntegerIfPossible";
|
|
194
|
-
export { default as convertPotentialStringToFloatIfPossible } from "./RawObjectDataProcessor/Helpers/convertPotentialStringToFloatIfPossible";
|