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

@deboxsoft/module-core

Package Overview
Dependencies
Maintainers
0
Versions
280
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deboxsoft/module-core - npm Package Compare versions

Comparing version 3.0.0-beta.7 to 3.0.0-beta.8

libs/chunk-A53AZXIH.js

5

libs/config.d.ts

@@ -29,4 +29,9 @@ import nconf from 'nconf';

}) => ConfigService;
/**
* Returns the path to the home directory.
*
* @return {string} The path to the home directory.
*/
declare const getHomePath: () => string;
export { type ConfigOptions, createConfig, createConfigService, getHomePath };

34

libs/index.d.ts

@@ -23,3 +23,3 @@ import { A as AppConfig } from './ConfigService-CqJMT-s8.js';

};
type HttpErrorResponse = Omit<DbxErrorOptions, "messages">;
type HttpErrorResponse = Omit<DbxErrorOptions, "message">;
declare class DbxError<Code extends string = string> extends Error {

@@ -32,3 +32,16 @@ code?: Code;

constructor({ code, instanceOf, args, message }?: DbxErrorOptions<Code>);
protected setMessage(_message: string, args: any): void;
/**
* Sets the error message by rendering the given message with the provided arguments.
*
* @param {string} _message - The message template to render.
* @param {object} args - The arguments to use when rendering the message template.
* @return {void}
*/
protected setMessage(_message: string, args?: object): void;
/**
* Creates an HTTP error response from a given DbxError.
*
* @param {DbxError} dbxError - The DbxError to convert into an HTTP error response.
* @return {HttpErrorResponse} The HTTP error response.
*/
static createHttpError(dbxError: DbxError): HttpErrorResponse;

@@ -161,5 +174,20 @@ }

remove(identifierOrIdentifierArray: Identifier | Identifier[]): this;
/**
* Resets the container by clearing its metadata map.
*
* @return {void} No return value.
*/
reset(): void;
keys(): IterableIterator<Identifier>;
values(): IterableIterator<any>;
/**
* Returns an iterator over the values of the metadata map.
*
* @return {Iterator<any>} An iterator over the values of the metadata map.
*/
values(): Iterator<any>;
/**
* Returns an iterator over the entries of the metadata map.
*
* @return {Iterator<[Identifier, any]>} An iterator over the entries of the metadata map.
*/
entries(): IterableIterator<[Identifier, any]>;

@@ -166,0 +194,0 @@ /**

4

libs/index.js

@@ -1,3 +0,3 @@

import { Container } from './chunk-GPLVETAS.js';
export { CONFIG_KEY, Container, ContainerDIClass, DbxDataError, DbxError, getConfig, getConfigService } from './chunk-GPLVETAS.js';
import { Container } from './chunk-A53AZXIH.js';
export { CONFIG_KEY, Container, ContainerDIClass, DbxDataError, DbxError, getConfig, getConfigService } from './chunk-A53AZXIH.js';
import * as _zod from 'zod';

@@ -4,0 +4,0 @@ import { z, ZodFirstPartyTypeKind } from 'zod';

{
"name": "@deboxsoft/module-core",
"version": "3.0.0-beta.7",
"version": "3.0.0-beta.8",
"license": "SEE LICENSE IN LICENSE",

@@ -5,0 +5,0 @@ "maintainers": [

Sorry, the diff of this file is too big to display

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