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

@aegisjsproject/sanitizer

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aegisjsproject/sanitizer - npm Package Versions

2

0.1.3

Diff

Changelog

Source

[v0.1.3] - 2024-11-06

Changed

  • Use setHTMLUnsafe() instead of innerHTML (supports declarative Shadow DOM)
  • Allow shadowrootclonable and shadowrootserializable in default HTML attribute list
  • Improve trust-policy.js module policy creation

Fixed

  • Fix main and module
shgysk8zer0
published 0.1.2 •

Changelog

Source

[v0.1.2] - 2024-09-25

Fixed

  • Fix bad passing of sanitizer options and possible infinite recursion
shgysk8zer0
published 0.1.1 •

Changelog

Source

[v0.1.1] - 2024-09-19

Changed

  • Update dependencies and config
shgysk8zer0
published 0.1.0 •

Changelog

Source

[v0.1.0] - 2024-04-08

Added

  • Add setHTML method on DocumentFragment (and therefore ShadowRoot)
  • Add support for setting config directly instead of via sanitizer property

Changed

  • html, svg, and mathml policies now default to comments = true (base has comments = false)
shgysk8zer0
published 0.0.10 •

Changelog

Source

[v0.0.10] - 2024-04-03

Added

  • Add dataAttributes to control allowing of data-* attributes
  • Add module for Sanitizer + TrustedTypes policy

Changed

  • Update SVG config to allow <use> & xlink:href, etc
  • Use trustedTypes.getAttributeType() if available when sanitizing attributes
shgysk8zer0
published 0.0.9 •

Changelog

Source

[v0.0.9] - 2024-04-02

Added

  • Add polyfills for URL.parse & Promise.withResolvers

Fixed

  • Fix polyfill for Object.groupBy
shgysk8zer0
published 0.0.8 •

Changelog

Source

[v0.0.8] - 2024-04-01

Added

  • Add @aegisjsproject/trusted-types as dev dependency

Fixed

  • Fix indexing issue iterating over child nodes and attributes
shgysk8zer0
published 0.0.7 •

Changelog

Source

[v0.0.7] - 2024-03-28

Added

  • Add *.cjs versions of all modules
  • Add *.min.js versions of config files

Removed

  • Do no generate *.mjs scripts
  • Remove parsers (moved to @aegisjsproject/parsers)
shgysk8zer0
published 0.0.6 •

Changelog

Source

[v0.0.6] - 2024-03-28

Fixed

  • Do not ignore *.min.* & *.map when publishing
shgysk8zer0
published 0.0.5 •

Changelog

Source

[v0.0.5] - 2024-03-27

Added

  • Add parsers with tagged template functions for html, css, svg, etc
  • Add generated minified polyfill iife script
2
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