Rehype Minify Versions Save

plugins to minify HTML

[email protected]

6 months ago

7.0.0

8 months ago

Change

  • ebf43e7 Update unified, @types/hast, utilities, etc migrate: update too
  • 3cf2c29 Change to require Node.js 16 migrate: update too
  • f9fab12 Change to use exports migrate: don’t use private APIs
  • 6724645 rehype-minify-doctype: remove migrate: it’s not possible to use weird doctypes, use xast if you want xml
  • 1635e2f hast-util-from-string: remove return value migrate: keep a reference to the changed node around

Full Changelog: https://github.com/rehypejs/rehype-minify/compare/6.0.0...7.0.0

[email protected]

2 years ago
  • ca840b0 Fix to not collapse in script, style

[email protected]

2 years ago
  • 190ced9 Fix link[rel=canonical]

[email protected]

2 years ago
  • 4e5b583 Externalize schema as html-enumerated-attributes
  • 3d42055 Add support for selectors
  • b34a034 Update to improved schema

[email protected]

2 years ago

[email protected]

2 years ago
  • 25b256a Add support for file.data.meta

6.0.0

2 years ago

Changes

  • 88493cb Add JSDoc based types

  • 964b3ea Use ESM

    • Change:

      // Presets and plugins use default exports:
      // From CommonJS
      var rehypePresetMinify = require('rehype-preset-minify')
      
      // To ESM
      import rehypePresetMinify from 'rehype-preset-minify'
      
      // Utilities use specifiers:
      var toString = require('hast-util-to-string') //=> import {toString} from 'hast-util-to-string'
      

    Learn more about ESM in this guide

Patches

  • e76189a Update readmes
  • ecba958 Refactor code-style
  • fcfb86e Update dependencies
  • f7812a9 f945aef Remove x-is-array, trim, uniq dependency

[email protected]

3 years ago
  • 97add13 Update trim

[email protected]

3 years ago
  • 97add13 Update trim