refactor: migrate legacy wire namespace to wrn
Quality / quality (ubuntu-latest) (push) Failing after 9m49s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
2026-08-12 18:51:15 +05:30
parent ec23dd4c93
commit 2c960fc1dc
488 changed files with 27306 additions and 19063 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ component OptimizedImage {
decoding='{decoding}'
fetchpriority='{fetchpriority}'
style='object-fit:{objectFit};background-image:{placeholder ? "url(" + placeholder + ")" : "none"};background-size:cover'
class='wire-next wire-next--color-{color} wire-next--size-{size} max-w-full {rounded ? "rounded-[var(--wire-radius-sm)]" : ""} {class}'
class='wrn-next wrn-next--color-{color} wrn-next--size-{size} max-w-full {rounded ? "rounded-[var(--wrn-radius-sm)]" : ""} {class}'
@load='output.load({ sourceEvent: event, src: src })'
@error='output.error({ sourceEvent: event, src: src })'
/>
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@wrnexus/image",
"version": "0.8.8",
"version": "0.8.9",
"type": "module",
"description": "Responsive image planning, secure remote image policies, and performance auditing for WRNexusJS.",
"main": "./src/index.ts",
+1 -1
View File
@@ -24,7 +24,7 @@ describe("image package kit", () => {
test("requires HTTPS CDN endpoints and safe placeholder colors", () => {
expect(() => createCdnImageLoader("http://images.example.test")).toThrow();
expect(() => createBlurPlaceholder({ color: 'url("javascript:alert(1)")' })).toThrow();
expect(createBlurPlaceholder({ color: "#fff", accent: "var(--wire-color-surface)" })).toMatch(
expect(createBlurPlaceholder({ color: "#fff", accent: "var(--wrn-color-surface)" })).toMatch(
/^data:image\/svg\+xml/,
);
});