
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
@iabtechlabtcf/testing
Advanced tools
Testing tools to generate randomized input/output
npm
npm install @iabtechlabtcf/testing --save-dev
yarn
yarn add -D @iabtechlabtcf/testing
Generate random TCModel with GVL
import {TCModelFactory} from '@iabtechlabtcf/testing';
const tcModel = TCModelFactory.withGVL();
Generate random TC string
import {TCString} from '@iabtechlabtcf/core';
import {TCModelFactory} from '@iabtechlabtcf/testing';
console.log(TCString.encode(TCModelFactory.noGVL()));
// ... random tc string
Add publisher restrictions
import {TCModelFactory} from '@iabtechlabtcf/testing';
let tcModel = TCModelFactory.withGVL();
tcModel = TCModelFactory.addPublisherRestrictions(tcModel);
// now has random publisher restrictions
Get latest GVL
import {GVLFactory} from '@iabtechlabtcf/testing';
import {GVL} from '@iabtechlabtcf/core';
const gvl = GVLFactory.getLatest();
Get version of GVL
import {GVLFactory} from '@iabtechlabtcf/testing';
import {GVL} from '@iabtechlabtcf/core';
const gvl = GVLFactory.getVersion(10);
FAQs
Shared testing utilities
The npm package @iabtechlabtcf/testing receives a total of 75 weekly downloads. As such, @iabtechlabtcf/testing popularity was classified as not popular.
We found that @iabtechlabtcf/testing demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.