Skip to content

Releases: macbre/analyze-css

Updating prefixes data

26 Nov 09:51
Compare
Choose a tag to compare
v2.1.5

2.1.5

Updating prefixes data

05 Nov 10:16
Compare
Choose a tag to compare
v2.1.4

2.1.4

Updating prefixes data

26 Oct 10:43
Compare
Choose a tag to compare

Updating rules/prefixes.json

Bump browserslist

13 Oct 18:43
Compare
Choose a tag to compare

What's Changed

  • package-lock.json: bump lockfileVersion by @macbre in #424
  • build(deps-dev): bump browserslist from 4.17.3 to 4.17.4 by @dependabot in #426

Full Changelog: v2.1.1...v2.1.2

Updating prefixes data

13 Oct 10:26
Compare
Choose a tag to compare

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 9c2d96a, 9bd8657 and bc7ee26)

Other updates

Dependencies updated

24 Sep 09:13
bad785b
Compare
Choose a tag to compare

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

Typing and promises

12 Aug 15:38
22b6de0
Compare
Choose a tag to compare

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.

Screenshot 2021-08-04 at 14 59 00

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

v1.1.2

28 Jul 13:31
695636c
Compare
Choose a tag to compare
  • Fix the handling of --pretty option #355
  • build(deps): bump commander from 8.0.0 to 8.1.0 #353

sass updated + CI pipeline improvements

27 Jul 09:37
ea938b1
Compare
Choose a tag to compare

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

Dependencies updated

26 Jul 11:31
fbb7f58
Compare
Choose a tag to compare
v1.1.0

v1.1.0