@react-native-community/cli-debugger-ui
Advanced tools
Comparing version 14.0.0-alpha.5 to 14.0.0-alpha.6
"use strict"; | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -22,2 +21,3 @@ value: true | ||
} | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function debuggerUIMiddleware() { | ||
@@ -24,0 +24,0 @@ return (0, _serveStatic().default)(_path().default.join(__dirname, '..', 'ui'), { |
"use strict"; | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
require("./index.css"); | ||
@@ -8,2 +7,3 @@ var _blueIcon = _interopRequireDefault(require("./assets/blue-icon.png")); | ||
var _orangeIcon = _interopRequireDefault(require("./assets/orange-icon.png")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
/** | ||
@@ -110,3 +110,4 @@ * Copyright (c) Facebook, Inc. and its affiliates. | ||
// document, to make it consistent with the JSC executor environment. | ||
worker = new Worker('./debuggerWorker.js'); | ||
const url = new URL('./debuggerWorker.js', import.meta.url); | ||
worker = new Worker(url); | ||
worker.onmessage = function (message) { | ||
@@ -113,0 +114,0 @@ ws.send(JSON.stringify(message.data)); |
{ | ||
"name": "@react-native-community/cli-debugger-ui", | ||
"version": "14.0.0-alpha.5", | ||
"version": "14.0.0-alpha.6", | ||
"license": "MIT", | ||
"main": "./build/middleware", | ||
"main": "build/middleware/index.js", | ||
"targets": { | ||
"main": false | ||
}, | ||
"scripts": { | ||
"build": "yarn build:ui && yarn build:middleware", | ||
"build:ui": "parcel build --no-content-hash src/ui/index.html --out-dir build/ui --public-url '/debugger-ui'", | ||
"build:ui": "parcel build --no-cache --no-content-hash src/ui/index.html --dist-dir build/ui --public-url '/debugger-ui'", | ||
"build:middleware": "tsc" | ||
@@ -17,8 +20,5 @@ }, | ||
"devDependencies": { | ||
"@babel/core": "^7.6.4", | ||
"@babel/plugin-transform-runtime": "^7.6.2", | ||
"parcel-bundler": "^1.12.5" | ||
"parcel": "^2.12.0" | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "^7.8.4", | ||
"serve-static": "^1.13.1" | ||
@@ -32,3 +32,3 @@ }, | ||
}, | ||
"gitHead": "0bcdb73b48fd9c8755b5031326fc0f93bbe69789" | ||
"gitHead": "3e225892eedc9335ad7dc8c64a4014939d2838a5" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
1
1
1
0
0
264779
26
391
- Removed@babel/runtime@^7.8.4
- Removed@babel/runtime@7.26.0(transitive)
- Removedregenerator-runtime@0.14.1(transitive)