@nocobase/plugin-backup-restore 1.3.24-beta → 1.3.26-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/externalVersion.js +5 -5
- package/dist/locale/ja_JP.json +50 -0
- package/dist/node_modules/@hapi/topo/package.json +1 -1
- package/dist/node_modules/archiver/package.json +1 -1
- package/dist/node_modules/decompress/package.json +1 -1
- package/dist/node_modules/mkdirp/package.json +1 -1
- package/dist/node_modules/semver/functions/coerce.js +13 -5
- package/dist/node_modules/semver/index.js +1 -1
- package/dist/node_modules/semver/internal/re.js +7 -2
- package/dist/node_modules/semver/package.json +1 -1
- package/package.json +2 -2
package/dist/externalVersion.js
CHANGED
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
module.exports = {
|
|
11
11
|
"@ant-design/icons": "5.2.6",
|
|
12
12
|
"@formily/antd-v5": "1.1.9",
|
|
13
|
-
"@nocobase/client": "1.3.
|
|
13
|
+
"@nocobase/client": "1.3.26-beta",
|
|
14
14
|
"antd": "5.12.8",
|
|
15
15
|
"react": "18.2.0",
|
|
16
|
-
"@nocobase/server": "1.3.
|
|
17
|
-
"@nocobase/utils": "1.3.
|
|
18
|
-
"@nocobase/database": "1.3.
|
|
16
|
+
"@nocobase/server": "1.3.26-beta",
|
|
17
|
+
"@nocobase/utils": "1.3.26-beta",
|
|
18
|
+
"@nocobase/database": "1.3.26-beta",
|
|
19
19
|
"dayjs": "1.11.10",
|
|
20
20
|
"lodash": "4.17.21",
|
|
21
21
|
"react-i18next": "11.18.6",
|
|
22
|
-
"@nocobase/actions": "1.3.
|
|
22
|
+
"@nocobase/actions": "1.3.26-beta"
|
|
23
23
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Backup file": "バックアップファイル",
|
|
3
|
+
"System metadata": "システムメタデータ",
|
|
4
|
+
"System config": "システム設定",
|
|
5
|
+
"Business data": "業務データ",
|
|
6
|
+
"Backup & Restore": "バックアップとリストア",
|
|
7
|
+
"Backup": "バックアップ",
|
|
8
|
+
"Restore": "リストア",
|
|
9
|
+
"Configuration": "設定",
|
|
10
|
+
"Select the data to be backed up": "バックアップするデータを選択",
|
|
11
|
+
"Select the data to be restored": "リストアするデータを選択",
|
|
12
|
+
"Click or drag file to this area to upload": "クリックまたはファイルをこの領域にドラッグしてアップロード",
|
|
13
|
+
"Learn more": "詳細を表示",
|
|
14
|
+
"Start backup": "バックアップを開始",
|
|
15
|
+
"Start restore": "リストアを開始",
|
|
16
|
+
"Backed up successfully": "バックアップが成功しました",
|
|
17
|
+
"Plugin": "プラグイン",
|
|
18
|
+
"file uploaded successfully": "ファイルが正常にアップロードされました",
|
|
19
|
+
"file upload failed": "ファイルのアップロードに失敗しました",
|
|
20
|
+
"Download": "ダウンロード",
|
|
21
|
+
"Restore backup from local": "ローカルからバックアップをリストア",
|
|
22
|
+
"Backup instructions": "バックアップ手順",
|
|
23
|
+
"File size": "ファイルサイズ",
|
|
24
|
+
"New backup": "新規バックアップ",
|
|
25
|
+
"Origin": "起源",
|
|
26
|
+
"Backing up": "バックアップ中",
|
|
27
|
+
"Refresh": "更新",
|
|
28
|
+
"Delete": "削除",
|
|
29
|
+
"Deleted successfully": "削除が成功しました",
|
|
30
|
+
"required.title": "必須データ",
|
|
31
|
+
"user.title": "ユーザーデータ",
|
|
32
|
+
"log.title": "ログデータ",
|
|
33
|
+
"custom.title": "カスタムコレクションデータ",
|
|
34
|
+
"skipped.title": "スキップされたデータ",
|
|
35
|
+
"unknown.title": "不明",
|
|
36
|
+
"third-party.title": "サードパーティサービス情報",
|
|
37
|
+
"required.description": "必要なデータ",
|
|
38
|
+
"user.description": "ユーザーデータ",
|
|
39
|
+
"log.description": "ログデータ",
|
|
40
|
+
"custom.description": "カスタムコレクションデータ",
|
|
41
|
+
"skipped.description": "スキップされたデータ",
|
|
42
|
+
"unknown.description": "ダンプルール未設定のデータ",
|
|
43
|
+
"third-party.description": "サードパーティサービス情報",
|
|
44
|
+
"Select Import data": "インポートデータを選択する",
|
|
45
|
+
"Select Import Plugins": "プラグインをインポートしてください",
|
|
46
|
+
"Select User Collections": "ユーザーデータを選択してください",
|
|
47
|
+
"Basic Data": "基本データ",
|
|
48
|
+
"Optional Data": "オプションデータ",
|
|
49
|
+
"User Data": "ユーザーデータ"
|
|
50
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@hapi/topo","description":"Topological sorting with grouping support","version":"6.0.2","repository":"git://github.com/hapijs/topo","main":"lib/index.js","types":"lib/index.d.ts","files":["lib"],"keywords":["topological","sort","toposort","topsort"],"eslintConfig":{"extends":["plugin:@hapi/module"]},"dependencies":{"@hapi/hoek":"^11.0.2"},"devDependencies":{"@hapi/code":"^9.0.3","@hapi/eslint-plugin":"*","@hapi/lab":"^25.1.2","@types/node":"^17.0.31","typescript":"~4.6.4"},"scripts":{"test":"lab -a @hapi/code -t 100 -L -Y","test-cov-html":"lab -a @hapi/code -t 100 -L -r html -o coverage.html"},"license":"BSD-3-Clause","_lastModified":"2024-09-
|
|
1
|
+
{"name":"@hapi/topo","description":"Topological sorting with grouping support","version":"6.0.2","repository":"git://github.com/hapijs/topo","main":"lib/index.js","types":"lib/index.d.ts","files":["lib"],"keywords":["topological","sort","toposort","topsort"],"eslintConfig":{"extends":["plugin:@hapi/module"]},"dependencies":{"@hapi/hoek":"^11.0.2"},"devDependencies":{"@hapi/code":"^9.0.3","@hapi/eslint-plugin":"*","@hapi/lab":"^25.1.2","@types/node":"^17.0.31","typescript":"~4.6.4"},"scripts":{"test":"lab -a @hapi/code -t 100 -L -Y","test-cov-html":"lab -a @hapi/code -t 100 -L -r html -o coverage.html"},"license":"BSD-3-Clause","_lastModified":"2024-09-29T01:30:03.023Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"archiver","version":"5.3.2","description":"a streaming interface for archive generation","homepage":"https://github.com/archiverjs/node-archiver","author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"repository":{"type":"git","url":"https://github.com/archiverjs/node-archiver.git"},"bugs":{"url":"https://github.com/archiverjs/node-archiver/issues"},"license":"MIT","main":"index.js","files":["index.js","lib"],"engines":{"node":">= 10"},"scripts":{"test":"mocha --reporter dot","bench":"node benchmark/simple/pack-zip.js"},"dependencies":{"archiver-utils":"^2.1.0","async":"^3.2.4","buffer-crc32":"^0.2.1","readable-stream":"^3.6.0","readdir-glob":"^1.1.2","tar-stream":"^2.2.0","zip-stream":"^4.1.0"},"devDependencies":{"archiver-jsdoc-theme":"^1.1.3","chai":"^4.3.7","jsdoc":"^3.6.4","mkdirp":"^2.1.5","mocha":"^9.0.2","rimraf":"^4.3.1","stream-bench":"^0.1.2","tar":"^6.1.13","yauzl":"^2.9.0"},"keywords":["archive","archiver","stream","zip","tar"],"publishConfig":{"registry":"https://registry.npmjs.org/"},"_lastModified":"2024-09-
|
|
1
|
+
{"name":"archiver","version":"5.3.2","description":"a streaming interface for archive generation","homepage":"https://github.com/archiverjs/node-archiver","author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"repository":{"type":"git","url":"https://github.com/archiverjs/node-archiver.git"},"bugs":{"url":"https://github.com/archiverjs/node-archiver/issues"},"license":"MIT","main":"index.js","files":["index.js","lib"],"engines":{"node":">= 10"},"scripts":{"test":"mocha --reporter dot","bench":"node benchmark/simple/pack-zip.js"},"dependencies":{"archiver-utils":"^2.1.0","async":"^3.2.4","buffer-crc32":"^0.2.1","readable-stream":"^3.6.0","readdir-glob":"^1.1.2","tar-stream":"^2.2.0","zip-stream":"^4.1.0"},"devDependencies":{"archiver-jsdoc-theme":"^1.1.3","chai":"^4.3.7","jsdoc":"^3.6.4","mkdirp":"^2.1.5","mocha":"^9.0.2","rimraf":"^4.3.1","stream-bench":"^0.1.2","tar":"^6.1.13","yauzl":"^2.9.0"},"keywords":["archive","archiver","stream","zip","tar"],"publishConfig":{"registry":"https://registry.npmjs.org/"},"_lastModified":"2024-09-29T01:30:01.777Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"decompress","version":"4.2.1","description":"Extracting archives made easy","license":"MIT","repository":"kevva/decompress","author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["bz2","bzip2","decompress","extract","tar","tar.bz","tar.gz","zip","unzip"],"dependencies":{"decompress-tar":"^4.0.0","decompress-tarbz2":"^4.0.0","decompress-targz":"^4.0.0","decompress-unzip":"^4.0.1","graceful-fs":"^4.1.10","make-dir":"^1.0.0","pify":"^2.3.0","strip-dirs":"^2.0.0"},"devDependencies":{"ava":"*","esm":"^3.2.25","is-jpg":"^1.0.0","path-exists":"^3.0.0","pify":"^2.3.0","rimraf":"^3.0.2","xo":"*"},"ava":{"require":["esm"]},"xo":{"rules":{"promise/prefer-await-to-then":"off"}},"_lastModified":"2024-09-
|
|
1
|
+
{"name":"decompress","version":"4.2.1","description":"Extracting archives made easy","license":"MIT","repository":"kevva/decompress","author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["bz2","bzip2","decompress","extract","tar","tar.bz","tar.gz","zip","unzip"],"dependencies":{"decompress-tar":"^4.0.0","decompress-tarbz2":"^4.0.0","decompress-targz":"^4.0.0","decompress-unzip":"^4.0.1","graceful-fs":"^4.1.10","make-dir":"^1.0.0","pify":"^2.3.0","strip-dirs":"^2.0.0"},"devDependencies":{"ava":"*","esm":"^3.2.25","is-jpg":"^1.0.0","path-exists":"^3.0.0","pify":"^2.3.0","rimraf":"^3.0.2","xo":"*"},"ava":{"require":["esm"]},"xo":{"rules":{"promise/prefer-await-to-then":"off"}},"_lastModified":"2024-09-29T01:30:02.802Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"mkdirp","description":"Recursively mkdir, like `mkdir -p`","version":"1.0.4","main":"index.js","keywords":["mkdir","directory","make dir","make","dir","recursive","native"],"repository":{"type":"git","url":"https://github.com/isaacs/node-mkdirp.git"},"scripts":{"test":"tap","snap":"tap","preversion":"npm test","postversion":"npm publish","postpublish":"git push origin --follow-tags"},"tap":{"check-coverage":true,"coverage-map":"map.js"},"devDependencies":{"require-inject":"^1.4.4","tap":"^14.10.7"},"bin":"bin/cmd.js","license":"MIT","engines":{"node":">=10"},"files":["bin","lib","index.js"],"_lastModified":"2024-09-
|
|
1
|
+
{"name":"mkdirp","description":"Recursively mkdir, like `mkdir -p`","version":"1.0.4","main":"index.js","keywords":["mkdir","directory","make dir","make","dir","recursive","native"],"repository":{"type":"git","url":"https://github.com/isaacs/node-mkdirp.git"},"scripts":{"test":"tap","snap":"tap","preversion":"npm test","postversion":"npm publish","postpublish":"git push origin --follow-tags"},"tap":{"check-coverage":true,"coverage-map":"map.js"},"devDependencies":{"require-inject":"^1.4.4","tap":"^14.10.7"},"bin":"bin/cmd.js","license":"MIT","engines":{"node":">=10"},"files":["bin","lib","index.js"],"_lastModified":"2024-09-29T01:30:01.926Z"}
|
|
@@ -19,34 +19,42 @@ const coerce = (version, options) => {
|
|
|
19
19
|
|
|
20
20
|
let match = null
|
|
21
21
|
if (!options.rtl) {
|
|
22
|
-
match = version.match(re[t.COERCE])
|
|
22
|
+
match = version.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE])
|
|
23
23
|
} else {
|
|
24
24
|
// Find the right-most coercible string that does not share
|
|
25
25
|
// a terminus with a more left-ward coercible string.
|
|
26
26
|
// Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'
|
|
27
|
+
// With includePrerelease option set, '1.2.3.4-rc' wants to coerce '2.3.4-rc', not '2.3.4'
|
|
27
28
|
//
|
|
28
29
|
// Walk through the string checking with a /g regexp
|
|
29
30
|
// Manually set the index so as to pick up overlapping matches.
|
|
30
31
|
// Stop when we get a match that ends at the string end, since no
|
|
31
32
|
// coercible string can be more right-ward without the same terminus.
|
|
33
|
+
const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL]
|
|
32
34
|
let next
|
|
33
|
-
while ((next =
|
|
35
|
+
while ((next = coerceRtlRegex.exec(version)) &&
|
|
34
36
|
(!match || match.index + match[0].length !== version.length)
|
|
35
37
|
) {
|
|
36
38
|
if (!match ||
|
|
37
39
|
next.index + next[0].length !== match.index + match[0].length) {
|
|
38
40
|
match = next
|
|
39
41
|
}
|
|
40
|
-
|
|
42
|
+
coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length
|
|
41
43
|
}
|
|
42
44
|
// leave it in a clean state
|
|
43
|
-
|
|
45
|
+
coerceRtlRegex.lastIndex = -1
|
|
44
46
|
}
|
|
45
47
|
|
|
46
48
|
if (match === null) {
|
|
47
49
|
return null
|
|
48
50
|
}
|
|
49
51
|
|
|
50
|
-
|
|
52
|
+
const major = match[2]
|
|
53
|
+
const minor = match[3] || '0'
|
|
54
|
+
const patch = match[4] || '0'
|
|
55
|
+
const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : ''
|
|
56
|
+
const build = options.includePrerelease && match[6] ? `+${match[6]}` : ''
|
|
57
|
+
|
|
58
|
+
return parse(`${major}.${minor}.${patch}${prerelease}${build}`, options)
|
|
51
59
|
}
|
|
52
60
|
module.exports = coerce
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(){var e={129:function(e,t,r){"use strict";const s=r(665);const n=Symbol("max");const i=Symbol("length");const o=Symbol("lengthCalculator");const l=Symbol("allowStale");const a=Symbol("maxAge");const c=Symbol("dispose");const h=Symbol("noDisposeOnSet");const u=Symbol("lruList");const f=Symbol("cache");const p=Symbol("updateAgeOnGet");const naiveLength=()=>1;class LRUCache{constructor(e){if(typeof e==="number")e={max:e};if(!e)e={};if(e.max&&(typeof e.max!=="number"||e.max<0))throw new TypeError("max must be a non-negative number");const t=this[n]=e.max||Infinity;const r=e.length||naiveLength;this[o]=typeof r!=="function"?naiveLength:r;this[l]=e.stale||false;if(e.maxAge&&typeof e.maxAge!=="number")throw new TypeError("maxAge must be a number");this[a]=e.maxAge||0;this[c]=e.dispose;this[h]=e.noDisposeOnSet||false;this[p]=e.updateAgeOnGet||false;this.reset()}set max(e){if(typeof e!=="number"||e<0)throw new TypeError("max must be a non-negative number");this[n]=e||Infinity;trim(this)}get max(){return this[n]}set allowStale(e){this[l]=!!e}get allowStale(){return this[l]}set maxAge(e){if(typeof e!=="number")throw new TypeError("maxAge must be a non-negative number");this[a]=e;trim(this)}get maxAge(){return this[a]}set lengthCalculator(e){if(typeof e!=="function")e=naiveLength;if(e!==this[o]){this[o]=e;this[i]=0;this[u].forEach((e=>{e.length=this[o](e.value,e.key);this[i]+=e.length}))}trim(this)}get lengthCalculator(){return this[o]}get length(){return this[i]}get itemCount(){return this[u].length}rforEach(e,t){t=t||this;for(let r=this[u].tail;r!==null;){const s=r.prev;forEachStep(this,e,r,t);r=s}}forEach(e,t){t=t||this;for(let r=this[u].head;r!==null;){const s=r.next;forEachStep(this,e,r,t);r=s}}keys(){return this[u].toArray().map((e=>e.key))}values(){return this[u].toArray().map((e=>e.value))}reset(){if(this[c]&&this[u]&&this[u].length){this[u].forEach((e=>this[c](e.key,e.value)))}this[f]=new Map;this[u]=new s;this[i]=0}dump(){return this[u].map((e=>isStale(this,e)?false:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[u]}set(e,t,r){r=r||this[a];if(r&&typeof r!=="number")throw new TypeError("maxAge must be a number");const s=r?Date.now():0;const l=this[o](t,e);if(this[f].has(e)){if(l>this[n]){del(this,this[f].get(e));return false}const o=this[f].get(e);const a=o.value;if(this[c]){if(!this[h])this[c](e,a.value)}a.now=s;a.maxAge=r;a.value=t;this[i]+=l-a.length;a.length=l;this.get(e);trim(this);return true}const p=new Entry(e,t,l,s,r);if(p.length>this[n]){if(this[c])this[c](e,t);return false}this[i]+=p.length;this[u].unshift(p);this[f].set(e,this[u].head);trim(this);return true}has(e){if(!this[f].has(e))return false;const t=this[f].get(e).value;return!isStale(this,t)}get(e){return get(this,e,true)}peek(e){return get(this,e,false)}pop(){const e=this[u].tail;if(!e)return null;del(this,e);return e.value}del(e){del(this,this[f].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const s=e[r];const n=s.e||0;if(n===0)this.set(s.k,s.v);else{const e=n-t;if(e>0){this.set(s.k,s.v,e)}}}}prune(){this[f].forEach(((e,t)=>get(this,t,false)))}}const get=(e,t,r)=>{const s=e[f].get(t);if(s){const t=s.value;if(isStale(e,t)){del(e,s);if(!e[l])return undefined}else{if(r){if(e[p])s.value.now=Date.now();e[u].unshiftNode(s)}}return t.value}};const isStale=(e,t)=>{if(!t||!t.maxAge&&!e[a])return false;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[a]&&r>e[a]};const trim=e=>{if(e[i]>e[n]){for(let t=e[u].tail;e[i]>e[n]&&t!==null;){const r=t.prev;del(e,t);t=r}}};const del=(e,t)=>{if(t){const r=t.value;if(e[c])e[c](r.key,r.value);e[i]-=r.length;e[f].delete(r.key);e[u].removeNode(t)}};class Entry{constructor(e,t,r,s,n){this.key=e;this.value=t;this.length=r;this.now=s;this.maxAge=n||0}}const forEachStep=(e,t,r,s)=>{let n=r.value;if(isStale(e,n)){del(e,r);if(!e[l])n=undefined}if(n)t.call(s,n.value,n.key,e)};e.exports=LRUCache},532:function(e,t,r){const s=Symbol("SemVer ANY");class Comparator{static get ANY(){return s}constructor(e,t){t=n(t);if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}e=e.trim().split(/\s+/).join(" ");a("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===s){this.value=""}else{this.value=this.operator+this.semver.version}a("comp",this)}parse(e){const t=this.options.loose?i[o.COMPARATORLOOSE]:i[o.COMPARATOR];const r=e.match(t);if(!r){throw new TypeError(`Invalid comparator: ${e}`)}this.operator=r[1]!==undefined?r[1]:"";if(this.operator==="="){this.operator=""}if(!r[2]){this.semver=s}else{this.semver=new c(r[2],this.options.loose)}}toString(){return this.value}test(e){a("Comparator.test",e,this.options.loose);if(this.semver===s||e===s){return true}if(typeof e==="string"){try{e=new c(e,this.options)}catch(e){return false}}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(this.operator===""){if(this.value===""){return true}return new h(e.value,t).test(this.value)}else if(e.operator===""){if(e.value===""){return true}return new h(this.value,t).test(e.semver)}t=n(t);if(t.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")){return false}if(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))){return false}if(this.operator.startsWith(">")&&e.operator.startsWith(">")){return true}if(this.operator.startsWith("<")&&e.operator.startsWith("<")){return true}if(this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")){return true}if(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")){return true}if(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")){return true}return false}}e.exports=Comparator;const n=r(785);const{safeRe:i,t:o}=r(523);const l=r(98);const a=r(427);const c=r(88);const h=r(828)},828:function(e,t,r){class Range{constructor(e,t){t=i(t);if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof o){this.raw=e.value;this.set=[[e]];this.format();return this}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e.trim().split(/\s+/).join(" ");this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${this.raw}`)}if(this.set.length>1){const e=this.set[0];this.set=this.set.filter((e=>!isNullSet(e[0])));if(this.set.length===0){this.set=[e]}else if(this.set.length>1){for(const e of this.set){if(e.length===1&&isAny(e[0])){this.set=[e];break}}}}this.format()}format(){this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim();return this.range}toString(){return this.range}parseRange(e){const t=(this.options.includePrerelease&&E)|(this.options.loose&&m);const r=t+":"+e;const s=n.get(r);if(s){return s}const i=this.options.loose;const a=i?c[h.HYPHENRANGELOOSE]:c[h.HYPHENRANGE];e=e.replace(a,hyphenReplace(this.options.includePrerelease));l("hyphen replace",e);e=e.replace(c[h.COMPARATORTRIM],u);l("comparator trim",e);e=e.replace(c[h.TILDETRIM],f);l("tilde trim",e);e=e.replace(c[h.CARETTRIM],p);l("caret trim",e);let v=e.split(" ").map((e=>parseComparator(e,this.options))).join(" ").split(/\s+/).map((e=>replaceGTE0(e,this.options)));if(i){v=v.filter((e=>{l("loose invalid filter",e,this.options);return!!e.match(c[h.COMPARATORLOOSE])}))}l("range list",v);const $=new Map;const R=v.map((e=>new o(e,this.options)));for(const e of R){if(isNullSet(e)){return[e]}$.set(e.value,e)}if($.size>1&&$.has("")){$.delete("")}const d=[...$.values()];n.set(r,d);return d}intersects(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((r=>isSatisfiable(r,t)&&e.set.some((e=>isSatisfiable(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e){return false}if(typeof e==="string"){try{e=new a(e,this.options)}catch(e){return false}}for(let t=0;t<this.set.length;t++){if(testSet(this.set[t],e,this.options)){return true}}return false}}e.exports=Range;const s=r(129);const n=new s({max:1e3});const i=r(785);const o=r(532);const l=r(427);const a=r(88);const{safeRe:c,t:h,comparatorTrimReplace:u,tildeTrimReplace:f,caretTrimReplace:p}=r(523);const{FLAG_INCLUDE_PRERELEASE:E,FLAG_LOOSE:m}=r(293);const isNullSet=e=>e.value==="<0.0.0-0";const isAny=e=>e.value==="";const isSatisfiable=(e,t)=>{let r=true;const s=e.slice();let n=s.pop();while(r&&s.length){r=s.every((e=>n.intersects(e,t)));n=s.pop()}return r};const parseComparator=(e,t)=>{l("comp",e,t);e=replaceCarets(e,t);l("caret",e);e=replaceTildes(e,t);l("tildes",e);e=replaceXRanges(e,t);l("xrange",e);e=replaceStars(e,t);l("stars",e);return e};const isX=e=>!e||e.toLowerCase()==="x"||e==="*";const replaceTildes=(e,t)=>e.trim().split(/\s+/).map((e=>replaceTilde(e,t))).join(" ");const replaceTilde=(e,t)=>{const r=t.loose?c[h.TILDELOOSE]:c[h.TILDE];return e.replace(r,((t,r,s,n,i)=>{l("tilde",e,t,r,s,n,i);let o;if(isX(r)){o=""}else if(isX(s)){o=`>=${r}.0.0 <${+r+1}.0.0-0`}else if(isX(n)){o=`>=${r}.${s}.0 <${r}.${+s+1}.0-0`}else if(i){l("replaceTilde pr",i);o=`>=${r}.${s}.${n}-${i} <${r}.${+s+1}.0-0`}else{o=`>=${r}.${s}.${n} <${r}.${+s+1}.0-0`}l("tilde return",o);return o}))};const replaceCarets=(e,t)=>e.trim().split(/\s+/).map((e=>replaceCaret(e,t))).join(" ");const replaceCaret=(e,t)=>{l("caret",e,t);const r=t.loose?c[h.CARETLOOSE]:c[h.CARET];const s=t.includePrerelease?"-0":"";return e.replace(r,((t,r,n,i,o)=>{l("caret",e,t,r,n,i,o);let a;if(isX(r)){a=""}else if(isX(n)){a=`>=${r}.0.0${s} <${+r+1}.0.0-0`}else if(isX(i)){if(r==="0"){a=`>=${r}.${n}.0${s} <${r}.${+n+1}.0-0`}else{a=`>=${r}.${n}.0${s} <${+r+1}.0.0-0`}}else if(o){l("replaceCaret pr",o);if(r==="0"){if(n==="0"){a=`>=${r}.${n}.${i}-${o} <${r}.${n}.${+i+1}-0`}else{a=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`}}else{a=`>=${r}.${n}.${i}-${o} <${+r+1}.0.0-0`}}else{l("no pr");if(r==="0"){if(n==="0"){a=`>=${r}.${n}.${i}${s} <${r}.${n}.${+i+1}-0`}else{a=`>=${r}.${n}.${i}${s} <${r}.${+n+1}.0-0`}}else{a=`>=${r}.${n}.${i} <${+r+1}.0.0-0`}}l("caret return",a);return a}))};const replaceXRanges=(e,t)=>{l("replaceXRanges",e,t);return e.split(/\s+/).map((e=>replaceXRange(e,t))).join(" ")};const replaceXRange=(e,t)=>{e=e.trim();const r=t.loose?c[h.XRANGELOOSE]:c[h.XRANGE];return e.replace(r,((r,s,n,i,o,a)=>{l("xRange",e,r,s,n,i,o,a);const c=isX(n);const h=c||isX(i);const u=h||isX(o);const f=u;if(s==="="&&f){s=""}a=t.includePrerelease?"-0":"";if(c){if(s===">"||s==="<"){r="<0.0.0-0"}else{r="*"}}else if(s&&f){if(h){i=0}o=0;if(s===">"){s=">=";if(h){n=+n+1;i=0;o=0}else{i=+i+1;o=0}}else if(s==="<="){s="<";if(h){n=+n+1}else{i=+i+1}}if(s==="<"){a="-0"}r=`${s+n}.${i}.${o}${a}`}else if(h){r=`>=${n}.0.0${a} <${+n+1}.0.0-0`}else if(u){r=`>=${n}.${i}.0${a} <${n}.${+i+1}.0-0`}l("xRange return",r);return r}))};const replaceStars=(e,t)=>{l("replaceStars",e,t);return e.trim().replace(c[h.STAR],"")};const replaceGTE0=(e,t)=>{l("replaceGTE0",e,t);return e.trim().replace(c[t.includePrerelease?h.GTE0PRE:h.GTE0],"")};const hyphenReplace=e=>(t,r,s,n,i,o,l,a,c,h,u,f,p)=>{if(isX(s)){r=""}else if(isX(n)){r=`>=${s}.0.0${e?"-0":""}`}else if(isX(i)){r=`>=${s}.${n}.0${e?"-0":""}`}else if(o){r=`>=${r}`}else{r=`>=${r}${e?"-0":""}`}if(isX(c)){a=""}else if(isX(h)){a=`<${+c+1}.0.0-0`}else if(isX(u)){a=`<${c}.${+h+1}.0-0`}else if(f){a=`<=${c}.${h}.${u}-${f}`}else if(e){a=`<${c}.${h}.${+u+1}-0`}else{a=`<=${a}`}return`${r} ${a}`.trim()};const testSet=(e,t,r)=>{for(let r=0;r<e.length;r++){if(!e[r].test(t)){return false}}if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++){l(e[r].semver);if(e[r].semver===o.ANY){continue}if(e[r].semver.prerelease.length>0){const s=e[r].semver;if(s.major===t.major&&s.minor===t.minor&&s.patch===t.patch){return true}}}return false}return true}},88:function(e,t,r){const s=r(427);const{MAX_LENGTH:n,MAX_SAFE_INTEGER:i}=r(293);const{safeRe:o,t:l}=r(523);const a=r(785);const{compareIdentifiers:c}=r(463);class SemVer{constructor(e,t){t=a(t);if(e instanceof SemVer){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`)}if(e.length>n){throw new TypeError(`version is longer than ${n} characters`)}s("SemVer",e,t);this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?o[l.LOOSE]:o[l.FULL]);if(!r){throw new TypeError(`Invalid Version: ${e}`)}this.raw=e;this.major=+r[1];this.minor=+r[2];this.patch=+r[3];if(this.major>i||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>i||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>i||this.patch<0){throw new TypeError("Invalid patch version")}if(!r[4]){this.prerelease=[]}else{this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i){return t}}return e}))}this.build=r[5]?r[5].split("."):[];this.format()}format(){this.version=`${this.major}.${this.minor}.${this.patch}`;if(this.prerelease.length){this.version+=`-${this.prerelease.join(".")}`}return this.version}toString(){return this.version}compare(e){s("SemVer.compare",this.version,this.options,e);if(!(e instanceof SemVer)){if(typeof e==="string"&&e===this.version){return 0}e=new SemVer(e,this.options)}if(e.version===this.version){return 0}return this.compareMain(e)||this.comparePre(e)}compareMain(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.prerelease.length&&!e.prerelease.length){return-1}else if(!this.prerelease.length&&e.prerelease.length){return 1}else if(!this.prerelease.length&&!e.prerelease.length){return 0}let t=0;do{const r=this.prerelease[t];const n=e.prerelease[t];s("prerelease compare",t,r,n);if(r===undefined&&n===undefined){return 0}else if(n===undefined){return 1}else if(r===undefined){return-1}else if(r===n){continue}else{return c(r,n)}}while(++t)}compareBuild(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}let t=0;do{const r=this.build[t];const n=e.build[t];s("prerelease compare",t,r,n);if(r===undefined&&n===undefined){return 0}else if(n===undefined){return 1}else if(r===undefined){return-1}else if(r===n){continue}else{return c(r,n)}}while(++t)}inc(e,t,r){switch(e){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0;this.inc("patch",t,r);this.inc("pre",t,r);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",t,r)}this.inc("pre",t,r);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":{const e=Number(r)?1:0;if(!t&&r===false){throw new Error("invalid increment argument: identifier is empty")}if(this.prerelease.length===0){this.prerelease=[e]}else{let s=this.prerelease.length;while(--s>=0){if(typeof this.prerelease[s]==="number"){this.prerelease[s]++;s=-2}}if(s===-1){if(t===this.prerelease.join(".")&&r===false){throw new Error("invalid increment argument: identifier already exists")}this.prerelease.push(e)}}if(t){let s=[t,e];if(r===false){s=[t]}if(c(this.prerelease[0],t)===0){if(isNaN(this.prerelease[1])){this.prerelease=s}}else{this.prerelease=s}}break}default:throw new Error(`invalid increment argument: ${e}`)}this.raw=this.format();if(this.build.length){this.raw+=`+${this.build.join(".")}`}return this}}e.exports=SemVer},848:function(e,t,r){const s=r(925);const clean=(e,t)=>{const r=s(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};e.exports=clean},98:function(e,t,r){const s=r(898);const n=r(17);const i=r(123);const o=r(522);const l=r(194);const a=r(520);const cmp=(e,t,r,c)=>{switch(t){case"===":if(typeof e==="object"){e=e.version}if(typeof r==="object"){r=r.version}return e===r;case"!==":if(typeof e==="object"){e=e.version}if(typeof r==="object"){r=r.version}return e!==r;case"":case"=":case"==":return s(e,r,c);case"!=":return n(e,r,c);case">":return i(e,r,c);case">=":return o(e,r,c);case"<":return l(e,r,c);case"<=":return a(e,r,c);default:throw new TypeError(`Invalid operator: ${t}`)}};e.exports=cmp},466:function(e,t,r){const s=r(88);const n=r(925);const{safeRe:i,t:o}=r(523);const coerce=(e,t)=>{if(e instanceof s){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};let r=null;if(!t.rtl){r=e.match(i[o.COERCE])}else{let t;while((t=i[o.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length)){if(!r||t.index+t[0].length!==r.index+r[0].length){r=t}i[o.COERCERTL].lastIndex=t.index+t[1].length+t[2].length}i[o.COERCERTL].lastIndex=-1}if(r===null){return null}return n(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)};e.exports=coerce},156:function(e,t,r){const s=r(88);const compareBuild=(e,t,r)=>{const n=new s(e,r);const i=new s(t,r);return n.compare(i)||n.compareBuild(i)};e.exports=compareBuild},804:function(e,t,r){const s=r(309);const compareLoose=(e,t)=>s(e,t,true);e.exports=compareLoose},309:function(e,t,r){const s=r(88);const compare=(e,t,r)=>new s(e,r).compare(new s(t,r));e.exports=compare},297:function(e,t,r){const s=r(925);const diff=(e,t)=>{const r=s(e,null,true);const n=s(t,null,true);const i=r.compare(n);if(i===0){return null}const o=i>0;const l=o?r:n;const a=o?n:r;const c=!!l.prerelease.length;const h=!!a.prerelease.length;if(h&&!c){if(!a.patch&&!a.minor){return"major"}if(l.patch){return"patch"}if(l.minor){return"minor"}return"major"}const u=c?"pre":"";if(r.major!==n.major){return u+"major"}if(r.minor!==n.minor){return u+"minor"}if(r.patch!==n.patch){return u+"patch"}return"prerelease"};e.exports=diff},898:function(e,t,r){const s=r(309);const eq=(e,t,r)=>s(e,t,r)===0;e.exports=eq},123:function(e,t,r){const s=r(309);const gt=(e,t,r)=>s(e,t,r)>0;e.exports=gt},522:function(e,t,r){const s=r(309);const gte=(e,t,r)=>s(e,t,r)>=0;e.exports=gte},900:function(e,t,r){const s=r(88);const inc=(e,t,r,n,i)=>{if(typeof r==="string"){i=n;n=r;r=undefined}try{return new s(e instanceof s?e.version:e,r).inc(t,n,i).version}catch(e){return null}};e.exports=inc},194:function(e,t,r){const s=r(309);const lt=(e,t,r)=>s(e,t,r)<0;e.exports=lt},520:function(e,t,r){const s=r(309);const lte=(e,t,r)=>s(e,t,r)<=0;e.exports=lte},688:function(e,t,r){const s=r(88);const major=(e,t)=>new s(e,t).major;e.exports=major},447:function(e,t,r){const s=r(88);const minor=(e,t)=>new s(e,t).minor;e.exports=minor},17:function(e,t,r){const s=r(309);const neq=(e,t,r)=>s(e,t,r)!==0;e.exports=neq},925:function(e,t,r){const s=r(88);const parse=(e,t,r=false)=>{if(e instanceof s){return e}try{return new s(e,t)}catch(e){if(!r){return null}throw e}};e.exports=parse},866:function(e,t,r){const s=r(88);const patch=(e,t)=>new s(e,t).patch;e.exports=patch},16:function(e,t,r){const s=r(925);const prerelease=(e,t)=>{const r=s(e,t);return r&&r.prerelease.length?r.prerelease:null};e.exports=prerelease},417:function(e,t,r){const s=r(309);const rcompare=(e,t,r)=>s(t,e,r);e.exports=rcompare},701:function(e,t,r){const s=r(156);const rsort=(e,t)=>e.sort(((e,r)=>s(r,e,t)));e.exports=rsort},55:function(e,t,r){const s=r(828);const satisfies=(e,t,r)=>{try{t=new s(t,r)}catch(e){return false}return t.test(e)};e.exports=satisfies},426:function(e,t,r){const s=r(156);const sort=(e,t)=>e.sort(((e,r)=>s(e,r,t)));e.exports=sort},601:function(e,t,r){const s=r(925);const valid=(e,t)=>{const r=s(e,t);return r?r.version:null};e.exports=valid},383:function(e,t,r){const s=r(523);const n=r(293);const i=r(88);const o=r(463);const l=r(925);const a=r(601);const c=r(848);const h=r(900);const u=r(297);const f=r(688);const p=r(447);const E=r(866);const m=r(16);const v=r(309);const $=r(417);const R=r(804);const d=r(156);const g=r(426);const I=r(701);const N=r(123);const w=r(194);const A=r(898);const L=r(17);const O=r(522);const S=r(520);const T=r(98);const y=r(466);const x=r(532);const P=r(828);const b=r(55);const C=r(706);const _=r(579);const D=r(832);const G=r(179);const M=r(741);const j=r(420);const F=r(380);const Y=r(323);const X=r(8);const U=r(561);const k=r(863);e.exports={parse:l,valid:a,clean:c,inc:h,diff:u,major:f,minor:p,patch:E,prerelease:m,compare:v,rcompare:$,compareLoose:R,compareBuild:d,sort:g,rsort:I,gt:N,lt:w,eq:A,neq:L,gte:O,lte:S,cmp:T,coerce:y,Comparator:x,Range:P,satisfies:b,toComparators:C,maxSatisfying:_,minSatisfying:D,minVersion:G,validRange:M,outside:j,gtr:F,ltr:Y,intersects:X,simplifyRange:U,subset:k,SemVer:i,re:s.re,src:s.src,tokens:s.t,SEMVER_SPEC_VERSION:n.SEMVER_SPEC_VERSION,RELEASE_TYPES:n.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}},293:function(e){const t="2.0.0";const r=256;const s=Number.MAX_SAFE_INTEGER||9007199254740991;const n=16;const i=r-6;const o=["major","premajor","minor","preminor","patch","prepatch","prerelease"];e.exports={MAX_LENGTH:r,MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:i,MAX_SAFE_INTEGER:s,RELEASE_TYPES:o,SEMVER_SPEC_VERSION:t,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},427:function(e){const t=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},463:function(e){const t=/^[0-9]+$/;const compareIdentifiers=(e,r)=>{const s=t.test(e);const n=t.test(r);if(s&&n){e=+e;r=+r}return e===r?0:s&&!n?-1:n&&!s?1:e<r?-1:1};const rcompareIdentifiers=(e,t)=>compareIdentifiers(t,e);e.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},785:function(e){const t=Object.freeze({loose:true});const r=Object.freeze({});const parseOptions=e=>{if(!e){return r}if(typeof e!=="object"){return t}return e};e.exports=parseOptions},523:function(e,t,r){const{MAX_SAFE_COMPONENT_LENGTH:s,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:i}=r(293);const o=r(427);t=e.exports={};const l=t.re=[];const a=t.safeRe=[];const c=t.src=[];const h=t.t={};let u=0;const f="[a-zA-Z0-9-]";const p=[["\\s",1],["\\d",i],[f,n]];const makeSafeRegex=e=>{for(const[t,r]of p){e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`)}return e};const createToken=(e,t,r)=>{const s=makeSafeRegex(t);const n=u++;o(e,n,t);h[e]=n;c[n]=t;l[n]=new RegExp(t,r?"g":undefined);a[n]=new RegExp(s,r?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","\\d+");createToken("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`);createToken("MAINVERSION",`(${c[h.NUMERICIDENTIFIER]})\\.`+`(${c[h.NUMERICIDENTIFIER]})\\.`+`(${c[h.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${c[h.NUMERICIDENTIFIERLOOSE]})\\.`+`(${c[h.NUMERICIDENTIFIERLOOSE]})\\.`+`(${c[h.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${c[h.NUMERICIDENTIFIER]}|${c[h.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${c[h.NUMERICIDENTIFIERLOOSE]}|${c[h.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASE",`(?:-(${c[h.PRERELEASEIDENTIFIER]}(?:\\.${c[h.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${c[h.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[h.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER",`${f}+`);createToken("BUILD",`(?:\\+(${c[h.BUILDIDENTIFIER]}(?:\\.${c[h.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${c[h.MAINVERSION]}${c[h.PRERELEASE]}?${c[h.BUILD]}?`);createToken("FULL",`^${c[h.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${c[h.MAINVERSIONLOOSE]}${c[h.PRERELEASELOOSE]}?${c[h.BUILD]}?`);createToken("LOOSE",`^${c[h.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${c[h.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${c[h.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${c[h.XRANGEIDENTIFIER]})`+`(?:\\.(${c[h.XRANGEIDENTIFIER]})`+`(?:\\.(${c[h.XRANGEIDENTIFIER]})`+`(?:${c[h.PRERELEASE]})?${c[h.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${c[h.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${c[h.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${c[h.XRANGEIDENTIFIERLOOSE]})`+`(?:${c[h.PRERELEASELOOSE]})?${c[h.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${c[h.GTLT]}\\s*${c[h.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${c[h.GTLT]}\\s*${c[h.XRANGEPLAINLOOSE]}$`);createToken("COERCE",`${"(^|[^\\d])"+"(\\d{1,"}${s}})`+`(?:\\.(\\d{1,${s}}))?`+`(?:\\.(\\d{1,${s}}))?`+`(?:$|[^\\d])`);createToken("COERCERTL",c[h.COERCE],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${c[h.LONETILDE]}\\s+`,true);t.tildeTrimReplace="$1~";createToken("TILDE",`^${c[h.LONETILDE]}${c[h.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${c[h.LONETILDE]}${c[h.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${c[h.LONECARET]}\\s+`,true);t.caretTrimReplace="$1^";createToken("CARET",`^${c[h.LONECARET]}${c[h.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${c[h.LONECARET]}${c[h.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${c[h.GTLT]}\\s*(${c[h.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${c[h.GTLT]}\\s*(${c[h.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${c[h.GTLT]}\\s*(${c[h.LOOSEPLAIN]}|${c[h.XRANGEPLAIN]})`,true);t.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${c[h.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${c[h.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${c[h.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${c[h.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},380:function(e,t,r){const s=r(420);const gtr=(e,t,r)=>s(e,t,">",r);e.exports=gtr},8:function(e,t,r){const s=r(828);const intersects=(e,t,r)=>{e=new s(e,r);t=new s(t,r);return e.intersects(t,r)};e.exports=intersects},323:function(e,t,r){const s=r(420);const ltr=(e,t,r)=>s(e,t,"<",r);e.exports=ltr},579:function(e,t,r){const s=r(88);const n=r(828);const maxSatisfying=(e,t,r)=>{let i=null;let o=null;let l=null;try{l=new n(t,r)}catch(e){return null}e.forEach((e=>{if(l.test(e)){if(!i||o.compare(e)===-1){i=e;o=new s(i,r)}}}));return i};e.exports=maxSatisfying},832:function(e,t,r){const s=r(88);const n=r(828);const minSatisfying=(e,t,r)=>{let i=null;let o=null;let l=null;try{l=new n(t,r)}catch(e){return null}e.forEach((e=>{if(l.test(e)){if(!i||o.compare(e)===1){i=e;o=new s(i,r)}}}));return i};e.exports=minSatisfying},179:function(e,t,r){const s=r(88);const n=r(828);const i=r(123);const minVersion=(e,t)=>{e=new n(e,t);let r=new s("0.0.0");if(e.test(r)){return r}r=new s("0.0.0-0");if(e.test(r)){return r}r=null;for(let t=0;t<e.set.length;++t){const n=e.set[t];let o=null;n.forEach((e=>{const t=new s(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!o||i(t,o)){o=t}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}));if(o&&(!r||i(r,o))){r=o}}if(r&&e.test(r)){return r}return null};e.exports=minVersion},420:function(e,t,r){const s=r(88);const n=r(532);const{ANY:i}=n;const o=r(828);const l=r(55);const a=r(123);const c=r(194);const h=r(520);const u=r(522);const outside=(e,t,r,f)=>{e=new s(e,f);t=new o(t,f);let p,E,m,v,$;switch(r){case">":p=a;E=h;m=c;v=">";$=">=";break;case"<":p=c;E=u;m=a;v="<";$="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(l(e,t,f)){return false}for(let r=0;r<t.set.length;++r){const s=t.set[r];let o=null;let l=null;s.forEach((e=>{if(e.semver===i){e=new n(">=0.0.0")}o=o||e;l=l||e;if(p(e.semver,o.semver,f)){o=e}else if(m(e.semver,l.semver,f)){l=e}}));if(o.operator===v||o.operator===$){return false}if((!l.operator||l.operator===v)&&E(e,l.semver)){return false}else if(l.operator===$&&m(e,l.semver)){return false}}return true};e.exports=outside},561:function(e,t,r){const s=r(55);const n=r(309);e.exports=(e,t,r)=>{const i=[];let o=null;let l=null;const a=e.sort(((e,t)=>n(e,t,r)));for(const e of a){const n=s(e,t,r);if(n){l=e;if(!o){o=e}}else{if(l){i.push([o,l])}l=null;o=null}}if(o){i.push([o,null])}const c=[];for(const[e,t]of i){if(e===t){c.push(e)}else if(!t&&e===a[0]){c.push("*")}else if(!t){c.push(`>=${e}`)}else if(e===a[0]){c.push(`<=${t}`)}else{c.push(`${e} - ${t}`)}}const h=c.join(" || ");const u=typeof t.raw==="string"?t.raw:String(t);return h.length<u.length?h:t}},863:function(e,t,r){const s=r(828);const n=r(532);const{ANY:i}=n;const o=r(55);const l=r(309);const subset=(e,t,r={})=>{if(e===t){return true}e=new s(e,r);t=new s(t,r);let n=false;e:for(const s of e.set){for(const e of t.set){const t=simpleSubset(s,e,r);n=n||t!==null;if(t){continue e}}if(n){return false}}return true};const a=[new n(">=0.0.0-0")];const c=[new n(">=0.0.0")];const simpleSubset=(e,t,r)=>{if(e===t){return true}if(e.length===1&&e[0].semver===i){if(t.length===1&&t[0].semver===i){return true}else if(r.includePrerelease){e=a}else{e=c}}if(t.length===1&&t[0].semver===i){if(r.includePrerelease){return true}else{t=c}}const s=new Set;let n,h;for(const t of e){if(t.operator===">"||t.operator===">="){n=higherGT(n,t,r)}else if(t.operator==="<"||t.operator==="<="){h=lowerLT(h,t,r)}else{s.add(t.semver)}}if(s.size>1){return null}let u;if(n&&h){u=l(n.semver,h.semver,r);if(u>0){return null}else if(u===0&&(n.operator!==">="||h.operator!=="<=")){return null}}for(const e of s){if(n&&!o(e,String(n),r)){return null}if(h&&!o(e,String(h),r)){return null}for(const s of t){if(!o(e,String(s),r)){return false}}return true}let f,p;let E,m;let v=h&&!r.includePrerelease&&h.semver.prerelease.length?h.semver:false;let $=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:false;if(v&&v.prerelease.length===1&&h.operator==="<"&&v.prerelease[0]===0){v=false}for(const e of t){m=m||e.operator===">"||e.operator===">=";E=E||e.operator==="<"||e.operator==="<=";if(n){if($){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===$.major&&e.semver.minor===$.minor&&e.semver.patch===$.patch){$=false}}if(e.operator===">"||e.operator===">="){f=higherGT(n,e,r);if(f===e&&f!==n){return false}}else if(n.operator===">="&&!o(n.semver,String(e),r)){return false}}if(h){if(v){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch){v=false}}if(e.operator==="<"||e.operator==="<="){p=lowerLT(h,e,r);if(p===e&&p!==h){return false}}else if(h.operator==="<="&&!o(h.semver,String(e),r)){return false}}if(!e.operator&&(h||n)&&u!==0){return false}}if(n&&E&&!h&&u!==0){return false}if(h&&m&&!n&&u!==0){return false}if($||v){return false}return true};const higherGT=(e,t,r)=>{if(!e){return t}const s=l(e.semver,t.semver,r);return s>0?e:s<0?t:t.operator===">"&&e.operator===">="?t:e};const lowerLT=(e,t,r)=>{if(!e){return t}const s=l(e.semver,t.semver,r);return s<0?e:s>0?t:t.operator==="<"&&e.operator==="<="?t:e};e.exports=subset},706:function(e,t,r){const s=r(828);const toComparators=(e,t)=>new s(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")));e.exports=toComparators},741:function(e,t,r){const s=r(828);const validRange=(e,t)=>{try{return new s(e,t).range||"*"}catch(e){return null}};e.exports=validRange},91:function(e){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next){yield e.value}}}},665:function(e,t,r){"use strict";e.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(e){var t=this;if(!(t instanceof Yallist)){t=new Yallist}t.tail=null;t.head=null;t.length=0;if(e&&typeof e.forEach==="function"){e.forEach((function(e){t.push(e)}))}else if(arguments.length>0){for(var r=0,s=arguments.length;r<s;r++){t.push(arguments[r])}}return t}Yallist.prototype.removeNode=function(e){if(e.list!==this){throw new Error("removing node which does not belong to this list")}var t=e.next;var r=e.prev;if(t){t.prev=r}if(r){r.next=t}if(e===this.head){this.head=t}if(e===this.tail){this.tail=r}e.list.length--;e.next=null;e.prev=null;e.list=null;return t};Yallist.prototype.unshiftNode=function(e){if(e===this.head){return}if(e.list){e.list.removeNode(e)}var t=this.head;e.list=this;e.next=t;if(t){t.prev=e}this.head=e;if(!this.tail){this.tail=e}this.length++};Yallist.prototype.pushNode=function(e){if(e===this.tail){return}if(e.list){e.list.removeNode(e)}var t=this.tail;e.list=this;e.prev=t;if(t){t.next=e}this.tail=e;if(!this.head){this.head=e}this.length++};Yallist.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++){push(this,arguments[e])}return this.length};Yallist.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++){unshift(this,arguments[e])}return this.length};Yallist.prototype.pop=function(){if(!this.tail){return undefined}var e=this.tail.value;this.tail=this.tail.prev;if(this.tail){this.tail.next=null}else{this.head=null}this.length--;return e};Yallist.prototype.shift=function(){if(!this.head){return undefined}var e=this.head.value;this.head=this.head.next;if(this.head){this.head.prev=null}else{this.tail=null}this.length--;return e};Yallist.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,s=0;r!==null;s++){e.call(t,r.value,s,this);r=r.next}};Yallist.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,s=this.length-1;r!==null;s--){e.call(t,r.value,s,this);r=r.prev}};Yallist.prototype.get=function(e){for(var t=0,r=this.head;r!==null&&t<e;t++){r=r.next}if(t===e&&r!==null){return r.value}};Yallist.prototype.getReverse=function(e){for(var t=0,r=this.tail;r!==null&&t<e;t++){r=r.prev}if(t===e&&r!==null){return r.value}};Yallist.prototype.map=function(e,t){t=t||this;var r=new Yallist;for(var s=this.head;s!==null;){r.push(e.call(t,s.value,this));s=s.next}return r};Yallist.prototype.mapReverse=function(e,t){t=t||this;var r=new Yallist;for(var s=this.tail;s!==null;){r.push(e.call(t,s.value,this));s=s.prev}return r};Yallist.prototype.reduce=function(e,t){var r;var s=this.head;if(arguments.length>1){r=t}else if(this.head){s=this.head.next;r=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var n=0;s!==null;n++){r=e(r,s.value,n);s=s.next}return r};Yallist.prototype.reduceReverse=function(e,t){var r;var s=this.tail;if(arguments.length>1){r=t}else if(this.tail){s=this.tail.prev;r=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var n=this.length-1;s!==null;n--){r=e(r,s.value,n);s=s.prev}return r};Yallist.prototype.toArray=function(){var e=new Array(this.length);for(var t=0,r=this.head;r!==null;t++){e[t]=r.value;r=r.next}return e};Yallist.prototype.toArrayReverse=function(){var e=new Array(this.length);for(var t=0,r=this.tail;r!==null;t++){e[t]=r.value;r=r.prev}return e};Yallist.prototype.slice=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var r=new Yallist;if(t<e||t<0){return r}if(e<0){e=0}if(t>this.length){t=this.length}for(var s=0,n=this.head;n!==null&&s<e;s++){n=n.next}for(;n!==null&&s<t;s++,n=n.next){r.push(n.value)}return r};Yallist.prototype.sliceReverse=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var r=new Yallist;if(t<e||t<0){return r}if(e<0){e=0}if(t>this.length){t=this.length}for(var s=this.length,n=this.tail;n!==null&&s>t;s--){n=n.prev}for(;n!==null&&s>e;s--,n=n.prev){r.push(n.value)}return r};Yallist.prototype.splice=function(e,t,...r){if(e>this.length){e=this.length-1}if(e<0){e=this.length+e}for(var s=0,n=this.head;n!==null&&s<e;s++){n=n.next}var i=[];for(var s=0;n&&s<t;s++){i.push(n.value);n=this.removeNode(n)}if(n===null){n=this.tail}if(n!==this.head&&n!==this.tail){n=n.prev}for(var s=0;s<r.length;s++){n=insert(this,n,r[s])}return i};Yallist.prototype.reverse=function(){var e=this.head;var t=this.tail;for(var r=e;r!==null;r=r.prev){var s=r.prev;r.prev=r.next;r.next=s}this.head=t;this.tail=e;return this};function insert(e,t,r){var s=t===e.head?new Node(r,null,t,e):new Node(r,t,t.next,e);if(s.next===null){e.tail=s}if(s.prev===null){e.head=s}e.length++;return s}function push(e,t){e.tail=new Node(t,e.tail,null,e);if(!e.head){e.head=e.tail}e.length++}function unshift(e,t){e.head=new Node(t,null,e.head,e);if(!e.tail){e.tail=e.head}e.length++}function Node(e,t,r,s){if(!(this instanceof Node)){return new Node(e,t,r,s)}this.list=s;this.value=e;if(t){t.next=this;this.prev=t}else{this.prev=null}if(r){r.prev=this;this.next=r}else{this.next=null}}try{r(91)(Yallist)}catch(e){}}};var t={};function __nccwpck_require__(r){var s=t[r];if(s!==undefined){return s.exports}var n=t[r]={exports:{}};var i=true;try{e[r](n,n.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(383);module.exports=r})();
|
|
1
|
+
(function(){var e={129:function(e,t,r){"use strict";const s=r(665);const n=Symbol("max");const i=Symbol("length");const o=Symbol("lengthCalculator");const l=Symbol("allowStale");const a=Symbol("maxAge");const c=Symbol("dispose");const h=Symbol("noDisposeOnSet");const u=Symbol("lruList");const f=Symbol("cache");const p=Symbol("updateAgeOnGet");const naiveLength=()=>1;class LRUCache{constructor(e){if(typeof e==="number")e={max:e};if(!e)e={};if(e.max&&(typeof e.max!=="number"||e.max<0))throw new TypeError("max must be a non-negative number");const t=this[n]=e.max||Infinity;const r=e.length||naiveLength;this[o]=typeof r!=="function"?naiveLength:r;this[l]=e.stale||false;if(e.maxAge&&typeof e.maxAge!=="number")throw new TypeError("maxAge must be a number");this[a]=e.maxAge||0;this[c]=e.dispose;this[h]=e.noDisposeOnSet||false;this[p]=e.updateAgeOnGet||false;this.reset()}set max(e){if(typeof e!=="number"||e<0)throw new TypeError("max must be a non-negative number");this[n]=e||Infinity;trim(this)}get max(){return this[n]}set allowStale(e){this[l]=!!e}get allowStale(){return this[l]}set maxAge(e){if(typeof e!=="number")throw new TypeError("maxAge must be a non-negative number");this[a]=e;trim(this)}get maxAge(){return this[a]}set lengthCalculator(e){if(typeof e!=="function")e=naiveLength;if(e!==this[o]){this[o]=e;this[i]=0;this[u].forEach((e=>{e.length=this[o](e.value,e.key);this[i]+=e.length}))}trim(this)}get lengthCalculator(){return this[o]}get length(){return this[i]}get itemCount(){return this[u].length}rforEach(e,t){t=t||this;for(let r=this[u].tail;r!==null;){const s=r.prev;forEachStep(this,e,r,t);r=s}}forEach(e,t){t=t||this;for(let r=this[u].head;r!==null;){const s=r.next;forEachStep(this,e,r,t);r=s}}keys(){return this[u].toArray().map((e=>e.key))}values(){return this[u].toArray().map((e=>e.value))}reset(){if(this[c]&&this[u]&&this[u].length){this[u].forEach((e=>this[c](e.key,e.value)))}this[f]=new Map;this[u]=new s;this[i]=0}dump(){return this[u].map((e=>isStale(this,e)?false:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[u]}set(e,t,r){r=r||this[a];if(r&&typeof r!=="number")throw new TypeError("maxAge must be a number");const s=r?Date.now():0;const l=this[o](t,e);if(this[f].has(e)){if(l>this[n]){del(this,this[f].get(e));return false}const o=this[f].get(e);const a=o.value;if(this[c]){if(!this[h])this[c](e,a.value)}a.now=s;a.maxAge=r;a.value=t;this[i]+=l-a.length;a.length=l;this.get(e);trim(this);return true}const p=new Entry(e,t,l,s,r);if(p.length>this[n]){if(this[c])this[c](e,t);return false}this[i]+=p.length;this[u].unshift(p);this[f].set(e,this[u].head);trim(this);return true}has(e){if(!this[f].has(e))return false;const t=this[f].get(e).value;return!isStale(this,t)}get(e){return get(this,e,true)}peek(e){return get(this,e,false)}pop(){const e=this[u].tail;if(!e)return null;del(this,e);return e.value}del(e){del(this,this[f].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const s=e[r];const n=s.e||0;if(n===0)this.set(s.k,s.v);else{const e=n-t;if(e>0){this.set(s.k,s.v,e)}}}}prune(){this[f].forEach(((e,t)=>get(this,t,false)))}}const get=(e,t,r)=>{const s=e[f].get(t);if(s){const t=s.value;if(isStale(e,t)){del(e,s);if(!e[l])return undefined}else{if(r){if(e[p])s.value.now=Date.now();e[u].unshiftNode(s)}}return t.value}};const isStale=(e,t)=>{if(!t||!t.maxAge&&!e[a])return false;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[a]&&r>e[a]};const trim=e=>{if(e[i]>e[n]){for(let t=e[u].tail;e[i]>e[n]&&t!==null;){const r=t.prev;del(e,t);t=r}}};const del=(e,t)=>{if(t){const r=t.value;if(e[c])e[c](r.key,r.value);e[i]-=r.length;e[f].delete(r.key);e[u].removeNode(t)}};class Entry{constructor(e,t,r,s,n){this.key=e;this.value=t;this.length=r;this.now=s;this.maxAge=n||0}}const forEachStep=(e,t,r,s)=>{let n=r.value;if(isStale(e,n)){del(e,r);if(!e[l])n=undefined}if(n)t.call(s,n.value,n.key,e)};e.exports=LRUCache},532:function(e,t,r){const s=Symbol("SemVer ANY");class Comparator{static get ANY(){return s}constructor(e,t){t=n(t);if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}e=e.trim().split(/\s+/).join(" ");a("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===s){this.value=""}else{this.value=this.operator+this.semver.version}a("comp",this)}parse(e){const t=this.options.loose?i[o.COMPARATORLOOSE]:i[o.COMPARATOR];const r=e.match(t);if(!r){throw new TypeError(`Invalid comparator: ${e}`)}this.operator=r[1]!==undefined?r[1]:"";if(this.operator==="="){this.operator=""}if(!r[2]){this.semver=s}else{this.semver=new c(r[2],this.options.loose)}}toString(){return this.value}test(e){a("Comparator.test",e,this.options.loose);if(this.semver===s||e===s){return true}if(typeof e==="string"){try{e=new c(e,this.options)}catch(e){return false}}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(this.operator===""){if(this.value===""){return true}return new h(e.value,t).test(this.value)}else if(e.operator===""){if(e.value===""){return true}return new h(this.value,t).test(e.semver)}t=n(t);if(t.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")){return false}if(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))){return false}if(this.operator.startsWith(">")&&e.operator.startsWith(">")){return true}if(this.operator.startsWith("<")&&e.operator.startsWith("<")){return true}if(this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")){return true}if(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")){return true}if(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")){return true}return false}}e.exports=Comparator;const n=r(785);const{safeRe:i,t:o}=r(523);const l=r(98);const a=r(427);const c=r(88);const h=r(828)},828:function(e,t,r){class Range{constructor(e,t){t=i(t);if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof o){this.raw=e.value;this.set=[[e]];this.format();return this}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e.trim().split(/\s+/).join(" ");this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${this.raw}`)}if(this.set.length>1){const e=this.set[0];this.set=this.set.filter((e=>!isNullSet(e[0])));if(this.set.length===0){this.set=[e]}else if(this.set.length>1){for(const e of this.set){if(e.length===1&&isAny(e[0])){this.set=[e];break}}}}this.format()}format(){this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim();return this.range}toString(){return this.range}parseRange(e){const t=(this.options.includePrerelease&&E)|(this.options.loose&&m);const r=t+":"+e;const s=n.get(r);if(s){return s}const i=this.options.loose;const a=i?c[h.HYPHENRANGELOOSE]:c[h.HYPHENRANGE];e=e.replace(a,hyphenReplace(this.options.includePrerelease));l("hyphen replace",e);e=e.replace(c[h.COMPARATORTRIM],u);l("comparator trim",e);e=e.replace(c[h.TILDETRIM],f);l("tilde trim",e);e=e.replace(c[h.CARETTRIM],p);l("caret trim",e);let v=e.split(" ").map((e=>parseComparator(e,this.options))).join(" ").split(/\s+/).map((e=>replaceGTE0(e,this.options)));if(i){v=v.filter((e=>{l("loose invalid filter",e,this.options);return!!e.match(c[h.COMPARATORLOOSE])}))}l("range list",v);const $=new Map;const R=v.map((e=>new o(e,this.options)));for(const e of R){if(isNullSet(e)){return[e]}$.set(e.value,e)}if($.size>1&&$.has("")){$.delete("")}const d=[...$.values()];n.set(r,d);return d}intersects(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((r=>isSatisfiable(r,t)&&e.set.some((e=>isSatisfiable(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e){return false}if(typeof e==="string"){try{e=new a(e,this.options)}catch(e){return false}}for(let t=0;t<this.set.length;t++){if(testSet(this.set[t],e,this.options)){return true}}return false}}e.exports=Range;const s=r(129);const n=new s({max:1e3});const i=r(785);const o=r(532);const l=r(427);const a=r(88);const{safeRe:c,t:h,comparatorTrimReplace:u,tildeTrimReplace:f,caretTrimReplace:p}=r(523);const{FLAG_INCLUDE_PRERELEASE:E,FLAG_LOOSE:m}=r(293);const isNullSet=e=>e.value==="<0.0.0-0";const isAny=e=>e.value==="";const isSatisfiable=(e,t)=>{let r=true;const s=e.slice();let n=s.pop();while(r&&s.length){r=s.every((e=>n.intersects(e,t)));n=s.pop()}return r};const parseComparator=(e,t)=>{l("comp",e,t);e=replaceCarets(e,t);l("caret",e);e=replaceTildes(e,t);l("tildes",e);e=replaceXRanges(e,t);l("xrange",e);e=replaceStars(e,t);l("stars",e);return e};const isX=e=>!e||e.toLowerCase()==="x"||e==="*";const replaceTildes=(e,t)=>e.trim().split(/\s+/).map((e=>replaceTilde(e,t))).join(" ");const replaceTilde=(e,t)=>{const r=t.loose?c[h.TILDELOOSE]:c[h.TILDE];return e.replace(r,((t,r,s,n,i)=>{l("tilde",e,t,r,s,n,i);let o;if(isX(r)){o=""}else if(isX(s)){o=`>=${r}.0.0 <${+r+1}.0.0-0`}else if(isX(n)){o=`>=${r}.${s}.0 <${r}.${+s+1}.0-0`}else if(i){l("replaceTilde pr",i);o=`>=${r}.${s}.${n}-${i} <${r}.${+s+1}.0-0`}else{o=`>=${r}.${s}.${n} <${r}.${+s+1}.0-0`}l("tilde return",o);return o}))};const replaceCarets=(e,t)=>e.trim().split(/\s+/).map((e=>replaceCaret(e,t))).join(" ");const replaceCaret=(e,t)=>{l("caret",e,t);const r=t.loose?c[h.CARETLOOSE]:c[h.CARET];const s=t.includePrerelease?"-0":"";return e.replace(r,((t,r,n,i,o)=>{l("caret",e,t,r,n,i,o);let a;if(isX(r)){a=""}else if(isX(n)){a=`>=${r}.0.0${s} <${+r+1}.0.0-0`}else if(isX(i)){if(r==="0"){a=`>=${r}.${n}.0${s} <${r}.${+n+1}.0-0`}else{a=`>=${r}.${n}.0${s} <${+r+1}.0.0-0`}}else if(o){l("replaceCaret pr",o);if(r==="0"){if(n==="0"){a=`>=${r}.${n}.${i}-${o} <${r}.${n}.${+i+1}-0`}else{a=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`}}else{a=`>=${r}.${n}.${i}-${o} <${+r+1}.0.0-0`}}else{l("no pr");if(r==="0"){if(n==="0"){a=`>=${r}.${n}.${i}${s} <${r}.${n}.${+i+1}-0`}else{a=`>=${r}.${n}.${i}${s} <${r}.${+n+1}.0-0`}}else{a=`>=${r}.${n}.${i} <${+r+1}.0.0-0`}}l("caret return",a);return a}))};const replaceXRanges=(e,t)=>{l("replaceXRanges",e,t);return e.split(/\s+/).map((e=>replaceXRange(e,t))).join(" ")};const replaceXRange=(e,t)=>{e=e.trim();const r=t.loose?c[h.XRANGELOOSE]:c[h.XRANGE];return e.replace(r,((r,s,n,i,o,a)=>{l("xRange",e,r,s,n,i,o,a);const c=isX(n);const h=c||isX(i);const u=h||isX(o);const f=u;if(s==="="&&f){s=""}a=t.includePrerelease?"-0":"";if(c){if(s===">"||s==="<"){r="<0.0.0-0"}else{r="*"}}else if(s&&f){if(h){i=0}o=0;if(s===">"){s=">=";if(h){n=+n+1;i=0;o=0}else{i=+i+1;o=0}}else if(s==="<="){s="<";if(h){n=+n+1}else{i=+i+1}}if(s==="<"){a="-0"}r=`${s+n}.${i}.${o}${a}`}else if(h){r=`>=${n}.0.0${a} <${+n+1}.0.0-0`}else if(u){r=`>=${n}.${i}.0${a} <${n}.${+i+1}.0-0`}l("xRange return",r);return r}))};const replaceStars=(e,t)=>{l("replaceStars",e,t);return e.trim().replace(c[h.STAR],"")};const replaceGTE0=(e,t)=>{l("replaceGTE0",e,t);return e.trim().replace(c[t.includePrerelease?h.GTE0PRE:h.GTE0],"")};const hyphenReplace=e=>(t,r,s,n,i,o,l,a,c,h,u,f,p)=>{if(isX(s)){r=""}else if(isX(n)){r=`>=${s}.0.0${e?"-0":""}`}else if(isX(i)){r=`>=${s}.${n}.0${e?"-0":""}`}else if(o){r=`>=${r}`}else{r=`>=${r}${e?"-0":""}`}if(isX(c)){a=""}else if(isX(h)){a=`<${+c+1}.0.0-0`}else if(isX(u)){a=`<${c}.${+h+1}.0-0`}else if(f){a=`<=${c}.${h}.${u}-${f}`}else if(e){a=`<${c}.${h}.${+u+1}-0`}else{a=`<=${a}`}return`${r} ${a}`.trim()};const testSet=(e,t,r)=>{for(let r=0;r<e.length;r++){if(!e[r].test(t)){return false}}if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++){l(e[r].semver);if(e[r].semver===o.ANY){continue}if(e[r].semver.prerelease.length>0){const s=e[r].semver;if(s.major===t.major&&s.minor===t.minor&&s.patch===t.patch){return true}}}return false}return true}},88:function(e,t,r){const s=r(427);const{MAX_LENGTH:n,MAX_SAFE_INTEGER:i}=r(293);const{safeRe:o,t:l}=r(523);const a=r(785);const{compareIdentifiers:c}=r(463);class SemVer{constructor(e,t){t=a(t);if(e instanceof SemVer){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`)}if(e.length>n){throw new TypeError(`version is longer than ${n} characters`)}s("SemVer",e,t);this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?o[l.LOOSE]:o[l.FULL]);if(!r){throw new TypeError(`Invalid Version: ${e}`)}this.raw=e;this.major=+r[1];this.minor=+r[2];this.patch=+r[3];if(this.major>i||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>i||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>i||this.patch<0){throw new TypeError("Invalid patch version")}if(!r[4]){this.prerelease=[]}else{this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i){return t}}return e}))}this.build=r[5]?r[5].split("."):[];this.format()}format(){this.version=`${this.major}.${this.minor}.${this.patch}`;if(this.prerelease.length){this.version+=`-${this.prerelease.join(".")}`}return this.version}toString(){return this.version}compare(e){s("SemVer.compare",this.version,this.options,e);if(!(e instanceof SemVer)){if(typeof e==="string"&&e===this.version){return 0}e=new SemVer(e,this.options)}if(e.version===this.version){return 0}return this.compareMain(e)||this.comparePre(e)}compareMain(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.prerelease.length&&!e.prerelease.length){return-1}else if(!this.prerelease.length&&e.prerelease.length){return 1}else if(!this.prerelease.length&&!e.prerelease.length){return 0}let t=0;do{const r=this.prerelease[t];const n=e.prerelease[t];s("prerelease compare",t,r,n);if(r===undefined&&n===undefined){return 0}else if(n===undefined){return 1}else if(r===undefined){return-1}else if(r===n){continue}else{return c(r,n)}}while(++t)}compareBuild(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}let t=0;do{const r=this.build[t];const n=e.build[t];s("prerelease compare",t,r,n);if(r===undefined&&n===undefined){return 0}else if(n===undefined){return 1}else if(r===undefined){return-1}else if(r===n){continue}else{return c(r,n)}}while(++t)}inc(e,t,r){switch(e){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0;this.inc("patch",t,r);this.inc("pre",t,r);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",t,r)}this.inc("pre",t,r);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":{const e=Number(r)?1:0;if(!t&&r===false){throw new Error("invalid increment argument: identifier is empty")}if(this.prerelease.length===0){this.prerelease=[e]}else{let s=this.prerelease.length;while(--s>=0){if(typeof this.prerelease[s]==="number"){this.prerelease[s]++;s=-2}}if(s===-1){if(t===this.prerelease.join(".")&&r===false){throw new Error("invalid increment argument: identifier already exists")}this.prerelease.push(e)}}if(t){let s=[t,e];if(r===false){s=[t]}if(c(this.prerelease[0],t)===0){if(isNaN(this.prerelease[1])){this.prerelease=s}}else{this.prerelease=s}}break}default:throw new Error(`invalid increment argument: ${e}`)}this.raw=this.format();if(this.build.length){this.raw+=`+${this.build.join(".")}`}return this}}e.exports=SemVer},848:function(e,t,r){const s=r(925);const clean=(e,t)=>{const r=s(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};e.exports=clean},98:function(e,t,r){const s=r(898);const n=r(17);const i=r(123);const o=r(522);const l=r(194);const a=r(520);const cmp=(e,t,r,c)=>{switch(t){case"===":if(typeof e==="object"){e=e.version}if(typeof r==="object"){r=r.version}return e===r;case"!==":if(typeof e==="object"){e=e.version}if(typeof r==="object"){r=r.version}return e!==r;case"":case"=":case"==":return s(e,r,c);case"!=":return n(e,r,c);case">":return i(e,r,c);case">=":return o(e,r,c);case"<":return l(e,r,c);case"<=":return a(e,r,c);default:throw new TypeError(`Invalid operator: ${t}`)}};e.exports=cmp},466:function(e,t,r){const s=r(88);const n=r(925);const{safeRe:i,t:o}=r(523);const coerce=(e,t)=>{if(e instanceof s){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};let r=null;if(!t.rtl){r=e.match(t.includePrerelease?i[o.COERCEFULL]:i[o.COERCE])}else{const s=t.includePrerelease?i[o.COERCERTLFULL]:i[o.COERCERTL];let n;while((n=s.exec(e))&&(!r||r.index+r[0].length!==e.length)){if(!r||n.index+n[0].length!==r.index+r[0].length){r=n}s.lastIndex=n.index+n[1].length+n[2].length}s.lastIndex=-1}if(r===null){return null}const l=r[2];const a=r[3]||"0";const c=r[4]||"0";const h=t.includePrerelease&&r[5]?`-${r[5]}`:"";const u=t.includePrerelease&&r[6]?`+${r[6]}`:"";return n(`${l}.${a}.${c}${h}${u}`,t)};e.exports=coerce},156:function(e,t,r){const s=r(88);const compareBuild=(e,t,r)=>{const n=new s(e,r);const i=new s(t,r);return n.compare(i)||n.compareBuild(i)};e.exports=compareBuild},804:function(e,t,r){const s=r(309);const compareLoose=(e,t)=>s(e,t,true);e.exports=compareLoose},309:function(e,t,r){const s=r(88);const compare=(e,t,r)=>new s(e,r).compare(new s(t,r));e.exports=compare},297:function(e,t,r){const s=r(925);const diff=(e,t)=>{const r=s(e,null,true);const n=s(t,null,true);const i=r.compare(n);if(i===0){return null}const o=i>0;const l=o?r:n;const a=o?n:r;const c=!!l.prerelease.length;const h=!!a.prerelease.length;if(h&&!c){if(!a.patch&&!a.minor){return"major"}if(l.patch){return"patch"}if(l.minor){return"minor"}return"major"}const u=c?"pre":"";if(r.major!==n.major){return u+"major"}if(r.minor!==n.minor){return u+"minor"}if(r.patch!==n.patch){return u+"patch"}return"prerelease"};e.exports=diff},898:function(e,t,r){const s=r(309);const eq=(e,t,r)=>s(e,t,r)===0;e.exports=eq},123:function(e,t,r){const s=r(309);const gt=(e,t,r)=>s(e,t,r)>0;e.exports=gt},522:function(e,t,r){const s=r(309);const gte=(e,t,r)=>s(e,t,r)>=0;e.exports=gte},900:function(e,t,r){const s=r(88);const inc=(e,t,r,n,i)=>{if(typeof r==="string"){i=n;n=r;r=undefined}try{return new s(e instanceof s?e.version:e,r).inc(t,n,i).version}catch(e){return null}};e.exports=inc},194:function(e,t,r){const s=r(309);const lt=(e,t,r)=>s(e,t,r)<0;e.exports=lt},520:function(e,t,r){const s=r(309);const lte=(e,t,r)=>s(e,t,r)<=0;e.exports=lte},688:function(e,t,r){const s=r(88);const major=(e,t)=>new s(e,t).major;e.exports=major},447:function(e,t,r){const s=r(88);const minor=(e,t)=>new s(e,t).minor;e.exports=minor},17:function(e,t,r){const s=r(309);const neq=(e,t,r)=>s(e,t,r)!==0;e.exports=neq},925:function(e,t,r){const s=r(88);const parse=(e,t,r=false)=>{if(e instanceof s){return e}try{return new s(e,t)}catch(e){if(!r){return null}throw e}};e.exports=parse},866:function(e,t,r){const s=r(88);const patch=(e,t)=>new s(e,t).patch;e.exports=patch},16:function(e,t,r){const s=r(925);const prerelease=(e,t)=>{const r=s(e,t);return r&&r.prerelease.length?r.prerelease:null};e.exports=prerelease},417:function(e,t,r){const s=r(309);const rcompare=(e,t,r)=>s(t,e,r);e.exports=rcompare},701:function(e,t,r){const s=r(156);const rsort=(e,t)=>e.sort(((e,r)=>s(r,e,t)));e.exports=rsort},55:function(e,t,r){const s=r(828);const satisfies=(e,t,r)=>{try{t=new s(t,r)}catch(e){return false}return t.test(e)};e.exports=satisfies},426:function(e,t,r){const s=r(156);const sort=(e,t)=>e.sort(((e,r)=>s(e,r,t)));e.exports=sort},601:function(e,t,r){const s=r(925);const valid=(e,t)=>{const r=s(e,t);return r?r.version:null};e.exports=valid},383:function(e,t,r){const s=r(523);const n=r(293);const i=r(88);const o=r(463);const l=r(925);const a=r(601);const c=r(848);const h=r(900);const u=r(297);const f=r(688);const p=r(447);const E=r(866);const m=r(16);const v=r(309);const $=r(417);const R=r(804);const d=r(156);const g=r(426);const I=r(701);const N=r(123);const L=r(194);const A=r(898);const w=r(17);const O=r(522);const S=r(520);const T=r(98);const y=r(466);const x=r(532);const P=r(828);const C=r(55);const b=r(706);const D=r(579);const _=r(832);const G=r(179);const M=r(741);const F=r(420);const j=r(380);const Y=r(323);const U=r(8);const X=r(561);const k=r(863);e.exports={parse:l,valid:a,clean:c,inc:h,diff:u,major:f,minor:p,patch:E,prerelease:m,compare:v,rcompare:$,compareLoose:R,compareBuild:d,sort:g,rsort:I,gt:N,lt:L,eq:A,neq:w,gte:O,lte:S,cmp:T,coerce:y,Comparator:x,Range:P,satisfies:C,toComparators:b,maxSatisfying:D,minSatisfying:_,minVersion:G,validRange:M,outside:F,gtr:j,ltr:Y,intersects:U,simplifyRange:X,subset:k,SemVer:i,re:s.re,src:s.src,tokens:s.t,SEMVER_SPEC_VERSION:n.SEMVER_SPEC_VERSION,RELEASE_TYPES:n.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}},293:function(e){const t="2.0.0";const r=256;const s=Number.MAX_SAFE_INTEGER||9007199254740991;const n=16;const i=r-6;const o=["major","premajor","minor","preminor","patch","prepatch","prerelease"];e.exports={MAX_LENGTH:r,MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:i,MAX_SAFE_INTEGER:s,RELEASE_TYPES:o,SEMVER_SPEC_VERSION:t,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},427:function(e){const t=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},463:function(e){const t=/^[0-9]+$/;const compareIdentifiers=(e,r)=>{const s=t.test(e);const n=t.test(r);if(s&&n){e=+e;r=+r}return e===r?0:s&&!n?-1:n&&!s?1:e<r?-1:1};const rcompareIdentifiers=(e,t)=>compareIdentifiers(t,e);e.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},785:function(e){const t=Object.freeze({loose:true});const r=Object.freeze({});const parseOptions=e=>{if(!e){return r}if(typeof e!=="object"){return t}return e};e.exports=parseOptions},523:function(e,t,r){const{MAX_SAFE_COMPONENT_LENGTH:s,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:i}=r(293);const o=r(427);t=e.exports={};const l=t.re=[];const a=t.safeRe=[];const c=t.src=[];const h=t.t={};let u=0;const f="[a-zA-Z0-9-]";const p=[["\\s",1],["\\d",i],[f,n]];const makeSafeRegex=e=>{for(const[t,r]of p){e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`)}return e};const createToken=(e,t,r)=>{const s=makeSafeRegex(t);const n=u++;o(e,n,t);h[e]=n;c[n]=t;l[n]=new RegExp(t,r?"g":undefined);a[n]=new RegExp(s,r?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","\\d+");createToken("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`);createToken("MAINVERSION",`(${c[h.NUMERICIDENTIFIER]})\\.`+`(${c[h.NUMERICIDENTIFIER]})\\.`+`(${c[h.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${c[h.NUMERICIDENTIFIERLOOSE]})\\.`+`(${c[h.NUMERICIDENTIFIERLOOSE]})\\.`+`(${c[h.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${c[h.NUMERICIDENTIFIER]}|${c[h.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${c[h.NUMERICIDENTIFIERLOOSE]}|${c[h.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASE",`(?:-(${c[h.PRERELEASEIDENTIFIER]}(?:\\.${c[h.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${c[h.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[h.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER",`${f}+`);createToken("BUILD",`(?:\\+(${c[h.BUILDIDENTIFIER]}(?:\\.${c[h.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${c[h.MAINVERSION]}${c[h.PRERELEASE]}?${c[h.BUILD]}?`);createToken("FULL",`^${c[h.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${c[h.MAINVERSIONLOOSE]}${c[h.PRERELEASELOOSE]}?${c[h.BUILD]}?`);createToken("LOOSE",`^${c[h.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${c[h.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${c[h.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${c[h.XRANGEIDENTIFIER]})`+`(?:\\.(${c[h.XRANGEIDENTIFIER]})`+`(?:\\.(${c[h.XRANGEIDENTIFIER]})`+`(?:${c[h.PRERELEASE]})?${c[h.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${c[h.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${c[h.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${c[h.XRANGEIDENTIFIERLOOSE]})`+`(?:${c[h.PRERELEASELOOSE]})?${c[h.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${c[h.GTLT]}\\s*${c[h.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${c[h.GTLT]}\\s*${c[h.XRANGEPLAINLOOSE]}$`);createToken("COERCEPLAIN",`${"(^|[^\\d])"+"(\\d{1,"}${s}})`+`(?:\\.(\\d{1,${s}}))?`+`(?:\\.(\\d{1,${s}}))?`);createToken("COERCE",`${c[h.COERCEPLAIN]}(?:$|[^\\d])`);createToken("COERCEFULL",c[h.COERCEPLAIN]+`(?:${c[h.PRERELEASE]})?`+`(?:${c[h.BUILD]})?`+`(?:$|[^\\d])`);createToken("COERCERTL",c[h.COERCE],true);createToken("COERCERTLFULL",c[h.COERCEFULL],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${c[h.LONETILDE]}\\s+`,true);t.tildeTrimReplace="$1~";createToken("TILDE",`^${c[h.LONETILDE]}${c[h.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${c[h.LONETILDE]}${c[h.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${c[h.LONECARET]}\\s+`,true);t.caretTrimReplace="$1^";createToken("CARET",`^${c[h.LONECARET]}${c[h.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${c[h.LONECARET]}${c[h.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${c[h.GTLT]}\\s*(${c[h.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${c[h.GTLT]}\\s*(${c[h.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${c[h.GTLT]}\\s*(${c[h.LOOSEPLAIN]}|${c[h.XRANGEPLAIN]})`,true);t.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${c[h.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${c[h.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${c[h.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${c[h.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},380:function(e,t,r){const s=r(420);const gtr=(e,t,r)=>s(e,t,">",r);e.exports=gtr},8:function(e,t,r){const s=r(828);const intersects=(e,t,r)=>{e=new s(e,r);t=new s(t,r);return e.intersects(t,r)};e.exports=intersects},323:function(e,t,r){const s=r(420);const ltr=(e,t,r)=>s(e,t,"<",r);e.exports=ltr},579:function(e,t,r){const s=r(88);const n=r(828);const maxSatisfying=(e,t,r)=>{let i=null;let o=null;let l=null;try{l=new n(t,r)}catch(e){return null}e.forEach((e=>{if(l.test(e)){if(!i||o.compare(e)===-1){i=e;o=new s(i,r)}}}));return i};e.exports=maxSatisfying},832:function(e,t,r){const s=r(88);const n=r(828);const minSatisfying=(e,t,r)=>{let i=null;let o=null;let l=null;try{l=new n(t,r)}catch(e){return null}e.forEach((e=>{if(l.test(e)){if(!i||o.compare(e)===1){i=e;o=new s(i,r)}}}));return i};e.exports=minSatisfying},179:function(e,t,r){const s=r(88);const n=r(828);const i=r(123);const minVersion=(e,t)=>{e=new n(e,t);let r=new s("0.0.0");if(e.test(r)){return r}r=new s("0.0.0-0");if(e.test(r)){return r}r=null;for(let t=0;t<e.set.length;++t){const n=e.set[t];let o=null;n.forEach((e=>{const t=new s(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!o||i(t,o)){o=t}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}));if(o&&(!r||i(r,o))){r=o}}if(r&&e.test(r)){return r}return null};e.exports=minVersion},420:function(e,t,r){const s=r(88);const n=r(532);const{ANY:i}=n;const o=r(828);const l=r(55);const a=r(123);const c=r(194);const h=r(520);const u=r(522);const outside=(e,t,r,f)=>{e=new s(e,f);t=new o(t,f);let p,E,m,v,$;switch(r){case">":p=a;E=h;m=c;v=">";$=">=";break;case"<":p=c;E=u;m=a;v="<";$="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(l(e,t,f)){return false}for(let r=0;r<t.set.length;++r){const s=t.set[r];let o=null;let l=null;s.forEach((e=>{if(e.semver===i){e=new n(">=0.0.0")}o=o||e;l=l||e;if(p(e.semver,o.semver,f)){o=e}else if(m(e.semver,l.semver,f)){l=e}}));if(o.operator===v||o.operator===$){return false}if((!l.operator||l.operator===v)&&E(e,l.semver)){return false}else if(l.operator===$&&m(e,l.semver)){return false}}return true};e.exports=outside},561:function(e,t,r){const s=r(55);const n=r(309);e.exports=(e,t,r)=>{const i=[];let o=null;let l=null;const a=e.sort(((e,t)=>n(e,t,r)));for(const e of a){const n=s(e,t,r);if(n){l=e;if(!o){o=e}}else{if(l){i.push([o,l])}l=null;o=null}}if(o){i.push([o,null])}const c=[];for(const[e,t]of i){if(e===t){c.push(e)}else if(!t&&e===a[0]){c.push("*")}else if(!t){c.push(`>=${e}`)}else if(e===a[0]){c.push(`<=${t}`)}else{c.push(`${e} - ${t}`)}}const h=c.join(" || ");const u=typeof t.raw==="string"?t.raw:String(t);return h.length<u.length?h:t}},863:function(e,t,r){const s=r(828);const n=r(532);const{ANY:i}=n;const o=r(55);const l=r(309);const subset=(e,t,r={})=>{if(e===t){return true}e=new s(e,r);t=new s(t,r);let n=false;e:for(const s of e.set){for(const e of t.set){const t=simpleSubset(s,e,r);n=n||t!==null;if(t){continue e}}if(n){return false}}return true};const a=[new n(">=0.0.0-0")];const c=[new n(">=0.0.0")];const simpleSubset=(e,t,r)=>{if(e===t){return true}if(e.length===1&&e[0].semver===i){if(t.length===1&&t[0].semver===i){return true}else if(r.includePrerelease){e=a}else{e=c}}if(t.length===1&&t[0].semver===i){if(r.includePrerelease){return true}else{t=c}}const s=new Set;let n,h;for(const t of e){if(t.operator===">"||t.operator===">="){n=higherGT(n,t,r)}else if(t.operator==="<"||t.operator==="<="){h=lowerLT(h,t,r)}else{s.add(t.semver)}}if(s.size>1){return null}let u;if(n&&h){u=l(n.semver,h.semver,r);if(u>0){return null}else if(u===0&&(n.operator!==">="||h.operator!=="<=")){return null}}for(const e of s){if(n&&!o(e,String(n),r)){return null}if(h&&!o(e,String(h),r)){return null}for(const s of t){if(!o(e,String(s),r)){return false}}return true}let f,p;let E,m;let v=h&&!r.includePrerelease&&h.semver.prerelease.length?h.semver:false;let $=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:false;if(v&&v.prerelease.length===1&&h.operator==="<"&&v.prerelease[0]===0){v=false}for(const e of t){m=m||e.operator===">"||e.operator===">=";E=E||e.operator==="<"||e.operator==="<=";if(n){if($){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===$.major&&e.semver.minor===$.minor&&e.semver.patch===$.patch){$=false}}if(e.operator===">"||e.operator===">="){f=higherGT(n,e,r);if(f===e&&f!==n){return false}}else if(n.operator===">="&&!o(n.semver,String(e),r)){return false}}if(h){if(v){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch){v=false}}if(e.operator==="<"||e.operator==="<="){p=lowerLT(h,e,r);if(p===e&&p!==h){return false}}else if(h.operator==="<="&&!o(h.semver,String(e),r)){return false}}if(!e.operator&&(h||n)&&u!==0){return false}}if(n&&E&&!h&&u!==0){return false}if(h&&m&&!n&&u!==0){return false}if($||v){return false}return true};const higherGT=(e,t,r)=>{if(!e){return t}const s=l(e.semver,t.semver,r);return s>0?e:s<0?t:t.operator===">"&&e.operator===">="?t:e};const lowerLT=(e,t,r)=>{if(!e){return t}const s=l(e.semver,t.semver,r);return s<0?e:s>0?t:t.operator==="<"&&e.operator==="<="?t:e};e.exports=subset},706:function(e,t,r){const s=r(828);const toComparators=(e,t)=>new s(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")));e.exports=toComparators},741:function(e,t,r){const s=r(828);const validRange=(e,t)=>{try{return new s(e,t).range||"*"}catch(e){return null}};e.exports=validRange},91:function(e){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next){yield e.value}}}},665:function(e,t,r){"use strict";e.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(e){var t=this;if(!(t instanceof Yallist)){t=new Yallist}t.tail=null;t.head=null;t.length=0;if(e&&typeof e.forEach==="function"){e.forEach((function(e){t.push(e)}))}else if(arguments.length>0){for(var r=0,s=arguments.length;r<s;r++){t.push(arguments[r])}}return t}Yallist.prototype.removeNode=function(e){if(e.list!==this){throw new Error("removing node which does not belong to this list")}var t=e.next;var r=e.prev;if(t){t.prev=r}if(r){r.next=t}if(e===this.head){this.head=t}if(e===this.tail){this.tail=r}e.list.length--;e.next=null;e.prev=null;e.list=null;return t};Yallist.prototype.unshiftNode=function(e){if(e===this.head){return}if(e.list){e.list.removeNode(e)}var t=this.head;e.list=this;e.next=t;if(t){t.prev=e}this.head=e;if(!this.tail){this.tail=e}this.length++};Yallist.prototype.pushNode=function(e){if(e===this.tail){return}if(e.list){e.list.removeNode(e)}var t=this.tail;e.list=this;e.prev=t;if(t){t.next=e}this.tail=e;if(!this.head){this.head=e}this.length++};Yallist.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++){push(this,arguments[e])}return this.length};Yallist.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++){unshift(this,arguments[e])}return this.length};Yallist.prototype.pop=function(){if(!this.tail){return undefined}var e=this.tail.value;this.tail=this.tail.prev;if(this.tail){this.tail.next=null}else{this.head=null}this.length--;return e};Yallist.prototype.shift=function(){if(!this.head){return undefined}var e=this.head.value;this.head=this.head.next;if(this.head){this.head.prev=null}else{this.tail=null}this.length--;return e};Yallist.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,s=0;r!==null;s++){e.call(t,r.value,s,this);r=r.next}};Yallist.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,s=this.length-1;r!==null;s--){e.call(t,r.value,s,this);r=r.prev}};Yallist.prototype.get=function(e){for(var t=0,r=this.head;r!==null&&t<e;t++){r=r.next}if(t===e&&r!==null){return r.value}};Yallist.prototype.getReverse=function(e){for(var t=0,r=this.tail;r!==null&&t<e;t++){r=r.prev}if(t===e&&r!==null){return r.value}};Yallist.prototype.map=function(e,t){t=t||this;var r=new Yallist;for(var s=this.head;s!==null;){r.push(e.call(t,s.value,this));s=s.next}return r};Yallist.prototype.mapReverse=function(e,t){t=t||this;var r=new Yallist;for(var s=this.tail;s!==null;){r.push(e.call(t,s.value,this));s=s.prev}return r};Yallist.prototype.reduce=function(e,t){var r;var s=this.head;if(arguments.length>1){r=t}else if(this.head){s=this.head.next;r=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var n=0;s!==null;n++){r=e(r,s.value,n);s=s.next}return r};Yallist.prototype.reduceReverse=function(e,t){var r;var s=this.tail;if(arguments.length>1){r=t}else if(this.tail){s=this.tail.prev;r=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var n=this.length-1;s!==null;n--){r=e(r,s.value,n);s=s.prev}return r};Yallist.prototype.toArray=function(){var e=new Array(this.length);for(var t=0,r=this.head;r!==null;t++){e[t]=r.value;r=r.next}return e};Yallist.prototype.toArrayReverse=function(){var e=new Array(this.length);for(var t=0,r=this.tail;r!==null;t++){e[t]=r.value;r=r.prev}return e};Yallist.prototype.slice=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var r=new Yallist;if(t<e||t<0){return r}if(e<0){e=0}if(t>this.length){t=this.length}for(var s=0,n=this.head;n!==null&&s<e;s++){n=n.next}for(;n!==null&&s<t;s++,n=n.next){r.push(n.value)}return r};Yallist.prototype.sliceReverse=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var r=new Yallist;if(t<e||t<0){return r}if(e<0){e=0}if(t>this.length){t=this.length}for(var s=this.length,n=this.tail;n!==null&&s>t;s--){n=n.prev}for(;n!==null&&s>e;s--,n=n.prev){r.push(n.value)}return r};Yallist.prototype.splice=function(e,t,...r){if(e>this.length){e=this.length-1}if(e<0){e=this.length+e}for(var s=0,n=this.head;n!==null&&s<e;s++){n=n.next}var i=[];for(var s=0;n&&s<t;s++){i.push(n.value);n=this.removeNode(n)}if(n===null){n=this.tail}if(n!==this.head&&n!==this.tail){n=n.prev}for(var s=0;s<r.length;s++){n=insert(this,n,r[s])}return i};Yallist.prototype.reverse=function(){var e=this.head;var t=this.tail;for(var r=e;r!==null;r=r.prev){var s=r.prev;r.prev=r.next;r.next=s}this.head=t;this.tail=e;return this};function insert(e,t,r){var s=t===e.head?new Node(r,null,t,e):new Node(r,t,t.next,e);if(s.next===null){e.tail=s}if(s.prev===null){e.head=s}e.length++;return s}function push(e,t){e.tail=new Node(t,e.tail,null,e);if(!e.head){e.head=e.tail}e.length++}function unshift(e,t){e.head=new Node(t,null,e.head,e);if(!e.tail){e.tail=e.head}e.length++}function Node(e,t,r,s){if(!(this instanceof Node)){return new Node(e,t,r,s)}this.list=s;this.value=e;if(t){t.next=this;this.prev=t}else{this.prev=null}if(r){r.prev=this;this.next=r}else{this.next=null}}try{r(91)(Yallist)}catch(e){}}};var t={};function __nccwpck_require__(r){var s=t[r];if(s!==undefined){return s.exports}var n=t[r]={exports:{}};var i=true;try{e[r](n,n.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(383);module.exports=r})();
|
|
@@ -154,12 +154,17 @@ createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`)
|
|
|
154
154
|
|
|
155
155
|
// Coercion.
|
|
156
156
|
// Extract anything that could conceivably be a part of a valid semver
|
|
157
|
-
createToken('
|
|
157
|
+
createToken('COERCEPLAIN', `${'(^|[^\\d])' +
|
|
158
158
|
'(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +
|
|
159
159
|
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +
|
|
160
|
-
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`
|
|
160
|
+
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`)
|
|
161
|
+
createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`)
|
|
162
|
+
createToken('COERCEFULL', src[t.COERCEPLAIN] +
|
|
163
|
+
`(?:${src[t.PRERELEASE]})?` +
|
|
164
|
+
`(?:${src[t.BUILD]})?` +
|
|
161
165
|
`(?:$|[^\\d])`)
|
|
162
166
|
createToken('COERCERTL', src[t.COERCE], true)
|
|
167
|
+
createToken('COERCERTLFULL', src[t.COERCEFULL], true)
|
|
163
168
|
|
|
164
169
|
// Tilde ranges.
|
|
165
170
|
// Meaning is "reasonably at or greater than"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"semver","version":"7.
|
|
1
|
+
{"name":"semver","version":"7.6.0","description":"The semantic version parser used by npm.","main":"index.js","scripts":{"test":"tap","snap":"tap","lint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"","postlint":"template-oss-check","lintfix":"npm run lint -- --fix","posttest":"npm run lint","template-oss-apply":"template-oss-apply --force"},"devDependencies":{"@npmcli/eslint-config":"^4.0.0","@npmcli/template-oss":"4.21.3","tap":"^16.0.0"},"license":"ISC","repository":{"type":"git","url":"https://github.com/npm/node-semver.git"},"bin":{"semver":"bin/semver.js"},"files":["bin/","lib/","classes/","functions/","internal/","ranges/","index.js","preload.js","range.bnf"],"tap":{"timeout":30,"coverage-map":"map.js","nyc-arg":["--exclude","tap-snapshots/**"]},"engines":{"node":">=10"},"dependencies":{"lru-cache":"^6.0.0"},"author":"GitHub Inc.","templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.21.3","engines":">=10","distPaths":["classes/","functions/","internal/","ranges/","index.js","preload.js","range.bnf"],"allowPaths":["/classes/","/functions/","/internal/","/ranges/","/index.js","/preload.js","/range.bnf"],"publish":"true"},"_lastModified":"2024-09-29T01:30:03.389Z"}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"displayName.zh-CN": "应用的备份与还原(废弃)",
|
|
5
5
|
"description": "Backup and restore applications for scenarios such as application replication, migration, and upgrades.",
|
|
6
6
|
"description.zh-CN": "备份和还原应用,可用于应用的复制、迁移、升级等场景。",
|
|
7
|
-
"version": "1.3.
|
|
7
|
+
"version": "1.3.26-beta",
|
|
8
8
|
"license": "AGPL-3.0",
|
|
9
9
|
"main": "./dist/server/index.js",
|
|
10
10
|
"homepage": "https://docs.nocobase.com/handbook/backup-restore",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"keywords": [
|
|
42
42
|
"System management"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "492868e32388615f75ba5af28f33420899d3b211"
|
|
45
45
|
}
|