---
title: "Deno 1.36: More flexible security and expanded testing APIs"
description: "Deno 1.36 adds --deny-* flags that complement --allow-* permissions, letting programs open broad access while excluding specific domains, IPs or file paths, with deny taking precedence over allow."
url: "https://swe.quest/articles/deno-1-36-more-flexible-security-and-expanded-testing-apis-20f800d81e5efd71"
canonical: "https://deno.com/blog/v1.36"
source: "Deno"
published: "2023-08-03"
difficulty: "medium"
kind: "Release"
reading_minutes: 8
tags: ["javascript","runtimes","testing","sandboxing"]
---

# Deno 1.36: More flexible security and expanded testing APIs

A post on [Deno](https://swe.quest/sources/deno.md), published 2023-08-03, 8 min read, Release. Original: [https://deno.com/blog/v1.36](https://deno.com/blog/v1.36)

## Summary

Deno 1.36 adds --deny-\* flags that complement --allow-\* permissions, letting programs open broad access while excluding specific domains, IPs or file paths, with deny taking precedence over allow. Testing gains JUnit and dot reporters plus a node:test polyfill, and Deno.bench fixes V8 JIT bias with a warmup run and adds BenchContext start/end to measure only a critical section. Node compatibility improves with process.dlopen, a fully polyfilled node:os, running non-bin npm scripts, and AsyncLocalStorage up to 3.5x faster. Smaller changes include automatic retries for failed module downloads, clearer Deno.Command errors, http(s) URLs accepted by WebSocket, and LSP fixes.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [Runtimes & VMs](https://swe.quest/tags/runtimes.md) (Compilers & runtimes)
- [Testing](https://swe.quest/tags/testing.md) (Engineering practices)
- [Sandboxing & isolation](https://swe.quest/tags/sandboxing.md) (Security)

## Prerequisites

- Deno permission flags
- Node.js APIs ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))

## Keywords

Deno, Deno 1.36, JUnit, node:test, Deno.bench, AsyncLocalStorage, V8

## Related posts

- [Deno 2.5: Permissions in the config file](https://swe.quest/articles/deno-2-5-permissions-in-the-config-file-6c1646b356167f76.md): Deno · 2025-09-10 · Medium · 13 min read · JavaScript, TypeScript, Runtimes & VMs, Developer tools, Testing
  Deno 2.5 adds named permission sets in deno.json, selectable with -P or --permission-set, plus per-command permissions for test, bench and compile that require -P to apply.
- [Deno 2.6: dx is the new npx](https://swe.quest/articles/deno-2-6-dx-is-the-new-npx-58f73c73a151bd8c.md): Deno · 2025-12-10 · Medium · 16 min read · JavaScript, TypeScript, Runtimes & VMs, Supply chain security, Developer tools
  Deno 2.6 adds \`dx\`, an npx equivalent for running npm and JSR package binaries that defaults to full permissions, prompts before download and runs lifecycle scripts.
- [Deno 1.19 Release Notes](https://swe.quest/articles/deno-1-19-release-notes-b48f272d5ea2fcdb.md): Deno · 2022-02-17 · Medium · 14 min read · JavaScript, Runtimes & VMs, Developer tools, Testing
  Deno 1.19 adds \`deno vendor\`, which builds a module graph from entrypoints, writes remote dependencies into a \`vendor/\` folder with readable paths, and generates an import map so programs can run with \`--no-remote\`.
- [Deno 2.8](https://swe.quest/articles/deno-2-8-43b6e30f24897cb6.md): Deno · 2026-05-22 · Medium · 36 min read · JavaScript, Runtimes & VMs, Performance engineering, Build systems, TypeScript
  Deno 2.8 adds new subcommands (audit fix, bump-version with Conventional Commits workspace support, ci, pack for building npm tarballs from Deno/JSR projects, transpile, why), makes unprefixed package names default to npm in deno add/install, and supports TC39 import defer.
- [Deno 1.46: The Last 1.x Release](https://swe.quest/articles/deno-1-46-the-last-1-x-release-18f40edf9755fd08.md): Deno · 2024-08-22 · Medium · 16 min read · JavaScript, TypeScript, Developer tools, Runtimes & VMs
  Deno 1.46, the final 1.x release, lets programs run with plain \`deno file.ts\`, runs tasks via \`deno run\`, and adds one-letter permission flags (-R, -W, -E, -N, -S) that can be combined and given allow lists. \`deno serve --parallel\` runs one single-threaded JS runtime copy per core, with the count set by DENO\_JOBS. \`deno fmt\` gains unstable formatting for HTML, CSS, YAML and component files.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
