Django-deno

Latest version: v0.2.0

Safety actively analyzes 687959 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.0

Updated for `Deno 2.0`.
Tested with `Deno 2.1.1` / `Django 5.1` / `Python 3.13` in Ubuntu Linux and Windows.
`TypeScript` support via `sucrase` / `swc` rollup plugins.

0.1.4

Updated `setup.py` / `setup.cfg` for newer versions of `setuptools`.

Tested with `deno 1.32.4` / `Django 4.2`.

0.1.2

Python 3.10` compatibility.

Freeze [deno](https://deno.land/) version to `1.21.3` for ([drollup](https://deno.land/x/drollup)) compatibility.

0.1.1

Static code analysis fixes

More reliable `SourceFile.should_rollup()`

Windows fixes

0.1.0

[Deno](https://deno.land/) front-end integration for [Django](https://www.djangoproject.com/), version 0.1.0.

The Deno web service supports [rollup.js](https://rollupjs.org/) bundle ([drollup](https://deno.land/x/drollup)) generation to automatically provide [es6 modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) bundles for [Django](https://www.djangoproject.com/) projects, including scripts from [Django packages static files](https://docs.djangoproject.com/en/dev/howto/static-files/).

That enables generation of minified [terser](https://terser.org/) bundles and / or [systemjs](https://github.com/systemjs/systemjs) bundles, the later ones are compatible to IE11.

Note that currently it supports only [es6 modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules), not the full transpiling of es5 to es6, so it assumes that the developing code has es6 imports / exports but the rest of code is written with es5 syntax.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.