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

bnz-ynab-sync

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bnz-ynab-sync - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

dist/logger.d.ts

@@ -1,3 +0,5 @@

import pino from "pino";
declare const _default: pino.Logger;
declare const _default: {
info(...args: any[]): void;
debug(...args: any[]): void;
};
export default _default;
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
info(...args) {
console.error("INFO", ...args);
},
debug(...args) {
console.error("DEBUG", ...args);
}
};
Object.defineProperty(exports, "__esModule", { value: true });
const pino_1 = __importDefault(require("pino"));
exports.default = pino_1.default({
level: "debug"
});
//# sourceMappingURL=logger.js.map

@@ -10,3 +10,2 @@ "use strict";

const moment = require("moment");
const logger = logger_1.default.child({ module: "ynab" });
class YnabWrapperClient {

@@ -57,3 +56,3 @@ static async ofxToTransactions(accountID, input) {

const transactions = await YnabWrapperClient.ofxToTransactions(accountID, input);
logger.debug(`Importing ${transactions.length} transactions`);
logger_1.default.debug(`Importing ${transactions.length} transactions`);
if (!transactions.length) {

@@ -60,0 +59,0 @@ return;

{
"name": "bnz-ynab-sync",
"version": "1.0.0",
"version": "1.0.1",
"description": "Import BNZ transactions into YNAB",

@@ -31,3 +31,2 @@ "main": "dist/index.js",

"ofx-js": "^0.1.1",
"pino": "^5.8.1",
"puppeteer": "^1.10.0",

@@ -34,0 +33,0 @@ "ynab": "^1.9.0"

@@ -1,5 +0,9 @@

import pino from "pino";
export default {
info(...args: any[]) {
console.error("INFO", ...args);
},
export default pino({
level: "debug"
});
debug(...args: any[]) {
console.error("DEBUG", ...args);
}
};

@@ -1,2 +0,2 @@

import parentLogger from "./logger";
import logger from "./logger";
import { API, SaveTransaction } from "ynab";

@@ -6,4 +6,2 @@ import { parse, TTransactionList } from "ofx-js";

const logger = parentLogger.child({ module: "ynab" });
export class YnabWrapperClient {

@@ -10,0 +8,0 @@ public static async ofxToTransactions(accountID: string, input: string) {

@@ -6,4 +6,5 @@ {

"no-var-requires": false,
"no-submodule-imports": false
"no-submodule-imports": false,
"no-console": false
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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