Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
django-cookie-consent
Advanced tools
Package containing the JS code for django-cookie-consent.
The cookiebar module is shipped in the Python package itself and available through django's staticfiles mechanism. This package is aimed at users wishing to include the assets in their own Javascript bundle through webpack/vite/...
npm install django-cookie-consent
You can now import the public API in your own bundle:
import {showCookieBar} from '@jazzband/django-cookie-consent';
The source code is written in TypeScript. The type declarations are shipped in the published package.
We only publish ES modules and do not offer CommonJS.
Use nvm
or your tool of choice to select the right NodeJS version:
nvm use
Building the NPM package:
npm run build
Lastly, the frontend toolchain also builds the cookiebar module bundle that's included in the Python package:
npm run build:django-static
FAQs
Frontend code for django-cookie-consent
We found that django-cookie-consent demonstrated a healthy version release cadence and project activity because the last version was released less than 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.