microsoft / microsoft/BotFramework-WebChat
Numerous obsolete versions of core-js
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 1.8k
- Forks
- 1.6k
- Avg merge
- 22h 58m
- Merged PRs (30d)
- 2
Description
I have a question
We integrated the WebChat control into our website by including the HTML script tag on our page.
During our compliance and cybersecurity reviews, we encountered an issue: our site is using outdated versions of core-js.
We researched and discovered on GitHub that the command window['__core-js_shared__']?.versions can provide a list of the core-js versions in use.
We found that the WebChat control script adds 10 different version numbers to an array, indicating that several obsolete versions of core-js are being used on this page, as shown in the following image:
I am not very experienced with JavaScript, so I am unsure about the implications of this.
- Are all these versions actually being used on our webpage?
- What are the potential risks?
- Is there a way to configure the script to use only a current version of core-js?
Thanks !
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the WebChat control through the HTML script tag and inspect window['core-js_shared']?.versions as described. Determine whether the listed versions are loaded by WebChat and whether the script exposes a supported way to use a current core-js version. Done should be a confirmed explanation of the versions, risks, and configuration options.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100