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
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.4.8 to 1.4.9

5

dist/BaseServer.js

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

const ConsoleOperation_1 = require("./ConsoleOperation");
const EnvService_1 = require("./EnvService");
class BaseServer {

@@ -61,3 +62,5 @@ constructor(base_url) {

if (this.onError) {
error.message = `Error calling url '${url}' ` + error.message;
let BASESERVER_ERROR_VERBOSE = new EnvService_1.EnvService("BASESERVER_ERROR_VERBOSE", false).getBoolean(false);
if (BASESERVER_ERROR_VERBOSE)
error.message = `Error calling url '${url}' ` + error.message;
this.onError(error);

@@ -64,0 +67,0 @@ }

4

package.json

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

"private": false,
"version": "1.4.8",
"version": "1.4.9",
"author": "Amir Abolhasani",

@@ -21,3 +21,3 @@ "license": "MIT",

"dependencies": {
"@types/node": "^22.5.5",
"@types/node": "^22.7.4",
"axios": "^1.7.7",

@@ -24,0 +24,0 @@ "buffer": "^6.0.3",

@@ -7,2 +7,3 @@ import axios, { AxiosRequestConfig, AxiosResponse } from "axios";

import { ConsoleOperation } from "./ConsoleOperation";
import { EnvService } from "./EnvService";

@@ -60,3 +61,5 @@ export abstract class BaseServer

{
error.message = `Error calling url '${url}' ` + error.message;
let BASESERVER_ERROR_VERBOSE = new EnvService("BASESERVER_ERROR_VERBOSE", false).getBoolean(false);
if (BASESERVER_ERROR_VERBOSE)
error.message = `Error calling url '${url}' ` + error.message;
this.onError(error);

@@ -63,0 +66,0 @@ }

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