@golemio/core 1.20.9-dev.1866056616 → 1.20.9-dev.1886388406

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,6 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  /// <reference types="node" />
3
3
  /// <reference types="node" />
4
+ /// <reference types="node" />
4
5
  import { Readable } from "stream";
5
6
  export declare abstract class AbstractStorageService {
6
7
  abstract uploadStream(stream: Readable, pathPrefix: string, ext?: string, fileName?: string): Promise<void>;
@@ -1,6 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  /// <reference types="node" />
3
3
  /// <reference types="node" />
4
+ /// <reference types="node" />
4
5
  import { ILogger } from "../../logger";
5
6
  import { Readable } from "node:stream";
6
7
  import { AbstractStorageService } from "./AbstractStorageService";
@@ -1,5 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  /// <reference types="node" />
3
+ /// <reference types="node" />
3
4
  import { Readable } from "stream";
4
5
  import { ILogger } from "../../logger";
5
6
  import { AbstractStorageService } from "./AbstractStorageService";
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import { IDataTypeStrategy, IZipSettings } from "./IDataTypeStrategy";
3
4
  export declare class ZipFileDataTypeStrategy implements IDataTypeStrategy {
4
5
  private settings;
@@ -7,5 +7,5 @@ export declare class HTTPRequestProtocolStrategy<T = any> extends ProtocolStrate
7
7
  constructor(settings: IHTTPRequestSettings);
8
8
  getRawData(): Promise<IHTTPProtocolStrategyResult<T>>;
9
9
  private getHeaders;
10
- protected getResponseInternal(): Promise<Dispatcher.ResponseData>;
10
+ protected getResponseInternal(): Promise<Dispatcher.ResponseData<null>>;
11
11
  }
@@ -1,5 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  /// <reference types="node" />
3
+ /// <reference types="node" />
3
4
  import { AccessOptions } from "basic-ftp";
4
5
  import { ReadStream } from "fs";
5
6
  import { ModelAttributes } from "sequelize";
@@ -1,5 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  /// <reference types="node" />
3
+ /// <reference types="node" />
3
4
  import { Readable } from "stream";
4
5
  import { IncomingHttpHeaders } from "undici/types/header";
5
6
  import { IHTTPFetchSettings } from "./IHTTPFetchSettings";
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import { IInflatedFileMetadata } from "./interfaces/IInflatedFileMetadata";
3
4
  import { Predicate } from "./interfaces/Predicate";
4
5
  interface IInflateOutput {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/core",
3
- "version": "1.20.9-dev.1866056616",
3
+ "version": "1.20.9-dev.1886388406",
4
4
  "description": "Golemio Core Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -27,8 +27,8 @@
27
27
  "url": "https://gitlab.com/operator-ict/golemio/code/modules/core"
28
28
  },
29
29
  "engines": {
30
- "node": ">=20.0.0",
31
- "npm": ">=8.0.0"
30
+ "node": ">=22.0.0",
31
+ "npm": ">=10.0.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@commitlint/cli": "^19.3.0",
@@ -40,7 +40,7 @@
40
40
  "@types/content-type": "^1.1.3",
41
41
  "@types/debug": "0.0.31",
42
42
  "@types/mocha": "^8.2.0",
43
- "@types/node": "^20.12.7",
43
+ "@types/node": "^22.15.29",
44
44
  "@types/sinon": "^17.0.2",
45
45
  "@types/ssh2-sftp-client": "^5.3.1",
46
46
  "@types/supertest": "^2.0.11",
@@ -124,7 +124,7 @@
124
124
  "sequelize": "6.37.7",
125
125
  "ssh2-sftp-client": "^7.1.0",
126
126
  "tsyringe": "^4.8.0",
127
- "undici": "^6.21.1",
127
+ "undici": "^7.10.0",
128
128
  "xml2js": "^0.5.0",
129
129
  "yauzl": "^2.10.0"
130
130
  },