Socket
Socket
Sign inDemoInstall

@sanity/types

Package Overview
Dependencies
Maintainers
24
Versions
886
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/types - npm Package Compare versions

Comparing version 2.3.5-canary.17 to 2.3.5-canary.18

1

lib/assets/types.d.ts

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

/// <reference types="react" />
import { Reference } from '../reference';

@@ -2,0 +3,0 @@ import { SanityDocument } from '../documents';

2

lib/schema/asserters.js

@@ -19,3 +19,3 @@ "use strict";

function isTitledListValue(item) {
return typeof item === 'object' && item !== null && 'title' in item && 'value' in item && Object.keys(item).length === 2;
return typeof item === 'object' && item !== null && 'title' in item && 'value' in item;
}

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

/// <reference types="react" />
import { ReferenceOptions } from '../reference';

@@ -2,0 +3,0 @@ import { AssetSource } from '../assets';

{
"name": "@sanity/types",
"version": "2.3.5-canary.17+a910496797",
"version": "2.3.5-canary.18+0417a48947",
"description": "Type definitions for common Sanity data structures",

@@ -37,3 +37,3 @@ "main": "lib/index.js",

"homepage": "https://www.sanity.io/",
"gitHead": "a91049679784fd6b7369c4c66640decd6b31296c"
"gitHead": "0417a489473f06adda28ef188f233771e4992a96"
}

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc