hunk.code_window:           }
           },
           reject,
           resolve
         );
       }) as Promise<void>;
     }
  
hunk.labels: keep keep replace replace replace keep keep keep
hunk.after_edit:         error: reject,
           complete: resolve,
         });
         this.subscribe(subscriber);
  
hunk.file_path: src/internal/Observable.ts
hunk.type: replace
file: const { resolve } = require('canonical-path');
  const sizeOf = require('image-size');
  
  module.exports = function getImageDimensions() {
    return (basePath, path) => sizeOf(resolve(basePath, path));
  };
  