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

@e-mc/types

Package Overview
Dependencies
Maintainers
0
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@e-mc/types - npm Package Compare versions

Comparing version 0.5.13 to 0.5.14

3

constant.d.ts
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",

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