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

troy-foundation

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

troy-foundation - npm Package Compare versions

Comparing version 0.0.43 to 0.0.44

dist/box.d.ts

3

dist/$index.d.ts
export * from './assertion';
export * from './box';
export * from './exp';
export * from './fatal-error';
export * from './global-const';
export * from './global-var';
export * from './log-msg-base';

@@ -7,0 +6,0 @@ export * from './managed-error';

@@ -18,6 +18,5 @@ "use strict";

__exportStar(require("./assertion"), exports);
__exportStar(require("./box"), exports);
__exportStar(require("./exp"), exports);
__exportStar(require("./fatal-error"), exports);
__exportStar(require("./global-const"), exports);
__exportStar(require("./global-var"), exports);
__exportStar(require("./log-msg-base"), exports);

@@ -24,0 +23,0 @@ __exportStar(require("./managed-error"), exports);

export type ExecuteReportError = (error: unknown) => void;
export declare const EXECUTE_REPORT_ERROR: {
value: ExecuteReportError;
};
export declare const IS_REPORTING_ERROR_ALLOWED: {
value: boolean;
};
export declare const EXECUTE_REPORT_ERROR: import("./box").MutableBox<ExecuteReportError>;
export declare const IS_REPORTING_ERROR_ALLOWED: import("./box").MutableBox<boolean>;
export declare const reportErrorIfAllowed: ExecuteReportError;
//# sourceMappingURL=report-error.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.reportErrorIfAllowed = exports.IS_REPORTING_ERROR_ALLOWED = exports.EXECUTE_REPORT_ERROR = void 0;
const global_var_1 = require("./global-var");
exports.EXECUTE_REPORT_ERROR = (0, global_var_1.declareGlobalVar)(() => {
const box_1 = require("./box");
exports.EXECUTE_REPORT_ERROR = (0, box_1.declareGlobalMutableBox)(() => {
});
exports.IS_REPORTING_ERROR_ALLOWED = (0, global_var_1.declareGlobalVar)(false);
exports.IS_REPORTING_ERROR_ALLOWED = (0, box_1.declareGlobalMutableBox)(false);
const reportErrorIfAllowed = (error) => {

@@ -9,0 +9,0 @@ if (exports.IS_REPORTING_ERROR_ALLOWED.value) {

import { LogMsgBase } from "./log-msg-base";
export type ExecuteWriteErrorLog = <TErrorLogMsg extends LogMsgBase>(errorLogMsg: TErrorLogMsg) => void;
export declare const EXECUTE_WRITE_ERROR_LOG: {
value: ExecuteWriteErrorLog;
};
export declare const EXECUTE_WRITE_ERROR_LOG: import("./box").MutableBox<ExecuteWriteErrorLog>;
export declare const writeErrorLog: ExecuteWriteErrorLog;
//# sourceMappingURL=write-error-log.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.writeErrorLog = exports.EXECUTE_WRITE_ERROR_LOG = void 0;
const global_var_1 = require("./global-var");
exports.EXECUTE_WRITE_ERROR_LOG = (0, global_var_1.declareGlobalVar)(() => {
const box_1 = require("./box");
exports.EXECUTE_WRITE_ERROR_LOG = (0, box_1.declareGlobalMutableBox)(() => {
});

@@ -7,0 +7,0 @@ const writeErrorLog = (errorLogMsg) => {

import { LogMsgBase } from "./log-msg-base";
export type ExecuteWriteInfoLog = <TInfoLogMsg extends LogMsgBase>(infoLogMsg: TInfoLogMsg) => void;
export declare const EXECUTE_WRITE_INFO_LOG: {
value: ExecuteWriteInfoLog;
};
export declare const EXECUTE_WRITE_INFO_LOG: import("./box").MutableBox<ExecuteWriteInfoLog>;
export declare const writeInfoLog: ExecuteWriteInfoLog;
//# sourceMappingURL=write-info-log.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.writeInfoLog = exports.EXECUTE_WRITE_INFO_LOG = void 0;
const global_var_1 = require("./global-var");
exports.EXECUTE_WRITE_INFO_LOG = (0, global_var_1.declareGlobalVar)(() => {
const box_1 = require("./box");
exports.EXECUTE_WRITE_INFO_LOG = (0, box_1.declareGlobalMutableBox)(() => {
});

@@ -7,0 +7,0 @@ const writeInfoLog = (infoLogMsg) => {

import { LogMsgBase } from "./log-msg-base";
export type ExecuteWriteTraceLog = <TTraceLogMsg extends LogMsgBase>(traceLogMsg: TTraceLogMsg) => void;
export declare const EXECUTE_WRITE_TRACE_LOG: {
value: ExecuteWriteTraceLog;
};
export declare const IS_WRITING_TRACE_LOG_ALLOWED: {
value: boolean;
};
export declare const EXECUTE_WRITE_TRACE_LOG: import("./box").MutableBox<ExecuteWriteTraceLog>;
export declare const IS_WRITING_TRACE_LOG_ALLOWED: import("./box").MutableBox<boolean>;
export declare const writeTraceLog: ExecuteWriteTraceLog;
//# sourceMappingURL=write-trace-log.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.writeTraceLog = exports.IS_WRITING_TRACE_LOG_ALLOWED = exports.EXECUTE_WRITE_TRACE_LOG = void 0;
const global_var_1 = require("./global-var");
exports.EXECUTE_WRITE_TRACE_LOG = (0, global_var_1.declareGlobalVar)(() => {
const box_1 = require("./box");
exports.EXECUTE_WRITE_TRACE_LOG = (0, box_1.declareGlobalMutableBox)(() => {
});
exports.IS_WRITING_TRACE_LOG_ALLOWED = (0, global_var_1.declareGlobalVar)(false);
exports.IS_WRITING_TRACE_LOG_ALLOWED = (0, box_1.declareGlobalMutableBox)(false);
const writeTraceLog = (traceLogMsg) => {

@@ -9,0 +9,0 @@ if (exports.IS_WRITING_TRACE_LOG_ALLOWED.value) {

{
"name": "troy-foundation",
"version": "0.0.43",
"version": "0.0.44",
"main": "dist/$index.js",

@@ -12,3 +12,3 @@ "types": "dist/$index.d.ts",

"@types/node": "^16.0.0",
"troy-ts-standard-package-dev-tools": "0.0.43"
"troy-ts-standard-package-dev-tools": "0.0.44"
},

@@ -15,0 +15,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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