Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@sanity/schema

Package Overview
Dependencies
10
Maintainers
51
Versions
1296
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.42.0 to 3.42.1-use-lodash-es.1

18

lib/_internal.esm.js

@@ -1,11 +0,5 @@

import difference from "lodash/difference.js";
import { D, a, r } from "./_legacy/resolve.esm.js";
import { difference, flatten, get, uniq, partition, omit, isPlainObject } from "lodash-es";
import { DEFAULT_MAX_FIELD_DEPTH, resolveSearchConfig, resolveSearchConfigForBaseFieldPaths } from "./_legacy/resolve.esm.js";
import { createReferenceTypeNode } from "groq-js";
import flatten from "lodash/flatten.js";
import get from "lodash/get.js";
import uniq from "lodash/uniq.js";
import humanizeList from "humanize-list";
import partition from "lodash/partition.js";
import isPlainObject from "lodash/isPlainObject.js";
import omit from "lodash/omit.js";
import leven from "leven";

@@ -218,3 +212,3 @@ import inspect from "object-inspect";

);
if (typeof rule == "function" && (rule(proxy), assetRequired) || typeof rule == "object" && rule !== null && "_rules" in rule && Array.isArray(rule._rules) && rule._rules.some((r2) => r2.flag === "assetRequired"))
if (typeof rule == "function" && (rule(proxy), assetRequired) || typeof rule == "object" && rule !== null && "_rules" in rule && Array.isArray(rule._rules) && rule._rules.some((r) => r.flag === "assetRequired"))
return !0;

@@ -1356,10 +1350,10 @@ }

export {
D as DEFAULT_MAX_FIELD_DEPTH,
DEFAULT_MAX_FIELD_DEPTH,
extractSchema,
groupProblems,
isActionEnabled,
a as resolveSearchConfig,
r as resolveSearchConfigForBaseFieldPaths,
resolveSearchConfig,
resolveSearchConfigForBaseFieldPaths,
validateSchema
};
//# sourceMappingURL=_internal.esm.js.map

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

import isFinite from "lodash/isFinite.js";
import uniqBy from "lodash/uniqBy.js";
import { isFinite, uniqBy } from "lodash-es";
const DEFAULT_MAX_FIELD_DEPTH = 5, stringFieldsSymbols = {}, getStringFieldSymbol = (maxDepth) => (stringFieldsSymbols[maxDepth] || (stringFieldsSymbols[maxDepth] = Symbol(`__cachedStringFields_${maxDepth}`)), stringFieldsSymbols[maxDepth]), isReference = (type) => type.type && type.type.name === "reference", portableTextFields = ["style", "list"], isPortableTextBlock = (type) => type.name === "block" || type.type && isPortableTextBlock(type.type), isPortableTextArray = (type) => type.jsonType === "array" && Array.isArray(type.of) && type.of.some(isPortableTextBlock);

@@ -89,6 +88,6 @@ function reduceType(type, reducer, acc, path = [], maxDepth) {

export {
DEFAULT_MAX_FIELD_DEPTH as D,
resolveSearchConfig as a,
resolveSearchConfigForBaseFieldPaths as r
DEFAULT_MAX_FIELD_DEPTH,
resolveSearchConfig,
resolveSearchConfigForBaseFieldPaths
};
//# sourceMappingURL=resolve.esm.js.map

@@ -1,13 +0,4 @@

import omit from "lodash/omit.js";
import pick from "lodash/pick.js";
import { pick, omit, omitBy, isUndefined, capitalize, startCase, isPlainObject, toPath, castArray, flatMap } from "lodash-es";
import arrify from "arrify";
import isUndefined from "lodash/isUndefined.js";
import omitBy from "lodash/omitBy.js";
import capitalize from "lodash/capitalize.js";
import { r as resolveSearchConfigForBaseFieldPaths, a as resolveSearchConfig } from "./_legacy/resolve.esm.js";
import castArray from "lodash/castArray.js";
import flatMap from "lodash/flatMap.js";
import startCase from "lodash/startCase.js";
import isPlainObject from "lodash/isPlainObject.js";
import toPath from "lodash/toPath.js";
import { resolveSearchConfigForBaseFieldPaths, resolveSearchConfig } from "./_legacy/resolve.esm.js";
const DEFAULT_OVERRIDEABLE_FIELDS = [

@@ -14,0 +5,0 @@ "jsonType",

{
"name": "@sanity/schema",
"version": "3.42.0",
"version": "3.42.1-use-lodash-es.1+935b333f2f",
"description": "",

@@ -67,3 +67,3 @@ "keywords": [

"@sanity/generate-help-url": "^3.0.0",
"@sanity/types": "3.42.0",
"@sanity/types": "3.42.1-use-lodash-es.1+935b333f2f",
"arrify": "^1.0.1",

@@ -74,2 +74,3 @@ "groq-js": "^1.8.0",

"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"object-inspect": "^1.13.1"

@@ -86,3 +87,3 @@ },

},
"gitHead": "bec0ff313de17639a90d1f277cc63929eb6fc4c0"
"gitHead": "935b333f2f0fa08bae8c9c62259a8bc6f25fb017"
}

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc