@ihyeon/error-to-test 0.1.16 → 0.2.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.ko.md CHANGED
@@ -51,7 +51,7 @@ error-to-test analyze --input morning.json --input afternoon.json --min-count 3
51
51
  error-to-test verify ./combined --input morning.json --input afternoon.json
52
52
  ```
53
53
 
54
- 최대 50개 파일, 합산 10 MiB·원본 10,000건까지 받습니다. 중복도 한도에 포함합니다. SDK JSON 내보내기·배열끼리, 수동 JSON끼리, 텍스트끼리처럼 같은 입력 형식끼리 합칩니다. 텍스트는 파일 하나가 보고서 한 건이며, `--format`과 메타데이터·필터는 모든 파일에 적용합니다. 표준 입력(`--input -`)은 `analyze`에서 단독으로 사용하고, `verify`에는 원본 파일을 지정하세요.
54
+ 최대 50개 파일, 합산 10 MiB·원본 10,000건까지 받습니다. 중복도 한도에 포함합니다. SDK JSON 내보내기·배열끼리, 수동 JSON끼리, 텍스트끼리, 같은 종류의 JSONL끼리처럼 같은 입력 형식끼리 합칩니다. 텍스트는 파일 하나가 보고서 한 건이며, `--format`과 메타데이터·필터는 모든 파일에 적용합니다. 표준 입력(`--input -`)은 `analyze`에서 단독으로 사용하고, `verify`에는 원본 파일을 지정하세요.
55
55
 
56
56
  파일과 표준 입력은 올바른 UTF-8이어야 합니다. 잘못된 바이트가 같은 대체 문자로 변환되어 원본 변경을 놓치지 않도록 해시 계산 전에 잘못된 인코딩을 거부합니다.
57
57
 
@@ -61,6 +61,30 @@ error-to-test verify ./combined --input morning.json --input afternoon.json
61
61
 
62
62
  API에서도 `analyzeErrors([firstContent, secondContent], options)`, `parseInput([firstContent, secondContent], options)`, `await analyzeWithBaseline([firstContent, secondContent], baselineDirectory, options)`으로 사용합니다. 원본 검증은 `await verifyBundle(directory, { input: [firstContent, secondContent] })`입니다. 원소 하나의 배열은 문자열 하나와 동일합니다. 프로필 보완·이전 분석 대비 선택에도 같은 입력 순서를 유지하고, 기존 맥락 질문과 검토 조건을 적용합니다.
63
63
 
64
+ 한 줄에 오류 한 건을 저장한 **JSONL 로그**는 `--format jsonl`로 분석합니다.
65
+
66
+ ```sh
67
+ error-to-test analyze --input errors.jsonl --format jsonl --out ./jsonl-analysis
68
+ error-to-test analyze --input morning.jsonl --input afternoon.jsonl --format jsonl --min-count 3 --out ./combined-jsonl
69
+ cat errors.jsonl | error-to-test analyze --input - --format jsonl --out ./piped-jsonl
70
+ error-to-test verify ./jsonl-analysis --input errors.jsonl
71
+ ```
72
+
73
+ 각 줄은 `schemaVersion: 1`인 완전한 SDK 이벤트 객체이거나, `schemaVersion` 없이 `message`를 필수로 가진 수동 오류 객체입니다. 한 파일과 함께 분석할 여러 파일에서 두 종류를 섞을 수 없습니다. 수동 오류는 다음처럼 작성합니다.
74
+
75
+ ```jsonl
76
+ {"id":"first","message":"TypeError: item is undefined","page":"/items","runtime":"browser"}
77
+ {"id":"second","message":"TypeError: item is undefined","page":"/items","runtime":"browser"}
78
+ ```
79
+
80
+ [JSONL 예제](examples/manual.jsonl)는 `node bin/error-to-test.mjs analyze --input examples/manual.jsonl --format jsonl --min-count 2`로 실행합니다. 반복된 묶음 하나를 TC 대상으로 선택하고 전체 두 묶음을 남깁니다. 기대 결과나 실행할 assertion은 추측하지 않습니다.
81
+
82
+ LF·CRLF, 빈 줄, 문자열 안의 이스케이프된 줄바꿈과 파일 맨 앞의 BOM 하나를 지원합니다. 각 유효 줄은 완전한 JSON 객체 하나여야 합니다. 배열·내보내기 래퍼(`events`/`errors`)·줄별 `partial` 정보·알 수 없는 스키마는 거부합니다. 잘못된 줄은 건너뛰지 않고 1부터 시작하는 입력 파일 번호·실제 줄 번호로 알리며, 오류 원문은 진단 메시지에 넣지 않습니다. JSONL 자동 감지는 하지 않으므로 `--format jsonl`을 지정하세요. 기존 `auto`·`json`·`text` 동작은 유지합니다.
83
+
84
+ 수집 범위는 `browser-error-jsonl`의 수집 이벤트 또는 `manual-jsonl`의 제출 보고서로 기록합니다. JSONL에는 내보내기의 부분 수집 정보가 없으므로 `partial: false`는 표시가 제공되지 않았다는 의미이며, 수집 완전성·보존 범위 미상 경고를 남깁니다. 완전한 수집을 뜻하지 않습니다. 기존 합산 한도·중복 제거·필터·원본 바이트 해시·프로필·검토 조건을 적용하고, 빈 줄은 건수에 넣지 않습니다.
85
+
86
+ API는 `analyzeErrors(content, { format: 'jsonl' })`이며 여러 파일의 문자열 배열도 지원합니다. 같은 건수 기준의 JSON·JSONL 번들은 `compare`와 `--baseline`으로 연결하며 형식 차이 경고를 유지합니다. 수집 이벤트와 제출 보고서는 비교할 수 없습니다. 기존 0.1.x 번들은 계속 읽을 수 있고, JSONL 번들은 0.2.0 이상이 필요합니다.
87
+
64
88
  두 분석 결과는 `compare`로 비교할 수 있습니다. 릴리스가 바뀐 뒤 어떤 오류 서명이 다시 관측됐는지 확인할 때 사용합니다.
65
89
 
66
90
  ```sh
package/README.md CHANGED
@@ -76,7 +76,7 @@ error-to-test analyze --input morning.json --input afternoon.json --min-count 3
76
76
  error-to-test verify ./combined --input morning.json --input afternoon.json
77
77
  ```
78
78
 
79
- Supply up to 50 files with a combined limit of 10 MiB and 10,000 raw records, including duplicates. Files must have the same input kind: SDK JSON exports/arrays together, manual JSON files together, or text reports together. Each text file is one report. `--format` and metadata/filter options apply to every file. Standard input (`--input -`) must be the only input to `analyze`; `verify` requires original files.
79
+ Supply up to 50 files with a combined limit of 10 MiB and 10,000 raw records, including duplicates. Files must have the same input kind: SDK JSON exports/arrays together, manual JSON files together, text reports together, or JSONL files of the same record kind together. Each text file is one report. `--format` and metadata/filter options apply to every file. Standard input (`--input -`) must be the only input to `analyze`; `verify` requires original files.
80
80
 
81
81
  Files and standard input must be valid UTF-8. Malformed encoding is rejected before hashing, so distinct invalid bytes cannot silently become the same replacement character.
82
82
 
@@ -86,6 +86,32 @@ For multiple files, `analysis.source.inputs` records each original SHA-256 and U
86
86
 
87
87
  The API accepts ordered content arrays: `analyzeErrors([firstContent, secondContent], options)`, `parseInput([firstContent, secondContent], options)`, and `await analyzeWithBaseline([firstContent, secondContent], baselineDirectory, options)`. Verify with `await verifyBundle(directory, { input: [firstContent, secondContent] })`. A one-element array is equivalent to its single string. Profile refinement and baseline selection work with the same ordered inputs and existing review gates.
88
88
 
89
+ ### Read JSONL logs
90
+
91
+ Use explicit `--format jsonl` for one error object per line:
92
+
93
+ ```sh
94
+ error-to-test analyze --input errors.jsonl --format jsonl --out ./jsonl-analysis
95
+ error-to-test analyze --input morning.jsonl --input afternoon.jsonl --format jsonl --min-count 3 --out ./combined-jsonl
96
+ cat errors.jsonl | error-to-test analyze --input - --format jsonl --out ./piped-jsonl
97
+ error-to-test verify ./jsonl-analysis --input errors.jsonl
98
+ ```
99
+
100
+ Each record is either a full Browser Error Log v1 event with `schemaVersion: 1`, or a plain manual error object with a required `message` and no `schemaVersion`. For manual reports:
101
+
102
+ ```jsonl
103
+ {"id":"first","message":"TypeError: item is undefined","page":"/items","runtime":"browser"}
104
+ {"id":"second","message":"TypeError: item is undefined","page":"/items","runtime":"browser"}
105
+ ```
106
+
107
+ See [examples/manual.jsonl](examples/manual.jsonl) for a complete sample: `node bin/error-to-test.mjs analyze --input examples/manual.jsonl --format jsonl --min-count 2` selects one recurring group and retains both groups for review. No expectation or runnable assertion is invented.
108
+
109
+ LF and CRLF, blank lines, escaped newlines in strings, and one leading file BOM are supported. Each nonblank physical line must contain one complete JSON object. Arrays, export envelopes (`events`/`errors`), record-level `partial` metadata, unknown schema versions, and mixed browser/manual records are rejected. Syntax and record errors identify the 1-based input file and physical line without echoing the record. `auto`, `json`, and `text` retain their existing behavior; JSONL is never auto-detected.
110
+
111
+ Coverage records `browser-error-jsonl` / `captured-events` or `manual-jsonl` / `submitted-reports`. JSONL carries no export coverage metadata: `partial: false` means no partial flag was supplied, and a warning keeps collection completeness and retention unknown. JSONL does not establish complete collection. The same combined byte/file/record limits, raw-record deduplication, filters, original-byte hashes, review gates, and profile rules apply. Empty lines are not records; malformed lines are never silently skipped.
112
+
113
+ Use `analyzeErrors(content, { format: 'jsonl' })` or ordered content arrays in the API. Comparison and `--baseline` can read JSON and JSONL bundles of matching count frequency, preserving the kind-difference warning. Captured events and submitted reports still cannot be compared. Existing 0.1.x bundles remain readable; JSONL bundles require 0.2.0 or newer.
114
+
89
115
  ### Compare two analyses
90
116
 
91
117
  Compare verified snapshots, including snapshots from different releases:
package/dist/analysis.js CHANGED
@@ -55,6 +55,9 @@ function analyze(content, options, baseline) {
55
55
  if (comparison.baseline.coverage.period) {
56
56
  warnings.push('Baseline date filtering applies only to reports with observed timestamps; undated reports may have been excluded.');
57
57
  }
58
+ if (comparison.baseline.coverage.kind === 'browser-error-jsonl' || comparison.baseline.coverage.kind === 'manual-jsonl') {
59
+ warnings.push('Baseline JSONL has no export coverage metadata; partial false means unmarked, and collection completeness and retention are unknown.');
60
+ }
58
61
  }
59
62
  const eligibleGroups = selectedGroups.filter(group => group.count >= minCount);
60
63
  if (eligibleGroups.length < selectedGroups.length)
package/dist/cli.js CHANGED
@@ -15,6 +15,7 @@ const help = `Error to Test — local error analysis and regression TC drafts
15
15
  error-to-test analyze --input errors-1.json --input errors-2.json --profile profile.json --out new-directory
16
16
  error-to-test analyze --input errors.json --baseline previous-bundle --out new-directory
17
17
  error-to-test analyze --input error.txt --format text --page /items --out new-directory
18
+ error-to-test analyze --input errors.jsonl --format jsonl --out new-directory
18
19
  error-to-test analyze --error "TypeError: item is undefined" --page /items --out new-directory
19
20
  cat error.txt | error-to-test analyze --input - --format text --out new-directory
20
21
  error-to-test verify new-directory [--input errors-1.json --input errors-2.json] [--profile profile.json]
@@ -24,9 +25,9 @@ const help = `Error to Test — local error analysis and regression TC drafts
24
25
  error-to-test compare BASELINE CURRENT [--format text|json] [--out comparison.md]
25
26
 
26
27
  Options:
27
- --input FILE SDK export, manual JSON, or plain error text; repeat for same-format files in order (analyze: sole - for stdin)
28
+ --input FILE SDK export, manual JSON, JSONL, or plain error text; repeat for same-format files in order (analyze: sole - for stdin)
28
29
  --error TEXT Submit a single error directly; remaining lines are its stack
29
- --format auto|json|text Analyze input format; auto rejects malformed JSON-looking input
30
+ --format auto|json|jsonl|text Analyze input format; JSONL requires explicit selection and one record per line; auto rejects malformed JSON-looking input
30
31
  --format text|json Results summary format (default: text Markdown)
31
32
  --format text|json Compare format (default: text Markdown)
32
33
  --profile FILE Confirmed app scenarios and explicit assertions (optional)
@@ -274,8 +275,8 @@ export async function main(args = process.argv.slice(2)) {
274
275
  if ((values.input === undefined) === (values.error === undefined))
275
276
  throw new Error('Provide exactly one of --input or --error.');
276
277
  const format = values.format ?? 'auto';
277
- if (format !== 'auto' && format !== 'json' && format !== 'text')
278
- throw new Error('--format must be auto, json, or text.');
278
+ if (format !== 'auto' && format !== 'json' && format !== 'jsonl' && format !== 'text')
279
+ throw new Error('--format must be auto, json, jsonl, or text.');
279
280
  const types = ['javascript', 'promise', 'react', 'console', 'http', 'network', 'manual'];
280
281
  if (values.type !== undefined && !types.includes(values.type))
281
282
  throw new Error('--type is not supported.');
@@ -4,7 +4,7 @@ import { hash, record, timestamp } from "./validation.js";
4
4
  const statuses = ['only-current', 'both', 'only-baseline'];
5
5
  const runtimes = ['browser', 'webview-ios', 'webview-android', 'unknown'];
6
6
  const types = ['javascript', 'promise', 'react', 'console', 'http', 'network', 'manual'];
7
- const kinds = ['browser-error-json', 'manual-json', 'manual-text'];
7
+ const kinds = ['browser-error-json', 'browser-error-jsonl', 'manual-json', 'manual-jsonl', 'manual-text'];
8
8
  const normalizedMax = 128 * 1024;
9
9
  const hex64 = /^[0-9a-f]{64}$/;
10
10
  const groupId = /^group-[0-9a-f]{16}$/;
@@ -24,7 +24,7 @@ function coverage(value, label) {
24
24
  if (!kinds.includes(raw.kind))
25
25
  throw new Error(`${label}.kind is unsupported.`);
26
26
  const kind = raw.kind;
27
- const frequency = kind === 'browser-error-json' ? 'captured-events' : 'submitted-reports';
27
+ const frequency = kind === 'browser-error-json' || kind === 'browser-error-jsonl' ? 'captured-events' : 'submitted-reports';
28
28
  if (raw.frequency !== frequency)
29
29
  throw new Error(`${label}.frequency is incompatible with kind.`);
30
30
  if (typeof raw.partial !== 'boolean' || raw.retention !== 'unknown')
package/dist/input.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { EventType, ParsedInput, Runtime } from './types.ts';
2
2
  export interface ParseInputOptions {
3
- format?: 'auto' | 'json' | 'text';
3
+ format?: 'auto' | 'json' | 'text' | 'jsonl';
4
4
  project?: string;
5
5
  environment?: string;
6
6
  release?: string;
package/dist/input.js CHANGED
@@ -151,7 +151,53 @@ function manualError(value, index, defaults) {
151
151
  ...(!alteredExpected && expectedSource !== undefined ? { expectedSource } : {}), steps: stepResult.steps,
152
152
  };
153
153
  }
154
- function decodeDocument(content, format) {
154
+ function jsonlError(fileIndex, lineNumber, reason) {
155
+ return new Error(`JSONL input file ${fileIndex}, line ${lineNumber}: ${reason}`);
156
+ }
157
+ function decodeJsonl(content, fileIndex, remainingRecords) {
158
+ // A single file-leading BOM affects parsing only; inputSource hashes the original content.
159
+ const lines = content.replace(/^\uFEFF/, '').split('\n');
160
+ const raw = [];
161
+ const lineNumbers = [];
162
+ let kind;
163
+ for (const [index, line] of lines.entries()) {
164
+ if (/^[ \t\r]*$/.test(line))
165
+ continue;
166
+ const lineNumber = index + 1;
167
+ if (raw.length >= remainingRecords)
168
+ throw new Error('Input exceeds 10000 records');
169
+ let item;
170
+ try {
171
+ item = JSON.parse(line);
172
+ }
173
+ catch {
174
+ throw jsonlError(fileIndex, lineNumber, 'Malformed JSON record.');
175
+ }
176
+ if (item === null || typeof item !== 'object' || Array.isArray(item)) {
177
+ throw jsonlError(fileIndex, lineNumber, 'Record must be a JSON object.');
178
+ }
179
+ const value = item;
180
+ if (Object.hasOwn(value, 'events') || Object.hasOwn(value, 'errors') || Object.hasOwn(value, 'partial')) {
181
+ throw jsonlError(fileIndex, lineNumber, 'Export envelopes and coverage metadata are unsupported.');
182
+ }
183
+ const lineKind = Object.hasOwn(value, 'schemaVersion') ? 'browser-error-jsonl' : 'manual-jsonl';
184
+ if (lineKind === 'browser-error-jsonl' && value.schemaVersion !== 1) {
185
+ throw jsonlError(fileIndex, lineNumber, 'Unsupported schemaVersion.');
186
+ }
187
+ if (kind !== undefined && kind !== lineKind) {
188
+ throw jsonlError(fileIndex, lineNumber, 'Mixed browser and manual records are unsupported.');
189
+ }
190
+ kind = lineKind;
191
+ raw.push(item);
192
+ lineNumbers.push(lineNumber);
193
+ }
194
+ if (kind === undefined)
195
+ throw new Error(`JSONL input file ${fileIndex}: Input has no records.`);
196
+ return { kind, partial: false, raw, lineNumbers };
197
+ }
198
+ function decodeDocument(content, format, fileIndex, remainingRecords) {
199
+ if (format === 'jsonl')
200
+ return decodeJsonl(content, fileIndex, remainingRecords);
155
201
  const trimmed = content.trimStart();
156
202
  const isJson = format === 'json' || (format === 'auto' && /^[\[{]/.test(trimmed) && !LOGGER_PREFIX.test(trimmed));
157
203
  if (isJson) {
@@ -206,30 +252,46 @@ function decodeDocument(content, format) {
206
252
  export function parseInput(content, options = {}) {
207
253
  const source = inputSource(content);
208
254
  const files = typeof content === 'string' ? [content] : content;
209
- if (files.some(file => !file.trim()))
255
+ const format = options.format ?? 'auto';
256
+ if (format !== 'jsonl' && files.some(file => !file.trim()))
210
257
  throw new Error('Input is empty');
211
258
  const from = options.from === undefined ? undefined : timestamp(options.from, 'from');
212
259
  const to = options.to === undefined ? undefined : timestamp(options.to, 'to');
213
260
  if (from && to && from > to)
214
261
  throw new Error('from must not exceed to');
215
- const format = options.format ?? 'auto';
216
- if (!['auto', 'json', 'text'].includes(format))
262
+ if (!['auto', 'json', 'text', 'jsonl'].includes(format))
217
263
  throw new Error('Invalid input format');
218
264
  let kind;
219
265
  let partial = false;
220
266
  const raw = [];
221
- for (const file of files) {
222
- const document = decodeDocument(file, format);
223
- if (kind !== undefined && document.kind !== kind)
267
+ const jsonlLocations = [];
268
+ for (const [fileIndex, file] of files.entries()) {
269
+ const document = decodeDocument(file, format, fileIndex + 1, MAX_RECORDS - raw.length);
270
+ if (kind !== undefined && document.kind !== kind) {
271
+ if (format === 'jsonl')
272
+ throw jsonlError(fileIndex + 1, document.lineNumbers[0], 'Input files must have the same source kind.');
224
273
  throw new Error('Input files must have the same source kind.');
274
+ }
225
275
  kind = document.kind;
226
276
  partial ||= document.partial;
227
277
  if (raw.length + document.raw.length > MAX_RECORDS)
228
278
  throw new Error('Input exceeds 10000 records');
229
279
  raw.push(...document.raw);
280
+ if (document.lineNumbers)
281
+ jsonlLocations.push(...document.lineNumbers.map(lineNumber => ({ fileIndex: fileIndex + 1, lineNumber })));
230
282
  }
231
- const observations = raw.map((item, index) => kind === 'browser-error-json'
232
- ? browserEvent(item, index) : manualError(item, index, options));
283
+ const browser = kind === 'browser-error-json' || kind === 'browser-error-jsonl';
284
+ const observations = raw.map((item, index) => {
285
+ if (format !== 'jsonl')
286
+ return browser ? browserEvent(item, index) : manualError(item, index, options);
287
+ try {
288
+ return browser ? browserEvent(item, index) : manualError(item, index, options);
289
+ }
290
+ catch {
291
+ const location = jsonlLocations[index];
292
+ throw jsonlError(location.fileIndex, location.lineNumber, browser ? 'Invalid browser record.' : 'Invalid manual record.');
293
+ }
294
+ });
233
295
  const inputCount = raw.length;
234
296
  const seen = new Map();
235
297
  const unique = [];
@@ -240,8 +302,13 @@ export function parseInput(content, options = {}) {
240
302
  const source = canonical(raw[index]);
241
303
  const previous = seen.get(key);
242
304
  if (previous !== undefined) {
243
- if (previous !== source)
305
+ if (previous !== source) {
306
+ if (format === 'jsonl') {
307
+ const location = jsonlLocations[index];
308
+ throw jsonlError(location.fileIndex, location.lineNumber, 'Conflicting duplicate ID.');
309
+ }
244
310
  throw new Error(`Conflicting duplicate ID: ${item.id}`);
311
+ }
245
312
  duplicates++;
246
313
  }
247
314
  else {
@@ -252,6 +319,8 @@ export function parseInput(content, options = {}) {
252
319
  const warnings = [];
253
320
  if (source.inputs)
254
321
  warnings.push(`Combined ${source.inputs.length} input files in supplied order; counts describe the supplied records across files, not global rates.`);
322
+ if (format === 'jsonl')
323
+ warnings.push('JSONL has no export coverage metadata; collection completeness and retention are unknown.');
255
324
  if (partial)
256
325
  warnings.push('Source export is partial; observed counts may be incomplete.');
257
326
  if (duplicates)
@@ -277,7 +346,7 @@ export function parseInput(content, options = {}) {
277
346
  warnings.push('Undated manual reports were excluded by date filters.');
278
347
  return {
279
348
  observations: selected,
280
- coverage: { kind: kind, frequency: kind === 'browser-error-json' ? 'captured-events' : 'submitted-reports',
349
+ coverage: { kind: kind, frequency: browser ? 'captured-events' : 'submitted-reports',
281
350
  partial, inputCount, duplicates, filtered, retention: 'unknown',
282
351
  ...(from || to ? { period: { ...(from ? { from } : {}), ...(to ? { to } : {}) } } : {}) },
283
352
  sha256: source.sha256, ...(source.inputs ? { inputs: source.inputs } : {}), warnings,
package/dist/types.d.ts CHANGED
@@ -66,7 +66,7 @@ export interface ErrorObservation {
66
66
  steps: WebStep[];
67
67
  }
68
68
  export interface SourceCoverage {
69
- kind: 'browser-error-json' | 'manual-json' | 'manual-text';
69
+ kind: 'browser-error-json' | 'manual-json' | 'manual-text' | 'browser-error-jsonl' | 'manual-jsonl';
70
70
  frequency: 'captured-events' | 'submitted-reports';
71
71
  partial: boolean;
72
72
  inputCount: number;
package/docs/releases.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  Package: `@ihyeon/error-to-test` · Repository: [hyeonse-swing/error-to-test](https://github.com/hyeonse-swing/error-to-test) · Workflow: `.github/workflows/ci.yml`.
4
4
 
5
+ ## 0.2.0
6
+
7
+ JSONL inputs add explicit `--format jsonl`, line-numbered validation, and browser/manual record kinds while preserving original bytes, multi-file provenance, comparison/baseline selection, and review gates. Existing 0.1.x bundles and formats remain supported. Integrations with exhaustive `SourceCoverage.kind` handling should include `browser-error-jsonl` and `manual-jsonl`.
8
+
9
+ This minor release sets both package manifests to `0.2.0` before verification. The workflow publishes that exact source commit without creating an additional patch bump.
10
+
5
11
  ## Automatic publication
6
12
 
7
13
  Pull requests and main pushes verify the package on Ubuntu and macOS. A verified main push then prepares an immutable release source:
@@ -0,0 +1,3 @@
1
+ {"id":"jsonl-1","project":"demo","environment":"test","release":"r1","runtime":"browser","type":"javascript","page":"/items","message":"TypeError: item is undefined","stack":" at render (/app.js:10:2)"}
2
+ {"id":"jsonl-2","project":"demo","environment":"test","release":"r1","runtime":"browser","type":"javascript","page":"/items","message":"TypeError: item is undefined","stack":" at render (/app.js:10:2)"}
3
+ {"id":"jsonl-3","project":"demo","environment":"test","release":"r1","runtime":"browser","type":"javascript","page":"/settings","message":"ReferenceError: settings is not defined","stack":" at showSettings (/settings.js:4:1)"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ihyeon/error-to-test",
3
- "version": "0.1.16",
3
+ "version": "0.2.0",
4
4
  "description": "Turn captured browser errors and pasted error reports into traceable regression test candidates.",
5
5
  "license": "MIT",
6
6
  "author": "Hyeonse Im",