summaryrefslogtreecommitdiff
path: root/node_modules/semver-compare
diff options
context:
space:
mode:
authorLinuxWizard42 <computerwizard@linuxmail.org>2022-10-12 23:08:57 +0300
committerLinuxWizard42 <computerwizard@linuxmail.org>2022-10-12 23:08:57 +0300
commit726b81b19251674e149ccfbb1abacbd837fc6db0 (patch)
treefbdbb227dc01357eb76e8222d76185bc124c5ca6 /node_modules/semver-compare
parent34f0890e175698940d49238097579f44e4d78c89 (diff)
downloadFlashRunner-726b81b19251674e149ccfbb1abacbd837fc6db0.tar.gz
FlashRunner-726b81b19251674e149ccfbb1abacbd837fc6db0.tar.zst
Removed files that should not have been included in git
Diffstat (limited to 'node_modules/semver-compare')
-rw-r--r--node_modules/semver-compare/.travis.yml6
-rw-r--r--node_modules/semver-compare/LICENSE18
-rw-r--r--node_modules/semver-compare/example/cmp.js13
-rw-r--r--node_modules/semver-compare/example/lex.js12
-rw-r--r--node_modules/semver-compare/index.js13
-rw-r--r--node_modules/semver-compare/package.json31
-rw-r--r--node_modules/semver-compare/readme.markdown77
-rw-r--r--node_modules/semver-compare/test/cmp.js29
8 files changed, 0 insertions, 199 deletions
diff --git a/node_modules/semver-compare/.travis.yml b/node_modules/semver-compare/.travis.yml
deleted file mode 100644
index 8d4715c..0000000
--- a/node_modules/semver-compare/.travis.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-language: node_js
-node_js:
- - "0.8"
- - "0.10"
-before_install:
- - npm install -g npm
diff --git a/node_modules/semver-compare/LICENSE b/node_modules/semver-compare/LICENSE
deleted file mode 100644
index ee27ba4..0000000
--- a/node_modules/semver-compare/LICENSE
+++ /dev/null
@@ -1,18 +0,0 @@
-This software is released under the MIT license:
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/semver-compare/example/cmp.js b/node_modules/semver-compare/example/cmp.js
deleted file mode 100644
index 458eae1..0000000
--- a/node_modules/semver-compare/example/cmp.js
+++ /dev/null
@@ -1,13 +0,0 @@
-var cmp = require('../');
-var versions = [
- '1.2.3',
- '4.11.6',
- '4.2.0',
- '1.5.19',
- '1.5.5',
- '4.1.3',
- '2.3.1',
- '10.5.5',
- '11.3.0'
-];
-console.log(versions.sort(cmp).join('\n'));
diff --git a/node_modules/semver-compare/example/lex.js b/node_modules/semver-compare/example/lex.js
deleted file mode 100644
index c04d9f6..0000000
--- a/node_modules/semver-compare/example/lex.js
+++ /dev/null
@@ -1,12 +0,0 @@
-var versions = [
- '1.2.3',
- '4.11.6',
- '4.2.0',
- '1.5.19',
- '1.5.5',
- '4.1.3',
- '2.3.1',
- '10.5.5',
- '11.3.0'
-];
-console.log(versions.sort().join('\n'));
diff --git a/node_modules/semver-compare/index.js b/node_modules/semver-compare/index.js
deleted file mode 100644
index cec978d..0000000
--- a/node_modules/semver-compare/index.js
+++ /dev/null
@@ -1,13 +0,0 @@
-module.exports = function cmp (a, b) {
- var pa = a.split('.');
- var pb = b.split('.');
- for (var i = 0; i < 3; i++) {
- var na = Number(pa[i]);
- var nb = Number(pb[i]);
- if (na > nb) return 1;
- if (nb > na) return -1;
- if (!isNaN(na) && isNaN(nb)) return 1;
- if (isNaN(na) && !isNaN(nb)) return -1;
- }
- return 0;
-};
diff --git a/node_modules/semver-compare/package.json b/node_modules/semver-compare/package.json
deleted file mode 100644
index 0b111ff..0000000
--- a/node_modules/semver-compare/package.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "name": "semver-compare",
- "version": "1.0.0",
- "description": "compare two semver version strings, returning -1, 0, or 1",
- "main": "index.js",
- "dependencies": {},
- "devDependencies": {
- "tape": "^3.0.0"
- },
- "scripts": {
- "test": "tape test/*.js"
- },
- "repository": {
- "type": "git",
- "url": "git://github.com/substack/semver-compare.git"
- },
- "homepage": "https://github.com/substack/semver-compare",
- "keywords": [
- "semver",
- "compare",
- "cmp",
- "comparison",
- "sort"
- ],
- "author": {
- "name": "James Halliday",
- "email": "mail@substack.net",
- "url": "http://substack.net"
- },
- "license": "MIT"
-}
diff --git a/node_modules/semver-compare/readme.markdown b/node_modules/semver-compare/readme.markdown
deleted file mode 100644
index 927a369..0000000
--- a/node_modules/semver-compare/readme.markdown
+++ /dev/null
@@ -1,77 +0,0 @@
-# semver-compare
-
-compare two semver version strings, returning -1, 0, or 1
-
-The return value can be fed straight into `[].sort`.
-
-[![build status](https://secure.travis-ci.org/substack/semver-compare.png)](http://travis-ci.org/substack/semver-compare)
-
-# example
-
-``` js
-var cmp = require('semver-compare');
-var versions = [
- '1.2.3',
- '4.11.6',
- '4.2.0',
- '1.5.19',
- '1.5.5',
- '4.1.3',
- '2.3.1',
- '10.5.5',
- '11.3.0'
-];
-console.log(versions.sort(cmp).join('\n'));
-```
-
-prints:
-
-```
-1.2.3
-1.5.5
-1.5.19
-2.3.1
-4.1.3
-4.2.0
-4.11.6
-10.5.5
-11.3.0
-```
-
-whereas the default lexicographic sort (`versions.sort()`) would be:
-
-```
-1.2.3
-1.5.19
-1.5.5
-10.5.5
-11.3.0
-2.3.1
-4.1.3
-4.11.6
-4.2.0
-```
-
-# methods
-
-```
-var cmp = require('semver-compare')
-```
-
-## cmp(a, b)
-
-If the semver string `a` is greater than `b`, return `1`.
-If the semver string `b` is greater than `a`, return `-1`.
-If `a` equals `b`, return 0;
-
-# install
-
-With [npm](https://npmjs.org) do:
-
-```
-npm install semver-compare
-```
-
-# license
-
-MIT
diff --git a/node_modules/semver-compare/test/cmp.js b/node_modules/semver-compare/test/cmp.js
deleted file mode 100644
index a706234..0000000
--- a/node_modules/semver-compare/test/cmp.js
+++ /dev/null
@@ -1,29 +0,0 @@
-var cmp = require('../');
-var test = require('tape');
-
-var versions = [
- '1.2.3',
- '4.11.6',
- '4.2.0',
- '1.5.19',
- '1.5.5',
- '4.1.3',
- '2.3.1',
- '10.5.5',
- '11.3.0'
-];
-
-test('cmp', function (t) {
- t.plan(1);
- t.deepEqual(versions.sort(cmp), [
- '1.2.3',
- '1.5.5',
- '1.5.19',
- '2.3.1',
- '4.1.3',
- '4.2.0',
- '4.11.6',
- '10.5.5',
- '11.3.0'
- ]);
-});