@sanity/schema 5.0.1-next.8 → 5.0.2-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_chunks-es/Rule.js +1 -13
- package/lib/_chunks-es/Rule.js.map +1 -1
- package/lib/_internal.js +47 -34
- package/lib/_internal.js.map +1 -1
- package/package.json +9 -9
package/lib/_chunks-es/Rule.js
CHANGED
|
@@ -1,17 +1,5 @@
|
|
|
1
|
-
import startCase from "lodash
|
|
2
|
-
import omit from "lodash/omit.js";
|
|
3
|
-
import pick from "lodash/pick.js";
|
|
1
|
+
import { omit, pick, omitBy, isUndefined, uniqBy, isFinite, capitalize, startCase, isPlainObject, toPath, flatMap, castArray, cloneDeep } from "lodash-es";
|
|
4
2
|
import arrify from "arrify";
|
|
5
|
-
import isUndefined from "lodash/isUndefined.js";
|
|
6
|
-
import omitBy from "lodash/omitBy.js";
|
|
7
|
-
import capitalize from "lodash/capitalize.js";
|
|
8
|
-
import isFinite from "lodash/isFinite.js";
|
|
9
|
-
import uniqBy from "lodash/uniqBy.js";
|
|
10
|
-
import castArray from "lodash/castArray.js";
|
|
11
|
-
import flatMap from "lodash/flatMap.js";
|
|
12
|
-
import isPlainObject from "lodash/isPlainObject.js";
|
|
13
|
-
import toPath from "lodash/toPath.js";
|
|
14
|
-
import cloneDeep from "lodash/cloneDeep.js";
|
|
15
3
|
const DEFAULT_OVERRIDEABLE_FIELDS = [
|
|
16
4
|
"jsonType",
|
|
17
5
|
"type",
|