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

cheap-di-react

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cheap-di-react - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

4

dist/ReactContainer.d.ts
import { AbstractConstructor, Constructor, ContainerImpl, ImplementationTypeWithInjection } from 'cheap-di';
export declare class ReactContainer extends ContainerImpl {
parentContainer?: ReactContainer | undefined;
parentContainer?: ContainerImpl<{}, {}> | undefined;
rerender: () => void;
private scope;
skipParentInstanceOnce: boolean;
constructor(parentContainer?: ReactContainer | undefined);
constructor(parentContainer?: ContainerImpl<{}, {}> | undefined);
get rootContainer(): ReactContainer;

@@ -9,0 +9,0 @@ sameParent(parentContainer?: ContainerImpl): boolean;

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

if (this.parentContainer) {
return this.parentContainer.findRootContainer();
if (this.parentContainer instanceof ReactContainer) {
return this.parentContainer.findRootContainer();
}
}

@@ -62,0 +64,0 @@ return this;

{
"name": "cheap-di-react",
"version": "4.0.1",
"version": "4.0.2",
"description": "",

@@ -14,3 +14,3 @@ "scripts": {

"@types/react": "18.0.12",
"cheap-di": "3.4.0",
"cheap-di": "3.4.2",
"jest": "28.1.1",

@@ -25,3 +25,3 @@ "jest-environment-jsdom": "28.1.1",

"peerDependencies": {
"cheap-di": ">= 3.4.0",
"cheap-di": ">= 3.4.2",
"react": ">= 17.0.2",

@@ -28,0 +28,0 @@ "react-dom": ">= 17.0.2"

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