Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss

Package Overview
Dependencies
Maintainers
3
Versions
263
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss - npm Package Versions

1
27

3.0.2

Diff

Changelog

Source

3.0.2

  • Fix empty comment parsing.
  • Fix Root#normalize in some inserts.
ai
published 3.0.1 •

Changelog

Source

3.0.1

  • Fix Rhino JS runtime support.
  • Typo in deprecated warning (by Maxime Thirouin).

3.0 “Marquis Andrealphus”

  • New parser, which become the fastest ever CSS parser written in JavaScript.
  • Parser can now parse declarations and rules in one parent (like in @page) and nested declarations for plugins like postcss-nested.
  • Child nodes array is now in childs property, instead of decls and rules.
  • map.inline and map.sourcesContent options are now true by default.
  • Fix iterators (each, insertAfter) on children array changes.
  • Use previous source map to show origin source of CSS syntax error.
  • Use 6to5 ES6 compiler, instead of ES6 Transpiler.
  • Use code style for manually added rules from existing rules.
  • Use from option from previous source map file field.
  • Set to value to from if to option is missing.
  • Use better node source name when missing from option.
  • Show a syntax error when ; is missed between declarations.
  • Allow to pass PostCSS instance or list of plugins to use() method.
  • Allow to pass Result instance to process() method.
  • Trim Unicode BOM on source maps parsing.
  • Parse at-rules without spaces like @import"file".
  • Better previous sourceMappingURL annotation comment cleaning.
  • Do not remove previous sourceMappingURL comment on map.annotation: false.
  • Parse nameless at-rules in Safe Mode.
  • Fix source map generation for nodes without source.
  • Fix next child before if Root first child got removed.
ai
published 3.0.0 •

ai
published 2.2.6 •

Changelog

Source

2.2.6

  • Fix map generation for nodes without source (by Josiah Savary).
ai
published 2.2.5 •

Changelog

Source

2.2.5

  • Fix source map with BOM marker support (by Mohammad Younes).
  • Fix source map paths (by Mohammad Younes).
ai
published 2.2.4 •

Changelog

Source

2.2.4

  • Fix prepend() on empty Root.
ai
published 2.2.3 •

Changelog

Source

2.2.3

  • Allow to use object shortcut in use() with functions like autoprefixer.
ai
published 2.2.2 •

Changelog

Source

2.2.2

  • Add shortcut to set processors in use() via object with .postcss property.
ai
published 2.2.1 •

Changelog

Source

2.2.1

  • Send opts from Processor#process(css, opts) to processors.

2.2 “Marquis Cimeies”

  • Use GNU style syntax error messages.
  • Add Node#replace method.
  • Add CssSyntaxError#reason property.
ai
published 2.2.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