browserslist 4.16.2 → 4.16.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 +3 -0
- package/package.json +1 -1
- package/update-db.js +2 -2
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/update-db.js
CHANGED
|
@@ -232,7 +232,7 @@ module.exports = function updateDB (print) {
|
|
|
232
232
|
)
|
|
233
233
|
fs.writeFileSync(lock.file, lockfileData.content)
|
|
234
234
|
|
|
235
|
-
var install =
|
|
235
|
+
var install = lock.mode === 'yarn' ? 'yarn add -W' : lock.mode + ' install'
|
|
236
236
|
print(
|
|
237
237
|
'Installing new caniuse-lite version\n' +
|
|
238
238
|
yellow('$ ' + install + ' caniuse-lite') + '\n'
|
|
@@ -251,7 +251,7 @@ module.exports = function updateDB (print) {
|
|
|
251
251
|
process.exit(1)
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
var del =
|
|
254
|
+
var del = lock.mode === 'yarn' ? 'yarn remove -W' : lock.mode + ' uninstall'
|
|
255
255
|
print(
|
|
256
256
|
'Cleaning package.json dependencies from caniuse-lite\n' +
|
|
257
257
|
yellow('$ ' + del + ' caniuse-lite') + '\n'
|