Socket
Socket
Sign inDemoInstall

mv3-hot-reload

Package Overview
Dependencies
20
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.3 to 0.2.4

2

out/src/content.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const utils_1 = require("./utils");
const ws = new WebSocket(`ws://localhost:${utils_1.PORT}`);
if (utils_1.isDev) {
const ws = new WebSocket(`ws://localhost:${utils_1.PORT}`);
ws.addEventListener('message', (event) => {

@@ -7,0 +7,0 @@ if (event.data === utils_1.Message.FileChange) {

{
"name": "mv3-hot-reload",
"version": "0.2.3",
"version": "0.2.4",
"description": "Enable hot reloading for content script and background script in MV3.",

@@ -23,5 +23,5 @@ "bin": "./out/bin/mv3-hot-reload.js",

"files": [
"out",
"content.js",
"background.js"
"./out/**",
"./content.js",
"./background.js"
],

@@ -28,0 +28,0 @@ "devDependencies": {

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