Socket
Socket
Sign inDemoInstall

html-entities

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-entities - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

4

lib/index.d.ts

@@ -14,4 +14,4 @@ export declare type Level = 'xml' | 'html4' | 'html5' | 'all';

}
export declare function encode(text: string, { mode, numeric, level }?: EncodeOptions): string;
export declare function decode(text: string, { level, scope }?: DecodeOptions): string;
export declare function encode(text: string | undefined | null, { mode, numeric, level }?: EncodeOptions): string;
export declare function decode(text: string | undefined | null, { level, scope }?: DecodeOptions): string;
export {};
{
"name": "html-entities",
"version": "2.0.1",
"version": "2.0.2",
"description": "Faster HTML entities encode/decode library.",

@@ -37,2 +37,3 @@ "keywords": [

"he": "^1.2.0",
"husky": "^4.3.6",
"mocha": "^7.1.2",

@@ -67,3 +68,8 @@ "prettier": "^2.1.2",

],
"husky": {
"hooks": {
"pre-commit": "yarn lint && yarn test"
}
},
"license": "MIT"
}

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc