{
  "name": "frida-uikit",
  "version": "2.0.4",
  "description": "Inspect and manipulate UIKit-based GUIs through Frida",
  "main": "index.js",
  "browserify": {
    "transform": [
      [
        "babelify",
        {
          "presets": [
            "es2015"
          ]
        }
      ]
    ]
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/nowsecure/frida-uikit.git"
  },
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/nowsecure/frida-uikit/issues"
  },
  "homepage": "https://github.com/nowsecure/frida-uikit#readme"
}

{
  "name": "frida-uikit",
  "version": "2.0.4",
  "description": "Inspect and manipulate UIKit-based GUIs through Frida",
  "main": "index.js",
  "browserify": {
    "transform": [
      [
        "babelify",
        {
          "presets": [
            [
              "es2015",
              {
                "loose": true
              }
            ]
          ],
          "plugins": [
            "transform-runtime"
          ]
        }
      ]
    ]
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/nowsecure/frida-uikit.git"
  },
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/nowsecure/frida-uikit/issues"
  },
  "homepage": "https://github.com/nowsecure/frida-uikit#readme",
  "dependencies": {
    "babel-plugin-transform-runtime": "^6.15.0",
    "babel-preset-es2015": "^6.18.0",
    "babel-runtime": "^6.20.0"
  }
}

Fix compatibility with Frida 9.x
Fix compatibility with Frida 9.x

- Use transform-runtime to avoid depending on global polyfills, which
  the Duktape runtime no longer provides.
- Depend on the babel preset that we use. Latest frida-compile does not
  depend on es2015, as this should be decided per module.
- Enable loose mode so the generated code is leaner.
