Skip to content

Commit

Permalink
Release: 4.0.2
Browse files Browse the repository at this point in the history
Merge pull request #21 from vovaspace/next
  • Loading branch information
vovaspace authored May 13, 2022
2 parents c1d0b1f + b5115b7 commit 08a4748
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
7 changes: 4 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/brandi-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "brandi-react",
"version": "4.0.1",
"version": "4.0.2",
"description": "React bindings for Brandi — the dependency injection container.",
"main": "./lib/brandi-react.js",
"module": "./lib/brandi-react.mjs",
Expand Down Expand Up @@ -48,6 +48,6 @@
],
"peerDependencies": {
"brandi": "^3 || ^4",
"react": "^16.8.0 || ^17"
"react": "^16.8.0 || ^17 || ^18"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { ConditionsContext } from './ConditionsContext';
import { useConditions } from './useConditions';

export const ConditionsProvider: React.FunctionComponent<{
children?: React.ReactNode;
conditions: ResolutionCondition[];
isolated?: boolean;
}> = ({ children, conditions, isolated = false }) => {
Expand Down
1 change: 1 addition & 0 deletions packages/brandi-react/src/container/ContainerProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { ContainerContext } from './ContainerContext';
import { useContainer } from './useContainer';

export const ContainerProvider: React.FunctionComponent<{
children?: React.ReactNode;
container: Container;
isolated?: boolean;
}> = ({ children, container, isolated = false }) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/brandi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "brandi",
"version": "4.0.1",
"version": "4.0.2",
"description": "The dependency injection container.",
"main": "./lib/brandi.js",
"module": "./lib/brandi.mjs",
Expand Down

1 comment on commit 08a4748

@vercel
Copy link

@vercel vercel bot commented on 08a4748 May 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.