Socket
Socket
Sign inDemoInstall

postcss-load-config

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-load-config - npm Package Compare versions

Comparing version 2.1.2 to 3.0.0

11

CHANGELOG.md

@@ -5,2 +5,13 @@ # Changelog

## [3.0.0](https://github.com/postcss/postcss-load-config/compare/v2.1.2...v3.0.0) (2020-09-26)
### Features
* **src/index:** Add `.cjs` config support.
### BREAKING CHANGES
* **package:** requires `node >= v10.0.0`
## [2.1.2](https://github.com/michael-ciniawsky/postcss-load-config/compare/v2.1.1...v2.1.2) (2020-09-26)

@@ -7,0 +18,0 @@

10

package.json
{
"name": "postcss-load-config",
"version": "2.1.2",
"version": "3.0.0",
"description": "Autoload Config for PostCSS",

@@ -10,3 +10,3 @@ "main": "src/index.js",

"engines": {
"node": ">= 4"
"node": ">= 10"
},

@@ -18,4 +18,4 @@ "funding": {

"dependencies": {
"cosmiconfig": "^5.0.0",
"import-cwd": "^2.0.0"
"cosmiconfig": "^7.0.0",
"import-cwd": "^3.0.0"
},

@@ -34,4 +34,4 @@ "keywords": [

],
"repository": "postcss/postcss-load-config.git",
"repository": "postcss/postcss-load-config",
"license": "MIT"
}

@@ -19,3 +19,3 @@ 'use strict'

const processResult = (ctx, result) => {
let file = result.filepath || ''
const file = result.filepath || ''
let config = result.config || {}

@@ -88,3 +88,3 @@

return config('postcss', options)
return config.cosmiconfig('postcss', options)
.search(path)

@@ -111,3 +111,3 @@ .then((result) => {

const result = config('postcss', options).searchSync(path)
const result = config.cosmiconfigSync('postcss', options).search(path)

@@ -114,0 +114,0 @@ if (!result) {

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