Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

noclosure-resin-bridge

mikesamuel8Apache-2.01.0.0
security, polymer, polymer-resin

readme

No Closure Polymer Resin Bridge

Build Status Dependencies Status npm Coverage Status Install Size Known Vulnerabilities

A bridge for Polymer Resin that does not depend on Closure Library.

See configuring Polymer Resin for information about bridge functions.

The bridge function defines what values are safe. It allows a framework to interoperate with different kinds of "safe values" like Google Closure's goog.html package, the Trusted Types polyfill, or node-sec-patterns.

If index.js has loaded into the browser, then you can configure Polymer Resin with this bridge thus:

security.polymer_resin.install({
  'safeTypesBridge': security.polymer_resin.noclosure_bridge,
  ...
})