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

@sanity/schema

Package Overview
Dependencies
Maintainers
7
Versions
1379
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/schema - npm Package Compare versions

Comparing version 0.107.2 to 0.107.12

7

lib/types/image.js

@@ -39,2 +39,7 @@ 'use strict';

var DEFAULT_OPTIONS = {};
var DEFAULT_PREVIEW = {
select: {
imageUrl: 'asset.url'
}
};

@@ -68,3 +73,3 @@ var ImageType = {

(0, _utils.lazyGetter)(parsed, 'preview', (0, _createPreviewGetter2.default)(subTypeDef, parsed));
(0, _utils.lazyGetter)(parsed, 'preview', (0, _createPreviewGetter2.default)(Object.assign({}, { preview: DEFAULT_PREVIEW }, subTypeDef), parsed));

@@ -71,0 +76,0 @@ return subtype(parsed);

2

package.json
{
"name": "@sanity/schema",
"version": "0.107.2",
"version": "0.107.12",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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