Comparing version 2.1.0 to 2.3.0
{ | ||
"name": "auth0", | ||
"version": "2.1.0", | ||
"version": "2.3.0", | ||
"description": "SDK for Auth0 API v2", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -69,3 +69,3 @@ /** @module auth **/ | ||
if (options.telemetry !== false) { | ||
var telemetry = jsonToBase64(this.getClientInfo()); | ||
var telemetry = jsonToBase64(options.clientInfo || this.getClientInfo()); | ||
managerOptions.headers['Auth0-Client'] = telemetry; | ||
@@ -356,3 +356,4 @@ } | ||
scope: data.scope, | ||
target: data.targetClientId || data.target | ||
target: data.targetClientId || data.target, | ||
grant_type: data.grant_type | ||
}; | ||
@@ -359,0 +360,0 @@ |
@@ -76,3 +76,4 @@ /** @module management */ | ||
if (options.telemetry !== false) { | ||
var telemetry = jsonToBase64(this.getClientInfo()); | ||
var telemetry = jsonToBase64(options.clientInfo || this.getClientInfo()); | ||
managerOptions.headers['Auth0-Client'] = telemetry; | ||
@@ -192,3 +193,2 @@ } | ||
}; | ||
// Add the dependencies to the client info object. | ||
@@ -195,0 +195,0 @@ Object |
@@ -14,2 +14,7 @@ var Webpack = require('webpack'); | ||
}, | ||
node: { | ||
Buffer: true, | ||
process: true, | ||
url: true | ||
}, | ||
module: { | ||
@@ -50,4 +55,3 @@ loaders: [ | ||
alias: {}, | ||
}, | ||
node: false | ||
} | ||
}; |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 5 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
1756875
0
82
1
5192
2