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 CHANGED
@@ -1,6 +1,9 @@
1
1
  # Change Log
2
2
  This project adheres to [Semantic Versioning](http://semver.org/).
3
3
 
4
+ ## 4.16.3
5
+ * Fixed `--update-db`.
6
+
4
7
  ## 4.16.2
5
8
  * Fixed `--update-db` (by @ialarmedalien).
6
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browserslist",
3
- "version": "4.16.2",
3
+ "version": "4.16.3",
4
4
  "description": "Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset",
5
5
  "keywords": [
6
6
  "caniuse",
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 = (lock.mode === 'yarn' ? 'yarn add -W' : lock.mode) + ' 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 = (lock.mode === 'yarn' ? 'yarn remove -W' : lock.mode) + ' uninstall'
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'