docs: function parseImportLine (line) {
    if (IS_IMPORT.test(line)) {
      // could be either depending on whether default import was before or after named imports
      const [, default0, named, default1] = IMPORT.exec(line)
      const defaultImport = default0 || default1
      const namedImports = []
      if (named) {
        let next
        while ((next = NAMED_IMPORTS.exec(named)) != null) {
          const [, src, importedAs] = next
          namedImports.push([src, importedAs || src]) // if no alternate name, use default name
        }
      }
  
      return [defaultImport, namedImports]
    } else {
      return null
    }
  }