Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@modern-js/types

Package Overview
Dependencies
Maintainers
14
Versions
3348
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@modern-js/types - npm Package Compare versions

Comparing version 0.0.0-next-20240815081753 to 0.0.0-next-20240816011843

6

package.json

@@ -18,3 +18,3 @@ {

],
"version": "0.0.0-next-20240815081753",
"version": "0.0.0-next-20240816011843",
"types": "./index.d.ts",

@@ -49,4 +49,4 @@ "exports": {

"type-fest": "2.15.0",
"@scripts/build": "0.0.0-next-20240815081753",
"@scripts/jest-config": "0.0.0-next-20240815081753"
"@scripts/build": "0.0.0-next-20240816011843",
"@scripts/jest-config": "0.0.0-next-20240816011843"
},

@@ -53,0 +53,0 @@ "sideEffects": false,

@@ -1,2 +0,1 @@

// eslint-disable-next-line @typescript-eslint/naming-convention
interface REACT_STATICS {

@@ -16,3 +15,2 @@ childContextTypes: true;

// eslint-disable-next-line @typescript-eslint/naming-convention
interface KNOWN_STATICS {

@@ -28,3 +26,2 @@ name: true;

// eslint-disable-next-line @typescript-eslint/naming-convention
interface MEMO_STATICS {

@@ -39,3 +36,2 @@ $$typeof: true;

// eslint-disable-next-line @typescript-eslint/naming-convention
interface FORWARD_REF_STATICS {

@@ -53,3 +49,2 @@ $$typeof: true;

[key: string]: true;
// eslint-disable-next-line @typescript-eslint/ban-types
} = {},

@@ -62,4 +57,4 @@ > = {

: S extends React.ForwardRefExoticComponent<any>
? keyof FORWARD_REF_STATICS | keyof C
: keyof REACT_STATICS | keyof KNOWN_STATICS | keyof C
? keyof FORWARD_REF_STATICS | keyof C
: keyof REACT_STATICS | keyof KNOWN_STATICS | keyof C
>]: S[key];

@@ -74,3 +69,2 @@ };

[key: string]: true;
// eslint-disable-next-line @typescript-eslint/ban-types
} = {},

@@ -77,0 +71,0 @@ >(

import { RequestPayload } from './context';
interface Set<V extends Record<string>> {
// eslint-disable-next-line @typescript-eslint/prefer-function-type
<Key extends keyof V>(key: Key, value: V[Key]): void;

@@ -9,3 +8,2 @@ }

interface Get<V extends Record<string, unknown>> {
// eslint-disable-next-line @typescript-eslint/prefer-function-type
<Key extends keyof V>(key: Key): V[Key];

@@ -12,0 +10,0 @@ }

@@ -1,2 +0,1 @@

/* eslint-disable @typescript-eslint/method-signature-style */
/** Monitor Events */

@@ -3,0 +2,0 @@ export type LogLevel = 'warn' | 'error' | 'debug' | 'info';

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