Skip to content

Commit

Permalink
polymer-resin: update npm files list
Browse files Browse the repository at this point in the history
The files list for npm was missing "sanitizer.js" which was split out
of polymer-resin.js to simplify lit-html integration.

This sorts the files list and adds sanitizer.js.

Also, documented how to publish to npm and bumped the version field.

PiperOrigin-RevId: 248510743
  • Loading branch information
mikesamuel committed May 16, 2019
1 parent 9ab73c9 commit a8831db
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
{
"name": "polymer-resin",
"description": "XSS mitigation for Polymer webcomponents that uses safe html type contracts",
"version": "2.0.0",
"version": "2.0.1",
"keywords": [
"polymer",
"security",
"xss"
],
"main": "polymer-resin.js",
"files": [
"/polymer-resin.html",
"/polymer-resin.js",
"/classify.js",
"/closure-bridge.js",
"/lib/contracts/contracts.js",
"/lib/namealiases/namealiases.js",
"/standalone/polymer-resin.html",
"/standalone/polymer-resin.js",
"/polymer-resin.html",
"/polymer-resin.js",
"/polymer3-resin.js",
"/sanitizer.js",
"/standalone/polymer-resin-debug.html",
"/standalone/polymer-resin-debug.js"
"/standalone/polymer-resin-debug.js",
"/standalone/polymer-resin.html",
"/standalone/polymer-resin.js"
],
"dependencies": {
"@polymer/polymer": "^3.0.2",
Expand Down

0 comments on commit a8831db

Please sign in to comment.