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

@squared-functions/types

Package Overview
Dependencies
Maintainers
1
Versions
368
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 0.9.9 to 0.9.10

27

lib/index.d.ts

@@ -8,3 +8,2 @@ /// <reference path="type.d.ts" />

import type { Response } from 'express';
import type { CorsOptions } from 'cors';
import type { BackgroundColor, ForegroundColor } from 'chalk';

@@ -18,2 +17,3 @@

type CloudFunctions = "upload" | "download";
type ModuleWriteFailMethod = (value: string | [string, string], message?: unknown) => void;
type FileManagerFinalizeImageMethod = (result: internal.Image.OutputData, error?: Null<Error>) => void;

@@ -117,3 +117,3 @@ type FileManagerPerformAsyncTaskCallback = VoidFunction;

createStorageClient?<T>(this: InstanceHost, credential: unknown, service?: string): T;
createDatabaseClient?<T>(this: InstanceHost, credential: unknown): T;
createDatabaseClient?<T>(this: InstanceHost, credential: unknown, data?: squared.CloudService): T;
createBucket?(this: InstanceHost, credential: unknown, bucket: string, publicRead?: boolean, service?: string, sdk?: string): Promise<boolean>;

@@ -163,7 +163,2 @@ deleteObjects?(this: InstanceHost, credential: unknown, bucket: string, service?: string, sdk?: string): Promise<void>;

}
interface Route {
mount?: string;
path?: string;
}
}

@@ -217,3 +212,3 @@

class ImageProxy<T> {
class ImageCommand<T> {
instance: T;

@@ -273,3 +268,2 @@ command: string

loadConfig(value: string): Undef<StandardMap | string>;
loadTranspiler(value: string): Null<FunctionType<string>>;
transform(type: ExternalCategory, format: string, value: string, input: internal.Chrome.SourceMapInput): Promise<Void<[string, Map<string, internal.Chrome.SourceMapOutput>]>>;

@@ -345,2 +339,3 @@ }

moduleCompress(): ICompress;
moduleChrome(): IChrome;
new(dirname: string, body: RequestBody, postFinalize?: FunctionType<void>): IFileManager;

@@ -358,2 +353,3 @@ }

supported(major: number, minor: number, patch?: number): boolean;
parseFunction(value: string): Null<FunctionType<string>>;
joinPosix(...paths: Undef<string>[]): string;

@@ -363,3 +359,3 @@ getTempDir(subDir?: boolean, filename?: string): string;

formatFail(type: internal.LOG_TYPE, title: string, value: string | [string, string], message?: unknown): void;
writeFail(value: string | [string, string], message?: unknown): void;
writeFail: ModuleWriteFailMethod;
writeTimeElapsed(title: string, value: string, time: number, options?: internal.LogMessageOptions): void;

@@ -374,2 +370,3 @@ writeMessage(title: string, value: string, message?: unknown, options?: internal.LogMessageOptions): void;

renameExt(value: string, ext: string): string;
isLocalPath(value: string): string;
new(): IModule;

@@ -399,7 +396,2 @@ }

unc_write?: BoolString;
cors?: CorsOptions;
env?: string;
port?: StringMap;
routing?: ExtendedSettings.RoutingModule;
request_post_limit?: string;
logger?: ExtendedSettings.LoggerModule;

@@ -415,6 +407,2 @@ watch?: ExtendedSettings.WatchModule;

namespace ExtendedSettings {
interface RoutingModule {
[key: string]: internal.Route[];
}
interface LoggerModule {

@@ -482,2 +470,3 @@ unknown?: boolean;

inlineCssMap?: StringMap;
srcSet?: string[];
etag?: string;

@@ -484,0 +473,0 @@ invalid?: boolean;

{
"name": "@squared-functions/types",
"version": "0.9.9",
"version": "0.9.10",
"description": "Type definitions for squared-functions",

@@ -5,0 +5,0 @@ "types": "lib/index.d.ts",

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