New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

passport-gitlab2

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passport-gitlab2 - npm Package Compare versions

Comparing version 4.0.0 to 5.0.0

12

CHANGELOG.md

@@ -0,1 +1,13 @@

<a name="5.0.0"></a>
# [5.0.0](https://github.com/fh1ch/passport-gitlab2/compare/v4.0.0...v5.0.0) (2019-02-10)
### Bug Fixes
* correct all linter findings and update to ES6 syntax ([3653e53](https://github.com/fh1ch/passport-gitlab2/commit/3653e5345a2d8feb74a6f31ac27de6cf27d47b3a))
### BREAKING CHANGES
* This release requires at least Node.js 6.
<a name="4.0.0"></a>

@@ -2,0 +14,0 @@ # [4.0.0](https://github.com/fh1ch/passport-gitlab2/compare/v3.0.0...v4.0.0) (2018-06-10)

2

lib/index.js

@@ -1,2 +0,2 @@

var Strategy = require('./strategy');
const Strategy = require('./strategy');

@@ -3,0 +3,0 @@ // Export Strategy

@@ -1,5 +0,5 @@

var url = require('url');
var util = require('util');
var OAuth2Strategy = require('passport-oauth2');
var InternalOAuthError = require('passport-oauth2').InternalOAuthError;
const url = require('url');
const util = require('util');
const OAuth2Strategy = require('passport-oauth2');
const InternalOAuthError = require('passport-oauth2').InternalOAuthError;

@@ -76,6 +76,6 @@ /**

Strategy.prototype.userProfile = function(accessToken, done) {
var self = this;
const self = this;
self._oauth2.get(self._profileURL, accessToken, function(err, body) {
var json;
let json;

@@ -92,3 +92,3 @@ if (err) {

var profile = {
const profile = {
id: String(json.id),

@@ -106,3 +106,3 @@ username: json.username,

profile.provider = 'gitlab';
profile.provider = 'gitlab';
profile._raw = body;

@@ -109,0 +109,0 @@ profile._json = json;

The MIT License (MIT)
Copyright (c) 2016 Fabio Huser
Copyright (c) 2016-2019 Fabio Huser
Copyright (c) 2011-2016 Jared Hanson

@@ -5,0 +5,0 @@

{
"name": "passport-gitlab2",
"version": "4.0.0",
"version": "5.0.0",
"description": "GitLab authentication strategy for Passport.",

@@ -30,11 +30,10 @@ "keywords": [

"devDependencies": {
"chai": "^4.1.2",
"istanbul": "^0.4.5",
"jscs": "^3.0.7",
"jshint": "^2.9.5",
"chai": "^4.2.0",
"eslint": "^5.13.0",
"eslint-config-google": "^0.12.0",
"mocha": "^5.2.0",
"mr-doc": "^3.2.1"
"nyc": "^13.2.0"
},
"engines": {
"node": ">= 0.12.0"
"node": ">= 6.0.0"
},

@@ -41,0 +40,0 @@ "scripts": {

@@ -159,4 +159,4 @@ # passport-gitlab2

Copyright (c) 2016-2017 Fabio Huser <fabio@fh1.ch>
Copyright (c) 2016-2019 Fabio Huser <fabio@fh1.ch>
Copyright (c) 2011-2016 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)>
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc