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

postcss-preset-env

Package Overview
Dependencies
Maintainers
2
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-preset-env - npm Package Compare versions

Comparing version 6.7.0 to 6.7.1

24

index.js

@@ -301,5 +301,3 @@ 'use strict';

function writeToExports(customExports, destinations) {
return Promise.all([].concat(destinations).map(
/*#__PURE__*/
function () {
return Promise.all([].concat(destinations).map( /*#__PURE__*/function () {
var _ref = _asyncToGenerator(function* (destination) {

@@ -443,3 +441,21 @@ if (destination instanceof Function) {

return (root, result) => {
// polyfills run in execution order
const majorVersion = parseInt(result.processor.version.split('.')[0]);
if (majorVersion > 7) {
console.log('');
console.log(`
┌─────────────────────────────────────────────────────────────────────────────────┐
│ │
│ This version of postcss-preset-env is not optimised to work with PostCSS 8. │
│ Please update to version 7 of PostCSS Preset Env. │
│ │
│ If you find issues, you can report it at: │
│ https://github.com/csstools/postcss-plugins/issues/new/choose │
│ │
└─────────────────────────────────────────────────────────────────────────────────┘
`);
console.log('');
} // polyfills run in execution order
const polyfills = supportedFeatures.reduce((promise, feature) => promise.then(() => feature.plugin(result.root, result)), Promise.resolve()).then(() => stagedAutoprefixer(result.root, result)).then(() => {

@@ -446,0 +462,0 @@ if (Object(opts).exportTo) {

3

package.json
{
"name": "postcss-preset-env",
"version": "6.7.0",
"version": "6.7.1",
"description": "Convert modern CSS into something browsers understand",

@@ -20,3 +20,2 @@ "author": "Jonathan Neal <jonathantneal@hotmail.com>",

"build": "rollup -c .rollup.js --silent",
"prepublishOnly": "npm test",
"pretest:tape": "npm run build",

@@ -23,0 +22,0 @@ "test": "npm run test:js && npm run test:tape",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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