From d11d6eec2bd2297d0719c6757716d675de29a265 Mon Sep 17 00:00:00 2001 From: David Beitey Date: Wed, 5 May 2021 05:14:28 +0000 Subject: [PATCH 01/44] Update readme to replace --level option with -O This change removes mention of the `--level` option which never existed. In versions earlier than 5.0.0, clean-css-cli used to accept the invalid option silently. With versions > 5.0.0, trying to use the option results in the following: `error: unknown option '--level'`. The root cause of the change the upgrade to [commander v7.0.0](https://github.com/tj/commander.js/pull/1409), where unknown (excess) command arguments are now raised as an error. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index af703b5..34df496 100644 --- a/README.md +++ b/README.md @@ -238,10 +238,10 @@ cleancss --inline 'local,remote,!fonts.googleapis.com' one.css ## Optimization levels -The `--level` option can be either `0`, `1` (default), or `2`, e.g. +The `-O` option can be either `0`, `1` (default), or `2`, e.g. ```shell -cleancss --level 2 one.css +cleancss -O2 one.css ``` or a fine-grained configuration given via a string. From a44b1c7bc8cc9eae96914c3cd8f1f41e79384ada Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Wed, 7 Jul 2021 12:15:46 +0200 Subject: [PATCH 02/44] Updates links after move to clean-css organization. --- CONTRIBUTING.md | 2 +- History.md | 96 ++++++++++++++++++++++++------------------------- README.md | 10 +++--- package.json | 6 ++-- 4 files changed, 57 insertions(+), 57 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 61636b2..854e45e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -37,7 +37,7 @@ At the end make sure code styling validation passes: npm run check ``` -Finally push to your fork and [submit a pull request](https://github.com/jakubpawlowicz/clean-css-cli/compare/). +Finally push to your fork and [submit a pull request](https://github.com/clean-css/clean-css-cli/compare/). At this point you're waiting for a PR review which should not thake more than a day. diff --git a/History.md b/History.md index 0c84d9e..7b8925d 100644 --- a/History.md +++ b/History.md @@ -1,175 +1,175 @@ -[5.3.0 / 2021-04-28](https://github.com/jakubpawlowicz/clean-css-cli/compare/5.2...v5.3.0) +[5.3.0 / 2021-04-28](https://github.com/clean-css/clean-css-cli/compare/5.2...v5.3.0) ================== -* Fixed issue [#61](https://github.com/jakubpawlowicz/clean-css-cli/issues/61) - source maps, rebasing, and batch processing. -* Fixed issue [#65](https://github.com/jakubpawlowicz/clean-css-cli/issues/65) - batch processing with output path. +* Fixed issue [#61](https://github.com/clean-css/clean-css-cli/issues/61) - source maps, rebasing, and batch processing. +* Fixed issue [#65](https://github.com/clean-css/clean-css-cli/issues/65) - batch processing with output path. -[5.2.2 / 2021-03-19](https://github.com/jakubpawlowicz/clean-css-cli/compare/v5.2.1...v5.2.2) +[5.2.2 / 2021-03-19](https://github.com/clean-css/clean-css-cli/compare/v5.2.1...v5.2.2) ================== * Bumps clean-css dependency to 5.1.2. -[5.2.1 / 2021-03-03](https://github.com/jakubpawlowicz/clean-css-cli/compare/v5.2.0...v5.2.1) +[5.2.1 / 2021-03-03](https://github.com/clean-css/clean-css-cli/compare/v5.2.0...v5.2.1) ================== * Bumps clean-css dependency to 5.1.1. -[5.2.0 / 2021-02-18](https://github.com/jakubpawlowicz/clean-css-cli/compare/5.1...v5.2.0) +[5.2.0 / 2021-02-18](https://github.com/clean-css/clean-css-cli/compare/5.1...v5.2.0) ================== * Bumps clean-css dependency to 5.1.0. -[5.1.0 / 2021-02-12](https://github.com/jakubpawlowicz/clean-css-cli/compare/5.0...v5.1.0) +[5.1.0 / 2021-02-12](https://github.com/clean-css/clean-css-cli/compare/5.0...v5.1.0) ================== -* Fixed issue [#51](https://github.com/jakubpawlowicz/clean-css-cli/issues/51) - excluding files via glob negated pattern. +* Fixed issue [#51](https://github.com/clean-css/clean-css-cli/issues/51) - excluding files via glob negated pattern. -[5.0.1 / 2021-02-11](https://github.com/jakubpawlowicz/clean-css-cli/compare/v5.0.0...v5.0.1) +[5.0.1 / 2021-02-11](https://github.com/clean-css/clean-css-cli/compare/v5.0.0...v5.0.1) ================== -* Fixed issue [#54](https://github.com/jakubpawlowicz/clean-css-cli/issues/54) - rebasing is still on if output option is used. +* Fixed issue [#54](https://github.com/clean-css/clean-css-cli/issues/54) - rebasing is still on if output option is used. -[5.0.0 / 2021-02-10](https://github.com/jakubpawlowicz/clean-css-cli/compare/4.3...v5.0.0) +[5.0.0 / 2021-02-10](https://github.com/clean-css/clean-css-cli/compare/4.3...v5.0.0) ================== * Adds `--batch-suffix` option to specify what gets appended to output filename in batch mode. * Bumps clean-css dependency to 5.0. * Bumps commander dependency to 7.0. -* Fixed issue [#18](https://github.com/jakubpawlowicz/clean-css-cli/issues/18) - allows batch processing of input files. -* Fixed issue [#36](https://github.com/jakubpawlowicz/clean-css-cli/issues/36) - automatically creates missing output directories. +* Fixed issue [#18](https://github.com/clean-css/clean-css-cli/issues/18) - allows batch processing of input files. +* Fixed issue [#36](https://github.com/clean-css/clean-css-cli/issues/36) - automatically creates missing output directories. -[4.3.0 / 2019-04-06](https://github.com/jakubpawlowicz/clean-css-cli/compare/4.2...v4.3.0) +[4.3.0 / 2019-04-06](https://github.com/clean-css/clean-css-cli/compare/4.2...v4.3.0) ================== * Bumps clean-css dependency to 4.2.1. -* Fixed issue [#21](https://github.com/jakubpawlowicz/clean-css-cli/issues/21) - sanity check for printing out help. -* Fixed issue [#27](https://github.com/jakubpawlowicz/clean-css-cli/issues/27) - way to provide input source map. +* Fixed issue [#21](https://github.com/clean-css/clean-css-cli/issues/21) - sanity check for printing out help. +* Fixed issue [#27](https://github.com/clean-css/clean-css-cli/issues/27) - way to provide input source map. -[4.2.0 / 2018-08-02](https://github.com/jakubpawlowicz/clean-css-cli/compare/4.1...v4.2.0) +[4.2.0 / 2018-08-02](https://github.com/clean-css/clean-css-cli/compare/4.1...v4.2.0) ================== * Bumps clean-css dependency to 4.2.0. -[4.1.11 / 2018-03-02](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.1.10...v4.1.11) +[4.1.11 / 2018-03-02](https://github.com/clean-css/clean-css-cli/compare/v4.1.10...v4.1.11) ================== -* Fixed issue [#17](https://github.com/jakubpawlowicz/clean-css-cli/issues/17) - empty `--inline` switch. +* Fixed issue [#17](https://github.com/clean-css/clean-css-cli/issues/17) - empty `--inline` switch. -[4.1.10 / 2017-09-19](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.1.9...v4.1.10) +[4.1.10 / 2017-09-19](https://github.com/clean-css/clean-css-cli/compare/v4.1.9...v4.1.10) ================== * Bumps clean-css dependency to 4.1.9. -[4.1.9 / 2017-09-03](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.1.8...v4.1.9) +[4.1.9 / 2017-09-03](https://github.com/clean-css/clean-css-cli/compare/v4.1.8...v4.1.9) ================== * Bumps clean-css dependency to 4.1.8. -[4.1.8 / 2017-09-03](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.1.7...v4.1.8) +[4.1.8 / 2017-09-03](https://github.com/clean-css/clean-css-cli/compare/v4.1.7...v4.1.8) ================== * Bumps clean-css dependency to 4.1.7. -[4.1.7 / 2017-09-03](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.1.6...v4.1.7) +[4.1.7 / 2017-09-03](https://github.com/clean-css/clean-css-cli/compare/v4.1.6...v4.1.7) ================== * Bumps clean-css dependency to 4.1.6. -[4.1.6 / 2017-06-29](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.1.5...v4.1.6) +[4.1.6 / 2017-06-29](https://github.com/clean-css/clean-css-cli/compare/v4.1.5...v4.1.6) ================== * Bumps clean-css dependency to 4.1.5. -[4.1.5 / 2017-06-14](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.1.4...v4.1.5) +[4.1.5 / 2017-06-14](https://github.com/clean-css/clean-css-cli/compare/v4.1.4...v4.1.5) ================== * Bumps clean-css dependency to 4.1.4. -[4.1.4 / 2017-06-09](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.1.3...v4.1.4) +[4.1.4 / 2017-06-09](https://github.com/clean-css/clean-css-cli/compare/v4.1.3...v4.1.4) ================== -* Fixed issue [#10](https://github.com/jakubpawlowicz/clean-css-cli/issues/10) - IE/Edge source maps. +* Fixed issue [#10](https://github.com/clean-css/clean-css-cli/issues/10) - IE/Edge source maps. -[4.1.3 / 2017-05-18](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.1.2...v4.1.3) +[4.1.3 / 2017-05-18](https://github.com/clean-css/clean-css-cli/compare/v4.1.2...v4.1.3) ================== * Bumps clean-css dependency to 4.1.3. -[4.1.2 / 2017-05-10](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.1.1...v4.1.2) +[4.1.2 / 2017-05-10](https://github.com/clean-css/clean-css-cli/compare/v4.1.1...v4.1.2) ================== * Bumps clean-css dependency to 4.1.2. -[4.1.1 / 2017-05-10](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.1.0...v4.1.1) +[4.1.1 / 2017-05-10](https://github.com/clean-css/clean-css-cli/compare/v4.1.0...v4.1.1) ================== * Bumps clean-css dependency to 4.1.1. -[4.1.0 / 2017-05-08](https://github.com/jakubpawlowicz/clean-css-cli/compare/4.0...v4.1.0) +[4.1.0 / 2017-05-08](https://github.com/clean-css/clean-css-cli/compare/4.0...v4.1.0) ================== * Bumps clean-css dependency to 4.1.x. -* Fixed issue [#1](https://github.com/jakubpawlowicz/clean-css-cli/issues/1) - option to remove inlined files. -* Fixed issue [#2](https://github.com/jakubpawlowicz/clean-css-cli/issues/2) - glob matching source paths. -* Fixed issue [#5](https://github.com/jakubpawlowicz/clean-css-cli/issues/5) - non-boolean compatibility options. -* Fixed issue [#7](https://github.com/jakubpawlowicz/clean-css-cli/issues/7) - using CLI as a module. +* Fixed issue [#1](https://github.com/clean-css/clean-css-cli/issues/1) - option to remove inlined files. +* Fixed issue [#2](https://github.com/clean-css/clean-css-cli/issues/2) - glob matching source paths. +* Fixed issue [#5](https://github.com/clean-css/clean-css-cli/issues/5) - non-boolean compatibility options. +* Fixed issue [#7](https://github.com/clean-css/clean-css-cli/issues/7) - using CLI as a module. -[4.0.12 / 2017-04-12](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.0.11...v4.0.12) +[4.0.12 / 2017-04-12](https://github.com/clean-css/clean-css-cli/compare/v4.0.11...v4.0.12) ================== * Bumps clean-css dependency to 4.0.12. -[4.0.11 / 2017-04-11](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.0.10...v4.0.11) +[4.0.11 / 2017-04-11](https://github.com/clean-css/clean-css-cli/compare/v4.0.10...v4.0.11) ================== * Bumps clean-css dependency to 4.0.11. -[4.0.10 / 2017-03-22](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.0.9...v4.0.10) +[4.0.10 / 2017-03-22](https://github.com/clean-css/clean-css-cli/compare/v4.0.9...v4.0.10) ================== * Bumps clean-css dependency to 4.0.10. -[4.0.9 / 2017-03-15](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.0.8...v4.0.9) +[4.0.9 / 2017-03-15](https://github.com/clean-css/clean-css-cli/compare/v4.0.8...v4.0.9) ================== * Bumps clean-css dependency to 4.0.9. -[4.0.8 / 2017-02-22](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.0.7...v4.0.8) +[4.0.8 / 2017-02-22](https://github.com/clean-css/clean-css-cli/compare/v4.0.7...v4.0.8) ================== * Bumps clean-css dependency to 4.0.8. -[4.0.7 / 2017-02-14](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.0.6...v4.0.7) +[4.0.7 / 2017-02-14](https://github.com/clean-css/clean-css-cli/compare/v4.0.6...v4.0.7) ================== * Bumps clean-css dependency to 4.0.7. -[4.0.6 / 2017-02-10](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.0.5...v4.0.6) +[4.0.6 / 2017-02-10](https://github.com/clean-css/clean-css-cli/compare/v4.0.5...v4.0.6) ================== * Bumps clean-css dependency to 4.0.6. -[4.0.5 / 2017-02-07](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.0.4...v4.0.5) +[4.0.5 / 2017-02-07](https://github.com/clean-css/clean-css-cli/compare/v4.0.4...v4.0.5) ================== * Bumps clean-css dependency to 4.0.5. -[4.0.4 / 2017-02-07](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.0.3...v4.0.4) +[4.0.4 / 2017-02-07](https://github.com/clean-css/clean-css-cli/compare/v4.0.3...v4.0.4) ================== * Bumps clean-css dependency to 4.0.4. -[4.0.3 / 2017-02-07](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.0.2...v4.0.3) +[4.0.3 / 2017-02-07](https://github.com/clean-css/clean-css-cli/compare/v4.0.2...v4.0.3) ================== * Bumps clean-css dependency to 4.0.3. -[4.0.2 / 2017-02-07](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.0.1...v4.0.2) +[4.0.2 / 2017-02-07](https://github.com/clean-css/clean-css-cli/compare/v4.0.1...v4.0.2) ================== * Bumps clean-css dependency to 4.0.2. -[4.0.1 / 2017-02-07](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.0.0...v4.0.1) +[4.0.1 / 2017-02-07](https://github.com/clean-css/clean-css-cli/compare/v4.0.0...v4.0.1) ================== * Bumps clean-css dependency to 4.0.1. @@ -178,4 +178,4 @@ ================== * Initial release of separate clean-css-cli. -* See [clean-css release notes](https://github.com/jakubpawlowicz/clean-css/blob/master/History.md#400--2017-01-23) for a full list of changes. +* See [clean-css release notes](https://github.com/clean-css/clean-css/blob/master/History.md#400--2017-01-23) for a full list of changes. diff --git a/README.md b/README.md index 34df496..f7f8b49 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ [![NPM version](https://img.shields.io/npm/v/clean-css-cli.svg?style=flat)](https://www.npmjs.com/package/clean-css-cli) -![x86 Linux build](https://github.com/jakubpawlowicz/clean-css-cli/workflows/x86%20Linux%20build/badge.svg) -[![Dependency Status](https://img.shields.io/david/jakubpawlowicz/clean-css-cli.svg?style=flat)](https://david-dm.org/jakubpawlowicz/clean-css-cli) +![x86 Linux build](https://github.com/clean-css/clean-css-cli/workflows/x86%20Linux%20build/badge.svg) +[![Dependency Status](https://img.shields.io/david/clean-css/clean-css-cli.svg?style=flat)](https://david-dm.org/clean-css/clean-css-cli) [![NPM Downloads](https://img.shields.io/npm/dm/clean-css-cli.svg)](https://www.npmjs.com/package/clean-css-cli) clean-css-cli is a command-line interface to [clean-css](https://github.com/jakubpawlowicz/clean-css) - fast and efficient CSS optimizer for [Node.js](http://nodejs.org/). @@ -444,14 +444,14 @@ will apply level 1 optimizations, except url normalization, and default level 2 # Contributing -See [CONTRIBUTING.md](https://github.com/jakubpawlowicz/clean-css-cli/blob/master/CONTRIBUTING.md). +See [CONTRIBUTING.md](https://github.com/clean-css/clean-css-cli/blob/master/CONTRIBUTING.md). ## How to get started? First clone the sources: ```shell -git clone git@github.com:jakubpawlowicz/clean-css-cli.git +git clone git@github.com:clean-css/clean-css-cli.git ``` then install dependencies: @@ -470,4 +470,4 @@ npm test # to run all tests # License -clean-css-cli is released under the [MIT License](https://github.com/jakubpawlowicz/clean-css-cli/blob/master/LICENSE). +clean-css-cli is released under the [MIT License](https://github.com/clean-css/clean-css-cli/blob/master/LICENSE). diff --git a/package.json b/package.json index 79b9710..0596fdb 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/jakubpawlowicz/clean-css-cli.git" + "url": "git+https://github.com/clean-css/clean-css-cli.git" }, "keywords": [ "css", @@ -22,7 +22,7 @@ "author": "Jakub Pawlowicz ", "license": "MIT", "bugs": { - "url": "https://github.com/jakubpawlowicz/clean-css-cli/issues" + "url": "https://github.com/clean-css/clean-css-cli/issues" }, "main": "index.js", "files": [ @@ -32,7 +32,7 @@ "LICENSE", "README.md" ], - "homepage": "https://github.com/jakubpawlowicz/clean-css-cli#readme", + "homepage": "https://github.com/clean-css/clean-css-cli#readme", "dependencies": { "clean-css": "^5.1.2", "commander": "7.x", From 7f4fab971466f73fca0684c681505008f06d2242 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 29 Jul 2021 11:48:39 +0200 Subject: [PATCH 03/44] Bumps clean-css dependency to version 5.1.3. --- History.md | 5 +++++ package-lock.json | 6 +++--- package.json | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/History.md b/History.md index 7b8925d..0069ed5 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,8 @@ +[5.3.1 / 2021-xx-xx](https://github.com/clean-css/clean-css-cli/compare/v5.3.0...5.3) +================== + +* Bumps clean-css dependency to 5.1.3. + [5.3.0 / 2021-04-28](https://github.com/clean-css/clean-css-cli/compare/5.2...v5.3.0) ================== diff --git a/package-lock.json b/package-lock.json index 6ed4897..6f443d5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,9 +19,9 @@ } }, "clean-css": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.1.2.tgz", - "integrity": "sha512-QcaGg9OuMo+0Ds933yLOY+gHPWbxhxqF0HDexmToPf8pczvmvZGYzd+QqWp9/mkucAOKViI+dSFOqoZIvXbeBw==", + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.1.3.tgz", + "integrity": "sha512-qGXzUCDpLwAlPx0kYeU4QXjzQIcIYZbJjD4FNm7NnSjoP0hYMVZhHOpUYJ6AwfkMX2cceLRq54MeCgHy/va1cA==", "requires": { "source-map": "~0.6.0" }, diff --git a/package.json b/package.json index 0596fdb..3b05e07 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ ], "homepage": "https://github.com/clean-css/clean-css-cli#readme", "dependencies": { - "clean-css": "^5.1.2", + "clean-css": "5.1.3", "commander": "7.x", "glob": "^7.1.6" }, From 2d7f1dd641aa29256270b1c7027839d584d34e98 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 29 Jul 2021 11:49:10 +0200 Subject: [PATCH 04/44] Version 5.3.1. --- History.md | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/History.md b/History.md index 0069ed5..2e4a82d 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,4 @@ -[5.3.1 / 2021-xx-xx](https://github.com/clean-css/clean-css-cli/compare/v5.3.0...5.3) +[5.3.1 / 2021-07-29](https://github.com/clean-css/clean-css-cli/compare/v5.3.0...v5.3.1) ================== * Bumps clean-css dependency to 5.1.3. diff --git a/package-lock.json b/package-lock.json index 6f443d5..37e8269 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.3.0", + "version": "5.3.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 3b05e07..e99aa52 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.3.0", + "version": "5.3.1", "description": "A command-line interface to clean-css CSS optimization library", "scripts": { "check": "jshint ./bin/cleancss .", From 797c47d577464c8240b13d2867fcbe52ce190722 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 29 Jul 2021 11:50:35 +0200 Subject: [PATCH 05/44] Bumps clean-css dependency to version 5.1.4. --- History.md | 5 +++++ package-lock.json | 6 +++--- package.json | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/History.md b/History.md index 2e4a82d..264dcbc 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,8 @@ +[5.3.2 / 2021-07-29](https://github.com/clean-css/clean-css-cli/compare/v5.3.1...5.3) +================== + +* Bumps clean-css dependency to 5.1.4. + [5.3.1 / 2021-07-29](https://github.com/clean-css/clean-css-cli/compare/v5.3.0...v5.3.1) ================== diff --git a/package-lock.json b/package-lock.json index 37e8269..592d144 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,9 +19,9 @@ } }, "clean-css": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.1.3.tgz", - "integrity": "sha512-qGXzUCDpLwAlPx0kYeU4QXjzQIcIYZbJjD4FNm7NnSjoP0hYMVZhHOpUYJ6AwfkMX2cceLRq54MeCgHy/va1cA==", + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.1.4.tgz", + "integrity": "sha512-e6JAuR0T2ahg7fOSv98Nxqh7mHWOac5TaCSgrr61h/6mkPLwlxX38hzob4h6IKj/UHlrrLXvAEjWqXlvi8r8lQ==", "requires": { "source-map": "~0.6.0" }, diff --git a/package.json b/package.json index e99aa52..8ca6911 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ ], "homepage": "https://github.com/clean-css/clean-css-cli#readme", "dependencies": { - "clean-css": "5.1.3", + "clean-css": "^5.1.4", "commander": "7.x", "glob": "^7.1.6" }, From 82561b3a15c1b9bfece5520ff2c31677d8434a98 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 29 Jul 2021 11:51:18 +0200 Subject: [PATCH 06/44] Version 5.3.2. --- History.md | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/History.md b/History.md index 264dcbc..3157e4c 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,4 @@ -[5.3.2 / 2021-07-29](https://github.com/clean-css/clean-css-cli/compare/v5.3.1...5.3) +[5.3.2 / 2021-07-29](https://github.com/clean-css/clean-css-cli/compare/v5.3.1...v5.3.2) ================== * Bumps clean-css dependency to 5.1.4. diff --git a/package-lock.json b/package-lock.json index 592d144..31686cd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.3.1", + "version": "5.3.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 8ca6911..f0ee549 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.3.1", + "version": "5.3.2", "description": "A command-line interface to clean-css CSS optimization library", "scripts": { "check": "jshint ./bin/cleancss .", From 130e39332e83e536e561e542664c4be7c9e2c2f9 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 5 Aug 2021 14:36:16 +0200 Subject: [PATCH 07/44] Bumps clean-css dependency to version 5.1.5. --- History.md | 5 +++++ package-lock.json | 6 +++--- package.json | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/History.md b/History.md index 3157e4c..0db69ba 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,8 @@ +[5.3.3 / 2021-xx-xx](https://github.com/clean-css/clean-css-cli/compare/v5.3.2...5.3) +================== + +* Bumps clean-css dependency to 5.1.5. + [5.3.2 / 2021-07-29](https://github.com/clean-css/clean-css-cli/compare/v5.3.1...v5.3.2) ================== diff --git a/package-lock.json b/package-lock.json index 31686cd..a28a628 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,9 +19,9 @@ } }, "clean-css": { - "version": "5.1.4", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.1.4.tgz", - "integrity": "sha512-e6JAuR0T2ahg7fOSv98Nxqh7mHWOac5TaCSgrr61h/6mkPLwlxX38hzob4h6IKj/UHlrrLXvAEjWqXlvi8r8lQ==", + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.1.5.tgz", + "integrity": "sha512-9dr/cU/LjMpU57PXlSvDkVRh0rPxJBXiBtD0+SgYt8ahTCsXtfKjCkNYgIoTC6mBg8CFr5EKhW3DKCaGMUbUfQ==", "requires": { "source-map": "~0.6.0" }, diff --git a/package.json b/package.json index f0ee549..3f766a9 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ ], "homepage": "https://github.com/clean-css/clean-css-cli#readme", "dependencies": { - "clean-css": "^5.1.4", + "clean-css": "^5.1.5", "commander": "7.x", "glob": "^7.1.6" }, From 13ee775da5f4f9148318a5347b4756515a982e3d Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 5 Aug 2021 14:36:58 +0200 Subject: [PATCH 08/44] Version 5.3.3. --- History.md | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/History.md b/History.md index 0db69ba..41f7f73 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,4 @@ -[5.3.3 / 2021-xx-xx](https://github.com/clean-css/clean-css-cli/compare/v5.3.2...5.3) +[5.3.3 / 2021-08-05](https://github.com/clean-css/clean-css-cli/compare/v5.3.2...v5.3.3) ================== * Bumps clean-css dependency to 5.1.5. diff --git a/package-lock.json b/package-lock.json index a28a628..86af45e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.3.2", + "version": "5.3.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 3f766a9..238b15b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.3.2", + "version": "5.3.3", "description": "A command-line interface to clean-css CSS optimization library", "scripts": { "check": "jshint ./bin/cleancss .", From da0f2b1656e68bae35e9818328faa6e6456d6c53 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 30 Sep 2021 15:03:37 +0200 Subject: [PATCH 09/44] Automatically run builds on all branches. --- .github/workflows/node.js.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index a6505c6..c13795c 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -3,11 +3,7 @@ name: x86 Linux build -on: - push: - branches: [master] - pull_request: - branches: [master] +on: [push, pull_request] jobs: build: From 07e292d5cb46407591540956570bd95e065a33c3 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 30 Sep 2021 15:00:39 +0200 Subject: [PATCH 10/44] Bumps clean-css dependency to version 5.2.0. --- History.md | 5 +++++ package-lock.json | 6 +++--- package.json | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/History.md b/History.md index 41f7f73..82935b0 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,8 @@ +[5.4.0 / 2021-xx-xx](https://github.com/clean-css/clean-css-cli/compare/5.3...HEAD) +================== + +* Bumps clean-css dependency to 5.2.0. + [5.3.3 / 2021-08-05](https://github.com/clean-css/clean-css-cli/compare/v5.3.2...v5.3.3) ================== diff --git a/package-lock.json b/package-lock.json index 86af45e..45b105c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,9 +19,9 @@ } }, "clean-css": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.1.5.tgz", - "integrity": "sha512-9dr/cU/LjMpU57PXlSvDkVRh0rPxJBXiBtD0+SgYt8ahTCsXtfKjCkNYgIoTC6mBg8CFr5EKhW3DKCaGMUbUfQ==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.2.0.tgz", + "integrity": "sha512-2639sWGa43EMmG7fn8mdVuBSs6HuWaSor+ZPoFWzenBc6oN+td8YhTfghWXZ25G1NiiSvz8bOFBS7PdSbTiqEA==", "requires": { "source-map": "~0.6.0" }, diff --git a/package.json b/package.json index 238b15b..ee72c46 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ ], "homepage": "https://github.com/clean-css/clean-css-cli#readme", "dependencies": { - "clean-css": "^5.1.5", + "clean-css": "5.2.0", "commander": "7.x", "glob": "^7.1.6" }, From 9e490fd0bd913a6581f8228f132ba3167d3aa192 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 30 Sep 2021 15:01:32 +0200 Subject: [PATCH 11/44] Version 5.4.0. --- History.md | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/History.md b/History.md index 82935b0..4845028 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,4 @@ -[5.4.0 / 2021-xx-xx](https://github.com/clean-css/clean-css-cli/compare/5.3...HEAD) +[5.4.0 / 2021-09-30](https://github.com/clean-css/clean-css-cli/compare/5.3...v5.4.0) ================== * Bumps clean-css dependency to 5.2.0. diff --git a/package-lock.json b/package-lock.json index 45b105c..6f8e67a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.3.3", + "version": "5.4.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index ee72c46..859d274 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.3.3", + "version": "5.4.0", "description": "A command-line interface to clean-css CSS optimization library", "scripts": { "check": "jshint ./bin/cleancss .", From 2d1c82330c3c291d567484c073ca14f9d4d1c7c7 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 30 Sep 2021 15:07:51 +0200 Subject: [PATCH 12/44] Bumps clean-css dependency to version 5.2.1. --- History.md | 5 +++++ package-lock.json | 6 +++--- package.json | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/History.md b/History.md index 4845028..9a68864 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,8 @@ +[5.4.1 / 2021-xx-xx](https://github.com/clean-css/clean-css-cli/compare/v5.4.0...5.4) +================== + +* Bumps clean-css dependency to 5.2.1. + [5.4.0 / 2021-09-30](https://github.com/clean-css/clean-css-cli/compare/5.3...v5.4.0) ================== diff --git a/package-lock.json b/package-lock.json index 6f8e67a..42e2552 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,9 +19,9 @@ } }, "clean-css": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.2.0.tgz", - "integrity": "sha512-2639sWGa43EMmG7fn8mdVuBSs6HuWaSor+ZPoFWzenBc6oN+td8YhTfghWXZ25G1NiiSvz8bOFBS7PdSbTiqEA==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.2.1.tgz", + "integrity": "sha512-ooQCa1/70oRfVdUUGjKpbHuxgMgm8BsDT5EBqBGvPxMoRoGXf4PNx5mMnkjzJ9Ptx4vvmDdha0QVh86QtYIk1g==", "requires": { "source-map": "~0.6.0" }, diff --git a/package.json b/package.json index 859d274..2993a20 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ ], "homepage": "https://github.com/clean-css/clean-css-cli#readme", "dependencies": { - "clean-css": "5.2.0", + "clean-css": "^5.2.1", "commander": "7.x", "glob": "^7.1.6" }, From d896f60632604f17014924c2efab823d53d6a5b4 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 30 Sep 2021 15:08:26 +0200 Subject: [PATCH 13/44] Version 5.4.1. --- History.md | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/History.md b/History.md index 9a68864..606aeda 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,4 @@ -[5.4.1 / 2021-xx-xx](https://github.com/clean-css/clean-css-cli/compare/v5.4.0...5.4) +[5.4.1 / 2021-09-30](https://github.com/clean-css/clean-css-cli/compare/v5.4.0...v5.4.1) ================== * Bumps clean-css dependency to 5.2.1. diff --git a/package-lock.json b/package-lock.json index 42e2552..daa8c8c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.4.0", + "version": "5.4.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 2993a20..bbc7a66 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.4.0", + "version": "5.4.1", "description": "A command-line interface to clean-css CSS optimization library", "scripts": { "check": "jshint ./bin/cleancss .", From 6f3f18807689b8444256913702baa5829f5d6388 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 21 Oct 2021 11:53:52 +0200 Subject: [PATCH 14/44] Bumps clean-css dependency to version 5.2.2. --- History.md | 5 +++++ package-lock.json | 6 +++--- package.json | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/History.md b/History.md index 606aeda..45a7b63 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,8 @@ +[5.4.2 / 2021-xx-xx](https://github.com/clean-css/clean-css-cli/compare/v5.4.1...5.4) +================== + +* Bumps clean-css dependency to 5.2.2. + [5.4.1 / 2021-09-30](https://github.com/clean-css/clean-css-cli/compare/v5.4.0...v5.4.1) ================== diff --git a/package-lock.json b/package-lock.json index daa8c8c..c7269ac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,9 +19,9 @@ } }, "clean-css": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.2.1.tgz", - "integrity": "sha512-ooQCa1/70oRfVdUUGjKpbHuxgMgm8BsDT5EBqBGvPxMoRoGXf4PNx5mMnkjzJ9Ptx4vvmDdha0QVh86QtYIk1g==", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.2.2.tgz", + "integrity": "sha512-/eR8ru5zyxKzpBLv9YZvMXgTSSQn7AdkMItMYynsFgGwTveCRVam9IUPFloE85B4vAIj05IuKmmEoV7/AQjT0w==", "requires": { "source-map": "~0.6.0" }, diff --git a/package.json b/package.json index bbc7a66..fe467e8 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ ], "homepage": "https://github.com/clean-css/clean-css-cli#readme", "dependencies": { - "clean-css": "^5.2.1", + "clean-css": "^5.2.2", "commander": "7.x", "glob": "^7.1.6" }, From 3b4dd2007cefd3043987b5fa2b6027304903d3f4 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 21 Oct 2021 11:54:46 +0200 Subject: [PATCH 15/44] Version 5.4.2. --- History.md | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/History.md b/History.md index 45a7b63..7f4be13 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,4 @@ -[5.4.2 / 2021-xx-xx](https://github.com/clean-css/clean-css-cli/compare/v5.4.1...5.4) +[5.4.2 / 2021-10-21](https://github.com/clean-css/clean-css-cli/compare/v5.4.1...v5.4.2) ================== * Bumps clean-css dependency to 5.2.2. diff --git a/package-lock.json b/package-lock.json index c7269ac..5e3808f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.4.1", + "version": "5.4.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index fe467e8..70c88f3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.4.1", + "version": "5.4.2", "description": "A command-line interface to clean-css CSS optimization library", "scripts": { "check": "jshint ./bin/cleancss .", From 019c031c1932bd4abb7c3f04347c92a61ec38044 Mon Sep 17 00:00:00 2001 From: Christian Kozalla Date: Wed, 8 Dec 2021 13:32:03 +0100 Subject: [PATCH 16/44] Add feature --watch by including chokidar (#71) * Add feature --watch by including chokidar Check if the watch flag has been passed Construct an array of expanded file paths in case it is a batched command Load chokidar, pass input paths to its watch method Pass minify(...) as a callback to chokidars onchange method --- index.js | 13 +++++- package-lock.json | 111 ++++++++++++++++++++++++++++++++++++++++++++++ package.json | 1 + 3 files changed, 123 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index b207447..171b779 100644 --- a/index.js +++ b/index.js @@ -37,7 +37,8 @@ function cli(process, beforeMinifyCallback) { .option('--remove-inlined-files', 'Remove files inlined in or via `@import` statements') .option('--source-map', 'Enables building input\'s source map') .option('--source-map-inline-sources', 'Enables inlining sources inside source maps') - .option('--with-rebase', 'Enable URLs rebasing'); + .option('--with-rebase', 'Enable URLs rebasing') + .option('--watch', 'Runs CLI in watch mode'); program.on('--help', function () { console.log(''); @@ -144,7 +145,15 @@ function cli(process, beforeMinifyCallback) { // ... and do the magic! if (program.args.length > 0) { - minify(process, options, configurations, expandGlobs(program.args)); + var expandedGlobs = expandGlobs(program.args); + if (inputOptions.watch) { + var inputPaths = expandedGlobs.map(function (path) { return path.expanded; }); + require('chokidar').watch(inputPaths).on('change', function () { + minify(process, options, configurations, expandedGlobs); + }); + } else { + minify(process, options, configurations, expandedGlobs); + } } else { stdin = process.openStdin(); stdin.setEncoding('utf-8'); diff --git a/package-lock.json b/package-lock.json index 5e3808f..15deb08 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,11 +4,25 @@ "lockfileVersion": 1, "requires": true, "dependencies": { + "anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" }, + "binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==" + }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -18,6 +32,29 @@ "concat-map": "0.0.1" } }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "requires": { + "fill-range": "^7.0.1" + } + }, + "chokidar": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", + "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", + "requires": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + } + }, "clean-css": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.2.2.tgz", @@ -153,6 +190,14 @@ "integrity": "sha1-Ys8SAjTGg3hdkCNIqADvPgzCC8A=", "dev": true }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "requires": { + "to-regex-range": "^5.0.1" + } + }, "follow-redirects": { "version": "1.13.0", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.0.tgz", @@ -164,6 +209,12 @@ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, + "fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "optional": true + }, "glob": { "version": "7.1.6", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", @@ -177,6 +228,14 @@ "path-is-absolute": "^1.0.0" } }, + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "requires": { + "is-glob": "^4.0.1" + } + }, "htmlparser2": { "version": "3.8.3", "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.8.3.tgz", @@ -215,6 +274,32 @@ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" }, + "is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "requires": { + "binary-extensions": "^2.0.0" + } + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" + }, + "is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" + }, "isarray": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", @@ -251,6 +336,11 @@ "brace-expansion": "^1.1.7" } }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" + }, "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -264,6 +354,11 @@ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" }, + "picomatch": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", + "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==" + }, "readable-stream": { "version": "1.1.14", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", @@ -276,6 +371,14 @@ "string_decoder": "~0.10.x" } }, + "readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "requires": { + "picomatch": "^2.2.1" + } + }, "requires-port": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", @@ -306,6 +409,14 @@ "integrity": "sha1-HhX7ysl9Pumb8tc7TGVrCCu6+5E=", "dev": true }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "requires": { + "is-number": "^7.0.0" + } + }, "vows": { "version": "0.8.3", "resolved": "https://registry.npmjs.org/vows/-/vows-0.8.3.tgz", diff --git a/package.json b/package.json index 70c88f3..65176d4 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ ], "homepage": "https://github.com/clean-css/clean-css-cli#readme", "dependencies": { + "chokidar": "^3.5.2", "clean-css": "^5.2.2", "commander": "7.x", "glob": "^7.1.6" From 714b1cb69743defe506ead58ac586e21d03f3c29 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Wed, 8 Dec 2021 13:59:48 +0100 Subject: [PATCH 17/44] When in watch mode run all optimizations on the first run. --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 171b779..a88e6c7 100644 --- a/index.js +++ b/index.js @@ -148,6 +148,8 @@ function cli(process, beforeMinifyCallback) { var expandedGlobs = expandGlobs(program.args); if (inputOptions.watch) { var inputPaths = expandedGlobs.map(function (path) { return path.expanded; }); + + minify(process, options, configurations, expandedGlobs); require('chokidar').watch(inputPaths).on('change', function () { minify(process, options, configurations, expandedGlobs); }); From 8e8e990d182652aeeca7b36d10490430c1ef19f0 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Wed, 8 Dec 2021 14:05:59 +0100 Subject: [PATCH 18/44] Prints a message to standard output whenever a watched file changes. --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index a88e6c7..ac1667c 100644 --- a/index.js +++ b/index.js @@ -150,7 +150,8 @@ function cli(process, beforeMinifyCallback) { var inputPaths = expandedGlobs.map(function (path) { return path.expanded; }); minify(process, options, configurations, expandedGlobs); - require('chokidar').watch(inputPaths).on('change', function () { + require('chokidar').watch(inputPaths).on('change', function (pathToChangedFile) { + console.log(`File '${pathToChangedFile}' has changed. Rerunning all optimizations...`) minify(process, options, configurations, expandedGlobs); }); } else { From 0898802fbc8ba36490827da6e1ba6156ca17781d Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Wed, 8 Dec 2021 14:09:04 +0100 Subject: [PATCH 19/44] Adds changelog entry for `--watch` switch. --- History.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/History.md b/History.md index 7f4be13..35b484f 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,8 @@ +[5.5.0 / 2021-xx-xx](https://github.com/clean-css/clean-css-cli/compare/5.4...HEAD) +================== + +* Adds a new `--watch` switch, which makes CLI re-run optimizations when watched file(s) change. + [5.4.2 / 2021-10-21](https://github.com/clean-css/clean-css-cli/compare/v5.4.1...v5.4.2) ================== From 091f281436ee8bac862c073f56340ff919d56a38 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Wed, 8 Dec 2021 14:10:37 +0100 Subject: [PATCH 20/44] Adds version 5.5 entry to readme. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index f7f8b49..fa1fe1b 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ Previously a part of clean-css it's a separate package since clean-css 4.0. - [Node.js version support](#nodejs-version-support) - [Install](#install) - [Use](#use) + * [What's new in version 5.5](#whats-new-in-version-55) * [What's new in version 5.1](#whats-new-in-version-51) * [What's new in version 5.0](#whats-new-in-version-50) * [What's new in version 4.3](#whats-new-in-version-43) @@ -61,6 +62,12 @@ Note: Global install via -g option is recommended unless you want to execute the cleancss -o one.min.css one.css ``` +## What's new in version 5.5 + +clean-css-cli 5.5 introduces the following changes / features: + +* adds a new `--watch` switch, which makes `cleancss` re-run optimizations when watched file(s) change. + ## What's new in version 5.1 clean-css-cli 5.1 introduces the following changes / features: From 79f49dd4fe35cc5e988838d38cd4fe4e3a1fc786 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Wed, 8 Dec 2021 14:11:58 +0100 Subject: [PATCH 21/44] Fixes linter errors. --- .jshintrc | 1 + index.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.jshintrc b/.jshintrc index 5d47cc8..a546a1f 100644 --- a/.jshintrc +++ b/.jshintrc @@ -2,6 +2,7 @@ "camelcase": true, "curly": false, "eqeqeq": false, + "esversion": 6, "immed": true, "indent": 2, "noarg": true, diff --git a/index.js b/index.js index ac1667c..07ef5b6 100644 --- a/index.js +++ b/index.js @@ -151,7 +151,7 @@ function cli(process, beforeMinifyCallback) { minify(process, options, configurations, expandedGlobs); require('chokidar').watch(inputPaths).on('change', function (pathToChangedFile) { - console.log(`File '${pathToChangedFile}' has changed. Rerunning all optimizations...`) + console.log(`File '${pathToChangedFile}' has changed. Rerunning all optimizations...`); minify(process, options, configurations, expandedGlobs); }); } else { From 723b3c8063384aebbac1aeb060c76806c09b2a29 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Wed, 8 Dec 2021 15:46:05 +0100 Subject: [PATCH 22/44] Version 5.5.0. --- History.md | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/History.md b/History.md index 35b484f..7d2dd59 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,4 @@ -[5.5.0 / 2021-xx-xx](https://github.com/clean-css/clean-css-cli/compare/5.4...HEAD) +[5.5.0 / 2021-12-08](https://github.com/clean-css/clean-css-cli/compare/5.4...v5.5.0) ================== * Adds a new `--watch` switch, which makes CLI re-run optimizations when watched file(s) change. diff --git a/package-lock.json b/package-lock.json index 15deb08..5317737 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.4.2", + "version": "5.5.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 65176d4..a6924ff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.4.2", + "version": "5.5.0", "description": "A command-line interface to clean-css CSS optimization library", "scripts": { "check": "jshint ./bin/cleancss .", From 6ae08d02377fc7f1e60841fdf7d6e5833affb666 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Wed, 26 Jan 2022 13:01:46 +0100 Subject: [PATCH 23/44] Bumps clean-css dependency to v5.2.3. --- History.md | 5 +++++ package-lock.json | 6 +++--- package.json | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/History.md b/History.md index 7d2dd59..58e5083 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,8 @@ +[5.5.1 / 2022-xx-xx](https://github.com/clean-css/clean-css-cli/compare/v5.5.0...5.5) +================== + +* Bumps clean-css dependency to 5.2.3. + [5.5.0 / 2021-12-08](https://github.com/clean-css/clean-css-cli/compare/5.4...v5.5.0) ================== diff --git a/package-lock.json b/package-lock.json index 5317737..1f80c2d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -56,9 +56,9 @@ } }, "clean-css": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.2.2.tgz", - "integrity": "sha512-/eR8ru5zyxKzpBLv9YZvMXgTSSQn7AdkMItMYynsFgGwTveCRVam9IUPFloE85B4vAIj05IuKmmEoV7/AQjT0w==", + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.2.3.tgz", + "integrity": "sha512-qjywD7LvpZJ5+E16lf00GnMVUX5TEVBcKW1/vtGPgAerHwRwE4JP4p1Y40zbLnup2ZfWsd30P2bHdoAKH93XxA==", "requires": { "source-map": "~0.6.0" }, diff --git a/package.json b/package.json index a6924ff..fcafa7d 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "homepage": "https://github.com/clean-css/clean-css-cli#readme", "dependencies": { "chokidar": "^3.5.2", - "clean-css": "^5.2.2", + "clean-css": "^5.2.3", "commander": "7.x", "glob": "^7.1.6" }, From 384dbb036b57b11d7dd86bcf64414afd025433e1 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Wed, 26 Jan 2022 13:02:27 +0100 Subject: [PATCH 24/44] Version 5.5.1. --- History.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/History.md b/History.md index 58e5083..6c296dd 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,4 @@ -[5.5.1 / 2022-xx-xx](https://github.com/clean-css/clean-css-cli/compare/v5.5.0...5.5) +[5.5.1 / 2022-01-26](https://github.com/clean-css/clean-css-cli/compare/v5.5.0...v5.5.1) ================== * Bumps clean-css dependency to 5.2.3. diff --git a/package.json b/package.json index fcafa7d..6f0ba05 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.5.0", + "version": "5.5.1", "description": "A command-line interface to clean-css CSS optimization library", "scripts": { "check": "jshint ./bin/cleancss .", From 4676f37af9de9ed0d4bd8ffc1cc15d68473c5ce8 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Wed, 26 Jan 2022 13:53:58 +0100 Subject: [PATCH 25/44] Removes sponsorship info. --- .github/FUNDING.yml | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index d11d019..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1 +0,0 @@ -github: [jakubpawlowicz] From a9104a728d016d9531cdd7386967b409b0c08d19 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Fri, 28 Jan 2022 17:11:17 +0100 Subject: [PATCH 26/44] Bumps clean-css to version 5.2.4. --- History.md | 5 +++++ package-lock.json | 8 ++++---- package.json | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/History.md b/History.md index 6c296dd..fa82c24 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,8 @@ +[5.5.2 / 2022-xx-xx](https://github.com/clean-css/clean-css-cli/compare/v5.5.1...5.5) +================== + +* Bumps clean-css dependency to 5.2.4. + [5.5.1 / 2022-01-26](https://github.com/clean-css/clean-css-cli/compare/v5.5.0...v5.5.1) ================== diff --git a/package-lock.json b/package-lock.json index 1f80c2d..3e02d42 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.5.0", + "version": "5.5.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -56,9 +56,9 @@ } }, "clean-css": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.2.3.tgz", - "integrity": "sha512-qjywD7LvpZJ5+E16lf00GnMVUX5TEVBcKW1/vtGPgAerHwRwE4JP4p1Y40zbLnup2ZfWsd30P2bHdoAKH93XxA==", + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.2.4.tgz", + "integrity": "sha512-nKseG8wCzEuji/4yrgM/5cthL9oTDc5UOQyFMvW/Q53oP6gLH690o1NbuTh6Y18nujr7BxlsFuS7gXLnLzKJGg==", "requires": { "source-map": "~0.6.0" }, diff --git a/package.json b/package.json index 6f0ba05..047be8c 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "homepage": "https://github.com/clean-css/clean-css-cli#readme", "dependencies": { "chokidar": "^3.5.2", - "clean-css": "^5.2.3", + "clean-css": "^5.2.4", "commander": "7.x", "glob": "^7.1.6" }, From 397323798fc945a94ec393f9a442ffaa869b1473 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Fri, 28 Jan 2022 17:12:07 +0100 Subject: [PATCH 27/44] Version 5.5.2. --- History.md | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/History.md b/History.md index fa82c24..45e8e9d 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,4 @@ -[5.5.2 / 2022-xx-xx](https://github.com/clean-css/clean-css-cli/compare/v5.5.1...5.5) +[5.5.2 / 2022-01-28](https://github.com/clean-css/clean-css-cli/compare/v5.5.1...v5.5.2) ================== * Bumps clean-css dependency to 5.2.4. diff --git a/package-lock.json b/package-lock.json index 3e02d42..70fbe11 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.5.1", + "version": "5.5.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 047be8c..fbda8d5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.5.1", + "version": "5.5.2", "description": "A command-line interface to clean-css CSS optimization library", "scripts": { "check": "jshint ./bin/cleancss .", From 0033ad843519810700994c895527f85d0e489d57 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 10 Mar 2022 10:59:38 +0100 Subject: [PATCH 28/44] Bump follow-redirects from 1.13.0 to 1.14.8 (#74) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.0 to 1.14.8. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.0...v1.14.8) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 70fbe11..98c5e19 100644 --- a/package-lock.json +++ b/package-lock.json @@ -199,9 +199,9 @@ } }, "follow-redirects": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.0.tgz", - "integrity": "sha512-aq6gF1BEKje4a9i9+5jimNFIpq4Q1WiwBToeRK5NvZBd/TRsmW8BsJfOEGkr76TbOyPVD3OVDN910EcUNtRYEA==", + "version": "1.14.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", + "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==", "dev": true }, "fs.realpath": { From 7ec2c5d5ca6cfb1f48ef6873b227e17428a2ca0e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 10 Mar 2022 11:00:02 +0100 Subject: [PATCH 29/44] Bump lodash from 4.17.20 to 4.17.21 (#69) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 98c5e19..d3575f1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -323,9 +323,9 @@ } }, "lodash": { - "version": "4.17.20", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", - "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "dev": true }, "minimatch": { From 838eb339521376735b0f6d1738f4334565966e84 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 31 Mar 2022 14:02:08 +0200 Subject: [PATCH 30/44] Updates `jshint` to version 2.13.x. It solves 2 security advisories we had. --- package-lock.json | 27 ++++++++++----------------- package.json | 2 +- 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index d3575f1..4c29809 100644 --- a/package-lock.json +++ b/package-lock.json @@ -100,9 +100,9 @@ } }, "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", "dev": true }, "date-now": { @@ -128,9 +128,9 @@ }, "dependencies": { "domelementtype": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.1.0.tgz", - "integrity": "sha512-LsTgx/L5VpD+Q8lmsXSHW2WpA+eBlZ9HPf3erD1IoPF00/3JKHZ3BknUVA2QGDNu69ZNmyFmCWBSO45XjYKC5w==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", + "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==", "dev": true }, "entities": { @@ -307,18 +307,17 @@ "dev": true }, "jshint": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/jshint/-/jshint-2.12.0.tgz", - "integrity": "sha512-TwuuaUDmra0JMkuqvqy+WGo2xGHSNjv1BA1nTIgtH2K5z1jHuAEeAgp7laaR+hLRmajRjcrM71+vByBDanCyYA==", + "version": "2.13.4", + "resolved": "https://registry.npmjs.org/jshint/-/jshint-2.13.4.tgz", + "integrity": "sha512-HO3bosL84b2qWqI0q+kpT/OpRJwo0R4ivgmxaO848+bo10rc50SkPnrtwSFXttW0ym4np8jbJvLwk5NziB7jIw==", "dev": true, "requires": { "cli": "~1.0.0", "console-browserify": "1.1.x", "exit": "0.1.x", "htmlparser2": "3.8.x", - "lodash": "~4.17.19", + "lodash": "~4.17.21", "minimatch": "~3.0.2", - "shelljs": "0.3.x", "strip-json-comments": "1.0.x" } }, @@ -385,12 +384,6 @@ "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=", "dev": true }, - "shelljs": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.3.0.tgz", - "integrity": "sha1-NZbmMHp4FUT1kfN9phg2DzHbV7E=", - "dev": true - }, "source-map": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", diff --git a/package.json b/package.json index fbda8d5..003d706 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ }, "devDependencies": { "http-proxy": "1.x", - "jshint": "^2.12.0", + "jshint": "^2.13.0", "source-map": "0.5.x", "vows": "^0.8.3" }, From 07d02ea80ca7f6dd95b2dc5a6162e712d72759e6 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 31 Mar 2022 14:03:29 +0200 Subject: [PATCH 31/44] Updates clean-css dependency to version 5.3.0. --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4c29809..9a3d5c6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -56,9 +56,9 @@ } }, "clean-css": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.2.4.tgz", - "integrity": "sha512-nKseG8wCzEuji/4yrgM/5cthL9oTDc5UOQyFMvW/Q53oP6gLH690o1NbuTh6Y18nujr7BxlsFuS7gXLnLzKJGg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.0.tgz", + "integrity": "sha512-YYuuxv4H/iNb1Z/5IbMRoxgrzjWGhOEFfd+groZ5dMCVkpENiMZmwspdrzBo9286JjM1gZJPAyL7ZIdzuvu2AQ==", "requires": { "source-map": "~0.6.0" }, diff --git a/package.json b/package.json index 003d706..0daedc6 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "homepage": "https://github.com/clean-css/clean-css-cli#readme", "dependencies": { "chokidar": "^3.5.2", - "clean-css": "^5.2.4", + "clean-css": "^5.3.0", "commander": "7.x", "glob": "^7.1.6" }, From 8353b62df69d2a621c677e840a638dbe913ce0e7 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 31 Mar 2022 14:05:07 +0200 Subject: [PATCH 32/44] Fixes tests after clean-css 5.3.0 upgrade. --- test/fixtures/unsupported/selectors-ie7.css | 4 ++-- test/fixtures/unsupported/selectors-ie8.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/fixtures/unsupported/selectors-ie7.css b/test/fixtures/unsupported/selectors-ie7.css index 3f2fc3e..29350f2 100644 --- a/test/fixtures/unsupported/selectors-ie7.css +++ b/test/fixtures/unsupported/selectors-ie7.css @@ -2,14 +2,14 @@ p:focus{top:0} p:before{top:0} p:after{top:0} p:root{top:0} -p:nth-of-type(1){top:0} +p:first-of-type{top:0} p:nth-last-of-type(1){top:0} p:first-of-type{top:0} p:last-of-type{top:0} p:only-of-type{top:0} p:only-child{top:0} p:last-child{top:0} -p:nth-child(1){top:0} +p:first-child{top:0} p:nth-last-child(1){top:0} p:empty{top:0} p:target{top:0} diff --git a/test/fixtures/unsupported/selectors-ie8.css b/test/fixtures/unsupported/selectors-ie8.css index 2d01251..94df693 100644 --- a/test/fixtures/unsupported/selectors-ie8.css +++ b/test/fixtures/unsupported/selectors-ie8.css @@ -1,12 +1,12 @@ p:root{top:0} -p:nth-of-type(1){top:0} +p:first-of-type{top:0} p:nth-last-of-type(1){top:0} p:first-of-type{top:0} p:last-of-type{top:0} p:only-of-type{top:0} p:only-child{top:0} p:last-child{top:0} -p:nth-child(1){top:0} +p:first-child{top:0} p:nth-last-child(1){top:0} p:empty{top:0} p:target{top:0} From 3281a7457f1be7e5e590aba76ef04853131ee164 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 31 Mar 2022 14:07:28 +0200 Subject: [PATCH 33/44] Updates changelog after clean-css 5.3.0 upgrade. --- History.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/History.md b/History.md index 45e8e9d..c479fc2 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,8 @@ +[5.6.0 / 2022-xx-xx](https://github.com/clean-css/clean-css-cli/compare/v5.5.2...5.6) +================== + +* Bumps clean-css dependency to 5.3.0. + [5.5.2 / 2022-01-28](https://github.com/clean-css/clean-css-cli/compare/v5.5.1...v5.5.2) ================== From 1a1176c56997cb49b8498133e30967ef3b5efb04 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 31 Mar 2022 14:08:44 +0200 Subject: [PATCH 34/44] Version 5.6.0. --- History.md | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/History.md b/History.md index c479fc2..fb7e7ef 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,4 @@ -[5.6.0 / 2022-xx-xx](https://github.com/clean-css/clean-css-cli/compare/v5.5.2...5.6) +[5.6.0 / 2022-03-31](https://github.com/clean-css/clean-css-cli/compare/v5.5.2...v5.6.0) ================== * Bumps clean-css dependency to 5.3.0. diff --git a/package-lock.json b/package-lock.json index 9a3d5c6..76997f4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.5.2", + "version": "5.6.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 0daedc6..f26fff8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.5.2", + "version": "5.6.0", "description": "A command-line interface to clean-css CSS optimization library", "scripts": { "check": "jshint ./bin/cleancss .", From c170f43d8e884b9033d8e0c7bcc294dbcc823dd9 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 31 Mar 2022 14:11:13 +0200 Subject: [PATCH 35/44] Adds maintenance mode info in readme. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index fa1fe1b..49a7a9f 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,8 @@ clean-css-cli is a command-line interface to [clean-css](https://github.com/jaku Previously a part of clean-css it's a separate package since clean-css 4.0. +__IMPORTANT: clean-css-cli is now in a [maintenance mode](https://github.com/clean-css/clean-css-cli/discussions/76). PRs are still welcome, and I will try do an occasional bugfix relase.__ + **Table of Contents** - [Node.js version support](#nodejs-version-support) From dab79dbc27897ab23d430f267b6c4c3cb5b1d947 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Wed, 13 Jul 2022 11:39:10 +0200 Subject: [PATCH 36/44] Updates clean-css dependency to version 5.3.1. --- History.md | 5 +++++ package-lock.json | 6 +++--- package.json | 2 +- test/fixtures/unsupported/selectors-ie7.css | 4 ++-- test/fixtures/unsupported/selectors-ie8.css | 4 ++-- 5 files changed, 13 insertions(+), 8 deletions(-) diff --git a/History.md b/History.md index fb7e7ef..2d9bf31 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,8 @@ +[5.6.1 / 2022-xx-xx](https://github.com/clean-css/clean-css-cli/compare/v5.6.0...5.6) +================== + +* Bumps clean-css dependency to 5.3.1. + [5.6.0 / 2022-03-31](https://github.com/clean-css/clean-css-cli/compare/v5.5.2...v5.6.0) ================== diff --git a/package-lock.json b/package-lock.json index 76997f4..fc57a10 100644 --- a/package-lock.json +++ b/package-lock.json @@ -56,9 +56,9 @@ } }, "clean-css": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.0.tgz", - "integrity": "sha512-YYuuxv4H/iNb1Z/5IbMRoxgrzjWGhOEFfd+groZ5dMCVkpENiMZmwspdrzBo9286JjM1gZJPAyL7ZIdzuvu2AQ==", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.1.tgz", + "integrity": "sha512-lCr8OHhiWCTw4v8POJovCoh4T7I9U11yVsPjMWWnnMmp9ZowCxyad1Pathle/9HjaDp+fdQKjO9fQydE6RHTZg==", "requires": { "source-map": "~0.6.0" }, diff --git a/package.json b/package.json index f26fff8..3b7be6f 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "homepage": "https://github.com/clean-css/clean-css-cli#readme", "dependencies": { "chokidar": "^3.5.2", - "clean-css": "^5.3.0", + "clean-css": "^5.3.1", "commander": "7.x", "glob": "^7.1.6" }, diff --git a/test/fixtures/unsupported/selectors-ie7.css b/test/fixtures/unsupported/selectors-ie7.css index 29350f2..d43708e 100644 --- a/test/fixtures/unsupported/selectors-ie7.css +++ b/test/fixtures/unsupported/selectors-ie7.css @@ -3,14 +3,14 @@ p:before{top:0} p:after{top:0} p:root{top:0} p:first-of-type{top:0} -p:nth-last-of-type(1){top:0} +p:last-of-type{top:0} p:first-of-type{top:0} p:last-of-type{top:0} p:only-of-type{top:0} p:only-child{top:0} p:last-child{top:0} p:first-child{top:0} -p:nth-last-child(1){top:0} +p:last-child{top:0} p:empty{top:0} p:target{top:0} p:checked{top:0} diff --git a/test/fixtures/unsupported/selectors-ie8.css b/test/fixtures/unsupported/selectors-ie8.css index 94df693..fb8a104 100644 --- a/test/fixtures/unsupported/selectors-ie8.css +++ b/test/fixtures/unsupported/selectors-ie8.css @@ -1,13 +1,13 @@ p:root{top:0} p:first-of-type{top:0} -p:nth-last-of-type(1){top:0} +p:last-of-type{top:0} p:first-of-type{top:0} p:last-of-type{top:0} p:only-of-type{top:0} p:only-child{top:0} p:last-child{top:0} p:first-child{top:0} -p:nth-last-child(1){top:0} +p:last-child{top:0} p:empty{top:0} p:target{top:0} p:checked{top:0} From 8fc585e99d7bf4e812a5d4444ccbaf9967f24f10 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Wed, 13 Jul 2022 11:44:27 +0200 Subject: [PATCH 37/44] Version 5.6.1. --- History.md | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/History.md b/History.md index 2d9bf31..1c8e4f6 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,4 @@ -[5.6.1 / 2022-xx-xx](https://github.com/clean-css/clean-css-cli/compare/v5.6.0...5.6) +[5.6.1 / 2022-07-13](https://github.com/clean-css/clean-css-cli/compare/v5.6.0...v5.6.1) ================== * Bumps clean-css dependency to 5.3.1. diff --git a/package-lock.json b/package-lock.json index fc57a10..971e21b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.6.0", + "version": "5.6.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 3b7be6f..bbd6bc4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.6.0", + "version": "5.6.1", "description": "A command-line interface to clean-css CSS optimization library", "scripts": { "check": "jshint ./bin/cleancss .", From 5ff9178bceb23597f178f6bb74c6216a433e56d3 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 19 Jan 2023 11:17:20 +0100 Subject: [PATCH 38/44] Updates clean-css dependency to version 5.3.2. --- History.md | 5 +++++ package-lock.json | 6 +++--- package.json | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/History.md b/History.md index 1c8e4f6..5283c22 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,8 @@ +[5.6.2 / 2023-xx-xx](https://github.com/clean-css/clean-css-cli/compare/v5.6.1...5.6) +================== + +* Bumps clean-css dependency to 5.3.2 + [5.6.1 / 2022-07-13](https://github.com/clean-css/clean-css-cli/compare/v5.6.0...v5.6.1) ================== diff --git a/package-lock.json b/package-lock.json index 971e21b..b131152 100644 --- a/package-lock.json +++ b/package-lock.json @@ -56,9 +56,9 @@ } }, "clean-css": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.1.tgz", - "integrity": "sha512-lCr8OHhiWCTw4v8POJovCoh4T7I9U11yVsPjMWWnnMmp9ZowCxyad1Pathle/9HjaDp+fdQKjO9fQydE6RHTZg==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.2.tgz", + "integrity": "sha512-JVJbM+f3d3Q704rF4bqQ5UUyTtuJ0JRKNbTKVEeujCCBoMdkEi+V+e8oktO9qGQNSvHrFTM6JZRXrUvGR1czww==", "requires": { "source-map": "~0.6.0" }, diff --git a/package.json b/package.json index bbd6bc4..3fde730 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "homepage": "https://github.com/clean-css/clean-css-cli#readme", "dependencies": { "chokidar": "^3.5.2", - "clean-css": "^5.3.1", + "clean-css": "^5.3.2", "commander": "7.x", "glob": "^7.1.6" }, From d4453d880c92aa62e823832fa6115d57f0804e60 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 19 Jan 2023 11:21:28 +0100 Subject: [PATCH 39/44] Bump minimatch from 3.0.4 to 3.0.8 (#84) Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/isaacs/minimatch/releases) - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md) - [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.0.8) --- updated-dependencies: - dependency-name: minimatch dependency-type: indirect ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index b131152..e08113d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -319,6 +319,17 @@ "lodash": "~4.17.21", "minimatch": "~3.0.2", "strip-json-comments": "1.0.x" + }, + "dependencies": { + "minimatch": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.8.tgz", + "integrity": "sha512-6FsRAQsxQ61mw+qP1ZzbL9Bc78x2p5OqNgNpnoAFLTrX8n5Kxph0CsnhmKKNXTWjXqU5L0pGPR7hYk+XWZr60Q==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + } } }, "lodash": { @@ -328,9 +339,9 @@ "dev": true }, "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "requires": { "brace-expansion": "^1.1.7" } From 0ff25fb6e20a24078b5df11163edece5c3d20fed Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 19 Jan 2023 11:19:49 +0100 Subject: [PATCH 40/44] Version 5.6.2. --- History.md | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/History.md b/History.md index 5283c22..897a17d 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,4 @@ -[5.6.2 / 2023-xx-xx](https://github.com/clean-css/clean-css-cli/compare/v5.6.1...5.6) +[5.6.2 / 2023-01-19](https://github.com/clean-css/clean-css-cli/compare/v5.6.1...v5.6.2) ================== * Bumps clean-css dependency to 5.3.2 diff --git a/package-lock.json b/package-lock.json index e08113d..a7a3aa2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.6.1", + "version": "5.6.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 3fde730..a2aee83 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.6.1", + "version": "5.6.2", "description": "A command-line interface to clean-css CSS optimization library", "scripts": { "check": "jshint ./bin/cleancss .", From a55daf089ae1ea240d36b9aa472d9b0fb89d1a84 Mon Sep 17 00:00:00 2001 From: SuperStormer <41648788+SuperStormer@users.noreply.github.com> Date: Wed, 15 Mar 2023 04:30:32 -0400 Subject: [PATCH 41/44] fix #80 (#86) --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 07ef5b6..bfd06df 100644 --- a/index.js +++ b/index.js @@ -100,6 +100,7 @@ function cli(process, beforeMinifyCallback) { if (program.rawArgs.indexOf('-O0') > -1) { options.level[0] = true; + options.level[1] = false; } if (program.rawArgs.indexOf('-O1') > -1) { From dfe93e3c2dbfcaf951e3c3b31be3ac7de8016e94 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Wed, 15 Mar 2023 09:31:56 +0100 Subject: [PATCH 42/44] Adds a testcase for #86. --- test/binary-test.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/binary-test.js b/test/binary-test.js index 65d6673..d9848e2 100644 --- a/test/binary-test.js +++ b/test/binary-test.js @@ -156,6 +156,13 @@ vows.describe('cleancss') } }) }) + .addBatch({ + 'level 0 optimizations': pipedContext('a{color:#ff0000;margin:0 0 0 0}', '-O0', { + 'should skip all optimizations': function (error, stdout) { + assert.equal(stdout, 'a{color:#ff0000;margin:0 0 0 0}'); + } + }) + }) .addBatch({ 'enable restructuring optimizations': pipedContext('div{margin-top:0}.one{margin:0}.two{display:block;margin-top:0}', '-O2 restructureRules:on', { 'should do basic optimizations only': function (error, stdout) { From 33bccc0b67ad3e965f4080b9d6c2b10f937367d5 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 30 Nov 2023 10:17:25 +0100 Subject: [PATCH 43/44] Updates clean-css dependency to version 5.3.3. --- History.md | 5 +++++ package-lock.json | 6 +++--- package.json | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/History.md b/History.md index 897a17d..6669907 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,8 @@ +[5.6.3 / 2023-xx-xx](https://github.com/clean-css/clean-css-cli/compare/v5.6.2...5.6) +================== + +* Bumps clean-css dependency to 5.3.3 + [5.6.2 / 2023-01-19](https://github.com/clean-css/clean-css-cli/compare/v5.6.1...v5.6.2) ================== diff --git a/package-lock.json b/package-lock.json index a7a3aa2..fbeedaf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -56,9 +56,9 @@ } }, "clean-css": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.2.tgz", - "integrity": "sha512-JVJbM+f3d3Q704rF4bqQ5UUyTtuJ0JRKNbTKVEeujCCBoMdkEi+V+e8oktO9qGQNSvHrFTM6JZRXrUvGR1czww==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.3.tgz", + "integrity": "sha512-D5J+kHaVb/wKSFcyyV75uCn8fiY4sV38XJoe4CUyGQ+mOU/fMVYUdH1hJC+CJQ5uY3EnW27SbJYS4X8BiLrAFg==", "requires": { "source-map": "~0.6.0" }, diff --git a/package.json b/package.json index a2aee83..366f734 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "homepage": "https://github.com/clean-css/clean-css-cli#readme", "dependencies": { "chokidar": "^3.5.2", - "clean-css": "^5.3.2", + "clean-css": "^5.3.3", "commander": "7.x", "glob": "^7.1.6" }, From bcf7086598a1550591819c7d3b4850e123f15144 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Thu, 30 Nov 2023 10:19:22 +0100 Subject: [PATCH 44/44] Version 5.6.3. --- History.md | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/History.md b/History.md index 6669907..5cbdfa9 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,4 @@ -[5.6.3 / 2023-xx-xx](https://github.com/clean-css/clean-css-cli/compare/v5.6.2...5.6) +[5.6.3 / 2023-11-30](https://github.com/clean-css/clean-css-cli/compare/v5.6.2...v5.6.3) ================== * Bumps clean-css dependency to 5.3.3 diff --git a/package-lock.json b/package-lock.json index fbeedaf..f06ecb2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.6.2", + "version": "5.6.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 366f734..43f5572 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clean-css-cli", - "version": "5.6.2", + "version": "5.6.3", "description": "A command-line interface to clean-css CSS optimization library", "scripts": { "check": "jshint ./bin/cleancss .",