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

@tsed/di

Package Overview
Dependencies
Maintainers
5
Versions
1030
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsed/di - npm Package Compare versions

Comparing version 5.18.0 to 5.18.1

4

lib/errors/InjectionError.js

@@ -24,3 +24,5 @@ "use strict";

}
this.message = "Injection failed on " + this.tokens.map(token => core_1.nameOf(token)).join(" > ") + "\nOrigin: " + this.origin.message;
const originMessage = this.origin ? "\nOrigin: " + this.origin.message : "";
const tokensMessage = this.tokens.map(token => core_1.nameOf(token)).join(" > ");
this.message = `Injection failed on ${tokensMessage}${originMessage}`;
}

@@ -27,0 +29,0 @@ }

{
"name": "@tsed/di",
"version": "5.18.0",
"version": "5.18.1",
"description": "DI module for Ts.ED Framework",

@@ -11,3 +11,3 @@ "main": "lib/index.js",

"peerDependencies": {
"@tsed/core": "5.18.0"
"@tsed/core": "5.18.1"
},

@@ -28,3 +28,3 @@ "devDependencies": {},

"license": "MIT",
"gitHead": "6fcec33cc31c593cfcf72a1fb6432730e8fb958e"
"gitHead": "3c196dedc27e8dcdc774246577cc023f68471fd5"
}

@@ -29,4 +29,7 @@ import {isString, nameOf} from "@tsed/core";

this.message = "Injection failed on " + this.tokens.map(token => nameOf(token)).join(" > ") + "\nOrigin: " + this.origin.message;
const originMessage = this.origin ? "\nOrigin: " + this.origin.message : "";
const tokensMessage = this.tokens.map(token => nameOf(token)).join(" > ");
this.message = `Injection failed on ${tokensMessage}${originMessage}`;
}
}

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