Skip to content

Commit

Permalink
deploy: 9cd5d1b
Browse files Browse the repository at this point in the history
  • Loading branch information
avindra committed Mar 9, 2024
1 parent 68c0f32 commit 1a163bd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ggpht.com/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ const S = /s\d+-([cp])/;
if (!location.href.includes("4096")) {
const dest = location.href.replace(S, "s4096-$1");
if (dest !== location.href) {
location.href = dest;
location.replace(dest);
}

const dest2 = location.href.replace(/w\d+-h\d+/, "w4096");
if (dest2 !== location.href) {
location.href = dest2;
location.replace(dest2);
}
}
5 changes: 5 additions & 0 deletions npmjs.com/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,10 @@ if (repos) {
list.append(
listItem("Packagephobia", `https://packagephobia.com/result?p=${pkg}`),
);

list.append(
listItem("pkg-size.dev", `https://pkg-size.dev/${pkg}`)
);

repos.parentNode.append(list);
}

0 comments on commit 1a163bd

Please sign in to comment.