🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@wordpress/html-entities

Package Overview
Dependencies
Maintainers
24
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wordpress/html-entities - npm Package Compare versions

Comparing version

to
3.53.0

2

build-module/index.js

@@ -11,2 +11,4 @@ /** @type {HTMLTextAreaElement} */

* ```js
* import { decodeEntities } from '@wordpress/html-entities';
*
* const result = decodeEntities( 'á' );

@@ -13,0 +15,0 @@ * console.log( result ); // result will be "á"

@@ -8,2 +8,4 @@ /**

* ```js
* import { decodeEntities } from '@wordpress/html-entities';
*
* const result = decodeEntities( 'á' );

@@ -10,0 +12,0 @@ * console.log( result ); // result will be "á"

@@ -17,2 +17,4 @@ "use strict";

* ```js
* import { decodeEntities } from '@wordpress/html-entities';
*
* const result = decodeEntities( 'á' );

@@ -19,0 +21,0 @@ * console.log( result ); // result will be "á"

@@ -5,2 +5,4 @@ <!-- Learn how to maintain this file at https://github.com/WordPress/gutenberg/tree/HEAD/packages#maintaining-changelogs. -->

## 3.53.0 (2024-03-06)
## 3.52.0 (2024-02-21)

@@ -7,0 +9,0 @@

4

package.json
{
"name": "@wordpress/html-entities",
"version": "3.52.0",
"version": "3.53.0",
"description": "HTML entity utilities for WordPress.",

@@ -35,3 +35,3 @@ "author": "The WordPress Contributors",

},
"gitHead": "c139588f4c668b38bafbc5431f2f4e3903dbe683"
"gitHead": "ac3c3e465a083081a86a4da6ee6fb817b41e5130"
}

@@ -26,2 +26,4 @@ # HTML Entities

```js
import { decodeEntities } from '@wordpress/html-entities';
const result = decodeEntities( '&aacute;' );

@@ -28,0 +30,0 @@ console.log( result ); // result will be "á"

@@ -11,2 +11,4 @@ /** @type {HTMLTextAreaElement} */

* ```js
* import { decodeEntities } from '@wordpress/html-entities';
*
* const result = decodeEntities( '&aacute;' );

@@ -13,0 +15,0 @@ * console.log( result ); // result will be "á"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet