Socket
Socket
Sign inDemoInstall

@shopify/react-effect

Package Overview
Dependencies
Maintainers
27
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/react-effect - npm Package Compare versions

Comparing version 5.0.2 to 5.0.3

1

build/cjs/manager.js

@@ -13,3 +13,2 @@ 'use strict';

} = {}) {
this.include = void 0;
this.effects = [];

@@ -16,0 +15,0 @@ this.kinds = new Set();

2

build/ts/context.d.ts
import React from 'react';
import { EffectManager } from './manager';
import type { EffectManager } from './manager';
export declare const EffectContext: React.Context<EffectManager | null>;
//# sourceMappingURL=context.d.ts.map

@@ -1,2 +0,2 @@

import { EffectKind } from './types';
import type { EffectKind } from './types';
interface Props {

@@ -3,0 +3,0 @@ kind?: EffectKind;

@@ -1,3 +0,3 @@

import { EffectKind } from './types';
import type { EffectKind } from './types';
export declare function useServerEffect(perform: () => any, kind?: EffectKind): void;
//# sourceMappingURL=hook.d.ts.map

@@ -1,2 +0,2 @@

import { EffectKind, Pass } from './types';
import type { EffectKind, Pass } from './types';
interface Options {

@@ -3,0 +3,0 @@ include?: symbol[] | boolean;

import React from 'react';
import { Pass } from './types';
import type { Pass } from './types';
export { Effect } from './Effect';

@@ -4,0 +4,0 @@ interface Options {

@@ -1,3 +0,3 @@

import { ComponentType } from 'react';
import type { ComponentType } from 'react';
export declare function restrictToServer<T extends ComponentType<any>>(Component: T): T;
//# sourceMappingURL=utilities.d.ts.map

@@ -1,1 +0,1 @@

module.exports = require("./build/cjs/index.js");
module.exports = require("./build/cjs/index.js");
{
"name": "@shopify/react-effect",
"version": "5.0.2",
"version": "5.0.3",
"license": "MIT",

@@ -48,2 +48,5 @@ "description": "A component and set of utilities for performing effects within a universal React app",

},
"devDependencies": {
"@shopify/jest-dom-mocks": "^4.1.1"
},
"module": "index.mjs",

@@ -50,0 +53,0 @@ "esnext": "index.esnext",

@@ -12,3 +12,3 @@ # `@shopify/react-effect`

```bash
$ yarn add @shopify/react-effect
yarn add @shopify/react-effect
```

@@ -15,0 +15,0 @@

@@ -1,1 +0,1 @@

module.exports = require("./build/cjs/server.js");
module.exports = require("./build/cjs/server.js");

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

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

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