Releases: macbre/analyze-css
Updating prefixes data
v2.1.5 2.1.5
Updating prefixes data
v2.1.4 2.1.4
Updating prefixes data
Updating rules/prefixes.json
Bump browserslist
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
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
- build(deps-dev): bump jest from 27.2.1 to 27.2.2 by @dependabot in #408
- build(deps-dev): bump autoprefixer from 10.3.5 to 10.3.6 by @dependabot in #409
- build(deps-dev): bump postcss from 8.3.7 to 8.3.8 by @dependabot in #410
- build(deps-dev): bump jest from 27.2.2 to 27.2.3 by @dependabot in #412
- Updating rules/prefixes.json by @macbre in #411
- build(deps-dev): bump jest from 27.2.3 to 27.2.4 by @dependabot in #413
- build(deps-dev): bump browserslist from 4.17.1 to 4.17.2 by @dependabot in #415
- Updating rules/prefixes.json by @macbre in #414
- Updating rules/prefixes.json by @macbre in #416
- build(deps-dev): bump autoprefixer from 10.3.6 to 10.3.7 by @dependabot in #417
- build(deps-dev): bump browserslist from 4.17.2 to 4.17.3 by @dependabot in #419
- build(deps-dev): bump postcss from 8.3.8 to 8.3.9 by @dependabot in #418
- build(deps-dev): bump jest from 27.2.4 to 27.2.5 by @dependabot in #421
- Updating rules/prefixes.json by @macbre in #420
- build(deps): bump css-what from 5.0.1 to 5.1.0 by @dependabot in #422
- build(deps-dev): bump eslint from 7.32.0 to 8.0.0 by @dependabot in #423
Dependencies updated
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
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
v1.1.2
sass updated + CI pipeline improvements
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
v1.1.0 v1.1.0