Socket
Socket
Sign inDemoInstall

@types/react

Package Overview
Dependencies
3
Maintainers
1
Versions
596
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 17.0.77 to 17.0.78

11

react v17.0/jsx-dev-runtime.d.ts

@@ -5,2 +5,13 @@ // Expose `JSX` namespace in `global` namespace

export namespace JSX {
interface Element extends React.JSX.Element {}
interface ElementClass extends React.JSX.ElementClass {}
interface ElementAttributesProperty extends React.JSX.ElementAttributesProperty {}
interface ElementChildrenAttribute extends React.JSX.ElementChildrenAttribute {}
type LibraryManagedAttributes<C, P> = React.JSX.LibraryManagedAttributes<C, P>;
interface IntrinsicAttributes extends React.JSX.IntrinsicAttributes {}
interface IntrinsicClassAttributes<T> extends React.JSX.IntrinsicClassAttributes<T> {}
interface IntrinsicElements extends React.JSX.IntrinsicElements {}
}
export interface JSXSource {

@@ -7,0 +18,0 @@ /**

@@ -5,2 +5,13 @@ // Expose `JSX` namespace in `global` namespace

export namespace JSX {
interface Element extends React.JSX.Element {}
interface ElementClass extends React.JSX.ElementClass {}
interface ElementAttributesProperty extends React.JSX.ElementAttributesProperty {}
interface ElementChildrenAttribute extends React.JSX.ElementChildrenAttribute {}
type LibraryManagedAttributes<C, P> = React.JSX.LibraryManagedAttributes<C, P>;
interface IntrinsicAttributes extends React.JSX.IntrinsicAttributes {}
interface IntrinsicClassAttributes<T> extends React.JSX.IntrinsicClassAttributes<T> {}
interface IntrinsicElements extends React.JSX.IntrinsicElements {}
}
/**

@@ -7,0 +18,0 @@ * Create a React element.

4

react v17.0/package.json
{
"name": "@types/react",
"version": "17.0.77",
"version": "17.0.78",
"description": "TypeScript definitions for react",

@@ -172,4 +172,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",

},
"typesPublisherContentHash": "eea24ffdb4db4475d02a6f66e629a4c99cea48656ffd84ef7004da7c05e728cc",
"typesPublisherContentHash": "b0f8aff41af8bfd9efdf62e4566249d414cd2d1a554cf6fcfde41cb9c584ae07",
"typeScriptVersion": "4.7"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 14 Mar 2024 14:06:54 GMT
* Last updated: Thu, 14 Mar 2024 23:06:51 GMT
* Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/scheduler](https://npmjs.com/package/@types/scheduler), [csstype](https://npmjs.com/package/csstype)

@@ -14,0 +14,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc