third-party
Someone other than you and your users, such as an analytics company or a CDN whose code or files your page includes.
In more detail
Scripts, fonts, analytics and advertising often come from third parties. Third-party scripts run with the same power as your own code, so compromising them compromises you.
Related terms
- Subresource Integrity — A browser check in which a script or stylesheet tag carries the expected hash of the file, and the browser refuses to use the file if it does not match.
- content delivery network — A network of servers around the world that keep copies of a site's files and serve each visitor from a nearby location.
- npm — The package manager that comes with Node.js, plus the public registry where JavaScript packages are published.
- module augmentation — Adding types to another package from your own code with declare module "name" { } and declaration merging.
- DefinitelyTyped — The community repository of type declarations for JavaScript packages, published to npm as @types/package-name.
Taught in
- CSRF Mitigations, SameSite Cookies And Subresource Integrity — Frontend Architecture & Web Platform
- void, undefined And null: Exact Optional Property Types — Production TypeScript
- Type Aliases Versus Interfaces: Declaration Merging — Production TypeScript
- The in Operator And Instanceof Narrowing — Production TypeScript
- Union Utilities: Exclude, Extract, NonNullable And Awaited — Production TypeScript
- Declaration Files, Ambient Namespaces And Module Augmentation — Production TypeScript
- Modern Decorators: Stage 3 Standards And Class Metadata — Production TypeScript