Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

oidc-token-hash

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oidc-token-hash - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

2

lib/index.js
const assert = require('assert');
const { createHash } = require('crypto');
const base64url = require('base64-url');
const base64url = require('base64url');

@@ -5,0 +5,0 @@ /** SPECIFICATION

{
"name": "oidc-token-hash",
"version": "3.0.0",
"version": "3.0.1",
"description": "Create and validate ID Token hashes from OpenID Connect providers.",

@@ -30,3 +30,3 @@ "keywords": [

"dependencies": {
"base64-url": "^2.2.0"
"base64url": "^3.0.0"
},

@@ -33,0 +33,0 @@ "devDependencies": {

@@ -30,2 +30,3 @@ # oidc-token-hash

## Changelog
- 3.0.1 - `base64url` comeback
- 3.0.0 - drop lts/4 support, replace base64url dependency

@@ -32,0 +33,0 @@ - 2.0.0 - rather then assuming the alg based on the hash length `#valid()` now requires a third

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