Socket
Socket
Sign inDemoInstall

striptags

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

striptags - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

0

index.js
module.exports = require('./src/striptags');

2

package.json

@@ -12,3 +12,3 @@ {

"bugs": "https://github.com/ericnorris/striptags/issues",
"version": "2.0.3",
"version": "2.0.4",
"devDependencies": {

@@ -15,0 +15,0 @@ "blanket": "~1.1.6",

# striptags [![Build Status](https://travis-ci.org/ericnorris/striptags.svg)](https://travis-ci.org/ericnorris/striptags)
A fast implementation of PHP's [strip_tags](http://www.php.net/manual/en/function.strip-tags.php) in Node.js.
An implementation of PHP's [strip_tags](http://www.php.net/manual/en/function.strip-tags.php) in Node.js.

@@ -4,0 +4,0 @@ ## Features

@@ -11,3 +11,4 @@ 'use strict';

function striptags(html, allowableTags) {
var state = STATE_OUTPUT,
var html = html || '',
state = STATE_OUTPUT,
depth = 0,

@@ -14,0 +15,0 @@ output = '',

@@ -0,0 +0,0 @@ 'use strict';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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