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.41 to 1.3.42

3

dist/IStorageCookie.js

@@ -25,3 +25,4 @@ "use strict";

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

@@ -28,0 +29,0 @@ catch (error) {

@@ -40,3 +40,4 @@ export declare class NamingConvention {

constructor(name: string, delimiter: string, formatter: (word: string, index: number) => string, splitter: (name: string, delimiter: string) => string[]);
getWords(name: string): string[];
convert(name: string, to: NamingConvention): string;
}

@@ -11,4 +11,7 @@ "use strict";

}
getWords(name) {
return this.splitter(name, this.delimiter);
}
convert(name, to) {
let words = name.split(this.delimiter);
let words = this.getWords(name);
words = words.filter(w => w);

@@ -15,0 +18,0 @@ for (let i = 0; i < words.length; i++)

{
"name": "namirasoft-core",
"title": "Namirasoft Core",
"title": "Namirasoft Core NPM Package",
"description": "Namira Software Corporation Core NPM Package",

@@ -11,3 +11,3 @@ "icon": "logo.png",

"private": false,
"version": "1.3.41",
"version": "1.3.42",
"author": "Amir Abolhasani",

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

"dependencies": {
"@types/node": "^20.12.12",
"@types/node": "^20.13.0",
"axios": "^1.7.2",

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

@@ -29,3 +29,4 @@ import { EncodingOperation } from "./EncodingOperation";

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

@@ -32,0 +33,0 @@ {

@@ -85,5 +85,9 @@ export class NamingConvention

}
getWords(name: string)
{
return this.splitter(name, this.delimiter);
}
convert(name: string, to: NamingConvention)
{
let words = name.split(this.delimiter);
let words = this.getWords(name);
words = words.filter(w => w);

@@ -90,0 +94,0 @@ for (let i = 0; i < words.length; i++)

Sorry, the diff of this file is not supported yet

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