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

ofac

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ofac - npm Package Compare versions

Comparing version 1.0.14 to 1.0.15

sdn_xml.zip

14

index.js

@@ -130,3 +130,5 @@ const fs = require('fs');

o.each(o => typeof o == 'string' ? o.toLowerCase() : o);
Object.keys(o).forEach(k => {
if (typeof o[k] == 'string') o[k] = o[k].toLowerCase();
});
for (var k of 'firstName/lastName'.split('/'))

@@ -183,11 +185,1 @@ if (o[k]) o[k] = (o[k] || '').replace(/\W/g, ' ');

};
if (!Object.prototype.keys)
Object.prototype.keys = function() {
return Object.keys(this);
}
if (!Object.prototype.each)
Object.prototype.each = function(fn) {
this.keys().map(k => this[k] = fn(this[k], k));
}
{
"name": "ofac",
"version": "1.0.14",
"version": "1.0.15",
"description": "A module to facilitate local OFAC searches",

@@ -5,0 +5,0 @@ "main": "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