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

@locomotivemtl/postcss-remove-double-parentheses

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@locomotivemtl/postcss-remove-double-parentheses

Removes double parentheses around media queries.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

PostCSS Remove Double Parentheses

This PostCSS plugin removes double parentheses around media queries, for example, @media ((min-width: 700px)) {}. Without this, older Safari browsers (before version 16.5) may not interpret the media queries at all.

Installation

npm install @locomotivemtl/postcss-remove-double-parentheses --save-dev

Usage

Basic Example

Import the plugin in your PostCSS configuration

const removeDoubleParentheses = require('@locomotivemtl/postcss-remove-double-parentheses');

module.exports = {
    plugins: [
        removeDoubleParentheses(),
        // other plugins
    ]
};

Basic Example (ESM)

import removeDoubleParentheses from '@locomotivemtl/postcss-remove-double-parentheses';

export default {
    plugins: [
        removeDoubleParentheses(),
        // other plugins
    ]
};

FAQs

Package last updated on 08 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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