browserslist 4.5.3 → 4.5.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/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.5.4
5
+ * Update docs (by Andrew Leedham and Dan Onoshko).
6
+
4
7
  ## 4.5.3
5
8
  * Fix splitting string to queries.
6
9
 
package/README.md CHANGED
@@ -77,15 +77,20 @@ You can test Browserslist queries in [online demo].
77
77
  to match Browserslist target browsers query.
78
78
  * [`browserslist-useragent-ruby`] is a Ruby library to checks browser
79
79
  by user agent string to match Browserslist.
80
+ * [`browserslist-useragent-regexp`] compiles Browserslist query to a RegExp
81
+ to test browser useragent.
82
+ * [`browserslist-browserstack`] runs BrowserStack tests for all browsers in Browserslist config.
80
83
  * [`caniuse-api`] returns browsers which support some specific feature.
81
84
  * Run `npx browserslist` in your project directory to see project’s
82
85
  target browsers. This CLI tool is built-in and available in any project
83
86
  with Autoprefixer.
84
87
 
85
- [`browserslist-useragent-ruby`]: https://github.com/browserslist/browserslist-useragent-ruby
86
- [`browserslist-useragent`]: https://github.com/pastelsky/browserslist-useragent
87
- [`browserslist-ga`]: https://github.com/browserslist/browserslist-ga
88
- [`caniuse-api`]: https://github.com/Nyalab/caniuse-api
88
+ [`browserslist-useragent-ruby`]: https://github.com/browserslist/browserslist-useragent-ruby
89
+ [`browserslist-useragent`]: https://github.com/pastelsky/browserslist-useragent
90
+ [`browserslist-useragent-regexp`]: https://github.com/browserslist/browserslist-useragent-regexp
91
+ [`browserslist-ga`]: https://github.com/browserslist/browserslist-ga
92
+ [`caniuse-api`]: https://github.com/Nyalab/caniuse-api
93
+ [`browserslist-browserstack`]: https://github.com/xeroxinteractive/browserslist-browserstack
89
94
 
90
95
 
91
96
  ## Queries
package/node.js CHANGED
@@ -291,6 +291,7 @@ module.exports = {
291
291
  oldDataWarning: function oldDataWarning (agentsObj) {
292
292
  if (dataTimeChecked) return
293
293
  dataTimeChecked = true
294
+ if (process.env.BROWSERSLIST_IGNORE_OLD_DATA) return
294
295
 
295
296
  var latest = latestReleaseTime(agentsObj)
296
297
  var halfYearAgo = Date.now() - TIME_TO_UPDATE_CANIUSE
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browserslist",
3
- "version": "4.5.3",
3
+ "version": "4.5.4",
4
4
  "description": "Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset",
5
5
  "keywords": [
6
6
  "caniuse",
@@ -13,16 +13,11 @@
13
13
  "dependencies": {
14
14
  "caniuse-lite": "^1.0.30000955",
15
15
  "electron-to-chromium": "^1.3.122",
16
- "node-releases": "^1.1.12"
16
+ "node-releases": "^1.1.13"
17
17
  },
18
18
  "bin": "./cli.js",
19
19
  "browser": {
20
20
  "./node.js": "./browser.js",
21
21
  "path": false
22
- },
23
- "husky": {
24
- "hooks": {
25
- "pre-commit": "lint-staged"
26
- }
27
22
  }
28
23
  }