Safe HTML Types Library

Wrapper types for web content strings. These strings must meet a contract that enable web applications to be secure-by-construction against important classes of vulnerabilities like XSS. This is meant to be used in conjunction with the error_prone checker, and safe template languages. https://github.com/google/safe-html-types/blob/master/README.md

License

License

GroupId

GroupId

com.google.common.html.types
ArtifactId

ArtifactId

types
Last Version

Last Version

1.0.8
Release Date

Release Date

Type

Type

jar
Description

Description

Safe HTML Types Library
Wrapper types for web content strings. These strings must meet a contract that enable web applications to be secure-by-construction against important classes of vulnerabilities like XSS. This is meant to be used in conjunction with the error_prone checker, and safe template languages. https://github.com/google/safe-html-types/blob/master/README.md
Project Organization

Project Organization

Google

Download types

How to add to project

<!-- https://jarcasting.com/artifacts/com.google.common.html.types/types/ -->
<dependency>
    <groupId>com.google.common.html.types</groupId>
    <artifactId>types</artifactId>
    <version>1.0.8</version>
</dependency>
// https://jarcasting.com/artifacts/com.google.common.html.types/types/
implementation 'com.google.common.html.types:types:1.0.8'
// https://jarcasting.com/artifacts/com.google.common.html.types/types/
implementation ("com.google.common.html.types:types:1.0.8")
'com.google.common.html.types:types:jar:1.0.8'
<dependency org="com.google.common.html.types" name="types" rev="1.0.8">
  <artifact name="types" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.google.common.html.types', module='types', version='1.0.8')
)
libraryDependencies += "com.google.common.html.types" % "types" % "1.0.8"
[com.google.common.html.types/types "1.0.8"]

Dependencies

compile (6)

Group / Artifact Type Version
com.google.guava : guava jar 19.0
com.google.protobuf : protobuf-java jar 3.3.0
com.google.jsinterop : jsinterop-annotations jar 1.0.1
javax.annotation : jsr250-api jar 1.0
com.google.code.findbugs : jsr305 jar 1.3.9
com.google.errorprone : error_prone_annotations jar 2.0.2

provided (1)

Group / Artifact Type Version
com.google.auto.value : auto-value jar 1.5.2

test (2)

Group / Artifact Type Version
junit : junit jar [4.11,)
com.google.guava : guava-testlib Optional jar 19.0

Project Modules

There are no modules declared in this project.

Safe HTML Types for Java

This is the Java version of the safe HTML types library which allows safe-by-construction of web applications by introducing types with safe contracts for snippets of content in web languages.


See [release-checklist.md] for instructions on how to push to github and maven central.

com.google.common.html.types

Google

Google ❤️ Open Source

Versions

Version
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0