analyze-css

CSS selectors complexity and performance analyzer

BSD-2-CLAUSE License

Downloads
14.5K
Stars
695
Committers
10

Bot releases are hidden (Show)

analyze-css - v2.2.0 - ignore traversals selector types

Published by macbre 8 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/macbre/analyze-css/compare/v2.1.132...v2.2.0

analyze-css - Updating prefixes data

Published by macbre almost 3 years ago

Updating rules/prefixes.json

analyze-css - Bump browserslist

Published by macbre about 3 years ago

What's Changed

Full Changelog: https://github.com/macbre/analyze-css/compare/v2.1.1...v2.1.2

analyze-css - Updating prefixes data

Published by macbre about 3 years ago

Updating rules/prefixes.json (#420)

From now on any prefixes.json file update will automatically create a new patch version of this package (thanks to 9c2d96ad64be2550d43ac29651eb68dd9c402a95, 9bd86578dfb91d932a944ef0919dda8475ba16c5 and bc7ee26b806641669aed8d79e86284e88b9accb4)

Other updates

analyze-css - Dependencies updated

Published by macbre about 3 years ago

This is a maintenance release containing quite a lot of dependencies updates (including up-to-date prefixes database).

  • #371 dependencies - build(deps): bump path-parse from 1.0.6 to 1.0.7 (by @dependabot[bot])
  • #372 dependencies - build(deps): bump sass from 1.37.5 to 1.38.0 (by @dependabot[bot])
  • #373 dependencies - build(deps-dev): bump browserslist from 4.16.7 to 4.16.8 (by @dependabot[bot])
  • #374 dependencies - build(deps-dev): bump autoprefixer from 10.3.1 to 10.3.2 (by @dependabot[bot])
  • #375 dependencies - Updating rules/prefixes.json
  • #376 dependencies - build(deps): bump sass from 1.38.0 to 1.38.1 (by @dependabot[bot])
  • #377 dependencies - build(deps-dev): bump autoprefixer from 10.3.2 to 10.3.3 (by @dependabot[bot])
  • #378 dependencies - Updating rules/prefixes.json
  • #379 dependencies - build(deps-dev): bump jest from 27.0.6 to 27.1.0 (by @dependabot[bot])
  • #380 dependencies - build(deps): bump sass from 1.38.1 to 1.38.2 (by @dependabot[bot])
  • #381 dependencies - build(deps): bump node-fetch from 2.6.1 to 3.0.0 (by @dependabot[bot])
  • #382 dependencies - build(deps): bump sass from 1.38.2 to 1.39.0 (by @dependabot[bot])
  • #383 dependencies - build(deps-dev): bump autoprefixer from 10.3.3 to 10.3.4 (by @dependabot[bot])
  • #384 dependencies - Updating rules/prefixes.json
  • #385 dependencies - build(deps-dev): bump browserslist from 4.16.8 to 4.17.0 (by @dependabot[bot])
  • #386 dependencies - build(deps-dev): bump jest from 27.1.0 to 27.1.1 (by @dependabot[bot])
  • #387 dependencies - build(deps-dev): bump prettier from 2.3.2 to 2.4.0 (by @dependabot[bot])
  • #388 dependencies - build(deps): bump sass from 1.39.0 to 1.39.2 (by @dependabot[bot])
  • #389 dependencies - build(deps): bump commander from 8.1.0 to 8.2.0 (by @dependabot[bot])
  • #390 dependencies - build(deps-dev): bump jest from 27.1.1 to 27.2.0 (by @dependabot[bot])
  • #391 dependencies - build(deps): bump sass from 1.39.2 to 1.40.1 (by @dependabot[bot])
  • #392 dependencies - build(deps): bump sass from 1.40.1 to 1.41.0 (by @dependabot[bot])
  • #393 dependencies - build(deps-dev): bump prettier from 2.4.0 to 2.4.1 (by @dependabot[bot])
  • #394 dependencies - build(deps): bump sass from 1.41.0 to 1.41.1 (by @dependabot[bot])
  • #395 dependencies - build(deps-dev): bump jest from 27.2.0 to 27.2.1 (by @dependabot[bot])
  • #396 dependencies - build(deps-dev): bump check-dts from 0.5.5 to 0.5.6 (by @dependabot[bot])
  • #397 dependencies - build(deps): bump sass from 1.41.1 to 1.42.0 (by @dependabot[bot])
  • #398 dependencies - Updating rules/prefixes.json
  • #399 dependencies - build(deps-dev): bump browserslist from 4.17.0 to 4.17.1 (by @dependabot[bot])
  • #400 dependencies - build(deps-dev): bump autoprefixer from 10.3.4 to 10.3.5 (by @dependabot[bot])
  • #401 dependencies - build(deps-dev): bump postcss from 8.3.6 to 8.3.7 (by @dependabot[bot])
  • #402 dependencies - build(deps): bump sass from 1.42.0 to 1.42.1 (by @dependabot[bot])
  • #403 dependencies - build(deps): bump ansi-regex from 5.0.0 to 5.0.1 (by @dependabot[bot])
  • #404 dependencies - Updating rules/prefixes.json
  • #405 dependencies - build(deps): bump glob from 7.1.7 to 7.2.0 (by @dependabot[bot])
  • #406 dependencies - build(deps): bump http-proxy-agent from 4.0.1 to 5.0.0 (by @dependabot[bot])
  • #407 dependencies - Updating rules/prefixes.json
analyze-css - Typing and promises

Published by macbre about 3 years ago

Typing

This major release of analyze-css brings d.ts types definition (#354) that can be used by TypeScript-powered projects that use this library. Additionally, your IDE should provide you with auto-completion even when you're using JavaScript.

Breaking changes in v2.x

Watch out for the new Promises-based API which is a breaking change (#357 + #367 + #368):

const analyze = require('analyze-css');

(async() => {
  const results = await analyze('.foo {margin: 0 !important}');
  console.log(results); // example? see below
})();

Changelog

  • #233 bug - Freezing on a syntax (reported by @gmetais)
  • #236 enhancement - Fix CSS parsing freeze
  • #354 internals - Add .d.ts files with types declaration
  • #356 enhancement - Rewrite to promises
  • #357 enhancement - Use Promises
  • #361 dependencies - build(deps-dev): bump browserslist from 4.16.6 to 4.16.7 (by @dependabot[bot])
  • #362 dependencies - build(deps): bump sass from 1.37.0 to 1.37.2 (by @dependabot[bot])
  • #363 enhancement - Provide types declaration
  • #364 TypeScript - Simplify imports and split the code
  • #365 dependencies - build(deps): bump sass from 1.37.2 to 1.37.5 (by @dependabot[bot])
  • #366 dependencies - Updating rules/prefixes.json
  • #367 TypeScript - Provide typing for on() method
  • #368 TypeScript - Use @types/css for even better typing
  • #369 dependencies - Updating rules/prefixes.json
  • #370 security - Upgrade path-parse to version 1.0.7
analyze-css -

Published by macbre about 3 years ago

  • Fix the handling of --pretty option #355
  • build(deps): bump commander from 8.0.0 to 8.1.0 #353
analyze-css - sass updated + CI pipeline improvements

Published by macbre about 3 years ago

Publish to GitHub Packages too #349 -> https://github.com/macbre/analyze-css/packages/914395
build(deps): bump sass from 1.35.2 to 1.36.0 #350
Install sass with version taken from a lock file #351
Use cache feature from setup-node action #352

analyze-css - Dependencies updated

Published by macbre about 3 years ago

analyze-css - Use Dart Sass and update depenencies

Published by macbre over 3 years ago

analyze-css finally reaches the v1.0.0 milestone 🎉 - with improved code coverage, Dart Sass lib used and up-to-date dependencies.

  • #273 dependencies - Bump eslint from 7.22.0 to 7.23.0 (by @dependabot[bot])
  • #274 dependencies - Bump postcss from 8.2.8 to 8.2.9 (by @dependabot[bot])
  • #275 dependencies - Bump y18n from 4.0.0 to 4.0.1 (by @dependabot[bot])
  • #276 dependencies - Updating rules/prefixes.json
  • #277 dependencies - Bump postcss from 8.2.9 to 8.2.10 (by @dependabot[bot])
  • #278 dependencies - Bump eslint from 7.23.0 to 7.24.0 (by @dependabot[bot])
  • #279 dependencies - Bump browserslist from 4.16.3 to 4.16.4 (by @dependabot[bot])
  • #280 bug - Error on @import rule with url containing semicolon (by @kazhashimoto)
  • #281 dependencies - Bump eslint-config-prettier from 8.1.0 to 8.2.0 (by @dependabot[bot])
  • #282 dependencies - Updating rules/prefixes.json
  • #283 dependencies - Bump browserslist from 4.16.4 to 4.16.5 (by @dependabot[bot])
  • #284 dependencies - Bump postcss from 8.2.10 to 8.2.12 (by @dependabot[bot])
  • #285 dependencies - Bump eslint-config-prettier from 8.2.0 to 8.3.0 (by @dependabot[bot])
  • #287 pr - Test using Node.js 16 too
  • #288 dependencies - Bump postcss from 8.2.12 to 8.2.13 (by @dependabot[bot])
  • #290 dependencies - Updating rules/prefixes.json
  • #291 dependencies - Bump browserslist from 4.16.5 to 4.16.6 (by @dependabot[bot])
  • #292 dependencies - Updating rules/prefixes.json
  • #293 dependencies - Bump postcss from 8.2.13 to 8.2.14 (by @dependabot[bot])
  • #294 dependencies - Bump lodash from 4.17.19 to 4.17.21 (by @dependabot[bot])
  • #295 dependencies - Bump glob from 7.1.6 to 7.1.7 (by @dependabot[bot])
  • #296 dependencies - Updating rules/prefixes.json
  • #297 dependencies - Bump eslint from 7.25.0 to 7.26.0 (by @dependabot[bot])
  • #298 dependencies - Bump prettier from 2.2.1 to 2.3.0 (by @dependabot[bot])
  • #299 dependencies - Bump node-sass from 5.0.0 to 6.0.0 (by @dependabot[bot])
  • #300 dependencies - Bump mocha from 8.3.2 to 8.4.0 (by @dependabot[bot])
  • #301 dependencies - Bump postcss from 8.2.14 to 8.2.15 (by @dependabot[bot])
  • #302 dependencies - Bump postcss from 8.2.15 to 8.3.0 (by @dependabot[bot])
  • #303 dependencies - Bump eslint from 7.26.0 to 7.27.0 (by @dependabot[bot])
  • #304 docs - Removing articles that do not exist anymore (by @karreiro)
  • #305 dependencies - Bump autoprefixer from 10.2.5 to 10.2.6 (by @dependabot[bot])
  • #306 dependencies - Updating rules/prefixes.json
  • #307 dependencies - Updating rules/prefixes.json
  • #308 dependencies - Updating rules/prefixes.json
  • #309 dependencies - Bump eslint from 7.27.0 to 7.28.0 (by @dependabot[bot])
  • #310 dependencies - Bump prettier from 2.3.0 to 2.3.1 (by @dependabot[bot])
  • #311 dependencies - Bump glob-parent from 5.1.1 to 5.1.2 (by @dependabot[bot])
  • #312 dependencies - Bump mocha from 8.4.0 to 9.0.0 (by @dependabot[bot])
  • #314 dependencies - Bump postcss from 8.3.0 to 8.3.1 (by @dependabot[bot])
  • #315 dependencies - Updating rules/prefixes.json
  • #316 dependencies - Bump postcss from 8.3.1 to 8.3.2 (by @dependabot[bot])
  • #317 internals - Improve code coverage
  • #318 internals - Use Dart Sass instead of node-sass
  • #319 internals - Further improve code coverage
  • #321 internals - Remove trailing spaces from update-prefixes.yml
  • #322 bug - Fix handling of URLs with semicolons
  • #323 internals - Use dart-sass implementation instead of node-sass
  • #324 dependencies - build(deps): bump sass from 1.34.1 to 1.35.0 (by @dependabot[bot])
  • #325 dependencies - build(deps-dev): bump postcss from 8.3.2 to 8.3.4 (by @dependabot[bot])
analyze-css - CLI options handling fixed

Published by macbre over 3 years ago

Bump eslint-config-prettier from 8.0.0 to 8.1.0 #252
Bump eslint from 7.20.0 to 7.21.0 #255
updated-prefixes | git add rules/prefixes.json #256
Bump postcss from 8.2.6 to 8.2.7 #257
Updating rules/prefixes.json #259
Bump autoprefixer from 10.2.4 to 10.2.5 #261
Bump mocha from 8.3.0 to 8.3.1 #262
Updating rules/prefixes.json #260
Updating rules/prefixes.json #263
Bump postcss from 8.2.7 to 8.2.8 #264
Bump mocha from 8.3.1 to 8.3.2 #266
Bump eslint from 7.21.0 to 7.22.0 #267
Updating rules/prefixes.json #265
Updating rules/prefixes.json #269
Bump commander from 7.1.0 to 7.2.0 #270
CLI - fix options handling #271
Improve handling of --ignore-ssl-errors option #272

analyze-css - Prefixes database updated

Published by macbre over 3 years ago

#251 brings a massive update of CSS prefixes used by oldPropertyPrefixes rule.

analyze-css -

Published by macbre about 4 years ago

  • Bump browserslist from 4.13.0 to 4.14.0 #181
  • Bump js-beautify from 1.11.0 to 1.12.0 #182
  • Bump js-beautify from 1.12.0 to 1.13.0 #183
  • Bump mocha from 8.1.1 to 8.1.2 #184
  • Bump commander from 6.0.0 to 6.1.0 #185
  • Bump mocha from 8.1.2 to 8.1.3 #186
  • Bump node-fetch from 2.6.0 to 2.6.1 #188 [security fix]
  • Bump browserslist from 4.14.0 to 4.14.1 #187
analyze-css - v0.12.11

Published by macbre about 4 years ago

  • SASS pre-processing was broken (as tests added in #173 revealed), fixed in #175
  • Make npm package a bit smaller #171
  • Upgraded browserslist package (#165 #166 #168) and a few other dependencies
analyze-css - v0.12.10

Published by macbre over 4 years ago

  • all dependencies are now up to date (#158, #159, #160)
  • updated CSS prefixes (#163)
  • replaced no longer maintained npm modules (optimist and istanbul) with new ones (#161, #164)
  • tests are now run using Node.js 12.x and 14.x (#162)
analyze-css -

Published by macbre over 4 years ago

  • #155 - security fixes
  • #156 - use GitHub actions for PR tests and npm publishes
  • #157 - update prefixes
analyze-css -

Published by macbre over 4 years ago

Update CSS prefixes + security fixes

analyze-css -

Published by macbre almost 6 years ago

#151 - Update dependencies

analyze-css -

Published by macbre almost 8 years ago

  • #136 - Unicode in process.title causes failure
  • #138 - Run TravisCI tests using Node.js 7.x
analyze-css -

Published by macbre about 8 years ago