@anmiles/downloader 6.0.1 → 6.0.3

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/CHANGELOG.md CHANGED
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [6.0.3](../../tags/v6.0.3) - 2026-02-01
9
+ ### Changed
10
+ - Fix vulnerable dependencies
11
+
12
+ ## [6.0.2](../../tags/v6.0.2) - 2025-11-29
13
+ ### Changed
14
+ - Fix vulnerable dependencies
15
+
8
16
  ## [6.0.1](../../tags/v6.0.1) - 2025-07-24
9
17
  ### Changed
10
18
  - Fix vulnerable dependencies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anmiles/downloader",
3
- "version": "6.0.1",
3
+ "version": "6.0.3",
4
4
  "description": "Wrapper for downloading data as string, buffer or complex types",
5
5
  "keywords": [
6
6
  "download",
@@ -29,35 +29,35 @@
29
29
  "test:report:coverage": "nyc report"
30
30
  },
31
31
  "dependencies": {
32
- "iconv-lite": "^0.6.3"
32
+ "iconv-lite": "^0.7.2"
33
33
  },
34
34
  "devDependencies": {
35
- "@anmiles/eslint-config": "^9.0.3",
36
- "@anmiles/tsconfig": "^4.0.0",
37
- "@eslint/compat": "^1.3.1",
38
- "@eslint/css": "^0.10.0",
39
- "@eslint/js": "^9.31.0",
40
- "@eslint/json": "^0.13.1",
41
- "@eslint/markdown": "^7.1.0",
42
- "@stylistic/eslint-plugin": "^5.2.2",
35
+ "@anmiles/eslint-config": "^10.0.1",
36
+ "@anmiles/tsconfig": "^4.0.1",
37
+ "@eslint/compat": "^2.0.2",
38
+ "@eslint/css": "^0.14.1",
39
+ "@eslint/js": "^9.39.2",
40
+ "@eslint/json": "^1.0.0",
41
+ "@eslint/markdown": "^7.5.1",
42
+ "@stylistic/eslint-plugin": "^5.7.1",
43
43
  "@types/jest": "^30.0.0",
44
- "@types/node": "^24.1.0",
45
- "@typescript-eslint/eslint-plugin": "^8.38.0",
46
- "@typescript-eslint/parser": "^8.38.0",
47
- "cspell": "^9.2.0",
48
- "eslint": "^9.31.0",
44
+ "@types/node": "^25.1.0",
45
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
46
+ "@typescript-eslint/parser": "^8.54.0",
47
+ "cspell": "^9.6.2",
48
+ "eslint": "^9.39.2",
49
49
  "eslint-import-resolver-typescript": "^4.4.4",
50
50
  "eslint-plugin-align-assignments": "^1.1.2",
51
51
  "eslint-plugin-i18next": "^6.1.3",
52
52
  "eslint-plugin-import": "^2.32.0",
53
- "eslint-plugin-jest": "^29.0.1",
54
- "eslint-plugin-n": "^17.21.0",
53
+ "eslint-plugin-jest": "^29.12.1",
54
+ "eslint-plugin-n": "^17.23.2",
55
55
  "eslint-plugin-promise": "^7.2.1",
56
- "jest": "^30.0.5",
57
- "jiti": "^2.5.0",
56
+ "jest": "^30.2.0",
57
+ "jiti": "^2.6.1",
58
58
  "nyc": "^17.1.0",
59
- "rimraf": "^6.0.1",
60
- "ts-jest": "^29.4.0",
61
- "typescript": "^5.8.3"
59
+ "rimraf": "^6.1.2",
60
+ "ts-jest": "^29.4.6",
61
+ "typescript": "^5.9.3"
62
62
  }
63
63
  }
@@ -11,10 +11,10 @@ import type { BufferEncoding } from '../downloader';
11
11
  let request: http.ClientRequest;
12
12
  let response: http.IncomingMessage;
13
13
 
14
- let emitFakeResponse: ()=> void = () => {};
14
+ let emitFakeResponse: () => void = () => {};
15
15
 
16
16
  /* eslint-disable promise/prefer-await-to-callbacks -- similar signature to original http.get */
17
- function get(_url: URL | string, _options: https.RequestOptions, callback?: ((res: http.IncomingMessage)=> void) | undefined): http.ClientRequest {
17
+ function get(_url: URL | string, _options: https.RequestOptions, callback?: ((res: http.IncomingMessage) => void) | undefined): http.ClientRequest {
18
18
  if (callback) {
19
19
  callback(response);
20
20
  }