@jjrawlins/cdk-diff-pr-github-action 1.3.3 → 1.3.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.
Files changed (73) hide show
  1. package/.jsii +2 -2
  2. package/lib/CdkDiffIamTemplate.js +2 -2
  3. package/lib/CdkDiffIamTemplateStackSet.js +2 -2
  4. package/lib/CdkDiffStackWorkflow.js +1 -1
  5. package/lib/CdkDriftDetectionWorkflow.js +1 -1
  6. package/lib/CdkDriftIamTemplate.js +2 -2
  7. package/node_modules/bowser/README.md +72 -3
  8. package/node_modules/bowser/bundled.js +1 -1
  9. package/node_modules/bowser/es5.js +1 -1
  10. package/node_modules/bowser/index.d.ts +44 -6
  11. package/node_modules/bowser/package.json +10 -5
  12. package/node_modules/bowser/src/bowser.js +24 -8
  13. package/node_modules/bowser/src/constants.js +8 -0
  14. package/node_modules/bowser/src/parser-browsers.js +89 -0
  15. package/node_modules/bowser/src/parser-platforms.js +42 -0
  16. package/node_modules/bowser/src/parser.js +86 -5
  17. package/package.json +2 -2
  18. package/node_modules/bowser/CHANGELOG.md +0 -218
  19. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/CHANGELOG.md +0 -0
  20. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/LICENSE +0 -0
  21. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/README.md +0 -0
  22. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxbuilder.min.js +0 -0
  23. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxbuilder.min.js.map +0 -0
  24. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.cjs +0 -0
  25. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.d.cts +0 -0
  26. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.min.js +0 -0
  27. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.min.js.map +0 -0
  28. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxparser.min.js +0 -0
  29. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxparser.min.js.map +0 -0
  30. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxvalidator.min.js +0 -0
  31. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxvalidator.min.js.map +0 -0
  32. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/package.json +0 -0
  33. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/cli/cli.js +0 -0
  34. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/cli/man.js +0 -0
  35. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/cli/read.js +0 -0
  36. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/fxp.d.ts +0 -0
  37. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/fxp.js +0 -0
  38. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/ignoreAttributes.js +0 -0
  39. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/util.js +0 -0
  40. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/CharsSymbol.js +0 -0
  41. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/EntitiesParser.js +0 -0
  42. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OptionsBuilder.js +0 -0
  43. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -0
  44. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/JsArrBuilder.js +0 -0
  45. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -0
  46. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/JsObjBuilder.js +0 -0
  47. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -0
  48. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/Report.js +0 -0
  49. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/TagPath.js +0 -0
  50. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/TagPathMatcher.js +0 -0
  51. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/XMLParser.js +0 -0
  52. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/Xml2JsParser.js +0 -0
  53. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/XmlPartReader.js +0 -0
  54. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/XmlSpecialTagsReader.js +0 -0
  55. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/inputSource/BufferSource.js +0 -0
  56. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/inputSource/StringSource.js +0 -0
  57. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/EntitiesParser.js +0 -0
  58. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/booleanParser.js +0 -0
  59. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/booleanParserExt.js +0 -0
  60. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/currency.js +0 -0
  61. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/join.js +0 -0
  62. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/number.js +0 -0
  63. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/trim.js +0 -0
  64. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/validator.js +0 -0
  65. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlbuilder/json2xml.js +0 -0
  66. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlbuilder/orderedJs2Xml.js +0 -0
  67. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlbuilder/prettifyJs2Xml.js +0 -0
  68. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/DocTypeReader.js +0 -0
  69. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/OptionsBuilder.js +0 -0
  70. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/OrderedObjParser.js +0 -0
  71. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/XMLParser.js +0 -0
  72. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/node2json.js +0 -0
  73. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/xmlNode.js +0 -0
@@ -4,6 +4,17 @@ import platformParsersList from './parser-platforms.js';
4
4
  import enginesParsersList from './parser-engines.js';
5
5
  import Utils from './utils.js';
6
6
 
7
+ /**
8
+ * @typedef {Object} ClientHints
9
+ * @property {Array<{brand: string, version: string}>} [brands] Array of brand objects
10
+ * @property {boolean} [mobile] Whether the device is mobile
11
+ * @property {string} [platform] Platform name (e.g., "Windows", "macOS")
12
+ * @property {string} [platformVersion] Platform version
13
+ * @property {string} [architecture] CPU architecture
14
+ * @property {string} [model] Device model
15
+ * @property {boolean} [wow64] Whether running under WoW64
16
+ */
17
+
7
18
  /**
8
19
  * The main class that arranges the whole parsing process.
9
20
  */
@@ -12,21 +23,32 @@ class Parser {
12
23
  * Create instance of Parser
13
24
  *
14
25
  * @param {String} UA User-Agent string
15
- * @param {Boolean} [skipParsing=false] parser can skip parsing in purpose of performance
16
- * improvements if you need to make a more particular parsing
17
- * like {@link Parser#parseBrowser} or {@link Parser#parsePlatform}
26
+ * @param {Boolean|ClientHints} [skipParsingOrHints=false] Either a boolean to skip parsing,
27
+ * or a ClientHints object containing User-Agent Client Hints data
28
+ * @param {ClientHints} [clientHints] User-Agent Client Hints data (navigator.userAgentData)
18
29
  *
19
30
  * @throw {Error} in case of empty UA String
20
31
  *
21
32
  * @constructor
22
33
  */
23
- constructor(UA, skipParsing = false) {
34
+ constructor(UA, skipParsingOrHints = false, clientHints = null) {
24
35
  if (UA === void (0) || UA === null || UA === '') {
25
36
  throw new Error("UserAgent parameter can't be empty");
26
37
  }
27
38
 
28
39
  this._ua = UA;
29
40
 
41
+ // Handle overloaded constructor: (UA, clientHints) or (UA, skipParsing, clientHints)
42
+ let skipParsing = false;
43
+ if (typeof skipParsingOrHints === 'boolean') {
44
+ skipParsing = skipParsingOrHints;
45
+ this._hints = clientHints;
46
+ } else if (skipParsingOrHints != null && typeof skipParsingOrHints === 'object') {
47
+ this._hints = skipParsingOrHints;
48
+ } else {
49
+ this._hints = null;
50
+ }
51
+
30
52
  /**
31
53
  * @typedef ParsedResult
32
54
  * @property {Object} browser
@@ -56,6 +78,65 @@ class Parser {
56
78
  }
57
79
  }
58
80
 
81
+ /**
82
+ * Get Client Hints data
83
+ * @return {ClientHints|null}
84
+ *
85
+ * @public
86
+ * @example
87
+ * const parser = Bowser.getParser(UA, clientHints);
88
+ * const hints = parser.getHints();
89
+ * console.log(hints.platform); // 'Windows'
90
+ * console.log(hints.mobile); // false
91
+ */
92
+ getHints() {
93
+ return this._hints;
94
+ }
95
+
96
+ /**
97
+ * Check if a brand exists in Client Hints brands array
98
+ * @param {string} brandName The brand name to check for
99
+ * @return {boolean}
100
+ *
101
+ * @public
102
+ * @example
103
+ * const parser = Bowser.getParser(UA, clientHints);
104
+ * if (parser.hasBrand('Google Chrome')) {
105
+ * console.log('Chrome detected!');
106
+ * }
107
+ */
108
+ hasBrand(brandName) {
109
+ if (!this._hints || !Array.isArray(this._hints.brands)) {
110
+ return false;
111
+ }
112
+ const brandLower = brandName.toLowerCase();
113
+ return this._hints.brands.some(
114
+ b => b.brand && b.brand.toLowerCase() === brandLower,
115
+ );
116
+ }
117
+
118
+ /**
119
+ * Get brand version from Client Hints
120
+ * @param {string} brandName The brand name to get version for
121
+ * @return {string|undefined}
122
+ *
123
+ * @public
124
+ * @example
125
+ * const parser = Bowser.getParser(UA, clientHints);
126
+ * const version = parser.getBrandVersion('Google Chrome');
127
+ * console.log(version); // '131'
128
+ */
129
+ getBrandVersion(brandName) {
130
+ if (!this._hints || !Array.isArray(this._hints.brands)) {
131
+ return undefined;
132
+ }
133
+ const brandLower = brandName.toLowerCase();
134
+ const brand = this._hints.brands.find(
135
+ b => b.brand && b.brand.toLowerCase() === brandLower,
136
+ );
137
+ return brand ? brand.version : undefined;
138
+ }
139
+
59
140
  /**
60
141
  * Get UserAgent string of current Parser instance
61
142
  * @return {String} User-Agent String of the current <Parser> object
@@ -95,7 +176,7 @@ class Parser {
95
176
  });
96
177
 
97
178
  if (browserDescriptor) {
98
- this.parsedResult.browser = browserDescriptor.describe(this.getUA());
179
+ this.parsedResult.browser = browserDescriptor.describe(this.getUA(), this);
99
180
  }
100
181
 
101
182
  return this.parsedResult.browser;
package/package.json CHANGED
@@ -39,7 +39,7 @@
39
39
  "@stylistic/eslint-plugin": "^2",
40
40
  "@types/jest": "^30.0.0",
41
41
  "@types/lodash": "^4.17.23",
42
- "@types/node": "^24.10.11",
42
+ "@types/node": "^24.10.12",
43
43
  "@typescript-eslint/eslint-plugin": "^8",
44
44
  "@typescript-eslint/parser": "^8",
45
45
  "aws-cdk": "2.1029.2",
@@ -108,7 +108,7 @@
108
108
  "publishConfig": {
109
109
  "access": "public"
110
110
  },
111
- "version": "1.3.3",
111
+ "version": "1.3.4",
112
112
  "jest": {
113
113
  "coverageProvider": "v8",
114
114
  "testMatch": [
@@ -1,218 +0,0 @@
1
- # Bowser Changelog
2
-
3
- ### 2.11.0 (Sep 12, 2020)
4
- - [ADD] Added support for aliases in `Parser#is` method (#437)
5
- - [ADD] Added more typings (#438, #427)
6
- - [ADD] Added support for MIUI Browser (#436)
7
-
8
- ### 2.10.0 (Jul 9, 2020)
9
- - [FIX] Fix for Firefox detection on iOS 13 [#415]
10
- - [FIX] Fixes for typings.d.ts [#409]
11
- - [FIX] Updated development dependencies
12
-
13
- ### 2.9.0 (Jan 28, 2020)
14
- - [ADD] Export more methods and constants via .d.ts [#388], [#390]
15
-
16
- ### 2.8.1 (Dec 26, 2019)
17
- - [FIX] Reverted [#382] as it broke build
18
-
19
- ### 2.8.0 (Dec 26, 2019)
20
- - [ADD] Add polyfills for Array.find & Object.assign [#383]
21
- - [ADD] Export constants with types.d.ts [#382]
22
- - [FIX] Add support for WeChat on Windows [#381]
23
- - [FIX] Fix detection of Firefox on iPad [#379]
24
- - [FIX] Add detection of Electron [#375]
25
- - [FIX] Updated dev-dependencies
26
-
27
- ### 2.7.0 (Oct 2, 2019)
28
- - [FIX] Add support for QQ Browser [#362]
29
- - [FIX] Add support for GSA [#364]
30
- - [FIX] Updated dependencies
31
-
32
- ### 2.6.0 (Sep 6, 2019)
33
- - [ADD] Define "module" export in package.json [#354]
34
- - [FIX] Fix Tablet PC detection [#334]
35
-
36
- ### 2.5.4 (Sep 2, 2019)
37
- - [FIX] Exclude docs from the npm package [#349]
38
-
39
- ### 2.5.3 (Aug 4, 2019)
40
- - [FIX] Add MacOS names support [#338]
41
- - [FIX] Point typings.d.ts from package.json [#341]
42
- - [FIX] Upgrade dependencies
43
-
44
- ### 2.5.2 (July 17, 2019)
45
- - [FIX] Fixes the bug undefined method because of failed build (#335)
46
-
47
- ### 2.5.1 (July 17, 2019)
48
- - [FIX] Fixes the bug with a custom Error class (#335)
49
- - [FIX] Fixes the settings for Babel to reduce the bundle size (#259)
50
-
51
- ### 2.5.0 (July 16, 2019)
52
- - [ADD] Add constant output so that users can quickly get all types (#325)
53
- - [FIX] Add support for Roku OS (#332)
54
- - [FIX] Update devDependencies
55
- - [FIX] Fix docs, README and added funding information
56
-
57
- ### 2.4.0 (May 3, 2019)
58
- - [FIX] Update regexp for generic browsers (#310)
59
- - [FIX] Fix issues with module.exports (#318)
60
- - [FIX] Update devDependencies (#316, #321, #322)
61
- - [FIX] Fix docs (#320)
62
-
63
- ### 2.3.0 (April 14, 2019)
64
- - [ADD] Add support for Blink-based MS Edge (#311)
65
- - [ADD] Add more types for TS (#289)
66
- - [FIX] Update dev-dependencies
67
- - [FIX] Update docs
68
-
69
- ### 2.2.1 (April 12, 2019)
70
- - [ADD] Add an alias for Samsung Internet
71
- - [FIX] Fix browser name detection for browsers without an alias (#313)
72
-
73
- ### 2.2.0 (April 7, 2019)
74
- - [ADD] Add short aliases for browser names (#295)
75
- - [FIX] Fix Yandex Browser version detection (#308)
76
-
77
- ### 2.1.2 (March 6, 2019)
78
- - [FIX] Fix buggy `getFirstMatch` reference
79
-
80
- ### 2.1.1 (March 6, 2019)
81
- - [ADD] Add detection of PlayStation 4 (#291)
82
- - [ADD] Deploy docs on GH Pages (#293)
83
- - [FIX] Fix files extensions for importing (#294)
84
- - [FIX] Fix docs (#295)
85
-
86
- ### 2.1.0 (January 24, 2019)
87
- - [ADD] Add new `Parser.getEngineName()` method (#288)
88
- - [ADD] Add detection of ChromeOS (#287)
89
- - [FIX] Fix README
90
-
91
- ### 2.0.0 (January 19, 2019)
92
- - [ADD] Support a non strict equality in `Parser.satisfies()` (#275)
93
- - [ADD] Add Android versions names (#276)
94
- - [ADD] Add a typings file (#277)
95
- - [ADD] Added support for Googlebot recognition (#278)
96
- - [FIX] Update building tools, avoid security issues
97
-
98
- ### 2.0.0-beta.3 (September 15, 2018)
99
- - [FIX] Fix Chrome Mobile detection (#253)
100
- - [FIX] Use built bowser for CI (#252)
101
- - [FIX] Update babel-plugin-add-module-exports (#251)
102
-
103
- ### 2.0.0-beta.2 (September 9, 2018)
104
- - [FIX] Fix failing comparing version through `Parser.satisfies` (#243)
105
- - [FIX] Fix travis testing, include eslint into CI testing
106
- - [FIX] Add support for Maxthon desktop browser (#246)
107
- - [FIX] Add support for Swing browser (#248)
108
- - [DOCS] Regenerate docs
109
-
110
- ### 2.0.0-beta.1 (August 18, 2018)
111
- - [ADD] Add loose version comparison to `Parser.compareVersion()` and `Parser.satisfies()`
112
- - [CHORE] Add CONTRIBUTING.md
113
- - [DOCS] Regenerate docs
114
-
115
- ### 2.0.0-alpha.4 (August 2, 2018)
116
- - [DOCS] Fix usage docs (#238)
117
- - [CHANGE] Make `./es5.js` the main file of the package (#239)
118
-
119
- ### 2.0.0-alpha.3 (July 22, 2018)
120
- - [CHANGE] Rename split and rename `compiled.js` to `es5.js` and `bundled.js` (#231, #236, #237)
121
- - [ADD] Add `Parser.some` (#235)
122
-
123
- ### 2.0.0-alpha.2 (July 17, 2018)
124
- - [CHANGE] Make `src/bowser` main file instead of the bundled one
125
- - [CHANGE] Move the bundled file to the root of the package to make it possible to `require('bowser/compiled')` (#231)
126
- - [REMOVE] Remove `typings.d.ts` before stable release (#232)
127
- - [FIX] Improve Nexus devices detection (#233)
128
-
129
- ### 2.0.0-alpha.1 (July 9, 2018)
130
- - [ADD] `Bowser.getParser()`
131
- - [ADD] `Bowser.parse`
132
- - [ADD] `Parser` class which describes parsing process
133
- - [CHANGE] Change bowser's returning object
134
- - [REMOVE] Remove bower support
135
-
136
- ### 1.9.4 (June 28, 2018)
137
- - [FIX] Fix NAVER Whale browser detection (#220)
138
- - [FIX] Fix MZ Browser browser detection (#219)
139
- - [FIX] Fix Firefox Focus browser detection (#191)
140
- - [FIX] Fix webOS browser detection (#186)
141
-
142
- ### 1.9.3 (March 12, 2018)
143
- - [FIX] Fix `typings.d.ts` — add `ipad`, `iphone`, `ipod` flags to the interface
144
-
145
- ### 1.9.2 (February 5, 2018)
146
- - [FIX] Fix `typings.d.ts` — add `osname` flag to the interface
147
-
148
- ### 1.9.1 (December 22, 2017)
149
- - [FIX] Fix `typings.d.ts` — add `chromium` flag to the interface
150
-
151
- ### 1.9.0 (December 20, 2017)
152
- - [ADD] Add a public method `.detect()` (#205)
153
- - [DOCS] Fix description of `chromium` flag in docs (#206)
154
-
155
- ### 1.8.1 (October 7, 2017)
156
- - [FIX] Fix detection of MS Edge on Android and iOS (#201)
157
-
158
- ### 1.8.0 (October 7, 2017)
159
- - [ADD] Add `osname` into result object (#200)
160
-
161
- ### 1.7.3 (August 30, 2017)
162
- - [FIX] Fix detection of Chrome on Android 8 OPR6 (#193)
163
-
164
- ### 1.7.2 (August 17, 2017)
165
- - [FIX] Fix typings.d.ts according to #185
166
-
167
- ### 1.7.1 (July 13, 2017)
168
- - [ADD] Fix detecting of Tablet PC as tablet (#183)
169
-
170
- ### 1.7.0 (May 18, 2017)
171
- - [ADD] Add OS version support for Windows and macOS (#178)
172
-
173
- ### 1.6.0 (December 5, 2016)
174
- - [ADD] Add some tests for Windows devices (#89)
175
- - [ADD] Add `root` to initialization process (#170)
176
- - [FIX] Upgrade .travis.yml config
177
-
178
- ### 1.5.0 (October 31, 2016)
179
- - [ADD] Throw an error when `minVersion` map has not a string as a version and fix readme (#165)
180
- - [FIX] Fix truly detection of Windows Phones (#167)
181
-
182
- ### 1.4.6 (September 19, 2016)
183
- - [FIX] Fix mobile Opera's version detection on Android
184
- - [FIX] Fix typescript typings — add `mobile` and `tablet` flags
185
- - [DOC] Fix description of `bowser.check`
186
-
187
- ### 1.4.5 (August 30, 2016)
188
-
189
- - [FIX] Add support of Samsung Internet for Android
190
- - [FIX] Fix case when `navigator.userAgent` is `undefined`
191
- - [DOC] Add information about `strictMode` in `check` function
192
- - [DOC] Consistent use of `bowser` variable in the README
193
-
194
- ### 1.4.4 (August 10, 2016)
195
-
196
- - [FIX] Fix AMD `define` call — pass name to the function
197
-
198
- ### 1.4.3 (July 27, 2016)
199
-
200
- - [FIX] Fix error `Object doesn't support this property or method` on IE8
201
-
202
- ### 1.4.2 (July 26, 2016)
203
-
204
- - [FIX] Fix missing `isUnsupportedBrowser` in typings description
205
- - [DOC] Fix `check`'s declaration in README
206
-
207
- ### 1.4.1 (July 7, 2016)
208
-
209
- - [FIX] Fix `strictMode` logic for `isUnsupportedBrowser`
210
-
211
- ### 1.4.0 (June 28, 2016)
212
-
213
- - [FEATURE] Add `bowser.compareVersions` method
214
- - [FEATURE] Add `bowser.isUnsupportedBrowser` method
215
- - [FEATURE] Add `bowser.check` method
216
- - [DOC] Changelog started
217
- - [DOC] Add API section to README
218
- - [FIX] Fix detection of browser type (A/C/X) for Chromium