From 9c9a3a14c81012c4e7a457aa80b68d8c3bf74763 Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Sat, 26 Oct 2024 14:29:51 -0400 Subject: [PATCH] Regular update --- config/allowed-code-link-text.txt | 12 +++++++---- config/allowed-redirects.txt | 1 - config/missing-features.txt | 36 ++++++++++--------------------- config/no-page.txt | 2 -- src/server/check-content.ts | 2 +- 5 files changed, 20 insertions(+), 33 deletions(-) diff --git a/config/allowed-code-link-text.txt b/config/allowed-code-link-text.txt index 52014ef..c6d9e15 100644 --- a/config/allowed-code-link-text.txt +++ b/config/allowed-code-link-text.txt @@ -40,7 +40,7 @@ repeat( [ | auto-fill | auto-fit ] , ) round <'border-radius'> span && [ || ] steps(, ) -steps(n, ) +steps(n, ) Code: "display": "browser" @@ -100,9 +100,13 @@ gl.COLOR_ATTACHMENT{0-15} gl.getProgramParameter(program, gl.ACTIVE_ATTRIBUTES) gl.getProgramParameter(program, gl.ACTIVE_UNIFORMS) -non-standard_header -non-standard_inline -secureContext_header +Deprecated_Header +Non-standard_Header +SecureContext_Header +Deprecated_Inline +Experimental_Inline +Non-standard_Inline +Optional_Inline declarative_net_request.rule_resources browser_specific_settings.gecko.id diff --git a/config/allowed-redirects.txt b/config/allowed-redirects.txt index 4b19396..7cb5f8a 100644 --- a/config/allowed-redirects.txt +++ b/config/allowed-redirects.txt @@ -12,7 +12,6 @@ https://docs.djangoproject.com/en/stable/{(.*)} https://docs.djangoproject.com/e https://laravel.com/docs/{(.*)} https://laravel.com/docs/{[\d.x]+}/$1 https://www.sqlite.org/wasm https://www.sqlite.org/wasm/doc/trunk/index.md -https://svelte.dev/repl https://svelte.dev/repl/{(.*)} https://vercel.com/import/{(\w*)} https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fvercel%2Ftree%2Fmain%2Fexamples%2F$1 This is weird—the HTTPS URL is redirecting to HTTP in the action runner diff --git a/config/missing-features.txt b/config/missing-features.txt index d329e20..c97b9ac 100644 --- a/config/missing-features.txt +++ b/config/missing-features.txt @@ -33,11 +33,16 @@ api.CSSFontFeatureValuesRule.ornaments api.CSSFontFeatureValuesRule.styleset api.CSSFontFeatureValuesRule.stylistic api.CSSFontFeatureValuesRule.swash +api.CSSMarginRule +api.CSSMarginRule.name +api.CSSMarginRule.style api.CSSMathClamp api.CSSMathClamp.CSSMathClamp api.CSSMathClamp.lower api.CSSMathClamp.upper api.CSSMathClamp.value +api.CSSNestedDeclarations +api.CSSNestedDeclarations.style api.CSSStyleValue.toString api.CSSViewTransitionRule api.CSSViewTransitionRule.navigation @@ -154,12 +159,6 @@ api.ElementInternals.ariaInvalid api.ElementInternals.ariaLabelledByElements api.ElementInternals.ariaOwnsElements api.EntrySync -api.ErrorEvent.ErrorEvent -api.ErrorEvent.colno -api.ErrorEvent.error -api.ErrorEvent.filename -api.ErrorEvent.lineno -api.ErrorEvent.message api.External api.External.AddSearchProvider api.External.IsSearchProviderInstalled @@ -205,9 +204,6 @@ api.HTMLBodyElement.text api.HTMLBodyElement.vLink api.HTMLButtonElement.command api.HTMLButtonElement.commandfor -api.HTMLButtonElement.formAction -api.HTMLButtonElement.formEnctype -api.HTMLButtonElement.formMethod api.HTMLButtonElement.formNoValidate api.HTMLButtonElement.formTarget api.HTMLCanvasElement.mozPrintCallback @@ -215,12 +211,12 @@ api.HTMLDListElement.compact api.HTMLDirectoryElement api.HTMLDirectoryElement.compact api.HTMLDivElement.align +api.HTMLElement.autocorrect api.HTMLElement.writingSuggestions api.HTMLEmbedElement.align api.HTMLEmbedElement.getSVGDocument api.HTMLEmbedElement.name api.HTMLEmbedElement.type -api.HTMLFormElement.autocomplete api.HTMLFormElement.noValidate api.HTMLFormElement.rel api.HTMLFormElement.relList @@ -258,9 +254,6 @@ api.HTMLImageElement.lowsrc api.HTMLImageElement.sharedStorageWritable api.HTMLInputElement.align api.HTMLInputElement.dirName -api.HTMLInputElement.formAction -api.HTMLInputElement.formEnctype -api.HTMLInputElement.formMethod api.HTMLInputElement.formNoValidate api.HTMLInputElement.formTarget api.HTMLInputElement.incremental @@ -287,7 +280,6 @@ api.HTMLMarqueeElement.stop api.HTMLMarqueeElement.trueSpeed api.HTMLMarqueeElement.vspace api.HTMLMarqueeElement.width -api.HTMLMediaElement.addTextTrack api.HTMLMediaElement.getStartDate api.HTMLMediaElement.mozAudioCaptured api.HTMLMediaElement.mozCaptureStreamUntilEnded @@ -310,13 +302,7 @@ api.HTMLObjectElement.getSVGDocument api.HTMLObjectElement.hspace api.HTMLObjectElement.standby api.HTMLObjectElement.vspace -api.HTMLOptionsCollection.add -api.HTMLOptionsCollection.length -api.HTMLOptionsCollection.remove -api.HTMLOptionsCollection.selectedIndex api.HTMLOutputElement.HTMLOutputElement -api.HTMLOutputElement.defaultValue -api.HTMLOutputElement.htmlFor api.HTMLParagraphElement.align api.HTMLParamElement.name api.HTMLParamElement.type @@ -574,8 +560,8 @@ api.Rect.left api.Rect.right api.Rect.top api.Report.toJSON +api.Request.duplex api.Request.isHistoryNavigation -api.Request.keepalive api.Request.targetAddressSpace api.SVGAElement.download api.SVGAElement.href @@ -1012,7 +998,7 @@ api.SVGUseElement.x api.SVGUseElement.y api.SVGViewElement.preserveAspectRatio api.SVGViewElement.viewBox -api.Scheduler.yield +api.SerialPort.connected api.ShadowRoot.elementFromPoint api.ShadowRoot.elementsFromPoint api.ShadowRoot.getSelection @@ -1102,7 +1088,6 @@ api.VisibilityStateEntry.startTime api.WebGL2RenderingContext.drawingBufferFormat api.WebGL2RenderingContext.drawingBufferStorage api.WebGL2RenderingContext.lineWidth -api.WebGL2RenderingContext.unpackColorSpace api.WebGLRenderingContext.drawingBufferFormat api.WebGLRenderingContext.drawingBufferStorage api.WebGLTimerQueryEXT @@ -1177,6 +1162,7 @@ css.properties.-webkit-user-drag css.properties.-webkit-user-modify css.properties.alignment-baseline css.properties.alt +css.properties.anchor-scope css.properties.baseline-shift css.properties.baseline-source css.properties.color-adjust @@ -1184,7 +1170,6 @@ css.properties.flood-color css.properties.flood-opacity css.properties.glyph-orientation-vertical css.properties.ime-mode -css.properties.interpolate-size css.properties.lighting-color css.properties.object-view-box css.properties.reading-flow @@ -1198,13 +1183,13 @@ css.selectors.active-view-transition css.selectors.active-view-transition-type css.selectors.buffering css.selectors.closed +css.selectors.details-content css.selectors.muted css.selectors.open css.selectors.seeking css.selectors.stalled css.selectors.volume-locked css.types.calc-constant -css.types.calc-size javascript.builtins.RegExp.source.escaping javascript.builtins.RegExp.toString.escaping http.headers.Attribution-Reporting-Support @@ -1216,6 +1201,7 @@ webassembly.exception-handling webassembly.extended-constant-expressions webassembly.fixed-width-SIMD webassembly.garbage-collection +webassembly.jsStringBuiltins webassembly.multi-value webassembly.multiMemory webassembly.mutable-globals diff --git a/config/no-page.txt b/config/no-page.txt index e7d07fa..5124be4 100644 --- a/config/no-page.txt +++ b/config/no-page.txt @@ -296,10 +296,8 @@ /en-US/docs/Web/CSS/user-input /en-US/docs/Web/CSS/zero -/en-US/docs/Web/HTTP/Headers/Accept-Push-Policy /en-US/docs/Web/HTTP/Headers/Accept-Signature /en-US/docs/Web/HTTP/Headers/Origin-Isolation -/en-US/docs/Web/HTTP/Headers/Push-Policy /en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Form-Factor /en-US/docs/Web/HTTP/Headers/Sec-CH-UA-WoW64 /en-US/docs/Web/HTTP/Headers/Signature diff --git a/src/server/check-content.ts b/src/server/check-content.ts index 1b60984..f7f431c 100644 --- a/src/server/check-content.ts +++ b/src/server/check-content.ts @@ -24,7 +24,7 @@ const allowedSpacedCodeLink = [ // HTTP status /^\d+ [\w '-]+$/, // HTTP header - /^(Cache-Control|Clear-Site-Data|Connection|Content-Length|Content-Security-Policy|Cross-Origin-Opener-Policy|Cross-Origin-Resource-Policy|Expect|Feature-Policy|Permissions-Policy|Sec-Purpose|Transfer-Encoding): ([\w-]+|"[\w-]+")$/, + /^(Accept-Ranges|Cache-Control|Clear-Site-Data|Connection|Content-Length|Content-Security-Policy|Cross-Origin-Opener-Policy|Cross-Origin-Resource-Policy|Expect|Feature-Policy|Permissions-Policy|Sec-Purpose|Transfer-Encoding): ([\w-]+|"[\w-]+")$/, // MIME /^[a-z]+\/[\w+-]+; [a-z]+=("[\w ,.-]+"|\w+);?$/, // Macro calls