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

@sanity/react-loader

Package Overview
Dependencies
Maintainers
41
Versions
230
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/react-loader - npm Package Compare versions

Comparing version 0.5.3-pink-lizard to 0.6.0-pink-lizard

19

CHANGELOG.md

@@ -9,2 +9,21 @@ # Changelog

## [0.6.0-pink-lizard](https://github.com/sanity-io/visual-editing/compare/react-loader-v0.5.3-pink-lizard...react-loader-v0.6.0-pink-lizard) (2023-11-08)
### Features
* support SSR-only mode ([96d82f2](https://github.com/sanity-io/visual-editing/commit/96d82f2873d358353102181a10913d34949d645f))
### Bug Fixes
* **deps:** update dependency @sanity/client to v6.8.0-pink-lizard.8 ([#291](https://github.com/sanity-io/visual-editing/issues/291)) ([9623639](https://github.com/sanity-io/visual-editing/commit/9623639ac7c333ee7b13c253a61a7f9d4f9f599a))
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @sanity/core-loader bumped to 0.6.0-pink-lizard
## [0.5.3-pink-lizard](https://github.com/sanity-io/visual-editing/compare/react-loader-v0.5.2-pink-lizard...react-loader-v0.5.3-pink-lizard) (2023-11-08)

@@ -11,0 +30,0 @@

2

dist/index.d.ts
import type { ContentSourceMap } from '@sanity/client'
import { createQueryStore as createQueryStore_2 } from '@sanity/core-loader'
import { CreateQueryStoreOptions } from '@sanity/core-loader'

@@ -20,2 +21,3 @@ import { EnableLiveModeOptions } from '@sanity/core-loader'

}>
setServerClient: ReturnType<typeof createQueryStore_2>['setServerClient']
useQuery: UseQueryHook

@@ -22,0 +24,0 @@ useLiveMode: UseLiveModeHook

@@ -6,2 +6,3 @@ import { createQueryStore as createQueryStore$1 } from '@sanity/core-loader';

createFetcherStore,
setServerClient,
enableLiveMode,

@@ -40,2 +41,3 @@ unstable__cache

allowStudioOrigin,
client,
onConnect,

@@ -47,2 +49,3 @@ onDisconnect

allowStudioOrigin,
client,
onConnect,

@@ -52,3 +55,3 @@ onDisconnect

return () => disableLiveMode();
}, [allowStudioOrigin, onConnect, onDisconnect]);
}, [allowStudioOrigin, client, onConnect, onDisconnect]);
};

@@ -74,2 +77,3 @@ const query = async (query2, params = {}) => {

useQuery,
setServerClient,
useLiveMode

@@ -76,0 +80,0 @@ };

8

package.json
{
"name": "@sanity/react-loader",
"version": "0.5.3-pink-lizard",
"version": "0.6.0-pink-lizard",
"homepage": "https://github.com/sanity-io/visual-editing/tree/main/packages/react-loader#readme",

@@ -123,6 +123,6 @@ "bugs": {

"dependencies": {
"@sanity/core-loader": "0.5.3-pink-lizard"
"@sanity/core-loader": "0.6.0-pink-lizard"
},
"devDependencies": {
"@sanity/client": "6.8.0-pink-lizard.7",
"@sanity/client": "6.8.0-pink-lizard.8",
"@sanity/pkg-utils": "^3.2.3",

@@ -142,3 +142,3 @@ "@types/react": "^18.2.37",

"peerDependencies": {
"@sanity/client": "6.8.0-pink-lizard.7",
"@sanity/client": "6.8.0-pink-lizard.8",
"react": "^18.2.0"

@@ -145,0 +145,0 @@ },

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