New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@blocz/react-responsive

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blocz/react-responsive - npm Package Versions

23
6

4.0.0

Diff

Changelog

Source

4.0.0

  • Drop support for Match as this is an anti pattern (crawling children + leaking into the web TS globals) [BREAKING CHANGE]
  • Drop support for toJSON & toCSS [BREAKING CHANGE]
  • Drop support for node 16 & 18, and add for 20 & 22
  • Update support TS version to 5.7.2 (shouldn’t impact people depending on @blocz/react-responsive)
  • Mark React 19 as available
<details> <summary>Pre-releases</summary>
ayc0
published 4.0.0-beta.1 •

Changelog

Source

4.0.0-beta.1

  • Drop support for toJSON & toCSS [BREAKING CHANGE]
ayc0
published 4.0.0-beta.0 •

Changelog

Source

4.0.0-beta.0

  • Drop support for Match as this is an anti pattern (leaking into the web TS globals) [BREAKING CHANGE]
  • Drop support for node 16 & 18, and add for 20 & 22
  • Update support TS version to 5.7.2 (shouldn’t impact people depending on @blocz/react-responsive)
  • Mark React 19 as available
</details> </details>

v3

3.0

  • The package was renamed @blocz/react-responsive instead of react-only
  • rename useOnly to useBreakpoint and useQuery to useMediaQuery [BREAKING CHANGE]
  • useBreakpoint and useMediaQuery stop returning undefined during the initialization and if the media query is invalid [BREAKING CHANGE]
  • Avoid sending a warning on react 17
  • Fix only and matchMedia props on DOM elements for the Match component
  • Remove prop strict [BREAKING CHANGE]
  • Fix exports field in package.json
  • Drop support for node 13 and add support for node 15 and 16
  • Mark React 18 as available + fix types for React 18.
<details> <summary>See patches</summary>
ayc0
published 3.0.3 •

Changelog

Source

3.0.3

  • Add types field in exports in package.json
  • Mark React 18 as available + fix types for React 18.
ayc0
published 3.0.2 •

Changelog

Source

3.0.2

  • Better fix only and matchMedia props on DOM elements for the Match component
    • with the implementation of the v3.0.0, we were polluting the global scope, injecting the variable React everywhere. This version ships a better fix for both of them.
  • Add support for node 15 and 16
ayc0
published 3.0.1 •

Changelog

Source

3.0.1

  • Fix exports field in package.json
    • use correct lib/ folder instead of dist/
    • Use proper .mjs for node
  • Drop support for node 13
ayc0
published 3.0.0-beta.1 •

ayc0
published 3.0.0-beta.0 •

ayc0
published 2.3.3 •

Changelog

Source

2.3.3

  • remove wrong dependency on emotion
ayc0
published 2.3.2 •

Changelog

Source

2.3.2

  • add toJSON and toCSS for CSS-in-JS support
23
6
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