Enhance refactor commands with controller-aware Route() updates and fix code quality violations
Add semantic token highlighting for 'that' variable and comment file references in VS Code extension Add Phone_Text_Input and Currency_Input components with formatting utilities Implement client widgets, form standardization, and soft delete functionality Add modal scroll lock and update documentation Implement comprehensive modal system with form integration and validation Fix modal component instantiation using jQuery plugin API Implement modal system with responsive sizing, queuing, and validation support Implement form submission with validation, error handling, and loading states Implement country/state selectors with dynamic data loading and Bootstrap styling Revert Rsx::Route() highlighting in Blade/PHP files Target specific PHP scopes for Rsx::Route() highlighting in Blade Expand injection selector for Rsx::Route() highlighting Add custom syntax highlighting for Rsx::Route() and Rsx.Route() calls Update jqhtml packages to v2.2.165 Add bundle path validation for common mistakes (development mode only) Create Ajax_Select_Input widget and Rsx_Reference_Data controller Create Country_Select_Input widget with default country support Initialize Tom Select on Select_Input widgets Add Tom Select bundle for enhanced select dropdowns Implement ISO 3166 geographic data system for country/region selection Implement widget-based form system with disabled state support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
27
node_modules/playwright/lib/transform/compilationCache.js
generated
vendored
27
node_modules/playwright/lib/transform/compilationCache.js
generated
vendored
@@ -49,6 +49,7 @@ module.exports = __toCommonJS(compilationCache_exports);
|
||||
var import_fs = __toESM(require("fs"));
|
||||
var import_os = __toESM(require("os"));
|
||||
var import_path = __toESM(require("path"));
|
||||
var import_utils = require("playwright-core/lib/utils");
|
||||
var import_globals = require("../common/globals");
|
||||
var import_utilsBundle = require("../utilsBundle");
|
||||
const cacheDir = process.env.PWTEST_CACHE_DIR || (() => {
|
||||
@@ -90,7 +91,7 @@ function _innerAddToCompilationCacheAndSerialize(filename, entry) {
|
||||
externalDependencies: []
|
||||
};
|
||||
}
|
||||
function getFromCompilationCache(filename, hash, moduleUrl) {
|
||||
function getFromCompilationCache(filename, contentHash, moduleUrl) {
|
||||
const cache = memoryCache.get(filename);
|
||||
if (cache?.codePath) {
|
||||
try {
|
||||
@@ -98,7 +99,10 @@ function getFromCompilationCache(filename, hash, moduleUrl) {
|
||||
} catch {
|
||||
}
|
||||
}
|
||||
const cachePath = calculateCachePath(filename, hash);
|
||||
const filePathHash = calculateFilePathHash(filename);
|
||||
const hashPrefix = filePathHash + "_" + contentHash.substring(0, 7);
|
||||
const cacheFolderName = filePathHash.substring(0, 2);
|
||||
const cachePath = calculateCachePath(filename, cacheFolderName, hashPrefix);
|
||||
const codePath = cachePath + ".js";
|
||||
const sourceMapPath = cachePath + ".map";
|
||||
const dataPath = cachePath + ".data";
|
||||
@@ -112,6 +116,7 @@ function getFromCompilationCache(filename, hash, moduleUrl) {
|
||||
addToCache: (code, map, data) => {
|
||||
if ((0, import_globals.isWorkerProcess)())
|
||||
return {};
|
||||
clearOldCacheEntries(cacheFolderName, filePathHash);
|
||||
import_fs.default.mkdirSync(import_path.default.dirname(cachePath), { recursive: true });
|
||||
if (map)
|
||||
import_fs.default.writeFileSync(sourceMapPath, JSON.stringify(map), "utf8");
|
||||
@@ -145,9 +150,21 @@ function addToCompilationCache(payload) {
|
||||
externalDependencies.set(entry[0], /* @__PURE__ */ new Set([...entry[1], ...existing]));
|
||||
}
|
||||
}
|
||||
function calculateCachePath(filePath, hash) {
|
||||
const fileName = import_path.default.basename(filePath, import_path.default.extname(filePath)).replace(/\W/g, "") + "_" + hash;
|
||||
return import_path.default.join(cacheDir, hash[0] + hash[1], fileName);
|
||||
function calculateFilePathHash(filePath) {
|
||||
return (0, import_utils.calculateSha1)(filePath).substring(0, 10);
|
||||
}
|
||||
function calculateCachePath(filePath, cacheFolderName, hashPrefix) {
|
||||
const fileName = hashPrefix + "_" + import_path.default.basename(filePath, import_path.default.extname(filePath)).replace(/\W/g, "");
|
||||
return import_path.default.join(cacheDir, cacheFolderName, fileName);
|
||||
}
|
||||
function clearOldCacheEntries(cacheFolderName, filePathHash) {
|
||||
const cachePath = import_path.default.join(cacheDir, cacheFolderName);
|
||||
try {
|
||||
const cachedRelevantFiles = import_fs.default.readdirSync(cachePath).filter((file) => file.startsWith(filePathHash));
|
||||
for (const file of cachedRelevantFiles)
|
||||
import_fs.default.rmSync(import_path.default.join(cachePath, file), { force: true });
|
||||
} catch {
|
||||
}
|
||||
}
|
||||
let depsCollector;
|
||||
function startCollectingFileDeps() {
|
||||
|
||||
Reference in New Issue
Block a user