Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 563049360
Change-Id: I8e10c6ecd585d9d729bb782ae49b02087bde9cf5
  • Loading branch information
Closure Team authored and copybara-github committed Sep 6, 2023
1 parent 1955f91 commit b54d5fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions closure/goog/html/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ closure_js_library(
closure_js_library(
name = "legacyconversions",
srcs = ["legacyconversions.js"],
deprecation = "Please use 'safevalues/restricted/legacy' instead",
lenient = True,
deps = [
":safehtml",
Expand Down Expand Up @@ -127,6 +128,7 @@ closure_js_library(
name = "testing",
testonly = True,
srcs = ["testing.js"],
deprecation = "Please use 'safevalues/testing/conversions' instead",
lenient = True,
deps = [
":safehtml",
Expand Down Expand Up @@ -175,6 +177,7 @@ closure_js_library(
closure_js_library(
name = "uncheckedconversions",
srcs = ["uncheckedconversions.js"],
deprecation = "Please use 'safevalues/restricted/reviewed' instead",
lenient = True,
deps = [
":safehtml",
Expand Down
3 changes: 3 additions & 0 deletions closure/goog/html/sanitizer/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ closure_js_library(
closure_js_library(
name = "htmlsanitizer",
srcs = ["htmlsanitizer.js"],
deprecation = "Please use sanitizeHtml, HtmlSanitizer or HtmlSanitizerBuilder from 'safevalues' instead. " +
"Note: We are aware the safevalues sanitizer doesn't support more niche use cases (see b/298325699). " +
"If you believe you fall in this case, please add a clear explanation to the CL adding you to the visibility allowlist so that we can best help you.",
lenient = True,
deps = [
":attributeallowlists",
Expand Down

0 comments on commit b54d5fa

Please sign in to comment.