Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump postcss from 7.0.26 to 7.0.39 #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 青いほしぞら
Copyright (c) 2023 青いほしぞら

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7,090 changes: 177 additions & 6,913 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "github-events-ext-userscript",
"title": "Github events",
"version": "1.0.13",
"version": "1.0.14",
"description": "A Userscript extension that shows GitHub activity events in sidebar and improves several UI details.",
"main": "index.js",
"scripts": {
Expand All @@ -14,6 +14,7 @@
"url": "git+https://github.com/Aoi-hosizora/GithubEventsExt_Userscript.git"
},
"author": "Aoi-hosizora",
"copyright": "Copyright © 2020-2023 Aoi-hosizora",
"license": "MIT",
"bugs": {
"url": "https://github.com/Aoi-hosizora/GithubEventsExt_Userscript/issues"
Expand Down
7 changes: 4 additions & 3 deletions src/etc/banner.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
// @description @@description
// @namespace https://github.com/
// @match http*://github.com/*
// @copyright 2020+, @@author
// @copyright @@copyright
//
// @downloadURL https://github.com/Aoi-hosizora/GithubEventsExt_Userscript/raw/master/dist/github-events.user.js <!-- TODO check how to upgrade this userscript -->
// @updateURL https://github.com/Aoi-hosizora/GithubEventsExt_Userscript/raw/master/src/etc/banner.js
// @downloadURL https://github.com/Aoi-hosizora/GithubEventsExt_Userscript/raw/master/dist/github-events.user.js
// @updateURL https://github.com/Aoi-hosizora/GithubEventsExt_Userscript/raw/master/dist/github-events.user.js
// @supportURL https://github.com/Aoi-hosizora/GithubEventsExt_Userscript
// @icon https://github.com/Aoi-hosizora/GithubEventsExt_Userscript/raw/master/public/img/icon16.png
// @icon64 https://github.com/Aoi-hosizora/GithubEventsExt_Userscript/raw/master/public/img/icon32.png
//
Expand Down
5 changes: 0 additions & 5 deletions src/etc/banner.temp.js

This file was deleted.

3 changes: 2 additions & 1 deletion src/ts/sidebar_ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function formatInfoToLi(item: EventInfo): string {
const createAt = moment(new Date(item.createdAt));
const displayCreateAt = createAt.format('YY/MM/DD HH:mm:ss');
const fullCreateAt = `${createAt.format('YYYY/MM/DD dddd, HH:mm:ss')} (${createAt.fromNow()})`;
return `
var html = `
<li>
<div class="ah-content-header">
<!-- ////// Avatar | Username | Event icon ////// -->
Expand All @@ -45,6 +45,7 @@ export function formatInfoToLi(item: EventInfo): string {
</div>
</li>
`;
return html.replaceAll(/<!--[\s\S]+?-->/, '');
}

/**
Expand Down
1 change: 1 addition & 0 deletions src/ts/ui_events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ function processMenuSwitchers() {
updateUIAndRegisterEvent($('#ahid-setup-user-counter'), StorageFlag.SHOW_USER_PRIVATE_COUNTER);
updateUIAndRegisterEvent($('#ahid-setup-repo-counter'), StorageFlag.SHOW_REPO_ACTION_COUNTER);
updateUIAndRegisterEvent($('#ahid-setup-repo-size'), StorageFlag.SHOW_REPO_AND_CONTENTS_SIZE);
updateUIAndRegisterEvent($('#ahid-setup-blank-target'), StorageFlag.USE_BLANK_TARGET);
}

// =========================
Expand Down