Skip to content

Commit

Permalink
fix(deps): add XSS among peer dependencies (#843)
Browse files Browse the repository at this point in the history
* fix(deps): add XSS among peer dependencies

* fix(build): add missing global name for <script/> imports

Co-authored-by: Yotam Berkowitz <[email protected]>
  • Loading branch information
Thomaash and yotamberk authored Dec 21, 2020
1 parent c208182 commit a106c0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
"propagating-hammerjs": "^1.4.0 || ^2.0.0",
"uuid": "^3.4.0 || ^7.0.0",
"vis-data": "^6.3.0 || ^7.0.0",
"vis-util": "^3.0.0 || ^4.0.0"
"vis-util": "^3.0.0 || ^4.0.0",
"xss": "^1.0.0"
},
"devDependencies": {
"@babel/core": "7.12.10",
Expand Down
3 changes: 2 additions & 1 deletion rollup.build.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ export default generateRollupConfiguration({
"vis-util": "vis",
keycharm: "keycharm",
moment: "moment",
uuid: "uuid"
uuid: "uuid",
xss: "filterXSS",
},
header: { name: "vis-timeline and vis-graph2d" },
libraryFilename: "vis-timeline-graph2d",
Expand Down

0 comments on commit a106c0a

Please sign in to comment.