New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.1 to 1.0.2

8

dist/bnz.js

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const moment_1 = __importDefault(require("moment"));
const moment_timezone_1 = __importDefault(require("moment-timezone"));
// tslint:disable max-classes-per-file

@@ -48,5 +48,7 @@ class BnzClient {

}
async exportAccount(accountName, fromDate = moment_1.default()
async exportAccount(accountName, fromDate = moment_timezone_1.default()
.tz('Pacific/Auckland')
.subtract(4, "days")
.format("YYYY-MM-DD"), toDate = moment_1.default()
.format("YYYY-MM-DD"), toDate = moment_timezone_1.default()
.tz('Pacific/Auckland')
.subtract(1, "day")

@@ -53,0 +55,0 @@ .format("YYYY-MM-DD")) {

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

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

"devDependencies": {
"@types/moment-timezone": "^0.5.9",
"@types/node": "^10.12.5",

@@ -31,2 +32,3 @@ "@types/pino": "^5.8.1",

"moment": "^2.22.2",
"moment-timezone": "^0.5.23",
"ofx-js": "^0.1.1",

@@ -33,0 +35,0 @@ "puppeteer": "^1.10.0",

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

import moment from "moment";
import moment from "moment-timezone";
import { Browser, Page } from "puppeteer";

@@ -71,5 +71,7 @@ // tslint:disable max-classes-per-file

fromDate: string = moment()
.tz('Pacific/Auckland')
.subtract(4, "days")
.format("YYYY-MM-DD"),
toDate: string = moment()
.tz('Pacific/Auckland')
.subtract(1, "day")

@@ -76,0 +78,0 @@ .format("YYYY-MM-DD")

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