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

dbffile

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dbffile - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

11

dist/dbf-file.js

@@ -80,7 +80,10 @@ "use strict";

if (fileVersion === 0x83 || fileVersion === 0x8b) {
memoPath = path.slice(0, -path_1.extname(path).length) + '.dbt';
let isMemoFileMissing = await utils_1.stat(memoPath).catch(() => 'missing') === 'missing';
if (isMemoFileMissing)
for (const ext of ['.dbt', '.DBT']) {
memoPath = path.slice(0, -path_1.extname(path).length) + ext;
let foundMemoFile = await utils_1.stat(memoPath).catch(() => 'missing') !== 'missing';
if (foundMemoFile)
break;
memoPath = undefined;
if (options.readMode !== 'loose' && isMemoFileMissing) {
}
if (options.readMode !== 'loose' && !memoPath) {
throw new Error(`Memo file not found for file '${path}'.`);

@@ -87,0 +90,0 @@ }

{
"name": "dbffile",
"version": "1.7.0",
"version": "1.7.1",
"description": "Read and write .dbf (dBase III & Visual FoxPro) files in Node.js",

@@ -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