instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ysugimoto__falco__580 | ysugimoto/falco | 580 | defect | 4335c58ffa889828db27aec24f2f02a4ea418ddd | b5c6123067e91c5507d5841918706a376ccb50e4 | fix(simulate): prevent response headers from appearing as body in proxy mode | ## Summary
Fix `falco simulate --proxy` returning HTTP response headers as body content, a regression introduced by #509.
## Problem
#509 changed `sendResponse()` to use `(*http.Response).Write(w)` to preserve custom status text set via `obj.response`. However, `Response.Write()` writes the full raw HTTP respo... | diff --git a/interpreter/handler.go b/interpreter/handler.go
index 8c48d4b3..46ec769e 100644
--- a/interpreter/handler.go
+++ b/interpreter/handler.go
@@ -89,15 +89,45 @@ func (i *Interpreter) sendResponse(w ghttp.ResponseWriter) {
return
}
- // We have to use (*http.Response).Write(io.Writer)
- // in order to w... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add tests to ensure the custom status text (obj.response) is preserved.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
ysugimoto__falco__582 | ysugimoto/falco | 582 | defect | 198ea32eadc71ccdd8b3e2d6c91467ea68878db0 | e4ded296bf2bfb46f8ca517795d5793008a67834 | feat(linter): warn when overwriting Vary header | - Add `set-statement/overwrite-vary` rule that warns when using `=` to overwrite the Vary header, which may discard origin-set values
- Suggest subfield syntax (e.g. `set beresp.http.Vary:Cookie = ""`) with the actual value extracted from string literal RHS
- Check `beresp.http.Vary`, `resp.http.Vary`, and `obj.http.... | diff --git a/cmd/falco/runner_test.go b/cmd/falco/runner_test.go
index 15ee4209..ade74277 100644
--- a/cmd/falco/runner_test.go
+++ b/cmd/falco/runner_test.go
@@ -514,8 +514,8 @@ func TestFastlyGeneratedVCLLinting(t *testing.T) {
if ret.Infos != 2 {
t.Errorf("Infos expects 2, got %d", ret.Infos)
}
- if ret.Warni... | 1 | 1 | 0 | [{"id": "G0", "claim": "The subfield suggestion appended to the OVERWRITE_VARY warning is confusing when the right-hand side is not a simple string literal (it suggests `set beresp.http.Vary:value = \"\"`), so it should be dropped in that case since the overwrite warning is useful on its own.", "category": "correctness... | null |
ysugimoto__falco__583 | ysugimoto/falco | 583 | defect | 79c89908c0922dbd525bca1538ead528869957e9 | 56824359313de4ff5694e3d2bba68e55fc1bb5ec | feat(linter): add `regex/url-extension` rule | - Warn when `req.url` or `req.url.path` is regex-matched against file extension patterns (e.g. `\.jpg$`, `\.(avif|gif|jpg)$`)
- Suggest using `req.url.ext` with the correct syntax in the warning (e.g. `req.url.ext == "jpg"` or `req.url.ext ~ "^(avif|gif|jpg)$"`)
- Add `extractExtensionsFromRegex` and `buildExtSuggest... | diff --git a/linter/errors.go b/linter/errors.go
index 53b39b46..3b5a3dc5 100644
--- a/linter/errors.go
+++ b/linter/errors.go
@@ -430,6 +430,14 @@ func CapturedRegexVariableOverridden(name string, m *ast.Meta) *LintError {
return err.Match(REGEX_MATCHED_VALUE_MAY_OVERRIDE)
}
+func RegexUrlExtension(m *ast.Meta, s... | 3 | 2 | 2 | [{"id": "G0", "claim": "Maybe add an entry for the new rule to docs/linter.md.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `(?:\\^.*)?` prefix of extensionMatchingRegex is too permissive, so a regex like `^/images/logo\\.jpg$` (anchored pat... | null |
ysugimoto__falco__67 | ysugimoto/falco | 67 | defect | 33001ecd1125150201efe43711226ce9eda4341b | c894b25a1590d6b4737e02fb34f39adb800fed54 | Respect Ratelimit variables in context | **What does this PR do?**
Right now Falco doesn't know about the penaltybox and ratecounter variables that are declared.
The linter will throw the error "undefined variables" for them.
This PR aims to fix that.
Also this PR adds support for predefined variables that Fastly provides for the ratelimiter :) | diff --git a/.gitignore b/.gitignore
index b75848cc..14eb5f3b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,5 @@
falco
dist/*
playground
+
+.vscode
diff --git a/__generator__/builtin.yml b/__generator__/builtin.yml
index 7016cee8..8b2b4b6f 100644
--- a/__generator__/builtin.yml
+++ b/__generator__/builtin.ym... | 2 | 1 | 0 | [{"id": "G0", "claim": "The pull request changes the ttl argument type from TIME to RTIME in ratelimit.check_rate (sixth argument) and ratelimit.check_rates (eleventh argument), which contradicts the Fastly documentation.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id"... | null |
yt-dlp__yt-dlp__10093 | yt-dlp/yt-dlp | 10,093 | defect | db50f19d76c6870a5a13d0cab9287d684fd7449a | 7b3a6ff810128ec9519a9689fabcdf204b4c5b39 | [rh:curl_cffi] Support curl-cffi 0.7.X | **IMPORTANT**: PRs without the template will be CLOSED
### Description of your *pull request* and other information
<!--
Explanation of your *pull request* in arbitrary form goes here. Please **make sure the description explains the purpose and effect** of your *pull request* and is worded well enough to be un... | diff --git a/pyproject.toml b/pyproject.toml
index da6403ec7cc69..0fd04d690814b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -53,7 +53,7 @@ dependencies = [
[project.optional-dependencies]
default = []
-curl-cffi = ["curl-cffi==0.5.10; implementation_name=='cpython'"]
+curl-cffi = ["curl-cffi>=0.5.10,!=0.6.*... | 4 | 4 | 1 | [{"id": "G0", "claim": "Remove the leftover debug `print(curl_cffi_version)` statement from the module-level version check.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Replace the `group_or_none` helper with an inline `re.match(r'(\\d+)?', n).gro... | null |
yt-dlp__yt-dlp__10448 | yt-dlp/yt-dlp | 10,448 | defect | 644d84d7780072811447163f14bc2934780fa96e | f107e469edb8cabaf3ae1e719c2ef25dbf91f276 | [networking] Add `legacy_ssl` request extension | **IMPORTANT**: PRs without the template will be CLOSED
### Description of your *pull request* and other information
- Add `legacy_ssl` request extension to allow `legacy_ssl_support`/`--legacy-server-connect` to be toggled per-request.
- Supported by all handlers, with CurlCFFIRH ignoring it
- Added some misc ... | diff --git a/test/test_networking.py b/test/test_networking.py
index 983c89e2e3f8..20ba1b0f0a7b 100644
--- a/test/test_networking.py
+++ b/test/test_networking.py
@@ -265,6 +265,21 @@ def do_GET(self):
self.end_headers()
self.wfile.write(payload)
self.finish()
+ elif self.p... | 3 | 3 | 0 | [{"id": "G0", "claim": "The test server code added in test/test_networking.py (test_legacy_ssl_extension) allows insecure TLS protocol versions TLSv1 and TLSv1_1 via its ssl.SSLContext call.", "category": "security", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test serve... | null |
yt-dlp__yt-dlp__10470 | yt-dlp/yt-dlp | 10,470 | defect | 22870b81bad97dfa6307a7add44753b2dffc76a9 | 6bcc8a580eac15838a4f7161b8e87489dcc124ce | [ie/digitalconcerthall] Extract HEVC and FLAC formats | Addresses https://github.com/yt-dlp/yt-dlp/issues/10228#issuecomment-2198592768
<details open><summary>Template</summary> <!-- OPEN is intentional -->
### Before submitting a *pull request* make sure you have:
- [x] At least skimmed through [contributing guidelines](https://github.com/yt-dlp/yt-dlp/blob/ma... | diff --git a/README.md b/README.md
index 08cca0a45115e..7b7c084f90eb2 100644
--- a/README.md
+++ b/README.md
@@ -1859,6 +1859,9 @@ The following extractors use this feature:
#### bilibili
* `prefer_multi_flv`: Prefer extracting flv formats over mp4 for older videos that still provide legacy formats
+#### digitalcon... | 1 | 1 | 0 | [{"id": "G0", "claim": "The album_artists traverse_obj call should cast the extracted artist names to str by adding the {str} transformation, per the reviewer's suggestion.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
yt-dlp__yt-dlp__10611 | yt-dlp/yt-dlp | 10,611 | defect | 4b69e1b53ea21e631cd5dd68ff531e2f1671ec17 | ee313327040aa879983d7b1d8717f7401ce9b78a | [ie/youtube] Fix `n` function name extraction for player `20dfca59` | Also adds a fallback regex search which looks for the function itself
Closes #10608
<details open><summary>Template</summary> <!-- OPEN is intentional -->
### Before submitting a *pull request* make sure you have:
- [x] At least skimmed through [contributing guidelines](https://github.com/yt-dlp/yt-dlp/blob... | diff --git a/test/test_youtube_signature.py b/test/test_youtube_signature.py
index ae167d16d454..d37df7a2eaf7 100644
--- a/test/test_youtube_signature.py
+++ b/test/test_youtube_signature.py
@@ -175,6 +175,10 @@
'https://www.youtube.com/s/player/3400486c/player_ias.vflset/en_US/base.js',
'lL46g3XifCKU... | 4 | 1 | 0 | [{"id": "G0", "claim": "Some of the backslash escapes in the fallback regex (\\}; and [\"\\']) are unnecessary and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The generic fallback pattern should be folded into the first _se... | null |
yt-dlp__yt-dlp__10653 | yt-dlp/yt-dlp | 10,653 | defect | 919540a9644e55deb78cdd6751757ec8fdaf76f4 | 1ee96a718982bb0c91cc1e10d5cdf3837d9bd2b1 | Add extractor helpers | **IMPORTANT**: PRs without the template will be CLOSED
### Description of your *pull request* and other information
Adds the following changes:
- `session_cookies` method to login hint
- `traversal`:
- `filter` key
- `require` helper
- `find_element` and `find_elements` helpers
- `subs_list_to_dict` hel... | diff --git a/test/test_traversal.py b/test/test_traversal.py
index 5d9fbe1d162a..3c7f41994ceb 100644
--- a/test/test_traversal.py
+++ b/test/test_traversal.py
@@ -4,8 +4,18 @@
import pytest
-from yt_dlp.utils import dict_get, int_or_none, str_or_none
-from yt_dlp.utils.traversal import traverse_obj
+from yt_dlp.ut... | 6 | 5 | 1 | [{"id": "G0", "claim": "In the `filter` branch of `apply_path`, assigning the filtered iterator to `obj` instead of `objs` looks wrong; it should be `objs = filter(None, objs)` to match the other cases.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
yt-dlp__yt-dlp__11277 | yt-dlp/yt-dlp | 11,277 | defect | fbc66e3ab35743cc847a21223c67d88bb463cd9c | 97f4f03d1a72e18ae26ce248f395075db1f98ed9 | Add option for specifying plugins directories | Closes #3260
**IMPORTANT**: PRs without the template will be CLOSED
### Description of your *pull request* and other information
<!--
Explanation of your *pull request* in arbitrary form goes here. Please **make sure the description explains the purpose and effect** of your *pull request* and is worded well... | diff --git a/README.md b/README.md
index 1cafe51d5191..35f7baec9d2b 100644
--- a/README.md
+++ b/README.md
@@ -348,6 +348,9 @@ If you fork the project on GitHub, you can run your fork's [build workflow](.git
containing directory ("-" for stdin). Can be
... | 13 | 11 | 2 | [{"id": "G0", "claim": "The feature should be implemented using an environment variable similar to YTDLP_NO_PLUGINS, with the command-line flag modifying the env var, multiple inputs merged and a `none` sentinel to reset.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1... | null |
yt-dlp__yt-dlp__11425 | yt-dlp/yt-dlp | 11,425 | defect | a6783a3b9905e547f6c1d4df9d7c7999feda8afa | 6db90568112186b9c0df15c8a4eb522d017edb3e | [cookies] Support chrome table version 24 | ### Decoded Chrome cookies have 32 extra bytes as prefix which mess with unicde decoding
Fixes issue discussed in thread at https://github.com/yt-dlp/yt-dlp/issues/6564
Fixes #6564
<details open><summary>Template</summary> <!-- OPEN is intentional -->
### Before submitting a *pull request* make sure you ha... | diff --git a/test/test_cookies.py b/test/test_cookies.py
index e1271f67eb51..ddfc6a5a5a2b 100644
--- a/test/test_cookies.py
+++ b/test/test_cookies.py
@@ -114,6 +114,15 @@ def test_chrome_cookie_decryptor_windows_v10(self):
decryptor = WindowsChromeCookieDecryptor('', Logger())
self.assertEqua... | 2 | 2 | 1 | [{"id": "G0", "claim": "The 32-byte hash-prefix cut is applied without regard to the cookie storage version; it should be applied based on the meta table version so older or forked databases keep working.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"... | null |
yt-dlp__yt-dlp__11508 | yt-dlp/yt-dlp | 11,508 | defect | 6b43a8d84b881d769b480ba6e20ec691e9d1b92d | 909f20a31f435dfe5d4d9e19e33130fbfba4a7fc | [utils] `subs_list_to_dict`: Add `lang` default parameter | **IMPORTANT**: PRs without the template will be CLOSED
### Description of your *pull request* and other information
<!--
Explanation of your *pull request* in arbitrary form goes here. Please **make sure the description explains the purpose and effect** of your *pull request* and is worded well enough to be un... | diff --git a/test/test_traversal.py b/test/test_traversal.py
index d48606e99cca..22f64d2d217f 100644
--- a/test/test_traversal.py
+++ b/test/test_traversal.py
@@ -507,6 +507,37 @@ def test_subs_list_to_dict(self):
{'url': 'https://example.com/subs/en1', 'ext': 'ext'},
{'url': 'https://example.... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `lang` keyword parameter of `subs_list_to_dict` should default to `'und'` instead of `None`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
yt-dlp__yt-dlp__11652 | yt-dlp/yt-dlp | 11,652 | defect | 4b5eec0aaa7c02627f27a386591b735b90e681a8 | 8e45684816a0743e282a8267dcd30b0fdbc60f7b | [networking] Add `keep_header_casing` extension | **IMPORTANT**: PRs without the template will be CLOSED
### Description of your *pull request* and other information
<!--
Explanation of your *pull request* in arbitrary form goes here. Please **make sure the description explains the purpose and effect** of your *pull request* and is worded well enough to be un... | diff --git a/test/test_networking.py b/test/test_networking.py
index d96624af18ec..f4bc4f08c3b7 100644
--- a/test/test_networking.py
+++ b/test/test_networking.py
@@ -720,6 +720,15 @@ def test_allproxy(self, handler):
rh, Request(
f'http://127.0.0.1:{self.http_port}/headers... | 2 | 2 | 1 | [{"id": "G0", "claim": "CurlCFFI should not silently pop the keep_header_casing extension in _check_extensions, since curl-cffi does not support keeping header casing sometimes (e.g. HTTP/2); the line should be removed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"... | null |
yt-dlp__yt-dlp__11902 | yt-dlp/yt-dlp | 11,902 | defect | 3905f64920ed078d9eeb5640884f5854e01d744d | bcda6e49b060e9e8512fcb831f6bcff1eb493a98 | [core] Calculate date by `strftime_or_none`; fix seconds in `datetime_round` | **IMPORTANT**: PRs without the template will be CLOSED
### Description of your *pull request* and other information
<!--
Explanation of your *pull request* in arbitrary form goes here. Please **make sure the description explains the purpose and effect** of your *pull request* and is worded well enough to be un... | diff --git a/test/test_utils.py b/test/test_utils.py
index b3de14198e1d..b7c458b74d4f 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -98,11 +98,13 @@
remove_start,
render_table,
replace_extension,
+ datetime_round,
rot47,
sanitize_filename,
sanitize_path,
sanitize_url,... | 4 | 4 | 0 | [{"id": "G0", "claim": "Write the time_scale literal in a more readable form such as 1_000_000 or 1E6 instead of 1000000.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment block above datetime_from_timestamp needs cleanup to be coherent... | null |
yt-dlp__yt-dlp__1201 | yt-dlp/yt-dlp | 1,201 | defect | 705e7c2005dfe67a905e18736c9f6345ee9d386b | e1debedcb218b5000c4f162e2deb85ed133d9c35 | [microsoftstream] Add new extractor | ## Please follow the guide below
- You will be asked some questions, please read them **carefully** and answer honestly
- Put an `x` into all the boxes [ ] relevant to your *pull request* (like that [x])
- Use *Preview* tab to see how your *pull request* will actually look like
---
### Before submitting a *p... | diff --git a/yt_dlp/extractor/extractors.py b/yt_dlp/extractor/extractors.py
index 8c5b8b16077a..7a7fe6e7878a 100644
--- a/yt_dlp/extractor/extractors.py
+++ b/yt_dlp/extractor/extractors.py
@@ -760,6 +760,7 @@
from .mgoon import MgoonIE
from .mgtv import MGTVIE
from .miaopai import MiaoPaiIE
+from .microsoftstream ... | 6 | 5 | 4 | [{"id": "G0", "claim": "Add at least one proper test (beyond 'only_matching' URL matches) for the new MicrosoftStreamIE extractor.", "category": "testing", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Build the Authorization header with an f-string instead of string concatenati... | null |
yt-dlp__yt-dlp__12670 | yt-dlp/yt-dlp | 12,670 | defect | 2ee3a0aff9be2be3bea60640d3d8a0febaf0acb6 | 7d449cc3d6ca8c21308fb2fac857174a04d7fbf1 | [rh:curl_cffi] Support `curl_cffi` 0.10.x | <!--
**IMPORTANT**: PRs without the template will be CLOSED
Due to the high volume of pull requests, it may be a while before your PR is reviewed.
Please try to keep your pull request focused on a single bugfix or new feature.
Pull requests with a vast scope and/or very large diff will take mu... | diff --git a/pyproject.toml b/pyproject.toml
index 2a0008a45a41..deb2228d3fb2 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -55,8 +55,7 @@ default = [
"websockets>=13.0",
]
curl-cffi = [
- "curl-cffi==0.5.10; os_name=='nt' and implementation_name=='cpython'",
- "curl-cffi>=0.5.10,!=0.6.*,<0.7.2; os_n... | 3 | 3 | 2 | [{"id": "G0", "claim": "The ImportError message should read 'Only curl_cffi versions 0.5.10 and 0.10.X are supported' instead of '0.10+', since 0.11 would raise it too.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The change makes chrome-99:andr... | null |
yt-dlp__yt-dlp__12748 | yt-dlp/yt-dlp | 12,748 | defect | 336b33e72fe0105a33c40c8e5afdff720e17afdb | c13b821354bfdf23aa0113163a03274ceaa77934 | [ie/youtube] Fix nsig extraction for player `4fcd6e4a` | <!--
**IMPORTANT**: PRs without the template will be CLOSED
Due to the high volume of pull requests, it may be a while before your PR is reviewed.
Please try to keep your pull request focused on a single bugfix or new feature.
Pull requests with a vast scope and/or very large diff will take mu... | diff --git a/test/test_youtube_signature.py b/test/test_youtube_signature.py
index 453caacd6553..dd12308ae28e 100644
--- a/test/test_youtube_signature.py
+++ b/test/test_youtube_signature.py
@@ -243,6 +243,10 @@
'https://www.youtube.com/s/player/363db69b/player_ias.vflset/en_US/base.js',
'eWYu5d5YeY_4... | 1 | 1 | 1 | [{"id": "G0", "claim": "The array-literal alternative of the player JS global-variable regex should be rewritten to allow whitespace before array elements and to match repeated comma-separated quoted-string elements, as in the suggested regex.", "category": "correctness", "verdict": "supported", "priority": "P1", "scop... | null |
yt-dlp__yt-dlp__13234 | yt-dlp/yt-dlp | 13,234 | defect | 2685654a37141cca63eda3a92da0e2706e23ccfd | 2bed3c07a72f835a6d3e8c093ee7c2787ebf475a | [ie/youtube] Add PO token support for subtitles | Closes #13075
<details open><summary>Template</summary> <!-- OPEN is intentional -->
### Before submitting a *pull request* make sure you have:
- [x] At least skimmed through [contributing guidelines](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#developer-instructions) including [yt-dlp coding ... | diff --git a/test/test_pot/test_pot_builtin_utils.py b/test/test_pot/test_pot_builtin_utils.py
index 1682e42a16fb..a95fc4e15941 100644
--- a/test/test_pot/test_pot_builtin_utils.py
+++ b/test/test_pot/test_pot_builtin_utils.py
@@ -15,6 +15,7 @@ class TestGetWebPoContentBinding:
for context, is_authenticated,... | 9 | 9 | 2 | [{"id": "G0", "claim": "Use direct dictionary indexing for innertube_client_name instead of the defensive traverse_obj call.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Reword the added comment to 'Avoid duplication if we've already got everything we ... | null |
yt-dlp__yt-dlp__13389 | yt-dlp/yt-dlp | 13,389 | defect | cc749a8a3b8b6e5c05318868c72a403f376a1b38 | 4746e7554a1662e903f6baeb5bc234e9aa148a89 | [ie/youtube] Add `tv_simply` player client | <!--
**IMPORTANT**: PRs without the template will be CLOSED
Due to the high volume of pull requests, it may be a while before your PR is reviewed.
Please try to keep your pull request focused on a single bugfix or new feature.
Pull requests with a vast scope and/or very large diff will take mu... | diff --git a/README.md b/README.md
index 6e2dc6243cdf..75de66a9764e 100644
--- a/README.md
+++ b/README.md
@@ -1797,7 +1797,7 @@ The following extractors use this feature:
#### youtube
* `lang`: Prefer translated metadata (`title`, `description` etc) of this language code (case-sensitive). By default, the video prima... | 2 | 2 | 1 | [{"id": "G0", "claim": "Hardcoding a userAgent for the tv_simply client is not clearly worth doing — it would be purely speculative (unknown which user agents TVHTML5_SIMPLY is used with) and would prevent users overriding it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i... | null |
yt-dlp__yt-dlp__13403 | yt-dlp/yt-dlp | 13,403 | defect | 4e7c1ea346b510280218b47e8653dbbca3a69870 | e1090a7721f15e013b3ae57fd113a9dbf31195eb | [ie/youtube] Rework nsig function name extraction | <!--
**IMPORTANT**: PRs without the template will be CLOSED
Due to the high volume of pull requests, it may be a while before your PR is reviewed.
Please try to keep your pull request focused on a single bugfix or new feature.
Pull requests with a vast scope and/or very large diff will take mu... | diff --git a/test/test_youtube_signature.py b/test/test_youtube_signature.py
index 3f777aed7a47..58231272c146 100644
--- a/test/test_youtube_signature.py
+++ b/test/test_youtube_signature.py
@@ -320,6 +320,10 @@
'https://www.youtube.com/s/player/59b252b9/player_ias.vflset/en_US/base.js',
'D3XWVpYgwhLL... | 4 | 4 | 2 | [{"id": "G0", "claim": "The one-line first pattern declaration exceeds the line-length limit and should be reformatted as a multi-line string as suggested.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The second pattern declaration should be r... | null |
yt-dlp__yt-dlp__13821 | yt-dlp/yt-dlp | 13,821 | defect | ed24640943872c4cf30d7cc4601bec87b50ba03c | ea6de60fceba8f1a69230e7016cd880b1b79792c | Deprecation of various options | <!--
**IMPORTANT**: PRs without the template will be CLOSED
Due to the high volume of pull requests, it may be a while before your PR is reviewed.
Please try to keep your pull request focused on a single bugfix or new feature.
Pull requests with a vast scope and/or very large diff will take mu... | diff --git a/README.md b/README.md
index f34ac19c8a6d..a472cb693788 100644
--- a/README.md
+++ b/README.md
@@ -224,8 +224,6 @@ The following provide support for impersonating browser requests. This may be re
### Deprecated
-* [**avconv** and **avprobe**](https://www.libav.org) - Now **deprecated** alternative to f... | 4 | 4 | 0 | [{"id": "G0", "claim": "The deprecated include_live_dash extractor-argument handling (and the related deprecated include_incomplete_formats handling) in _video.py could now be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The deprecati... | null |
yt-dlp__yt-dlp__14071 | yt-dlp/yt-dlp | 14,071 | defect | d8200ff0a4699e06c9f7daca8f8531f8b98e68f2 | b939963e560e884ea3f9197e69ee2cca2761811b | [utils] Add improved `jwt_encode` function | Deprecates the incorrectly implemented `jwt_encode_hs256` util and replaces it with an improved `jwt_encode` function.
Problems with the original `jwt_encode_hs256` implementation:
- It encodes with `base64.b64encode` (wrong) instead of `base64.urlsafe_b64encode`
- It doesn't strip trailing `=`s from the encoded t... | diff --git a/pyproject.toml b/pyproject.toml
index d8c3d9e8226c..35f81423a8ed 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -315,6 +315,7 @@ banned-from = [
"yt_dlp.utils.error_to_compat_str".msg = "Use `str` instead."
"yt_dlp.utils.bytes_to_intlist".msg = "Use `list` instead."
"yt_dlp.utils.intlist_to_bytes".... | 1 | 1 | 0 | [{"id": "G0", "claim": "The PR author's own XXX comment leaves the return type of jwt_encode undecided (bytes or str) and the reviewer says str would make more sense, since callers would convert to str anyway.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
yt-dlp__yt-dlp__14471 | yt-dlp/yt-dlp | 14,471 | defect | 88e2a2de8e2fb247b3e2c55891625b7a148f09e5 | 4b6a1787c2d79812505938648cf8b57c04cb2083 | [ie/youtube] Detect experiment binding GVS PO Token to video id | <!--
**IMPORTANT**: PRs without the template will be CLOSED
Due to the high volume of pull requests, it may be a while before your PR is reviewed.
Please try to keep your pull request focused on a single bugfix or new feature.
Pull requests with a vast scope and/or very large diff will take mu... | diff --git a/test/test_pot/test_pot_builtin_utils.py b/test/test_pot/test_pot_builtin_utils.py
index 7645ba601f2b..15a25cff2ff2 100644
--- a/test/test_pot/test_pot_builtin_utils.py
+++ b/test/test_pot/test_pot_builtin_utils.py
@@ -45,3 +45,8 @@ def test_no_visitor_id(self, pot_request):
def test_invalid_base64(sel... | 1 | 1 | 0 | [{"id": "G0", "claim": "The newly added experiment-detection lines can be shortened by dropping the redundant {str} filter from the traverse_obj call and simplifying the flag check, e.g. `if 'true' in traverse_obj(experiments, (..., 'html5_generate_content_po_token', -1)):`.", "category": "maintainability", "verdict": ... | null |
yt-dlp__yt-dlp__14577 | yt-dlp/yt-dlp | 14,577 | defect | 5513036104ed9710f624c537fb3644b07a0680db | cca96be138f57e1537ad66fee714eb075fadeebf | Fix `--parse-metadata` when `TO` is a single field name | <!--
**IMPORTANT**: PRs without the template will be CLOSED
Due to the high volume of pull requests, it may be a while before your PR is reviewed.
Please try to keep your pull request focused on a single bugfix or new feature.
Pull requests with a vast scope and/or very large diff will take mu... | diff --git a/yt_dlp/postprocessor/metadataparser.py b/yt_dlp/postprocessor/metadataparser.py
index 1d6054294eaa..55154da7c105 100644
--- a/yt_dlp/postprocessor/metadataparser.py
+++ b/yt_dlp/postprocessor/metadataparser.py
@@ -43,6 +43,8 @@ def format_to_regex(fmt):
'(?P<title>.+)\ \-\ (?P<artist>.+)'
... | 3 | 3 | 1 | [{"id": "G0", "claim": "The early return in format_to_regex should build the pattern with an rf-string instead of string concatenation.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should add test(s) covering the changed forma... | null |
yt-dlp__yt-dlp__14753 | yt-dlp/yt-dlp | 14,753 | defect | 70f1098312fe53bc85358f7bd624370878b2fa28 | 728eb467ffa0e2ca31d5c995f773d6b078526a43 | [ie/web.archive:youtube] Improve extraction | <!--
**IMPORTANT**: PRs without the template will be CLOSED
Due to the high volume of pull requests, it may be a while before your PR is reviewed.
Please try to keep your pull request focused on a single bugfix or new feature.
Pull requests with a vast scope and/or very large diff will take mu... | diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py
index 72dfc2028808..2705accb760c 100644
--- a/test/test_YoutubeDL.py
+++ b/test/test_YoutubeDL.py
@@ -13,12 +13,10 @@
import contextlib
import copy
-import itertools
import json
from test.helper import FakeYDL, assertRegexpMatches, try_rm
from yt_dlp... | 2 | 2 | 0 | [{"id": "G0", "claim": "The no-formats message should be reworded to 'The requested video is not archived or indexed' instead of mentioning indexing issues with web.archive.org.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The class-level itag m... | null |
yt-dlp__yt-dlp__14970 | yt-dlp/yt-dlp | 14,970 | defect | c96e9291ab7bd6e7da66d33424982c8b0b4431c7 | e02ce6452c6a37f9d1e40e89171fc00e44e85a9e | [test] Implement flakyness support | <!--
**IMPORTANT**: PRs without the template will be CLOSED
Due to the high volume of pull requests, it may be a while before your PR is reviewed.
Please try to keep your pull request focused on a single bugfix or new feature.
Pull requests with a vast scope and/or very large diff will take mu... | diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml
index ae3dc95e1b3b..eb300571bee6 100644
--- a/.github/workflows/core.yml
+++ b/.github/workflows/core.yml
@@ -65,6 +65,24 @@ jobs:
- name: Run tests
timeout-minutes: 15
continue-on-error: False
+ shell: bash
run: |
+ ... | 8 | 8 | 5 | [{"id": "G0", "claim": "The source/target values should be provided as a job-level env block instead of being interpolated inline in the run script, with source falling back to 'master' when the event is not a push.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G... | null |
yt-dlp__yt-dlp__15054 | yt-dlp/yt-dlp | 15,054 | defect | 5977782142ca7e41240f07202cc9b8dcc087b401 | 724dc85a98282684ec34de87f28b314eec029706 | [ie/tiktok] Extract `save_count` | ### Description of your *pull request* and other information
Add bookmark count when run `--dump-json`
Fixes #15053
### Before submitting a *pull request* make sure you have:
- [x] At least skimmed through [contributing guidelines](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#developer-instr... | diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py
index d6e2596ae171..3b986badb083 100644
--- a/yt_dlp/extractor/common.py
+++ b/yt_dlp/extractor/common.py
@@ -348,6 +348,7 @@ class InfoExtractor:
duration: Length of the video in seconds, as an integer or float.
view_count: How ma... | 8 | 6 | 5 | [{"id": "G0", "claim": "The pull request extracts data into `bookmark_count`, which is not a valid infodict field of yt-dlp.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The save/bookmark count field is unfit for inclusion in yt-dlp core, and anyo... | null |
yt-dlp__yt-dlp__15357 | yt-dlp/yt-dlp | 15,357 | defect | ff61bef041d1f69fec1044f783fb938c005128af | 103886ec997249585bf9e058c34c2f6f29443fba | [utils] `unified_timestamp`: Support an offset for timezone-less datetimes | <!--
**IMPORTANT**: PRs without the template will be CLOSED
Due to the high volume of pull requests, it may be a while before your PR is reviewed.
Please try to keep your pull request focused on a single bugfix or new feature.
Pull requests with a vast scope and/or very large diff will take mu... | diff --git a/test/test_utils.py b/test/test_utils.py
index 72f0eb7f7651..ce865511c608 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -489,6 +489,10 @@ def test_unified_timestamps(self):
self.assertEqual(unified_timestamp('Wednesday 31 December 1969 18:01:26 MDT'), 86)
self.assertEqual(uni... | 3 | 2 | 0 | [{"id": "G0", "claim": "Eliminate the intermediate `default` variable and shorten the `default` expression to a truthiness check, since `extract_timezone` ignores falsy `default` values anyway.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Defa... | null |
yt-dlp__yt-dlp__15387 | yt-dlp/yt-dlp | 15,387 | defect | 15263d049cb3f47e921b414782490052feca3def | 3068103a9904728b3be933ca1af599ca0dbde445 | [build] Harden CI/CD pipeline |
> [!IMPORTANT]
> **This pull request's changes to secret handling in the release workflows may be a breaking change for forks that are using any secrets other than `GPG_SIGNING_KEY` or `ARCHIVE_REPO_TOKEN`**.
>
> Previously, the release workflow would try to resolve a token secret name based on the `target` or `s... | diff --git a/.github/actionlint.yml b/.github/actionlint.yml
index bdd3901a3725..ee319fef540c 100644
--- a/.github/actionlint.yml
+++ b/.github/actionlint.yml
@@ -1,5 +1,4 @@
config-variables:
- - KEEP_CACHE_WARM
- PUSH_VERSION_COMMIT
- UPDATE_TO_VERIFICATION
- PYPI_PROJECT
diff --git a/.github/workflows/bui... | 2 | 1 | 0 | [{"id": "G0", "claim": "The leftover 'cache_requirements': True matrix entry and the exe.setdefault('cache_requirements', False) line in build.yml should be removed, since the cache steps they fed were already deleted by this pull request.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scop... | null |
yt-dlp__yt-dlp__15568 | yt-dlp/yt-dlp | 15,568 | defect | 27afb31edc492cb079f9bce9773498d08e568ff3 | f25a15b19aafea9111a698015e622baef4277f36 | [utils] `devalue`: Fix calling reviver on cached value | <!--
**IMPORTANT**: PRs without the template will be CLOSED
Due to the high volume of pull requests, it may be a while before your PR is reviewed.
Please try to keep your pull request focused on a single bugfix or new feature.
Pull requests with a vast scope and/or very large diff will take mu... | diff --git a/test/test_devalue.py b/test/test_devalue.py
index 29eb89e87fce..25210c3ab31b 100644
--- a/test/test_devalue.py
+++ b/test/test_devalue.py
@@ -227,9 +227,13 @@ def test_devalue_parse_revivers(self):
{'a': 'b'}, 'revivers (indirect)')
self.assertEqual(
- devalue.parse([['pa... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new reviver assertion's message should be renamed from 'EmptyRef (json.parse)' to 'revivers (duplicate EmptyRef)' to match the naming of the surrounding reviver test messages.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
yt-dlp__yt-dlp__15811 | yt-dlp/yt-dlp | 15,811 | defect | 891613b098b2b315d983c2ae16901f5de344ca56 | ba635bc54cda601560e5f54d5d8b812051dc0550 | [ie/visir] Add extractor | <!--
**IMPORTANT**: PRs without the template will be CLOSED
Due to the high volume of pull requests, it may be a while before your PR is reviewed.
Please try to keep your pull request focused on a single bugfix or new feature.
Pull requests with a vast scope and/or very large diff will take mu... | diff --git a/yt_dlp/extractor/_extractors.py b/yt_dlp/extractor/_extractors.py
index 05480f5df168..ebcaafbae3ec 100644
--- a/yt_dlp/extractor/_extractors.py
+++ b/yt_dlp/extractor/_extractors.py
@@ -2343,6 +2343,7 @@
)
from .viously import ViouslyIE
from .viqeo import ViqeoIE
+from .visir import VisirIE
from .viu i... | 5 | 5 | 3 | [{"id": "G0", "claim": "The 'player' branch should check for unexpected URL results or infinite loops and raise instead of blindly returning the OG search URL.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Icelandic month table should be added ... | null |
yt-dlp__yt-dlp__15951 | yt-dlp/yt-dlp | 15,951 | defect | 8d6e0b29bf15365638e0ceeb803a274e4db6157d | 9f6941fddf02fc3effc63b335b9086a2f3952c6b | [cleanup] Bump ruff to 0.15.x | <!--
**IMPORTANT**: PRs without the template will be CLOSED
Due to the high volume of pull requests, it may be a while before your PR is reviewed.
Please try to keep your pull request focused on a single bugfix or new feature.
Pull requests with a vast scope and/or very large diff will take mu... | diff --git a/pyproject.toml b/pyproject.toml
index b5642fddc987..34265dfe9b43 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -85,7 +85,7 @@ dev = [
]
static-analysis = [
"autopep8~=2.0",
- "ruff~=0.14.0",
+ "ruff~=0.15.0",
]
test = [
"pytest~=8.1",
diff --git a/test/helper.py b/test/helper.py
i... | 2 | 2 | 2 | [{"id": "G0", "claim": "Replacing the `lambda:` wrappers with bare exception-class references in the networking and websockets test parametrize lists errors the tests out with AttributeError when the optional dependencies are not installed (the modules may be None), so the lambdas should be restored and the new ruff PL... | null |
yt-dlp__yt-dlp__3171 | yt-dlp/yt-dlp | 3,171 | defect | ea5ca8e7fcf348a40e3eda70738738739123bded | f2f36e84aed52cf5badd83557e75accc5cdf109d | [youtube:tab] Fix duration extraction for shorts | ## Please follow the guide below
- You will be asked some questions, please read them **carefully** and answer honestly
- Put an `x` into all the boxes [ ] relevant to your *pull request* (like that [x])
- Use *Preview* tab to see how your *pull request* will actually look like
---
### Before submitting a *p... | diff --git a/test/test_utils.py b/test/test_utils.py
index a7f1b0e94698..3b6d44d2c0e4 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -625,6 +625,8 @@ def test_parse_duration(self):
self.assertEqual(parse_duration('3h 11m 53s'), 11513)
self.assertEqual(parse_duration('3 hours 11 minutes 53... | 1 | 1 | 1 | [{"id": "G0", "claim": "traverse_obj(renderer, ('title', 'accessibility', 'accessibilityData', 'label')) can return None, which crashes _search_regex when downloading a playlist that contains unavailable videos.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
yt-dlp__yt-dlp__8361 | yt-dlp/yt-dlp | 8,361 | defect | 4e38e2ae9d7380015349e6aee59c78bb3938befd | 249ae6be8689c6be2fe097706450c96bc0f7d591 | Remove Python 3.7 support | Closes #7803
TODO:
- [x] Merge #8357
- [x] Add to `_update_spec` in build workflow (`lockV2`)
- [x] Publish final py3.7 stable, nightly & master releases and update the lock tags
<details open><summary>Template</summary> <!-- OPEN is intentional -->
<!--
# PLEASE FOLLOW THE GUIDE BELOW
- You will be a... | diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ac0cfdf7cb01..54eecff8f195 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -349,8 +349,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- with: # 3.7 is used ... | 6 | 2 | 1 | [{"id": "G0", "claim": "The unsupported-Python guard should raise ImportError (ideally `from None`) instead of bare Exception, and an explicit version check would be clearer than catching a failed import.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"... | null |
yt-dlp__yt-dlp__8524 | yt-dlp/yt-dlp | 8,524 | defect | 4a601c9eff9fb42e24a4c8da3fa03628e035b35b | 22976fb89e74d5a61f188efa98b482eed2fa53b8 | Improve documentation and usage of release_year | **IMPORTANT**: PRs without the template will be CLOSED
### Description of your *pull request* and other information
<!--
Explanation of your *pull request* in arbitrary form goes here. Please **make sure the description explains the purpose and effect** of your *pull request* and is worded well enough to be un... | diff --git a/README.md b/README.md
index d464519f0f9d..ad165abc6697 100644
--- a/README.md
+++ b/README.md
@@ -1296,6 +1296,7 @@ The available fields are:
- `upload_date` (string): Video upload date in UTC (YYYYMMDD)
- `release_timestamp` (numeric): UNIX timestamp of the moment the video was released
- `release_d... | 2 | 2 | 1 | [{"id": "G0", "claim": "Auto-generating release_year from release_date in _fill_common_fields will make many otherwise-passing download tests fail, so the tester needs an exception that pops release_year only when it equals the year derived from release_date (only the auto-generated value).", "category": "correctness",... | null |
yt-dlp__yt-dlp__8917 | yt-dlp/yt-dlp | 8,917 | defect | 85b33f5c163f60dbd089a6b9bc2ba1366d3ddf93 | 071326c0cc880f844ec5d3da55ea7fe3a97290f3 | [ie] Add new fields with proper support for multiple values | ### Description of your *pull request* and other information
<!--
Explanation of your *pull request* in arbitrary form goes here. Please **make sure the description explains the purpose and effect** of your *pull request* and is worded well enough to be understood. Provide as much **context and examples** as poss... | diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py
index 8d96498a6780..ea03e7274ca0 100644
--- a/yt_dlp/YoutubeDL.py
+++ b/yt_dlp/YoutubeDL.py
@@ -24,6 +24,7 @@
import unicodedata
from .cache import Cache
+
from .compat import functools, urllib # isort: split
from .compat import compat_os_name, compat_shlex_... | 15 | 15 | 2 | [{"id": "G0", "claim": "Split the new MutagenMetadataPP postprocessor into a separate PR because its implementation does not match what was discussed previously and needs further discussion.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Rename the new *... | null |
yt-dlp__yt-dlp__9032 | yt-dlp/yt-dlp | 9,032 | defect | 69d31914952dd33082ac7019c6f76b43c45b9d06 | 5cca133c25d9b4f6613848b4492a8d845bbb7151 | [rh] Remove additional logging handlers on close | **IMPORTANT**: PRs without the template will be CLOSED
### Description of your *pull request* and other information
<!--
Explanation of your *pull request* in arbitrary form goes here. Please **make sure the description explains the purpose and effect** of your *pull request* and is worded well enough to be un... | diff --git a/test/test_networking.py b/test/test_networking.py
index 62325aa8e04e..923adcf43163 100644
--- a/test/test_networking.py
+++ b/test/test_networking.py
@@ -13,6 +13,7 @@
import http.cookiejar
import http.server
import io
+import logging
import pathlib
import random
import ssl
@@ -820,6 +821,7 @@ def te... | 3 | 3 | 0 | [{"id": "G0", "claim": "Replace the verbose `assert called is True` with a plain `assert called` in the new close tests, since the plain assertion is enough given the values come from us.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Question w... | null |
yt-dlp__yt-dlp__9571 | yt-dlp/yt-dlp | 9,571 | defect | 58dd0f8d1eee6bc9fdc57f1923bed772fa3c946d | 287bba84aa9ddd92ac9e85f47c90fb7603d3140c | [utils] `traverse_obj`: Allow unbranching using `all` and `any` | **IMPORTANT**: PRs without the template will be CLOSED
### Description of your *pull request* and other information
<!--
Explanation of your *pull request* in arbitrary form goes here. Please **make sure the description explains the purpose and effect** of your *pull request* and is worded well enough to be un... | diff --git a/test/test_utils.py b/test/test_utils.py
index a3073f0e0ac2..51a3387cf761 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -2392,6 +2392,33 @@ def test_traverse_obj(self):
self.assertEqual(traverse_obj(etree, ('country', 0, ..., 'text()', {int_or_none})), [1, 2008, 141100],
... | 6 | 4 | 0 | [{"id": "G0", "claim": "The new branching test case is not a good test; it should use a case that can actually branch, like `urls`/`data`.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test asserting results from a branching source (`[(100, 1.2), a... | null |
yt-dlp__yt-dlp__9856 | yt-dlp/yt-dlp | 9,856 | defect | ac817bc83efd939dca3e40c4b527d0ccfc77172b | 17bcceda78f27caae4741bae65a6d59b2e82ae66 | [ie/youtube] Extract upload date timestamp if available | **IMPORTANT**: PRs without the template will be CLOSED
### Description of your *pull request* and other information
<!--
Explanation of your *pull request* in arbitrary form goes here. Please **make sure the description explains the purpose and effect** of your *pull request* and is worded well enough to be un... | diff --git a/test/test_utils.py b/test/test_utils.py
index 816cf03f6b6a..e1404d17edf9 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -5,6 +5,7 @@
import sys
import unittest
import warnings
+import datetime as dt
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
@@ -768... | 3 | 2 | 2 | [{"id": "G0", "claim": "The timezone parameter passed to parse_iso8601 should act only as a default and not override a timezone extracted from the date string, as the override behaviour was never needed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":... | null |
ytdl-org__youtube-dl__11122 | ytdl-org/youtube-dl | 11,122 | defect | de328af36264c35a1af6037b1a39f42d5832887a | 5de5e6f266d4981c595586f02a16ce7bcce0a82f | [openload] Fix extraction. | ### Before submitting a *pull request* make sure you have:
- [x] At least skimmed through [adding new extractor tutorial](https://github.com/rg3/youtube-dl#adding-support-for-a-new-site) and [youtube-dl coding conventions](https://github.com/rg3/youtube-dl#youtube-dl-coding-conventions) sections
- [x] [Searched](http... | diff --git a/test/test_jsinterp.py b/test/test_jsinterp.py
index 63c350b8fa9..a9abae5f544 100644
--- a/test/test_jsinterp.py
+++ b/test/test_jsinterp.py
@@ -104,6 +104,13 @@ def test_precedence(self):
}''')
self.assertEqual(jsi.call_function('x'), [20, 20, 30, 40, 50])
+ def test_call(self):
+ ... | 2 | 1 | 0 | [{"id": "G0", "claim": "Drop the now-unused openload_level2/openload_level2_debase helper segments that handle the ǃ function, which no longer appears in the obfuscated code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Neney22 reports that th... | null |
ytdl-org__youtube-dl__27705 | ytdl-org/youtube-dl | 27,705 | defect | 8f29b2dd38213a4b45064fee16e64af29338a6e5 | 9be945a064862639b2fef676f6d93644701ab9de | [rai] improved subtitles extraction | ### Before submitting a *pull request* make sure you have:
- [x] [Searched](https://github.com/ytdl-org/youtube-dl/search?q=is%3Apr&type=Issues) the bugtracker for similar pull requests
- [x] Read [adding new extractor tutorial](https://github.com/ytdl-org/youtube-dl#adding-support-for-a-new-site)
- [x] Read [youtub... | diff --git a/youtube_dl/extractor/rai.py b/youtube_dl/extractor/rai.py
index 0a68d16b038..2c4f1980690 100644
--- a/youtube_dl/extractor/rai.py
+++ b/youtube_dl/extractor/rai.py
@@ -103,22 +103,33 @@ def _extract_relinker_info(self, relinker_url, video_id):
}.items() if v is not None)
@staticmethod
- ... | 6 | 6 | 3 | [{"id": "G0", "claim": "The nested helper `create_sub` should be inlined into the loop since it is used only once.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use `video_data.get('subtitlesArray') or []` (and then loop over it without `or []`... | null |
ytdl-org__youtube-dl__28801 | ytdl-org/youtube-dl | 28,801 | defect | a8035827177d6b59aca03bd717acb6a9bdd75ada | 18502b877f3fdbf5931d4993e39486abef175683 | [utils] Handle user:pass in URLs | ## Please follow the guide below
- You will be asked some questions, please read them **carefully** and answer honestly
- Put an `x` into all the boxes [ ] relevant to your *pull request* (like that [x])
- Use *Preview* tab to see how your *pull request* will actually look like
---
### Before submitting a *p... | diff --git a/test/test_utils.py b/test/test_utils.py
index 259c4763e1e..fb04e3f6f50 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -65,6 +65,8 @@
sanitize_filename,
sanitize_path,
sanitize_url,
+ extract_user_pass,
+ sanitized_Request,
expand_path,
prepend_extension,
rep... | 3 | 3 | 1 | [{"id": "G0", "claim": "The user:pass handling should be restructured to match yt-dlp: replace the extract_user_pass helper with yt-dlp's extract_basic_auth, which returns the Basic auth header and handles netloc reconstruction and password defaulting its own way, and make sanitized_Request call extract_basic_auth(esca... | null |
ytdl-org__youtube-dl__31156 | ytdl-org/youtube-dl | 31,156 | defect | deee741fb145360576ceae9d69b1b43db082c404 | b53af7f235cae46b7836105f8f1e4e59ff71d08c | [utils] Backport traverse_obj (etc) from yt-dlp | ## Please follow the guide below
- You will be asked some questions, please read them **carefully** and answer honestly
- Put an `x` into all the boxes [ ] relevant to your *pull request* (like that [x])
- Use *Preview* tab to see how your *pull request* will actually look like
---
### Before submitting a *p... | diff --git a/test/test_utils.py b/test/test_utils.py
index 259c4763e1e..62ea8dfc867 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -40,10 +40,12 @@
get_element_by_attribute,
get_elements_by_class,
get_elements_by_attribute,
+ get_first,
InAdvancePagedList,
int_or_none,
intl... | 7 | 7 | 3 | [{"id": "G0", "claim": "The PR should use dirkf's full port from PR #30713 as the basis, defining variadic(), IDENTITY(), get_first() and join_nonempty(), with from_iterable, a Nonlocal stand-in, Ellipsis instead of `...`, and compat_str for any str.", "category": "design", "verdict": "supported", "priority": "P1", "sc... | null |
ytdl-org__youtube-dl__31235 | ytdl-org/youtube-dl | 31,235 | defect | 7009bb9f3182449ae8cc05cc28b768b63030a485 | 6a6727e49c5b17beea5feddda2554ed4ae61aedd | [netease] Get netease music download url through player api | ## Please follow the guide below
- You will be asked some questions, please read them **carefully** and answer honestly
- Put an `x` into all the boxes [ ] relevant to your *pull request* (like that [x])
- Use *Preview* tab to see how your *pull request* will actually look like
---
### Before submitting a *p... | diff --git a/test/test_aes.py b/test/test_aes.py
index cc89fb6ab27..0f181466bcf 100644
--- a/test/test_aes.py
+++ b/test/test_aes.py
@@ -8,7 +8,7 @@
import unittest
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
-from youtube_dl.aes import aes_decrypt, aes_encrypt, aes_cbc_decrypt, ... | 7 | 7 | 3 | [{"id": "G0", "claim": "The new entries in the `..utils` import block should be sorted alphabetically (bytes_to_intlist before float_or_none).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new str.format() calls use implicit {} field number... | null |
ytdl-org__youtube-dl__31500 | ytdl-org/youtube-dl | 31,500 | defect | 195f22f679330549882a8234e7234942893a4902 | 8845e952ae44547e56f4259f626c951b0612920d | [feat]: Add support to external downloader aria2p | ## Please follow the guide below
- You will be asked some questions, please read them **carefully** and answer honestly
- Put an `x` into all the boxes [ ] relevant to your *pull request* (like that [x])
- Use *Preview* tab to see how your *pull request* will actually look like
---
### Before submitting a *p... | diff --git a/youtube_dl/downloader/common.py b/youtube_dl/downloader/common.py
index 1cdba89cd9b..362358508c6 100644
--- a/youtube_dl/downloader/common.py
+++ b/youtube_dl/downloader/common.py
@@ -58,7 +58,7 @@ class FileDownloader(object):
_TEST_FILE_SIZE = 10241
params = None
- def __init__(self, ydl, ... | 11 | 11 | 6 | [{"id": "G0", "claim": "Revert the unrelated change that annotates FileDownloader.__init__'s params parameter as `dict`, which breaks backward compatibility.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new code uses Python-3-only syntax (f-strings... | null |
ytdl-org__youtube-dl__32845 | ytdl-org/youtube-dl | 32,845 | defect | a452f9437c8a3048f75fc12f75bcfd3eed78430f | af37fdd943fabcdbe7814514a4bf464080dbe54c | [JSInterp, YouTube] Support YT player `b22ef6e7` etc | <details><summary>Boilerplate: own/yt-dlp code, fix/improvement</summary>
## Please follow the guide below
- You will be asked some questions, please read them **carefully** and answer honestly
- Put an `x` into all the boxes [ ] relevant to your *pull request* (like that [x])
- Use *Preview* tab to see how you... | diff --git a/test/test_jsinterp.py b/test/test_jsinterp.py
index da8e980207a..104e766be36 100644
--- a/test/test_jsinterp.py
+++ b/test/test_jsinterp.py
@@ -11,194 +11,146 @@
import math
import re
+from youtube_dl.compat import compat_str
from youtube_dl.jsinterp import JS_Undefined, JSInterpreter
+NaN = object(... | 3 | 1 | 0 | [{"id": "G0", "claim": "The destructuring-style line should be written as the more readable `new_member, _, rest = member.partition('.')` instead of `member.partition('.')[0::2]`.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A dead `if False a... | null |
ytdl-org__youtube-dl__32891 | ytdl-org/youtube-dl | 32,891 | defect | e1b3fa242cb94eb9dc949ab3f2cace91c46f11bf | 105b5ba58e113c54c030913159af05fc0553691d | applied @dirkf's patches for nsig extraction on youtube | ## Please follow the guide below
- You will be asked some questions, please read them **carefully** and answer honestly
- Put an `x` into all the boxes [ ] relevant to your *pull request* (like that [x])
- Use *Preview* tab to see how your *pull request* will actually look like
---
### Before submitting a *p... | diff --git a/test/test_youtube_signature.py b/test/test_youtube_signature.py
index 5b4aa3aa05b..5bb89710c60 100644
--- a/test/test_youtube_signature.py
+++ b/test/test_youtube_signature.py
@@ -174,6 +174,10 @@
'https://www.youtube.com/s/player/5604538d/player_ias.vflset/en_US/base.js',
'7X-he4jjvMx7BC... | 3 | 3 | 1 | [{"id": "G0", "claim": "If the new player-regex search finds no match, extraction errors out; pass default=(None, None) to the search and, when func_name is empty, warn and fall back to the generic n function search regex (thx bashonly: yt-dlp/yt-dlp/pull/10611).", "category": "correctness", "verdict": "supported", "pr... | null |
ytdl-org__youtube-dl__8228 | ytdl-org/youtube-dl | 8,228 | defect | 40cf7fcbd2e30747065ca7b8bf4467a9582a4aa9 | 4240d504963bb6d1c7bd7c288a7874f9d8dc042b | [YoutubeDL] urlopen: disable the 'file:' protocol (#8227) | If someone is running youtube-dl on a server to deliver files, the user could input 'file:///some/important/file' and youtube-dl would save that file as a video giving access to sensitive information to the user.
'file:' urls can be filtered, but the user can use an URL to a crafted m3u8 manifest like:
```
#EXTM3U
#EX... | diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py
index 0388c0bf32a..0caa43843ad 100644
--- a/test/test_YoutubeDL.py
+++ b/test/test_YoutubeDL.py
@@ -12,7 +12,7 @@
from test.helper import FakeYDL, assertRegexpMatches
from youtube_dl import YoutubeDL
-from youtube_dl.compat import compat_str
+from youtube... | 3 | 2 | 0 | [{"id": "G0", "claim": "If the blacklist way is used, a longer error message would be better: 'file:/// protocol is explicitly disabled in youtube-dl for security reasons'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The error message should re... | null |
yue__yue__171 | yue/yue | 171 | defect | c8127a3e3fbf09dea38c8003005cfd3bebf08766 | 0cfdff0e8f954d934fccff6a8540c2907a882871 | Add MessageLoop::SetTimer API | ✅ By sending this pull request, I agree to the [Contributor License Agreement](https://github.com/yue/yue/tree/5079c44#contributor-license-agreement) of this project .
This solves #169.
## Motivating example
```lua
local gui = require("yue.gui")
local https = require("https") --example http library, uses cor... | diff --git a/docs/api/message_loop.yaml b/docs/api/message_loop.yaml
index ed0b3401..420a5ea4 100644
--- a/docs/api/message_loop.yaml
+++ b/docs/api/message_loop.yaml
@@ -52,3 +52,16 @@ class_methods:
parameters:
ms:
description: The number of milliseconds to wait
+
+ - signature: void EnqueueTask... | 2 | 2 | 1 | [{"id": "G0", "claim": "The `EnqueueTask` API without timeout should be removed because it has no practical use case.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "`EnqueueDelayedTask` should be renamed to something like `SetTimer`, the name used more c... | null |
yui__yui3__1008 | yui/yui3 | 1,008 | defect | 7b29a777bcc338517b0d90d8e942ba025ef3be7d | e0a6db3a77497b35754b452c5e26b122f9859cd6 | [DT] Fix #915. Adjust `_setColumns` to deep clone properly and only once on recursive nodes. | Adjust `_setColumns` to deep clone properly and only once on recursive nodes.
`_setColumns` has a local function called `copyObj` that is used to clone the columns config to prevent it from potentially busting the use of that object outside of DataTable. `arrayIndex`, a pointer to `Y.Array.indexOf`, is used to look up... | diff --git a/src/datatable/HISTORY.md b/src/datatable/HISTORY.md
index d5a6299a078..c8e761426e1 100644
--- a/src/datatable/HISTORY.md
+++ b/src/datatable/HISTORY.md
@@ -4,7 +4,8 @@ DataTable Change History
@VERSION@
------
-* No changes.
+* Fix issue where recurssive nesting of objects was clone infinitely
+ [Pull... | 6 | 5 | 2 | [{"id": "G0", "claim": "The pull request should add at least one test and a HISTORY.md entry, ideally verifying the infinite-loop failure with a test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The HISTORY.md entry has two typos: 'recurssive' should... | null |
yui__yui3__1011 | yui/yui3 | 1,011 | defect | 53a9fc8d873407d76a16a10cbaba4318496df3b1 | 374d5316caf9c8e60d77261d4f4d1a23de1b2622 | [DT] Fix #1010. Update to data's new length when data is changed. | When data is updated on the DataTable, Paginator isn't updated to the new totalItems. This causes an issue when the last page button is pressed.
This fix updates the Paginator's totalItems when the DataTable's data is updated. Issue #1010
- [x] Test
- [x] Code Fix
- [x] History
- [x] Sign Off or 3 days
| diff --git a/src/datatable/js/paginator.js b/src/datatable/js/paginator.js
index 1dbf2cfb949..6a7521c79cd 100644
--- a/src/datatable/js/paginator.js
+++ b/src/datatable/js/paginator.js
@@ -586,6 +586,8 @@ Y.mix(Controller.prototype, {
var data = this.get('data'),
model = this.get('paginatorModel')... | 1 | 1 | 1 | [{"id": "G0", "claim": "The paginator's totalItems is only set when the data attribute is swapped, so it can go out of sync when items are added to or removed from the datatable, and that add/remove case has no test.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
yui__yui3__1044 | yui/yui3 | 1,044 | defect | f1dea46f97b52f0a4b5eeb013dca43e62ab892b7 | 80c8469d092a1ef3f480509633631ef3df28c57d | Implementation of Y.Template#get | Discussed in #1042, implemented here. Update includes unit test, API docs, and user guide improvements.
| diff --git a/src/template/docs/index.mustache b/src/template/docs/index.mustache
index 50149bba147..be40a3baee7 100644
--- a/src/template/docs/index.mustache
+++ b/src/template/docs/index.mustache
@@ -386,7 +386,14 @@ This central template registry is used through two <em>static</em> methods on `Y
</p>
</... | 2 | 2 | 0 | [{"id": "G0", "claim": "Add a note to the Y.Template#get API docs that it returns `undefined` when the template hasn't been registered.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a unit test covering get() for a template that hasn't been r... | null |
yui__yui3__1072 | yui/yui3 | 1,072 | defect | aca58b969edb5cd88b72b5f08c9a55910aa0f6f9 | 70f8551d93226bdf5943f8b98bf493966c112437 | [DT] Fix 1052. Fires `contentUpdate ` after the DataTable has been updated. | Fixes issue #1052. There was no way to know when the table had completed updating when the `ModelList` was changed. This addresses this issue by firing `contentUpdate` after the table has completed updating.
- [x] Test
- [x] Code Fix
- [x] History
- [x] Sign Off or 3 days
| diff --git a/src/datatable/HISTORY.md b/src/datatable/HISTORY.md
index d5a6299a078..d3204503d22 100644
--- a/src/datatable/HISTORY.md
+++ b/src/datatable/HISTORY.md
@@ -4,7 +4,8 @@ DataTable Change History
@VERSION@
------
-* No changes.
+* Added 'contentUpdate' after the DataTable has been updated when triggered
+... | 4 | 1 | 1 | [{"id": "G0", "claim": "The event name `changeUpdate` is meaningless and should be renamed to `contentUpdate`, like Widget's existing event.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Since a DataTable is a Widget, the already-existing Widget `conten... | null |
yui__yui3__1163 | yui/yui3 | 1,163 | defect | 3d1c20a1d6cba5193b9d8ec61a2e7ad3719d10f9 | 53291c7a0d1a0415b5a35e1427e7c85df895c513 | Added HTML support for Button labels | Currently [`Y.Button`](http://yuilibrary.com/yui/docs/button/) widgets do not support HTML labels. This is an issue because is isn't uncommon to use nested HTML structures inside of a `<button>` element. For example...
```
<button>
<p>I Am A</p>
<p>Button</p>
</button>
<button>
<div>Image Button</div>
... | diff --git a/src/button/docs/assets/button-basic-tests.js b/src/button/docs/assets/button-basic-tests.js
index 68cc8c5e4a4..1d4a465a7f0 100644
--- a/src/button/docs/assets/button-basic-tests.js
+++ b/src/button/docs/assets/button-basic-tests.js
@@ -2,7 +2,7 @@ YUI.add('button-basic-tests', function(Y){
var SELEC... | 13 | 8 | 2 | [{"id": "G0", "claim": "Replacing Y.Button's bindUI subscription of `labelChange`/`_afterLabelChange` with `labelHTMLChange`/`_afterLabelHTMLChange` may break backwards compatibility.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "It is unclear what h... | null |
yui__yui3__1198 | yui/yui3 | 1,198 | defect | a612f78c3ccfd824ddd7ac780a7e337abd2e965f | 106c45f045af7da2115ecc5d4bd0cccd97c2e812 | Enforce a router's `root` as its mount point | This enforces routers with a specified `root` to only consider paths as matching its route handles if that path is semantically within the router's `root` path. For example:
``` js
router.set('root', '/app/');
router.hasRoute('/app/'); // => true
router.hasRoute('/app/foo'); // => true
router.hasRoute('/bar/'); ... | diff --git a/src/app/HISTORY.md b/src/app/HISTORY.md
index 87c763d6912..2fa188640ab 100644
--- a/src/app/HISTORY.md
+++ b/src/app/HISTORY.md
@@ -4,7 +4,27 @@ App Framework Change History
@VERSION@
------
-* No changes.
+### Router
+
+* __[!]__ A router's `root` path is now enforced as its mount point. Routers
+ wi... | 2 | 2 | 0 | [{"id": "G0", "claim": "The argument order of the new `_pathHasRoot(path, root)` method is the opposite of what the reviewer would expect, though the reviewer himself calls it entirely subjective.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "T... | null |
yui__yui3__1210 | yui/yui3 | 1,210 | defect | e1e9068f871b6d5e412b39a1674432c71c07ab37 | a8bb8e268d0cf4d0be44f0aed259ac47496aa504 | Add support for `route({})` to Router for routing fully-processed routes | This adds support to Router to accept fully-processed route objects.
This is useful when passing one router's routes to another router, and for accepting route config objects generated by the server and applying them to a `Y.Router` instance on the client. See #1067
This also adds the `Y.Lang.isRegExp()` method for d... | diff --git a/src/app/js/router.js b/src/app/js/router.js
index c754d45dc66..0ede5f0b5c8 100644
--- a/src/app/js/router.js
+++ b/src/app/js/router.js
@@ -590,21 +590,56 @@ Y.Router = Y.extend(Router, Y.Base, {
and pass control the next route handler.
@chainable
**/
- route: function (path, callba... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new `isRegExp` function should use a descriptive parameter name instead of the single-char `o`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
yui__yui3__1407 | yui/yui3 | 1,407 | defect | d5a722eb88febfa311138485b72bff6b24147659 | d756ce3ff5f8d10d2363dae25cfc65bd4a190be4 | feature flag `es`: support for ES-compatible yui modules | This PR enables yui to support transpiled ES6 to YUI modules by providing the proper hooks to pass in `imports` and handle `exports` accordingly. This is a low risk change with a feature flag called `es`, that need to be enabled per module.
An `es6` module transpiled into yui will look like this:
```
import FooClass... | diff --git a/src/yui/js/yui.js b/src/yui/js/yui.js
index 8d9f8586251..14743b6b006 100644
--- a/src/yui/js/yui.js
+++ b/src/yui/js/yui.js
@@ -354,6 +354,7 @@ proto = {
_idx: 0,
_used: {},
_attached: {},
+ _exported: {},
_missed: [],
... | 2 | 2 | 1 | [{"id": "G0", "claim": "Cache `req.length` instead of accessing it on each iteration of the requires loop in `_attach`.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add unit tests covering the new `es`-module behaviour before merging.", "category"... | null |
yui__yui3__1413 | yui/yui3 | 1,413 | defect | 3cb3dcb4ec6d31e479b40d1de76e44b42407790c | 1b30b290192f7d9f523b0d2cb372b73014965bb5 | [promise] New methods for promises | This pull request includes new methods for promises such as `catch`, `Promise.all` and `Promise.race`. These will all be available in native promises. You can even see them in Chrome Canary without any flags:

The ES6... | diff --git a/src/promise/docs/index.mustache b/src/promise/docs/index.mustache
index c8bb5b8fcd7..0cd9bcc7660 100644
--- a/src/promise/docs/index.mustache
+++ b/src/promise/docs/index.mustache
@@ -481,28 +481,28 @@ MyDatabase.prototype.save = function (key, data) {
<p>
Promise chaining works great to serialize sy... | 10 | 5 | 2 | [{"id": "G0", "claim": "Typo in the Promise.all docs: \"is be rejected\" should read \"is rejected\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The cast implementation could instead use `this.prototype.isPrototypeOf(value)` to decide whether ... | null |
yui__yui3__1427 | yui/yui3 | 1,427 | defect | e68f22a208643a07b398774827e089f7994ff7fa | 91bed9fa4cab4f843f1822910021e2d7fa72a40a | [datatype-number] Fix regression in Y.Number.parse | The original issue the regression tried to fix was that...
``` js
Y.Number.parse(' ') === 0 // true
```
This PR addresses this issue in a way that doesn't introduce any other changes to the behavior of Y.Number.parse.
Fixes #1426.
/cc @Satyam @lsmith @apipkin
| diff --git a/src/number/js/number-parse.js b/src/number/js/number-parse.js
index 9cc25c4981d..6232a9a8fa2 100755
--- a/src/number/js/number-parse.js
+++ b/src/number/js/number-parse.js
@@ -78,9 +78,15 @@ Y.mix(Y.namespace("Number"), {
data = parser(data);
}
- if (data !== null && data !==... | 3 | 2 | 1 | [{"id": "G0", "claim": "The expected API behavior of Y.Number.parse must be pinned down and tested: whether booleans parse to a number or null, and how '1,000' should be treated; the reviewer suggests parse should accept only 'string' or 'number' input and return null for anything else.", "category": "correctness", "ve... | null |
yui__yui3__1549 | yui/yui3 | 1,549 | defect | ad3cfab76252fe58aa2a840c8ebb7dc0b27a993b | 5c8439f2c6c20c0a44aaf24c9a22ebca38410bc7 | [core] Add Y.require() AMD-style | `Y.require()` works similarly to `Y.use()` but exposes all the loaded modules as parameters of the callback in order to use ES6 modules more easily.
```
YUI().require(['some-es6-module'], function (ES6Module) {
var foo = ES6Module.foo;
});
```
| diff --git a/src/yui/js/yui.js b/src/yui/js/yui.js
index 23ba2c6c984..970b205f6ec 100644
--- a/src/yui/js/yui.js
+++ b/src/yui/js/yui.js
@@ -985,6 +985,40 @@ with any configuration info required for the module.
return Y;
},
+ /**
+ Sugar for loading both legacy and ES6-based YUI modules.
+
+ @m... | 14 | 7 | 3 | [{"id": "G0", "claim": "The TypeError thrown for a non-array first argument should use this.error() instead of a raw throw.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The this.Lang.isArray check should probably be removed completely because this... | null |
yui__yui3__1581 | yui/yui3 | 1,581 | defect | 19d5905901b2986e025b141f28ede12a444a2d05 | b2b4be9d74841536a7ad117b3659bcce2ac856ea | [perf] disabling _populateCache() in loader in favor of an on-demand process to create internal module info based on the raw meta when the module is needed | ## Initial analysis:
For a very basic page with all necessary modules in the page upfront, and a YUI().use(‘json-stringify’) call, will run under 20ms in chrome/desktop, but it takes more than 100ms in safari iPad3.
For a more complex example, adding more modules (app level modules), we can clearly see more degradati... | diff --git a/src/loader/js/loader.js b/src/loader/js/loader.js
index 266440f8656..feafe6e5d12 100644
--- a/src/loader/js/loader.js
+++ b/src/loader/js/loader.js
@@ -410,7 +410,7 @@ Y.Loader = function(o) {
self.config = o;
self._internal = true;
- self._populateCache();
+ // self._populateCache();
... | 8 | 5 | 1 | [{"id": "G0", "claim": "The accessor for the public `moduleInfo` property should not be private/marked `@private`; it should be a public accessor with the docs to match.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The `this.moduleInfo[name]` lookup in... | null |
yui__yui3__1593 | yui/yui3 | 1,593 | defect | 3a1f821c92b6dc79c76622dbfa6ec8a5d0a788ee | 3151fa1f25d538b7873b9af282e85ec45bbad5d4 | [core] Change Y.require() to a similar signature to Y.use() | Fixes #1584.
This change gets rid of the multiple parameter signature which could potentially result in unexpected behavior based on certain modules being replace with the `Y`. This is the new signature:
``` js
YUI().require('es6-set', 'es6-bar', function (Y, imports) {
var Set = imports['es6-set']['default'],
... | diff --git a/src/yui/HISTORY.md b/src/yui/HISTORY.md
index d9c93d21620..dcbbc8c1170 100644
--- a/src/yui/HISTORY.md
+++ b/src/yui/HISTORY.md
@@ -4,7 +4,14 @@ YUI Core Change History
@VERSION@
------
-* No changes.
+* Added `Y.require()` for importing ES6 modules. It's similar to `Y.use()` but
+ it follow the follo... | 2 | 1 | 0 | [{"id": "G0", "claim": "A code comment should be added at the `this.use.apply(this, args)` line explaining the explicit choice not to return anything, so that people refactoring later do not put a `return` in front of it.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {... | null |
yui__yui3__1606 | yui/yui3 | 1,606 | defect | 3d336a7eaffb0160403f24d9aa9e9ee99a1498bb | c21a2132ee2070aba06973b30e767465183d6743 | [Loader] : `calculate` optimization. | This is a first attempt at optimizing `Y.Loader`, since it actually bubbled up as a bottleneck in a certain application. I simply rewrote `_sort`, which now utilizes a topological sort (a variation of a depth first search) to generate a valid dependency order.
# Before
The following is a profile of `Y.Loader`'s `resol... | diff --git a/src/loader/js/loader.js b/src/loader/js/loader.js
index 266440f8656..eaa5ad97f4a 100644
--- a/src/loader/js/loader.js
+++ b/src/loader/js/loader.js
@@ -2133,70 +2133,56 @@ Y.log('Undefined module: ' + mname + ', matched a pattern: ' +
* @private
*/
_sort: function() {
+ var name,
... | 1 | 1 | 1 | [{"id": "G0", "claim": "Sort `required` before running the topological sort, otherwise equivalent module sets can come out in different orderings and the resulting URLs cannot be easily cached.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
yui__yui3__1666 | yui/yui3 | 1,666 | defect | 073552364face4aa98b01feb97c97cb50b33440a | a2dbbba08cf1016e00a8858e2e0b6871880e5086 | Remove name attribute radio inputs inside cloned nodes by dd-proxy (Fix #1663) | This is a possible fix for https://github.com/yui/yui3/issues/1663.
When cloning a node, removing the `name` attribute from any inputs of type radio inside the dragged node, will prevent them from unchecking the selected radio button on its group.
I've added a test to verify this. Somehow it works properly when launc... | diff --git a/src/dd/js/proxy.js b/src/dd/js/proxy.js
index ff04022ff1f..d2fa19c2562 100644
--- a/src/dd/js/proxy.js
+++ b/src/dd/js/proxy.js
@@ -151,6 +151,8 @@
n = host.get(NODE),
c = n.cloneNode(true);
+ c.all('input[type="radio"]').removeAttribute('name');
+
... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new 'test: proxy cloneNode with radio inputs' test fails under PhantomJS as shown by Travis CI and should be skipped there, e.g. via an ignore conditional using Y.UA.phantomjs.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "T... | null |
yui__yui3__1725 | yui/yui3 | 1,725 | defect | 8ed2e849129a8924d7815a6d15303a0c99936c65 | bee4449d3df834cc4d93d9701424e18f90378557 | [promise] Wrap promise init function in try...catch | This should be the last change before importing `ypromise` directly in the next release.
Promises should be rejected when throwing errors inside the initialization function. This is the behavior of native promises and it also prevents losing errors along the way.
Sorry for the late addition.
| diff --git a/src/promise/js/promise.js b/src/promise/js/promise.js
index af464594f8b..bc36c3661b2 100644
--- a/src/promise/js/promise.js
+++ b/src/promise/js/promise.js
@@ -55,6 +55,7 @@ var rejected = new Y.Promise(function (resolve, reject) {
**/
function Promise(fn) {
if (!(this instanceof Promise)) {
+ ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The Y.log call warning that promises should be created with `new` is missing the `NAME` module as its third parameter.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should update the HISTORY changelog entry ... | null |
yui__yui3__1743 | yui/yui3 | 1,743 | defect | b7163c25210b79974a610d642a3baf3a3c4b6025 | 567b924fab52e04f10a466a3c690a0df246cbe74 | [Loader]: Several bug fixes. | 1. A module's `lang` packs were not being included _before_ the module itself.
2. `before` was not working (see: #1661).
3. A `CSS` module could not require a `js` module. (see: http://jsbin.com/hafibawa/13/edit and #1680).
---
Updated five tests related to `lang` packs that I erroneously changed in #1606.
| diff --git a/src/loader/js/loader.js b/src/loader/js/loader.js
index da1ea2a6f17..010858593e9 100644
--- a/src/loader/js/loader.js
+++ b/src/loader/js/loader.js
@@ -2141,15 +2141,15 @@ Y.log('Undefined module: ' + mname + ', matched a pattern: ' +
* @private
*/
_sort: function() {
- var name,
+... | 1 | 1 | 0 | [{"id": "G0", "claim": "The negatively named variable `isntAfter` should be renamed to a positive name such as `insertAfter`, which would also simplify the code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
yui__yui3__1814 | yui/yui3 | 1,814 | defect | 5c104155752b3605753ecf9edba3aa0791d8f590 | c20785cb1156c16b94ee9b9b80934b0b9bf09567 | Support for {nested.placeholder} in Lang.sub | Hey,
We're producing static html files for our tests that we would like to quickly tokenize with Lang.sub and a global config object:
``` javascript
var config = {
templates: {
product_a: {
text: 'foo'
},
product_b: {
text: 'bar'
}
// ...
}
};
``... | diff --git a/src/yui/js/yui-lang.js b/src/yui/js/yui-lang.js
index 9f01d8de330..d93a46b8315 100644
--- a/src/yui/js/yui-lang.js
+++ b/src/yui/js/yui-lang.js
@@ -266,8 +266,41 @@ L.now = Date.now || function () {
* @since 3.2.0
*/
L.sub = function(s, o) {
+
+ /**
+ Finds the value of `key` in given object.
+ ... | 5 | 4 | 1 | [{"id": "G0", "claim": "A performance comparison between this implementation and the original Lang.sub() should be provided (a simple JSPerf is enough) to make sure the change does not regress performance significantly.", "category": "performance", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": ... | null |
yui__yui3__1848 | yui/yui3 | 1,848 | defect | 54f7fd729b3628c409c8e16e2d03a7f0a3c1a983 | c5c681bf8df53d120d55e84b1492b1f607eefa78 | NodeList.importMethod should respect the alternative function name | I noticed whilst looking over some of NodeList this evening that we never actually make use of altName.
| diff --git a/src/node/HISTORY.md b/src/node/HISTORY.md
index da82b8533d4..ac3749fe83c 100644
--- a/src/node/HISTORY.md
+++ b/src/node/HISTORY.md
@@ -4,7 +4,7 @@ Node Change History
@VERSION@
------
-* No changes.
+* [#1848][] NodeList.importMethod should respect the alternative name it was provided with. (Andrew Ni... | 3 | 3 | 0 | [{"id": "G0", "claim": "Grammar fix: the doc comment should read \"Import the named method or methods from the host object onto NodeList.\" instead of \"Import the name method, or methods from the host onto NodeList.\"", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id... | null |
yui__yui3__1950 | yui/yui3 | 1,950 | defect | 94b6faedb488358a92960b12168c32f5608ca55b | 6e308295f72a0f64a70fa83fca7c89f8dab22464 | Update loader and yui to optionally use pathogen encoding | Replaces https://github.com/yui/yui3/pull/1858
Need to test cross browser.
| diff --git a/src/loader/build.json b/src/loader/build.json
index 14bc670a977..e069508a842 100644
--- a/src/loader/build.json
+++ b/src/loader/build.json
@@ -27,6 +27,11 @@
"jsfiles": [
"rollup.js"
]
+ },
+ "loader-pathogen-combohandler": {
+ "jsfiles":... | 5 | 4 | 0 | [{"id": "G0", "claim": "Add a space after `if` (e.g. `if (comboSources)`) in the new encoding code, and likewise in the other occurrences below.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pathogen branch should not need access to `comboS... | null |
yui__yui3__368 | yui/yui3 | 368 | defect | 978126c32169bea0459a7f172f4c1ee5a13a4b9f | fe1d414e7475e45848098bede6b9563493e74911 | Add the concept of default options to `Y.Template`. | This adds a `Y.Template(engine, defaults)` signature so that common options can be specified as defaults and will be used when calling the instance methods, e.g., `compile()`, `precompile()`, `render()`.
| diff --git a/src/template/HISTORY.md b/src/template/HISTORY.md
index adda210999e..b1b1226cd58 100644
--- a/src/template/HISTORY.md
+++ b/src/template/HISTORY.md
@@ -1,6 +1,13 @@
Template Change History
=======================
+3.8.1
+-----
+
+* Added the concept of default options to `Y.Template` via the following
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The defaults/options merging in compile() could be simplified to a single line, `options = options ? Y.merge(this.defaults, options) : this.defaults;`, since Y.merge ignores undefined arguments and the behavior stays the same.", "category": "maintainability", "verdict": "supported", "priority": ... | null |
yui__yui3__406 | yui/yui3 | 406 | defect | b96b3abe4f6ba02d5dfd36a6c4de62921b2afe03 | ed69d13ab3211eb960da2af7c66481f9c0eaf23a | Fix to make disabled buttons behave correctly | As ticket [2532775](http://yuilibrary.com/projects/yui3/ticket/2532775) describes, disabled buttons are still clickable and only visually appear to be disabled. This is because the call to `this._uiSetDisabled` routes to Widget's `_uiSetDisabled` instead of ButtonCore's `_uiSetDisabled`. These commits fix that issue ... | diff --git a/build/button/button-coverage.js b/build/button/button-coverage.js
index 9d8926ad348..947617b6d11 100644
--- a/build/button/button-coverage.js
+++ b/build/button/button-coverage.js
@@ -26,10 +26,10 @@ _yuitest_coverage["build/button/button.js"] = {
path: "build/button/button.js",
code: []
};
-_yu... | 2 | 1 | 0 | [{"id": "G0", "claim": "The Button initializer needlessly caches `this` in a local var — `this` should only be cached when used inside an enclosed function, since caching it reduces gzip compressibility.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla... | null |
yui__yui3__608 | yui/yui3 | 608 | defect | 4582de15aefb8ce0429e77a25a5286bc633d8252 | 7c31d98c95b80702cdc3717c32e22e2ca463b484 | Fix back-compat issues with event target's `_yuievt.targets` being lazy | This updates EventTarget's `getTargets()` and `removeTarget()` methods to properly work with the performance change to lazily create `_yuievt.targets` to maintain backwards compatibility.
Fixes #606
Fixes #607
/cc @sdesai
| diff --git a/src/dd/js/drag.js b/src/dd/js/drag.js
index afed6cef354..ae7485748b7 100644
--- a/src/dd/js/drag.js
+++ b/src/dd/js/drag.js
@@ -501,7 +501,7 @@
if (!Y.Lang.isObject(config)) {
config = {};
}
- config.bubbleTargets = confi... | 2 | 1 | 1 | [{"id": "G0", "claim": "Keep the optimization by creating `_yuievt.targets` lazily instead of eagerly, and have the public touch points (`getTargets`, `removeTarget`) account for a missing `targets` object rather than making creation completely eager again.", "category": "design", "verdict": "supported", "priority": "P... | null |
yui__yui3__643 | yui/yui3 | 643 | defect | ae745a43aadc2aae7d8a6f7205fdd3caa38edf95 | 0cd7495609dd7152464a1a41f9c1f0edeb8ce4bd | Disable pagination on a `disabled` ScrollView widget | Fixes [#2533228](http://yuilibrary.com/projects/yui3/ticket/2533228) - _"If a widget is disabled (scrollView.set('disabled', true)), it should not be responsive to scrollView.pages.next() and scrollView.pages.prev();"_
<!---
@huboard:{"order":0.074951171875}
-->
| diff --git a/src/scrollview/js/paginator-plugin.js b/src/scrollview/js/paginator-plugin.js
index 6b359d1a762..b8eae91ac4b 100644
--- a/src/scrollview/js/paginator-plugin.js
+++ b/src/scrollview/js/paginator-plugin.js
@@ -90,7 +90,7 @@ Y.extend(PaginatorPlugin, Y.Plugin.Base, {
paginator.afterHostMethod('_onGes... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new disabled guard in next() (and likewise prev()) should use a bare `return;` instead of `return false;`, just like the other guards in the file.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
yui__yui3__675 | yui/yui3 | 675 | defect | 621e3233fdc8f2c6b2a62ba476a74be3378d12e9 | e848987da753c3405af9ae5c79d73c70a6b5084b | Fixed slider event regression in 3.10.0 | Fixed regression introduced in 3.10.0, with stale facade properties sticking around in the case of "no subscribers".
Added unit tests for both the subscriber and no subscriber case.
All unit tests pass:
✔ [Total]: Passed: 10859 Failed: 0 Total: 10954 (ignored 95)
Slider functional tests pass.
Slider examples work ma... | diff --git a/src/event-custom/HISTORY.md b/src/event-custom/HISTORY.md
index dfa92b16a3b..35f48c0d2ef 100644
--- a/src/event-custom/HISTORY.md
+++ b/src/event-custom/HISTORY.md
@@ -1,6 +1,11 @@
Custom Event Infrastructure Change History
==========================================
+@VERSION@
+------
+
+* Fixed issue ... | 1 | 1 | 1 | [{"id": "G0", "claim": "testFreshPayloadWithOnSubscriber looks identical to testFreshPayloadWithAfterSubscriber because line 1069 is a typo and should subscribe with a.on(\"foo\", ...) instead of a.after(\"foo\", ...), leaving the on-subscriber fresh-facade path untested.", "category": "testing", "verdict": "supported"... | null |
yui__yui3__738 | yui/yui3 | 738 | defect | 50f81984dd1bed38682e3907ab5583f30f6fe941 | 9bf331c89f273191c8160591dd33ee1c1f93ec26 | Y.throttle should not modify |this| in the throttled fn | `Y.throttle` forces the value of `this` in the throttled function to `null`. This is not very ergonomic since most of the time `throttle` is used in event listeners and it prevents the use of `on()`'s third parameter. It basically forces the user to use `bind`.
``` JavaScript
node.on('mousemove', Y.throttle(this.foo),... | diff --git a/src/yui-throttle/HISTORY.md b/src/yui-throttle/HISTORY.md
index eb3bb4d4647..94692b94466 100644
--- a/src/yui-throttle/HISTORY.md
+++ b/src/yui-throttle/HISTORY.md
@@ -1,6 +1,11 @@
YUI Throttle Change History
===========================
+@VERSION@
+------
+
+* Throttle no longer changes the value of |t... | 3 | 3 | 2 | [{"id": "G0", "claim": "Replace the pipe characters used as monospace delimiters in HISTORY.md and the throttle tests with backticks to match existing Markdown conventions.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new throttle test for `... | null |
yui__yui3__759 | yui/yui3 | 759 | defect | ab3043d0abc946e99a14852de06b42570c8cd572 | 6db021a52411e60f92c45abdeecc532c5f44e782 | Add Y.ArraySort.naturalCompare() | # Y.ArraySort.naturalCompare()
This change adds a static `Y.ArraySort.naturalCompare()` method, which performs a natural-order comparison of two strings, two numbers, or a number and a string. This ensures that a value like 'foo2' is sorted before 'foo10', whereas a standard ASCII sort would sort 'foo10' first.
See t... | diff --git a/src/arraysort/HISTORY.md b/src/arraysort/HISTORY.md
index 59bd5e109a8..4c54426c09c 100644
--- a/src/arraysort/HISTORY.md
+++ b/src/arraysort/HISTORY.md
@@ -1,6 +1,14 @@
ArraySort Change History
========================
+@VERSION@
+------
+
+* Added `Y.ArraySort.naturalCompare`, which compares two strin... | 1 | 1 | 0 | [{"id": "G0", "claim": "The module docstring should read \"Provides comparator functions useful for sorting arrays.\" (drop the indefinite article \"a\").", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
yui__yui3__822 | yui/yui3 | 822 | defect | 8fb6b25075f9fd378ce02b1983eb38af4a4ee829 | 1bb5e6753388b43d9c69e4058e55d57f8151fe5b | Color fix for #819 and #821 | This fix addresses test issues in Attribute
@sdesai
| diff --git a/src/color/js/color-base.js b/src/color/js/color-base.js
index 75da4c56b6e..2d890331a87 100644
--- a/src/color/js/color-base.js
+++ b/src/color/js/color-base.js
@@ -1,6 +1,10 @@
/**
Color provides static methods for color conversion.
+
+ NOTE: All conversion values will be returned in Lowercase
+
+
... | 2 | 2 | 1 | [{"id": "G0", "claim": "Indenting the added doc notes four spaces makes them render as preformatted text in the API docs, which the author presumably does not want.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "There are Color-related test failur... | null |
yui__yui3__875 | yui/yui3 | 875 | defect | 12a663145f67866f1b60c3cb52c353bd0a4ba35f | a81d45a18cacc9c2276679dcd56a3df0c6b609dc | Fixed late fireOnce subscribers not receiving a facade arg, if there were no subscribers during the initial fire | `this.firedWith` is updated by reference, during the fire processing,
when a facade is created, and this didn't happen (for valid performance
reasons) if there were no subscribers, as a result of the changes in 3.10.0
The fix updates this.firedWith with a facade instance, if absent, before passing it to subscribers (w... | diff --git a/src/event-custom/HISTORY.md b/src/event-custom/HISTORY.md
index 57b604a054d..2fae2b768df 100644
--- a/src/event-custom/HISTORY.md
+++ b/src/event-custom/HISTORY.md
@@ -4,7 +4,13 @@ Custom Event Infrastructure Change History
@VERSION@
------
-* No changes.
+* Fixed issue with fireOnce subscribers not re... | 2 | 1 | 1 | [{"id": "G0", "claim": "If a custom event has emitFacade true but event-custom-complex is not loaded, the added call to this._addFacadeToArgs(firedWith) in the late-subscriber path will throw a NPE.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The... | null |
yui__yui3__941 | yui/yui3 | 941 | defect | 8cd680367335740c617e4b0a0ea3d4a82b01c6cb | b0debadcbb947a5da47b28f8415d53508209bc09 | Fixes #973: 'valuechange' event e.stopPropagation | 'valuechange' event now supports e.stopPropagation() and e.stopImmediatePropagation().
| diff --git a/src/event-valuechange/HISTORY.md b/src/event-valuechange/HISTORY.md
index 7e05bb21bc9..f373fd2322f 100644
--- a/src/event-valuechange/HISTORY.md
+++ b/src/event-valuechange/HISTORY.md
@@ -4,7 +4,8 @@ ValueChange Change History
@VERSION@
------
-* No changes.
+* 'valuechange' event now supports e.stopPr... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new tests should use test.resume() (as in the 'multiple delegated handlers' test) instead of waiting 100ms, to reduce false positives on slower machines.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The stopElement assignme... | null |
yui__yui3__964 | yui/yui3 | 964 | defect | 641179b75d1bd4272a5c2d4840ead7c4b83bfc6f | 29aa25cf32d369742999fb603f3a186445c3f74e | Fix issue with Router trying to URL-decode `undefined` path segments | When Router is dispatching to a route's callbacks, it URL-decodes the matching path segments so that placeholders like `req.foo` don't have encoded values. Since Router supports registering a route as a Regex, when Router executes that regex it may return an array with some undefined matches. This fixes the issue where... | diff --git a/src/app/HISTORY.md b/src/app/HISTORY.md
index 2e91e19cab5..823fb40859e 100644
--- a/src/app/HISTORY.md
+++ b/src/app/HISTORY.md
@@ -4,13 +4,18 @@ App Framework Change History
@VERSION@
------
-* No changes.
+### Router
+
+* Fixed issue with trying to URL-decode matching path segments that are
+ `undef... | 1 | 1 | 1 | [{"id": "G0", "claim": "The HISTORY.md entry for the Router URL-decode fix is unclear and should explain what the problem was, why it was a problem, and what the fixed behavior is.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
yume-chan__ya-webadb__792 | yume-chan/ya-webadb | 792 | defect | a1808756a2d4532d970c55af5d015d4096a9e7b2 | 85f92670d0a32c5c4e74fe51e0e2aedc2aaa610f | feat(bin): rewrite Intent API and support all extra types | Using plain object (and object literals) to represent `Intent`s feels more natural in JavaScript type system.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- New Features
- Added a broadcast API to send system broadcasts with optional user targeting and receiver... | diff --git a/libraries/android-bin/src/am.ts b/libraries/android-bin/src/am.ts
index 4ddd87f76..f28d9777d 100644
--- a/libraries/android-bin/src/am.ts
+++ b/libraries/android-bin/src/am.ts
@@ -3,8 +3,9 @@ import { AdbServiceBase, escapeArg } from "@yume-chan/adb";
import { SplitStringStream, TextDecoderStream } from "... | 12 | 12 | 3 | [{"id": "G0", "claim": "ActivityManager.broadcast always spawns through the `cmd activity` service with no API-level fallback, and should mirror startActivity's fallback to `am` for API <= 25, where `cmd activity broadcast` is not supported.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope"... | null |
yume-chan__ya-webadb__815 | yume-chan/ya-webadb | 815 | defect | 99f5456d72293862b97cf7fa69ca3eb0e2e30863 | 7043d052dc4353da6545ee6def26cacad74d802a | fix(webusb): fix missing disconnect event if the device was added in current session |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Bug Fixes**
* Skip duplicate device entries and ensure newly added or reconnected devices reliably emit connection events so they appear and are usable immediately.
* **Tests**
* Added a simulated USB connect... | diff --git a/libraries/adb-daemon-webusb/src/manager.ts b/libraries/adb-daemon-webusb/src/manager.ts
index c68001531..4e5b8f182 100644
--- a/libraries/adb-daemon-webusb/src/manager.ts
+++ b/libraries/adb-daemon-webusb/src/manager.ts
@@ -58,6 +58,14 @@ export class AdbDaemonWebUsbDeviceManager {
return ... | 2 | 1 | 1 | [{"id": "G0", "claim": "`new USBConnectionEvent(\"connect\", { device })` in manager.ts throws a ReferenceError in environments where the WebUSB global is undefined (the CI pipeline already reports it), so add a runtime guard/polyfill or provide the global in the test environment.", "category": "correctness", "verdict"... | null |
yume-chan__ya-webadb__816 | yume-chan/ya-webadb | 816 | defect | 99f5456d72293862b97cf7fa69ca3eb0e2e30863 | ea42b373eb49ef790990a58ee002ab5e91957499 | feat(server): improve device list parsing |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Bug Fixes**
* ADB server device list parsing now correctly handles serial numbers that include spaces.
* **Stability**
* Device enumeration is more robust and reliably extracts device states and details acros... | diff --git a/.changeset/common-feet-sort.md b/.changeset/common-feet-sort.md
new file mode 100644
index 000000000..12ac7cf02
--- /dev/null
+++ b/.changeset/common-feet-sort.md
@@ -0,0 +1,5 @@
+---
+"@yume-chan/adb": patch
+---
+
+Improve ADB server device list parsing, allowing serial numbers to contain space character... | 4 | 3 | 2 | [{"id": "G0", "claim": "The ConnectionState array misspells ADB's \"authorizing\" state as \"authoring\", so parseDeviceList never recognizes devices in that state and keeps scanning backward until it throws Invalid device line.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced... | null |
yume-chan__ya-webadb__823 | yume-chan/ya-webadb | 823 | defect | dbd40b18ebff7d4f8c8946ddb7200cf135d2966a | b6e081fedad4b8d6db876d82ae60ad48858fa068 | refactor(adb): convert AdbDaemonAuthenticator class to a method | The class doesn't contain any local data, doesn't provide more flexibility nor better tree-shakeability (the `AdbDaemonDefaultAuthProcessor` type will always be included).
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Bug Fixes**
* Improved authentication re... | diff --git a/libraries/adb/src/daemon/auth/authenticator.ts b/libraries/adb/src/daemon/auth/authenticator.ts
index 45ba08c9b..7db2121c2 100644
--- a/libraries/adb/src/daemon/auth/authenticator.ts
+++ b/libraries/adb/src/daemon/auth/authenticator.ts
@@ -17,8 +17,14 @@ import {
AdbDaemonTransport,
} from "../transp... | 2 | 1 | 0 | [{"id": "G0", "claim": "The JSDoc of the sendPacket helper misspells \"packet\" as \"packate\" and should be corrected to \"packet\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "sendPacket mutates the init object passed to it (adding checksum a... | null |
yume-chan__ya-webadb__842 | yume-chan/ya-webadb | 842 | defect | 425e24f0b146f9cdfb0660fccf5236d921c3a04c | 63beae6e693e5d25f550e104434f13bd36d4aea9 | feat: Add connection state to AdbBanner | This allows Non AdbServerClient devices to see the actual connection state
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Banner metadata now includes device connection state so interfaces can read the current connection status.
* **Tests**
... | diff --git a/libraries/adb/src/banner.spec.ts b/libraries/adb/src/banner.spec.ts
index 744a9155d..bbf8bd37d 100644
--- a/libraries/adb/src/banner.spec.ts
+++ b/libraries/adb/src/banner.spec.ts
@@ -8,6 +8,7 @@ describe("AdbBanner", () => {
const banner = AdbBanner.parse(
"device::ro.product.name=No... | 1 | 1 | 1 | [{"id": "G0", "claim": "A malformed banner like \"::...\" makes the new parse logic store \"\" as state instead of normalizing the empty token to undefined, leaving an invalid state value on the banner.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
yusing__godoxy__157 | yusing/godoxy | 157 | defect | ef407933016326ff4ff1cde278904d801d4c078e | 27f190c3a234b14e3cee2539b01a2d5f69522c51 | feat: faster serialization | Improved serialization performance and fixed default values not being applied in some cases.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Speeds up serialization with a reflection/type-info refactor using gointernals, adds benchmarks and test updates, and makes access log field validation optional; introduces the gointern... | diff --git a/agent/go.mod b/agent/go.mod
index b9a3fc66..7c464ba9 100644
--- a/agent/go.mod
+++ b/agent/go.mod
@@ -90,6 +90,7 @@ require (
github.com/vincent-petithory/dataurl v1.0.0 // indirect
github.com/yusing/ds v0.2.0 // indirect
github.com/yusing/godoxy/internal/utils v0.1.0 // indirect
+ github.com/yusing/... | 3 | 1 | 1 | [{"id": "G0", "claim": "The rewritten dive function no longer initializes nil pointers before dereferencing them, so calling dst.Elem() on a nil pointer now panics, breaking MapUnmarshalValidate when it receives a nil pointer, which the old code handled by initializing them.", "category": "correctness", "verdict": "unc... | null |
yusing__godoxy__219 | yusing/godoxy | 219 | defect | e0cba8f415283d7416445f0d8c4125f0ca38679b | b425c74af6b5dd1518b190162af217ed1f73f0a2 | Fix/docker labels |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Refactor**
* Label parsing now runs deterministically with clearer merge behavior for nested vs scalar values, improved alias/reference handling, consolidated YAML flattening and key joining, and normalized tab ... | diff --git a/internal/docker/label.go b/internal/docker/label.go
index 73df326c..d2e7a434 100644
--- a/internal/docker/label.go
+++ b/internal/docker/label.go
@@ -1,8 +1,11 @@
package docker
import (
+ "cmp"
"errors"
"fmt"
+ "maps"
+ "slices"
"strconv"
"strings"
@@ -15,56 +18,122 @@ var ErrInvalidLabel = ... | 5 | 3 | 0 | [{"id": "G0", "claim": "Tab-to-space conversion is inconsistent between parseLabelObject (2 spaces) and expandYamlWildcard (4 spaces), which could cause unexpected parsing behavior depending on which code path processes the YAML.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduce... | null |
yusufkaraaslan__Skill_Seekers__154 | yusufkaraaslan/Skill_Seekers | 154 | defect | 691318117cff4b49b26941bec91ea0f05b6f4f45 | 61b2b94565e8a04388119509992095728ce4de24 | Add Detection for to popular programming languages on <pre class="(language)"> | Pull Request
## 📋 Description
Expands code language detection in `doc_scraper.py` for languages in `pre class="(language)"`
This detects a language defined within the class of the element found, example:
` <pre class="brush: java; highlight: [19]; noBR: true;">...code</pre>`
## 🔗 Related Is... | diff --git a/cli/doc_scraper.py b/cli/doc_scraper.py
index 54f8bfa10..4287347d7 100644
--- a/cli/doc_scraper.py
+++ b/cli/doc_scraper.py
@@ -216,10 +216,16 @@ def detect_language(self, elem, code):
# Check class attribute
classes = elem.get('class', [])
for cls in classes:
+ cls = ... | 6 | 2 | 2 | [{"id": "G0", "claim": "The language-detection logic added to the <code> element check is missing from the parent <pre> element check, so the PR's own example <pre class=\"brush: java\"><code> returns 'unknown' instead of 'java'.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduce... | null |
yusukebe__hono-react-router-adapter__6 | yusukebe/hono-react-router-adapter | 6 | defect | 9b71ca184516c2521c5dd9f75688aad2b563021a | 81cbf5f95e4f4761f799b4db45625d4d728d50b2 | feat: support `getLoadContext` | This PR enables users can access the Cloudflare values - `cf`, `ctx`, and `caches` on Remix routes.
Closes #5 | diff --git a/example/app/routes/_index.tsx b/example/app/routes/_index.tsx
index c287e25..840dafe 100644
--- a/example/app/routes/_index.tsx
+++ b/example/app/routes/_index.tsx
@@ -1,19 +1,24 @@
import type { LoaderFunctionArgs } from '@remix-run/cloudflare'
import { useLoaderData } from '@remix-run/react'
-export ... | 5 | 2 | 2 | [{"id": "G0", "claim": "Adding the remaining Cloudflare values still gives users no way to add their own values to the load context, unlike the official Remix handler which accepts a `getLoadContext` function, so the PR should allow that.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "intro... | null |
yutiansut__QUANTAXIS__991 | yutiansut/QUANTAXIS | 991 | defect | 66bf69cf7518c79a056edc05a570e17545eaf0e5 | b740ef060862cd2f47a7251635a9509093f0fc10 | update QARISK/ QABACKTEST | # QUANTAXIS PR 😇
感谢您对于QUANTAXIS的项目的参与~ 🛠请在此完善一下最后的信息~
## 注意
- 如果非第一次fork, 请先将quantaxis 库的内容PR进您的项目进行更新, 然后再执行对于quantaxis的pr
- 请完善[CHANGELOG](https://github.com/QUANTAXIS/QUANTAXIS/blob/master/CHANGELOG.md)再进行PR
## PR前必看
请使用如下代码对要PR的代码进行格式化:
qa的 yapf格式也是从vnpy那拿来的 参见 https://github.com/vnpy/vnpy/blob... | diff --git a/QUANTAXIS/QAARP/QARisk.py b/QUANTAXIS/QAARP/QARisk.py
index cbefa0e1a..100d536d9 100755
--- a/QUANTAXIS/QAARP/QARisk.py
+++ b/QUANTAXIS/QAARP/QARisk.py
@@ -129,7 +129,7 @@ def __init__(
if_fq选项是@尧提出的,关于回测的时候成交价格问题(如果按不复权撮合 应该按不复权价格计算assets)
"""
self.account = account
- sel... | 1 | 1 | 0 | [{"id": "G0", "claim": "The image added to README.md lacks a text alternative (alt attribute), which is a problem for people using screen readers.", "category": "accessibility", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
yutopp__go-rtmp__45 | yutopp/go-rtmp | 45 | defect | eedb42de1127dc0cea9911dafaecec1ee303abad | 4b2170ea2f9e919290f53d2c19e693d39ff198c3 | Add operations relevant for push | When implementing a client to be able to push RTMP towards twitch and Youtube I found that some methods were marked as "Not implemented" or missing, so I've added them.
Two of them change the API a little:
- Stream.Write becomes public
- Stream.CreateStream and ClientConn.CreateStream get a new parameter to set ... | diff --git a/client_conn.go b/client_conn.go
index 635ef76..7adb7e6 100644
--- a/client_conn.go
+++ b/client_conn.go
@@ -39,7 +39,7 @@ func newClientConnWithSetup(c net.Conn, config *ConnConfig) (*ClientConn, error)
}
ctrlStream.handler.ChangeState(streamStateClientNotConnected)
- conn.streamer.controlStreamWrite... | 3 | 3 | 0 | [{"id": "G0", "claim": "In example/client_demo/main.go the new CreateStream call should pass the chunkSize constant instead of the hard-coded literal 128.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In server_client_test.go the s0 CreateStrea... | null |
yutto-dev__yutto__132 | yutto-dev/yutto | 132 | defect | 59e2d524ffd168618203d1be3c0ee1e84ea6cc41 | 2a5c0181f19fcb6564bb2bc6b3ec9d8ed45ebece | ✨ feat: 在.nfo中为UGC视频添加作者、标签、分区字段 | <!-- PULL REQUEST TEMPLATE -->
<!-- (Update "[ ]" to "[x]" to check a box) -->
<!-- 感谢你的贡献 -->
<!-- 为了让我们更快地了解你所作的更改, **请不要删除本模板** -->
<!-- 在开始一个 PR 之前,请确定你已经阅读过 CONTRIBUTING.md -->
<!-- 为了节省你的时间,如果你需要一个新特性,在你开始为其工作之前,最佳选择是开启一个 featrue request 的 issue 让大家一起讨论 -->
## 动机
1. 生成的.nfo元数据不包含作者和标签,导致刮削时不能按作者分类;... | diff --git a/yutto/api/ugc_video.py b/yutto/api/ugc_video.py
index a394b762f..06c98ede9 100644
--- a/yutto/api/ugc_video.py
+++ b/yutto/api/ugc_video.py
@@ -24,7 +24,7 @@
)
from yutto.utils.console.logger import Logger
from yutto.utils.fetcher import Fetcher
-from yutto.utils.metadata import MetaData
+from yutto.uti... | 5 | 4 | 1 | [{"id": "G0", "claim": "The actor/genre metadata-building block inside get_ugc_video_info should be extracted into a separate function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `genre` field name used for the video category is a strang... | null |
yutto-dev__yutto__179 | yutto-dev/yutto | 179 | defect | 7495584ce6e9a9dfa93bcfb6456eb6907b4427e4 | 5ad0b16dd41244c89ea85052f250efaaba19b4dc | ✨feat: 增加严格校验登录状态的login-strict | <!-- PULL REQUEST TEMPLATE -->
<!-- (Update "[ ]" to "[x]" to check a box) -->
<!-- 感谢你的贡献 -->
<!-- 为了让我们更快地了解你所作的更改, **请不要删除本模板** -->
<!-- 在开始一个 PR 之前,请确定你已经阅读过 CONTRIBUTING.md -->
<!-- 为了节省你的时间,如果你需要一个新特性,在你开始为其工作之前,最佳选择是开启一个 featrue request 的 issue 让大家一起讨论 -->
## 动机
1. 有时候大家需要校验登录态而不是大会员 #176
2. `-stric... | diff --git a/README.md b/README.md
index eedcb8566..c98cb5d19 100644
--- a/README.md
+++ b/README.md
@@ -423,6 +423,11 @@ cat ~/.yutto_alias | yutto tensura-nikki --batch --alias-file -
- 参数 `--vip-strict`
- 默认值 `False`
+#### 严格校验登录状态有效
+
+- 参数 `--login-strict`
+- 默认值 `False`
+
#### 不显示颜色
- 参数 `--no-color`... | 8 | 7 | 0 | [{"id": "G0", "claim": "The commented-out mid assertion in test_get_user_info is no longer used, so it should be deleted.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The unused commented-out mid field in the UserInfo construction in get_user_... | null |
yuzutech__kroki__1566 | yuzutech/kroki | 1,566 | defect | 71d30e5691376f315c32b11d024ead7503cac4ba | 4226b1164cc84808ad0200144e655fbdf74dce14 | Add symbolator | This PR will add support for [symbolator](https://hdl.github.io/symbolator/) component diagrams.
resolves #1505
| diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index 52ee2fabd..8d71a41a6 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -37,6 +37,12 @@ jobs:
- name: Install GraphViz
run: sudo apt-get install graphviz -y
+ - name: Install Symbolator
+ run: |... | 8 | 5 | 0 | [{"id": "G0", "claim": "The symbolator service test should perhaps be removed because it makes the server build depend on having a symbolator executable.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Because the symbolator project is unmaintained, it s... | null |
yuzutech__kroki__951 | yuzutech/kroki | 951 | defect | 5f5f4eea6a37416a02f001805b8e7c536c88372c | 717ffe394d07fe9e028b5f8d1c586cea48907646 | resolves #507 add png support for Mermaid | Add the `/png` endpoint support for mermaid diagrams.
The resulting png has transparent background, and has no margin (will really only contain the actual rendered diagram).
See #507 | diff --git a/mermaid/src/index.js b/mermaid/src/index.js
index e0202f47f..7b41802da 100644
--- a/mermaid/src/index.js
+++ b/mermaid/src/index.js
@@ -11,18 +11,23 @@ const micro = require('micro')
const server = micro(async (req, res) => {
// TODO: add a /_status route (return mermaid version)
// TODO: read... | 6 | 6 | 2 | [{"id": "G0", "claim": "The output-type URL match should be simplified to /(png|svg)/ and use strict complete validation (e.g. anchored with ^ and $) so paths like /svg/png are rejected with an error instead of proceeding.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"... | null |
yzhang-gh__vscode-markdown__158 | yzhang-gh/vscode-markdown | 158 | defect | f6b2a88fef500ee56cfef4de3c14a40768e9f9d7 | 62b036354ab1b5820bfa2ea7db3fb54cefba01c6 | Reworked table formatting to handle indented tables | I meant to reduce the complexity of table formatting a lot by using
clever regex - I did not succeed fully here, but there are some
improvements from my point of view:
- additional tests
- indented tables are working (fixes #107)
- dash-lines (`---`) are not recognised as tables anymore by mistake
- no addition... | diff --git a/src/tableFormatter.ts b/src/tableFormatter.ts
index 6cbbc172..0e7bf0ec 100644
--- a/src/tableFormatter.ts
+++ b/src/tableFormatter.ts
@@ -16,7 +16,7 @@ class MarkdownDocumentFormatter implements DocumentFormattingEditProvider {
let tables = this.detectTables(document.getText());
if (table... | 4 | 4 | 2 | [{"id": "G0", "claim": "yzhang-gh proposes replacing the hyphen-line pattern with '[ \\t]*\\|?( *:?-{3,}:? *\\|)+( *:?-{3,}:? *\\|?)[ \\t]*' and asks whether the trailing '[ \\t]*' is really needed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
yzhang-gh__vscode-markdown__173 | yzhang-gh/vscode-markdown | 173 | defect | 0a2e4f702302b5720cfa90ff9dc9e7a76e086451 | 9d911760ba3050c806bc4867f16f275cd4cc0244 | Enable tables to be reduced when having large dash-lines. | Fixes #171 | diff --git a/src/tableFormatter.ts b/src/tableFormatter.ts
index 795b3598..ec47d90e 100644
--- a/src/tableFormatter.ts
+++ b/src/tableFormatter.ts
@@ -55,6 +55,21 @@ class MarkdownDocumentFormatter implements DocumentFormattingEditProvider {
return spaces;
}
+ /**
+ * Checks whether the necessary... | 1 | 1 | 0 | [{"id": "G0", "claim": "The pull request should use Math.max(colWidth[i], 5) instead of the new checkColWidth helper for the :---: dash-line case.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
yzhang-gh__vscode-markdown__360 | yzhang-gh/vscode-markdown | 360 | defect | 08da4d53aac689531f3fc3dc3224fb3f5aeb2e2d | 58e9a1c11c7ec80344fb3ce62ffb80510d57f159 | Fixed #323 #181 #335 #354 performance issues, support multiple tocs | Thanks for your idea~, finally I'm opening this PR. It mainly makes two changes:
1. After changing the TOC detection method to using `<!-- vscode-markdown-toc -->` tags, the performance issue doesn't exist any more.
2. All of multiple TOCs can be update simultaemously. It is only support to update one TOC before th... | diff --git a/package-lock.json b/package-lock.json
index 0e8782ad..4eee7f6a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2133,6 +2133,11 @@
"integrity": "sha1-l+mNj6TRBdYqJpHR3AfoINuN/E8=",
"dev": true
},
+ "string-similarity": {
+ "version": "3.0.0",
+... | 6 | 4 | 2 | [{"id": "G0", "claim": "The pull request should not change TOC detection to rely on <!-- vscode-markdown-toc --> tags; the maintainer dislikes that approach and wants another fast way to detect TOCs.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The fir... | null |
yzhang-gh__vscode-markdown__546 | yzhang-gh/vscode-markdown | 546 | defect | 154d041d5eeebb7dfef9ae41f813861402cc48a7 | 4bf39add9d554dc761e446b4bb6e7b265729d2a9 | Do not update list markers past headings | This should fix #411 and generally finding the next marker line number after a heading should not happen (this does not seem to break any other tests). | diff --git a/src/listEditing.ts b/src/listEditing.ts
index 99643be4..99358b8f 100644
--- a/src/listEditing.ts
+++ b/src/listEditing.ts
@@ -275,6 +275,12 @@ function findNextMarkerLineNumber(line?: number): number {
}
while (line < editor.document.lineCount) {
const lineText = editor.document.lineAt(l... | 1 | 1 | 0 | [{"id": "G0", "claim": "Move the new github#411 backspace test out of listEditing.test.ts into listRenumbering.test.ts.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
yzhang-gh__vscode-markdown__890 | yzhang-gh/vscode-markdown | 890 | defect | 661bbf904bb01ee0b25012f58a1eaccbc4b339f1 | 926c8d21f2dda7a5df2ed317affda405d06f56b3 | 🐛 Fix TOC visible text and GitHub slug generation | ## Summary
* Fix #662: The `<div>` tags are a quirk of `vscode.markdown-language-features`, which uses them for source mapping. But we don't need.
* Fix #515: This time, work on parsing result to simulate GitHub's rendering pipelines. We will no longer have any problem in generating slugs for it, unless markdown-it... | diff --git a/package-lock.json b/package-lock.json
index 64341e64..fbec32de 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -72,6 +72,12 @@
"integrity": "sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA==",
"dev": true
},
+ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The test run on this pull request has failing tests (the TOC visible-text expectations around escaping `#`), and the reviewer asks the author what he will do about them.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.