update-browserslist-db 1.1.3 → 1.1.4
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/README.md +4 -0
- package/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,6 +12,10 @@ from `caniuse-lite`.
|
|
|
12
12
|
```sh
|
|
13
13
|
npx update-browserslist-db@latest
|
|
14
14
|
```
|
|
15
|
+
Or if using `pnpm`:
|
|
16
|
+
```sh
|
|
17
|
+
pnpm exec update-browserslist-db latest
|
|
18
|
+
```
|
|
15
19
|
|
|
16
20
|
<a href="https://evilmartians.com/?utm_source=update-browserslist-db">
|
|
17
21
|
<img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg"
|
package/index.js
CHANGED
|
@@ -295,7 +295,7 @@ module.exports = function updateDB(print = defaultPrint) {
|
|
|
295
295
|
if (lock.mode === 'yarn' && lock.version !== 1) {
|
|
296
296
|
updateWith(print, yarnCommand + ' up -R caniuse-lite')
|
|
297
297
|
} else if (lock.mode === 'pnpm') {
|
|
298
|
-
updateWith(print, 'pnpm up caniuse-lite')
|
|
298
|
+
updateWith(print, 'pnpm up --no-save caniuse-lite')
|
|
299
299
|
} else if (lock.mode === 'bun') {
|
|
300
300
|
updateWith(print, 'bun update caniuse-lite')
|
|
301
301
|
} else {
|