Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

isomorphic-dompurify

Package Overview
Dependencies
Maintainers
1
Versions
60
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 1.5.0 to 1.6.0

6

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

@@ -36,8 +36,8 @@ "keywords": [

"dompurify": "^3.0.3",
"jsdom": "^22.0.0"
"jsdom": "^22.1.0"
},
"devDependencies": {
"jest": "^29.5.0",
"terser": "^5.17.3"
"terser": "^5.17.6"
}
}

@@ -43,6 +43,9 @@ # Isomorphic DOMPurify

```javascript
// Import as an ES6 module.
// Import a necessary function in the ES6 way (recommended):
import { sanitize, isSupported } from "isomorphic-dompurify";
// or the entire module:
import DOMPurify from 'isomorphic-dompurify';
// Or as a CommonJS module.
// or as a CommonJS module:
const DOMPurify = require('isomorphic-dompurify');

@@ -49,0 +52,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