Add JS-CATCH-FALLBACK-01 rule and update npm packages
Add PHP-ALIAS-01 rule: prohibit field aliasing in serialization 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
20
node_modules/webpack/hot/lazy-compilation-web.js
generated
vendored
Executable file → Normal file
20
node_modules/webpack/hot/lazy-compilation-web.js
generated
vendored
Executable file → Normal file
@@ -1,7 +1,7 @@
|
||||
/* global __resourceQuery */
|
||||
|
||||
"use strict";
|
||||
|
||||
/* global __resourceQuery */
|
||||
|
||||
if (typeof EventSource !== "function") {
|
||||
throw new Error(
|
||||
"Environment doesn't support lazy compilation (requires EventSource)"
|
||||
@@ -54,15 +54,18 @@ var updateEventSource = function updateEventSource() {
|
||||
exports.keepAlive = function (options) {
|
||||
var data = options.data;
|
||||
var onError = options.onError;
|
||||
var active = options.active;
|
||||
var module = options.module;
|
||||
|
||||
errorHandlers.add(onError);
|
||||
|
||||
var value = activeKeys.get(data) || 0;
|
||||
|
||||
activeKeys.set(data, value + 1);
|
||||
|
||||
if (value === 0) {
|
||||
updateEventSource();
|
||||
}
|
||||
if (!active && !module.hot) {
|
||||
|
||||
if (!options.active && !options.module.hot) {
|
||||
console.log(
|
||||
"Hot Module Replacement is not enabled. Waiting for process restart..."
|
||||
);
|
||||
@@ -81,3 +84,10 @@ exports.keepAlive = function (options) {
|
||||
}, 1000);
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value new url value
|
||||
*/
|
||||
exports.setUrl = function (value) {
|
||||
urlBase = value;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user