@sanity/schema
Advanced tools
Comparing version 3.40.0 to 3.40.1-create-unstable.12
@@ -701,3 +701,3 @@ import difference from "lodash/difference.js"; | ||
"validation" | ||
], allowedMarkKeys = ["decorators", "annotations"], allowedStyleKeys = ["blockEditor", "title", "value", "component"], allowedDecoratorKeys = ["blockEditor", "title", "value", "icon", "component"], allowedListKeys = ["title", "value", "icon", "component"], supportedBuiltInObjectTypes = ["file", "image", "object", "reference"]; | ||
], allowedMarkKeys = ["decorators", "annotations"], allowedStyleKeys = ["blockEditor", "title", "value", "icon", "component"], allowedDecoratorKeys = ["blockEditor", "title", "value", "icon", "component"], allowedListKeys = ["title", "value", "icon", "component"], supportedBuiltInObjectTypes = ["file", "image", "object", "reference"]; | ||
function validateBlockType(typeDef, visitorContext) { | ||
@@ -704,0 +704,0 @@ const problems = []; |
@@ -696,3 +696,3 @@ "use strict"; | ||
"validation" | ||
], allowedMarkKeys = ["decorators", "annotations"], allowedStyleKeys = ["blockEditor", "title", "value", "component"], allowedDecoratorKeys = ["blockEditor", "title", "value", "icon", "component"], allowedListKeys = ["title", "value", "icon", "component"], supportedBuiltInObjectTypes = ["file", "image", "object", "reference"]; | ||
], allowedMarkKeys = ["decorators", "annotations"], allowedStyleKeys = ["blockEditor", "title", "value", "icon", "component"], allowedDecoratorKeys = ["blockEditor", "title", "value", "icon", "component"], allowedListKeys = ["title", "value", "icon", "component"], supportedBuiltInObjectTypes = ["file", "image", "object", "reference"]; | ||
function validateBlockType(typeDef, visitorContext) { | ||
@@ -699,0 +699,0 @@ const problems = []; |
{ | ||
"name": "@sanity/schema", | ||
"version": "3.40.0", | ||
"version": "3.40.1-create-unstable.12+61ba422e62", | ||
"description": "", | ||
@@ -67,3 +67,3 @@ "keywords": [ | ||
"@sanity/generate-help-url": "^3.0.0", | ||
"@sanity/types": "3.40.0", | ||
"@sanity/types": "3.40.1-create-unstable.12+61ba422e62", | ||
"arrify": "^1.0.1", | ||
@@ -85,3 +85,3 @@ "groq-js": "^1.8.0", | ||
}, | ||
"gitHead": "46a02e2eb70ec8c5cc22b45188fc4ba5446f1d58" | ||
"gitHead": "61ba422e62173f3c719f858229f0eae1818734c4" | ||
} |
@@ -23,3 +23,3 @@ import humanizeList from 'humanize-list' | ||
const allowedMarkKeys = ['decorators', 'annotations'] | ||
const allowedStyleKeys = ['blockEditor', 'title', 'value', 'component'] | ||
const allowedStyleKeys = ['blockEditor', 'title', 'value', 'icon', 'component'] | ||
const allowedDecoratorKeys = ['blockEditor', 'title', 'value', 'icon', 'component'] | ||
@@ -26,0 +26,0 @@ const allowedListKeys = ['title', 'value', 'icon', 'component'] |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1123978
1
1
- Removed@sanity/client@6.22.0(transitive)
- Removed@sanity/eventsource@5.0.2(transitive)
- Removed@sanity/types@3.40.0(transitive)
- Removed@types/event-source-polyfill@1.0.5(transitive)
- Removed@types/eventsource@1.1.15(transitive)
- Removed@types/follow-redirects@1.14.4(transitive)
- Removed@types/node@22.7.4(transitive)
- Removed@types/progress-stream@2.0.5(transitive)
- Removed@types/prop-types@15.7.13(transitive)
- Removed@types/react@18.3.10(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedcsstype@3.1.3(transitive)
- Removeddecompress-response@7.0.0(transitive)
- Removedevent-source-polyfill@1.0.31(transitive)
- Removedeventsource@2.0.2(transitive)
- Removedfollow-redirects@1.15.9(transitive)
- Removedget-it@8.6.5(transitive)
- Removedinherits@2.0.4(transitive)
- Removedis-retry-allowed@2.2.0(transitive)
- Removedisarray@1.0.0(transitive)
- Removedmimic-response@3.1.0(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedprogress-stream@2.0.0(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedrxjs@7.8.1(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedspeedometer@1.0.0(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedthrough2@2.0.5(transitive)
- Removedtslib@2.7.0(transitive)
- Removedtunnel-agent@0.6.0(transitive)
- Removedundici-types@6.19.8(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedxtend@4.0.2(transitive)