Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
builds: objData.builds.map(d => Build.fromJSON(d)),
groups: objData.groups.map(g => ({ ...g, artifactMatch: g.artifactMatch && deserializeRegExp(g.artifactMatch) }))