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

namirasoft-core

Package Overview
Dependencies
Maintainers
0
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

namirasoft-core - npm Package Compare versions

Comparing version 1.4.28 to 1.4.29

dist/SetTimeouService.d.ts

1

dist/index.d.ts

@@ -41,3 +41,4 @@ export * from "./BaseDatabaseRow";

export * from "./TimeOperation";
export * from "./SetTimeouService";
export * from "./URLOperation";
export * from "./VersionOperation";

@@ -57,4 +57,5 @@ "use strict";

__exportStar(require("./TimeOperation"), exports);
__exportStar(require("./SetTimeouService"), exports);
__exportStar(require("./URLOperation"), exports);
__exportStar(require("./VersionOperation"), exports);
//# sourceMappingURL=index.js.map

@@ -41,2 +41,3 @@ import moment from "moment";

static secondsAgo(seconds: number, date: Date): Date;
static millisecondsAgo(milliseconds: number, date: Date): Date;
static later(num: number, type: moment.DurationInputArg2, date?: Date | null): Date;

@@ -48,2 +49,3 @@ static monthsLater(months: number, date: Date): Date;

static secondsLater(seconds: number, date: Date): Date;
static millisecondsLater(milliseconds: number, date: Date): Date;
static getDuration(startDate: Date, endDate: Date, zeroAllOnPassed?: boolean): {

@@ -50,0 +52,0 @@ passed: boolean;

@@ -157,2 +157,5 @@ "use strict";

}
static millisecondsAgo(milliseconds, date) {
return this.millisecondsLater(milliseconds * -1, date);
}
static later(num, type, date = null) {

@@ -180,2 +183,5 @@ if (!date)

}
static millisecondsLater(milliseconds, date) {
return this.later(milliseconds, 'milliseconds', date);
}
static getDuration(startDate, endDate, zeroAllOnPassed = false) {

@@ -182,0 +188,0 @@ if (!endDate)

2

package.json

@@ -11,3 +11,3 @@ {

"private": false,
"version": "1.4.28",
"version": "1.4.29",
"author": "Amir Abolhasani",

@@ -14,0 +14,0 @@ "license": "MIT",

@@ -41,3 +41,4 @@ export * from "./BaseDatabaseRow";

export * from "./TimeOperation";
export * from "./SetTimeouService";
export * from "./URLOperation";
export * from "./VersionOperation";

@@ -194,2 +194,7 @@ import moment from "moment";

}
static millisecondsAgo(milliseconds: number, date: Date): Date
{
return this.millisecondsLater(milliseconds * -1, date);
}
// later

@@ -224,2 +229,6 @@ static later(num: number, type: moment.DurationInputArg2, date: Date | null = null): Date

}
static millisecondsLater(milliseconds: number, date: Date): Date
{
return this.later(milliseconds, 'milliseconds', date);
}
static getDuration(startDate: Date, endDate: Date, zeroAllOnPassed: boolean = false)

@@ -226,0 +235,0 @@ {

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