New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@wpmudev/shared-notifications-black-friday

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wpmudev/shared-notifications-black-friday

WPMU DEV Shared Black Friday Notifications

latest
Source
npmnpm
Version
2.0.3
Version published
Maintainers
4
Created
Source

License: GPLv3 npm

Black Friday Notification

This package works as a Shared Module between WPMU DEV plugins and it allows us to notify users about Black Friday offers.

Installation

npm i @wpmudev/shared-notifications-black-friday --save-dev

Usage

Javascript Instantiation

import React from 'react';
import { NoticeBlack } from '@wpmudev/shared-notifications-black-friday';

const MyApp = () => {
    return (
        <NoticeBlack
            link="https://wpmudev.com/"
            sourceLang={
				discount: "50% Off",
				closeLabel: "Close",
				linkLabel: "See the deal"
			}
        >
            <p><strong>Black Friday Offer!</strong> Get a Pro plugin for free and much more with 50% OFF.</p>
			<p><small>*Only admin users can see this message</small></p>
        </NoticeBlack>
    );
}

Properties

Prop NameTypeDescription
linkstringSets call to action button URL.
sourceLangobjectAllows to translate component labels.
onCloseClick-Use this property to pass a function when clicking on close button.

FAQs

Package last updated on 26 Nov 2025

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