Skip to content

Instantly share code, notes, and snippets.

View ematipico's full-sized avatar
🏖️
Holiday

Emanuele Stoppa ematipico

🏖️
Holiday
View GitHub Profile

Content Security Policy

There are mostly two solutions that we are looking at:

  • nonce Response header
  • hashes

The nonce header solution

The servrer must create a completely new nonce header at each request (it can't be predictable), and this header needs to be used inside the rendered pages. Example:

Biome

Applicant

Emanuele Stoppa (https://git.521000.beste/ematipico)

Description

A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter, linter and import sorting usable via CLI, LSP and WASM.

@ematipico
ematipico / report.md
Created November 14, 2023 02:56
Pretter diffs

Overall Metrics

Average compatibility: 92.21

Definition
$$average = \frac\{\sum_{file}^\{files}compatibility_\{file}}\{files}$$

My implementation

interface D extends
	B<string,symbol>,
	F<string,symbol>,
	G<string,number,symbol>,
	H<string,number,symbol>
{
	something1: string,