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

@parcel/transformer-react-refresh-wrap

Package Overview
Dependencies
Maintainers
1
Versions
895
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parcel/transformer-react-refresh-wrap - npm Package Compare versions

Comparing version 2.0.0-canary.1776 to 2.0.0-canary.1777

4

lib/helpers/helpers.js

@@ -45,6 +45,6 @@ "use strict";

if (typeof window !== 'undefined') {
let ErrorOverlay = require('react-error-overlay');
let ErrorOverlay = require('@parcel/error-overlay');
ErrorOverlay.setEditorHandler(function (errorLocation) {
let file = `${errorLocation.fileName}:${errorLocation.lineNumber || 1}:${errorLocation.colNumber || 1}`;
fetch(`/__parcel_launch_editor?file=${encodeURIComponent(file)}`);
fetch(import.meta.devServer + `/__parcel_launch_editor?file=${encodeURIComponent(file)}`);
});

@@ -51,0 +51,0 @@ ErrorOverlay.startReportingRuntimeErrors({

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

if (map) {
map.offsetLines(1, 6);
map.offsetLines(1, 7);
asset.setMap(map);

@@ -55,0 +55,0 @@ }

{
"name": "@parcel/transformer-react-refresh-wrap",
"version": "2.0.0-canary.1776+53633df12",
"version": "2.0.0-canary.1777+2e67b94b7",
"license": "MIT",

@@ -20,11 +20,11 @@ "publishConfig": {

"node": ">= 16.0.0",
"parcel": "^2.0.0-canary.1774+53633df12"
"parcel": "^2.0.0-canary.1775+2e67b94b7"
},
"dependencies": {
"@parcel/plugin": "2.0.0-canary.1776+53633df12",
"@parcel/utils": "2.0.0-canary.1776+53633df12",
"react-error-overlay": "6.0.9",
"@parcel/error-overlay": "2.13.4-canary.3400+2e67b94b7",
"@parcel/plugin": "2.0.0-canary.1777+2e67b94b7",
"@parcel/utils": "2.0.0-canary.1777+2e67b94b7",
"react-refresh": ">=0.9 <=0.16"
},
"gitHead": "53633df12ad9bba5d6ed5360e935fde8de0342fe"
"gitHead": "2e67b94b7ea7fda6069793cad506e4375d9ac8b3"
}

@@ -46,3 +46,3 @@ var Refresh = require('react-refresh/runtime');

if (typeof window !== 'undefined') {
let ErrorOverlay = require('react-error-overlay');
let ErrorOverlay = require('@parcel/error-overlay');
ErrorOverlay.setEditorHandler(function editorHandler(errorLocation) {

@@ -52,3 +52,6 @@ let file = `${errorLocation.fileName}:${

}:${errorLocation.colNumber || 1}`;
fetch(`/__parcel_launch_editor?file=${encodeURIComponent(file)}`);
fetch(
import.meta.devServer +
`/__parcel_launch_editor?file=${encodeURIComponent(file)}`,
);
});

@@ -55,0 +58,0 @@

@@ -59,3 +59,3 @@ // @flow

if (map) {
map.offsetLines(1, 6);
map.offsetLines(1, 7);
asset.setMap(map);

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