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

eslint-plugin-react-server-components

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-react-server-components - npm Package Versions

1.2.0

Diff

Changelog

Source

1.2.0

Minor Changes

  • 560c8be: Added allowedServerHooks option. Hooks specified here will not throw an error in files that do not have the 'use client' directive.

    Example:

    {
      "rules": {
        "react-server-components/use-client": [
          "error",
          { "allowedServerHooks": ["useTranslation"] }
        ]
      }
    }
    
roginfarrer
published 1.1.2 •

Changelog

Source

1.1.2

Patch Changes

  • c1f4c62: Allow useId in server and shared components.
roginfarrer
published 1.1.1 •

Changelog

Source

1.1.1

Patch Changes

  • 644f71d: Simplify creation of browser-only globals reference.
roginfarrer
published 1.1.0 •

Changelog

Source

1.1.0

Minor Changes

  • 30770a0: Error on class components
roginfarrer
published 1.0.1 •

Changelog

Source

1.0.1

Patch Changes

  • 8f42b00: Fixed detection of 'use client' directive around comments in file header.
roginfarrer
published 1.0.0 •

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