hunk.code_window:     "proxyquire": "2.1.3",
       "read-yaml-file": "2.0.0",
       "sinon": "9.0.2",
       "write-json-file": "4.2.1",
       "write-yaml-file": "^4.1.0"
     },
  
hunk.labels: keep keep add keep keep keep
hunk.after_edit:     "tempy": "^0.5.0",
  
hunk.file_path: packages/plugin-commands-installation/package.json
hunk.type: add
file: import { Request, RequestInit as NodeRequestInit, Response } from 'node-fetch'
  export {
    FetchError,
    Headers,
    HeadersInit,
    RequestContext,
    RequestMode,
    RequestRedirect,
    RequestCredentials,
    RequestCache,
    ResponseType,
    ResponseInit,
  } from 'node-fetch'
  
  export {
    Request,
    Response,
  }
  
  interface URLLike {
    href: string
  }
  
  export interface RetryOpts {
    factor?: number
    maxTimeout?: number
    minTimeout?: number
    onRetry? (error: unknown): void
    retries?: number
  }
  
  export interface RequestInit extends NodeRequestInit {
    retry?: RetryOpts
    onRetry? (error: unknown, opts: RequestInit): void
  }
  
  export type RequestInfo = string | URLLike | Request
  
  declare function fetch (
    url: RequestInfo,
    init?: RequestInit,
  ): Promise<Response>
  
  declare namespace fetch {
    function isRedirect (code: number): boolean
  }
  
  export default fetch
  