New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@wendellhu/redi

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wendellhu/redi - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

7

dist/react-bindings.js

@@ -29,2 +29,9 @@ (function (global, factory) {

var RediContextCreated = '__RediContextCreated__';
if (!window.RediContextCreated) {
window.RediContextCreated = RediContextCreated;
}
else {
throw new redi.RediError('"RediContext" is already created. You may import "RediContext" from different paths. Use "import { RediContext } from \'@wendellhu/redi/react-bindings\'; instead."');
}
var RediContext = React__namespace.createContext({

@@ -31,0 +38,0 @@ injector: null,

@@ -1001,2 +1001,8 @@ (function (global, factory) {

exports.forwardRef = forwardRef;
exports.isAsyncDependencyItem = isAsyncDependencyItem;
exports.isAsyncHook = isAsyncHook;
exports.isClassDependencyItem = isClassDependencyItem;
exports.isCtor = isCtor;
exports.isFactoryDependencyItem = isFactoryDependencyItem;
exports.isInstanceDependencyItem = isInstanceDependencyItem;
exports.registerSingleton = registerSingleton;

@@ -1003,0 +1009,0 @@ exports.setDependencies = setDependencies;

2

esm/publicApi.d.ts

@@ -12,3 +12,3 @@ export { createIdentifier } from './decorators';

export { registerSingleton } from './dependencySingletons';
export { ValueDependencyItem, FactoryDependencyItem, ClassDependencyItem, AsyncDependencyItem, Ctor, } from './dependencyItem';
export { AsyncDependencyItem, ClassDependencyItem, Ctor, FactoryDependencyItem, isAsyncDependencyItem, isAsyncHook, isClassDependencyItem, isCtor, isFactoryDependencyItem, isInstanceDependencyItem, ValueDependencyItem, } from './dependencyItem';
export { RediError } from './error';

@@ -9,3 +9,4 @@ export { createIdentifier } from './decorators';

export { registerSingleton } from './dependencySingletons';
export { isAsyncDependencyItem, isAsyncHook, isClassDependencyItem, isCtor, isFactoryDependencyItem, isInstanceDependencyItem, } from './dependencyItem';
export { RediError } from './error';
//# sourceMappingURL=publicApi.js.map
import * as React from 'react';
import { Injector } from '@wendellhu/redi';
declare global {
interface Window {
RediContextCreated: string | null;
}
}
export declare const RediContext: React.Context<{

@@ -4,0 +9,0 @@ injector: Injector | null;

import * as React from 'react';
import { RediError } from '@wendellhu/redi';
var RediContextCreated = '__RediContextCreated__';
if (!window.RediContextCreated) {
window.RediContextCreated = RediContextCreated;
}
else {
throw new RediError('"RediContext" is already created. You may import "RediContext" from different paths. Use "import { RediContext } from \'@wendellhu/redi/react-bindings\'; instead."');
}
export var RediContext = React.createContext({

@@ -3,0 +11,0 @@ injector: null,

import * as React from 'react';
import { RediError, Injector, Quantity } from '@wendellhu/redi';
var RediContextCreated = '__RediContextCreated__';
if (!window.RediContextCreated) {
window.RediContextCreated = RediContextCreated;
}
else {
throw new RediError('"RediContext" is already created. You may import "RediContext" from different paths. Use "import { RediContext } from \'@wendellhu/redi/react-bindings\'; instead."');
}
var RediContext = React.createContext({

@@ -5,0 +12,0 @@ injector: null,

@@ -986,3 +986,3 @@ var IdentifierDecoratorSymbol = Symbol('$$IDENTIFIER_DECORATOR');

export { Inject, Injector, LookUp, Many, Optional, Quantity, RediError, Self, SkipSelf, createIdentifier, forwardRef, registerSingleton, setDependencies };
export { Inject, Injector, LookUp, Many, Optional, Quantity, RediError, Self, SkipSelf, createIdentifier, forwardRef, isAsyncDependencyItem, isAsyncHook, isClassDependencyItem, isCtor, isFactoryDependencyItem, isInstanceDependencyItem, registerSingleton, setDependencies };
//# sourceMappingURL=redi.js.map
{
"$schema": "https://raw.githubusercontent.com/wendellhu95/squirrel/master/src/schema/package.schema.json",
"name": "@wendellhu/redi",
"version": "0.3.0",
"version": "0.3.1",
"description": "A dependency library for TypeScript and JavaScript, along with a binding for React.",

@@ -6,0 +6,0 @@ "exports": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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