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. --- .../node_modules/semver/internal/identifiers.js | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100644 sandbox/testAppNevena/Front/node_modules/semver/internal/identifiers.js (limited to 'sandbox/testAppNevena/Front/node_modules/semver/internal/identifiers.js') diff --git a/sandbox/testAppNevena/Front/node_modules/semver/internal/identifiers.js b/sandbox/testAppNevena/Front/node_modules/semver/internal/identifiers.js deleted file mode 100644 index ed130942..00000000 --- a/sandbox/testAppNevena/Front/node_modules/semver/internal/identifiers.js +++ /dev/null @@ -1,23 +0,0 @@ -const numeric = /^[0-9]+$/ -const compareIdentifiers = (a, b) => { - const anum = numeric.test(a) - const bnum = numeric.test(b) - - if (anum && bnum) { - a = +a - b = +b - } - - return a === b ? 0 - : (anum && !bnum) ? -1 - : (bnum && !anum) ? 1 - : a < b ? -1 - : 1 -} - -const rcompareIdentifiers = (a, b) => compareIdentifiers(b, a) - -module.exports = { - compareIdentifiers, - rcompareIdentifiers -} -- cgit v1.2.3