Socket
Socket
Sign inDemoInstall

postcss-amp-custom

Package Overview
Dependencies
8
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.1 to 1.4.0-alpha.0

index.js

31

package.json
{
"name": "postcss-amp-custom",
"version": "1.3.1",
"version": "1.4.0-alpha.0",
"author": "kimulaco",

@@ -19,25 +19,28 @@ "license": "MIT",

},
"main": "postcss-amp-custom.js",
"main": "index.js",
"engines": {
"node": ">=6.0.0"
"node": ">=10.0.0"
},
"scripts": {
"lint": "eslint **/*.js -c .eslintrc.js",
"test": "jest --silent --verbose"
"test": "jest --verbose",
"pretest": "node scripts/setup-test.js test/fixtures"
},
"dependencies": {
"amp-custom": "^1.3.0",
"postcss": "^7.0.18"
"amp-custom": "^1.3.0"
},
"peerDependencies": {
"postcss": "^8.2.1"
},
"devDependencies": {
"del-cli": "^3.0.0",
"eslint": "^6.5.1",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^10.0.0",
"eslint": "^7.16.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"jest": "^24.9.0",
"postcss-cli": "^6.1.3"
"eslint-plugin-standard": "^4.1.0",
"jest": "^26.6.3",
"postcss": "^8.2.1",
"postcss-cli": "^8.3.1"
}
}

@@ -5,3 +5,3 @@ # postcss-amp-custom

[![npm version](https://badge.fury.io/js/postcss-amp-custom.svg)](https://badge.fury.io/js/postcss-amp-custom)
[![Build Status](https://travis-ci.org/kimulaco/postcss-amp-custom.svg?branch=master)](https://travis-ci.org/kimulaco/postcss-amp-custom)
[![Build Status](https://github.com/kimulaco/postcss-amp-custom/workflows/Test/badge.svg)](https://github.com/kimulaco/postcss-amp-custom/actions)

@@ -23,8 +23,8 @@ PostCSS plugin to optimize CSS source for AMP HTML.

module.exports = () => ({
plugins: [
require('postcss-amp-custom')({
enableByteLimit: true
})
]
});
plugins: [
require('postcss-amp-custom')({
enableByteLimit: true
})
]
})
```

@@ -71,3 +71,3 @@

- enableByteLimit `Boolean` - If the CSS source exceeds 50 KB, it issues an error.(Default: `false`)
- enableByteLimit `Boolean` - If the CSS source exceeds 75KB, it issues an error.(Default: `false`)

@@ -74,0 +74,0 @@ ## Plugins

Sorry, the diff of this file is not supported yet

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