@companieshouse/api-sdk-node 2.0.337 → 2.0.338

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.
Files changed (2) hide show
  1. package/README.md +10 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -5,7 +5,7 @@ This SDK abstract the calls to our public APIs.
5
5
  Intended for use when making cross-web-service calls, supporting ERIC and the propagation of authentication details through to other services.
6
6
 
7
7
  ## Compatible Node versions
8
-
8
+
9
9
  This package has been upgraded to be compatible with Node v24. Presently, it's backward compatible with v20 and v18 but compatibility is primarily required for v24 as all CH Node services are in the process of being upgraded to v24.
10
10
 
11
11
  ## Quick start
@@ -47,7 +47,7 @@ import {createApiClient} from "@companieshouse/api-sdk-node";
47
47
  const order = orderResult.value;
48
48
  console.log(order);
49
49
  }
50
-
50
+
51
51
  })()
52
52
 
53
53
  ```
@@ -58,7 +58,7 @@ To test the changes made to this sdk inside your project, you can use either `np
58
58
 
59
59
  #### `npm link`
60
60
 
61
- From within this directory, run the following command to make symbolic links to it within the global node modules directory.
61
+ From within this directory, run the following command to make symbolic links to it within the global node modules directory.
62
62
 
63
63
  npm link
64
64
 
@@ -89,3 +89,10 @@ Note that the `prepare` script change will need to be reverted, if wishing build
89
89
  To tun the tests with coverage, pass the `--coverage` flag on the command line.
90
90
 
91
91
  npm t -- --coverage
92
+
93
+ ### Dependency Overrides
94
+
95
+ - **serialize-javascript@7.0.5**
96
+ - Reason: Required as a transitive dependency by mocha@11.7.2, which depends on vulnerable version 6.0.2.
97
+ - Ticket/CVE: CVE-2026-34043
98
+ - Remove after: Remove once Mocha has been upgraded beyond version 11.7.2 (patch or minor release). Ensure proper testing is completed after removal.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@companieshouse/api-sdk-node",
3
- "version": "2.0.337",
3
+ "version": "2.0.338",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [