Socket
Socket
Sign inDemoInstall

process-fingerprint

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.1.1

2

package.json
{
"name": "process-fingerprint",
"version": "0.0.1",
"version": "0.1.1",
"description": "Create a fingerprint value that is exposed to your user environment",

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

@@ -8,3 +8,3 @@ # process-fingerprint

## Installation
```js
```
$ npm install --save process-fingerprint

@@ -11,0 +11,0 @@ ```

@@ -16,2 +16,9 @@ 'use strict';

it('should return the fingerprint if already set on `process.env`', function(done){
process.env[key] = 'ABC123';
var fp = fingerprint();
assert.equal(fp, 'ABC123');
done();
});
it('should return a fingerprint value', function(done){

@@ -32,3 +39,3 @@ assert(fingerprint());

after(function(){
afterEach(function(){
delete process.env[key];

@@ -35,0 +42,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