New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

isomorphic-dompurify

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isomorphic-dompurify - npm Package Compare versions

Comparing version 0.20.0 to 0.21.0

9

package.json
{
"name": "isomorphic-dompurify",
"version": "0.20.0",
"version": "0.21.0",
"description": "Makes it possible to use DOMPurify on server and client in the same way.",

@@ -33,4 +33,3 @@ "keywords": [

"dependencies": {
"@types/dompurify": "^2.3.3",
"dompurify": "^2.3.8",
"dompurify": "^2.3.12",
"jsdom": "^20.0.0"

@@ -40,5 +39,5 @@ },

"devDependencies": {
"jest": "^28.1.1",
"terser": "^5.14.1"
"jest": "^28.1.3",
"terser": "^5.15.0"
}
}

@@ -21,3 +21,9 @@ # Isomorphic DOMPurify

## Requirements
| isomorphic-dompurify | Node.js | Environment |
| ------------- | ------------- | ------------- |
| `<=0.19.0` | `>=12` | Server |
| `>=0.20.0` | `>=14` | Server |
## Installation

@@ -48,3 +54,3 @@

```javascript
var clean = DOMPurify.sanitize(dirty);
const clean = DOMPurify.sanitize(dirty);
```

@@ -51,0 +57,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc