Socket
Socket
Sign inDemoInstall

@wordpress/element

Package Overview
Dependencies
Maintainers
23
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wordpress/element - npm Package Compare versions

Comparing version 6.4.0 to 6.5.0

16

build-module/react.js

@@ -26,3 +26,3 @@ /**

/**
* Object containing a React synthetic event.
* Object containing a React ref object.
*

@@ -34,2 +34,16 @@ * @template T

/**
* Object containing a React ref callback.
*
* @template T
* @typedef {import('react').RefCallback<T>} RefCallback<T>
*/
/**
* Object containing a React ref.
*
* @template T
* @typedef {import('react').Ref<T>} Ref<T>
*/
/**
* Object that provides utilities for dealing with React children.

@@ -36,0 +50,0 @@ */

@@ -34,2 +34,10 @@ /**

export type RefObject<T> = import("react").RefObject<T>;
/**
* <T>
*/
export type RefCallback<T> = import("react").RefCallback<T>;
/**
* <T>
*/
export type Ref<T> = import("react").Ref<T>;
import { Children } from 'react';

@@ -36,0 +44,0 @@ import { cloneElement } from 'react';

@@ -213,3 +213,3 @@ "use strict";

/**
* Object containing a React synthetic event.
* Object containing a React ref object.
*

@@ -221,2 +221,16 @@ * @template T

/**
* Object containing a React ref callback.
*
* @template T
* @typedef {import('react').RefCallback<T>} RefCallback<T>
*/
/**
* Object containing a React ref.
*
* @template T
* @typedef {import('react').Ref<T>} Ref<T>
*/
/**
* Object that provides utilities for dealing with React children.

@@ -223,0 +237,0 @@ */

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

## 6.5.0 (2024-08-07)
## 6.4.0 (2024-07-24)

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

6

package.json
{
"name": "@wordpress/element",
"version": "6.4.0",
"version": "6.5.0",
"description": "Element React module for WordPress.",

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

"@types/react-dom": "^18.2.25",
"@wordpress/escape-html": "^3.4.0",
"@wordpress/escape-html": "^3.5.0",
"change-case": "^4.1.2",

@@ -45,3 +45,3 @@ "is-plain-object": "^5.0.0",

},
"gitHead": "363edb39b8dda8727f652e42cbb8497732693ed2"
"gitHead": "c3101ab024e2bfc85d525c6d247e0d57cafc9fd9"
}

@@ -57,3 +57,3 @@ /**

/**
* Object containing a React synthetic event.
* Object containing a React ref object.
*

@@ -65,2 +65,16 @@ * @template T

/**
* Object containing a React ref callback.
*
* @template T
* @typedef {import('react').RefCallback<T>} RefCallback<T>
*/
/**
* Object containing a React ref.
*
* @template T
* @typedef {import('react').Ref<T>} Ref<T>
*/
/**
* Object that provides utilities for dealing with React children.

@@ -67,0 +81,0 @@ */

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

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