Comments (1)
Yes something is off. There are types but my TS (5) complains about no types existing :(
Edit:
My quick and dirty hack... I copied the file node_modules/xss/typings/xss.d.ts
to my projects typings folder. TS is happy now. I can continue :)
from js-xss.
Related Issues (20)
- "invalid group specifier name" error in Safari after upgrade to 1.0.12 HOT 7
- 运算符 大于号>和小于号<不想被转码 HOT 1
- video标签过滤后source标签丢失 HOT 2
- src with blob:... is removed HOT 1
- At v1.0.14 stripIgnoreTag behavior changed HOT 1
- I would like to know why all styles need to be whitelisted by configuration before they are not filtered?
- Escaping attribute does not work sufficient HOT 1
- whiteList fails when using slashes to separate tag attributes (PR included)
- Ignore greater or less than symbol? HOT 1
- Links in href/src needs a protocol, but not in url(), why ?
- Cannot create xss instance with options ^1.0.14
- The href content in a tag is 'data: image', which is not processed
- Support being imported by Node
- img src processed to empty HOT 2
- a标签已经被加入到了白名a: ['class', 'href', 'target'],但是href里面放入自定义协议,比如baidu360://efwefwfwe给过滤了,怎么办 HOT 1
- How to whitelist cookies
- Doesn't sanitize "<p>abc<iframe//src=jAva	script:alert(3)>def</p>"
- How to see what tags are removed?
- Is it possible to preserve case on attributes when filtering XSS?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-xss.