(pattern)
| 38154 | } |
| 38155 | |
| 38156 | normalize(pattern) { |
| 38157 | var _this3 = this; |
| 38158 | |
| 38159 | return (0, (_asyncToGenerator2 || _load_asyncToGenerator()).default)(function* () { |
| 38160 | var _normalizePattern = (0, (_normalizePattern4 || _load_normalizePattern()).normalizePattern)(pattern); |
| 38161 | |
| 38162 | const name = _normalizePattern.name, |
| 38163 | range = _normalizePattern.range, |
| 38164 | hasVersion = _normalizePattern.hasVersion; |
| 38165 | |
| 38166 | const newRange = yield _this3.normalizeRange(range); |
| 38167 | return { name, range: newRange, hasVersion }; |
| 38168 | })(); |
| 38169 | } |
| 38170 | |
| 38171 | /** |
| 38172 | * Construct an exotic resolver instance with the input `ExoticResolver` and `range`. |
no test coverage detected