@passport-next/passport-facebook
Advanced tools
Comparing version 3.1.2 to 3.1.3
This changelog follows Semantic Versioning https://semver.org/ | ||
# 3.1.3 (2021-11-10) | ||
### Patch | ||
* Updated npm deps @rwky | ||
* Allow multi digit graph api versions @rwky | ||
* Updated travis config @rwky | ||
# 3.1.2 (2019-08-26) | ||
@@ -3,0 +14,0 @@ |
@@ -67,4 +67,4 @@ // Load modules. | ||
} | ||
if (!/^v[0-9]{1}\.[0-9]{1,2}/.test(graphApiVersion)) { | ||
throw new Error('Invalid graphApiVersion it must be in the format "vX.YY"'); | ||
if (!/^v[0-9]+\.[0-9]+/.test(graphApiVersion)) { | ||
throw new Error('Invalid graphApiVersion it must be in the format "vXX.YY"'); | ||
} | ||
@@ -71,0 +71,0 @@ options.authorizationURL = options.authorizationURL || `https://www.facebook.com/${graphApiVersion}/dialog/oauth`; |
{ | ||
"name": "@passport-next/passport-facebook", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"description": "Facebook authentication strategy for Passport.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
# passport-facebook | ||
[![NPM version](https://img.shields.io/npm/v/@passport-next/passport-facebook.svg)](https://www.npmjs.com/package/@passport-next/passport-facebook) | ||
[![Build Status](https://travis-ci.org/passport-next/passport-facebook.svg?branch=master)](https://travis-ci.org/passport-next/passport-facebook) | ||
[![Build Status](https://app.travis-ci.com/passport-next/passport-facebook.svg?branch=master)](https://app.travis-ci.com/passport-next/passport-facebook) | ||
[![Coverage Status](https://coveralls.io/repos/github/passport-next/passport-facebook/badge.svg?branch=master)](https://coveralls.io/github/passport-next/passport-facebook?branch=master) | ||
[![Maintainability](https://api.codeclimate.com/v1/badges/d260f366c44991e2613c/maintainability)](https://codeclimate.com/github/passport-next/passport-facebook/maintainability) | ||
[![Dependencies](https://david-dm.org/passport-next/passport-facebook.png)](https://david-dm.org/passport-next/passport-facebook) | ||
[![SAST](https://gitlab.com/passport-next/passport-facebook/badges/master/build.svg)](https://gitlab.com/passport-next/passport-facebook/badges/master/build.svg) | ||
@@ -10,0 +9,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24749
198