Skip to content

Commit 4de9657

Browse files
committed
Updated dependencies
1 parent f9b23bf commit 4de9657

File tree

1 file changed

+8
-16
lines changed
  • docs/els-for-runtimes-and-libraries/request

1 file changed

+8
-16
lines changed

docs/els-for-runtimes-and-libraries/request/README.md

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,12 @@ TuxCare provides ELS for Request as an NPM package, hosted on a secure internal
5757

5858
```text
5959
"dependencies": {
60-
"request": "npm:@els-js/[email protected]"
60+
"request": "npm:@els-js/[email protected]"
6161
},
6262
"overrides": {
63-
"form-data": "npm:@els-js/[email protected]"
63+
"request": {
64+
"form-data": "npm:@els-js/[email protected]"
65+
}
6466
}
6567
```
6668
@@ -77,7 +79,9 @@ TuxCare provides ELS for Request as an NPM package, hosted on a secure internal
7779
"request": "npm:@els-js/[email protected]"
7880
},
7981
"overrides": {
80-
"form-data": "npm:@els-js/[email protected]"
82+
"request": {
83+
"form-data": "npm:@els-js/[email protected]"
84+
}
8185
}
8286
```
8387
@@ -128,19 +132,7 @@ TuxCare provides VEX for Request ELS versions: [security.tuxcare.com/vex/cyclone
128132

129133
## How to Upgrade to a Newer Version of TuxCare Packages
130134

131-
If you have already installed a package with a `tuxcare.1` suffix and want to upgrade to a newer release (for example, `tuxcare.3`), there are two options:
132-
133-
* **Option 1**. Run the `npm install` command with the specific version. This will automatically update both `package.json` and `package-lock.json`:
134-
135-
<CodeWithCopy>
136-
137-
```text
138-
npm install request@npm:@els-js/[email protected]
139-
```
140-
141-
</CodeWithCopy>
142-
143-
* **Option 2**. Update the version string in your `package.json`, remove installed files and clear npm cache to avoid conflicts:
135+
If you have already installed a package with a `tuxcare.1` suffix and want to upgrade to a newer release (for example, `tuxcare.3`), update the version strings in your `package.json`, remove installed files and clear npm cache to avoid conflicts:
144136

145137
<CodeWithCopy>
146138

0 commit comments

Comments
 (0)