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

sassdoc

Package Overview
Dependencies
Maintainers
1
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sassdoc - npm Package Versions

1
14

2.0.2

Diff

Changelog

Source

2.0.2

  • Move to 6to5 3 in selfContained mode to avoid global scope pollution (#354)
valeriangalliat
published 2.0.1 •

Changelog

Source

2.0.1

  • Fix debug task.name value, returning proper function name instead of something like callee$1$0.
valeriangalliat
published 2.0.0 •

Changelog

Source

2.0.0 — Shiny Streamy Octopus

API breaks for users

  • C-style comments (/** */) are no longer supported (#326)
  • SassDoc now always outputs its own directory in the current folder (#302)
  • --dest option has been added to define SassDoc's folder path for output, default is sassdoc (#302)
  • --no-prompt option no longer exists since SassDoc outputs its own folder (#302)
  • --sass-convert option no longer exists and is now implied (#231)
  • Default name for configuration file is now .sassdocrc (#189)
  • @alias can no longer be used on placeholders (#263)
  • Annotations @access, @content, @deprecated, @group, @output, @return and @type are now restricted to one use per item (#257)
  • Annotations @param and @prop now use square brackets ([]) for default values rather than parentheses (()) to avoid edge issues (#303)
  • See UPGRADE-2.0.md to convert all your SassDoc comments.

API breaks for theme builders

  • sassdoc-filter and sassdoc-indexer repositories no longer exist and have been replaced by sassdoc-extras
  • sassdoc-theme-light repository no longer exists and has been replaced by sassdoc-theme-default
  • html* properties no longer exist when using Markdown filter from sassdoc-extras, initial values are now overwritten (sassdoc-extras#6)
  • @return no longer returns a name and a default value, only a type and a description (#277)
  • @content no longer returns an autogenerated key, only a description (#262)
  • parameters key from item now becomes parameter (#225)
  • requires key from item now becomes require (#225)
  • returns key from item now becomes return (#225)
  • throws key from item now becomes throw (#225)
  • todos key from item now becomes todo (#225)
  • prop key from item now becomes property (#225)
  • When using the display filter from sassdoc-extras, items are now fully removed rather than given a display key (sassdoc-extras#11)

API breaks for third party integration

  • The node API has been revamped and unified.
  • sassdoc.documentize does not exist anymore.
  • sassdoc(src [, config]) execute the full Documentation process, returns a Promise.
  • sassdoc([config]) execute the full Documentation process, returns a Stream of Vinyl files.
  • sassdoc.parse(src [, config]) returns a Promise with the full data object.
  • sassdoc.parse([config]) returns a Stream with the full data object.

New features

  • The whole API has been fully refactored in ES6 (#231)
  • $ sign is now optional when defining the name in @parameter annotation (#222)
  • It is now possible to use file/folder exclusion patterns (#228)
  • It is now possible to pipe SassDoc into stdin (#315)
  • --debug option has been added to output information about current setup (#311)
  • Default theme now has a googleAnalytics configuration accepting a Google Analytics tracking key (sassdoc-theme-default#10)
  • Default theme now has a trackingCode configuration accepting an arbitrary HTML snippet to be included before </body> (sassdoc-theme-default#10)
  • @content annotation is now correctly output in default theme (sassdoc-theme-default#15)
  • Default theme now displays the type as well as the name when cross-linking items (requirements, and so on...) (sassdoc-theme-default#17)
  • Error messages should now be more explicit, providing a file name and a line (#282)
  • --parse option has been added to output raw parsing data as JSON from the CLI (#318)

Bug fixes

valeriangalliat
published 2.0.0-rc.22 •

pascalduez
published 2.0.0-rc.21 •

valeriangalliat
published 2.0.0-rc.20 •

valeriangalliat
published 2.0.0-rc.19 •

valeriangalliat
published 2.0.0-rc.18 •

pascalduez
published 2.0.0-rc.17 •

pascalduez
published 2.0.0-rc.16 •

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