
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
@visual-regression-tracker/sdk-js
Advanced tools
npm install @visual-regression-tracker/sdk-js
import { VisualRegressionTracker, Config } from '@visual-regression-tracker/sdk-js'
const config: Config = {
// Fill with your data
apiUrl: "http://localhost:4200",
// Fill with your data
branchName: "develop",
// Fill with your data
projectId: "76f0c443-9811-4f4f-b1c2-7c01c5775d9a",
// Fill with your data
token: "F5Z2H0H2SNMXZVHX0EA4YQM1MGDD",
};
const vrt = new VisualRegressionTracker(config);
await vrt.track({
// Name to be displayed
// Required
name: "Image name",
// Base64 encoded string
// Required
imageBase64: image,
// Allowed mismatch tollerance in %
// Optional
// Default: 1%
diffTollerancePercent: 0,
// Optional
os: "Mac",
// Optional
browser: "Chrome",
// Optional
viewport: "800x600",
// Optional
device: "PC",
});
FAQs
JavaScript SDK for Visual Regression Tracker
We found that @visual-regression-tracker/sdk-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.