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

swr

Package Overview
Dependencies
Maintainers
7
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swr - npm Package Compare versions

Comparing version 2.2.0-beta.4 to 2.2.0-beta.5

6

_internal/dist/index.esm.js

@@ -681,3 +681,7 @@ import React, { useEffect, useLayoutEffect, createContext, useContext, useMemo, useRef, createElement, useState, useCallback } from 'react';

if (shouldRerender && !unmountedRef.current) {
rerender({});
if (IS_REACT_LEGACY) {
rerender({});
} else {
React.startTransition(()=>rerender({}));
}
}

@@ -684,0 +688,0 @@ }, [

@@ -687,3 +687,7 @@ Object.defineProperty(exports, '__esModule', { value: true });

if (shouldRerender && !unmountedRef.current) {
rerender({});
if (IS_REACT_LEGACY) {
rerender({});
} else {
React__default.default.startTransition(()=>rerender({}));
}
}

@@ -690,0 +694,0 @@ }, [

2

package.json
{
"name": "swr",
"version": "2.2.0-beta.4",
"version": "2.2.0-beta.5",
"description": "React Hooks library for remote data fetching",

@@ -5,0 +5,0 @@ "keywords": [

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