(t)
| 1356 | a("comp", this)); |
| 1357 | } |
| 1358 | parse(t) { |
| 1359 | const n = this.options.loose |
| 1360 | ? r[i.COMPARATORLOOSE] |
| 1361 | : r[i.COMPARATOR], |
| 1362 | o = t.match(n); |
| 1363 | if (!o) throw new TypeError(`Invalid comparator: ${t}`); |
| 1364 | ((this.operator = void 0 !== o[1] ? o[1] : ""), |
| 1365 | "=" === this.operator && (this.operator = ""), |
| 1366 | o[2] |
| 1367 | ? (this.semver = new s(o[2], this.options.loose)) |
| 1368 | : (this.semver = e)); |
| 1369 | } |
| 1370 | toString() { |
| 1371 | return this.value; |
| 1372 | } |