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

namirasoft-core

Package Overview
Dependencies
Maintainers
1
Versions
166
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.41 to 1.4.42

1

dist/BaseUUID.d.ts
export declare class BaseUUID {
private static SIZE;
static isValid(id: any): boolean;
static isValidShort(id: string, short: string): boolean;
static getShort(id: string): string;

@@ -5,0 +6,0 @@ short: string;

@@ -15,2 +15,7 @@ "use strict";

}
static isValidShort(id, short) {
if (BaseUUID.isValid(id))
return BaseUUID.getShort(id) === short;
return false;
}
static getShort(id) {

@@ -17,0 +22,0 @@ let parts = id.split("@")[0].split("-");

2

package.json

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

"private": false,
"version": "1.4.41",
"version": "1.4.42",
"author": "Amir Abolhasani",

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

@@ -6,3 +6,3 @@ import { v4 } from "uuid";

private static SIZE = 20;
static isValid(id: any)
static isValid(id: any): boolean
{

@@ -17,2 +17,8 @@ let value = id + "";

}
static isValidShort(id: string, short: string): boolean
{
if (BaseUUID.isValid(id))
return BaseUUID.getShort(id) === short;
return false;
}
static getShort(id: string)

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