Socket
Socket
Sign inDemoInstall

postcss-amp

Package Overview
Dependencies
9
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.12 to 1.1.0

4

index.js

@@ -0,1 +1,3 @@

'use strict';
const { plugin } = require('postcss');

@@ -12,3 +14,3 @@

// Removes selectors
root.walkRules(/\*|:not|\.-amp-|^i-amp|\si-amp/, selector => {
root.walkRules(/\.-amp-|^i-amp|\si-amp/, selector => {
selector.parent.removeChild(selector);

@@ -15,0 +17,0 @@ });

{
"name": "postcss-amp",
"version": "1.0.12",
"version": "1.1.0",
"description": "PostCSS plugin to convert CSS according Accelerated Mobile Pages requirements",

@@ -30,14 +30,14 @@ "keywords": [

"peerDependencies": {
"postcss": "^5.2.12"
"postcss": "^6.0.0"
},
"devDependencies": {
"eslint": "^3.15.0",
"eslint": "^4.1.0",
"eslint-config-postcss": "^2.0.2",
"eslint-plugin-jest": "^1.0.2",
"jest": "^18.1.0",
"jest": "^20.0.1",
"eslint-plugin-jest": "^21.0.0",
"npmpub": "^3.1.0",
"postcss": "^5.2.12",
"remark-cli": "^2.1.0",
"remark-preset-lint-consistent": "^1.0.0",
"remark-preset-lint-recommended": "^1.0.0"
"postcss": "^6.0.10",
"remark-cli": "^4.0.0",
"remark-preset-lint-consistent": "^2.0.0",
"remark-preset-lint-recommended": "^3.0.0"
},

@@ -54,3 +54,2 @@ "scripts": {

"rules": {
"jest/no-exclusive-tests": 2,
"jest/no-identical-title": 2

@@ -57,0 +56,0 @@ },

# PostCSS Amp [![NPM version](http://img.shields.io/npm/v/postcss-amp.svg)](https://www.npmjs.org/package/postcss-amp) [![Build Status](https://travis-ci.org/tinovyatkin/postcss-amp.svg?branch=master)](https://travis-ci.org/tinovyatkin/postcss-amp)
[![Greenkeeper badge](https://badges.greenkeeper.io/tinovyatkin/postcss-amp.svg)](https://greenkeeper.io/)
> PostCSS plugin to convert CSS according Accelerated Mobile Pages requirements [![amp-logo](https://www.ampproject.org/static/img/logo-blue.svg)].

@@ -4,0 +6,0 @@

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