Bump ua-parser-js from 0.7.31 to 0.7.33 in /website
Bumps ua-parser-js from 0.7.31 to 0.7.33.
Changelog
Sourced from ua-parser-js's changelog.
Version 0.7.31 / 1.0.2
- Fix OPPO Reno A5 incorrect detection
- Fix TypeError Bug
- Use AST to extract regexes and verify them with safe-regex
Version 0.7.32 / 1.0.32
- Add new browser : DuckDuckGo, Huawei Browser, LinkedIn
- Add new OS : HarmonyOS
- Add some Huawei models
- Add Sharp Aquos TV
- Improve detection Xiaomi Mi CC9
- Fix Sony Xperia 1 III misidentified as Acer tablet
- Fix Detect Sony BRAVIA as SmartTV
- Fix Detect Xiaomi Mi TV as SmartTV
- Fix Detect Galaxy Tab S8 as tablet
- Fix WeGame mistakenly identified as WeChat
- Fix included commas in Safari / Mobile Safari version
- Increase UA_MAX_LENGTH to 350
Version 0.7.33 / 1.0.33
- Add new browser : Cobalt
- Identify Macintosh as an Apple device
- Fix ReDoS vulnerability
Version 0.8
Version 0.8 was created by accident. This version is now deprecated and no longer maintained, please update to version 0.7 / 1.0.
Commits
f2d0db0Bump version 0.7.33a6140a1Remove unsafe regex in trim() functiona886604Fix #605 - Identify Macintosh as Apple deviceb814bcdMerge pull request #606 from rileyjshaw/patch-17f71024Fix documentationc239ac5Merge pull request #604 from obecerra3/master8d3c2d3Add new browser: Cobaltd11fc47Bump version 0.7.32b490110Merge branch 'develop' of github.com:faisalman/ua-parser-jscb5da5eMerge pull request #600 from moekm/develop- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.
FYI https://github.com/Samsung/ONE-vscode/issues/1183#issuecomment-1229660526 this is the tool that I've mentioned offline :)
Good it works well, thanks :-D
How to view HTML in vscode?
- VSCode doesn't have built-in support for HTML preview.
- Microsoft/LivePreview extension supports html preview in vscode.
- [ ] TODO add the extension as a dependency after implementing the feature (?)
Preview in microsoft/LivePreview
How to embed?
I found briefly 2 possible ways to achieve our goal. IDK if either of them works yet.
(1) Use trace2html file
npm i traceviewer
./node_modules/traceviewer/tracing/bin/trace2html res/samples/traces/sample.timeline.json
- Not working, python version issue (Missing parentheses in call to 'print')
(2) Vulcanize the viewer
npm i traceviewer
./node_modules/traceviewer/tracing/bin/vulcanize_trace_viewer
- Not working, 'No module named 'py_vulcanize'' issue.
Issue: not enough packages in node_modules/traceviewer
- When I run python program in its original repository, it runs well.
# Printed path and python version
./tracing/bin/trace2html ../ONE-vscode/res/samples/traces/sample.timeline.json ✔ 9161 12:15:22
3.9.12 (main, Apr 5 2022, 06:56:58)
[GCC 7.5.0]
/home/dayo/git/catapult/tracing/third_party/symbols
/home/dayo/git/catapult/common/py_utils
/home/dayo/git/catapult/third_party/webapp2
/home/dayo/git/catapult/third_party/six
/home/dayo/git/catapult/third_party/Paste
/home/dayo/git/catapult/third_party/WebOb
/home/dayo/git/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0
/home/dayo/git/catapult/third_party/vinn
/home/dayo/git/catapult/common/py_vulcanize
/home/dayo/git/catapult
/home/dayo/git/catapult/tracing/bin
/home/dayo/anaconda3/lib/python39.zip
/home/dayo/anaconda3/lib/python3.9
/home/dayo/anaconda3/lib/python3.9/lib-dynload
/home/dayo/anaconda3/lib/python3.9/site-packages
/home/dayo/git/catapult/tracing
../ONE-vscode/res/samples/traces/sample.timeline.html
- When I run python program in installed node_modules, it doesn't work.
- It seems that not enough python packages are included in node packages.
# Printed path and python version
./tracing/bin/trace2html /home/dayo/git/ONE-vscode/res/samples/traces/sample.timeline.json
3.8.16 (default, Mar 2 2023, 03:21:46)
[GCC 11.2.0]
/home/dayo/git/ONE-vscode/node_modules/traceviewer/third_party/webapp2
/home/dayo/git/ONE-vscode/node_modules/traceviewer/third_party/six
/home/dayo/git/ONE-vscode/node_modules/traceviewer/third_party/Paste
/home/dayo/git/ONE-vscode/node_modules/traceviewer/third_party/WebOb
/home/dayo/git/ONE-vscode/node_modules/traceviewer/third_party/vinn
/home/dayo/git/ONE-vscode/node_modules/traceviewer/third_party/py_vulcanize
/home/dayo/git/ONE-vscode/node_modules/traceviewer
/home/dayo/git/ONE-vscode/node_modules/traceviewer/tracing/bin
/home/dayo/anaconda3/envs/py38/lib/python38.zip
/home/dayo/anaconda3/envs/py38/lib/python3.8
/home/dayo/anaconda3/envs/py38/lib/python3.8/lib-dynload
/home/dayo/.local/lib/python3.8/site-packages
/home/dayo/anaconda3/envs/py38/lib/python3.8/site-packages
/home/dayo/git/ONE-vscode/node_modules/traceviewer/tracing
Traceback (most recent call last):
File "./tracing/bin/trace2html", line 13, in <module>
from tracing_build import trace2html
File "/home/dayo/git/ONE-vscode/node_modules/traceviewer/tracing/tracing_build/trace2html.py", line 22, in <module>
from py_vulcanize import generate
ModuleNotFoundError: No module named 'py_vulcanize'
Add catapult as a submodule
Why?
I tried to import only the related catapult directories. It exceeded 3000+ lines changes, as can be seen in this PR
For extensibility, it could be better to import the project as a submodule.
https://github.com/microsoft/vscode-python-tools-extension-template
Let's investigate how to integrate python files.
- It uses
noxto manage python env / dependencies. -
noxinstalls python libraries into bundle/libs. (I think bundling python libs are required for our project, too)