sanity-plugin-internationalized-array 5.0.0-canary.0 → 5.0.0

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.
@@ -1,4 +1,4 @@
1
- import * as sanity_migrate9 from "sanity/migrate";
1
+ import * as sanity_migrate0 from "sanity/migrate";
2
2
  /**
3
3
  * Creates a migration that automatically finds all internationalized array
4
4
  * item objects and moves language identifiers from `_key` to the dedicated
@@ -13,17 +13,17 @@ declare function migrateToLanguageField(documentTypes: string[]): {
13
13
  title: string;
14
14
  documentTypes: string[];
15
15
  migrate: {
16
- object<Node extends sanity_migrate9.JsonObject>(node: Node): sanity_migrate9.SetOp<Node & {
16
+ object<Node extends sanity_migrate0.JsonObject>(node: Node): sanity_migrate0.SetOp<Node & {
17
17
  readonly _key: undefined;
18
18
  readonly language: string | (string & {
19
- [x: string]: sanity_migrate9.JsonValue;
19
+ [x: string]: sanity_migrate0.JsonValue;
20
20
  } & {
21
- [x: string]: sanity_migrate9.JsonValue | undefined;
22
- }) | (string & sanity_migrate9.JsonValue[]) | (string & readonly sanity_migrate9.JsonValue[]) | ({
23
- [x: string]: sanity_migrate9.JsonValue;
21
+ [x: string]: sanity_migrate0.JsonValue | undefined;
22
+ }) | (string & sanity_migrate0.JsonValue[]) | (string & readonly sanity_migrate0.JsonValue[]) | ({
23
+ [x: string]: sanity_migrate0.JsonValue;
24
24
  } & {
25
- [x: string]: sanity_migrate9.JsonValue | undefined;
26
- } & string) | (sanity_migrate9.JsonValue[] & string) | (readonly sanity_migrate9.JsonValue[] & string);
25
+ [x: string]: sanity_migrate0.JsonValue | undefined;
26
+ } & string) | (sanity_migrate0.JsonValue[] & string) | (readonly sanity_migrate0.JsonValue[] & string);
27
27
  }> | undefined;
28
28
  };
29
29
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sanity-plugin-internationalized-array",
3
- "version": "5.0.0-canary.0",
3
+ "version": "5.0.0",
4
4
  "description": "Store localized fields in an array to save on attributes",
5
5
  "keywords": [
6
6
  "sanity",
@@ -29,32 +29,38 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@sanity/icons": "^3.7.4",
32
- "@sanity/ui": "^3.1.11",
32
+ "@sanity/language-filter": "^4.1.0",
33
+ "@sanity/ui": "^3.1.13",
33
34
  "@sanity/util": "^5.10.0",
34
- "fast-deep-equal": "^3.1.3",
35
35
  "lodash-es": "^4.17.23"
36
36
  },
37
37
  "devDependencies": {
38
- "@sanity/pkg-utils": "^10.4.4",
38
+ "@sanity/pkg-utils": "^10.4.7",
39
39
  "@testing-library/jest-dom": "^6.9.1",
40
40
  "@testing-library/react": "^16.3.2",
41
41
  "@types/lodash-es": "^4.17.12",
42
- "@types/react": "^19.2.13",
42
+ "@types/react": "^19.2.14",
43
43
  "@types/react-dom": "^19.2.3",
44
44
  "babel-plugin-react-compiler": "^1.0.0",
45
- "jsdom": "^28.0.0",
45
+ "jsdom": "^28.1.0",
46
46
  "react": "^19.2.4",
47
47
  "react-dom": "^19.2.4",
48
- "sanity": "^5.10.0",
49
- "@repo/package.config": "0.0.0",
50
- "@repo/tsconfig": "0.0.0"
48
+ "sanity": "^5.13.0",
49
+ "@repo/tsconfig": "0.0.0",
50
+ "@repo/package.config": "0.0.0"
51
51
  },
52
52
  "peerDependencies": {
53
+ "@sanity/assist": "^6.0.2",
53
54
  "@sanity/language-filter": "^4.1.0",
54
55
  "react": "^19.2",
55
56
  "react-dom": "^19.2",
56
57
  "sanity": "^5"
57
58
  },
59
+ "peerDependenciesMeta": {
60
+ "@sanity/assist": {
61
+ "optional": true
62
+ }
63
+ },
58
64
  "engines": {
59
65
  "node": ">=20.19 <22 || >=22.12"
60
66
  },