@oscarpalmer/atoms 0.187.1 → 0.187.2

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/dist/index.mjs CHANGED
@@ -982,7 +982,7 @@ function join(array, delimiter) {
982
982
  const values = [];
983
983
  for (let index = 0; index < length; index += 1) {
984
984
  const item = getString(array[index]);
985
- if (item.trim().length > 0) values.push(item);
985
+ if (item.length > 0) values.push(item);
986
986
  }
987
987
  return values.join(typeof delimiter === "string" ? delimiter : "");
988
988
  }
@@ -52,7 +52,7 @@ function join(array, delimiter) {
52
52
  const values = [];
53
53
  for (let index = 0; index < length; index += 1) {
54
54
  const item = getString(array[index]);
55
- if (item.trim().length > 0) values.push(item);
55
+ if (item.length > 0) values.push(item);
56
56
  }
57
57
  return values.join(typeof delimiter === "string" ? delimiter : "");
58
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oscarpalmer/atoms",
3
- "version": "0.187.1",
3
+ "version": "0.187.2",
4
4
  "description": "Atomic utilities for making your JavaScript better.",
5
5
  "keywords": [
6
6
  "helper",
@@ -257,7 +257,7 @@
257
257
  "watch": "npx vite build --watch"
258
258
  },
259
259
  "devDependencies": {
260
- "@oxlint/plugins": "^1.66",
260
+ "@oxlint/plugins": "^1.67",
261
261
  "@types/node": "^25.9",
262
262
  "@vitest/coverage-istanbul": "^4.1",
263
263
  "eslint": "^10.4",
@@ -82,7 +82,7 @@ export function join(array: unknown[], delimiter?: string): string {
82
82
  for (let index = 0; index < length; index += 1) {
83
83
  const item = getString(array[index]);
84
84
 
85
- if (item.trim().length > 0) {
85
+ if (item.length > 0) {
86
86
  values.push(item);
87
87
  }
88
88
  }