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.3.39 to 1.3.40

7

dist/IStorageCookie.js

@@ -23,3 +23,8 @@ "use strict";

var _a;
return (_a = EncodingOperation_1.EncodingOperation.Base64Decode(this.getAll()[name])) !== null && _a !== void 0 ? _a : defaultValue;
try {
return (_a = EncodingOperation_1.EncodingOperation.Base64Decode(this.getAll()[name])) !== null && _a !== void 0 ? _a : defaultValue;
}
catch (error) {
return defaultValue;
}
}

@@ -26,0 +31,0 @@ set(name, value) {

2

package.json

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

"private": false,
"version": "1.3.39",
"version": "1.3.40",
"author": "Amir Abolhasani",

@@ -14,0 +14,0 @@ "license": "MIT",

@@ -25,3 +25,9 @@ import { EncodingOperation } from "./EncodingOperation";

{
return EncodingOperation.Base64Decode(this.getAll()[name]) ?? defaultValue;
try
{
return EncodingOperation.Base64Decode(this.getAll()[name]) ?? defaultValue;
} catch (error)
{
return defaultValue;
}
}

@@ -28,0 +34,0 @@ override set(name: string, value: 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