Socket
Book a DemoInstallSign in
Socket

version-compare

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

version-compare - npm Package Compare versions

Comparing version

to
3.12.0

deno.lock

2

edition-browsers/index.js

@@ -11,3 +11,3 @@ export var VersionIs;

* @param other The version to compare against the current version
* @return 1 if current is greater than other, 0 if they are equal or equivalent, and -1 if current is less than other
* @returns 1 if current is greater than other, 0 if they are equal or equivalent, and -1 if current is less than other
*/

@@ -14,0 +14,0 @@ export default function versionCompare(current, other) {

@@ -12,3 +12,3 @@ export type Version = string | number

* @param other The version to compare against the current version
* @return 1 if current is greater than other, 0 if they are equal or equivalent, and -1 if current is less than other
* @returns 1 if current is greater than other, 0 if they are equal or equivalent, and -1 if current is less than other
*/

@@ -15,0 +15,0 @@ export default function versionCompare(

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VersionIs = void 0;
exports.default = versionCompare;
var VersionIs;

@@ -14,3 +15,3 @@ (function (VersionIs) {

* @param other The version to compare against the current version
* @return 1 if current is greater than other, 0 if they are equal or equivalent, and -1 if current is less than other
* @returns 1 if current is greater than other, 0 if they are equal or equivalent, and -1 if current is less than other
*/

@@ -34,2 +35,1 @@ function versionCompare(current, other) {

}
exports.default = versionCompare;

@@ -11,5 +11,5 @@ export type Version = string | number;

* @param other The version to compare against the current version
* @return 1 if current is greater than other, 0 if they are equal or equivalent, and -1 if current is less than other
* @returns 1 if current is greater than other, 0 if they are equal or equivalent, and -1 if current is less than other
*/
export default function versionCompare(current: Version, other: Version): VersionIs;
//# sourceMappingURL=index.d.ts.map
{
"name": "version-compare",
"version": "3.11.0",
"version": "3.12.0",
"license": "Artistic-2.0",

@@ -23,3 +23,3 @@ "description": "Comparator to determine if a version is less than, equivalent to, or greater than another version",

"end",
"es2022",
"es2024",
"es5",

@@ -52,3 +52,2 @@ "export-default",

"thanksdev",
"patreon",
"liberapay",

@@ -67,10 +66,7 @@ "buymeacoffee",

"thanksdevGithubUsername": "bevry",
"liberapayUsername": "bevry",
"buymeacoffeeUsername": "balupton",
"opencollectiveUsername": "bevry",
"cryptoURL": "https://bevry.me/crypto",
"flattrUsername": "balupton",
"liberapayUsername": "bevry",
"opencollectiveUsername": "bevry",
"patreonUsername": "bevry",
"paypalURL": "https://bevry.me/paypal",
"wishlistURL": "https://bevry.me/wishlist",
"discordServerID": "1147436445783560193",

@@ -96,20 +92,21 @@ "discordServerInvite": "nQuXddV7VP",

"sponsors": [
"Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew): Software engineer and researcher",
"Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa): We're Balsa, and we're building tools for builders.",
"Codecov <hello-codecov@sentry.io> (https://codecov.io) (https://github.com/codecov): Empower developers with tools to improve code quality and testing.",
"Frontend Masters <support@frontendmasters.com> (https://FrontendMasters.com) (https://github.com/FrontendMasters) (https://thanks.dev/d/gh/FrontendMasters): The training platform for web app engineering skills – from front-end to full-stack! 🚀",
"Andrew Nesbitt <andrewnez@gmail.com> (https://nesbitt.io) (https://github.com/andrew): Working on mapping the world of open source software @ecosyste-ms and empowering developers with @octobox",
"Divinci ™ <hi@divinci.ai> (https://divinci.ai) (https://github.com/Divinci-AI): A more comfortable AI conversation experience, with friends! 🤖🖤",
"Mr. Henry <hello@mrhenry.be> (https://mrhenry.be) (https://github.com/mrhenry)",
"Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)",
"Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)",
"Sentry (https://sentry.io) (https://github.com/getsentry): Real-time crash reporting for your web apps, mobile apps, and games.",
"Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm): Syntax Podcast"
"Roboflow <hello@roboflow.com> (https://roboflow.com) (https://github.com/roboflow)",
"Square (https://github.com/square) (https://thanks.dev/d/gh/square)"
],
"donors": [
"Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew)",
"Armen Mkrtchian (https://mogoni.dev) (https://github.com/Armenm)",
"Andrew Nesbitt <andrewnez@gmail.com> (https://nesbitt.io) (https://github.com/andrew)",
"Ángel González <aglezabad@gmail.com> (https://univunix.com) (https://github.com/Aglezabad) (https://twitter.com/Aglezabad)",
"Arjun Aditya <nermalcat69@skiff.com> (https://arjunaditya.xyz) (https://github.com/nermalcat69)",
"Armen Mkrtchian <armen.mkrtchian@gmail.com> (https://mogoni.dev) (https://github.com/Armenm) (https://twitter.com/armen_mkrtchian)",
"Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa)",
"Canonical (https://canonical.com) (https://github.com/canonical) (https://thanks.dev/d/gh/canonical)",
"Chad (https://opencollective.com/chad8)",
"Codecov <hello-codecov@sentry.io> (https://codecov.io) (https://github.com/codecov)",
"Divinci ™ <hi@divinci.ai> (https://divinci.ai) (https://github.com/Divinci-AI)",
"dr.dimitru (https://veliovgroup.com) (https://github.com/dr-dimitru)",
"Elliott Ditman (https://elliottditman.com) (https://github.com/elliottditman)",
"Elliott Ditman <elliottditman@gmail.com> (https://elliottditman.com) (https://github.com/elliottditman) (https://patreon.com/user?u=15026448)",
"entroniq (https://gitlab.com/entroniq) (https://thanks.dev/d/gl/entroniq)",

@@ -120,14 +117,17 @@ "Frontend Masters <support@frontendmasters.com> (https://FrontendMasters.com) (https://github.com/FrontendMasters) (https://thanks.dev/d/gh/FrontendMasters)",

"Jean-Luc Geering (https://github.com/jlgeering) (https://opencollective.com/jlgeering) (https://twitter.com/jlgeering)",
"Michael Duane Mooring (https://mdm.cc) (https://github.com/mikeumus) (https://opencollective.com/mikeumus) (https://twitter.com/mikeumus)",
"Lee Driscoll <lsdriscoll@icloud.com> (https://leedriscoll.me) (https://github.com/leedriscoll) (https://patreon.com/user?u=5292556)",
"Michael Duane Mooring (https://divinci.app) (https://github.com/mikeumus) (https://opencollective.com/mikeumus) (https://twitter.com/mikeumus)",
"Michael Harry Scepaniak <mhs1.sys@gmail.com> (https://michaelscepaniak.com) (https://github.com/hispanic)",
"Mohammed Shah <shah@idk.uno> (https://github.com/smashah) (https://thanks.dev/d/gh/smashah) (https://twitter.com/smashah)",
"Mr. Henry <hello@mrhenry.be> (https://mrhenry.be) (https://github.com/mrhenry)",
"Nermal <nermalcat69@skiff.com> (https://arjunaditya.vercel.app) (https://github.com/nermalcat69)",
"Pleo (https://pleo.io) (https://github.com/pleo-io)",
"Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)",
"Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)",
"Robert de Forest <guitar.robot@gmail.com> (https://github.com/rdeforest)",
"Sentry (https://sentry.io) (https://github.com/getsentry)",
"Rob Morris <rob@prismatik.com.au> (https://linktr.ee/recipromancer) (https://github.com/Rob-Morris)",
"Roboflow <hello@roboflow.com> (https://roboflow.com) (https://github.com/roboflow)",
"Scott Kempson <scottkempson@gmail.com> (https://github.com/scokem) (https://twitter.com/scokem)",
"Sentry <support@sentry.io> (https://sentry.io) (https://github.com/getsentry)",
"ServieJS (https://github.com/serviejs) (https://thanks.dev/d/gh/serviejs)",
"Skunk Team (https://skunk.team) (https://github.com/skunkteam)",
"Square (https://github.com/square) (https://thanks.dev/d/gh/square)",
"Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm)",

@@ -152,3 +152,3 @@ "WriterJohnBuck (https://github.com/WriterJohnBuck)"

{
"description": "TypeScript compiled against ES2022 for web browsers with Import for modules",
"description": "TypeScript compiled against ES2024 for web browsers with Import for modules",
"directory": "edition-browsers",

@@ -167,4 +167,4 @@ "entry": "index.js",

{
"description": "TypeScript compiled against ES2022 for Node.js 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules",
"directory": "edition-es2022",
"description": "TypeScript compiled against ES2024 for Node.js 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 22 || 24 with Require for modules",
"directory": "edition-es2024",
"entry": "index.js",

@@ -174,7 +174,7 @@ "tags": [

"javascript",
"es2022",
"es2024",
"require"
],
"engines": {
"node": "6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21",
"node": "6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 22 || 24",
"browsers": false

@@ -184,3 +184,3 @@ }

{
"description": "TypeScript compiled against ES5 for Node.js 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules",
"description": "TypeScript compiled against ES5 for Node.js 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 22 || 24 with Require for modules",
"directory": "edition-es5",

@@ -195,3 +195,3 @@ "entry": "index.js",

"engines": {
"node": "4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21",
"node": "4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 22 || 24",
"browsers": false

@@ -201,4 +201,4 @@ }

{
"description": "TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules",
"directory": "edition-es2022-esm",
"description": "TypeScript compiled against ES2024 for Node.js 12 || 14 || 16 || 18 || 20 || 22 || 24 with Import for modules",
"directory": "edition-es2024-esm",
"entry": "index.js",

@@ -208,7 +208,7 @@ "tags": [

"javascript",
"es2022",
"es2024",
"import"
],
"engines": {
"node": "12 || 14 || 16 || 18 || 20 || 21",
"node": "12 || 14 || 16 || 18 || 20 || 22 || 24",
"browsers": false

@@ -249,5 +249,5 @@ }

"types": "./edition-types/index.d.ts",
"import": "./edition-es2022-esm/index.js",
"import": "./edition-es2024-esm/index.js",
"default": "./index.cjs",
"require": "./edition-es2022/index.js"
"require": "./edition-es2024/index.js"
},

@@ -266,16 +266,12 @@ "browser": {

"devDependencies": {
"@types/node": "^20.10.7",
"@typescript-eslint/eslint-plugin": "^6.18.0",
"@typescript-eslint/parser": "^6.18.0",
"assert-helpers": "^11.12.0",
"eslint": "^8.56.0",
"eslint-config-bevry": "^5.5.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.2",
"@types/node": "^24.2.0",
"assert-helpers": "^11.13.0",
"eslint": "^9.32.0",
"eslint-config-bevry": "^6.1.2",
"kava": "^7.9.0",
"make-deno-edition": "^2.3.0",
"prettier": "^3.1.1",
"prettier": "^3.6.2",
"projectz": "^4.2.0",
"typedoc": "^0.25.6",
"typescript": "5.3.3",
"typedoc": "^0.28.9",
"typescript": "5.9.2",
"valid-directory": "^4.9.0",

@@ -286,8 +282,8 @@ "valid-module": "^2.6.0"

"our:clean": "rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
"our:compile": "npm run our:compile:deno && npm run our:compile:edition-browsers && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-es5 && npm run our:compile:edition-types",
"our:compile": "npm run our:compile:deno && npm run our:compile:edition-browsers && npm run our:compile:edition-es2024 && npm run our:compile:edition-es2024-esm && npm run our:compile:edition-es5 && npm run our:compile:edition-types",
"our:compile:deno": "make-deno-edition --attempt",
"our:compile:edition-browsers": "tsc --module ESNext --target ES2022 --outDir ./edition-browsers --project tsconfig.json && ( test ! -d edition-browsers/source || ( mv edition-browsers/source edition-temp && rm -rf edition-browsers && mv edition-temp edition-browsers ) )",
"our:compile:edition-es2022": "tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json",
"our:compile:edition-es2022-esm": "tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/package.json",
"our:compile:edition-es5": "tsc --module commonjs --target ES5 --outDir ./edition-es5 --project tsconfig.json && ( test ! -d edition-es5/source || ( mv edition-es5/source edition-temp && rm -rf edition-es5 && mv edition-temp edition-es5 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es5/package.json",
"our:compile:edition-browsers": "tsc --module esnext --target es2024 --outDir ./edition-browsers --project tsconfig.json && ( test ! -d edition-browsers/source || ( mv edition-browsers/source edition-temp && rm -rf edition-browsers && mv edition-temp edition-browsers ) )",
"our:compile:edition-es2024": "tsc --module commonjs --target es2024 --outDir ./edition-es2024 --project tsconfig.json && ( test ! -d edition-es2024/source || ( mv edition-es2024/source edition-temp && rm -rf edition-es2024 && mv edition-temp edition-es2024 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2024/package.json",
"our:compile:edition-es2024-esm": "tsc --module esnext --target es2024 --outDir ./edition-es2024-esm --project tsconfig.json && ( test ! -d edition-es2024-esm/source || ( mv edition-es2024-esm/source edition-temp && rm -rf edition-es2024-esm && mv edition-temp edition-es2024-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2024-esm/package.json",
"our:compile:edition-es5": "tsc --module commonjs --target es5 --outDir ./edition-es5 --project tsconfig.json && ( test ! -d edition-es5/source || ( mv edition-es5/source edition-temp && rm -rf edition-es5 && mv edition-temp edition-es5 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es5/package.json",
"our:compile:edition-types": "tsc --emitDeclarationOnly --declaration --declarationMap --declarationDir ./edition-types --project tsconfig.json && ( test ! -d edition-types/source || ( mv edition-types/source edition-temp && rm -rf edition-types && mv edition-temp edition-types ) )",

@@ -309,3 +305,3 @@ "our:deploy": "printf '%s\n' 'no need for this project'",

"our:verify": "npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier",
"our:verify:eslint": "eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source",
"our:verify:eslint": "eslint --fix",
"our:verify:module": "valid-module",

@@ -315,7 +311,2 @@ "our:verify:prettier": "prettier --write .",

},
"eslintConfig": {
"extends": [
"bevry"
]
},
"prettier": {

@@ -322,0 +313,0 @@ "semi": false,

@@ -15,3 +15,2 @@ <!-- TITLE/ -->

<span class="badge-thanksdev"><a href="https://thanks.dev/u/gh/bevry" title="Donate to this project using ThanksDev"><img src="https://img.shields.io/badge/thanksdev-donate-yellow.svg" alt="ThanksDev donate button" /></a></span>
<span class="badge-patreon"><a href="https://patreon.com/bevry" title="Donate to this project using Patreon"><img src="https://img.shields.io/badge/patreon-donate-yellow.svg" alt="Patreon donate button" /></a></span>
<span class="badge-liberapay"><a href="https://liberapay.com/bevry" title="Donate to this project using Liberapay"><img src="https://img.shields.io/badge/liberapay-donate-yellow.svg" alt="Liberapay donate button" /></a></span>

@@ -49,13 +48,13 @@ <span class="badge-buymeacoffee"><a href="https://buymeacoffee.com/balupton" title="Donate to this project using Buy Me A Coffee"><img src="https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg" alt="Buy Me A Coffee donate button" /></a></span>

- [version-clean](https://github.com/bevry/version-clean)
- [version-compare](https://github.com/bevry/version-compare)
- [version-range](https://github.com/bevry/version-range)
- [version-clean](https://github.com/bevry/version-clean)
- [version-compare](https://github.com/bevry/version-compare)
- [version-range](https://github.com/bevry/version-range)
And if you are specifically interested in Node.js and ECMAScript versions:
- [ecmascript-versions](https://github.com/bevry/ecmascript-versions)
- [nodejs-ecmascript-compatibility](https://github.com/bevry/nodejs-ecmascript-compatibility)
- [nodejs-releases](https://github.com/bevry/nodejs-releases)
- [nodejs-schedule](https://github.com/bevry/nodejs-schedule)
- [nodejs-versions](https://github.com/bevry/nodejs-versions)
- [ecmascript-versions](https://github.com/bevry/ecmascript-versions)
- [nodejs-ecmascript-compatibility](https://github.com/bevry/nodejs-ecmascript-compatibility)
- [nodejs-releases](https://github.com/bevry/nodejs-releases)
- [nodejs-schedule](https://github.com/bevry/nodejs-schedule)
- [nodejs-versions](https://github.com/bevry/nodejs-versions)

@@ -75,3 +74,3 @@ <!-- INSTALL/ -->

``` typescript
import pkg from 'https://unpkg.com/version-compare@^3.11.0/edition-deno/index.ts'
import pkg from 'https://unpkg.com/version-compare@^3.12.0/edition-deno/index.ts'
```

@@ -82,3 +81,3 @@ ### [Skypack](https://www.skypack.dev "Skypack is a JavaScript Delivery Network for modern web apps")

<script type="module">
import pkg from '//cdn.skypack.dev/version-compare@^3.11.0'
import pkg from '//cdn.skypack.dev/version-compare@^3.12.0'
</script>

@@ -90,3 +89,3 @@ ```

<script type="module">
import pkg from '//unpkg.com/version-compare@^3.11.0'
import pkg from '//unpkg.com/version-compare@^3.12.0'
</script>

@@ -98,3 +97,3 @@ ```

<script type="module">
import pkg from '//dev.jspm.io/version-compare@3.11.0'
import pkg from '//dev.jspm.io/version-compare@3.12.0'
</script>

@@ -107,6 +106,6 @@ ```

- `version-compare/source/index.ts` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") source code with [Import](https://babeljs.io/docs/learn-es2015/#modules "ECMAScript Modules") for modules
- `version-compare/edition-browsers/index.js` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled against [ES2022](https://en.wikipedia.org/wiki/ES2022 "ECMAScript 2022") for web browsers with [Import](https://babeljs.io/docs/learn-es2015/#modules "ECMAScript Modules") for modules
- `version-compare/edition-es2022/index.js` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled against [ES2022](https://en.wikipedia.org/wiki/ES2022 "ECMAScript 2022") for [Node.js](https://nodejs.org "Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine") 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with [Require](https://nodejs.org/dist/latest-v5.x/docs/api/modules.html "Node/CJS Modules") for modules
- `version-compare/edition-es5/index.js` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled against ES5 for [Node.js](https://nodejs.org "Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine") 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with [Require](https://nodejs.org/dist/latest-v5.x/docs/api/modules.html "Node/CJS Modules") for modules
- `version-compare/edition-es2022-esm/index.js` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled against [ES2022](https://en.wikipedia.org/wiki/ES2022 "ECMAScript 2022") for [Node.js](https://nodejs.org "Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine") 12 || 14 || 16 || 18 || 20 || 21 with [Import](https://babeljs.io/docs/learn-es2015/#modules "ECMAScript Modules") for modules
- `version-compare/edition-browsers/index.js` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled against [ES2024](https://en.wikipedia.org/wiki/ES2024 "ECMAScript 2024") for web browsers with [Import](https://babeljs.io/docs/learn-es2015/#modules "ECMAScript Modules") for modules
- `version-compare/edition-es2024/index.js` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled against [ES2024](https://en.wikipedia.org/wiki/ES2024 "ECMAScript 2024") for [Node.js](https://nodejs.org "Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine") 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 22 || 24 with [Require](https://nodejs.org/dist/latest-v5.x/docs/api/modules.html "Node/CJS Modules") for modules
- `version-compare/edition-es5/index.js` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled against ES5 for [Node.js](https://nodejs.org "Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine") 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 22 || 24 with [Require](https://nodejs.org/dist/latest-v5.x/docs/api/modules.html "Node/CJS Modules") for modules
- `version-compare/edition-es2024-esm/index.js` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled against [ES2024](https://en.wikipedia.org/wiki/ES2024 "ECMAScript 2024") for [Node.js](https://nodejs.org "Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine") 12 || 14 || 16 || 18 || 20 || 22 || 24 with [Import](https://babeljs.io/docs/learn-es2015/#modules "ECMAScript Modules") for modules
- `version-compare/edition-types/index.d.ts` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled Types with [Import](https://babeljs.io/docs/learn-es2015/#modules "ECMAScript Modules") for modules

@@ -149,3 +148,2 @@ - `version-compare/edition-deno/index.ts` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") source code made to be compatible with [Deno](https://deno.land "Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js")

<span class="badge-thanksdev"><a href="https://thanks.dev/u/gh/bevry" title="Donate to this project using ThanksDev"><img src="https://img.shields.io/badge/thanksdev-donate-yellow.svg" alt="ThanksDev donate button" /></a></span>
<span class="badge-patreon"><a href="https://patreon.com/bevry" title="Donate to this project using Patreon"><img src="https://img.shields.io/badge/patreon-donate-yellow.svg" alt="Patreon donate button" /></a></span>
<span class="badge-liberapay"><a href="https://liberapay.com/bevry" title="Donate to this project using Liberapay"><img src="https://img.shields.io/badge/liberapay-donate-yellow.svg" alt="Liberapay donate button" /></a></span>

@@ -159,11 +157,8 @@ <span class="badge-buymeacoffee"><a href="https://buymeacoffee.com/balupton" title="Donate to this project using Buy Me A Coffee"><img src="https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg" alt="Buy Me A Coffee donate button" /></a></span>

- [Andrew Nesbitt](https://nesbitt.io) — Software engineer and researcher
- [Balsa](https://balsa.com) — We're Balsa, and we're building tools for builders.
- [Codecov](https://codecov.io) — Empower developers with tools to improve code quality and testing.
- [Frontend Masters](https://FrontendMasters.com) — The training platform for web app engineering skills – from front-end to full-stack! 🚀
- [Andrew Nesbitt](https://nesbitt.io) — Working on mapping the world of open source software @ecosyste-ms and empowering developers with @octobox
- [Divinci ™](https://divinci.ai) — A more comfortable AI conversation experience, with friends! 🤖🖤
- [Mr. Henry](https://mrhenry.be)
- [Poonacha Medappa](https://poonachamedappa.com)
- [Rob Morris](https://github.com/Rob-Morris)
- [Sentry](https://sentry.io) — Real-time crash reporting for your web apps, mobile apps, and games.
- [Syntax](https://syntax.fm) — Syntax Podcast
- [Roboflow](https://roboflow.com)
- [Square](https://github.com/square)

@@ -173,6 +168,10 @@ #### Donors

- [Andrew Nesbitt](https://nesbitt.io)
- [Ángel González](https://univunix.com)
- [Arjun Aditya](https://arjunaditya.xyz)
- [Armen Mkrtchian](https://mogoni.dev)
- [Balsa](https://balsa.com)
- [Canonical](https://canonical.com)
- [Chad](https://opencollective.com/chad8)
- [Codecov](https://codecov.io)
- [Divinci ™](https://divinci.ai)
- [dr.dimitru](https://veliovgroup.com)

@@ -185,14 +184,17 @@ - [Elliott Ditman](https://elliottditman.com)

- [Jean-Luc Geering](https://github.com/jlgeering)
- [Michael Duane Mooring](https://mdm.cc)
- [Lee Driscoll](https://leedriscoll.me)
- [Michael Duane Mooring](https://divinci.app)
- [Michael Harry Scepaniak](https://michaelscepaniak.com)
- [Mohammed Shah](https://github.com/smashah)
- [Mr. Henry](https://mrhenry.be)
- [Nermal](https://arjunaditya.vercel.app)
- [Pleo](https://pleo.io)
- [Poonacha Medappa](https://poonachamedappa.com)
- [Rob Morris](https://github.com/Rob-Morris)
- [Robert de Forest](https://github.com/rdeforest)
- [Rob Morris](https://linktr.ee/recipromancer)
- [Roboflow](https://roboflow.com)
- [Scott Kempson](https://github.com/scokem)
- [Sentry](https://sentry.io)
- [ServieJS](https://github.com/serviejs)
- [Skunk Team](https://skunk.team)
- [Square](https://github.com/square)
- [Syntax](https://syntax.fm)

@@ -199,0 +201,0 @@ - [WriterJohnBuck](https://github.com/WriterJohnBuck)

@@ -12,3 +12,3 @@ export type Version = string | number

* @param other The version to compare against the current version
* @return 1 if current is greater than other, 0 if they are equal or equivalent, and -1 if current is less than other
* @returns 1 if current is greater than other, 0 if they are equal or equivalent, and -1 if current is less than other
*/

@@ -15,0 +15,0 @@ export default function versionCompare(

@@ -8,8 +8,8 @@ {

"maxNodeModuleJsDepth": 5,
"module": "ESNext",
"moduleResolution": "Node",
"module": "esnext",
"moduleResolution": "node",
"strict": true,
"target": "ES2022"
"target": "es2023"
},
"include": ["source"]
}