Update Abuse policy
This commit is contained in:
parent
6c6f8814a3
commit
180e942aa9
@ -1,12 +1,8 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import contentHTML from './About.md'
|
import contentHTML from './About.md'
|
||||||
|
|
||||||
class About extends React.Component {
|
function About() {
|
||||||
render() {
|
return <div className="wrapper" dangerouslySetInnerHTML={{ __html: contentHTML }}/>
|
||||||
return (
|
|
||||||
<div className="wrapper" dangerouslySetInnerHTML={{ __html: contentHTML }}/>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default About
|
export default About
|
||||||
|
@ -43,11 +43,7 @@ unpkg is not affiliated with or supported by npm, Inc. in any way. Please do not
|
|||||||
|
|
||||||
### Abuse
|
### Abuse
|
||||||
|
|
||||||
Currently, unpkg tries to prevent people from abusing the CDN in a few different ways.
|
unpkg maintains [a blacklist](https://github.com/unpkg/unpkg.com/blob/master/server/PackageBlacklist.json) of packages that are known to be malicious. If you find such a package on npm, please take a moment to submit a PR that adds it to the list!
|
||||||
|
|
||||||
First, in order to be available on unpkg a package must have been downloaded from the npm registry an average of 100 times per day over the past week.
|
|
||||||
|
|
||||||
Secondly, unpkg maintains a blacklist of packages that are known to be malicious. If you find such a package on npm, please take a moment to submit a PR that adds it to [our blacklist](https://github.com/unpkg/unpkg.com/blob/master/server/PackageBlacklist.json).
|
|
||||||
|
|
||||||
### Feedback
|
### Feedback
|
||||||
|
|
||||||
|
@ -1,12 +1,8 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import contentHTML from './Home.md'
|
import contentHTML from './Home.md'
|
||||||
|
|
||||||
class Home extends React.Component {
|
function Home() {
|
||||||
render() {
|
return <div className="wrapper" dangerouslySetInnerHTML={{ __html: contentHTML }}/>
|
||||||
return (
|
|
||||||
<div className="wrapper" dangerouslySetInnerHTML={{ __html: contentHTML }}/>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Home
|
export default Home
|
||||||
|
Loading…
x
Reference in New Issue
Block a user