Skip to content

Commit 4fd3664

Browse files
committed
updates
1 parent dc527fe commit 4fd3664

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

docs/els-for-runtimes-and-libraries/tough-cookie/README.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ TuxCare provides ELS for tough-cookie as an NPM package, hosted on a secure inte
5858
```text
5959
"dependencies": {
6060
"tough-cookie": "npm:@els-js/[email protected]"
61-
},
62-
"overrides": {
63-
"tough-cookie": "npm:@els-js/[email protected]"
6461
}
6562
```
6663
@@ -75,9 +72,6 @@ TuxCare provides ELS for tough-cookie as an NPM package, hosted on a secure inte
7572
```text
7673
"dependencies": {
7774
"tough-cookie": "npm:@els-js/[email protected]"
78-
},
79-
"overrides": {
80-
"tough-cookie": "npm:@els-js/[email protected]"
8175
}
8276
```
8377
@@ -128,7 +122,19 @@ TuxCare provides VEX for tough-cookie ELS versions: [security.tuxcare.com/vex/cy
128122

129123
## How to Upgrade to a Newer Version of TuxCare Packages
130124

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`), update the version strings in your `package.json`, remove installed files and clear npm cache to avoid conflicts:
125+
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:
126+
127+
* **Option 1**. Run the `npm install` command with the specific version. This will automatically update both `package.json` and `package-lock.json`. For example:
128+
129+
<CodeWithCopy>
130+
131+
```text
132+
npm install tough-cookienpm:@els-js/[email protected]
133+
```
134+
135+
</CodeWithCopy>
136+
137+
* **Option 2**. Update the version string in your `package.json`, remove installed files and clear npm cache to avoid conflicts:
132138

133139
<CodeWithCopy>
134140

@@ -137,4 +143,4 @@ If you have already installed a package with a `tuxcare.1` suffix and want to up
137143
npm install
138144
```
139145

140-
</CodeWithCopy>
146+
</CodeWithCopy>

0 commit comments

Comments
 (0)