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.11 to 1.0.12

9

index.js

@@ -34,7 +34,8 @@ const fs = require('fs');

? Promise.resolve(fn)
: self.opts.fetch(url).then(res => {
: self.opts.fetch(url).then(res => new Promise((resolve, reject) => {
const dest = fs.createWriteStream(fn);
res.body.pipe(dest);
return fn;
});
res.body.pipe(dest, {end: true});
dest.on('close', () => resolve(fn));
dest.on('error', reject);
}));
},

@@ -41,0 +42,0 @@ zipExtract: (zip, fn = self.opts.xml, dest = self.opts.path) => {

{
"name": "ofac",
"version": "1.0.11",
"version": "1.0.12",
"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