New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sanity/client

Package Overview
Dependencies
Maintainers
69
Versions
1024
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.27.0 to 6.27.1

2

dist/csm.js

@@ -41,3 +41,3 @@ import { getVersionId, getDraftId, getPublishedId, walkMap, resolveMapping, parseJsonPath, toString, get, jsonPath, studioPathToJsonPath, resolveEditInfo, createEditUrl } from "./_chunks-es/resolveEditInfo.js";

if (!resultSourceMap) return result;
const resolveDocument = createSourceDocumentResolver(getCachedDocument, perspective), cachedDocuments = resultSourceMap.documents.map(resolveDocument);
const resolveDocument = createSourceDocumentResolver(getCachedDocument, perspective), cachedDocuments = resultSourceMap.documents?.map?.(resolveDocument) || [];
return walkMap(JSON.parse(JSON.stringify(result)), (value, path) => {

@@ -44,0 +44,0 @@ const resolveMappingResult = resolveMapping(path, resultSourceMap);

@@ -1482,3 +1482,3 @@ import { getIt } from "get-it";

}
var name = "@sanity/client", version = "6.27.0";
var name = "@sanity/client", version = "6.27.1";
const middleware = [

@@ -1485,0 +1485,0 @@ debug({ verbose: !0, namespace: "sanity:client" }),

{
"name": "@sanity/client",
"version": "6.27.0",
"version": "6.27.1",
"description": "Client for retrieving, creating and patching data from Sanity.io",

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

@@ -36,3 +36,3 @@ import {createSourceDocumentResolver} from './createSourceDocumentResolver'

const resolveDocument = createSourceDocumentResolver(getCachedDocument, perspective)
const cachedDocuments = resultSourceMap.documents.map(resolveDocument)
const cachedDocuments = resultSourceMap.documents?.map?.(resolveDocument) || []

@@ -39,0 +39,0 @@ return walkMap(JSON.parse(JSON.stringify(result)), (value, path) => {

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