mirror of
https://github.com/JonasunderscoreJones/aka-worker.git
synced 2025-10-24 02:19:17 +02:00
Initial commit (by create-cloudflare CLI)
This commit is contained in:
parent
8cb86120f1
commit
fff961078a
1777 changed files with 1011798 additions and 0 deletions
10
cool-dawn-3d3b/node_modules/blake3-wasm/esm/build/versions.js
generated
vendored
Normal file
10
cool-dawn-3d3b/node_modules/blake3-wasm/esm/build/versions.js
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
export const minNodeVersion = 10;
|
||||
/**
|
||||
* @hidden
|
||||
*/
|
||||
export const parseVersion = (version) => {
|
||||
const [, major, minor, patch] = /^v([0-9]+)\.([0-9]+)\.([0-9]+)/.exec(version) || [];
|
||||
return { major: Number(major), minor: Number(minor), patch: Number(patch) };
|
||||
};
|
||||
export const compareVersion = (a, b) => a.major - b.major || a.minor - b.minor || a.patch - b.patch;
|
||||
//# sourceMappingURL=versions.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue