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

@contember/dic

Package Overview
Dependencies
Maintainers
5
Versions
265
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contember/dic - npm Package Compare versions

Comparing version 1.2.0-alpha.2 to 1.2.0-alpha.3

2

dist/src/Container.js

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

this.definitions[name] = { setup: [], factory: () => {
throw new Error(`Circular dependency when creating a service "${name}"`);
throw new Error(`Circular dependency when creating a service "${String(name)}"`);
} };

@@ -71,0 +71,0 @@ this.level++;

{
"name": "@contember/dic",
"version": "1.2.0-alpha.2",
"version": "1.2.0-alpha.3",
"license": "Apache-2.0",

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

@@ -98,3 +98,3 @@ export type ServiceName = string

this.definitions[name] = { setup: [], factory: () => {
throw new Error(`Circular dependency when creating a service "${name}"`)
throw new Error(`Circular dependency when creating a service "${String(name)}"`)
} }

@@ -101,0 +101,0 @@ this.level++

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