Socket
Socket
Sign inDemoInstall

@squared-functions/types

Package Overview
Dependencies
Maintainers
1
Versions
367
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@squared-functions/types - npm Package Compare versions

Comparing version 4.9.6 to 4.9.7

10

index.js

@@ -484,9 +484,13 @@ "use strict";

}
current = current[trimQuote(match[1])];
let target = current[trimQuote(match[1])];
if (target === undefined) {
break;
}
if (i === length - 1) {
return index !== undefined ? current[index] : current;
return (index !== undefined ? target[index] : target);
}
if (!current || index !== undefined && !(current = current[index])) {
if (index !== undefined && !isObject(target = target[index])) {
break;
}
current = target;
}

@@ -493,0 +497,0 @@ }

@@ -55,3 +55,3 @@ import type { AttributeAction, ConditionProperty, CssConditionData, ElementAction, ExcludeAction, FileAsset, FromAction, HashAction, DataSource as IDataSource, ImportAction, MetadataAction, ViewEngine, XmlTagNode } from './squared';

export interface TemplateMap {
export interface TemplateMap extends PlainObject {
html?: ObjectMap<StringMap>;

@@ -58,0 +58,0 @@ js?: ObjectMap<StringMap>;

@@ -114,2 +114,3 @@ import type { LogStatus } from './squared';

export type StatusType = STATUS_TYPE[keyof STATUS_TYPE];
export type StatusName = keyof typeof STATUS_TYPE;
export type LogDate = Date | number;

@@ -116,0 +117,0 @@ export type LogTime = LogDate | HighResolutionTime;

@@ -159,3 +159,3 @@ import type { PermissionAction, PermissionSettings, PermittedDirectories } from './core';

export interface DbModule<T = DbSettings> extends ClientModule<T>, DbSourceDataType<ObjectMap<StringMap>> {}
export interface DbModule<T = DbSettings> extends ClientModule<T>, DbSourceDataType<ObjectMap<StringMap>>, PlainObject {}

@@ -232,3 +232,3 @@ export interface DbSettings extends ClientDBSettings, DbSourceDataType<DbSourceOptions> {}

};
proxy?: {
proxy?: AuthValue & {
address?: string;

@@ -278,5 +278,5 @@ port?: NumString;

export interface TaskModule<T = PlainObject> extends ClientModule<T>, AnyObject {}
export interface TaskModule<T = PlainObject> extends ClientModule<T>, PlainObject {}
export interface CloudModule<T = CloudSettings> extends ClientModule<T>, CloudServiceDataType<ObjectMap<AnyObject>> {
export interface CloudModule<T = CloudSettings> extends ClientModule<T>, CloudServiceDataType<ObjectMap<AnyObject>>, PlainObject {
apiVersion?: string;

@@ -320,16 +320,4 @@ /** @deprecated settings[service].cache */

production?: string[];
format?: {
title?: V;
value?: V;
hint?: V & { unit?: "auto" | "s" | "ms" };
session_id?: V;
message?: V;
meter?: V;
};
meter?: {
http?: T;
image?: T;
compress?: T;
process?: T;
};
format?: LoggerFormatSettings<V>;
meter?: LoggerMeterSettings<T>;
broadcast?: BroadcastServer & { color?: boolean };

@@ -358,2 +346,19 @@ status?: boolean | LoggerStatus;

export interface LoggerFormatSettings<T = PlainObject> {
title?: T;
value?: T;
hint?: T & { unit?: "auto" | "s" | "ms" };
session_id?: T;
message?: T;
meter?: T;
}
export interface LoggerMeterSettings<T = NumString> {
http?: T;
image?: T;
compress?: T;
process?: T;
}
export interface HttpSettings {

@@ -360,0 +365,0 @@ version?: NumString;

{
"name": "@squared-functions/types",
"version": "4.9.6",
"version": "4.9.7",
"description": "Type definitions for squared-functions.",

@@ -24,4 +24,4 @@ "types": "index.d.ts",

"devDependencies": {
"typescript": "4.9.6"
"typescript": "4.9.5"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc