@sanity/util 6.24.0-next.49 → 6.24.0-next.78

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/accepts.d.ts CHANGED
@@ -18,5 +18,4 @@
18
18
  export declare function accepts(file: {
19
19
  type: string;
20
20
  name?: string;
21
- }, acceptedFiles: string | string[]): boolean;
22
- //# sourceMappingURL=accepts.d.ts.map
21
+ }, acceptedFiles: string | string[]): boolean;
package/lib/client.d.ts CHANGED
@@ -4,5 +4,4 @@ import { SanityClient } from "@sanity/client";
4
4
  * requests. Keeps the concurrency limit state and returns wrapped clients with
5
5
  * that same state if the `clone` `config` or `withConfig` methods are called.
6
6
  */
7
- export declare function createClientConcurrencyLimiter(maxConcurrency: number, defaultSignal?: AbortSignal): (input: SanityClient) => SanityClient;
8
- //# sourceMappingURL=client.d.ts.map
7
+ export declare function createClientConcurrencyLimiter(maxConcurrency: number, defaultSignal?: AbortSignal): (input: SanityClient) => SanityClient;
@@ -24,5 +24,4 @@ export declare class ConcurrencyLimiter {
24
24
  * If there are operations waiting, it allows the next one in the queue to proceed.
25
25
  */
26
26
  release: () => void;
27
- }
28
- //# sourceMappingURL=concurrency-limiter.d.ts.map
27
+ }
package/lib/content.d.ts CHANGED
@@ -33,5 +33,4 @@ export declare function isShallowEmptyObject(value: {
33
33
  }): boolean;
34
34
  export declare function randomKey(length?: number): string;
35
35
  export declare function resolveTypeName(value: unknown): string;
36
- export {};
37
- //# sourceMappingURL=content.d.ts.map
36
+ export {};
@@ -17,5 +17,4 @@ type Parser<Type> = (line: string) => Type;
17
17
  * @see {@link https://github.com/sanity-io/sanity/pull/1787 | Initial pull request}
18
18
  */
19
19
  export declare function createSafeJsonParser<Type>({ errorLabel }: Options): Parser<Type>;
20
- export type { Options, Parser };
21
- //# sourceMappingURL=createSafeJsonParser.d.ts.map
20
+ export type { Options, Parser };
package/lib/fs.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  export declare function pathIsEmpty(dir: string): Promise<boolean>;
2
2
  export declare function expandHome(filePath: string): string;
3
- export declare function absolutify(dir: string): string;
4
- //# sourceMappingURL=fs.d.ts.map
3
+ export declare function absolutify(dir: string): string;
@@ -18,5 +18,4 @@ export declare function format(input: Date, dateFormat: string, options?: {
18
18
  }): string;
19
19
  export declare function parse(dateString: string, dateFormat?: string, timeZone?: string): ParseResult;
20
20
  export declare function isValidTimeZoneString(timeZone: string): boolean;
21
- export { type ParseResult, sanitizeLocale };
22
- //# sourceMappingURL=legacyDateFormat.d.ts.map
21
+ export { type ParseResult, sanitizeLocale };
package/lib/paths.d.ts CHANGED
@@ -28,5 +28,4 @@ export declare function _resolveKeyedPath(value: unknown, path: Path): Path;
28
28
  * Object keys will be preserved as-is, e.g. `resolveKeyedPath(['foo', 'bar'], undefined)` will return `['foo', 'bar']`
29
29
  */
30
30
  export declare function resolveKeyedPath(value: unknown, path: Path): Path;
31
- export declare function fromString(path: string): Path;
32
- //# sourceMappingURL=paths.d.ts.map
31
+ export declare function fromString(path: string): Path;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/util",
3
- "version": "6.24.0-next.49",
3
+ "version": "6.24.0-next.78",
4
4
  "description": "Utilities shared across projects of Sanity",
5
5
  "keywords": [
6
6
  "cms",
@@ -71,7 +71,7 @@
71
71
  "@date-fns/tz": "^1.5.0",
72
72
  "@date-fns/utc": "^2.1.1",
73
73
  "@sanity/client": "^8.15.1",
74
- "@sanity/types": "6.24.0-next.49+2a38d1ed5f",
74
+ "@sanity/types": "6.24.0-next.78+2d8a197982",
75
75
  "date-fns": "^4.4.0",
76
76
  "get-it": "^9.7.0",
77
77
  "rxjs": "^7.8.2"
@@ -80,11 +80,11 @@
80
80
  "@repo/test-config": "6.9.2",
81
81
  "@repo/tsconfig": "6.9.2",
82
82
  "@repo/tsdown.config": "6.9.2",
83
- "@types/node": "^24.13.3",
83
+ "@types/node": "^24.19.2",
84
84
  "tsdown": "^0.23.2",
85
85
  "typescript": "^7.0.2",
86
86
  "vite": "^8.3.5",
87
- "vitest": "^5.0.4"
87
+ "vitest": "^5.1.0"
88
88
  },
89
89
  "browserslist": [
90
90
  "node >=22.12",