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

stylelint-use-logical-spec

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-use-logical-spec - npm Package Versions

2

5.0.1

Diff

Changelog

Source

5.0.1

fixes

  • add support for stylelint 16
jordan-hall
published 5.0.0 •

Changelog

Source

5.0.0 (February 3rd, 2023)

New feature

  • Add support for CSS in JS #35

Fixes

  • Fix shorthand properties that uses calc #28
jordan-hall
published 4.1.0 •

Changelog

Source

4.1.0 (June 3rd, 2022)

#22

The script loops through the maps listing of all properties and will make multiple replacements in a single string such as: transition: max-width 1s, padding-left 2s, margin-top 3s; will recommend (or change to): transition: max-inline-size 1s, padding-inline-start 2s, margin-block-start 3s; (for 'ltr' anyway)

I could only find 3 properties that would seem to fit this use case:

  • transition
  • transition-property
  • will-change

If there are more, this is easy to update as the regex is stored in the maps.js file. By selecting only these nodes, I feel this one should run pretty lean instead of scanning all values for property names.

jordan-hall
published 4.0.0 •

Changelog

Source

4.0.0 (May 31st, 2022)

New feature

  • check shorthand properties and convert them to appropriate logical counterparts #12
  • Skips over declaration if the shorthand property value is a single value - example margin: 0;

Fixes

  • Fixes bug with 2 prop mapping
  • Alters 4 prop loop to only consolidate if all values are equal, and will output without the unsupported logical keyword
jordan-hall
published 3.2.2 •

Changelog

Source

3.2.2 (July 26th, 2021)

  • Update package-lock dependencies
  • fix git workflow
jordan-hall
published 3.2.1 •

Changelog

Source

3.2.1 (July 26th, 2021)

  • Update stylelint peer dependency to use current version or late
jordan-hall
published 3.2.0 •

Changelog

Source

3.2.0 (February 16th, 2021)

  • Added: support for Logical height
  • Added: support for Logical width
jordan-hall
published 3.1.0 •

Changelog

Source

3.1.0 (November 3rd, 2020)

  • Added: migration from version 2.0.0 to 3.1.0 removing none compliant code outlined in version 2.1.0
  • Added: Documentation for border support
  • Updated: peer-dependency of styleline to 13.7.2
  • Fixed: repaired Except issues reported on original codebase - https://github.com/csstools/stylelint-use-logical/issues/3

3.0.* (November 3rd, 2020)

  • Updated: Support for border logical values
jordan-hall
published 3.0.1 •

jordan-hall
published 3.0.0 •

2
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