Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Latest commit

 

History

History
199 lines (131 loc) · 5.85 KB

CHANGELOG.md

File metadata and controls

199 lines (131 loc) · 5.85 KB

v2.0.2 / 2016-06-13

Highlights

  • Fixes error caused by Literal nodes in Stylus

Changes

v2.0.1...v2.0.2

v2.0.1 / 2016-06-12

Highlights

  • Adds node_modules as default to options.ignoreFiles

Changes

v2.0.0...v2.0.1

v2.0.0 / 2016-06-12

Highlights

  • Checks Stylus directly rather than the CSS it creates
  • Replaced Jade with Pug
  • Reports column numbers for locations found in Pug

Changes

v1.2.6...v2.0.0

v1.2.6 / 2016-01-20

Highlights

  • Remove shrinkwrap

Changes

v1.2.5...v1.2.6

v1.2.5 / 2015-12-09

Highlights

  • Refactored to remove unneeded Pug dependencies

Changes

v1.2.4...v1.2.5

v1.2.4 / 2015-12-01

Highlights

  • Update dependencies to make use of new pug-lexer structure

Changes

v1.2.3...v1.2.4

v1.2.3 / 2015-06-08

Highlights

  • Having a .stylinpugrc file in the working directory is now optional
  • Improved performance of main process function

Changes

v1.2.2...v1.2.3

v1.2.2 / 2015-06-08

Highlights

  • Return correct status code when unused or blacklisted classes are found via CLI

Changes

v1.2.1...v1.2.1

v1.2.1 / 2015-06-08

Highlights

  • Tidied up package using .npmignore

Changes

v1.2.0...v1.2.1

v1.2.0 / 2015-06-08

Highlights

  • Added support for directives via comments in Stylus and Pug files
  • Fixed issues where setting options.config incorrectly set options.cwd

Changes

v1.1.0...v1.2.0

v1.1.0 / 2015-06-05

Highlights

  • CLI not supports a catch all argument e.g. stylinpug . to find all Stylus and Pug files in the current working directory
  • Current working directory can now be passed to the API and CLI via options.cwd and -C, --chdir respectively
  • Success messages in results.report and CLI output are now hidden by default and are only exposed when options.verbose: true or -v, --verbose are passed to the API or CLI respectively
  • Errors are now always reported irrespective of whether verbose output is enabled or not
  • Line number are now reported for classes found in Pug #[] syntax blocks

Changes

v1.0.0...v1.1.0

v1.0.0 / 2015-05-21

Highlights

  • File name patterns can now be added to options.ignoreFiles to whitelist all classes found in those files
  • CLI support

Changes

v0.3.6...v1.0.0

v0.3.6 / 2015-04-13

Highlights

  • Line numbers are now reported for nested classes in .pug files
  • Unhandled errors in Stylus and Pug files are now more helpfully returned
  • The use of Pug tag interpolation no longer throws errors, but line number are still not reported

Changes

v0.3.5...v0.3.6

v0.3.5 / 2015-03-27

Highlights

  • 100% test coverage

Changes

v0.3.4...v0.3.5

v0.3.4 / 2015-03-12

Highlights

  • File names can now be added to options.stylusWhitelist and options.pugWhitelist to whitelist all classes found in those files

Changes

v0.3.3...v0.3.4

v0.3.3 / 2015-03-11

Highlights

  • Only parse source map once per Stylus file, rather than on ever rule found in the stylesheet.
  • Paths in results where source maps are used are now reported relative to the location of the .stylinpugrc file

Changes

v0.3.2...v0.3.3

v0.3.2 / 2015-03-09

Highlights

  • Pass file path to pug-lexer for better debugging

Changes

v0.3.1...v0.3.2

v0.3.1 / 2015-03-09

Highlights

  • Use source map to report location of Stylus classes
  • Dedupe file locations that are on the same line in results.report

Changes

v0.3.0...v0.3.1

v0.3.0 / 2015-03-05

Highlights

  • Improve format of results.report to include file names and line numbers
  • Stylus classes arrays returned in callback now contains list of file locations and line numbers

Changes

v0.2.13...v0.3.0

v0.2.13 / 2015-03-02

Highlights

Changes

v0.2.12...v0.2.13

v0.2.12 / 2015-03-02

Highlights

  • Add support for loading options via .stylinpugrc file

Changes

v0.2.11...v0.2.12

v0.2.11 / 2015-02-26

Highlights

  • Stylus class parsing now finds classes in media queries

Changes

v0.2.10...v0.2.11

v0.2.10 / 2015-02-26

Highlights

  • Whitelisting and Blacklisting support
  • Parsing of Pug classes found in ternary operators and other JavaScript logic lines found in Pug files
  • Class pattern matching via minimatch

Changes

v0.0.1-alpha.1...v0.2.10