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

Package uses a deprecated feature that is being reported as an issue in my Application. #1516

Open
trv-nmontele opened this issue May 7, 2024 · 1 comment
Labels

Comments

@trv-nmontele
Copy link

trv-nmontele commented May 7, 2024

Describe the bug

okta-auth-js has a transitive dependency on 'unload' (direct dependency of broadcast-channel@5.3.0). This is being logged as an issue when running in the Chrome browser.

https://chromestatus.com/feature/5579556305502208

Reproduction Steps?

  • Open up any Frontend application that relies on okta-auth-js in the Chrome browser
  • Look at the issues tab within the Chrome Developer Tools to view the issue

SDK Versions

System:
OS: Windows 10 10.0.19045
CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12800H
Memory: 49.68 GB / 63.71 GB
Binaries:
Node: 18.16.0 - C:\Program Files\nodejs\node.EXE
npm: 9.5.1 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Chromium (123.0.2420.97)
Internet Explorer: 11.0.19041.3636
npmPackages:
@okta/okta-auth-js: ^7.6.0 => 7.6.0
@okta/okta-react: ^6.7.0 => 6.7.0

Additional Information?

Output from above when showing SDK versions doesn't mention the Chrome browser I am using. Using Google Chrome Version 124.0.6367.119 (Official Build) (64-bit)

@jaredperreault-okta
Copy link
Contributor

Seems like they are using this event for iframes: https://github.com/pubkey/unload/blob/master/src/browser.js#L37

I'd report this issue, but their repo has issues disabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants