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.1 to 2.2.0-beta.2

immutable/dist/index.d.ts

9

immutable/package.json
{
"main": "./dist/index.js",
"module": "./dist/index.esm.js",
"types": "./dist/immutable/index.d.ts",
"exports": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"module": "./dist/index.esm.js",
"require": "./dist/index.js"
},
"private": true,

@@ -7,0 +12,0 @@ "scripts": {

{
"main": "./dist/index.js",
"module": "./dist/index.esm.js",
"types": "./dist/infinite/index.d.ts",
"types": "./dist/index.d.ts",
"exports": {

@@ -6,0 +6,0 @@ "types": "./dist/index.d.ts",

@@ -45,3 +45,3 @@ import { Key, SWRResponse } from 'swr';

*/
trigger: [ExtraArg] extends [never] ? TriggerWithoutArgs<Data, Error, ExtraArg, SWRMutationKey> : TriggerWithArgs<Data, Error, SWRMutationKey, ExtraArg>;
trigger: [ExtraArg] extends [never] ? TriggerWithoutArgs<Data, Error, SWRMutationKey, ExtraArg> : TriggerWithArgs<Data, Error, SWRMutationKey, ExtraArg>;
/**

@@ -48,0 +48,0 @@ * Function to reset the mutation state (`data`, `error`, and `isMutating`).

{
"name": "swr",
"version": "2.2.0-beta.1",
"version": "2.2.0-beta.2",
"description": "React Hooks library for remote data fetching",

@@ -27,3 +27,3 @@ "keywords": [

"./infinite": {
"types": "./infinite/dist/infinite/index.d.ts",
"types": "./infinite/dist/index.d.ts",
"react-server": "./infinite/dist/react-server.mjs",

@@ -35,3 +35,3 @@ "import": "./infinite/dist/index.mjs",

"./immutable": {
"types": "./immutable/dist/immutable/index.d.ts",
"types": "./immutable/dist/index.d.ts",
"import": "./immutable/dist/index.mjs",

@@ -38,0 +38,0 @@ "module": "./immutable/dist/index.esm.js",

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