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

html-janitor

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-janitor - npm Package Versions

2.0.4

Diff

scribe-dev
published 2.0.2 •

Changelog

Source

2.0.2

Validation functions can now return validation objects rather than simply outcomes.

Thanks to Brad Vogel for this functionality.

scribe-dev
published 2.0.1 •

Changelog

Source

2.0.1

Adds the ability to configure HTML Janitor with validation functions that determine whether a given element should be allowed programatically.

Thanks Brad Vogel for adding this functionality.

scribe-dev
published 2.0.0 •

Changelog

Source

2.0.0

Makes element configuration (e.g. p: true/false) symmetrical. Previously setting and element to false remove the element completely from the cleaned output.

scribe-dev
published 1.1.0 •

Changelog

Source

1.1.0

It should be possible to allow all attributes on an element. This was mentioned in the documentation but was not working as intended.

As the previous behaviour was broken I don't believe anyone was using it but if you were then hopefully it will just magically work for you now.

Thanks Alex Palaistras for fixing this.

scribe-dev
published 1.0.1 •

Changelog

Source

1.0.1

PRE has been added to the list of block elements

scribe-dev
published 1.0.0 •

Changelog

Source

1.0.0

Changes the definition of what constitutes a block tag and also the code will now strip out incorrectly nested block and inline tags.

Thanks to Ankit Ahuja for this contribution.

scribe-dev
published 0.3.2 •

Changelog

Source

0.3.2

Adds IE NodeWalker compatibility change from daniel-nelson, thanks.

Note: there are no CI tests for IE so support is not guaranteed

scribe-dev
published 0.3.1 •

Changelog

Source

0.3.1

No functionality changes but corrects the package json for the NPM release

oliverjash
published 0.2.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