New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@magnite/fledge.polyfill

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magnite/fledge.polyfill

A Fledge JavaScript polyfill

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

fledge.polyfill npm version codecov Dependabot Status

A Fledge JavaScript polyfill.

Installation

npm install --save @magnite/fledge.polyfill

Table of Contents

Usage

Interest Groups

As of this moment, the polyfill is intended to work within the Chrome browser at a version greater than 91. There are several ways to invoke the polyfill, but given the modern capabilities of support required, the following is the recoommended way to invoke the API.

<script type="module">
    import { fledge } from "./node_modules/@magnite/fledge.polyfill/esm/index.js";

    const options = {
        owner: "www.buyer.com",
        name: "an-interest-group",
        bidding_logic_url: "https://dsp.com/bidding",
    };

    // join an interest group
    fledge.joinAdInterestGroup(options, 864000000).then(response => console.log(response));

    // leave an interest group
    fledge.leaveAdInterestGroup(options).then(response => console.log(response));
</script>

Where to Find Documentation

The best way to find out what's available is to dig through source code, as each directory has a README file to describe each feature.

How We Track Changes Keep a Changelog

This project uses a CHANGELOG and GitHub releases which contains a curated, chronologically ordered list of notable changes for each version of a project. Read more about changelogs.

How We Version semantic-release

We use SemVer for its versioning providing us an opt-in approach to releases. This means we add a version number according to the spec, as you see below. So rather than force developers to consume the latest and greatest, they can choose which version to consume and test any newer ones before upgrading. Please the read the spec as it goes into further detail.

Given a version number MAJOR.MINOR.PATCH, increment the:

  • MAJOR version when you make incompatible API changes.
  • MINOR version when you add functionality in a backward-compatible manner.
  • PATCH version when you make backward-compatible bug fixes.

Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

How to Contribute Conventional Commits

Have a bug or a feature request? Looking to contribute to advance the project? Read our contribution guide or maintenance guide first in order to understand how we do things around here. Or you could look at some of our other guides below:

How do I… (click to expand)

Where to Find Support Contributor Covenant

Looking to talk to someone or need some help? Please read our support guidelines.

Tools We Use

  • CommitLint - Used to ensure our commits follow our standards
  • Conventional Changelog - Used to generate our CHANGELOG
  • ESLint - Used to lint our JavaScript
  • Husky - Used for auto-fixing linting errors on each commit
  • Jest - Used for testing our JavaScript and (S)CSS
  • Semantic Release - Used for automating and releasing our library

References

License License: MIT

©2021 Magnite, Inc. See LICENSE for specifics.

FAQs

Package last updated on 20 Apr 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc