update: composer dependencies

This commit is contained in:
HDVinnie
2025-03-09 00:19:21 -05:00
parent c5b3004d89
commit 65eaa32bd6
4 changed files with 634 additions and 634 deletions
+25 -25
View File
@@ -15,53 +15,53 @@
"ext-zend-opcache": "*",
"ext-zip": "*",
"assada/laravel-achievements": "^2.7",
"bjeavons/zxcvbn-php": "^1.4.1",
"bjeavons/zxcvbn-php": "^1.4.2",
"doctrine/dbal": "^3.9.4",
"gabrielelana/byte-units": "^0.5.0",
"graham-campbell/markdown": "^15.2",
"graham-campbell/markdown": "^15.3",
"guzzlehttp/guzzle": "^7.9.2",
"hdvinnie/laravel-joypixel-emojis": "^v3.0.0",
"hdvinnie/laravel-security-headers": "^v3.0.0",
"hdvinnie/laravel-joypixel-emojis": "^3.0.1",
"hdvinnie/laravel-security-headers": "^3.0.1",
"intervention/image": "^2.7.2",
"joypixels/assets": "^v7.0.1",
"laravel/fortify": "1.20.0",
"laravel/framework": "^11.44.0",
"laravel/octane": "^2.6.0",
"laravel/scout": "^10.12.0",
"laravel/tinker": "^2.10.0",
"livewire/livewire": "^3.5.18",
"laravel/framework": "^11.44.1",
"laravel/octane": "^2.8.1",
"laravel/scout": "^10.13.1",
"laravel/tinker": "^2.10.1",
"livewire/livewire": "^3.6.1",
"marcreichel/igdb-laravel": "^4.3.0",
"meilisearch/meilisearch-php": "^1.12.0",
"meilisearch/meilisearch-php": "^1.13.0",
"nesbot/carbon": "^2.73.0",
"paragonie/constant_time_encoding": "^2.7.0",
"resend/resend-laravel": "^0.14.0",
"spatie/laravel-backup": "^8.8.2",
"spatie/laravel-cookie-consent": "^3.3.2",
"spatie/laravel-image-optimizer": "^1.8.0",
"spatie/ssl-certificate": "^2.6.8",
"symfony/dom-crawler": "^6.4.16",
"spatie/laravel-cookie-consent": "^3.3.3",
"spatie/laravel-image-optimizer": "^1.8.2",
"spatie/ssl-certificate": "^2.6.9",
"symfony/dom-crawler": "^6.4.19",
"theodorejb/polycast": "dev-master",
"vstelmakh/url-highlight": "^3.1.1"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.14.10",
"barryvdh/laravel-debugbar": "^3.15.2",
"brianium/paratest": "^7.7",
"calebdw/larastan": "^3.1.7",
"calebdw/larastan": "^3.1.8",
"calebdw/larastan-livewire": "^2.1.0",
"fakerphp/faker": "^1.24.1",
"jasonmccreary/laravel-test-assertions": "^2.4.1",
"jasonmccreary/laravel-test-assertions": "^2.6.0",
"laravel/pint": "v1.20.0",
"laravel/sail": "^1.40.0",
"laravel/sail": "^1.41.0",
"mockery/mockery": "^1.6.12",
"nunomaduro/collision": "^8.5.0",
"pestphp/pest": "^3.7.2",
"pestphp/pest-plugin-laravel": "^3.0",
"nunomaduro/collision": "^8.6.1",
"pestphp/pest": "^3.7.4",
"pestphp/pest-plugin-laravel": "^3.1",
"pestphp/pest-plugin-livewire": "^3.0",
"phpstan/phpstan": "^2.1.6",
"phpstan/phpstan": "^2.1.7",
"phpunit/phpunit": "^11.5.3",
"ryoluo/sail-ssl": "^1.3.2",
"spatie/laravel-ignition": "^2.9.0",
"tomasvotruba/bladestan": "^0.11.0"
"ryoluo/sail-ssl": "^1.4.0",
"spatie/laravel-ignition": "^2.9.1",
"tomasvotruba/bladestan": "^0.11.1"
},
"config": {
"preferred-install": "dist",
Generated
+512 -605
View File
File diff suppressed because it is too large Load Diff
+96 -3
View File
@@ -4363,6 +4363,7 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
"on": "$on",
"el": "$el",
"id": "$id",
"js": "$js",
"get": "$get",
"set": "$set",
"call": "$call",
@@ -4434,6 +4435,14 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
wireProperty("$id", (component) => {
return component.id;
});
wireProperty("$js", (component) => {
let fn = component.addJsAction.bind(component);
let jsActions = component.getJsActions();
Object.keys(jsActions).forEach((name) => {
fn[name] = component.getJsAction(name);
});
return fn;
});
wireProperty("$set", (component) => async (property, value, live = true) => {
dataSet(component.reactive, property, value);
if (live) {
@@ -4529,6 +4538,7 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
this.ephemeral = extractData(deepClone(this.snapshot.data));
this.reactive = Alpine.reactive(this.ephemeral);
this.queuedUpdates = {};
this.jsActions = {};
this.$wire = generateWireObject(this, this.reactive);
this.cleanups = [];
this.processEffects(this.effects);
@@ -4604,6 +4614,18 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
}
el.setAttribute("wire:effects", JSON.stringify(effects));
}
addJsAction(name, action) {
this.jsActions[name] = action;
}
hasJsAction(name) {
return this.jsActions[name] !== void 0;
}
getJsAction(name) {
return this.jsActions[name].bind(this.$wire);
}
getJsActions() {
return this.jsActions;
}
addCleanup(cleanup2) {
this.cleanups.push(cleanup2);
}
@@ -7715,6 +7737,7 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
];
function swapCurrentPageWithNewHtml(html, andThen) {
let newDocument = new DOMParser().parseFromString(html, "text/html");
let newHtml = newDocument.documentElement;
let newBody = document.adoptNode(newDocument.body);
let newHead = document.adoptNode(newDocument.head);
oldBodyScriptTagHashes = oldBodyScriptTagHashes.concat(Array.from(document.body.querySelectorAll("script")).map((i) => {
@@ -7722,6 +7745,7 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
}));
let afterRemoteScriptsHaveLoaded = () => {
};
replaceHtmlAttributes(newHtml);
mergeNewHead(newHead).finally(() => {
afterRemoteScriptsHaveLoaded();
});
@@ -7741,6 +7765,21 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
i.replaceWith(cloneScriptTag(i));
});
}
function replaceHtmlAttributes(newHtmlElement) {
let currentHtmlElement = document.documentElement;
Array.from(newHtmlElement.attributes).forEach((attr) => {
const name = attr.name;
const value = attr.value;
if (currentHtmlElement.getAttribute(name) !== value) {
currentHtmlElement.setAttribute(name, value);
}
});
Array.from(currentHtmlElement.attributes).forEach((attr) => {
if (!newHtmlElement.hasAttribute(attr.name)) {
currentHtmlElement.removeAttribute(attr.name);
}
});
}
function mergeNewHead(newHead) {
let children = Array.from(document.head.children);
let headChildrenHtmlLookup = children.map((i) => i.outerHTML);
@@ -8861,7 +8900,7 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
onlyIfScriptHasntBeenRunAlreadyForThisComponent(component, key, () => {
let scriptContent = extractScriptTagContent(content);
module_default.dontAutoEvaluateFunctions(() => {
module_default.evaluate(component.el, scriptContent, { "$wire": component.$wire });
module_default.evaluate(component.el, scriptContent, { "$wire": component.$wire, "$js": component.$wire.$js });
});
});
});
@@ -8933,6 +8972,10 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
}
// js/features/supportJsEvaluation.js
module_default.magic("js", (el) => {
let component = closestComponent(el);
return component.$wire.js;
});
on2("effect", ({ component, effects }) => {
let js = effects.js;
let xjs = effects.xjs;
@@ -8944,8 +8987,9 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
});
}
if (xjs) {
xjs.forEach((expression) => {
module_default.evaluate(component.el, expression);
xjs.forEach(({ expression, params }) => {
params = Object.values(params);
module_default.evaluate(component.el, expression, { scope: component.jsActions, params });
});
}
});
@@ -9411,6 +9455,14 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
el.__addedByMorph = true;
});
directive2("transition", ({ el, directive: directive3, component, cleanup: cleanup2 }) => {
for (let i = 0; i < el.attributes.length; i++) {
if (el.attributes[i].name.startsWith("wire:show")) {
module_default.bind(el, {
[directive3.rawName.replace("wire:transition", "x-transition")]: directive3.expression
});
return;
}
}
let visibility = module_default.reactive({ state: el.__addedByMorph ? false : true });
module_default.bind(el, {
[directive3.rawName.replace("wire:", "x-")]: "",
@@ -9545,8 +9597,10 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
let refreshCurrent = (url) => {
if (pathMatches(hrefUrl, url, options)) {
el.classList.add(...classes);
el.setAttribute("data-current", "");
} else {
el.classList.remove(...classes);
el.removeAttribute("data-current");
}
};
refreshCurrent(new URL(window.location.href));
@@ -9839,6 +9893,13 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
}
});
// js/directives/wire-cloak.js
module_default.interceptInit((el) => {
if (el.hasAttribute("wire:cloak")) {
module_default.mutateDom(() => el.removeAttribute("wire:cloak"));
}
});
// js/directives/wire-dirty.js
var refreshDirtyStatesByComponent = new WeakBag();
on2("commit", ({ component, succeed }) => {
@@ -10069,6 +10130,38 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
return durationInMilliSeconds || defaultDuration;
}
// js/directives/wire-show.js
module_default.interceptInit((el) => {
for (let i = 0; i < el.attributes.length; i++) {
if (el.attributes[i].name.startsWith("wire:show")) {
let { name, value } = el.attributes[i];
let modifierString = name.split("wire:show")[1];
let expression = value.startsWith("!") ? "!$wire." + value.slice(1).trim() : "$wire." + value.trim();
module_default.bind(el, {
["x-show" + modifierString]() {
return module_default.evaluate(el, expression);
}
});
}
}
});
// js/directives/wire-text.js
module_default.interceptInit((el) => {
for (let i = 0; i < el.attributes.length; i++) {
if (el.attributes[i].name.startsWith("wire:text")) {
let { name, value } = el.attributes[i];
let modifierString = name.split("wire:text")[1];
let expression = value.startsWith("!") ? "!$wire." + value.slice(1).trim() : "$wire." + value.trim();
module_default.bind(el, {
["x-text" + modifierString]() {
return module_default.evaluate(el, expression);
}
});
}
}
});
// js/index.js
var Livewire2 = {
directive: directive2,
+1 -1
View File
@@ -1,2 +1,2 @@
{"/livewire.js":"951e6947"}
{"/livewire.js":"65f3e655"}