Socket
Socket
Sign inDemoInstall

postcss-custom-media

Package Overview
Dependencies
3
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.7 to 7.0.8

5

CHANGELOG.md
# Changes to PostCSS Custom Media
### 7.0.8 (March 30, 2019)
- Fixed: Issue importing from `.pcss` files
- Updated: `postcss` to 7.0.14 (patch)
### 7.0.7 (October 19, 2018)

@@ -4,0 +9,0 @@

10

index.cjs.js

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

var postcss = _interopDefault(require('postcss'));
var fs = _interopDefault(require('fs'));
var path = _interopDefault(require('path'));
var postcss = _interopDefault(require('postcss'));

@@ -291,3 +291,3 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {

var getCustomMedia = ((root, opts) => {
var getCustomMediaFromRoot = ((root, opts) => {
// initialize custom selectors

@@ -337,3 +337,3 @@ const customMedias = {}; // for each custom selector atrule that is a child of the css root

});
return getCustomMedia(root, {
return getCustomMediaFromRoot(root, {
preserve: true

@@ -421,3 +421,3 @@ });

if (type === 'css') {
if (type === 'css' || type === 'pcss') {
return Object.assign((yield customMedia), (yield getCustomMediaFromCSSFile(from)));

@@ -754,3 +754,3 @@ }

var _ref = _asyncToGenerator(function* (root) {
const customMedia = Object.assign((yield customMediaPromise), getCustomMedia(root, {
const customMedia = Object.assign((yield customMediaPromise), getCustomMediaFromRoot(root, {
preserve

@@ -757,0 +757,0 @@ }));

{
"name": "postcss-custom-media",
"version": "7.0.7",
"version": "7.0.8",
"description": "Use Custom Media Queries in CSS",

@@ -30,15 +30,15 @@ "author": "Jonathan Neal <jonathantneal@hotmail.com>",

"dependencies": {
"postcss": "^7.0.5"
"postcss": "^7.0.14"
},
"devDependencies": {
"@babel/core": "^7.1.2",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"@babel/core": "^7.4.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/preset-env": "^7.4.2",
"babel-eslint": "^10.0.1",
"eslint": "^5.7.0",
"eslint": "^5.16.0",
"eslint-config-dev": "^2.0.0",
"postcss-tape": "^2.2.0",
"postcss-tape": "^4.0.0",
"pre-commit": "^1.2.2",
"rollup": "^0.66.6",
"rollup-plugin-babel": "^4.0.3"
"rollup": "^1.7.4",
"rollup-plugin-babel": "^4.3.2"
},

@@ -45,0 +45,0 @@ "eslintConfig": {

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