Socket
Socket
Sign inDemoInstall

postcss-px-to-viewport

Package Overview
Dependencies
5
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

1.1.1

Diff

Changelog

Source

[1.1.1] - 2019-07-08

Fixed

  • Fixed rule.source === undefined from postcss-modules-values.
chernobelenkiy
published 1.1.0 •

Changelog

Source

[1.1.0] - 2019-02-05

Added

  • landscape (Boolean) Adds @media (orientation: landscape) with values converted via landscapeWidth.
  • landscapeUnit (String) Expected unit for landscape option
  • landscapeWidth (Number) Viewport width for landscape orientation.

Fixed

  • mediaQuery option if true does not mutate its value now, but the rule inside it instead.
chernobelenkiy
published 1.0.0 •

Changelog

Source

[1.0.0] - 2019-01-28

Added

  • replace option - (Boolean) replaces rules containing vw instead of adding fallbacks.
  • propList option - (Array) The properties that can change from px to vw.
  • exclude option - (Array or Regexp) Ignore some files like node_modules.

Changed

  • zero values now remain unitless.
  • replace regexp is now case sensitive, so if you want to change px, then pX values won't be changed.
koderfunk
published 0.0.3 •

koderfunk
published 0.0.2 •

koderfunk
published 0.0.1 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc