Skip to content

Commit

Permalink
Remove bluebird promise
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiasnixell authored and lbalmaceda committed Aug 24, 2020
1 parent e65c1d0 commit 59b6417
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"homepage": "https://github.com/auth0/node-auth0",
"dependencies": {
"axios": "^0.19.2",
"bluebird": "^3.5.5",
"es6-promisify": "^6.1.1",
"form-data": "^3.0.0",
"jsonwebtoken": "^8.5.1",
Expand Down
1 change: 0 additions & 1 deletion src/Auth0RestClient.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
var RestClient = require('rest-facade').Client;
var Promise = require('bluebird');
var ArgumentError = require('rest-facade').ArgumentError;

var utils = require('./utils');
Expand Down
1 change: 0 additions & 1 deletion src/RetryRestClient.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
var Promise = require('bluebird');
var retry = require('retry');
var ArgumentError = require('rest-facade').ArgumentError;
var assign = Object.assign || require('object.assign');
Expand Down
1 change: 0 additions & 1 deletion src/auth/OAUthWithIDTokenValidation.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
var jwt = require('jsonwebtoken');
var jwksClient = require('jwks-rsa');
var Promise = require('bluebird');

var ArgumentError = require('rest-facade').ArgumentError;
var validateIdToken = require('./idToken').validate;
Expand Down
1 change: 0 additions & 1 deletion src/management/JobsManager.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
var axios = require('axios');
var extend = require('util')._extend;
var Promise = require('bluebird');
var FormData = require('form-data');
var fs = require('fs');

Expand Down
1 change: 0 additions & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
var Promise = require('bluebird');
var pkg = require('../package.json');

/**
Expand Down
1 change: 0 additions & 1 deletion test/auth/oauth-with-idtoken-validation.tests.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
var expect = require('chai').expect;
var Promise = require('bluebird');
var sinon = require('sinon');
var proxyquire = require('proxyquire');

Expand Down
1 change: 0 additions & 1 deletion test/auth/oauth.tests.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
var expect = require('chai').expect;
var extend = require('util')._extend;
var nock = require('nock');
var Promise = require('bluebird');
var sinon = require('sinon');

// Constants.
Expand Down
1 change: 0 additions & 1 deletion test/management/client-grants.tests.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
var expect = require('chai').expect;
var nock = require('nock');
var Promise = require('bluebird');

var SRC_DIR = '../../src';
var API_URL = 'https://tenant.auth0.com';
Expand Down
1 change: 0 additions & 1 deletion test/management/client.tests.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
var expect = require('chai').expect;
var nock = require('nock');
var Promise = require('bluebird');

var SRC_DIR = '../../src';
var API_URL = 'https://tenant.auth0.com';
Expand Down
1 change: 0 additions & 1 deletion test/management/grants.tests.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
var expect = require('chai').expect;
var nock = require('nock');
var Promise = require('bluebird');

var SRC_DIR = '../../src';
var API_URL = 'https://tenant.auth0.com';
Expand Down
1 change: 0 additions & 1 deletion test/management/resource-servers.tests.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
var expect = require('chai').expect;
var nock = require('nock');
var Promise = require('bluebird');

var SRC_DIR = '../../src';
var API_URL = 'https://tenant.auth0.com';
Expand Down
1 change: 0 additions & 1 deletion test/retry-rest-client.tests.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
var expect = require('chai').expect;
var nock = require('nock');

var Promise = require('bluebird');
var ArgumentError = require('rest-facade').ArgumentError;
var RestClient = require('rest-facade').Client;
var RetryRestClient = require('../src/RetryRestClient');
Expand Down

0 comments on commit 59b6417

Please sign in to comment.