postcss 8.2.14 → 8.2.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of postcss might be problematic. Click here for more details.

package/lib/list.d.ts CHANGED
@@ -1,4 +1,19 @@
1
1
  export type List = {
2
+ /**
3
+ * Safely splits values.
4
+ *
5
+ * ```js
6
+ * Once (root, { list }) {
7
+ * list.split('1px calc(10% + 1px)', [' ', '\n', '\t']) //=> ['1px', 'calc(10% + 1px)']
8
+ * }
9
+ * ```
10
+ *
11
+ * @param string separated values.
12
+ * @param separators array of separators.
13
+ * @param last boolean indicator.
14
+ * @return Split values.
15
+ */
16
+ split(string: string, separators: string[], last: boolean): string[]
2
17
  /**
3
18
  * Safely splits space-separated values (such as those for `background`,
4
19
  * `border-radius`, and other shorthand properties).
package/lib/processor.js CHANGED
@@ -5,7 +5,7 @@ let Root = require('./root')
5
5
 
6
6
  class Processor {
7
7
  constructor(plugins = []) {
8
- this.version = '8.2.14'
8
+ this.version = '8.2.15'
9
9
  this.plugins = this.normalize(plugins)
10
10
  }
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postcss",
3
- "version": "8.2.14",
3
+ "version": "8.2.15",
4
4
  "description": "Tool for transforming styles with JS plugins",
5
5
  "engines": {
6
6
  "node": "^10 || ^12 || >=14"
@@ -62,7 +62,7 @@
62
62
  "repository": "postcss/postcss",
63
63
  "dependencies": {
64
64
  "colorette": "^1.2.2",
65
- "nanoid": "^3.1.22",
65
+ "nanoid": "^3.1.23",
66
66
  "source-map": "^0.6.1"
67
67
  },
68
68
  "browser": {