@e-mc/types
Advanced tools
Comparing version 0.8.20 to 0.8.21
export const enum INTERNAL { | ||
VERSION = '0.8.20', | ||
VERSION = '0.8.21', | ||
TEMP_DIR = 'tmp', | ||
@@ -263,3 +263,2 @@ CJS = '__cjs__' | ||
NODE_REQUIRE_INLINE = "node.require.inline", | ||
NODE_PACKAGE_MANAGER = "node.settings.package_manager", | ||
TEMP_DIR = "temp.dir", | ||
@@ -266,0 +265,0 @@ TEMP_WRITE = "temp.write", |
@@ -33,8 +33,8 @@ /* eslint @typescript-eslint/no-explicit-any: "off" */ | ||
import type { BinaryLike } from 'crypto'; | ||
// @ts-ignore | ||
import type { FileTypeResult } from 'file-type'; | ||
import type * as EventEmitter from 'events'; | ||
// @ts-ignore | ||
import type * as ws from 'ws'; | ||
import type { FileTypeResult } from 'file-type'; | ||
@@ -41,0 +41,0 @@ type BufferView = BufferContent | NodeJS.ArrayBufferView; |
@@ -63,2 +63,3 @@ import type { BinaryAction } from './asset'; | ||
headers?: OutgoingHttpHeaders; | ||
signal?: AbortSignal; | ||
timeout?: number; | ||
@@ -93,2 +94,3 @@ pipeTo?: string | Writable; | ||
headers?: OutgoingHttpHeaders; | ||
signal?: AbortSignal; | ||
} | ||
@@ -95,0 +97,0 @@ |
@@ -39,3 +39,3 @@ import type { WatchInterval } from './squared'; | ||
export interface NodeModule<T = NodeSettings> extends HandlerSettings<T> { | ||
export interface NodeModule<T = PlainObject> extends HandlerSettings<T> { | ||
process?: { | ||
@@ -53,6 +53,2 @@ cpu_usage?: boolean; | ||
export interface NodeSettings extends PlainObject { | ||
package_manager?: "npm" | "yarn" | "pnpm"; | ||
} | ||
export interface ProcessModule<T = PlainObject> extends HandlerSettings<T> { | ||
@@ -59,0 +55,0 @@ env?: ProcessEnvConfig; |
{ | ||
"name": "@e-mc/types", | ||
"version": "0.8.20", | ||
"version": "0.8.21", | ||
"description": "Type definitions for E-mc.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -12,3 +12,3 @@ # @e-mc/types | ||
- https://www.unpkg.com/@e-mc/types@0.8.20/index.d.ts | ||
- https://www.unpkg.com/@e-mc/types@0.8.21/index.d.ts | ||
@@ -41,3 +41,3 @@ ```typescript | ||
function isEmpty(value: unknown): boolean; | ||
function asFunction(value: unknown, sync?: boolean): ((...args: unknown[]) => Promise<unknown> | unknown) | null; | ||
function asFunction(value: unknown, sync?: boolean): ((...args: unknown[]) => unknown) | null; | ||
function parseTime(value: number | string, start?: number): number; | ||
@@ -191,4 +191,4 @@ function parseExpires(value: number | string, start?: number): number; | ||
- https://www.unpkg.com/@e-mc/types@0.8.20/lib/logger.d.ts | ||
- https://www.unpkg.com/@e-mc/types@0.8.20/lib/module.d.ts | ||
- https://www.unpkg.com/@e-mc/types@0.8.21/lib/logger.d.ts | ||
- https://www.unpkg.com/@e-mc/types@0.8.21/lib/module.d.ts | ||
@@ -195,0 +195,0 @@ * https://nodejs.org/api/perf_hooks.html |
Sorry, the diff of this file is not supported yet
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
191966
4346