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

@pmmmwh/react-refresh-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pmmmwh/react-refresh-webpack-plugin - npm Package Versions

13
7

0.5.7

Diff

Changelog

Source

0.5.7 (23 May 2022)

Fixes

  • Removed debug console.log statement (#631)

Internal

  • Run tests on Node.js 18 (#631)
pmmmwh
published 0.5.6 •

Changelog

Source

0.5.6 (10 May 2022)

Fixes

  • Fixed faulty this type import in loader (#624)
  • Made current script detection more robust for edge cases (#630)

Internal

  • Swapped to new ReactDOM.createRoot API in examples (#626)
pmmmwh
published 0.5.5 •

Changelog

Source

0.5.5 (4 April 2022)

Fixes

  • Handle unknown moduleId for dynamically generated modules (#547)
  • Handle WDS auto value on port (#574)
  • Fixed react-refresh@0.12.0 compatibility (#576)
  • Fixed crash when parsing compile errors in overlay (#577)
  • Respect virtual modules when injecting loader (#593)
  • Allow port to be missing for WDS, also some general refactoring (#623)

Internal

  • A couple documentation changes in README (#575, 8c39623, #597)
  • Bumped dependencies for testing infrastructure (#526, #564, #567, #581, #588, #591, #594, #616)
pmmmwh
published 0.5.4 •

Changelog

Source

0.5.4 (22 December 2021)

Fixes

  • Skip loader injection for files referenced as assets (#545)
  • Changed failures of exports capturing to warn instead of throw (#546)
pmmmwh
published 0.5.3 •

Changelog

Source

0.5.3 (28 November 2021)

Fixes

  • Updated overlay for unsafe area in Safari (#528)
  • Fixed performance in large projects due to memory leak in loader (#537)
pmmmwh
published 0.5.2 •

Changelog

Source

0.5.2 (19 November 2021)

Features

  • Added support for WDS v4 client.webSocketURL (#529)

Fixes

  • Fixed lost module context due to interceptor by always using regular functions (#531)
  • Relaxed peer dependency requirement on react-refresh (#534)
pmmmwh
published 0.5.1 •

Changelog

Source

0.5.1 (15 September 2021)

Fixes

  • Relaxed peer dependency requirement on type-fest to allow v2.x (#507, #508)

Internal

  • Fixed typos in README (#509)
pmmmwh
published 0.5.0 •

Changelog

Source

0.5.0 (14 September 2021)

BREAKING

  • While most of the public API did not change, we've re-written a large chunk of the runtime code to support a wider range of use cases. This is likely to provide more stability, but if 0.4.x works in your setup but 0.5.x doesn't, please file us an issue - we would love to address it!
  • The disableRefreshCheck option have been removed (#285). It has long been effect-less and deprecated since 0.3.x.
  • The overlay.useLegacyWDSSockets have been removed (#498). It is aimed to support WDS below 3.6.0 (published in June 2019), but looking at current usage and download stats, we've decided it is best to drop support for the old socket format moving forward.
  • Handling of port 0 have been removed (#337).
  • html-entities have been bumped to 2.x (#321).
  • react-refresh have been bumped to 0.10.0 (#353).

Features

  • Added WDS v4 support with new socket defaults through Webpack config (#241, #286, #392, #413, #479)
  • Added the overlay.sockProtocol option (#242)
  • Added monorepo compatibility via the the library option (#273)
  • Rewritten URL handling using WHATWG URL APIs with automatic pony-filling (#278, #332, #378)
  • Rewritten Webpack 5 compatibility using new APIs and hooks (#319, #372, #434, #483)
  • Rewritten refresh runtime to be fully module system aware (#337, #461, #482, #492)
  • Rewritten Webpack 4 and 5 checks using feature detection on compiler (#415)
  • Added support for experiments.topLevelAwait (#435, #447, #493)
  • Added retry logic when socket initialisation fails (#446)

Fixes

  • Relaxed peer dependency requirement on type-fest (#257, c02018a, #484)
  • Relaxed requirement on the overlay option to accept relative paths (#284)
  • Patched unstable initialisation of global scope across module boundaries (#290, #369, #464, #505)
  • Patched quote escaping in injected runtime code (#306)
  • Invalidate updates outside of Refresh boundary for consistency (#307)
  • Properly throw when an ambiguous entrypoint is received while using Webpack 4 (#320)
  • Fixed overlay script source detection for WDS when no src is found (#331)
  • Fixed possible Stack Overflow through self-referencing (#370, #380)
  • Relaxed errors on HMR not found to not crash JS parsing (#371)
  • Ensure overlay code won't run if disabled (#374)
  • Relaxed peer dependency requirement on @types/webpack (#414)
  • Fixed compiler error overlay crashes when messages are empty (#462)
  • Swapped ansi-html to ansi-html-community to fix ReDoS vulnerability (#501)

Internal

  • More stable testing infrastructure (#234)
  • Run tests by default on Webpack 5 (#440)
  • Rewrite documentation and fix outstanding issues (#283, #291, #311, #376, #480, #497, #499)
  • Added documentation on community plugins: react-refresh-typescript and swc (#248, fbe1f27, #450)
pmmmwh
published 0.5.0-rc.6 •

pmmmwh
published 0.5.0-rc.5 •

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