(url)
| 307 | } |
| 308 | |
| 309 | function getUrlWithoutQuery(url) { |
| 310 | // Avoid `split('?')` so query-heavy URLs don't allocate large arrays. |
| 311 | const queryStart = url.indexOf('?'); |
| 312 | return queryStart === -1 ? url : url.slice(0, queryStart); |
| 313 | } |
| 314 | |
| 315 | function parseValue(value, options, type) { |
| 316 | if (type === 'string' && typeof value === 'string') { |
no outgoing calls
no test coverage detected
searching dependent graphs…