Socket
Socket
Sign inDemoInstall

html2pug

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html2pug - npm Package Versions

4.0.0

Diff

Changelog

Source

[4.0.0] - 2019-05-14

Added

  • Option doubleQuotes for attribute values
  • Option commas to CLI
  • Travis CI file

Changed

  • Refactored cli.js
  • Option useTabs to tabs (BREAKING CHANGE)
  • Option useCommas to commas (BREAKING CHANGE)
  • Option isFragment to fragment (BREAKING CHANGE)
izolate
published 3.0.0 •

Changelog

Source

[3.0.0] - 2019-04-07

Changed

  • Option tabs to useTabs (BREAKING CHANGE)
  • Option fragment to isFragment (BREAKING CHANGE)
  • preserveLineBreaks default is true

Added

  • Multiline element values (<script>, <pre> etc.)
  • Extend method to merge options with defaults
  • Prettier + ESLint
  • Shorthand for boolean/empty attributes
  • Option useCommas for attribute separator

Removed

  • Standard code style

Fixed

  • Replaced single quotes in attributes with an escaped single quote
  • Vulnerabilities in dependencies
izolate
published 2.0.1 •

Changelog

Source

[2.0.1] - 2017-08-13

Changed

  • Remove unused async function
  • Correct documenation on doctype
izolate
published 2.0.0 •

Changelog

Source

[2.0.0] - 2017-08-12

Changed

  • CLI invocation syntax (BREAKING CHANGE)

Added

  • Support for tab indentation
  • Tests
izolate
published 1.0.0 •

Changelog

Source

[1.0.0] - 2017-07-09

Changed

  • Use parse5 instead of jsdom

Fixed

  • Text node bug due to inconsistent whitespace
  •   conversion error
  • Cyrillic characters encoding
  • Indentation for multi-line comments
  • Canvas tag issue
izolate
published 0.0.1 •

izolate
published 0.0.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