string-process-comma-separated 4.2.0 → 4.3.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/CHANGELOG.md +20 -2
- package/LICENSE +1 -1
- package/README.md +6 -26
- package/dist/string-process-comma-separated.esm.js +3 -3
- package/dist/string-process-comma-separated.umd.js +10 -2
- package/package.json +21 -22
- package/.eslintcache +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,11 +3,29 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## 4.
|
|
6
|
+
## 4.3.0 (2026-08-19)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- make validation diagnostics safe ([7b01074](https://github.com/codsen/codsen/commit/7b0107476f12734aeb8e82852ba980b187280110))
|
|
11
|
+
- repair representative perf workloads ([975e958](https://github.com/codsen/codsen/commit/975e958c0794ec256eba84e088b472483fb69e52))
|
|
12
|
+
- resolve review findings REV-004 through REV-007 ([b60e9ee](https://github.com/codsen/codsen/commit/b60e9eeb499af94685cfb87b4970fe025be1fc10))
|
|
13
|
+
- retire direct publish aliases ([f98e31e](https://github.com/codsen/codsen/commit/f98e31eb89bc185471225664e610b55f34fbf648))
|
|
14
|
+
- standardise comma processor errs ([405835e](https://github.com/codsen/codsen/commit/405835e731ead8ee97319dcc228167d41e757477))
|
|
7
15
|
|
|
8
16
|
### Features
|
|
9
17
|
|
|
10
|
-
-
|
|
18
|
+
- add codsen-glob and migrate glob consumers ([5595a2b](https://github.com/codsen/codsen/commit/5595a2b267eaa6cb60072d037aef00b7a28edd42))
|
|
19
|
+
- refresh the tooling and generate with the latest dependencies ([781f802](https://github.com/codsen/codsen/commit/781f802911066a82a4533b0e5a3fcbd742d0dd83))
|
|
20
|
+
|
|
21
|
+
### Performance Improvements
|
|
22
|
+
|
|
23
|
+
- stop shipping debug-only work in published bundles ([6fe5fee](https://github.com/codsen/codsen/commit/6fe5feebdf726b553ae3034690634166b461fca5))
|
|
24
|
+
|
|
25
|
+
### Reverts
|
|
26
|
+
|
|
27
|
+
- Revert "Merge pull request #128 from codsen/release/npm-32198404552-1" ([5baeeaa](https://github.com/codsen/codsen/commit/5baeeaaa677b86f1eaa6396cadf3aea32b06416e)), closes [#128](https://github.com/codsen/codsen/issues/128)
|
|
28
|
+
- Revert "Merge pull request #127 from codsen/release/npm-32194020886-1" ([5f1e94d](https://github.com/codsen/codsen/commit/5f1e94deef910ce735266b16aeee08a76de7a862)), closes [#127](https://github.com/codsen/codsen/issues/127)
|
|
11
29
|
|
|
12
30
|
## 4.1.0 (2023-05-13)
|
|
13
31
|
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright © 2010-
|
|
3
|
+
Copyright © 2010-2026 Roy Revelt and other contributors
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
6
|
a copy of this software and associated documentation files (the
|
package/README.md
CHANGED
|
@@ -32,46 +32,26 @@ npm i string-process-comma-separated
|
|
|
32
32
|
## Quick Take
|
|
33
33
|
|
|
34
34
|
```js
|
|
35
|
-
import { strict as assert } from "assert";
|
|
35
|
+
import { strict as assert } from "node:assert";
|
|
36
36
|
|
|
37
37
|
import { processCommaSep } from "string-process-comma-separated";
|
|
38
38
|
|
|
39
39
|
const gatheredChunks = [];
|
|
40
|
-
const gatheredErrors = [];
|
|
41
|
-
const rawnbsp = "\u00a0";
|
|
42
40
|
|
|
43
41
|
// it's a callback-interface:
|
|
44
|
-
processCommaSep(
|
|
45
|
-
from: 16, // <- beginning of the attribute's value
|
|
46
|
-
to: 35, // <- ending of the attribute's value
|
|
47
|
-
separator: ",",
|
|
42
|
+
processCommaSep("alpha,beta", {
|
|
48
43
|
cb: (idxFrom, idxTo) => {
|
|
49
44
|
gatheredChunks.push([idxFrom, idxTo]);
|
|
50
45
|
},
|
|
51
|
-
errCb: (ranges, message) => {
|
|
52
|
-
gatheredErrors.push({ ranges, message });
|
|
53
|
-
},
|
|
54
46
|
});
|
|
55
47
|
|
|
56
48
|
assert.deepEqual(gatheredChunks, [
|
|
57
|
-
[
|
|
58
|
-
[
|
|
59
|
-
]);
|
|
60
|
-
|
|
61
|
-
assert.deepEqual(gatheredErrors, [
|
|
62
|
-
{ ranges: [[16, 17]], message: "Remove whitespace." },
|
|
63
|
-
{ ranges: [[17, 18]], message: "Remove separator." },
|
|
64
|
-
{ ranges: [[18, 19]], message: "Remove separator." },
|
|
65
|
-
{ ranges: [[19, 20]], message: "Remove whitespace." },
|
|
66
|
-
{ ranges: [[23, 24]], message: "Remove whitespace." },
|
|
67
|
-
{ ranges: [[25, 27]], message: "Remove whitespace." },
|
|
68
|
-
{ ranges: [[30, 31]], message: "Remove whitespace." },
|
|
69
|
-
{ ranges: [[32, 34]], message: "Remove whitespace." },
|
|
70
|
-
{ ranges: [[31, 32]], message: "Remove separator." },
|
|
71
|
-
{ ranges: [[34, 35]], message: "Remove separator." },
|
|
49
|
+
[0, 5],
|
|
50
|
+
[6, 10],
|
|
72
51
|
]);
|
|
73
52
|
```
|
|
74
53
|
|
|
54
|
+
|
|
75
55
|
## Documentation
|
|
76
56
|
|
|
77
57
|
Please [visit codsen.com](https://codsen.com/os/string-process-comma-separated/) for a full description of the API. If you’re looking for the **Changelog**, it’s [here](https://github.com/codsen/codsen/blob/main/packages/string-process-comma-separated/CHANGELOG.md).
|
|
@@ -84,6 +64,6 @@ To report bugs or request features or assistance, [raise an issue](https://githu
|
|
|
84
64
|
|
|
85
65
|
MIT License
|
|
86
66
|
|
|
87
|
-
Copyright © 2010-
|
|
67
|
+
Copyright © 2010-2026 Roy Revelt and other contributors
|
|
88
68
|
|
|
89
69
|
<p align="center"><img src="https://codsen.com/images/png-codsen-ok.png" width="98" alt="ok" align="center"> <img src="https://codsen.com/images/png-codsen-1.png" width="148" alt="codsen" align="center"> <img src="https://codsen.com/images/png-codsen-star-small.png" width="32" alt="star" align="center"></p>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @name string-process-comma-separated
|
|
3
3
|
* @fileoverview Extracts chunks from possibly comma or whatever-separated string
|
|
4
|
-
* @version 4.
|
|
4
|
+
* @version 4.3.0
|
|
5
5
|
* @author Roy Revelt
|
|
6
6
|
* @license MIT
|
|
7
7
|
* {@link https://codsen.com/os/string-process-comma-separated/}
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
var $="4.
|
|
11
|
-
${
|
|
10
|
+
import{formatDiagnosticValue as d}from"codsen-utils";var $="4.3.0";var y=$;function E(s,i){if(typeof s!="string")throw new Error(`string-process-comma-separated/processCommaSep(): [THROW_ID_01] input must be string! It was given as ${typeof s}, equal to:
|
|
11
|
+
${d(s,4)}`);if(!s.length||!i||!i.cb&&!i.errCb)return;let e={...{from:0,to:s.length,offset:0,leadingWhitespaceOK:!1,trailingWhitespaceOK:!1,oneSpaceAfterCommaOK:!1,innerWhitespaceAllowed:!1,separator:",",cb:null,errCb:null},...i};Number.isInteger(i.from)||(e.from=0),Number.isInteger(i.to)||(e.to=s.length),Number.isInteger(i.offset)||(e.offset=0);let a=null,o=null,p=!1,l=[],f=null,r=!0;for(let t=e.from;t<e.to;t++){if(s[t].trim()&&s[t]!==e.separator&&(f=t),a===null&&s[t].trim()&&(!e.separator||s[t]!==e.separator)&&(p||(p=!0),l.length&&(l.length>1&&l.forEach((n,m)=>{m&&e.errCb&&e.errCb([[n+e.offset,n+1+e.offset]],"Remove separator.",r)}),l=[]),a=t),Number.isInteger(a)&&(t>a&&e.separator&&s[t]===e.separator||t+1===e.to)&&(typeof e.cb=="function"&&e.cb(a+e.offset,(t+1===e.to&&s[t]!==e.separator&&s[t].trim()?t+1:f+1)+e.offset),a=null),!s[t].trim()&&o===null&&(o=t),o!==null&&(s[t].trim()||t+1===e.to)){if(o===e.from)!e.leadingWhitespaceOK&&typeof e.errCb=="function"&&e.errCb([[o+e.offset,(t+1===e.to?t+1:t)+e.offset]],"Remove whitespace.",r);else if(!s[t].trim()&&t+1===e.to)!e.trailingWhitespaceOK&&typeof e.errCb=="function"&&e.errCb([[o+e.offset,t+1+e.offset]],"Remove whitespace.",r);else if((!e.oneSpaceAfterCommaOK||!(s[t].trim()&&t>e.from+1&&s[t-1]===" "&&s[t-2]===","))&&(!e.innerWhitespaceAllowed||!(p&&s[o-1]&&s[t].trim()&&s[t]!==e.separator&&s[o-1]!==e.separator))){let n=o,m=t;t+1===e.to&&s[t]!==e.separator&&!s[t].trim()&&(m+=1);let c="";e.oneSpaceAfterCommaOK&&(s[o]===" "&&s[o-1]===e.separator?n+=1:s[o]!==" "&&(c=" "));let u="Remove whitespace.";!e.innerWhitespaceAllowed&&p&&s[o-1]&&s[t].trim()&&s[t]!==e.separator&&s[o-1]!==e.separator&&(r=!1,u="Bad whitespace."),c.length&&e.errCb?e.errCb([[n+e.offset,m+e.offset,c]],u,r):e.errCb&&e.errCb([[n+e.offset,m+e.offset]],u,r),r=!0}o=null}s[t]===e.separator&&(!p&&e.errCb?e.errCb([[t+e.offset,t+1+e.offset]],"Remove separator.",r):l.push(t)),t+1===e.to&&e.errCb&&l.forEach(n=>{e.errCb([[n+e.offset,n+1+e.offset]],"Remove separator.",r)})}}export{E as processCommaSep,y as version};
|
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @name string-process-comma-separated
|
|
3
3
|
* @fileoverview Extracts chunks from possibly comma or whatever-separated string
|
|
4
|
-
* @version 4.
|
|
4
|
+
* @version 4.3.0
|
|
5
5
|
* @author Roy Revelt
|
|
6
6
|
* @license MIT
|
|
7
7
|
* {@link https://codsen.com/os/string-process-comma-separated/}
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
"use strict";var stringProcessCommaSeparated=(()=>{var
|
|
10
|
+
"use strict";var stringProcessCommaSeparated=(()=>{var A=Object.defineProperty;var W=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames,S=Object.getOwnPropertySymbols;var x=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var w=(t,n,r)=>n in t?A(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r,C=(t,n)=>{for(var r in n||(n={}))x.call(n,r)&&w(t,r,n[r]);if(S)for(var r of S(n))j.call(n,r)&&w(t,r,n[r]);return t};var V=(t,n)=>{for(var r in n)A(t,r,{get:n[r],enumerable:!0})},R=(t,n,r,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of I(n))!x.call(t,a)&&a!==r&&A(t,a,{get:()=>n[a],enumerable:!(e=W(n,a))||e.enumerable});return t};var M=t=>R(A({},"__esModule",{value:!0}),t);var J={};V(J,{processCommaSep:()=>U,version:()=>F});function T(){let t=[],n=0,r=!1;return{append(e){return r?!1:n+e.length>1999?(t.push("\u2026"),n+=1,r=!0,!1):(t.push(e),n+=e.length,!0)},result(){return t.join("")},stopped(){return r}}}function B(t){return"\\u".concat(t.toString(16).padStart(4,"0"))}function O(t,n){if(t.append('"')){for(let r=0;r<n.length&&!t.stopped();r+=1){let e=n.charCodeAt(r);e===34?t.append('\\"'):e===92?t.append("\\\\"):e===8?t.append("\\b"):e===9?t.append("\\t"):e===10?t.append("\\n"):e===12?t.append("\\f"):e===13?t.append("\\r"):e<32||e===8232||e===8233||e>=55296&&e<=57343?t.append(B(e)):t.append(n[r])}t.append('"')}}function P(t){return t.get&&t.set?"[Getter/Setter]":t.get?"[Getter]":t.set?"[Setter]":"[Accessor]"}function k(t,n){t.append("Symbol(");let r=String(n);r.length>8&&O(t,r.slice(7,-1)),t.append(")")}function D(t,n){typeof n=="symbol"?k(t,n):O(t,String(n))}function E(t,n=0){let r=T(),e=n===4?4:0,a=new WeakSet,l=0;function g(i){e&&r.append(" ".repeat(i*e))}function p(i,o){i&&r.append(","),e&&(r.append("\n"),g(o+1))}function v(i,o,f){e&&o&&(r.append("\n"),g(f)),r.append(i)}function u(i,o){Object.prototype.hasOwnProperty.call(i,"value")?$(i.value,o):r.append(P(i))}function s(i,o){let f;try{f=Reflect.getOwnPropertyDescriptor(i,"length")}catch(d){r.append("[Uninspectable]");return}let c=f==null?void 0:f.value;if(!Number.isSafeInteger(c)||c<0){r.append("[Uninspectable]");return}r.append("[");let m=!1;for(let d=0;d<c&&!r.stopped();d+=1){if(p(m,o),m=!0,l>=50){r.append("[MaxEntries]");break}l+=1;let y;try{y=Reflect.getOwnPropertyDescriptor(i,String(d))}catch(K){r.append("[Uninspectable]");continue}y!=null&&y.enumerable?u(y,o+1):r.append("[Empty]")}v("]",m,o)}function h(i,o){let f;try{f=Reflect.ownKeys(i)}catch(m){r.append("[Uninspectable]");return}r.append("{");let c=!1;for(let m of f){if(r.stopped())break;if(l>=50){p(c,o),c=!0,O(r,"\u2026"),r.append(e?": ":":"),r.append("[MaxEntries]");break}l+=1;let d;try{d=Reflect.getOwnPropertyDescriptor(i,m)}catch(y){p(c,o),c=!0,D(r,m),r.append(e?": ":":"),r.append("[Uninspectable]");continue}d!=null&&d.enumerable&&(p(c,o),c=!0,D(r,m),r.append(e?": ":":"),u(d,o+1))}v("}",c,o)}function b(i,o){if(a.has(i)){r.append("[Circular]");return}if(o>=5){r.append("[MaxDepth]");return}let f;try{f=Array.isArray(i)}catch(c){r.append("[Uninspectable]");return}a.add(i);try{f?s(i,o):h(i,o)}finally{a.delete(i)}}function $(i,o){i===null?r.append("null"):typeof i=="string"?O(r,i):typeof i=="number"?r.append(Object.is(i,-0)?"-0":String(i)):typeof i=="boolean"?r.append(i?"true":"false"):typeof i>"u"?r.append("undefined"):typeof i=="bigint"?r.append("".concat(i,"n")):typeof i=="symbol"?k(r,i):typeof i=="function"?r.append("[Function]"):b(i,o)}try{return $(t,0),r.result()}catch(i){return"[Uninspectable]"}}var H=new Set([..."\u060B$\u20BC\u17DB\xA5\u20A1\u20B1\xA3\u20AC\xA2\u20B9\uFDFC\u20AA\u20A9\u20AD\u20A8\u20AE\u20A6\u20BD\u20AB\u0E3F\u20A9\u20BA\u20B4","$U","$b","B/.","BZ$","Br","Bs","C$","CHF","Ft","Gs","J$","KM","K\u010D","L","MT","NT$","P","Q","R","R$","RD$","RM","Rp","S","S/.","TT$","Z$","kn","kr","lei","z\u0142","\u0192","\u0414\u0438\u043D.","\u0434\u0435\u043D","\u043B\u0432","\u062F.\u0625","Lek"]);var N="4.3.0";var F=N;function U(t,n){if(typeof t!="string")throw new Error("string-process-comma-separated/processCommaSep(): [THROW_ID_01] input must be string! It was given as ".concat(typeof t,", equal to:\n").concat(E(t,4)));if(!t.length||!n||!n.cb&&!n.errCb)return;let r={from:0,to:t.length,offset:0,leadingWhitespaceOK:!1,trailingWhitespaceOK:!1,oneSpaceAfterCommaOK:!1,innerWhitespaceAllowed:!1,separator:",",cb:null,errCb:null},e=C(C({},r),n);Number.isInteger(n.from)||(e.from=0),Number.isInteger(n.to)||(e.to=t.length),Number.isInteger(n.offset)||(e.offset=0);let a=null,l=null,g=!1,p=[],v=null,u=!0;for(let s=e.from;s<e.to;s++){if(t[s].trim()&&t[s]!==e.separator&&(v=s),a===null&&t[s].trim()&&(!e.separator||t[s]!==e.separator)&&(g||(g=!0),p.length&&(p.length>1&&p.forEach((h,b)=>{b&&e.errCb&&e.errCb([[h+e.offset,h+1+e.offset]],"Remove separator.",u)}),p=[]),a=s),Number.isInteger(a)&&(s>a&&e.separator&&t[s]===e.separator||s+1===e.to)&&(typeof e.cb=="function"&&e.cb(a+e.offset,(s+1===e.to&&t[s]!==e.separator&&t[s].trim()?s+1:v+1)+e.offset),a=null),!t[s].trim()&&l===null&&(l=s),l!==null&&(t[s].trim()||s+1===e.to)){if(l===e.from)!e.leadingWhitespaceOK&&typeof e.errCb=="function"&&e.errCb([[l+e.offset,(s+1===e.to?s+1:s)+e.offset]],"Remove whitespace.",u);else if(!t[s].trim()&&s+1===e.to)!e.trailingWhitespaceOK&&typeof e.errCb=="function"&&e.errCb([[l+e.offset,s+1+e.offset]],"Remove whitespace.",u);else if((!e.oneSpaceAfterCommaOK||!(t[s].trim()&&s>e.from+1&&t[s-1]===" "&&t[s-2]===","))&&(!e.innerWhitespaceAllowed||!(g&&t[l-1]&&t[s].trim()&&t[s]!==e.separator&&t[l-1]!==e.separator))){let h=l,b=s;s+1===e.to&&t[s]!==e.separator&&!t[s].trim()&&(b+=1);let $="";e.oneSpaceAfterCommaOK&&(t[l]===" "&&t[l-1]===e.separator?h+=1:t[l]!==" "&&($=" "));let i="Remove whitespace.";!e.innerWhitespaceAllowed&&g&&t[l-1]&&t[s].trim()&&t[s]!==e.separator&&t[l-1]!==e.separator&&(u=!1,i="Bad whitespace."),$.length&&e.errCb?e.errCb([[h+e.offset,b+e.offset,$]],i,u):e.errCb&&e.errCb([[h+e.offset,b+e.offset]],i,u),u=!0}l=null}t[s]===e.separator&&(!g&&e.errCb?e.errCb([[s+e.offset,s+1+e.offset]],"Remove separator.",u):p.push(s)),s+1===e.to&&e.errCb&&p.forEach(h=>{e.errCb([[h+e.offset,h+1+e.offset]],"Remove separator.",u)})}}return M(J);})();
|
|
11
|
+
/**
|
|
12
|
+
* @name codsen-utils
|
|
13
|
+
* @fileoverview Various utility functions
|
|
14
|
+
* @version 1.8.0
|
|
15
|
+
* @author Roy Revelt
|
|
16
|
+
* @license MIT
|
|
17
|
+
* {@link https://codsen.com/os/codsen-utils/}
|
|
18
|
+
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "string-process-comma-separated",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"description": "Extracts chunks from possibly comma or whatever-separated string",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"characters",
|
|
@@ -34,43 +34,42 @@
|
|
|
34
34
|
},
|
|
35
35
|
"types": "types/index.d.ts",
|
|
36
36
|
"scripts": {
|
|
37
|
-
"build": "node
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"dev": "DEV=true node '../../ops/scripts/esbuild.js' && npm run dts",
|
|
37
|
+
"build": "node ../../ops/scripts/esbuild.js && npm run dts",
|
|
38
|
+
"coverage": "c8 uvu test",
|
|
39
|
+
"dev": "node ../../ops/scripts/esbuild.js --dev && npm run dts",
|
|
41
40
|
"devtest": "c8 npm run unit && npm run examples && npm run lint",
|
|
42
|
-
"dts": "rollup -c &&
|
|
41
|
+
"dts": "rollup -c && biome format --write --config-path=../../biome.json --vcs-enabled=false --use-editorconfig=false types/index.d.ts",
|
|
43
42
|
"examples": "node '../../ops/scripts/run-examples.js'",
|
|
44
|
-
"lect": "node '../../ops/lect/lect.js'
|
|
45
|
-
"
|
|
46
|
-
"lint": "
|
|
43
|
+
"lect": "node '../../ops/lect/lect.js'",
|
|
44
|
+
"lect:check": "node '../../ops/lect/lect.js' --check",
|
|
45
|
+
"lint": "biome lint --error-on-warnings . && npm run typecheck",
|
|
46
|
+
"lint:fix": "biome lint --write --error-on-warnings . && npm run typecheck",
|
|
47
47
|
"perf": "node perf/check.js",
|
|
48
48
|
"prep": "echo 'ready'",
|
|
49
|
-
"prettier": "
|
|
50
|
-
"prettier:format": "
|
|
51
|
-
"pretest": "npm run lect && npm run build",
|
|
49
|
+
"prettier": "biome format",
|
|
50
|
+
"prettier:format": "biome format --write .",
|
|
51
|
+
"pretest": "npm run lect:check && npm run build",
|
|
52
52
|
"test": "npm run devtest",
|
|
53
|
+
"typecheck": "tsc --noEmit --pretty false --project tsconfig.json",
|
|
53
54
|
"unit": "uvu test"
|
|
54
55
|
},
|
|
55
|
-
"engines": {
|
|
56
|
-
"node": ">=14.18.0"
|
|
57
|
-
},
|
|
58
56
|
"c8": {
|
|
57
|
+
"all": true,
|
|
59
58
|
"check-coverage": true,
|
|
60
|
-
"exclude": [
|
|
61
|
-
|
|
62
|
-
],
|
|
59
|
+
"exclude": ["**/test/**/*.*"],
|
|
60
|
+
"include": ["dist/*.esm.js"],
|
|
63
61
|
"lines": 100
|
|
64
62
|
},
|
|
65
63
|
"lect": {
|
|
66
64
|
"licence": {
|
|
67
|
-
"extras": [
|
|
68
|
-
""
|
|
69
|
-
]
|
|
65
|
+
"extras": [""]
|
|
70
66
|
}
|
|
71
67
|
},
|
|
72
68
|
"dependencies": {
|
|
73
|
-
"codsen-utils": "^1.
|
|
69
|
+
"codsen-utils": "^1.8.0"
|
|
70
|
+
},
|
|
71
|
+
"engines": {
|
|
72
|
+
"node": ">=18.20.8"
|
|
74
73
|
},
|
|
75
74
|
"publishConfig": {
|
|
76
75
|
"registry": "https://registry.npmjs.org/"
|
package/.eslintcache
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"/home/runner/work/codsen/codsen/packages/string-process-comma-separated/examples/_quickTake.js":"1","/home/runner/work/codsen/codsen/packages/string-process-comma-separated/perf/check.js":"2","/home/runner/work/codsen/codsen/packages/string-process-comma-separated/rollup.config.js":"3","/home/runner/work/codsen/codsen/packages/string-process-comma-separated/src/main.ts":"4","/home/runner/work/codsen/codsen/packages/string-process-comma-separated/test/test.js":"5"},{"size":1275,"mtime":1760566739152,"results":"6","hashOfConfig":"7"},{"size":851,"mtime":1760566739152,"results":"8","hashOfConfig":"9"},{"size":373,"mtime":1760566739152,"results":"10","hashOfConfig":"7"},{"size":15672,"mtime":1760566739152,"results":"11","hashOfConfig":"9"},{"size":15098,"mtime":1760566739152,"results":"12","hashOfConfig":"13"},{"filePath":"14","messages":"15","suppressedMessages":"16","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1nlhngw",{"filePath":"17","messages":"18","suppressedMessages":"19","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1xjytlu",{"filePath":"20","messages":"21","suppressedMessages":"22","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"23","messages":"24","suppressedMessages":"25","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"26","messages":"27","suppressedMessages":"28","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"nrihsz","/home/runner/work/codsen/codsen/packages/string-process-comma-separated/examples/_quickTake.js",[],[],"/home/runner/work/codsen/codsen/packages/string-process-comma-separated/perf/check.js",[],[],"/home/runner/work/codsen/codsen/packages/string-process-comma-separated/rollup.config.js",[],[],"/home/runner/work/codsen/codsen/packages/string-process-comma-separated/src/main.ts",[],[],"/home/runner/work/codsen/codsen/packages/string-process-comma-separated/test/test.js",[],["29","30","31","32"],{"ruleId":"33","severity":2,"message":"34","line":5,"column":17,"nodeType":null,"messageId":"35","endLine":5,"endColumn":19,"suppressions":"36"},{"ruleId":"33","severity":2,"message":"37","line":5,"column":21,"nodeType":null,"messageId":"35","endLine":5,"endColumn":23,"suppressions":"38"},{"ruleId":"33","severity":2,"message":"39","line":5,"column":33,"nodeType":null,"messageId":"35","endLine":5,"endColumn":37,"suppressions":"40"},{"ruleId":"33","severity":2,"message":"41","line":5,"column":44,"nodeType":null,"messageId":"35","endLine":5,"endColumn":49,"suppressions":"42"},"@typescript-eslint/no-unused-vars","'is' is defined but never used.","unusedVar",["43"],"'ok' is defined but never used.",["44"],"'type' is defined but never used.",["45"],"'match' is defined but never used.",["46"],{"kind":"47","justification":"48"},{"kind":"47","justification":"48"},{"kind":"47","justification":"48"},{"kind":"47","justification":"48"},"directive",""]
|