Socket
Socket
Sign inDemoInstall

@pmmmwh/react-refresh-webpack-plugin

Package Overview
Dependencies
361
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.11 to 0.5.12

CHANGELOG.md

20

package.json
{
"name": "@pmmmwh/react-refresh-webpack-plugin",
"version": "0.5.11",
"version": "0.5.12",
"description": "An **EXPERIMENTAL** Webpack plugin to enable \"Fast Refresh\" (also previously known as _Hot Reloading_) for React components.",

@@ -102,11 +102,12 @@ "keywords": [

"type-fest": "^4.0.0",
"typescript": "~5.1.6",
"typescript": "~5.4.5",
"webpack": "^5.76.0",
"webpack-cli": "^4.7.2",
"webpack-cli.legacy": "npm:webpack-cli@3.x",
"webpack-dev-server": "^4.2.1",
"webpack-dev-server.legacy": "npm:webpack-dev-server@3.x",
"webpack-cli": "^5.1.4",
"webpack-cli-v4": "npm:webpack-cli@4.x",
"webpack-dev-server": "^5.0.4",
"webpack-dev-server-v3": "npm:webpack-dev-server@3.x",
"webpack-dev-server-v4": "npm:webpack-dev-server@4.x",
"webpack-hot-middleware": "^2.25.0",
"webpack-plugin-serve": "^1.4.1",
"webpack.legacy": "npm:webpack@4.x",
"webpack-v4": "npm:webpack@4.x",
"yalc": "^1.0.0-pre.53",

@@ -121,3 +122,3 @@ "yn": "^4.0.0"

"webpack": ">=4.43.0 <6.0.0",
"webpack-dev-server": "3.x || 4.x",
"webpack-dev-server": "3.x || 4.x || 5.x",
"webpack-hot-middleware": "2.x",

@@ -151,3 +152,4 @@ "webpack-plugin-serve": "0.x || 1.x"

"node": ">= 10.13"
}
},
"packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
}

@@ -106,6 +106,8 @@ const getCurrentScriptSource = require('./getCurrentScriptSource.js');

// since otherwise we risk creating an invalid URL.
// We also do this when 'https' is used as it mandates the use of secure sockets.
// We also do this when no sockProtocol was passed to the config and 'https' is used,
// as it mandates the use of secure sockets.
if (
!urlParts.protocol ||
(urlParts.hostname && (isEmptyHostname || window.location.protocol === 'https:'))
(urlParts.hostname &&
(isEmptyHostname || (!resourceQuery && window.location.protocol === 'https:')))
) {

@@ -112,0 +114,0 @@ urlParts.protocol = window.location.protocol;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc