Socket
Socket
Sign inDemoInstall

@wordpress/element

Package Overview
Dependencies
Maintainers
24
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.0.1 to 6.1.0

38

build-module/react.js

@@ -112,3 +112,3 @@ /**

/**
* @see https://reactjs.org/docs/react-api.html#reactmemo
* @see https://react.dev/reference/react/memo
*/

@@ -123,3 +123,3 @@ export { memo };

/**
* @see https://reactjs.org/docs/hooks-reference.html#usecallback
* @see https://react.dev/reference/react/useCallback
*/

@@ -129,3 +129,3 @@ export { useCallback };

/**
* @see https://reactjs.org/docs/hooks-reference.html#usecontext
* @see https://react.dev/reference/react/useContext
*/

@@ -135,3 +135,3 @@ export { useContext };

/**
* @see https://reactjs.org/docs/hooks-reference.html#usedebugvalue
* @see https://react.dev/reference/react/useDebugValue
*/

@@ -141,3 +141,3 @@ export { useDebugValue };

/**
* @see https://reactjs.org/docs/hooks-reference.html#usedeferredvalue
* @see https://react.dev/reference/react/useDeferredValue
*/

@@ -152,3 +152,3 @@ export { useDeferredValue };

/**
* @see https://reactjs.org/docs/hooks-reference.html#useid
* @see https://react.dev/reference/react/useId
*/

@@ -158,3 +158,3 @@ export { useId };

/**
* @see https://reactjs.org/docs/hooks-reference.html#useimperativehandle
* @see https://react.dev/reference/react/useImperativeHandle
*/

@@ -164,3 +164,3 @@ export { useImperativeHandle };

/**
* @see https://reactjs.org/docs/hooks-reference.html#useinsertioneffect
* @see https://react.dev/reference/react/useInsertionEffect
*/

@@ -170,3 +170,3 @@ export { useInsertionEffect };

/**
* @see https://reactjs.org/docs/hooks-reference.html#uselayouteffect
* @see https://react.dev/reference/react/useLayoutEffect
*/

@@ -176,3 +176,3 @@ export { useLayoutEffect };

/**
* @see https://reactjs.org/docs/hooks-reference.html#usememo
* @see https://react.dev/reference/react/useMemo
*/

@@ -182,3 +182,3 @@ export { useMemo };

/**
* @see https://reactjs.org/docs/hooks-reference.html#usereducer
* @see https://react.dev/reference/react/useReducer
*/

@@ -188,3 +188,3 @@ export { useReducer };

/**
* @see https://reactjs.org/docs/hooks-reference.html#useref
* @see https://react.dev/reference/react/useRef
*/

@@ -194,3 +194,3 @@ export { useRef };

/**
* @see https://reactjs.org/docs/hooks-reference.html#usestate
* @see https://react.dev/reference/react/useState
*/

@@ -200,3 +200,3 @@ export { useState };

/**
* @see https://reactjs.org/docs/hooks-reference.html#usesyncexternalstore
* @see https://react.dev/reference/react/useSyncExternalStore
*/

@@ -206,3 +206,3 @@ export { useSyncExternalStore };

/**
* @see https://reactjs.org/docs/hooks-reference.html#usetransition
* @see https://react.dev/reference/react/useTransition
*/

@@ -212,3 +212,3 @@ export { useTransition };

/**
* @see https://reactjs.org/docs/react-api.html#starttransition
* @see https://react.dev/reference/react/startTransition
*/

@@ -218,3 +218,3 @@ export { startTransition };

/**
* @see https://reactjs.org/docs/react-api.html#reactlazy
* @see https://react.dev/reference/react/lazy
*/

@@ -224,3 +224,3 @@ export { lazy };

/**
* @see https://reactjs.org/docs/react-api.html#reactsuspense
* @see https://react.dev/reference/react/Suspense
*/

@@ -230,3 +230,3 @@ export { Suspense };

/**
* @see https://reactjs.org/docs/react-api.html#reactpurecomponent
* @see https://react.dev/reference/react/PureComponent
*/

@@ -233,0 +233,0 @@ export { PureComponent };

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

/**
* @see https://reactjs.org/docs/react-api.html#reactmemo
* @see https://react.dev/reference/react/memo
*/

@@ -299,15 +299,15 @@

/**
* @see https://reactjs.org/docs/hooks-reference.html#usecallback
* @see https://react.dev/reference/react/useCallback
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#usecontext
* @see https://react.dev/reference/react/useContext
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#usedebugvalue
* @see https://react.dev/reference/react/useDebugValue
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#usedeferredvalue
* @see https://react.dev/reference/react/useDeferredValue
*/

@@ -320,55 +320,55 @@

/**
* @see https://reactjs.org/docs/hooks-reference.html#useid
* @see https://react.dev/reference/react/useId
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#useimperativehandle
* @see https://react.dev/reference/react/useImperativeHandle
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#useinsertioneffect
* @see https://react.dev/reference/react/useInsertionEffect
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#uselayouteffect
* @see https://react.dev/reference/react/useLayoutEffect
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#usememo
* @see https://react.dev/reference/react/useMemo
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#usereducer
* @see https://react.dev/reference/react/useReducer
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#useref
* @see https://react.dev/reference/react/useRef
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#usestate
* @see https://react.dev/reference/react/useState
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#usesyncexternalstore
* @see https://react.dev/reference/react/useSyncExternalStore
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#usetransition
* @see https://react.dev/reference/react/useTransition
*/
/**
* @see https://reactjs.org/docs/react-api.html#starttransition
* @see https://react.dev/reference/react/startTransition
*/
/**
* @see https://reactjs.org/docs/react-api.html#reactlazy
* @see https://react.dev/reference/react/lazy
*/
/**
* @see https://reactjs.org/docs/react-api.html#reactsuspense
* @see https://react.dev/reference/react/Suspense
*/
/**
* @see https://reactjs.org/docs/react-api.html#reactpurecomponent
* @see https://react.dev/reference/react/PureComponent
*/

@@ -375,0 +375,0 @@

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

## 6.1.0 (2024-06-15)
## 6.0.0 (2024-05-31)

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

{
"name": "@wordpress/element",
"version": "6.0.1",
"version": "6.1.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.0.1",
"@wordpress/escape-html": "^3.1.0",
"change-case": "^4.1.2",

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

},
"gitHead": "0e973525f7787401b5a544e0727774d52a78639f"
"gitHead": "66d3bf12e67d16deddc4b4a9ec42e1d0bed3479a"
}

@@ -234,3 +234,3 @@ # Element

- <https://reactjs.org/docs/react-api.html#reactlazy>
- <https://react.dev/reference/react/lazy>

@@ -241,3 +241,3 @@ ### memo

- <https://reactjs.org/docs/react-api.html#reactmemo>
- <https://react.dev/reference/react/memo>

@@ -271,3 +271,3 @@ ### Platform

- <https://reactjs.org/docs/react-api.html#reactpurecomponent>
- <https://react.dev/reference/react/PureComponent>

@@ -314,3 +314,3 @@ ### RawHTML

- <https://reactjs.org/docs/react-api.html#starttransition>
- <https://react.dev/reference/react/startTransition>

@@ -325,3 +325,3 @@ ### StrictMode

- <https://reactjs.org/docs/react-api.html#reactsuspense>
- <https://react.dev/reference/react/Suspense>

@@ -355,3 +355,3 @@ ### switchChildrenNodeName

- <https://reactjs.org/docs/hooks-reference.html#usecallback>
- <https://react.dev/reference/react/useCallback>

@@ -362,3 +362,3 @@ ### useContext

- <https://reactjs.org/docs/hooks-reference.html#usecontext>
- <https://react.dev/reference/react/useContext>

@@ -369,3 +369,3 @@ ### useDebugValue

- <https://reactjs.org/docs/hooks-reference.html#usedebugvalue>
- <https://react.dev/reference/react/useDebugValue>

@@ -376,3 +376,3 @@ ### useDeferredValue

- <https://reactjs.org/docs/hooks-reference.html#usedeferredvalue>
- <https://react.dev/reference/react/useDeferredValue>

@@ -389,3 +389,3 @@ ### useEffect

- <https://reactjs.org/docs/hooks-reference.html#useid>
- <https://react.dev/reference/react/useId>

@@ -396,3 +396,3 @@ ### useImperativeHandle

- <https://reactjs.org/docs/hooks-reference.html#useimperativehandle>
- <https://react.dev/reference/react/useImperativeHandle>

@@ -403,3 +403,3 @@ ### useInsertionEffect

- <https://reactjs.org/docs/hooks-reference.html#useinsertioneffect>
- <https://react.dev/reference/react/useInsertionEffect>

@@ -410,3 +410,3 @@ ### useLayoutEffect

- <https://reactjs.org/docs/hooks-reference.html#uselayouteffect>
- <https://react.dev/reference/react/useLayoutEffect>

@@ -417,3 +417,3 @@ ### useMemo

- <https://reactjs.org/docs/hooks-reference.html#usememo>
- <https://react.dev/reference/react/useMemo>

@@ -424,3 +424,3 @@ ### useReducer

- <https://reactjs.org/docs/hooks-reference.html#usereducer>
- <https://react.dev/reference/react/useReducer>

@@ -431,3 +431,3 @@ ### useRef

- <https://reactjs.org/docs/hooks-reference.html#useref>
- <https://react.dev/reference/react/useRef>

@@ -438,3 +438,3 @@ ### useState

- <https://reactjs.org/docs/hooks-reference.html#usestate>
- <https://react.dev/reference/react/useState>

@@ -445,3 +445,3 @@ ### useSyncExternalStore

- <https://reactjs.org/docs/hooks-reference.html#usesyncexternalstore>
- <https://react.dev/reference/react/useSyncExternalStore>

@@ -452,3 +452,3 @@ ### useTransition

- <https://reactjs.org/docs/hooks-reference.html#usetransition>
- <https://react.dev/reference/react/useTransition>

@@ -455,0 +455,0 @@ <!-- END TOKEN(Autogenerated API docs) -->

@@ -143,3 +143,3 @@ /**

/**
* @see https://reactjs.org/docs/react-api.html#reactmemo
* @see https://react.dev/reference/react/memo
*/

@@ -154,3 +154,3 @@ export { memo };

/**
* @see https://reactjs.org/docs/hooks-reference.html#usecallback
* @see https://react.dev/reference/react/useCallback
*/

@@ -160,3 +160,3 @@ export { useCallback };

/**
* @see https://reactjs.org/docs/hooks-reference.html#usecontext
* @see https://react.dev/reference/react/useContext
*/

@@ -166,3 +166,3 @@ export { useContext };

/**
* @see https://reactjs.org/docs/hooks-reference.html#usedebugvalue
* @see https://react.dev/reference/react/useDebugValue
*/

@@ -172,3 +172,3 @@ export { useDebugValue };

/**
* @see https://reactjs.org/docs/hooks-reference.html#usedeferredvalue
* @see https://react.dev/reference/react/useDeferredValue
*/

@@ -183,3 +183,3 @@ export { useDeferredValue };

/**
* @see https://reactjs.org/docs/hooks-reference.html#useid
* @see https://react.dev/reference/react/useId
*/

@@ -189,3 +189,3 @@ export { useId };

/**
* @see https://reactjs.org/docs/hooks-reference.html#useimperativehandle
* @see https://react.dev/reference/react/useImperativeHandle
*/

@@ -195,3 +195,3 @@ export { useImperativeHandle };

/**
* @see https://reactjs.org/docs/hooks-reference.html#useinsertioneffect
* @see https://react.dev/reference/react/useInsertionEffect
*/

@@ -201,3 +201,3 @@ export { useInsertionEffect };

/**
* @see https://reactjs.org/docs/hooks-reference.html#uselayouteffect
* @see https://react.dev/reference/react/useLayoutEffect
*/

@@ -207,3 +207,3 @@ export { useLayoutEffect };

/**
* @see https://reactjs.org/docs/hooks-reference.html#usememo
* @see https://react.dev/reference/react/useMemo
*/

@@ -213,3 +213,3 @@ export { useMemo };

/**
* @see https://reactjs.org/docs/hooks-reference.html#usereducer
* @see https://react.dev/reference/react/useReducer
*/

@@ -219,3 +219,3 @@ export { useReducer };

/**
* @see https://reactjs.org/docs/hooks-reference.html#useref
* @see https://react.dev/reference/react/useRef
*/

@@ -225,3 +225,3 @@ export { useRef };

/**
* @see https://reactjs.org/docs/hooks-reference.html#usestate
* @see https://react.dev/reference/react/useState
*/

@@ -231,3 +231,3 @@ export { useState };

/**
* @see https://reactjs.org/docs/hooks-reference.html#usesyncexternalstore
* @see https://react.dev/reference/react/useSyncExternalStore
*/

@@ -237,3 +237,3 @@ export { useSyncExternalStore };

/**
* @see https://reactjs.org/docs/hooks-reference.html#usetransition
* @see https://react.dev/reference/react/useTransition
*/

@@ -243,3 +243,3 @@ export { useTransition };

/**
* @see https://reactjs.org/docs/react-api.html#starttransition
* @see https://react.dev/reference/react/startTransition
*/

@@ -249,3 +249,3 @@ export { startTransition };

/**
* @see https://reactjs.org/docs/react-api.html#reactlazy
* @see https://react.dev/reference/react/lazy
*/

@@ -255,3 +255,3 @@ export { lazy };

/**
* @see https://reactjs.org/docs/react-api.html#reactsuspense
* @see https://react.dev/reference/react/Suspense
*/

@@ -261,3 +261,3 @@ export { Suspense };

/**
* @see https://reactjs.org/docs/react-api.html#reactpurecomponent
* @see https://react.dev/reference/react/PureComponent
*/

@@ -264,0 +264,0 @@ export { PureComponent };

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