{
  "name": "passport-vimeo-oauth2",
  "version": "0.0.3",
  "description": "Vimeo OAuth2 strategy for Passport.",
  "keywords": [
    "passport",
    "vimeo",
    "oauth2",
    "auth",
    "authentication",
    "identity"
  ],
  "repository": {
    "type": "git",
    "url": "git://github.com/mjpearson/passport-vimeo-oauth2.git"
  },
  "bugs": {
    "url": "http://github.com/mjpearson/passport-vimeo-oauth2/issues"
  },
  "licenses": [
    {
      "type": "MIT",
      "url": "http://www.opensource.org/licenses/MIT"
    }
  ],
  "main": "./lib/passport-vimeo-oauth2",
  "dependencies": {
    "pkginfo": "0.2.x",
    "passport-oauth": "~0.1.1"
  },
  "engines": {
    "node": ">= 0.4.0"
  },
  "homepage": "https://github.com/mjpearson/passport-vimeo-oauth2"
}

{
  "name": "passport-vimeo-oauth2",
  "version": "0.0.3",
  "description": "Vimeo OAuth2 strategy for Passport.",
  "keywords": [
    "passport",
    "vimeo",
    "oauth2",
    "auth",
    "authentication",
    "identity"
  ],
  "repository": {
    "type": "git",
    "url": "git://github.com/mjpearson/passport-vimeo-oauth2.git"
  },
  "bugs": {
    "url": "http://github.com/mjpearson/passport-vimeo-oauth2/issues"
  },
  "licenses": [
    {
      "type": "MIT",
      "url": "http://www.opensource.org/licenses/MIT"
    }
  ],
  "main": "./lib/passport-vimeo-oauth2",
  "dependencies": {
    "pkginfo": "0.2.x",
    "passport-oauth": "1.0.0"
  },
  "engines": {
    "node": ">= 0.4.0"
  },
  "homepage": "https://github.com/mjpearson/passport-vimeo-oauth2"
}

Upgrade passport-oauth to remove deprecated function error
Upgrade passport-oauth to remove deprecated function error

This version of passport-oauth uses the deprecated function createCredentials() which causes the following error:

"createCredentials() is deprecated, use tls.createSecureContext instead"

Upgrading the dependency version to passport-oauth 1.0.0 seems to resolve the issue.