Socket
Socket
Sign inDemoInstall

@sanity/client

Package Overview
Dependencies
Maintainers
48
Versions
986
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/client - npm Package Compare versions

Comparing version 6.15.15-canary.0 to 6.15.15

12

dist/csm.d.ts
/// <reference types="node" />
import type {ContentSourceMap as ContentSourceMap_2} from '@sanity/client'
import type {ContentSourceMapDocuments as ContentSourceMapDocuments_2} from '@sanity/client'
import type {SanityDocument as SanityDocument_2} from '@sanity/client'
/**

@@ -34,5 +30,5 @@ * Used to tag types that is set to `any` as a temporary measure, but should be replaced with proper typings in the future

context: {
cachedDocument: Partial<SanityDocument_2>
cachedDocument: Partial<SanityDocument>
previousValue: T
sourceDocument: ContentSourceMapDocuments_2[number]
sourceDocument: ContentSourceMapDocuments[number]
sourcePath: ContentSourceMapParsedPath

@@ -240,3 +236,3 @@ },

studioUrl: StudioUrl | ResolveStudioUrl
resultSourceMap: ContentSourceMap_2
resultSourceMap: ContentSourceMap
resultPath: ContentSourceMapParsedPath

@@ -271,3 +267,3 @@ }

export declare type ResolveStudioUrl = (
sourceDocument: ContentSourceMapDocuments_2[number],
sourceDocument: ContentSourceMapDocuments[number],
) => StudioUrl

@@ -274,0 +270,0 @@

{
"name": "@sanity/client",
"version": "6.15.15-canary.0",
"version": "6.15.15",
"description": "Client for retrieving, creating and patching data from Sanity.io",

@@ -35,2 +35,6 @@ "keywords": [

},
"react-native": {
"import": "./dist/index.browser.js",
"require": "./dist/index.browser.cjs"
},
"react-server": "./dist/index.browser.js",

@@ -59,2 +63,6 @@ "bun": "./dist/index.browser.js",

},
"react-native": {
"import": "./dist/index.browser.js",
"require": "./dist/index.browser.cjs"
},
"react-server": "./dist/stega.browser.js",

@@ -127,3 +135,3 @@ "bun": "./dist/stega.browser.js",

"@sanity/eventsource": "^5.0.0",
"get-it": "^8.4.23",
"get-it": "^8.4.24",
"rxjs": "^7.0.0"

@@ -130,0 +138,0 @@ },

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

import type {ContentSourceMap, ContentSourceMapDocuments, SanityDocument} from '@sanity/client'
import type {ContentSourceMap, ContentSourceMapDocuments, SanityDocument} from '../types'
import {Path} from './studioPath'

@@ -4,0 +3,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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 too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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