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
62
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.22.2-bundle-perspective-1 to 6.22.2-bundle-perspective-2

2

dist/index.browser.js

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

}, validateApiBundlePerspective = function(perspective, bundlePerspective) {
if (perspective !== "raw" && bundlePerspective)
if (perspective && perspective !== "raw" && bundlePerspective)
throw new TypeError(

@@ -526,0 +526,0 @@ "Invalid, perspective and bundlePerspective parameters are mutually exclusive"

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

}, validateApiBundlePerspective = function(perspective, bundlePerspective) {
if (perspective !== "raw" && bundlePerspective)
if (perspective && perspective !== "raw" && bundlePerspective)
throw new TypeError(

@@ -1541,3 +1541,3 @@ "Invalid, perspective and bundlePerspective parameters are mutually exclusive"

}
var name = "@sanity/client", version = "6.22.2-bundle-perspective-1";
var name = "@sanity/client", version = "6.22.2-bundle-perspective-2";
const middleware = [

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

{
"name": "@sanity/client",
"version": "6.22.2-bundle-perspective-1",
"version": "6.22.2-bundle-perspective-2",
"description": "Client for retrieving, creating and patching data from Sanity.io",

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

@@ -48,3 +48,3 @@ import {generateHelpUrl} from './generateHelpUrl'

) {
if (perspective !== 'raw' && bundlePerspective) {
if (perspective && perspective !== 'raw' && bundlePerspective) {
throw new TypeError(

@@ -51,0 +51,0 @@ 'Invalid, perspective and bundlePerspective parameters are mutually exclusive',

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

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 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