noclosure-resin-bridge

1.0.0 • Public • Published

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,
  ...
})

/noclosure-resin-bridge/

    Package Sidebar

    Install

    npm i noclosure-resin-bridge

    Weekly Downloads

    3

    Version

    1.0.0

    License

    Apache-2.0

    Unpacked Size

    20.9 kB

    Total Files

    5

    Last publish

    Collaborators

    • mikesamuel