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

corbel-token-verifier

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

corbel-token-verifier - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"name": "corbel-token-verifier",
"version": "0.0.2",
"version": "0.0.3",
"description": "A corbel token verifier for JavaScript",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -22,5 +22,11 @@ 'use strict';

decoded[1] = parseInt(parseInt(decoded[1], 16) / 1000, 10);
try {
decoded[1] = JSON.parse(serialize(decoded[1]));
decoded[0] = Object.assign({}, decoded[0], decoded[1]);
} catch (e) {
decoded[1] = parseInt(parseInt(decoded[1], 16) / 1000, 10);
}
if ((!decoded[0] && !decoded[1]) || isNaN(decoded[1])) {
if (!decoded[0] && !decoded[1]) {
return false;

@@ -27,0 +33,0 @@ }

@@ -24,3 +24,4 @@ 'use strict';

'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ',
'eyJ0eXBlIjoiVE9LRU4iLCJjbGllbnRJZCI6IjU0MzgyMzA3Iiwic3RhdGUiOiIxNDcyNjM2Mjk5MDAwIiwiZG9tYWluSWQiOiJib29xczpudWJpY286ZXMiLCJkZXZpY2VJZCI6IldlYi1iODc5ZDAyZS02NzlmLTQ2MGItODNjYi1lMGVkNDQzYjdlNWEiLCJ1c2VySWQiOiJib29xczpudWJpY286ZXM6ZGVtb3Rlc3QxNzpleHRlcm5hbDpicS5jb20iLCJncm91cHMiOltdfQ.53cb1bb3d7f24.B9Hom1dSVx6lXztSc6AQSXz5yho'
'eyJ0eXBlIjoiVE9LRU4iLCJjbGllbnRJZCI6IjU0MzgyMzA3Iiwic3RhdGUiOiIxNDcyNjM2Mjk5MDAwIiwiZG9tYWluSWQiOiJib29xczpudWJpY286ZXMiLCJkZXZpY2VJZCI6IldlYi1iODc5ZDAyZS02NzlmLTQ2MGItODNjYi1lMGVkNDQzYjdlNWEiLCJ1c2VySWQiOiJib29xczpudWJpY286ZXM6ZGVtb3Rlc3QxNzpleHRlcm5hbDpicS5jb20iLCJncm91cHMiOltdfQ.53cb1bb3d7f24.B9Hom1dSVx6lXztSc6AQSXz5yho',
'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIxIiwiYXVkIjoiMiIsImV4cCI6MTQ3MjY0NTA4MCwic2NvcGUiOiIzIiwiZG9tYWluSWQiOiJ0ZXN0In0.BEmsXpnCbAsjxCr2fJomdouSEJPgSN5dCE8f56jNx1Q'
]

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

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