Skip to content

Commit

Permalink
Remove deprecation warnings
Browse files Browse the repository at this point in the history
We know the whole library is deprecated, no need to spam us about it

Achieved using:

```
 buildozer 'remove deprecation' '//...:*'
```

Though it was so few changes that hand removing them would have
been easy too.
  • Loading branch information
claydiffrient committed Jul 17, 2024
1 parent 75e2be6 commit ac218a1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion closure/goog/dom/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,6 @@ closure_js_library(
"safe.clutz.d.ts",
"safe.js",
],
deprecation = "Please use 'safevalues/dom' instead",
lenient = True,
deps = [
":asserts",
Expand Down
9 changes: 0 additions & 9 deletions closure/goog/html/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ closure_js_library(
"legacyconversions.clutz.d.ts",
"legacyconversions.js",
],
deprecation = "Please use 'safevalues/restricted/legacy' instead",
lenient = True,
deps = [
":safehtml",
Expand All @@ -37,7 +36,6 @@ closure_js_library(
"safehtml.clutz.d.ts",
"safehtml.js",
],
deprecation = "Please use 'safevalues' instead",
lenient = True,
deps = [
":safescript",
Expand Down Expand Up @@ -79,7 +77,6 @@ closure_js_library(
"safescript.clutz.d.ts",
"safescript.js",
],
deprecation = "Please use 'safevalues' instead",
lenient = True,
deps = [
":trustedtypes",
Expand All @@ -95,7 +92,6 @@ closure_js_library(
"safestyle.clutz.d.ts",
"safestyle.js",
],
deprecation = "Please use 'safevalues' instead",
lenient = True,
deps = [
":safeurl",
Expand All @@ -113,7 +109,6 @@ closure_js_library(
"safestylesheet.clutz.d.ts",
"safestylesheet.js",
],
deprecation = "Please use 'safevalues' instead",
lenient = True,
deps = [
":safestyle",
Expand All @@ -131,7 +126,6 @@ closure_js_library(
"safeurl.clutz.d.ts",
"safeurl.js",
],
deprecation = "Please use 'safevalues' instead",
lenient = True,
deps = [
":trustedresourceurl",
Expand Down Expand Up @@ -162,7 +156,6 @@ closure_js_library(
"testing.clutz.d.ts",
"testing.js",
],
deprecation = "Please use 'safevalues/testing/conversions' instead",
lenient = True,
deps = [
":safehtml",
Expand Down Expand Up @@ -195,7 +188,6 @@ closure_js_library(
"trustedresourceurl.clutz.d.ts",
"trustedresourceurl.js",
],
deprecation = "Please use 'safevalues' instead",
lenient = True,
deps = [
":safescript",
Expand Down Expand Up @@ -224,7 +216,6 @@ closure_js_library(
"uncheckedconversions.clutz.d.ts",
"uncheckedconversions.js",
],
deprecation = "Please use 'safevalues/restricted/reviewed' instead",
lenient = True,
deps = [
":safehtml",
Expand Down
3 changes: 0 additions & 3 deletions closure/goog/html/sanitizer/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ closure_js_library(
"htmlsanitizer.clutz.d.ts",
"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 ac218a1

Please sign in to comment.