(value: string)
| 28 | const hasOwn = Object.prototype.hasOwnProperty |
| 29 | |
| 30 | const splitSections = (value: string): Array<string> => { |
| 31 | const sections: Array<string> = [] |
| 32 | let start = 0 |
| 33 | let index = 0 |
| 34 | while ((index = value.indexOf(".", index)) !== -1) { |
| 35 | if (index === 0 || value[index - 1] !== "\\") { |
| 36 | sections.push(value.slice(start, index)) |
| 37 | start = index + 1 |
| 38 | } |
| 39 | index++ |
| 40 | } |
| 41 | sections.push(value.slice(start)) |
| 42 | return sections |
| 43 | } |
| 44 | |
| 45 | const isQuoted = (value: string): boolean => |
| 46 | value.length >= 2 && |