Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@avanio/variable-util

Package Overview
Dependencies
Maintainers
3
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@avanio/variable-util - npm Package Compare versions

Comparing version
1.2.0
to
1.2.1
+4
-2
dist/index.d.mts

@@ -1105,4 +1105,5 @@ import { Loadable } from '@luolapeikko/ts-common';

* @param {string} message - The error message
* @param {ErrorOptions} [options] - The error options
*/
constructor(message: string);
constructor(message: string, options?: ErrorOptions);
}

@@ -1123,4 +1124,5 @@

* @param {string} message - The error message.
* @param {ErrorOptions} [options] - The error options
*/
constructor(variableKey: string, message: string);
constructor(variableKey: string, message: string, options?: ErrorOptions);
}

@@ -1127,0 +1129,0 @@

@@ -1105,4 +1105,5 @@ import { Loadable } from '@luolapeikko/ts-common';

* @param {string} message - The error message
* @param {ErrorOptions} [options] - The error options
*/
constructor(message: string);
constructor(message: string, options?: ErrorOptions);
}

@@ -1123,4 +1124,5 @@

* @param {string} message - The error message.
* @param {ErrorOptions} [options] - The error options
*/
constructor(variableKey: string, message: string);
constructor(variableKey: string, message: string, options?: ErrorOptions);
}

@@ -1127,0 +1129,0 @@

@@ -203,7 +203,7 @@ "use strict";

* @param {string} message - The error message
* @param {ErrorOptions} [options] - The error options
*/
constructor(message) {
super(message);
constructor(message, options) {
super(message, options);
this.name = "VariableError";
Error.captureStackTrace(this, this.constructor);
}

@@ -1195,8 +1195,8 @@ };

* @param {string} message - The error message.
* @param {ErrorOptions} [options] - The error options
*/
constructor(variableKey, message) {
super(message);
constructor(variableKey, message, options) {
super(message, options);
this.variableKey = variableKey;
this.name = "VariableLookupError";
Error.captureStackTrace(this, this.constructor);
}

@@ -1203,0 +1203,0 @@ };

@@ -137,7 +137,7 @@ var __defProp = Object.defineProperty;

* @param {string} message - The error message
* @param {ErrorOptions} [options] - The error options
*/
constructor(message) {
super(message);
constructor(message, options) {
super(message, options);
this.name = "VariableError";
Error.captureStackTrace(this, this.constructor);
}

@@ -1129,8 +1129,8 @@ };

* @param {string} message - The error message.
* @param {ErrorOptions} [options] - The error options
*/
constructor(variableKey, message) {
super(message);
constructor(variableKey, message, options) {
super(message, options);
this.variableKey = variableKey;
this.name = "VariableLookupError";
Error.captureStackTrace(this, this.constructor);
}

@@ -1137,0 +1137,0 @@ };

{
"name": "@avanio/variable-util",
"version": "1.2.0",
"version": "1.2.1",
"description": "Utility to get variables from multiple resources",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

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

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