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
163
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.3.14 to 1.3.15

10

dist/ConvertService.js

@@ -12,9 +12,11 @@ "use strict";

checkMandatory(value) {
if (this.mandatory)
if (value == null || value == undefined)
this.onMandatoryError();
if (!process.env.NAMIRASOFT_MUTE)
if (this.mandatory)
if (value == null || value == undefined)
this.onMandatoryError();
return value;
}
onMandatoryError() {
ErrorOperation_1.ErrorOperation.throwHTTP(500, "Object value can not be converted.");
if (!process.env.NAMIRASOFT_MUTE)
ErrorOperation_1.ErrorOperation.throwHTTP(500, "Object value can not be converted.");
}

@@ -21,0 +23,0 @@ getString(_default = "") {

4

package.json

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

"private": false,
"version": "1.3.14",
"version": "1.3.15",
"main": "./dist/index.js",

@@ -21,3 +21,3 @@ "types": "./dist/index.d.ts",

"dependencies": {
"@types/node": "^20.11.30",
"@types/node": "^20.12.2",
"axios": "^1.6.8",

@@ -24,0 +24,0 @@ "moment": "^2.30.1",

@@ -15,5 +15,6 @@ import { ErrorOperation } from "./ErrorOperation";

{
if (this.mandatory)
if (value == null || value == undefined)
this.onMandatoryError();
if (!process.env.NAMIRASOFT_MUTE)
if (this.mandatory)
if (value == null || value == undefined)
this.onMandatoryError();
return value;

@@ -23,3 +24,4 @@ }

{
ErrorOperation.throwHTTP(500, "Object value can not be converted.");
if (!process.env.NAMIRASOFT_MUTE)
ErrorOperation.throwHTTP(500, "Object value can not be converted.");
}

@@ -26,0 +28,0 @@ getString(_default: string = ""): string

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