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

sass-mq

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sass-mq - npm Package Versions

23

7.0.0-beta.1

Diff

kaelig
published 6.0.0 •

Changelog

Source

v6.0.0 - 2022-01-10

This is a major version bump that contains breaking changes. It adds support for the new Sass module system, drops support for Eyeglass, and drops support for deprecated versions of Sass. No new features were added.

See the updated README for instructions on how to use this new version of Sass MQ.

🙌 A huge thanks to Rodrigo for his contribution on this major release.

Added

  • Support for dart-sass >= 1.35.1
  • Test suite using Jest and True, a unit-testing framework designed specifically for the Sass language

Removed

  • Dropped tests for Sass engines other than dart-sass
  • Dropped support for Eyeglass
  • Dropped deprecated var $mq-base-font-size (https://github.com/sass-mq/sass-mq/pull/123)
  • Dropped compatibility with browsers that don’t support media queries:
    • Removed $mq-responsive
    • Removed $mq-static-breakpoint

Changed

  • Divisions are now performed with sass:math.div(...) instead of /
  • get-breakpoint-width: added @return null when no breakpoint could be found (a function must always return something, or Sass will throw an error).
  • Updated all map-* global functions in favor of the built-in module map.* (for example: map-keys() ➡️ map.keys()).
  • px2em: removed param $base-font-size (deprecated in v5.0.1), and use 16px instead.
  • Removed usage of unit() in favor of math.compatible(), as the unit() function is intended for debugging, and its output format is not guaranteed to be consistent across Sass versions or implementations.
  • Updated all other global Sass functions to use their module equivalents (for example: map-merge ➡️ map.merge, append ➡️ list.append)

Fixed

kaelig
published 6.0.0-beta.1 •

kaelig
published 5.0.1 •

kaelig
published 5.0.0 •

kaelig
published 4.0.2 •

kaelig
published 4.0.1 •

kaelig
published 4.0.0 •

kaelig
published 4.0.0-beta.2 •

kaelig
published 4.0.0-beta.1 •

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