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

ofx-data-extractor

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ofx-data-extractor - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

dist/esm/index.min.js

3

dist/helpers.d.ts
/// <reference types="node" />
import { STRTTRN as STRTTRNType } from './types';
import { OfxResponse, STRTTRN as STRTTRNType } from './types';
export declare function formatDate(date: string, format: string): string;

@@ -27,2 +27,3 @@ export declare function fixJsonProblems(content: string): string;

export declare function fileFromPathToString(pathname: string): Promise<string>;
export declare function getValueByKeys(objectData: OfxResponse, keys: string): OfxResponse | undefined;
export declare function blobToString(blob: Blob): Promise<string>;
export { Ofx } from './main';
export { formatDate, fixJsonProblems, blobToString, bufferToString, fileFromPathToString, } from './helpers';
export type { OfxResponse, OFXMetaData, OfxStructure, BankTransferList, } from './types';
/// <reference types="node" />
import { OfxConfig, OFXMetaData, OfxResponse, OfxStructure, STRTTRN } from './types';
import { Format, OfxConfig, OFXMetaData, OfxStructure, STRTTRN } from './types';
export declare class Ofx {

@@ -26,4 +26,5 @@ private _data;

};
private customResponse;
getContent(): OfxStructure;
toJson(): OfxResponse;
toJson<T>(format: Format<T>): any;
}

@@ -113,3 +113,10 @@ export type OFXMetaData = {

};
type OfxKeysIntermediate<T, P = ''> = {
[K in keyof T]: T[K] extends object ? `${P & string}${P extends '' ? '' : '.'}${K}` | OfxKeysIntermediate<T[K], `${P & string}${P extends '' ? '' : '.'}${K}`> : `${P & string}${P extends '' ? '' : '.'}${K}`;
}[keyof T];
export type OfxResponse = OFXMetaData & OfxStructure;
export type OfxKeys = OfxKeysIntermediate<OfxResponse>;
export type Format<T> = {
[K in keyof T]: OfxKeysIntermediate<OfxResponse>;
};
export {};
{
"name": "ofx-data-extractor",
"version": "1.2.2",
"version": "1.2.3",
"keywords": [

@@ -37,5 +37,5 @@ "ofx",

"license": "MIT",
"description": "",
"main": "dist/index.js",
"module": "dist/index.mjs",
"description": "A module written in TypeScript that provides a utility to extract data from an OFX file in Node.js and Browser",
"main": "dist/umd/bundle.min.js",
"module": "dist/esm/index.min.js",
"typings": "dist/index.d.ts",

@@ -45,9 +45,2 @@ "files": [

],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.esm.js"
}
},
"scripts": {

@@ -54,0 +47,0 @@ "test": "jest tests/*.spec.ts --config jest.config.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