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

@rspack/plugin-react-refresh

Package Overview
Dependencies
Maintainers
2
Versions
558
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 1.0.0-alpha.4 to 1.0.0-alpha.5

6

dist/index.js

@@ -5,3 +5,3 @@ "use strict";

};
const path_1 = __importDefault(require("path"));
const node_path_1 = __importDefault(require("node:path"));
const options_1 = require("./options");

@@ -13,3 +13,3 @@ const getAdditionalEntries_1 = require("./utils/getAdditionalEntries");

const refreshUtilsPath = require.resolve("../client/refreshUtils.js");
const refreshRuntimeDirPath = path_1.default.dirname(require.resolve("react-refresh", {
const refreshRuntimeDirPath = node_path_1.default.dirname(require.resolve("react-refresh", {
paths: [reactRefreshPath]

@@ -91,3 +91,3 @@ }));

new compiler.webpack.ProvidePlugin(providedModules).apply(compiler);
const refreshPath = path_1.default.dirname(require.resolve("react-refresh"));
const refreshPath = node_path_1.default.dirname(require.resolve("react-refresh"));
compiler.options.resolve.alias = {

@@ -94,0 +94,0 @@ "react-refresh": refreshPath,

{
"name": "@rspack/plugin-react-refresh",
"version": "1.0.0-alpha.4",
"version": "1.0.0-alpha.5",
"license": "MIT",

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

"react-refresh": "0.14.0",
"@rspack/core": "1.0.0-alpha.4",
"@rspack/plugin-react-refresh": "1.0.0-alpha.4"
"@rspack/core": "1.0.0-alpha.5",
"@rspack/plugin-react-refresh": "1.0.0-alpha.5"
},

@@ -37,0 +37,0 @@ "dependencies": {

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