@poveste/vendors 0.10.0 → 0.12.0

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.
@@ -178,23 +178,6 @@ declare abstract class Container_<Child extends Node = ChildNode> extends Node {
178
178
  */
179
179
  insertAfter(oldNode: Child | number, newNode: Container.NewChild): this
180
180
 
181
- /**
182
- * Traverses the container’s descendant nodes, calling callback
183
- * for each comment node.
184
- *
185
- * Like `Container#each`, this method is safe
186
- * to use if you are mutating arrays during iteration.
187
- *
188
- * ```js
189
- * root.walkComments(comment => {
190
- * comment.remove()
191
- * })
192
- * ```
193
- *
194
- * @param callback Iterator receives each node and index.
195
- * @return Returns `false` if iteration was broke.
196
- */
197
-
198
181
  /**
199
182
  * Insert new node before old node within the container.
200
183
  *
@@ -378,9 +361,22 @@ declare abstract class Container_<Child extends Node = ChildNode> extends Node {
378
361
  callback: (atRule: AtRule, index: number) => false | void
379
362
  ): false | undefined
380
363
 
381
- walkComments(
382
- callback: (comment: Comment, indexed: number) => false | void
383
- ): false | undefined
364
+ /**
365
+ * Traverses the container’s descendant nodes, calling callback
366
+ * for each comment node.
367
+ *
368
+ * Like `Container#each`, this method is safe
369
+ * to use if you are mutating arrays during iteration.
370
+ *
371
+ * ```js
372
+ * root.walkComments(comment => {
373
+ * comment.remove()
374
+ * })
375
+ * ```
376
+ *
377
+ * @param callback Iterator receives each node and index.
378
+ * @return Returns `false` if iteration was broke.
379
+ */
384
380
  walkComments(
385
381
  callback: (comment: Comment, indexed: number) => false | void
386
382
  ): false | undefined
@@ -1,5 +1,5 @@
1
1
  import { ContainerWithChildren } from './container.js'
2
- import Node from './node.js'
2
+ import Node, { NodeProps } from './node.js'
3
3
 
4
4
  declare namespace Declaration {
5
5
  export interface DeclarationRaws extends Record<string, unknown> {
@@ -28,7 +28,7 @@ declare namespace Declaration {
28
28
  }
29
29
  }
30
30
 
31
- export interface DeclarationProps {
31
+ export interface DeclarationProps extends NodeProps {
32
32
  /** Whether the declaration has an `!important` annotation. */
33
33
  important?: boolean
34
34
  /** Name of the declaration. */
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postcss",
3
- "version": "8.5.26",
3
+ "version": "8.5.28",
4
4
  "description": "Tool for transforming styles with JS plugins",
5
5
  "keywords": [
6
6
  "css",
@@ -78,7 +78,7 @@
78
78
  "./package.json": "./package.json"
79
79
  },
80
80
  "dependencies": {
81
- "nanoid": "^3.3.17",
81
+ "nanoid": "^3.3.18",
82
82
  "picocolors": "^1.1.1",
83
83
  "source-map-js": "^1.2.1"
84
84
  },
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@poveste/vendors",
3
3
  "type": "module",
4
- "version": "0.10.0",
4
+ "version": "0.12.0",
5
5
  "description": "Bundled vendors for Poveste",
6
6
  "author": {
7
- "name": "Sorin Gitlan"
7
+ "name": "Sorin Gitlan",
8
+ "url": "https://x.com/50rayn"
8
9
  },
9
10
  "license": "MIT",
10
11
  "homepage": "https://poveste.dev",