🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@types/entities

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/entities - npm Package Compare versions

Comparing version
1.1.1
to
2.0.0
+1
-1
entities/LICENSE
MIT License
Copyright (c) Microsoft Corporation. All rights reserved.
Copyright (c) Microsoft Corporation.

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "@types/entities",
"version": "1.1.1",
"description": "TypeScript definitions for entities",
"license": "MIT",
"contributors": [
{
"name": "Alice Klipper",
"url": "https://github.com/aliceklipper",
"githubUsername": "aliceklipper"
}
],
"version": "2.0.0",
"typings": null,
"description": "Stub TypeScript definitions entry for entities, which provides its own types definitions",
"main": "",
"types": "index",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "25ad46c6de1bb2b4761fa571f5beb809bf69bc12a5652db771fe1f9771f1f78d",
"typeScriptVersion": "2.0"
"author": "",
"license": "MIT",
"dependencies": {
"entities": "*"
}
}

@@ -1,16 +0,3 @@

# Installation
> `npm install --save @types/entities`
This is a stub types definition for @types/entities (https://github.com/fb55/entities#readme).
# Summary
This package contains type definitions for entities ( https://github.com/fb55/entities ).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/entities
Additional Details
* Last updated: Wed, 13 Feb 2019 18:07:39 GMT
* Dependencies: none
* Global values: none
# Credits
These definitions were written by Alice Klipper <https://github.com/aliceklipper>.
entities provides its own type definitions, so you don't need @types/entities installed!
// Type definitions for entities 1.1
// Project: https://github.com/fb55/entities
// Definitions by: Alice Klipper <https://github.com/aliceklipper>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export function decode(data: string, level?: number): string;
export function decodeStrict(data: string, level?: number): string;
export function encode(data: string, level?: number): string;
export function decodeXML(str: string): string;
export function decodeXMLStrict(str: string): string;
export function encodeXML(data: string): string;
export function decodeHTML(str: string): string;
export function decodeHTMLStrict(str: string): string;
export function encodeHTML(data: string): string;
export function decodeHTML4(str: string): string;
export function decodeHTML4Strict(str: string): string;
export function encodeHTML4(data: string): string;
export function decodeHTML5(str: string): string;
export function decodeHTML5Strict(str: string): string;
export function encodeHTML5(data: string): string;
export function escape(data: string): string;