Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF Viewer: Version 0.2.2 of kendo-common is installed #4484

Open
MelvilQ opened this issue Dec 9, 2024 · 1 comment
Open

PDF Viewer: Version 0.2.2 of kendo-common is installed #4484

MelvilQ opened this issue Dec 9, 2024 · 1 comment

Comments

@MelvilQ
Copy link

MelvilQ commented Dec 9, 2024

Description

When installing the package @progress/kendo-angular-pdfviewer via npm, it uses kendo-common 0.2.2 which has a bug in detectDesktopBrowser (#3622).

Steps To Reproduce

npm init -y
npm i @progress/kendo-angular-pdfviewer

Now open package-lock.json and find this:

    "node_modules/@progress/kendo-pdfviewer-common": {
      "version": "0.3.3",
      "resolved": "https://registry.npmjs.org/@progress/kendo-pdfviewer-common/-/kendo-pdfviewer-common-0.3.3.tgz",
      "integrity": "sha512-dRs/j7HpdLwpiEiQeFHUNuogF5INJdOn5ISbeYADl+xl9X6Xl/mqymByfrH7rDSeTrwn0MNar87etmAqgsnb5g==",
      "license": "SEE LICENSE IN LICENSE.md",
      "dependencies": {
        "@progress/kendo-common": "^0.2.2",
        "pdfjs-dist": "^4.3.136",
        "tslib": "^2.4.1"
      },
      "engines": {
        "node": ">=18.0.0",
        "npm": ">=8.0.0"
      },
      "peerDependencies": {
        "@progress/kendo-draggable": "^3.1.0",
        "@progress/kendo-file-saver": "^1.1.1"
      }
    },

Screenshots or video

No response

Actual Behavior

kendo-common 0.2.2 is used

Expected Behavior

latest version of kendo-common is used

Browser

All

Browser version

latest

OS type

Windows

OS version

No response

Last working version of the Kendo UI for Angular package (if regression).

No response

@dtopalov
Copy link
Contributor

Hello @MelvilQ,

Thank you for reporting this issue. We logged it in our private kendo-pdfviewer-common package repo, as this where the mentioned outdated dependency comes from. Once the issue is fixed, we will update this public item accordingly too.

Meanwhile, developers can install the latest kendo-common package dependency in their projects using --force.

We apologize for the caused inconvenience.

@dtopalov dtopalov self-assigned this Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants