Skip to content

Commit

Permalink
build(6.0.1): release 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
AhsanAyaz committed May 23, 2023
1 parent f7440e9 commit c4327aa
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 22 deletions.
18 changes: 18 additions & 0 deletions CHANGE_LOG.MD
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
## [6.0.1](https://github.com/KoderLabs/ngx-device-detector/compare/v5.0.1...v6.0.1) (2023-05-23)


### Bug Fixes

* **jest:** fix jest-preset-angular dependency ([85c8fd4](https://github.com/KoderLabs/ngx-device-detector/commit/85c8fd4ed265bbdfd27a0c7cfa874e2d11157be7))
* **jest:** install jsdom separately ([7d2f13d](https://github.com/KoderLabs/ngx-device-detector/commit/7d2f13dc9cd34803b492ea5a9fbe961f4ce1ec53))
* **tests:** update workflow to use node v18 ([afa4bb5](https://github.com/KoderLabs/ngx-device-detector/commit/afa4bb5b9da70f469e04dce7da354aef4fb8adb7))


### Features

* detect HUAWEI AGS-L09 as tablet ([62d1232](https://github.com/KoderLabs/ngx-device-detector/commit/62d1232cad8a0921da80c9f6afc4033f2f34f3f4))
* detect Samsung Galaxy Tab S7+ SM-T970 as a tablet ([757a502](https://github.com/KoderLabs/ngx-device-detector/commit/757a502c3953546e82540e29d634b5b2f3417db7))
* **v16:** migrate to v16 ([2ab640c](https://github.com/KoderLabs/ngx-device-detector/commit/2ab640c0a758fbdc906a502b90a60f0c6d78e8bd))



# [6.0.0](https://github.com/KoderLabs/ngx-device-detector/compare/v5.0.1...v6.0.0) (2023-05-13)


Expand Down
8 changes: 4 additions & 4 deletions docs/components/AppComponent.html
Original file line number Diff line number Diff line change
Expand Up @@ -689,10 +689,10 @@ <h3 id="accessors">
&lt;/p&gt;

&lt;p align&#x3D;&quot;center&quot; class&#x3D;&quot;badges&quot;&gt;
&lt;a href&#x3D;&quot;https://travis-ci.org/KoderLabs/ngx-device-detector&quot;
&lt;a href&#x3D;&quot;https://github.com/koderlabs/ngx-device-detector/actions/workflows/main.yml&quot;
&gt;&lt;img
src&#x3D;&quot;http://img.shields.io/travis/KoderLabs/ngx-device-detector.svg?style&#x3D;flat&quot;
alt&#x3D;&quot;travis build status&quot;
src&#x3D;&quot;https://github.com/koderlabs/ngx-device-detector/actions/workflows/main.yml/badge.svg&quot;
alt&#x3D;&quot;build status&quot;
/&gt;&lt;/a&gt;
&lt;a href&#x3D;&quot;https://www.npmjs.com/package/ngx-device-detector&quot;
&gt;&lt;img src&#x3D;&quot;https://img.shields.io/npm/v/ngx-device-detector.svg&quot; alt&#x3D;&quot;npm version&quot;
Expand Down Expand Up @@ -856,7 +856,7 @@ <h3 id="accessors">
<script src="../js/libs/htmlparser.js"></script>
<script src="../js/libs/deep-iterator.js"></script>
<script>
var COMPONENT_TEMPLATE = '<div><div id="demoApp" class="container"> <div class="demo-container"> <a class="github-logo" href="https://github.com/Koderlabs/ngx-device-detector"> <img src="assets/images/github-logo.png" /> </a> <div class="demo-heading"> <div style="text-align: center; width: 100%"> <img src="https://raw.githubusercontent.com/KoderLabs/ngx-device-detector/master/assets/logo.svg" width="200"> </div> <a href="https://github.com/Koderlabs/ngx-device-detector"> <h1 align="center" class="demo-heading-text">ngx-device-detector</h1> </a> <p align="center"> An Angular 5+ powered AOT compatible device detector that helps to identify browser, os and other useful information regarding the device using the app. The processing is based on user-agent. </p> <p align="center" class="badges"> <a href="https://travis-ci.org/KoderLabs/ngx-device-detector" ><img src="http://img.shields.io/travis/KoderLabs/ngx-device-detector.svg?style=flat" alt="travis build status" /></a> <a href="https://www.npmjs.com/package/ngx-device-detector" ><img src="https://img.shields.io/npm/v/ngx-device-detector.svg" alt="npm version" /></a> <a href="https://www.npmjs.com/package/ngx-device-detector" ><img src="https://img.shields.io/github/stars/KoderLabs/ngx-device-detector.svg?style=social&label=Star&style=flat-square" alt="github stars" /></a> <a href="https://www.npmjs.com/package/ngx-device-detector" ><img src="https://img.shields.io/npm/l/ngx-device-detector.svg?style=flat-square" alt="license" /></a> </p> <hr /> </div> <div class="demo-message text-center">Demo is at Angular version = {{ version }}</div> <div class="demo-message"> <p class="text-center">Open this page from different devices to see the appropriate details</p> <h4 class="text-center">Device Information</h4> </div> <div class="user-agent"> <div class="user-agent__input"> <div class="form-group"> <label for="userAgentInput">Test User Agent</label> <input class="form-control" id="userAgentInput" #userAgentInput type="text" placeholder="" /> <small id="uaHelp" class="form-text text-muted">Paste the user agent (window.navigator.userAgent) here</small> </div> </div> <div class="user-agent__buttons"> <button class="btn btn-primary btn-sm" (click)="applyDevice(userAgentInput.value)"> Apply test user agent </button> <button class="btn btn-warning btn-sm" (click)="resetDeviceInfo()">Reset device info</button> </div> </div> <div class="information-table"> <div class="device-icon"> <div class="fa" [ngClass]="{ \'fa-desktop\': isDesktop, \'fa-mobile\': isMobile, \'fa-tablet\': isTablet }"></div> <div class="device-text" *ngIf="isMobile">Mobile</div> <div class="device-text" *ngIf="isTablet">Tablet</div> <div class="device-text" *ngIf="isDesktop">Desktop</div> </div> <table class="table table-hover"> <tr> <th>Property</th> <th>Value</th> </tr> <tr *ngFor="let info of deviceInfo | keys : propsToShow" class="info-item w3-hover-blue"> <td>{{ info.key }}</td> <td>{{ info.value }}</td> </tr> <tr class="info-item w3-hover-blue"> <td>isDesktop()</td> <td>{{ isDesktop }}</td> </tr> <tr class="info-item w3-hover-blue"> <td>isMobile()</td> <td>{{ isMobile }}</td> </tr> <tr class="info-item w3-hover-blue"> <td>isTablet()</td> <td>{{ isTablet }}</td> </tr> </table> </div> </div></div></div>'
var COMPONENT_TEMPLATE = '<div><div id="demoApp" class="container"> <div class="demo-container"> <a class="github-logo" href="https://github.com/Koderlabs/ngx-device-detector"> <img src="assets/images/github-logo.png" /> </a> <div class="demo-heading"> <div style="text-align: center; width: 100%"> <img src="https://raw.githubusercontent.com/KoderLabs/ngx-device-detector/master/assets/logo.svg" width="200"> </div> <a href="https://github.com/Koderlabs/ngx-device-detector"> <h1 align="center" class="demo-heading-text">ngx-device-detector</h1> </a> <p align="center"> An Angular 5+ powered AOT compatible device detector that helps to identify browser, os and other useful information regarding the device using the app. The processing is based on user-agent. </p> <p align="center" class="badges"> <a href="https://github.com/koderlabs/ngx-device-detector/actions/workflows/main.yml" ><img src="https://github.com/koderlabs/ngx-device-detector/actions/workflows/main.yml/badge.svg" alt="build status" /></a> <a href="https://www.npmjs.com/package/ngx-device-detector" ><img src="https://img.shields.io/npm/v/ngx-device-detector.svg" alt="npm version" /></a> <a href="https://www.npmjs.com/package/ngx-device-detector" ><img src="https://img.shields.io/github/stars/KoderLabs/ngx-device-detector.svg?style=social&label=Star&style=flat-square" alt="github stars" /></a> <a href="https://www.npmjs.com/package/ngx-device-detector" ><img src="https://img.shields.io/npm/l/ngx-device-detector.svg?style=flat-square" alt="license" /></a> </p> <hr /> </div> <div class="demo-message text-center">Demo is at Angular version = {{ version }}</div> <div class="demo-message"> <p class="text-center">Open this page from different devices to see the appropriate details</p> <h4 class="text-center">Device Information</h4> </div> <div class="user-agent"> <div class="user-agent__input"> <div class="form-group"> <label for="userAgentInput">Test User Agent</label> <input class="form-control" id="userAgentInput" #userAgentInput type="text" placeholder="" /> <small id="uaHelp" class="form-text text-muted">Paste the user agent (window.navigator.userAgent) here</small> </div> </div> <div class="user-agent__buttons"> <button class="btn btn-primary btn-sm" (click)="applyDevice(userAgentInput.value)"> Apply test user agent </button> <button class="btn btn-warning btn-sm" (click)="resetDeviceInfo()">Reset device info</button> </div> </div> <div class="information-table"> <div class="device-icon"> <div class="fa" [ngClass]="{ \'fa-desktop\': isDesktop, \'fa-mobile\': isMobile, \'fa-tablet\': isTablet }"></div> <div class="device-text" *ngIf="isMobile">Mobile</div> <div class="device-text" *ngIf="isTablet">Tablet</div> <div class="device-text" *ngIf="isDesktop">Desktop</div> </div> <table class="table table-hover"> <tr> <th>Property</th> <th>Value</th> </tr> <tr *ngFor="let info of deviceInfo | keys : propsToShow" class="info-item w3-hover-blue"> <td>{{ info.key }}</td> <td>{{ info.value }}</td> </tr> <tr class="info-item w3-hover-blue"> <td>isDesktop()</td> <td>{{ isDesktop }}</td> </tr> <tr class="info-item w3-hover-blue"> <td>isMobile()</td> <td>{{ isMobile }}</td> </tr> <tr class="info-item w3-hover-blue"> <td>isTablet()</td> <td>{{ isTablet }}</td> </tr> </table> </div> </div></div></div>'
var COMPONENTS = [{'name': 'AppComponent', 'selector': 'app-root'}];
var DIRECTIVES = [];
var ACTUAL_COMPONENT = {'name': 'AppComponent'};
Expand Down
2 changes: 1 addition & 1 deletion docs/dependencies.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<li>
<b>express</b> : ~4.18.2</li>
<li>
<b>ngx-device-detector</b> : ^5.0.1</li>
<b>ngx-device-detector</b> : ^6.0.0</li>
<li>
<b>rxjs</b> : ~7.5.7</li>
<li>
Expand Down
4 changes: 2 additions & 2 deletions docs/js/search/search_index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/miscellaneous/variables.html
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ <h3></h3> <table class="table table-sm table-bordered">
SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|
SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|
SM-T719|SM-T725|SM-T813|SM-T819|SM-T580|SM-T590|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|
SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-P585Y|SM-X200&#x60;),
SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-P585Y|SM-X200|SM-T970&#x60;),
Kindle: new RegExp(&#x60;Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|
KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk\/[0-9.]+ like Chrome\
/[0-9.]+ (?!Mobile)&#x60;),
Expand Down Expand Up @@ -1014,7 +1014,7 @@ <h3></h3> <table class="table table-sm table-bordered">
Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))|Maxwell.*Lite|Maxwell.*Plus&#x60;),
HuaweiTablet:
new RegExp(&#x60;MediaPad|MediaPad 7 Youth|MediaPad T3 10|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|
S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-W09&#x60;),
S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-W09|AGS-L09&#x60;),
NecTablet: /\bN-06D|\bN-08D/,
PantechTablet: /Pantech.*P4100/,
BronchoTablet: /Broncho.*(N701|N708|N802|a710)/,
Expand Down
2 changes: 1 addition & 1 deletion docs/properties.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</ol>
<ul class="properties-list">
<li>
<b>Version</b> : 6.0.0</li>
<b>Version</b> : 6.0.1</li>
<li>
<b>Keywords</b> : angular, device, device detector, device detection, ngx-device-detector, angular device detector, angular5, angular6, angular7, angular8</li>
<li>
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-device-detector-ws",
"version": "6.0.0",
"version": "6.0.1",
"license": "MIT",
"scripts": {
"ng": "ng",
Expand Down Expand Up @@ -91,7 +91,7 @@
"@nguniversal/express-engine": "~16.0.1",
"conventional-changelog-cli": "~2.2.2",
"express": "~4.18.2",
"ngx-device-detector": "^6.0.0",
"ngx-device-detector": "^6.0.1",
"rxjs": "~7.5.7",
"tslib": "~2.4.1",
"zone.js": "~0.13.0"
Expand Down
2 changes: 1 addition & 1 deletion projects/ngx-device-detector/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-device-detector",
"version": "6.0.0",
"version": "6.0.1",
"license": "MIT",
"repository": {
"type": "git",
Expand Down

0 comments on commit c4327aa

Please sign in to comment.