(e)
| 970 | : this.compareMain(t) || this.comparePre(t); |
| 971 | } |
| 972 | compareMain(e) { |
| 973 | return ( |
| 974 | e instanceof s || (e = new s(e, this.options)), |
| 975 | a(this.major, e.major) || |
| 976 | a(this.minor, e.minor) || |
| 977 | a(this.patch, e.patch) |
| 978 | ); |
| 979 | } |
| 980 | comparePre(t) { |
| 981 | if ( |
| 982 | (t instanceof s || (t = new s(t, this.options)), |