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

namirasoft-core

Package Overview
Dependencies
Maintainers
1
Versions
148
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.2.16 to 1.3.0

logo.png

2

dist/GeoOperation.js

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

}
let R = 6371; // km
let R = 6371;
let dLat = degreeToRadian(lat2 - lat1);

@@ -12,0 +12,0 @@ let dLng = degreeToRadian(lng2 - lng1);

export declare enum HTTPMethod {
GET = 0,
POST = 1,
PUT = 2,
DELETE = 3
GET = "GET",
POST = "POST",
PUT = "PUT",
DELETE = "DELETE"
}

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

(function (HTTPMethod) {
HTTPMethod[HTTPMethod["GET"] = 0] = "GET";
HTTPMethod[HTTPMethod["POST"] = 1] = "POST";
HTTPMethod[HTTPMethod["PUT"] = 2] = "PUT";
HTTPMethod[HTTPMethod["DELETE"] = 3] = "DELETE";
HTTPMethod["GET"] = "GET";
HTTPMethod["POST"] = "POST";
HTTPMethod["PUT"] = "PUT";
HTTPMethod["DELETE"] = "DELETE";
})(HTTPMethod || (exports.HTTPMethod = HTTPMethod = {}));
//# sourceMappingURL=HTTPMethod.js.map

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

}
//year
static yearNumber(date = null) {

@@ -58,3 +57,2 @@ if (!date)

}
//month
static monthNumber(date = null) {

@@ -76,3 +74,2 @@ if (!date)

}
//week
static weekNumber(date = null) {

@@ -94,3 +91,2 @@ if (!date)

}
// day
static dayNumber(date = null) {

@@ -122,3 +118,2 @@ if (!date)

}
//hour
static hourNumberInWeek(date = null) {

@@ -152,3 +147,2 @@ if (!date)

}
// ago
static monthsAgo(months, date) {

@@ -169,3 +163,2 @@ return this.monthsLater(months * -1, date);

}
// later
static later(num, type, date = null) {

@@ -226,3 +219,3 @@ if (!date)

let ageDifMs = Date.now() - birthday.getTime();
var ageDate = new Date(ageDifMs); // miliseconds from epoch
var ageDate = new Date(ageDifMs);
return Math.abs(ageDate.getUTCFullYear() - 1970);

@@ -229,0 +222,0 @@ }

{
"name": "namirasoft-core",
"title": "Namirasoft Core",
"description": "Namira Software Corporation Core NPM Package",
"version": "1.2.16",
"icon": "logo.png",
"logo": "https://static.namirasoft.com/logo/namirasoft/name.png",
"language": "ts",
"framework": "npm",
"application": "package",
"private": false,
"version": "1.3.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {},
"author": "Amir Abolhasani",
"license": "MIT",
"scripts": {},
"dependencies": {
"@types/node": "^20.11.25",
"axios": "^1.6.7",
"@types/node": "^20.11.28",
"axios": "^1.6.8",
"moment": "^2.30.1",

@@ -14,0 +21,0 @@ "phone": "^3.1.42"

export enum HTTPMethod
{
GET,
POST,
PUT,
DELETE
GET = "GET",
POST = "POST",
PUT = "PUT",
DELETE = "DELETE"
}

@@ -29,3 +29,15 @@ {

"isolatedModules": false,
}
"removeComments": true,
},
"include": [
"src",
"build/types/**/*.ts"
],
"exclude": [
"node_modules",
"build",
"dist",
"static",
"public"
]
}

Sorry, the diff of this file is not supported yet

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