• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

javascript-obfuscator / javascript-obfuscator / 19989547804

06 Dec 2025 02:03PM UTC coverage: 95.907% (-1.4%) from 97.319%
19989547804

Pull #1343

github

web-flow
Merge 28296ecce into 3bb9b1872
Pull Request #1343: Add Async PRO API

1770 of 1941 branches covered (91.19%)

Branch coverage included in aggregate %.

10 of 73 new or added lines in 4 files covered. (13.7%)

5681 of 5828 relevant lines covered (97.48%)

33532868.14 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

12.5
/src/pro-api/ProApiObfuscationResult.ts
1
import { TIdentifierNamesCache } from '../types/TIdentifierNamesCache';
2
import { IProObfuscationResult } from '../interfaces/pro-api/IProApiClient';
3

4
/**
5
 * Pro API Obfuscation Result
6
 * Simplified result type for Pro API responses
7
 */
8
export class ProApiObfuscationResult implements IProObfuscationResult {
6✔
9
    private readonly obfuscatedCode: string;
10
    private readonly sourceMapValue: string;
11

12
    public constructor(code: string, sourceMap: string = '') {
×
NEW
13
        this.obfuscatedCode = code;
×
NEW
14
        this.sourceMapValue = sourceMap;
×
15
    }
16

17
    public getObfuscatedCode(): string {
NEW
18
        return this.obfuscatedCode;
×
19
    }
20

21
    public getSourceMap(): string {
NEW
22
        return this.sourceMapValue;
×
23
    }
24

25
    public getIdentifierNamesCache(): TIdentifierNamesCache {
NEW
26
        return null;
×
27
    }
28

29
    public toString(): string {
NEW
30
        return this.obfuscatedCode;
×
31
    }
32
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc