From 1e0cade20890a150e2187172616ffb523cb17bab Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 16 Mar 2018 16:10:18 +0500 Subject: [PATCH 1/3] docs(README): use strong equality operator in example (#344) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index de3050ba..f331fc7a 100644 --- a/README.md +++ b/README.md @@ -175,7 +175,7 @@ module.exports = ({ file, options, env }) => ({ plugins: { 'postcss-import': { root: file.dirname }, 'postcss-cssnext': options.cssnext ? options.cssnext : false, - 'autoprefixer': env == 'production' ? options.autoprefixer : false, + 'autoprefixer': env === 'production' ? options.autoprefixer : false, 'cssnano': env === 'production' ? options.cssnano : false } }) From 82ef553da3d100805e7c749b11b94cffe3c7fc92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matteus=20Hemstr=C3=B6m?= Date: Sat, 17 Mar 2018 21:40:42 +0100 Subject: [PATCH 2/3] fix(options): disallow additional properties and add `ident` to validation (#346) --- lib/options.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/options.json b/lib/options.json index f1b194aa..0d63647b 100644 --- a/lib/options.json +++ b/lib/options.json @@ -16,6 +16,9 @@ "exec": { "type": "boolean" }, + "ident": { + "type": "string" + }, "parser": { "type": [ "string", "object" ] }, @@ -36,5 +39,5 @@ "type": [ "string", "boolean" ] } }, - "additionalProperties": true + "additionalProperties": false } From 0c2259b515d6b91f140c9a5d5fb9ce2c2674dc0d Mon Sep 17 00:00:00 2001 From: Michael Ciniawsky Date: Sat, 17 Mar 2018 21:44:03 +0100 Subject: [PATCH 3/3] chore(release): 2.1.2 --- CHANGELOG.md | 10 ++++++++++ package.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 422c70c7..47d2e343 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +## [2.1.2](https://github.com/postcss/postcss-loader/compare/v2.1.1...v2.1.2) (2018-03-17) + + +### Bug Fixes + +* **options:** disallow additional properties and add `ident` to validation ([#346](https://github.com/postcss/postcss-loader/issues/346)) ([82ef553](https://github.com/postcss/postcss-loader/commit/82ef553)) + + + ## [2.1.1](https://github.com/postcss/postcss-loader/compare/v2.1.0...v2.1.1) (2018-02-26) diff --git a/package.json b/package.json index cb639960..1d9316cb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "postcss-loader", - "version": "2.1.1", + "version": "2.1.2", "description": "PostCSS loader for webpack", "main": "lib/index.js", "engines": { pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy