Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: AhsanAyaz/ngx-device-detector
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.9
Choose a base ref
...
head repository: AhsanAyaz/ngx-device-detector
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on May 5, 2021

  1. Copy the full SHA
    cea0f9e View commit details
  2. Copy the full SHA
    6ec4052 View commit details
  3. Copy the full SHA
    44f3275 View commit details
  4. Copy the full SHA
    17de0ea View commit details

Commits on May 10, 2021

  1. Copy the full SHA
    b7f79c8 View commit details
  2. Copy the full SHA
    c62ad42 View commit details
  3. build(2.0.10): release 🎉

    AhsanAyaz committed May 10, 2021
    Copy the full SHA
    6d2eca8 View commit details
  4. Copy the full SHA
    abe9da5 View commit details

Commits on May 22, 2021

  1. Update issue templates

    AhsanAyaz authored May 22, 2021
    Copy the full SHA
    d32cca1 View commit details

Commits on May 26, 2021

  1. Copy the full SHA
    368a76d View commit details
  2. fix(lint issue)

    mohsinayaz authored and AhsanAyaz committed May 26, 2021
    Copy the full SHA
    c4a915f View commit details
  3. Copy the full SHA
    cfe4e55 View commit details
  4. Copy the full SHA
    26773f4 View commit details
  5. Copy the full SHA
    12af093 View commit details
  6. Copy the full SHA
    2ba7ea2 View commit details
  7. Copy the full SHA
    bec4e4a View commit details
  8. Copy the full SHA
    53622df View commit details
  9. Copy the full SHA
    ea7dd1c View commit details
  10. Copy the full SHA
    54bd6a1 View commit details
  11. Copy the full SHA
    cbbbfa3 View commit details

Commits on Jul 13, 2021

  1. Fix compatibility table for Angular 11

    akaustav authored and AhsanAyaz committed Jul 13, 2021
    Copy the full SHA
    631a304 View commit details

Commits on Oct 1, 2021

  1. chore(added SAMSUNG SM-T725 in tablet section)

    alexey_androsov authored and AhsanAyaz committed Oct 1, 2021
    Copy the full SHA
    70ff578 View commit details

Commits on Nov 30, 2021

  1. Copy the full SHA
    d4ddcaa View commit details
  2. build(2.2.1): release 🚀

    fixed angular 12 and backward compatibility
    AhsanAyaz committed Nov 30, 2021
    Copy the full SHA
    6423208 View commit details
  3. Copy the full SHA
    333ddaa View commit details
  4. Copy the full SHA
    6a6d57c View commit details
  5. build(3.0.0): release 🚀

    major release with Ivy and angular 13 support
    AhsanAyaz committed Nov 30, 2021
    Copy the full SHA
    76ddeb0 View commit details

Commits on Dec 10, 2021

  1. build(deps): bump ini from 1.3.5 to 1.3.8

    Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
    - [Release notes](https://github.com/isaacs/ini/releases)
    - [Commits](npm/ini@v1.3.5...v1.3.8)
    
    ---
    updated-dependencies:
    - dependency-name: ini
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and AhsanAyaz committed Dec 10, 2021
    Copy the full SHA
    a056f2a View commit details

Commits on Apr 9, 2022

  1. build(deps): bump minimist from 1.2.5 to 1.2.6

    Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
    - [Release notes](https://github.com/substack/minimist/releases)
    - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)
    
    ---
    updated-dependencies:
    - dependency-name: minimist
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Apr 9, 2022
    Copy the full SHA
    30cc463 View commit details

Commits on May 16, 2022

  1. build(deps): bump nanoid from 3.1.30 to 3.3.4

    Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.3.4.
    - [Release notes](https://github.com/ai/nanoid/releases)
    - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
    - [Commits](ai/nanoid@3.1.30...3.3.4)
    
    ---
    updated-dependencies:
    - dependency-name: nanoid
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored May 16, 2022
    Copy the full SHA
    db3e5cc View commit details

Commits on Jul 5, 2022

  1. Copy the full SHA
    ec1ca8e View commit details
  2. Copy the full SHA
    84f0d74 View commit details
  3. Copy the full SHA
    4b1b878 View commit details

Commits on Aug 18, 2022

  1. Copy the full SHA
    516590e View commit details
  2. build(4.0.1): release 🎉

    Added missing samsung tablet
    Updated compodoc to latest
    AhsanAyaz committed Aug 18, 2022
    Copy the full SHA
    73ac4d9 View commit details
  3. Copy the full SHA
    29567f7 View commit details

Commits on Nov 16, 2022

  1. build(deps): bump loader-utils from 2.0.2 to 2.0.4

    Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 to 2.0.4.
    - [Release notes](https://github.com/webpack/loader-utils/releases)
    - [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
    - [Commits](webpack/loader-utils@v2.0.2...v2.0.4)
    
    ---
    updated-dependencies:
    - dependency-name: loader-utils
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Nov 16, 2022
    Copy the full SHA
    822a9b7 View commit details

Commits on Nov 22, 2022

  1. build(deps): bump engine.io from 6.2.0 to 6.2.1

    Bumps [engine.io](https://github.com/socketio/engine.io) from 6.2.0 to 6.2.1.
    - [Release notes](https://github.com/socketio/engine.io/releases)
    - [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
    - [Commits](socketio/engine.io@6.2.0...6.2.1)
    
    ---
    updated-dependencies:
    - dependency-name: engine.io
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Nov 22, 2022
    Copy the full SHA
    3500d77 View commit details

Commits on Dec 2, 2022

  1. build(deps): bump decode-uri-component from 0.2.0 to 0.2.2

    Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
    - [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
    - [Commits](SamVerschueren/decode-uri-component@v0.2.0...v0.2.2)
    
    ---
    updated-dependencies:
    - dependency-name: decode-uri-component
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Dec 2, 2022
    Copy the full SHA
    a75180b View commit details

Commits on Dec 29, 2022

  1. Merge pull request #259 from KoderLabs/dependabot/npm_and_yarn/decode…

    …-uri-component-0.2.2
    
    build(deps): bump decode-uri-component from 0.2.0 to 0.2.2
    jawaidgadiwala authored Dec 29, 2022
    Copy the full SHA
    ee67f94 View commit details
  2. Merge pull request #243 from KoderLabs/dependabot/npm_and_yarn/minimi…

    …st-1.2.6
    
    build(deps): bump minimist from 1.2.5 to 1.2.6
    jawaidgadiwala authored Dec 29, 2022
    Copy the full SHA
    b7c271e View commit details
  3. Merge pull request #246 from KoderLabs/dependabot/npm_and_yarn/nanoid…

    …-3.3.4
    
    build(deps): bump nanoid from 3.1.30 to 3.3.4
    jawaidgadiwala authored Dec 29, 2022
    Copy the full SHA
    691cb95 View commit details
  4. Merge pull request #256 from KoderLabs/dependabot/npm_and_yarn/loader…

    …-utils-2.0.4
    
    build(deps): bump loader-utils from 2.0.2 to 2.0.4
    jawaidgadiwala authored Dec 29, 2022
    Copy the full SHA
    d207547 View commit details
  5. Merge pull request #258 from KoderLabs/dependabot/npm_and_yarn/engine…

    ….io-6.2.1
    
    build(deps): bump engine.io from 6.2.0 to 6.2.1
    jawaidgadiwala authored Dec 29, 2022
    Copy the full SHA
    1d98ef5 View commit details

Commits on Jan 12, 2023

  1. Copy the full SHA
    4de96f0 View commit details
  2. Copy the full SHA
    e18f900 View commit details
  3. chore: update all packages

    Yberion committed Jan 12, 2023
    Copy the full SHA
    fbd7c5d View commit details
  4. Copy the full SHA
    a496a60 View commit details
  5. chore: format all files

    Yberion committed Jan 12, 2023
    Copy the full SHA
    8a1fdfc View commit details
  6. chore: update to Angular 15

    Yberion committed Jan 12, 2023
    Copy the full SHA
    1e65493 View commit details
Showing with 37,588 additions and 38,729 deletions.
  1. +3 −0 .github/FUNDING.yml
  2. +14 −0 .github/ISSUE_TEMPLATE/add-missing-device.md
  3. +38 −0 .github/ISSUE_TEMPLATE/bug_report.md
  4. +20 −0 .github/ISSUE_TEMPLATE/feature_request.md
  5. +26 −0 .github/workflows/main.yml
  6. +21 −0 .github/workflows/pull_request.yml
  7. +2 −1 .gitignore
  8. +4 −11 .travis.yml
  9. +233 −37 CHANGE_LOG.MD
  10. +2 −2 CONTRIBUTING.md
  11. +51 −17 README.MD
  12. +28 −87 angular.json
  13. +12 −0 assets/iomechs-logo-dark.svg
  14. +12 −0 assets/iomechs-logo.svg
  15. +1 −0 assets/logo.svg
  16. +147 −72 docs/classes/AppPage.html
  17. +214 −137 docs/classes/ReTree.html
  18. +355 −258 docs/components/AppComponent.html
  19. +94 −18 docs/contributing.html
  20. +164 −64 docs/coverage.html
  21. +103 −31 docs/dependencies.html
  22. +11 −87 docs/graph/dependencies.svg
  23. +1 −1 docs/images/coverage-badge-documentation.svg
  24. +200 −43 docs/index.html
  25. +524 −460 docs/injectables/DeviceDetectorService.html
  26. +608 −541 docs/injectables/UniversalDeviceDetectorService.html
  27. +182 −42 docs/interfaces/DeviceInfo.html
  28. +2 −2 docs/js/libs/bootstrap-native.js
  29. +11 −10 docs/js/libs/es6-shim.min.js
  30. +46 −14 docs/js/libs/prism.js
  31. +2 −2 docs/js/libs/svg-pan-zoom.min.js
  32. +3 −3 docs/js/libs/tablesort.min.js
  33. +2 −2 docs/js/libs/tablesort.number.min.js
  34. +7 −6 docs/js/libs/vis.min.js
  35. +41 −77 docs/js/menu-wc.js
  36. +40 −0 docs/js/menu-wc_es5.js
  37. +25 −16 docs/js/menu.js
  38. +188 −167 docs/js/routes.js
  39. +3 −3 docs/js/search/lunr.min.js
  40. +71 −56 docs/js/search/search.js
  41. +2 −2 docs/js/search/search_index.js
  42. +86 −10 docs/license.html
  43. +94 −18 docs/miscellaneous/enumerations.html
  44. +100 −28 docs/miscellaneous/functions.html
  45. +708 −551 docs/miscellaneous/variables.html
  46. +87 −45 docs/modules.html
  47. +135 −50 docs/modules/AppModule.html
  48. +25 −25 docs/modules/AppModule/dependencies.svg
  49. +134 −48 docs/modules/AppServerModule.html
  50. +21 −21 docs/modules/AppServerModule/dependencies.svg
  51. +90 −136 docs/overview.html
  52. +167 −85 docs/pipes/KeysPipe.html
  53. +194 −0 docs/properties.html
  54. +6 −5 docs/styles/bootstrap.min.css
  55. +170 −42 docs/styles/compodoc.css
  56. +121 −0 docs/styles/dark.css
  57. +50 −6 docs/styles/laravel.css
  58. +29 −7 docs/styles/material.css
  59. +10 −6 docs/styles/original.css
  60. +21 −7 docs/styles/postmark.css
  61. +169 −135 docs/styles/prism.css
  62. +20 −11 docs/styles/readthedocs.css
  63. +115 −34 docs/styles/reset.css
  64. +46 −5 docs/styles/stripe.css
  65. +40 −6 docs/styles/vagrant.css
  66. +30,871 −34,734 package-lock.json
  67. +67 −58 package.json
  68. +0 −18 projects/demo/.browserslistrc
  69. +13 −13 projects/demo/e2e/protractor.conf.js
  70. +1 −5 projects/demo/e2e/tsconfig.json
  71. +31 −40 projects/demo/server.ts
  72. +41 −36 projects/demo/src/app/app.component.html
  73. +1 −1 projects/demo/src/app/app.component.scss
  74. +18 −29 projects/demo/src/app/app.component.spec.ts
  75. +8 −3 projects/demo/src/app/app.component.ts
  76. +11 −0 projects/demo/src/app/app.config.server.ts
  77. +9 −0 projects/demo/src/app/app.config.ts
  78. +0 −16 projects/demo/src/app/app.module.ts
  79. +1 −3 projects/demo/src/app/pipes/keys.pipe.ts
  80. +0 −30 projects/demo/src/app/server.ts
  81. +0 −10 projects/demo/src/demo.ts
  82. +0 −3 projects/demo/src/environments/environment.prod.ts
  83. +0 −16 projects/demo/src/environments/environment.ts
  84. +6 −0 projects/demo/src/express.tokens.ts
  85. +13 −13 projects/demo/src/index.html
  86. +7 −0 projects/demo/src/main.server.ts
  87. +16 −8 projects/demo/src/main.ts
  88. +2 −12 projects/demo/src/polyfills.ts
  89. +65 −0 projects/demo/src/server.ts
  90. +7 −3 projects/demo/tsconfig.app.json
  91. +0 −18 projects/demo/tsconfig.server.json
  92. +2 −12 projects/demo/tslint.json
  93. +60 −17 projects/ngx-device-detector/README.md
  94. +1 −1 projects/ngx-device-detector/ng-package.json
  95. +30 −4 projects/ngx-device-detector/package.json
  96. +52 −21 projects/ngx-device-detector/src/lib/device-detector.constants.ts
  97. +76 −26 projects/ngx-device-detector/src/lib/device-detector.service.spec.ts
  98. +5 −6 projects/ngx-device-detector/src/lib/device-detector.service.ts
  99. +0 −1 projects/ngx-device-detector/tsconfig.lib.json
  100. +1 −1 projects/ngx-device-detector/tsconfig.lib.prod.json
  101. +2 −12 projects/ngx-device-detector/tslint.json
  102. +6 −0 steps-to-release.md
  103. +13 −7 tsconfig.json
  104. +1 −2 tsconfig.spec.json
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms

github: ahsanayaz
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/add-missing-device.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Add Missing Device
about: Request to add a missing device not being detected by the library
title: "[MISSING DEVICE]"
labels: add device to regexes
assignees: ''

---

## Device User Agent
<!-- Paste the device userAgent here -->

## Expected Output
<!-- Paste the expected output from the `getDeviceInfo()` method -->
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build
on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Lint and Test
run: npm run test && npm run lint
- name: Build
run: npm run build:ci && cp -R dist/demo/browser ./docs/demo
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3.9.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
21 changes: 21 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Lint and Build
on:
pull_request:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Lint and Test
run: npm run test && npm run lint
- name: Build
run: npm run build:ci
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
.vscode

# compiled output
/dist/ngx-device-detector
/dist
/tmp
/out-tsc
# Only exists if Bazel was run
@@ -35,6 +35,7 @@ speed-measure-plugin*.json
.history/*

# misc
/.angular/cache
/.sass-cache
/connect.lock
/coverage
15 changes: 4 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,23 @@
language: node_js
sudo: true
node_js:
- "12.16.3"
- 16

demo/dist: xenial

branches:
only:
- master

before_script:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- sudo apt-get update
- wget -N https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -P ~/
- sudo dpkg -i --force-depends ~/google-chrome-stable_current_amd64.deb
- master

services:
- xvfb

script:
- npm run lint
- npm install
- node_modules/.bin/ng test --project ngx-device-detector --watch=false --code-coverage
- npm run test
- node_modules/.bin/webdriver-manager update
- npm run build:both:ci
- npm run build:ci
- cp -R dist/demo/browser ./docs/demo

deploy:
Loading