@jsfsi-core/ts-crossplatform 1.1.43 → 2.0.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.
@@ -1,2 +1,2 @@
1
- import { z, ZodType } from 'zod';
1
+ import { ZodType, z } from 'zod';
2
2
  export declare const parseConfig: <T extends ZodType>(configSchema: T, env?: unknown) => z.infer<T>;
@@ -12,4 +12,4 @@ export type DateRange = {
12
12
  startDate: Date;
13
13
  endDate: Date;
14
14
  };
15
- export declare function convertDateInfoToDateRange({ allDay, startDate, startTime, endTime, }: DateInfo): DateRange;
15
+ export declare function convertDateInfoToDateRange({ allDay, startDate, startTime, endTime }: DateInfo): DateRange;
@@ -1,3 +1,3 @@
1
- export * from './HttpSafeClient';
2
1
  export * from './failures';
2
+ export * from './HttpSafeClient';
3
3
  export * from './models/EmptyResponse';
@@ -1,10 +1,10 @@
1
- export * from './mocks/mock';
2
- export * from './partials/RecursivePartial';
3
- export * from './result/result';
4
- export * from './failures';
5
1
  export * from './configuration/configuration';
6
2
  export * from './datetime/datetime';
3
+ export * from './failures';
7
4
  export * from './guid/Guid';
8
- export * from './paging';
9
5
  export * from './http';
6
+ export * from './mocks/mock';
7
+ export * from './paging';
8
+ export * from './partials/RecursivePartial';
9
+ export * from './result/result';
10
10
  export * from './validation';
@@ -1,4 +1,4 @@
1
- import { z, ZodTypeAny } from 'zod';
1
+ import { ZodTypeAny, z } from 'zod';
2
2
  export declare const createPageSchema: <T extends ZodTypeAny>(elementSchema: T) => z.ZodObject<{
3
3
  pages: z.ZodNumber;
4
4
  nextPage: z.ZodOptional<z.ZodNumber>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsfsi-core/ts-crossplatform",
3
- "version": "1.1.43",
3
+ "version": "2.0.1",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,22 +26,22 @@
26
26
  "build": "npm run lint && tsc --noEmit && vite build",
27
27
  "build:watch": "tsc && (tsc --watch & vite build --watch)",
28
28
  "clean": "rm -rf dist && rm -rf node_modules && rm -rf coverage",
29
- "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
30
- "lint": "npm run lint:fix && npm run format",
31
- "lint:fix": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
29
+ "format": "biome format --write src",
30
+ "lint": "biome check --write src",
31
+ "lint:fix": "biome check --write src",
32
32
  "test": "vitest run",
33
33
  "test:coverage": "vitest run --coverage",
34
34
  "test:watch": "vitest"
35
35
  },
36
36
  "dependencies": {
37
- "uuid": "14.0.0",
38
- "zod": "4.3.6"
37
+ "uuid": "14.0.1",
38
+ "zod": "4.4.3"
39
39
  },
40
40
  "devDependencies": {
41
- "@vitest/coverage-v8": "4.1.4",
42
- "nock": "14.0.13",
43
- "vite": "8.0.9",
44
- "vite-plugin-dts": "4.5.4",
45
- "vitest": "4.1.4"
41
+ "@vitest/coverage-v8": "4.1.10",
42
+ "nock": "14.0.16",
43
+ "vite": "8.1.4",
44
+ "vite-plugin-dts": "5.0.3",
45
+ "vitest": "4.1.10"
46
46
  }
47
47
  }