Socket
Socket
Sign inDemoInstall

@duosecurity/duo_universal

Package Overview
Dependencies
24
Maintainers
7
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.2 to 2.0.3

3

dist/constants.js

@@ -12,3 +12,4 @@ "use strict";

const fs_1 = __importDefault(require("fs"));
const pkg = JSON.parse(fs_1.default.readFileSync('package.json', { encoding: 'utf-8' }));
const path_1 = __importDefault(require("path"));
const pkg = JSON.parse(fs_1.default.readFileSync(path_1.default.join(__dirname, '../package.json'), { encoding: 'utf-8' }));
exports.CLIENT_ID_LENGTH = 20;

@@ -15,0 +16,0 @@ exports.CLIENT_SECRET_LENGTH = 40;

@@ -10,3 +10,3 @@ "use strict";

function bytesToBase64url(s) {
return s.toString('base64').replace('+', '-').replace('/', '_');
return s.toString('base64url');
}

@@ -13,0 +13,0 @@ const generateRandomString = (length) => {

{
"name": "@duosecurity/duo_universal",
"version": "2.0.2",
"version": "2.0.3",
"description": "Node.js implementation of the Duo Universal SDK.",

@@ -25,2 +25,3 @@ "keywords": [

"files": [
"package.json",
"dist"

@@ -27,0 +28,0 @@ ],

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc