Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@withonevision/omnihive-core

Package Overview
Dependencies
Maintainers
4
Versions
219
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@withonevision/omnihive-core - npm Package Compare versions

Comparing version 6.2.57 to 6.3.0

1

enums/HiveWorkerType.d.ts
export declare enum HiveWorkerType {
Cache = "cache",
Config = "config",
Custom = "custom",
Date = "date",

@@ -6,0 +5,0 @@ Database = "database",

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

HiveWorkerType["Config"] = "config";
HiveWorkerType["Custom"] = "custom";
HiveWorkerType["Date"] = "date";

@@ -11,0 +10,0 @@ HiveWorkerType["Database"] = "database";

3

helpers/IsHelper.d.ts

@@ -12,8 +12,9 @@ export declare class IsHelper {

static isNull: (value: unknown) => value is null;
static isNumber: (value: unknown) => value is number;
static isNullOrUndefined: (value: unknown) => value is null | undefined;
static isNullOrUndefinedOrEmptyStringOrWhitespace: (value: unknown) => value is "" | null | undefined;
static isNumber: (value: unknown) => value is number;
static isObject: (value: unknown) => value is object;
static isPlainObject: <T = unknown>(value: unknown) => value is Record<string | number | symbol, T>;
static isString: (value: unknown) => value is string;
static isTruthy: (value: unknown) => boolean;
static isUndefined: (value: unknown) => value is undefined;

@@ -20,0 +21,0 @@ static isWhiteSpaceString: (value: unknown) => value is string;

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

IsHelper.isEmptyString = (value) => {
return IsHelper.isString(value) && String(value).length === 0;
try {
return IsHelper.isString(value) && String(value).length === 0;
}
catch (_a) {
return false;
}
};

@@ -43,8 +48,2 @@ IsHelper.isEmptyStringOrWhitespace = (value) => {

};
IsHelper.isNullOrUndefined = (value) => {
return IsHelper.isNull(value) || IsHelper.isUndefined(value);
};
IsHelper.isNullOrUndefinedOrEmptyStringOrWhitespace = (value) => {
return IsHelper.isNullOrUndefined(value) || IsHelper.isEmptyStringOrWhitespace(value);
};
IsHelper.isNumber = (value) => {

@@ -63,2 +62,8 @@ if (typeof value === "number") {

};
IsHelper.isNullOrUndefined = (value) => {
return IsHelper.isNull(value) || IsHelper.isUndefined(value);
};
IsHelper.isNullOrUndefinedOrEmptyStringOrWhitespace = (value) => {
return IsHelper.isNullOrUndefined(value) || IsHelper.isEmptyStringOrWhitespace(value);
};
IsHelper.isObject = (value) => {

@@ -77,2 +82,5 @@ return !IsHelper.isNull(value) && (typeof value === "object" || IsHelper.isFunction(value));

};
IsHelper.isTruthy = (value) => {
return Boolean(value);
};
IsHelper.isUndefined = (value) => {

@@ -82,4 +90,9 @@ return typeof value === "undefined" || value === undefined;

IsHelper.isWhiteSpaceString = (value) => {
return IsHelper.isString(value) && !IsHelper.isEmptyString(value) && !/\S/.test(String(value));
try {
return IsHelper.isString(value) && !/\S/.test(String(value));
}
catch (_a) {
return false;
}
};
//# sourceMappingURL=IsHelper.js.map

@@ -6,3 +6,4 @@ export declare class AdminResponse<T = {}> {

requestError?: string | undefined;
constructor();
}
//# sourceMappingURL=AdminResponse.d.ts.map

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

constructor() {
this.data = undefined;
this.serverGroupId = "";
this.requestComplete = true;
this.requestError = undefined;
this.data = undefined;
}

@@ -12,0 +12,0 @@ }

@@ -5,10 +5,4 @@ "use strict";

class GraphContext {
constructor() {
this.access = undefined;
this.auth = undefined;
this.cache = undefined;
this.cacheSeconds = undefined;
}
}
exports.GraphContext = GraphContext;
//# sourceMappingURL=GraphContext.js.map

@@ -7,3 +7,3 @@ "use strict";

constructor() {
this.type = HiveWorkerType_1.HiveWorkerType.Custom;
this.type = HiveWorkerType_1.HiveWorkerType.User;
this.name = "";

@@ -10,0 +10,0 @@ this.package = "";

{
"name": "@withonevision/omnihive-core",
"version": "6.2.57",
"version": "6.3.0",
"description": "OmniHive Core",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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