| import { describe, it, expect } from 'vitest'; | ||
| import { isTestFlaky, formatAsPercentage, formatInsightsMetricAsPercentage, enrichReportWithInsights, } from './run-insights'; | ||
| import { CTRF_REPORT_FORMAT, CTRF_SPEC_VERSION } from '../constants'; | ||
| import { CTRF_REPORT_FORMAT, CTRF_SPEC_VERSION } from '../constants.js'; | ||
| const createMockTest = (overrides = {}) => ({ | ||
@@ -5,0 +5,0 @@ name: 'test-name', |
@@ -1,2 +0,2 @@ | ||
| import { Report } from '../../../types/ctrf'; | ||
| import { Report } from '../../../types/ctrf.js'; | ||
| /** | ||
@@ -3,0 +3,0 @@ * Sort order options for timestamp-based sorting. |
| import { describe, it, expect } from 'vitest'; | ||
| import { validateReport, validateReportStrict, isValidCtrfReport, } from './validate-schema'; | ||
| import { validateReport, validateReportStrict, isValidCtrfReport, } from './validate-schema.js'; | ||
| describe('validate-schema', () => { | ||
@@ -4,0 +4,0 @@ // Valid CTRF report for testing |
+1
-1
| { | ||
| "name": "ctrf", | ||
| "version": "0.0.17", | ||
| "version": "0.0.18-next.0", | ||
| "description": "Common library for working with CTRF reports", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
209862
0.01%