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

@auth0/thumbprint

Package Overview
Dependencies
Maintainers
19
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@auth0/thumbprint - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

.travis.yml

8

lib/index.js

@@ -1,7 +0,9 @@

var crypto = require('crypto');
"use strict";
const crypto = require('crypto');
module.exports.calculate = function (cert) {
var shasum = crypto.createHash('sha1');
const shasum = crypto.createHash('sha1');
shasum.update(new Buffer(cert, 'base64'));
return shasum.digest('hex');
}
};
{
"name": "@auth0/thumbprint",
"version": "0.0.4",
"version": "0.0.5",
"description": "Certificate thumbprint calculator for Node.js",

@@ -16,6 +16,15 @@ "main": "./lib/index.js",

"contributors": [
{"name": "Auth0", "url": "https://auth0.com/"}
{
"name": "Auth0",
"url": "https://auth0.com/"
}
],
"license": "MIT",
"readmeFilename": "README.md"
"readmeFilename": "README.md",
"scripts": {
"test": "mocha"
},
"devDependencies": {
"mocha": "^5.0.1"
}
}
Thumbprint
==========
Certificate thumbprint calculator for Node.js.
[![Build Status](https://travis-ci.org/auth0/thumbprint.svg?branch=master)](https://travis-ci.org/auth0/thumbprint)
This is meant to be a transient fork of the _thumbprint_ package [until it supports Node 6](https://github.com/leandrob/thumbprint/pull/3).
Certificate thumbprint calculator for Node 4, 6 and 8.

@@ -15,2 +15,3 @@ ## Installation

```javascript
const thumbprint = require('@auth0/thumbprint');

@@ -17,0 +18,0 @@ var thumbprint = require('@auth0/thumbprint');

Sorry, the diff of this file is not supported yet

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