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 1.0.1 to 1.0.2

dist/SingletonImplementation.d.ts

2

dist/SelfOneTimeProvider.d.ts
import { FC } from 'react';
import { ImplementationType } from 'cheap-di/src';
import { ImplementationType } from 'cheap-di';
interface SelfOneTimeProviderProps {

@@ -4,0 +4,0 @@ dependencies: ImplementationType<Object>[];

import { FC } from 'react';
import { ImplementationType } from 'cheap-di/src';
import { ImplementationType } from 'cheap-di';
interface SelfProviderProps {

@@ -4,0 +4,0 @@ dependencies: ImplementationType<Object>[];

@@ -15,2 +15,4 @@ "use strict";

}
const constructor = implementation.constructor;
react_1.useContext((constructor === null || constructor === void 0 ? void 0 : constructor.__singleton) ? constructor.__reactContext : null);
return implementation;

@@ -17,0 +19,0 @@ }

{
"name": "cheap-di-react",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

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

"peerDependencies": {
"cheap-di": ">= 2.0.0",
"cheap-di": ">= 2.1.0",
"react": ">= 16.14.0",

@@ -21,0 +21,0 @@ "react-dom": ">= 16.14.0"

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