Andrey Sitnik
02abcf2271
Release 7.0.39 version
2021-10-04 22:09:54 +02:00
Andrey Sitnik
8ed0f0871a
Replace nanocolors with picocolors
2021-10-04 22:06:17 +02:00
Andrey Sitnik
aa3d884b75
Release 7.0.38 version
2021-09-25 09:29:00 +02:00
Andrey Sitnik
8dcc7801e7
Replace chalk to nanocolors
2021-09-25 08:55:08 +02:00
Andrey Sitnik
21410a1ba8
Release 7.0.36 version
2021-06-10 22:43:54 -04:00
Andrey Sitnik
2f90ad1a3f
Backport ReDoS vulnerabilities from PostCSS 8
2021-06-10 22:38:48 -04:00
Andrey Sitnik
2ce39a51d1
Release 7.0.35 version
2020-09-28 17:41:48 -04:00
Andrey Sitnik
daf1e6b18c
Add migration guide to PostCSS 8 error
2020-09-28 17:39:23 -04:00
Andrey Sitnik
7d8b528a13
Release 7.0.34 version
2020-09-16 21:54:33 -04:00
Andrey Sitnik
8717eee331
Release 7.0.33 version
2020-09-16 18:08:27 -04:00
Andrey Sitnik
bafe784719
Add PostCSS 8 plugin error message
2020-09-16 18:03:01 -04:00
Andrey Sitnik
5d672ef0d8
Release 7.0.32 version
2020-06-02 08:45:42 -04:00
Andrey Sitnik
6e14a64ef7
Clean up check
2020-06-02 08:44:38 -04:00
Adam and GitHub
e0aa8c29f0
fix(input): undefined check in addition to the null check ( #1363 )
2020-06-02 08:40:12 -04:00
Andrey Sitnik
4a56a8cc2a
Release 7.0.31 version
2020-05-25 21:58:04 -04:00
Emmanouil Zoumpoulakis and GitHub
a8edb9292e
Fix: Reads only the last sourceMappingURL in the file ( #1360 )
...
* Fix: Reads only the last sourceMappingURL in the file (which is the only valid)
* Refactor: Create getAnnotationURL() to get the url of the sourceMap match.
* Minor: Rename some variables for better clarity
* Improvement: Add unit test to catch regressions
2020-05-25 20:45:00 -04:00
Andrey Sitnik
3241feb500
Release 7.0.30 version
2020-05-11 09:57:20 -04:00
Natalie Weizenbaum and GitHub
57250d5da2
Further improve type declarations ( #1356 )
...
* Typings: get rid of "| void" return values
These are not very useful, because the "void" half can never be used.
For `next()` and `prev()` this now declares the actual return value,
`undefined`. For `each()` and `walk*()`, this declares different
overloads for callbacks that do or do not return booleans.
* Typings: Node.raw() returns string | undefined
* Container.every() and .some() don't take thisArg
2020-05-11 09:56:06 -04:00
Andrey Sitnik
8e95684423
Release 7.0.29 version
2020-05-04 10:11:16 -04:00
Natalie Weizenbaum and GitHub
13c872c4e0
Improve type annotations for Plugin.process() ( #1353 )
2020-05-01 19:13:13 -04:00
Andrey Sitnik
3fee18e0fc
Release 7.0.27 version
2020-02-17 21:56:45 -05:00
Natalie Weizenbaum and GitHub
5a92d106f4
Update the type annotation for Input.origin ( #1327 )
...
This can return false if no origin is available.
2020-02-17 16:51:20 -05:00
Andrey Sitnik
1b179874ce
Release 7.0.26 version
2019-12-30 18:37:49 -05:00
Natalie Weizenbaum and Andrey Sitnik
67e830b588
Add the stringifier argument to NodeBase.prototype.toString()'s type ( #1316 )
...
Closes #1313
2019-12-30 18:36:27 -05:00
Andrey Sitnik
d6a57349cc
Release 7.0.25 version
2019-12-16 14:09:41 -05:00
Tom Raviv and Andrey Sitnik
d491725110
parse: avoid re-resolution of "already absolute" file paths ( #1310 )
...
* parse: avoid re-resolution of "already absolute" file paths
On windows, when calling `postcss.parse` providing it with a posix-style absolute file path (e.g. running against an in-memory fs) leads to the `from` field being resolved to a windows-style path.
For example, the file from path `/a/b/c` gets resolved to `C:\\a\\b\\c`, which doesn't exist in my case.
* fix trinary expression lint
* Better lint fix
2019-12-16 13:05:17 -05:00
Andrey Sitnik
938fca5d17
Release 7.0.24 version
2019-12-06 13:41:36 -05:00
Keith Cirkel and Andrey Sitnik
2e8a334157
correct type for annotation ( #1307 )
2019-12-05 12:29:25 -05:00
Andrey Sitnik
5bf5e6f1cb
Release 7.0.23 version
2019-11-18 17:33:29 -05:00
Andrey Sitnik
847067204a
Update version in Processor
2019-11-18 17:31:28 -05:00
Andrey Sitnik
2fad12c846
Release 7.0.21 version
2019-10-26 00:48:28 +09:00
Andrey Sitnik
bb8391691b
Revert feature because of postcss-values-parser
2019-10-26 00:47:32 +09:00
Andrey Sitnik
286ee8d53b
Release 7.0.20 version
2019-10-25 00:02:11 +09:00
Andrey Sitnik
a88828da27
Fix 7.0.19 regression
2019-10-25 00:00:22 +09:00
Andrey Sitnik
fa6f36bcdb
Release 7.0.19 version
2019-10-24 21:35:24 +09:00
Andrey Sitnik
3133b8ee75
Fix passing nodes to constructor
2019-10-24 21:19:13 +09:00
Andrey Sitnik
695efc454d
Release 7.0.18 version
2019-09-06 07:14:11 +08:00
Jan Buschtöns and Andrey Sitnik
0ac3c89562
fix(types): return Warning[] from warnings() ( #1292 )
...
https://api.postcss.org/Result.html#warnings
https://api.postcss.org/LazyResult.html#warnings
2019-09-06 07:12:01 +08:00
Andrey Sitnik
95ca427c9b
Release 7.0.17 version
2019-06-05 19:32:55 +03:00
Bob Matcuk and Andrey Sitnik
9053e5e1f2
Updated typescript definitions ( #1278 )
2019-06-05 17:32:55 +03:00
Jan Buschtöns and Andrey Sitnik
ee3855fe17
fix(types): make Rule.selectors non-optional ( #1277 )
...
`Rule.selectors` is guaranteed to be an array. The array itself _may_ be empty.
https://github.com/postcss/postcss/blob/61ac9fafac31d0aa0bb2eec0941da9488456c8f1/lib/rule.es6#L22-L40
https://github.com/postcss/postcss/blob/61ac9fafac31d0aa0bb2eec0941da9488456c8f1/lib/list.es6#L12-L53
2019-06-05 13:41:37 +03:00
Andrey Sitnik
a2b21f40ea
Release 7.0.16 version
2019-05-04 21:52:48 +03:00
Andrey Sitnik
c8ac5c0cb9
Revert Custom Properties parsing
2019-05-04 21:50:12 +03:00
Andrey Sitnik
17b2c56a05
Fix parsing @apply
2019-05-04 20:32:35 +03:00
Andrey Sitnik
dbbcee2801
Release 7.0.15 version
2019-05-04 08:34:00 +03:00
Ivan Solovev and Andrey Sitnik
a4e83b74b9
Add processing to the valid user-defined variables ( #1259 )
...
* Add processing to the valid user-defined variables
* Remove todo
* Clean up code
* Change config of TravisCI
2019-05-04 08:28:17 +03:00
Andrey Sitnik
20d9427f7e
Change import order
2019-03-24 20:24:42 -04:00
Andrey Sitnik
19d60daa06
Release 7.0.14 version
2019-01-22 15:13:03 +01:00
Matt Lyons and Andrey Sitnik
d77ce8f411
Expose Tokenizer position function ( #1237 )
2019-01-22 14:03:42 +00:00
Andrey Sitnik
7839f11511
Release 7.0.13 version
2019-01-15 18:58:34 +01:00