foxts 3.7.0 → 3.8.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/dist/cjs/string-join.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:!0})
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.stringJoin=function(e,t=",",r=!1){let n;if(0===e.length)return"";r&&(e=Array.from(new Set(e)));let o=e.length,l="";for(let r=0;r<o-1;r++)(n=e[r])&&(l+=n,l+=t);return(n=e[o-1])&&(l+=n),l};
|
package/dist/es/string-join.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function t(e,r=",",n=!1){let l;if(0===e.length)return"";n&&(e=Array.from(new Set(e)));let o=e.length,f="";for(let t=0;t<o-1;t++)(l=e[t])&&(f+=l,f+=r);return(l=e[o-1])&&(f+=l),f}export{t as stringJoin};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "foxts",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"description": "Opinionated collection of common TypeScript utils by @SukkaW",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/SukkaW/foxts"
|
|
@@ -358,28 +358,28 @@
|
|
|
358
358
|
"@monyone/aho-corasick": "^1.0.4",
|
|
359
359
|
"@package-json/types": "^0.0.11",
|
|
360
360
|
"@swc-node/register": "^1.10.10",
|
|
361
|
-
"@swc/core": "^1.12.
|
|
361
|
+
"@swc/core": "^1.12.11",
|
|
362
362
|
"@types/escape-regexp": "^0.0.3",
|
|
363
363
|
"@types/lodash.escaperegexp": "^4.1.9",
|
|
364
364
|
"@types/mocha": "^10.0.10",
|
|
365
|
-
"@types/node": "^22.
|
|
365
|
+
"@types/node": "^22.16.2",
|
|
366
366
|
"@types/regex-escape": "^3.4.1",
|
|
367
367
|
"@types/sinon": "^17.0.4",
|
|
368
368
|
"bumpp": "^10.2.0",
|
|
369
|
-
"bunchee": "^6.5.
|
|
369
|
+
"bunchee": "^6.5.4",
|
|
370
370
|
"devalue": "^5.1.1",
|
|
371
371
|
"escape-regexp": "^0.0.1",
|
|
372
|
-
"escape-string-regexp": "4",
|
|
373
|
-
"eslint": "^9.
|
|
372
|
+
"escape-string-regexp": "^4.0.0",
|
|
373
|
+
"eslint": "^9.30.1",
|
|
374
374
|
"eslint-config-sukka": "^6.22.1",
|
|
375
375
|
"eslint-formatter-sukka": "^6.22.1",
|
|
376
|
-
"expect": "^30.0.
|
|
376
|
+
"expect": "^30.0.4",
|
|
377
377
|
"fastscan": "^1.0.6",
|
|
378
378
|
"fdir": "^6.4.6",
|
|
379
379
|
"hexo-util": "^3.3.0",
|
|
380
380
|
"lodash.escaperegexp": "^4.1.2",
|
|
381
381
|
"mitata": "^1.0.34",
|
|
382
|
-
"mocha": "^11.7.
|
|
382
|
+
"mocha": "^11.7.1",
|
|
383
383
|
"modern-ahocorasick": "^2.0.4",
|
|
384
384
|
"nyc": "^17.1.0",
|
|
385
385
|
"regex-escape": "^3.4.11",
|