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

@rspack/plugin-react-refresh

Package Overview
Dependencies
Maintainers
1
Versions
560
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rspack/plugin-react-refresh - npm Package Compare versions

Comparing version 0.3.6 to 0.3.7

6

package.json
{
"name": "@rspack/plugin-react-refresh",
"version": "0.3.6",
"version": "0.3.7",
"license": "MIT",

@@ -32,4 +32,4 @@ "description": "React refresh plugin for rspack",

"react-refresh": "0.14.0",
"@rspack/core": "0.3.6",
"@rspack/plugin-react-refresh": "0.3.6"
"@rspack/core": "0.3.7",
"@rspack/plugin-react-refresh": "0.3.7"
},

@@ -36,0 +36,0 @@ "peerDependencies": {

@@ -47,2 +47,6 @@ const path = require("path");

}
/**
* @param {import("@rspack/core").Compiler} compiler
*/
apply(compiler) {

@@ -63,2 +67,8 @@ new compiler.webpack.EntryPlugin(compiler.context, reactRefreshEntryPath, {

});
const refreshPath = path.dirname(require.resolve("react-refresh"));
compiler.options.resolve.alias = {
"react-refresh": refreshPath,
...compiler.options.resolve.alias
};
}

@@ -65,0 +75,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