From 6555fb80fdd8f6a5d201efadec3189d1244830a0 Mon Sep 17 00:00:00 2001 From: Nevena Bojovic Date: Tue, 1 Mar 2022 22:05:25 +0100 Subject: Izbrisala bin, obj i node-modules. --- .../Front/node_modules/socks/build/common/util.js | 26 ---------------------- 1 file changed, 26 deletions(-) delete mode 100644 sandbox/testAppNevena/Front/node_modules/socks/build/common/util.js (limited to 'sandbox/testAppNevena/Front/node_modules/socks/build/common/util.js') diff --git a/sandbox/testAppNevena/Front/node_modules/socks/build/common/util.js b/sandbox/testAppNevena/Front/node_modules/socks/build/common/util.js deleted file mode 100644 index 283314a0..00000000 --- a/sandbox/testAppNevena/Front/node_modules/socks/build/common/util.js +++ /dev/null @@ -1,26 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.shuffleArray = exports.SocksClientError = void 0; -/** - * Error wrapper for SocksClient - */ -class SocksClientError extends Error { - constructor(message, options) { - super(message); - this.options = options; - } -} -exports.SocksClientError = SocksClientError; -/** - * Shuffles a given array. - * @param array The array to shuffle. - */ -function shuffleArray(array) { - // tslint:disable-next-line:no-increment-decrement - for (let i = array.length - 1; i > 0; i--) { - const j = Math.floor(Math.random() * (i + 1)); - [array[i], array[j]] = [array[j], array[i]]; - } -} -exports.shuffleArray = shuffleArray; -//# sourceMappingURL=util.js.map \ No newline at end of file -- cgit v1.2.3