Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@types/beyonk__gdpr-cookie-consent-banner
Advanced tools
TypeScript definitions for @beyonk/gdpr-cookie-consent-banner
npm install --save @types/beyonk__gdpr-cookie-consent-banner
This package contains type definitions for @beyonk/gdpr-cookie-consent-banner (https://github.com/beyonk-adventures/gdpr-cookie-consent-banner).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/beyonk__gdpr-cookie-consent-banner.
interface Choice {
label: string;
description: string;
value: boolean;
}
type Category = "necessary" | "tracking" | "analytics" | "marketing";
interface Options {
cookieName?: string;
cookieConfig?: {
domain: string;
path: string;
};
heading?: string;
description?: string;
acceptLabel?: string;
rejectLabel?: string;
settingsLabel?: string;
closeLabel?: string;
choices?: Partial<Record<Category, Choice | false>>;
showEditIcon?: boolean;
categories?: Partial<Record<Category, () => void>>;
}
interface GdprConsentInterface {
attachBanner(bodyElement: HTMLElement, options?: Options): void;
}
declare const GdprConsent: GdprConsentInterface;
// eslint-disable-next-line @definitelytyped/no-declare-current-package
declare module "@beyonk/gdpr-cookie-consent-banner" {
const attachBanner: GdprConsentInterface["attachBanner"];
export default attachBanner;
}
// eslint-disable-next-line @definitelytyped/no-declare-current-package
declare module "@beyonk/gdpr-cookie-consent-banner/dist/esm/bundle.js" {
const attachBanner: GdprConsentInterface["attachBanner"];
export default attachBanner;
}
// eslint-disable-next-line @definitelytyped/no-declare-current-package
declare module "@beyonk/gdpr-cookie-consent-banner/dist/style.css" {}
These definitions were written by Ben Grynhaus.
FAQs
TypeScript definitions for @beyonk/gdpr-cookie-consent-banner
The npm package @types/beyonk__gdpr-cookie-consent-banner receives a total of 49 weekly downloads. As such, @types/beyonk__gdpr-cookie-consent-banner popularity was classified as not popular.
We found that @types/beyonk__gdpr-cookie-consent-banner 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.