@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 +1 -1
- package/dist/internal/string.mjs +1 -1
- package/package.json +2 -2
- package/src/internal/string.ts +1 -1
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.
|
|
985
|
+
if (item.length > 0) values.push(item);
|
|
986
986
|
}
|
|
987
987
|
return values.join(typeof delimiter === "string" ? delimiter : "");
|
|
988
988
|
}
|
package/dist/internal/string.mjs
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
260
|
+
"@oxlint/plugins": "^1.67",
|
|
261
261
|
"@types/node": "^25.9",
|
|
262
262
|
"@vitest/coverage-istanbul": "^4.1",
|
|
263
263
|
"eslint": "^10.4",
|
package/src/internal/string.ts
CHANGED