622 Commits
Author SHA1 Message Date
Andrey Sitnik 7c959ea4e8 Clean up tests 2021-04-26 08:23:50 -04:00
Andrey Sitnik 843ab11b6e Add Prettier 2021-03-11 19:11:37 -05:00
Andrey Sitnik 839e2c0504 Update ESLint config 2021-03-09 17:02:16 -05:00
Matt Jones 01e0bc1e80 Fix formatting 2021-03-09 13:32:41 +11:00
Matt Jones c87ed2c8f9 Handle empty path object in browser builds 2021-03-09 13:21:20 +11:00
Andrey Sitnik 6b949e9490 Clean up code 2021-02-06 13:53:47 -05:00
Natalie Weizenbaum c6868830ce Don't split on escaped characters in list.split() 2021-02-06 02:11:54 -08:00
thomas williams 8c73f032fb fix: add plugin name to deprecation message 2021-01-08 10:40:31 -08:00
Niklas Mischkulnig ad88ece3c5 Cleanup: Typescript 2021-01-07 12:33:44 +01:00
Niklas Mischkulnig 2837bf9435 Cleanup 2021-01-07 12:27:36 +01:00
Niklas Mischkulnig 35ea5fce49 Fixup tests 2021-01-07 12:20:24 +01:00
Niklas Mischkulnig b3405e610c Fix JSON.stringify of an array of nodes 2021-01-07 12:04:45 +01:00
Aleks Hudochenkov 66c84cf3df Remove unused code 2021-01-03 02:52:00 +01:00
Andrey SitnikandGitHub 4050921124 Merge pull request #1495 from 43081j/fix-root
remove root assignment in stringifier
2020-12-29 14:39:01 -05:00
Andrey Sitnik 6208bd61b6 Clean up tests 2020-12-29 14:35:30 -05:00
James Garbutt 37765f9c4b remove root assignment 2020-12-29 13:44:55 +00:00
Ludovico Fischer cc4714d9d9 Change plugin creator type to allow returning a processor. 2020-12-09 21:06:28 +01:00
Niklas Mischkulnig 77e19c5179 Fixup test 2020-12-09 12:31:53 +01:00
Niklas Mischkulnig e22b4711d4 Fix test/don't remove source.end 2020-12-09 12:31:53 +01:00
Niklas Mischkulnig 472de313d2 Test stringifing fromJSON result 2020-12-09 12:31:53 +01:00
Niklas Mischkulnig 781e433bdb Add missing test, linting, typings 2020-12-05 11:07:00 +01:00
Niklas Mischkulnig ec69e352d9 fromJSON and toJSON 2020-12-05 00:15:24 +01:00
Andrey Sitnik cba5e2db86 Fix AST after moving nodes in visitor 2020-12-02 22:12:05 -05:00
Andrey Sitnik 4174d3a839 Show error on unknown property in plugin 2020-12-02 20:42:12 -05:00
Andrey Sitnik fe4b7310a9 Update dependencies 2020-11-21 13:29:30 -05:00
Andrey Sitnik 02cd7604e5 Clean up tests 2020-11-19 10:50:47 -05:00
Ludovico Fischer 09ce718a38 fix(typescript): ensure LazyResult complies with Promise interface.
* Explicitly implement Promise<Result> in the type declaration
* Add mising [Symbol.toStringTag] property
* Add some type tests to ensure we can type `postcss(plugins).process` results
2020-11-18 21:05:32 +01:00
Andrey Sitnik 116732f0c1 Fix Windows 2020-11-08 07:31:38 -05:00
Andrey Sitnik 14a4240282 Try to fix Windows test 2020-11-08 07:25:05 -05:00
Andrey Sitnik 89d4c7ef41 Simplify test 2020-10-18 19:55:28 -04:00
Andrey Sitnik a99b67b5de Fix import order 2020-10-01 19:32:56 -04:00
Oscar OteroandGitHub 4357171f9d Code style changes to Deno port (#1432)
* code style changes to port to Deno

* import only the used functions from 'path'
2020-10-01 19:29:25 -04:00
Andrey Sitnik 3a3e3b0b59 Clean up tests 2020-09-25 16:04:25 -04:00
Andrey Sitnik 0d49399d5d Add Once and OnceExit events 2020-09-25 15:56:19 -04:00
Andrey Sitnik c20d10df29 Fix visiting parent on nested children changes 2020-09-23 18:47:27 -04:00
Andrey Sitnik 62bfcf38f1 Call RootExit on node changes and Exit only once 2020-09-23 17:36:34 -04:00
Andrey Sitnik 1022bbd1e3 Add pre-commit test for Processor#version bump 2020-09-21 20:48:19 -04:00
Andrey Sitnik 8f8bfe31d7 Fix child adding methods in Container 2020-09-20 12:47:05 -04:00
Andrey Sitnik 8cd8802817 Fix plugin packs support 2020-09-15 12:44:40 -04:00
Ayaz ZaynutdinovandAndrey Sitnik 080c6b3002 Add offset property to position 2020-09-08 22:18:32 -04:00
Andrey Sitnik fd5e72671e Add index source map support 2020-09-07 18:06:41 -04:00
Andrey Sitnik 1a35450b61 Fix Root revisiting 2020-09-05 18:14:05 -04:00
Andrey Sitnik bb37048c11 Clean up tests 2020-09-05 18:09:37 -04:00
Andrey Sitnik cbd104c943 Stop visiting on node removing 2020-09-05 01:33:36 -04:00
Andrey Sitnik 887783b405 Change plugin running code and mark moved nodes as dirty 2020-09-05 00:31:30 -04:00
Andrey Sitnik 34a75da74b Remove old test 2020-09-02 22:28:20 -04:00
Andrey Sitnik 15d0f4b7e4 Speed up async visitor API 2020-09-01 00:12:25 -04:00
Andrey Sitnik 6df84fce5e Fix two args walk methods in proxies 2020-08-24 21:24:28 -05:00
Andrey Sitnik 7a631dc459 Add helpers.postcss 2020-08-24 17:30:01 -05:00
Andrey Sitnik c6d2ab1604 Use RootExit instead of Exit 2020-08-24 00:50:22 -05:00