Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

posthtml-ast-contains-only-empty-space

codsen77MIT2.1.5

DEPRECATED - use ast-contains-only-empty-space instead

ast, posthtml, object, tree, posthtml-tree, posthtmltree, html, xml, parser, array, empty, space, trim

readme

posthtml-ast-contains-only-empty-space

DEPRECATED

Use ast-contains-only-empty-space instead.
2018-03-10

Licence

MIT License (MIT)

Copyright © 2018 Codsen Ltd, Roy Revelt

changelog

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

2.1.0 - 2017-12-22

Changed

  • ✨ Tapped ast-monkey-traverse directly, no need for whole ast-monkey.

2.0.0 - 2017-12-15

Changed

  • ✨ Rebased in ES Modules
  • ✨ Dropped JS Standard in favor of raw ESLint on airbnb-base preset, with semicolons off
  • ✨ Set up Rollup to generate three builds: CommonJS, UMD and ES Modules, all wired up to separate package.json keys. When this library is consumed, WebPack and Rollup should understand this and switch to ES Modules build automatically.

1.6.0 - 2017-06-18

Added

  • Now supporting full JSON types spec, particularly, null as objects key values.

    Updated

  • Deps, including to the latest ast-monkey.

1.5.0 - 2017-05-21

Changed

  • Recoded everything from scratch - switched to ast-monkey, which does all the heavy lifting (traversal etc). What was left was edge cases when input is string or weird (functions etc.)

    Unchanged

  • Unit tests stay the same
  • Coverage is solid 100%

1.4.0 - 2017-02-20

Added

  • Table of contents to the readme

    Updated

  • Deps version ranges

1.3.0 - 2016-12-25

Updated

  • Readme

1.2.0 - 2016-12-23

Added

  • Precommit hooks and JS Standard checks

1.1.0 - 2016-11-30

Updated

  • Dependencies, readme

1.0.0 - 2016-10-31

New

  • First public release