@e-mc/types
Advanced tools
Comparing version 0.5.13 to 0.5.14
export const enum INTERNAL { | ||
VERSION = '0.5.13', | ||
VERSION = '0.5.14', | ||
TEMP_DIR = 'tmp', | ||
@@ -235,2 +235,3 @@ CJS = '__cjs__' | ||
NODE_REQUIRE_INLINE = "node.require.inline", | ||
NODE_PACKAGE_MANAGER = "node.settings.package_manager", | ||
TEMP_DIR = "temp.dir", | ||
@@ -237,0 +238,0 @@ TEMP_WRITE = "temp.write", |
@@ -254,3 +254,3 @@ /// <reference path="./lib/type.d.ts" /> | ||
function isEmpty(value: unknown): boolean; | ||
function asFunction<T = unknown, U = FunctionType<Promise<T> | T>>(value: unknown, sync?: boolean): Null<U>; | ||
function asFunction<U = unknown, V = unknown>(value: unknown, sync?: boolean): Null<FunctionType<Promise<U> | U, V>>; | ||
function parseTime(value: NumString, start?: number): number; | ||
@@ -257,0 +257,0 @@ function parseExpires(value: NumString, start?: number): number; |
@@ -680,4 +680,4 @@ /* eslint @typescript-eslint/no-explicit-any: "off" */ | ||
enabled(key: string, username?: string): boolean; | ||
parseFunction<U = unknown>(value: unknown, options?: ParseFunctionOptions): Null<FunctionType<Promise<U> | U>>; | ||
parseFunction<U = unknown>(value: unknown, absolute: boolean, sync?: boolean): Null<FunctionType<Promise<U> | U>>; | ||
parseFunction<U = unknown, V = unknown>(value: unknown, options?: ParseFunctionOptions): Null<FunctionType<Promise<U> | U, V>>; | ||
parseFunction<U = unknown, V = unknown>(value: unknown, absolute: boolean, sync?: boolean): Null<FunctionType<Promise<U> | U, V>>; | ||
asString(value: unknown, cacheKey?: boolean | "throws"): string; | ||
@@ -684,0 +684,0 @@ asHash(data: BinaryLike, options: AsHashOptions): string; |
@@ -0,0 +0,0 @@ interface Point { |
@@ -36,3 +36,3 @@ import type { PermissionAction, PermissionReadWrite, PermittedDirectories } from './core'; | ||
export interface NodeModule { | ||
export interface NodeModule<T = NodeSettings> extends HandlerSettings<T> { | ||
process?: { | ||
@@ -50,2 +50,6 @@ cpu_usage?: boolean; | ||
export interface NodeSettings extends PlainObject { | ||
package_manager?: "npm" | "yarn" | "pnpm"; | ||
} | ||
export interface ProcessModule<T = PlainObject> extends HandlerSettings<T> { | ||
@@ -52,0 +56,0 @@ env?: ProcessEnvConfig; |
{ | ||
"name": "@e-mc/types", | ||
"version": "0.5.13", | ||
"version": "0.5.14", | ||
"description": "Type definitions for E-mc.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
176470
4108