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

@tsdotnet/exceptions

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsdotnet/exceptions - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

dist-esm/ArgumentException.js

8

dist/ArgumentException.js

@@ -0,1 +1,2 @@

"use strict";
/*!

@@ -6,5 +7,7 @@ * @author electricessence / https://github.com/electricessence/

*/
import SystemException from './SystemException';
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const SystemException_1 = tslib_1.__importDefault(require("./SystemException"));
const NAME = 'ArgumentException';
export default class ArgumentException extends SystemException {
class ArgumentException extends SystemException_1.default {
// For simplicity and consistency, lets stick with 1 signature.

@@ -20,2 +23,3 @@ constructor(paramName, message, innerException) {

}
exports.default = ArgumentException;
//# sourceMappingURL=ArgumentException.js.map

@@ -0,1 +1,2 @@

"use strict";
/*!

@@ -6,5 +7,7 @@ * @author electricessence / https://github.com/electricessence/

*/
import ArgumentException from './ArgumentException';
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const ArgumentException_1 = tslib_1.__importDefault(require("./ArgumentException"));
const NAME = 'ArgumentNullException';
export default class ArgumentNullException extends ArgumentException {
class ArgumentNullException extends ArgumentException_1.default {
constructor(paramName, message = (paramName || 'Argument ') + 'is null (or undefined).', innerException) {

@@ -17,2 +20,3 @@ super(paramName, message, innerException);

}
exports.default = ArgumentNullException;
//# sourceMappingURL=ArgumentNullException.js.map

@@ -0,1 +1,2 @@

"use strict";
/*!

@@ -6,5 +7,7 @@ * @author electricessence / https://github.com/electricessence/

*/
import ArgumentException from './ArgumentException';
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const ArgumentException_1 = tslib_1.__importDefault(require("./ArgumentException"));
const NAME = 'ArgumentOutOfRangeException';
export default class ArgumentOutOfRangeException extends ArgumentException {
class ArgumentOutOfRangeException extends ArgumentException_1.default {
constructor(paramName, actualValue, message = ' ', innerException) {

@@ -18,2 +21,3 @@ super(paramName, `(${actualValue}) ` + message, innerException);

}
exports.default = ArgumentOutOfRangeException;
//# sourceMappingURL=ArgumentOutOfRangeException.js.map

@@ -0,1 +1,2 @@

"use strict";
/*!

@@ -6,2 +7,3 @@ * @author electricessence / https://github.com/electricessence/

*/
Object.defineProperty(exports, "__esModule", { value: true });
const NAME = 'Exception';

@@ -16,3 +18,3 @@ /*

*/
export default class Exception {
class Exception {
/**

@@ -57,2 +59,3 @@ * Initializes a new instance of the Exception class with a specified error message and optionally a reference to the inner exception that is the cause of this exception.

}
exports.default = Exception;
//# sourceMappingURL=Exception.js.map

@@ -1,11 +0,21 @@

import Exception from './Exception';
import SystemException from './SystemException';
import ArgumentException from './ArgumentException';
import ArgumentNullException from './ArgumentNullException';
import ArgumentOutOfRangeException from './ArgumentOutOfRangeException';
import InvalidOperationException from './InvalidOperationException';
import NotImplementedException from './NotImplementedException';
import NullReferenceException from './NullReferenceException';
export { Exception, SystemException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, NotImplementedException, NullReferenceException };
export default Exception;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const Exception_1 = tslib_1.__importDefault(require("./Exception"));
exports.Exception = Exception_1.default;
const SystemException_1 = tslib_1.__importDefault(require("./SystemException"));
exports.SystemException = SystemException_1.default;
const ArgumentException_1 = tslib_1.__importDefault(require("./ArgumentException"));
exports.ArgumentException = ArgumentException_1.default;
const ArgumentNullException_1 = tslib_1.__importDefault(require("./ArgumentNullException"));
exports.ArgumentNullException = ArgumentNullException_1.default;
const ArgumentOutOfRangeException_1 = tslib_1.__importDefault(require("./ArgumentOutOfRangeException"));
exports.ArgumentOutOfRangeException = ArgumentOutOfRangeException_1.default;
const InvalidOperationException_1 = tslib_1.__importDefault(require("./InvalidOperationException"));
exports.InvalidOperationException = InvalidOperationException_1.default;
const NotImplementedException_1 = tslib_1.__importDefault(require("./NotImplementedException"));
exports.NotImplementedException = NotImplementedException_1.default;
const NullReferenceException_1 = tslib_1.__importDefault(require("./NullReferenceException"));
exports.NullReferenceException = NullReferenceException_1.default;
exports.default = Exception_1.default;
//# sourceMappingURL=index.js.map

@@ -0,1 +1,2 @@

"use strict";
/*!

@@ -6,5 +7,7 @@ * @author electricessence / https://github.com/electricessence/

*/
import SystemException from './SystemException';
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const SystemException_1 = tslib_1.__importDefault(require("./SystemException"));
const NAME = 'InvalidOperationException';
export default class InvalidOperationException extends SystemException {
class InvalidOperationException extends SystemException_1.default {
getName() {

@@ -14,2 +17,3 @@ return NAME;

}
exports.default = InvalidOperationException;
//# sourceMappingURL=InvalidOperationException.js.map

@@ -0,1 +1,2 @@

"use strict";
/*!

@@ -6,5 +7,7 @@ * @author electricessence / https://github.com/electricessence/

*/
import SystemException from './SystemException';
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const SystemException_1 = tslib_1.__importDefault(require("./SystemException"));
const NAME = 'NotImplementedException';
export default class NotImplementedException extends SystemException {
class NotImplementedException extends SystemException_1.default {
getName() {

@@ -14,2 +17,3 @@ return NAME;

}
exports.default = NotImplementedException;
//# sourceMappingURL=NotImplementedException.js.map

@@ -0,1 +1,2 @@

"use strict";
/*!

@@ -6,5 +7,7 @@ * @author electricessence / https://github.com/electricessence/

*/
import SystemException from './SystemException';
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const SystemException_1 = tslib_1.__importDefault(require("./SystemException"));
const NAME = 'NullReferenceException';
export default class NullReferenceException extends SystemException {
class NullReferenceException extends SystemException_1.default {
getName() {

@@ -14,2 +17,3 @@ return NAME;

}
exports.default = NullReferenceException;
//# sourceMappingURL=NullReferenceException.js.map

@@ -0,1 +1,2 @@

"use strict";
/*!

@@ -6,5 +7,7 @@ * @author electricessence / https://github.com/electricessence/

*/
import Exception from './Exception';
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const Exception_1 = tslib_1.__importDefault(require("./Exception"));
const NAME = 'SystemException';
export default class SystemException extends Exception {
class SystemException extends Exception_1.default {
getName() {

@@ -14,2 +17,3 @@ return NAME;

}
exports.default = SystemException;
//# sourceMappingURL=SystemException.js.map
{
"name": "@tsdotnet/exceptions",
"version": "1.0.4",
"version": "1.0.5",
"description": "",

@@ -9,2 +9,3 @@ "author": "electricessence",

"main": "dist/index.js",
"module": "dist-esm/index.js",
"keywords": [

@@ -21,4 +22,4 @@ "exceptions",

"scripts": {
"clean": "rimraf dist/*",
"build": "npm prune && npm install && npm run clean && copyfiles -u 1 src/**/*.d.ts dist && tsc",
"clean": "rimraf dist/* && rimraf dist-esm/*",
"build": "npm prune && npm install && npm run clean && copyfiles -u 1 src/**/*.d.ts dist && tsc && tsc -p tsconfig.esm.json",
"bump": "npm run precommit && npm version patch",

@@ -25,0 +26,0 @@ "lint": "eslint src/**/*.ts",

@@ -7,3 +7,3 @@ {

"target": "es2015",
"module": "es2015",
"module": "commonjs",
"strict": true,

@@ -10,0 +10,0 @@ "sourceMap": true,

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