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.4 to 1.2.5

1

dist/ConvertService.d.ts
export declare abstract class ConvertService {
repair: boolean;
private mandatory;

@@ -3,0 +4,0 @@ constructor(mandatory?: boolean);

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

const ErrorOperation_1 = require("./ErrorOperation");
const StringOperation_1 = require("./StringOperation");
class ConvertService {
constructor(mandatory = false) {
this.repair = true;
this.mandatory = mandatory;

@@ -21,3 +23,6 @@ }

var _a;
return (_a = this.checkMandatory(this.getNullString())) !== null && _a !== void 0 ? _a : _default;
let ans = (_a = this.checkMandatory(this.getNullString())) !== null && _a !== void 0 ? _a : _default;
if (this.repair)
ans = StringOperation_1.StringOperation.repair(ans);
return ans;
}

@@ -24,0 +29,0 @@ getNullInt() {

10

package.json
{
"name": "namirasoft-core",
"description": "Namira Software Corporation Core NPM Package",
"version": "1.2.4",
"version": "1.2.5",
"main": "./dist/index.js",

@@ -12,8 +12,8 @@ "types": "./dist/index.d.ts",

"@types/md5": "^2.3.5",
"@types/node": "^20.10.3",
"axios": "^1.6.2",
"@types/node": "^20.10.6",
"axios": "^1.6.3",
"md5": "^2.3.0",
"moment": "^2.29.4",
"phone": "^3.1.41"
"moment": "^2.30.1",
"phone": "^3.1.42"
}
}
import { ErrorOperation } from "./ErrorOperation";
import { StringOperation } from "./StringOperation";
export abstract class ConvertService
{
repair: boolean = true;
private mandatory: boolean;

@@ -24,3 +26,6 @@ constructor(mandatory: boolean = false)

{
return this.checkMandatory(this.getNullString()) ?? _default;
let ans = this.checkMandatory(this.getNullString()) ?? _default;
if (this.repair)
ans = StringOperation.repair(ans);
return ans;
}

@@ -27,0 +32,0 @@ getNullInt(): number | null

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