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
1381
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.112.0-next.9525798e to 0.112.0-next.95d3c914

lib/ordering/guessOrderingConfig.js

7

lib/types/object.js

@@ -28,2 +28,6 @@ 'use strict';

var _guessOrderingConfig = require('../ordering/guessOrderingConfig');
var _guessOrderingConfig2 = _interopRequireDefault(_guessOrderingConfig);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -33,3 +37,3 @@

var OVERRIDABLE_FIELDS = ['jsonType', 'type', 'name', 'title', 'description', 'options', 'inputComponent'];
var OVERRIDABLE_FIELDS = ['jsonType', 'orderings', 'type', 'name', 'title', 'readOnly', 'hidden', 'description', 'options', 'inputComponent'];

@@ -52,2 +56,3 @@ var OBJECT_CORE = {

options: options,
orderings: subTypeDef.orderings || (0, _guessOrderingConfig2.default)(subTypeDef),
fields: subTypeDef.fields.map(function (fieldDef) {

@@ -54,0 +59,0 @@ var name = fieldDef.name,

2

package.json
{
"name": "@sanity/schema",
"version": "0.112.0-next.9525798e",
"version": "0.112.0-next.95d3c914",
"description": "",

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

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