@naturalcycles/nodejs-lib 15.90.2 → 15.91.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,5 +1,5 @@
1
1
  import type { AnyObject } from '@naturalcycles/js-lib/types';
2
- import type { JsonSchema } from '../jsonSchemaBuilder.js';
2
+ import type { JsonSchema } from '../ajvSchema.js';
3
3
  /**
4
4
  * Each row must be an object (current limitation).
5
5
  *
@@ -3,5 +3,4 @@ export * from './ajvSchema.js';
3
3
  export * from './ajvValidationError.js';
4
4
  export * from './from-data/generateJsonSchemaFromData.js';
5
5
  export * from './getAjv.js';
6
- export * from './jsonSchemaBuilder.js';
7
6
  export { Ajv };
@@ -3,5 +3,4 @@ export * from './ajvSchema.js';
3
3
  export * from './ajvValidationError.js';
4
4
  export * from './from-data/generateJsonSchemaFromData.js';
5
5
  export * from './getAjv.js';
6
- export * from './jsonSchemaBuilder.js';
7
6
  export { Ajv };
@@ -1,5 +1,5 @@
1
1
  import type { AnyObject } from '@naturalcycles/js-lib/types';
2
- import type { JsonSchema } from './jsonSchemaBuilder.js';
2
+ import type { JsonSchema } from './ajvSchema.js';
3
3
  export declare const JSON_SCHEMA_ORDER: string[];
4
4
  /**
5
5
  * Merges s2 into s1 (mutates s1) and returns s1.
@@ -30,8 +30,7 @@ export declare function gunzipBuffer(buf: Buffer, options?: ZlibOptions): Promis
30
30
  */
31
31
  export declare function gzipString(s: string, options?: ZlibOptions): Promise<Buffer<ArrayBuffer>>;
32
32
  export declare function gunzipToString(buf: Buffer, options?: ZlibOptions): Promise<string>;
33
- export declare function zstdCompress(input: Buffer | string, level?: Integer, // defaults to 3
34
- options?: ZstdOptions): Promise<Buffer<ArrayBuffer>>;
33
+ export declare function zstdCompress(input: Buffer | string, level?: Integer, options?: ZstdOptions): Promise<Buffer<ArrayBuffer>>;
35
34
  export declare function zstdLevelToOptions(level: Integer | undefined, opt?: ZstdOptions): ZstdOptions;
36
35
  export declare function zstdDecompressToString(input: Buffer, options?: ZstdOptions): Promise<string>;
37
36
  export declare function zstdDecompress(input: Buffer, options?: ZstdOptions): Promise<Buffer<ArrayBuffer>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@naturalcycles/nodejs-lib",
3
3
  "type": "module",
4
- "version": "15.90.2",
4
+ "version": "15.91.0",
5
5
  "dependencies": {
6
6
  "@naturalcycles/js-lib": "^15",
7
7
  "@types/js-yaml": "^4",
@@ -18,7 +18,7 @@
18
18
  "yargs": "^18"
19
19
  },
20
20
  "devDependencies": {
21
- "@typescript/native-preview": "^7.0.0-0",
21
+ "@typescript/native-preview": "7.0.0-dev.20260201.1",
22
22
  "@naturalcycles/dev-lib": "18.4.2"
23
23
  },
24
24
  "exports": {