@naturalcycles/nodejs-lib 13.37.1 → 13.37.2

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/dist/index.d.ts CHANGED
@@ -75,5 +75,6 @@ export * from './validation/joi/joi.model';
75
75
  export * from './validation/joi/joi.shared.schemas';
76
76
  export * from './validation/joi/joi.validation.error';
77
77
  export * from './validation/joi/joi.validation.util';
78
+ export type { StringSchema } from './validation/joi/string.extensions';
78
79
  export type { AlternativesSchema, AnySchema, ArraySchema, BinarySchema, BooleanSchema, DateSchema, FastGlobOptions, FunctionSchema, GlobbyOptions, ObjectSchema, ValidationErrorItem, };
79
80
  export { Ajv, fastGlob, globby };
@@ -11,7 +11,7 @@ export declare const numberSchemaTyped: <T>() => NumberSchema<T>;
11
11
  export declare const integerSchema: NumberSchema<number>;
12
12
  export declare const percentageSchema: NumberSchema<number>;
13
13
  export declare const dateStringSchema: StringSchema<import("@naturalcycles/js-lib").IsoDate>;
14
- export declare const binarySchema: import("joi").BinarySchema<Buffer>;
14
+ export declare const binarySchema: import("joi").BinarySchema<Buffer<ArrayBufferLike>>;
15
15
  export declare const dateObjectSchema: ObjectSchema<any>;
16
16
  export declare const dateIntervalStringSchema: StringSchema<string>;
17
17
  export declare const DATE_TIME_STRING_REGEX: RegExp;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/nodejs-lib",
3
- "version": "13.37.1",
3
+ "version": "13.37.2",
4
4
  "scripts": {
5
5
  "prepare": "husky",
6
6
  "build": "dev-lib build",
@@ -22,7 +22,6 @@
22
22
  "@naturalcycles/js-lib": "^14.244.0",
23
23
  "@types/js-yaml": "^4.0.9",
24
24
  "@types/jsonwebtoken": "^9.0.0",
25
- "@types/through2-concurrent": "^2.0.0",
26
25
  "ajv": "^8.6.2",
27
26
  "ajv-formats": "^3.0.1",
28
27
  "ajv-keywords": "^5.0.0",
@@ -42,6 +41,7 @@
42
41
  "@naturalcycles/bench-lib": "^3.0.0",
43
42
  "@naturalcycles/dev-lib": "^15.0.3",
44
43
  "@types/node": "^22.1.0",
44
+ "@types/through2-concurrent": "^2.0.0",
45
45
  "@types/yargs": "^16.0.0",
46
46
  "jest": "^29.0.0"
47
47
  },
@@ -73,7 +73,7 @@
73
73
  "url": "https://github.com/NaturalCycles/nodejs-lib"
74
74
  },
75
75
  "engines": {
76
- "node": ">=20.13.0"
76
+ "node": ">=22.10.0"
77
77
  },
78
78
  "description": "Standard library for Node.js",
79
79
  "author": "Natural Cycles Team",
package/src/index.ts CHANGED
@@ -85,6 +85,7 @@ export * from './validation/joi/joi.model'
85
85
  export * from './validation/joi/joi.shared.schemas'
86
86
  export * from './validation/joi/joi.validation.error'
87
87
  export * from './validation/joi/joi.validation.util'
88
+ export type { StringSchema } from './validation/joi/string.extensions'
88
89
 
89
90
  export type {
90
91
  AlternativesSchema,