New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

object-fingerprint

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

object-fingerprint - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

28

dist/index.js

@@ -65,17 +65,21 @@ "use strict";

var getObjectFingerprint = function getObjectFingerprint(value, algorithm) {
var sortedKeys = Object.keys(value).sort();
var buff = "";
var _iterator = _createForOfIteratorHelper(sortedKeys),
_step;
try {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
var key = _step.value;
buff += "".concat(key, "<").concat(index(value[key], algorithm), ">");
var sortedKeys = Object.keys(value).sort();
var buff = "";
var _iterator = _createForOfIteratorHelper(sortedKeys),
_step;
try {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
var key = _step.value;
buff += "".concat(key, "<").concat(index(value[key], algorithm), ">");
}
} catch (err) {
_iterator.e(err);
} finally {
_iterator.f();
}
} catch (err) {
_iterator.e(err);
} finally {
_iterator.f();
return buff;
} catch (e) {
return "nn";
}
return buff;
};

@@ -82,0 +86,0 @@ function index(object, algorithm) {

{
"name": "object-fingerprint",
"version": "1.1.0",
"version": "1.1.1",
"description": "Simple and fast utility to create short, stable, and deterministic object fingerprints (object hash).",

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

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