New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

namirasoft-site

Package Overview
Dependencies
Maintainers
0
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

namirasoft-site - npm Package Compare versions

Comparing version 1.4.17 to 1.4.18

2

dist/NSBaseServer.d.ts

@@ -5,3 +5,3 @@ import { BaseServer } from "namirasoft-core";

static onBeforeRequest_SetVersion<ReqData>(version: string, config?: AxiosRequestConfig<ReqData>): void;
static onBeforeRequest_GetVersion<ReqData>(response?: AxiosResponse<ReqData>): string;
static onBeforeRequest_GetVersion<ReqData>(res?: AxiosResponse<ReqData>): string;
private version;

@@ -8,0 +8,0 @@ backend: {

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

}
static onBeforeRequest_GetVersion(response) {
static onBeforeRequest_GetVersion(res) {
let header = NSHeader_1.NSHeader.req.VERSION();
if (response === null || response === void 0 ? void 0 : response.headers)
return response.headers[header];
if (res === null || res === void 0 ? void 0 : res.headers)
return res.headers[header];
return "";

@@ -18,0 +18,0 @@ }

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

"private": false,
"version": "1.4.17",
"version": "1.4.18",
"author": "Amir Abolhasani",

@@ -22,4 +22,4 @@ "license": "MIT",

"axios": "^1.7.9",
"namirasoft-core": "^1.4.49"
"namirasoft-core": "^1.4.50"
}
}

@@ -14,7 +14,7 @@ import { BaseServer } from "namirasoft-core";

static onBeforeRequest_GetVersion<ReqData>(response?: AxiosResponse<ReqData>): string
static onBeforeRequest_GetVersion<ReqData>(res?: AxiosResponse<ReqData>): string
{
let header = NSHeader.req.VERSION();
if (response?.headers)
return response.headers[header];
if (res?.headers)
return res.headers[header];
return "";

@@ -21,0 +21,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