🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@types/trusted-types

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/trusted-types - npm Package Compare versions

Comparing version
2.0.1
to
2.0.2
+4
-4
trusted-types/lib/index.d.ts

@@ -46,5 +46,5 @@ // The main type definitions. Packages that do not want to pollute the global

export interface TrustedTypePolicyOptions {
createHTML?: (input: string, ...arguments: any[]) => string;
createScript?: (input: string, ...arguments: any[]) => string;
createScriptURL?: (input: string, ...arguments: any[]) => string;
createHTML?: ((input: string, ...arguments: any[]) => string) | undefined;
createScript?: ((input: string, ...arguments: any[]) => string) | undefined;
createScriptURL?: ((input: string, ...arguments: any[]) => string) | undefined;
}

@@ -59,3 +59,3 @@

// supporting trustedTypes.
trustedTypes?: TrustedTypePolicyFactory;
trustedTypes?: TrustedTypePolicyFactory | undefined;
TrustedHTML: typeof TrustedHTML;

@@ -62,0 +62,0 @@ TrustedScript: typeof TrustedScript;

{
"name": "@types/trusted-types",
"version": "2.0.1",
"version": "2.0.2",
"description": "TypeScript definitions for trusted-types",

@@ -38,4 +38,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/trusted-types",

"dependencies": {},
"typesPublisherContentHash": "f3d25f415bf49f5121b7b5d5ad872e62a7644b9c015ea9e0508c29af9a4492bf",
"typesPublisherContentHash": "99d8c3702ecfbc895e9827c063dcce01708c2011a667e0844c3d8a88259efece",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 16 Jun 2021 20:01:18 GMT
* Last updated: Fri, 02 Jul 2021 19:37:19 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none