hunk.code_window: export class Readable {}
   export class Writable {}
   export interface ReadStream {}
  
hunk.labels: keep keep keep keep replace
hunk.after_edit: export interface ReadStream {}
   /**
    * This loads a polyfill to enable Buffers in the browser.
    */
   interface Window {
       Buffer: any;
   }
   declare var window: Window;
   window.Buffer = require("buffer/").Buffer;
  
hunk.file_path: src/platform/BrowserPlatformTools.template
hunk.type: replace
file: {
    "name": "typeorm",
    "private": true,
    "version": "0.2.0-alpha.42",
    "description": "Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, WebSQL, MongoDB databases.",
    "license": "MIT",
    "readmeFilename": "README.md",
    "author": {
      "name": "Umed Khudoiberdiev",
      "email": "pleerock.me@gmail.com"
    },
    "repository": {
      "type": "git",
      "url": "https://github.com/typeorm/typeorm.git"
    },
    "bugs": {
      "url": "https://github.com/typeorm/typeorm/issues"
    },
    "tags": [
      "orm",
      "typescript",
      "typescript-orm",
      "mysql",
      "mysql-orm",
      "postgresql",
      "postgresql-orm",
      "mariadb",
      "mariadb-orm",
      "sqlite",
      "sqlite-orm",
      "sql-server",
      "sql-server-orm",
      "oracle",
      "oracle-orm",
      "websql",
      "websql-orm"
    ],
    "devDependencies": {
      "@types/chai": "^4.1.2",
      "@types/chai-as-promised": "7.1.0",
      "@types/debug": "0.0.30",
      "@types/mocha": "^5.0.0",
      "@types/node": "^9.6.0",
      "@types/rimraf": "^2.0.2",
      "@types/sinon": "^4.3.0",
      "@types/source-map-support": "^0.4.0",
      "chai": "^3.5.0",
      "chai-as-promised": "^7.1.1",
      "del": "^3.0.0",
      "gulp": "^3.9.1",
      "gulp-file": "^0.4.0",
      "gulp-istanbul": "^1.1.3",
      "gulp-mocha": "^5.0.0",
      "gulp-rename": "^1.2.2",
      "gulp-replace": "^0.6.1",
      "gulp-shell": "^0.6.5",
      "gulp-sourcemaps": "^2.6.4",
      "gulp-tslint": "^8.1.3",
      "gulp-typescript": "^4.0.2",
      "gulp-uglify": "^3.0.0",
      "gulpclass": "^0.1.2",
      "husky": "^0.14.3",
      "lint-staged": "^7.0.0",
      "mocha": "^5.0.5",
      "mongodb": "^3.0.5",
      "mssql": "^4.1.0",
      "mysql": "^2.15.0",
      "mysql2": "^1.5.3",
      "pg": "^7.4.0",
      "redis": "^2.8.0",
      "remap-istanbul": "^0.11.0",
      "rimraf": "^2.6.2",
      "sinon": "^2.4.1",
      "sinon-chai": "^2.13.0",
      "source-map-support": "^0.5.4",
      "sql.js": "^0.5.0",
      "sqlite3": "^4.0.0",
      "ts-node": "^5.0.0",
      "tslint": "^5.9.1",
      "tslint-stylish": "^2.1.0",
      "typescript": "^2.8.1"
    },
    "dependencies": {
      "app-root-path": "^2.0.1",
      "chalk": "^2.3.2",
      "cli-highlight": "^1.2.3",
      "debug": "^3.1.0",
      "dotenv": "^5.0.1",
      "glob": "^7.1.2",
      "js-yaml": "^3.11.0",
      "mkdirp": "^0.5.1",
      "reflect-metadata": "^0.1.12",
      "xml2js": "^0.4.17",
      "yargonaut": "^1.1.2",
      "yargs": "^11.1.0"
    },
    "lint-staged": {
      "*.ts": [
        "tslint --fix",
        "git add"
      ]
    },
    "scripts": {
      "test-ci": "gulp ci-tests",
      "test": "tsc && mocha --file ./build/compiled/test/utils/test-setup.js --bail './build/compiled/test/**/*.js' --timeout 30000 --color",
      "compile": "tsc",
      "setup:config": "gulp createTravisOrmConfig",
      "package": "gulp package"
    },
    "bin": {
      "typeorm": "./cli.js"
    },
    "collective": {
      "type": "opencollective",
      "url": "https://opencollective.com/typeorm",
      "logo": "https://opencollective.com/opencollective/logo.txt"
    }
  }
  