@depup/chalk 6.0.0-depup.0 → 6.0.1-depup.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.
package/README.md CHANGED
@@ -13,8 +13,8 @@ npm install @depup/chalk
13
13
 
14
14
  | Field | Value |
15
15
  |-------|-------|
16
- | Original | [chalk](https://www.npmjs.com/package/chalk) @ 6.0.0 |
17
- | Processed | 2026-07-26 |
16
+ | Original | [chalk](https://www.npmjs.com/package/chalk) @ 6.0.1 |
17
+ | Processed | 2026-09-27 |
18
18
  | Smoke test | passed |
19
19
  | Deps updated | 0 |
20
20
 
package/changes.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "bumped": {},
3
- "timestamp": "2026-07-26T16:23:56.071Z",
3
+ "timestamp": "2026-09-27T08:11:06.765Z",
4
4
  "totalUpdated": 0
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depup/chalk",
3
- "version": "6.0.0-depup.0",
3
+ "version": "6.0.1-depup.0",
4
4
  "description": "Terminal string styling done right (with updated dependencies)",
5
5
  "license": "MIT",
6
6
  "repository": "chalk/chalk",
@@ -101,8 +101,8 @@
101
101
  "changes": {},
102
102
  "depsUpdated": 0,
103
103
  "originalPackage": "chalk",
104
- "originalVersion": "6.0.0",
105
- "processedAt": "2026-07-26T16:24:07.707Z",
104
+ "originalVersion": "6.0.1",
105
+ "processedAt": "2026-09-27T08:11:22.673Z",
106
106
  "smokeTest": "passed"
107
107
  }
108
108
  }
package/source/index.js CHANGED
@@ -178,7 +178,8 @@ const createBuilder = (self, _styler, _isEmpty) => {
178
178
  }
179
179
 
180
180
  if (arguments_.length === 2) {
181
- return applyStyle(builder, arguments_[0] + ' ' + arguments_[1]);
181
+ // The template literal matches `Array#join` coercion (`null` and `undefined` become empty, objects use `toString`) while being faster.
182
+ return applyStyle(builder, `${arguments_[0] ?? ''} ${arguments_[1] ?? ''}`);
182
183
  }
183
184
 
184
185
  return applyStyle(builder, arguments_.join(' '));