New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.17 to 1.0.18

5

dist-esm/ArgumentException.js

@@ -11,4 +11,5 @@ /*!

constructor(paramName, message, innerException) {
paramName = paramName ? '{' + paramName + '} ' : '';
super(paramName + (message || ''), innerException);
if (message && paramName)
message = `{${paramName}} ${message}`;
super(message, innerException);
this.paramName = paramName;

@@ -15,0 +16,0 @@ }

2

dist-esm/ArgumentNullException.js

@@ -9,3 +9,3 @@ /*!

export default class ArgumentNullException extends ArgumentException {
constructor(paramName, message = (paramName || 'Argument ') + 'is null (or undefined).', innerException) {
constructor(paramName, message = (paramName ? `{${paramName}}` : 'Argument') + ' is null (or undefined).', innerException) {
super(paramName, message, innerException);

@@ -12,0 +12,0 @@ }

@@ -9,3 +9,3 @@ "use strict";

const tslib_1 = require("tslib");
const SystemException_1 = tslib_1.__importDefault(require("./SystemException"));
const SystemException_1 = (0, tslib_1.__importDefault)(require("./SystemException"));
const NAME = 'ArgumentException';

@@ -15,4 +15,5 @@ class ArgumentException extends SystemException_1.default {

constructor(paramName, message, innerException) {
paramName = paramName ? '{' + paramName + '} ' : '';
super(paramName + (message || ''), innerException);
if (message && paramName)
message = `{${paramName}} ${message}`;
super(message, innerException);
this.paramName = paramName;

@@ -19,0 +20,0 @@ }

@@ -9,6 +9,6 @@ "use strict";

const tslib_1 = require("tslib");
const ArgumentException_1 = tslib_1.__importDefault(require("./ArgumentException"));
const ArgumentException_1 = (0, tslib_1.__importDefault)(require("./ArgumentException"));
const NAME = 'ArgumentNullException';
class ArgumentNullException extends ArgumentException_1.default {
constructor(paramName, message = (paramName || 'Argument ') + 'is null (or undefined).', innerException) {
constructor(paramName, message = (paramName ? `{${paramName}}` : 'Argument') + ' is null (or undefined).', innerException) {
super(paramName, message, innerException);

@@ -15,0 +15,0 @@ }

@@ -9,3 +9,3 @@ "use strict";

const tslib_1 = require("tslib");
const ArgumentException_1 = tslib_1.__importDefault(require("./ArgumentException"));
const ArgumentException_1 = (0, tslib_1.__importDefault)(require("./ArgumentException"));
const NAME = 'ArgumentOutOfRangeException';

@@ -12,0 +12,0 @@ class ArgumentOutOfRangeException extends ArgumentException_1.default {

@@ -5,19 +5,19 @@ "use strict";

const tslib_1 = require("tslib");
const Exception_1 = tslib_1.__importDefault(require("./Exception"));
const Exception_1 = (0, tslib_1.__importDefault)(require("./Exception"));
exports.Exception = Exception_1.default;
const SystemException_1 = tslib_1.__importDefault(require("./SystemException"));
const SystemException_1 = (0, tslib_1.__importDefault)(require("./SystemException"));
exports.SystemException = SystemException_1.default;
const ArgumentException_1 = tslib_1.__importDefault(require("./ArgumentException"));
const ArgumentException_1 = (0, tslib_1.__importDefault)(require("./ArgumentException"));
exports.ArgumentException = ArgumentException_1.default;
const ArgumentNullException_1 = tslib_1.__importDefault(require("./ArgumentNullException"));
const ArgumentNullException_1 = (0, tslib_1.__importDefault)(require("./ArgumentNullException"));
exports.ArgumentNullException = ArgumentNullException_1.default;
const ArgumentOutOfRangeException_1 = tslib_1.__importDefault(require("./ArgumentOutOfRangeException"));
const ArgumentOutOfRangeException_1 = (0, tslib_1.__importDefault)(require("./ArgumentOutOfRangeException"));
exports.ArgumentOutOfRangeException = ArgumentOutOfRangeException_1.default;
const InvalidOperationException_1 = tslib_1.__importDefault(require("./InvalidOperationException"));
const InvalidOperationException_1 = (0, tslib_1.__importDefault)(require("./InvalidOperationException"));
exports.InvalidOperationException = InvalidOperationException_1.default;
const NotImplementedException_1 = tslib_1.__importDefault(require("./NotImplementedException"));
const NotImplementedException_1 = (0, tslib_1.__importDefault)(require("./NotImplementedException"));
exports.NotImplementedException = NotImplementedException_1.default;
const NullReferenceException_1 = tslib_1.__importDefault(require("./NullReferenceException"));
const NullReferenceException_1 = (0, tslib_1.__importDefault)(require("./NullReferenceException"));
exports.NullReferenceException = NullReferenceException_1.default;
exports.default = Exception_1.default;
//# sourceMappingURL=index.js.map

@@ -9,3 +9,3 @@ "use strict";

const tslib_1 = require("tslib");
const SystemException_1 = tslib_1.__importDefault(require("./SystemException"));
const SystemException_1 = (0, tslib_1.__importDefault)(require("./SystemException"));
const NAME = 'InvalidOperationException';

@@ -12,0 +12,0 @@ class InvalidOperationException extends SystemException_1.default {

@@ -9,3 +9,3 @@ "use strict";

const tslib_1 = require("tslib");
const SystemException_1 = tslib_1.__importDefault(require("./SystemException"));
const SystemException_1 = (0, tslib_1.__importDefault)(require("./SystemException"));
const NAME = 'NotImplementedException';

@@ -12,0 +12,0 @@ class NotImplementedException extends SystemException_1.default {

@@ -9,3 +9,3 @@ "use strict";

const tslib_1 = require("tslib");
const SystemException_1 = tslib_1.__importDefault(require("./SystemException"));
const SystemException_1 = (0, tslib_1.__importDefault)(require("./SystemException"));
const NAME = 'NullReferenceException';

@@ -12,0 +12,0 @@ class NullReferenceException extends SystemException_1.default {

@@ -9,3 +9,3 @@ "use strict";

const tslib_1 = require("tslib");
const Exception_1 = tslib_1.__importDefault(require("./Exception"));
const Exception_1 = (0, tslib_1.__importDefault)(require("./Exception"));
const NAME = 'SystemException';

@@ -12,0 +12,0 @@ class SystemException extends Exception_1.default {

{
"name": "@tsdotnet/exceptions",
"version": "1.0.17",
"version": "1.0.18",
"description": "",

@@ -21,12 +21,12 @@ "author": "electricessence",

"scripts": {
"build:dist": "rimraf dist/* && copyfiles -u 1 src/**/*.d.ts dist && tsc",
"build:dist": "rimraf dist/* && tsc && copyfiles -u 1 src/**/*.d.ts dist",
"build:dist-esm": "rimraf dist-esm/* && tsc -p tsconfig.esm.json",
"build": "pnpm i && run-p build:*",
"bump": "npm run precommit && npm version patch",
"docs": "rimraf docs/* && rimraf docs/.nojekyll && typedoc --options typedoc.json --readme none",
"build": "pnpm i && pnpm run build:dist && pnpm run build:dist-esm",
"bump": "npm run-script precommit && npm version patch",
"docs": "rimraf docs/* && typedoc --options typedoc.json --readme none",
"lint": "eslint src/**/*.ts",
"precommit": "pnpm i && run-p lint test && run-p build:* && npm run validate && git status -s",
"prepublishOnly": "npm run build && run-p validate test",
"precommit": "pnpm i && run-p lint test && run-p build:* && npm run-script validate && git status -s",
"prepublishOnly": "npm run-script build && run-p validate test",
"preversion": "run-p lint test",
"postversion": "git push && git push --tags && npm run docs && git commit -m \"Updated docs.\" docs && git push",
"postversion": "git push && git push --tags && npm run-script docs && git commit -m \"Updated docs.\" docs && git push",
"test": "mocha -r ts-node/register tests/**/*.ts",

@@ -44,26 +44,25 @@ "validate": "node ./.build/validate-package.js"

"devDependencies": {
"@types/chai": "^4.2.16",
"@types/mocha": "^8.2.2",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"chai": "^4.3.4",
"@types/chai": "^4.3.0",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.17",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"chai": "^4.3.6",
"copyfiles": "^2.4.1",
"eslint": "^7.24.0",
"eslint": "^8.8.0",
"eslint-config-typescript": "^3.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"mocha": "^8.3.2",
"eslint-plugin-promise": "^6.0.0",
"mocha": "^9.2.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"ts-node": "^9.1.1",
"typedoc": "^0.20.35",
"typedoc-plugin-external-module-name": "3.1.0",
"typedoc-plugin-nojekyll": "^1.0.1",
"typescript": "^4.2.4"
"ts-node": "^10.5.0",
"typedoc": "^0.22.11",
"typescript": "^4.5.5"
},
"dependencies": {
"tslib": "^2.2.0"
"tslib": "^2.3.1"
}
}

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