Update readme and remove selfskip plugin (#18)

* Update readme and remove selfskip plugin

* Use relative links instead for images

* Private contributions
This commit is contained in:
Simon Lecoq
2020-12-12 12:19:20 +01:00
committed by GitHub
parent 1ef9cd3f6c
commit afb11b57f7
19 changed files with 638 additions and 532 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 292 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 88 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

710
README.md

File diff suppressed because it is too large Load Diff

View File

@@ -12,19 +12,15 @@ runs:
# Inputs # Inputs
inputs: inputs:
# Your personal token # Personal user token
# Depending on your configurations, the following rights are needed : # No additional scopes are needed, unless if you want to include private repositories metrics or use the traffic plugin
# - (none) if you're using a "commiter_token"
# - "public_repo" if you're using this token to commit and push your metrics
# - "repo" for plugins like traffic or to include your private repositories metrics
token: token:
description: GitHub Personal Token description: GitHub Personal Token
required: true required: true
# To avoid this action's commits to be counted in your stats, you can specify a bot token # Set to "${{ secrets.GITHUB_TOKEN }}"
# You must first grant push access on your personal repository to the bot account so it'll be able to push metrics
committer_token: committer_token:
description: If provided, use this token for commits description: Token used for commits
default: "" default: ""
# User to compute metrics # User to compute metrics
@@ -33,32 +29,32 @@ inputs:
description: GitHub username description: GitHub username
default: "" default: ""
# File or path to the generated metrics, relative to your repositories root # Filepath of generated metrics (relative to repository root)
filename: filename:
description: Name of SVG image output description: Path of SVG image output
default: github-metrics.svg default: github-metrics.svg
# Optimize SVG image with SVGO, to minify, remove useless attributes and spaces # Optimize SVG image with SVGO (minify and remove useless attributes and spaces)
# Some templates based on white-spaces will auto-disable this option when used # Some templates may not support this option
optimize: optimize:
description: Optimize SVG image description: Optimize SVG image
default: yes default: yes
# The number of repositories to use to compute metrics # Number of repositories to use for metrics
# A high number increase your metrics accuracy, but may consume additional requests with plugins which use the REST API # A high number increase metrics accuracy, but will consume additional API requests when using plugins
repositories: repositories:
description: Number of repositories to use to compute metrics description: Number of repositories to use
default: 100 default: 100
# The name of the template to use # Template to use
# See https://github.com/lowlighter/metrics/tree/master/src/templates for supported templates # See https://github.com/lowlighter/metrics/tree/master/src/templates for supported templates
template: template:
description: Template to use description: Template to use
default: classic default: classic
# Template base content, which are all enabled by default # Template base content
# Pass a string of comma-separated values # Pass a string of comma-separated values
# To disable everything (like if you want to use a plugin as standalone), pass an empty string as parameters # To disable everything (like if you want to use a plugin as standalone), pass an empty string
# Supported values are : # Supported values are :
# - "header" (name, commits calendar, ...) # - "header" (name, commits calendar, ...)
# - "activity" (commits, issues/pull requests opened, ...) # - "activity" (commits, issues/pull requests opened, ...)
@@ -72,7 +68,7 @@ inputs:
# Google PageSpeed plugin # Google PageSpeed plugin
# Enable it to compute the performance for the website attached to "user" # Enable it to compute the performance for the website attached to "user"
plugin_pagespeed: plugin_pagespeed:
description: Enable Google PageSpeed metrics for account attached website description: Enable Google PageSpeed metrics for user's website
default: no default: no
# Display additional PageSpeed audit metrics # Display additional PageSpeed audit metrics
@@ -80,30 +76,29 @@ inputs:
# First Contentful Paint, Speed Index, Largest Contentful Paint, Time to Interactive, Total Blocking Time, Cumulative Layout Shift # First Contentful Paint, Speed Index, Largest Contentful Paint, Time to Interactive, Total Blocking Time, Cumulative Layout Shift
# See https://web.dev/performance-scoring/ and https://googlechrome.github.io/lighthouse/scorecalc/ for more informations # See https://web.dev/performance-scoring/ and https://googlechrome.github.io/lighthouse/scorecalc/ for more informations
plugin_pagespeed_detailed: plugin_pagespeed_detailed:
description: Display additional PageSpeed audit metrics description: Display additional PageSpeed metrics
default: no default: no
# When PageSpeed plugin is enabled, it is advised to generate a token to avoid the rate-limiter # PageSpeed API token (optional, avoid hitting requests limit)
# See https://developers.google.com/speed/docs/insights/v5/get-started for more informations # See https://developers.google.com/speed/docs/insights/v5/get-started for more informations
plugin_pagespeed_token: plugin_pagespeed_token:
description: Google Pagespeed Personal Token description: Pagespeed personal token
default: "" default: ""
# Lines of code plugin # Lines of code plugin
# It'll retrieve your contributors stats and compute added/removed lines for each of your repositories # Compute added/removed line for each of you repositories from your contributors stats
plugin_lines: plugin_lines:
description: Enable lines of code metrics description: Enable lines of code metrics
default: no default: no
# Traffic plugin # Traffic plugin ("token" must have "repo" permission)
# Count views on your repositories # Count views on your repositories
# "token" must have "repo" permission
plugin_traffic: plugin_traffic:
description: Enable repositories traffic metrics description: Enable repositories traffic metrics
default: no default: no
# Coding habits plugin # Coding habits plugin
# It'll search in your recent activity what've recently did, like if you're using spaces or tabs as indents, etc. # Search in your recent activity what've recently did and deduce tidbits like if you're using spaces or tabs as indents, etc.
plugin_habits: plugin_habits:
description: Enable coding habits metrics description: Enable coding habits metrics
default: no default: no
@@ -111,30 +106,30 @@ inputs:
# Number of activity events to base habits on # Number of activity events to base habits on
# Maximum number of events is capped to 100 # Maximum number of events is capped to 100
plugin_habits_from: plugin_habits_from:
description: Number of activity events to base habits on description: Number of activity events to use
default: 100 default: 100
# Languages plugins # Languages plugins
# Compute the coding languages the most used on your repositories # Compute the most used programming languages on your repositories
plugin_languages: plugin_languages:
description: Enable most used languages metrics description: Enable most used languages metrics
default: no default: no
# Follow-up plugin # Follow-up plugin
# Display the number and the ratio of opened/closed issues and opened/merged pull requests # Display the number and the ratio of opened/closed issues and opened/merged pull requests on your repositories
plugin_followup: plugin_followup:
description: Enable owned repositories issues and pull requests metrics description: Enable owned repositories issues and pull requests metrics
default: no default: no
# Music plugin # Music plugin
# Display tracks you recently listened to or your favorite tracks # Display tracks you recently listened or your favorite tracks from a playlist
plugin_music: plugin_music:
description: Enable music description: Enable music plugin
default: no default: no
# Music provider # Music provider
# This is required in "recent" mode # Required in "recent" mode
# This is optional in "playlist" mode, in this case it will be deduced from "plugin_music_playlist" url # Optional in "playlist" mode (will be deduced from "plugin_music_playlist" url)
# Supported values are : # Supported values are :
# - "apple" for Apple Music # - "apple" for Apple Music
# - "spotify" for Spotify # - "spotify" for Spotify
@@ -155,27 +150,21 @@ inputs:
# - "playlist" : display tracks from a playlist randomly # - "playlist" : display tracks from a playlist randomly
# - "recent" : display recently played tracks # - "recent" : display recently played tracks
plugin_music_mode: plugin_music_mode:
description: Use "recent" to display recently played music and "playlist" to display tracks randomly from a given playlist (*required if music plugin is enabled) description: Use "recent" to display recently played music and "playlist" to display tracks randomly from a given playlist
default: "" default: ""
# Music playlist # Music playlist
# The embed playlist url (the one used for music player iframe) # The embed playlist url (source which is used for music player iframes)
# Will default mode to "playlist" when set # Will default "plugin_music_mode" to "playlist" when set
plugin_music_playlist: plugin_music_playlist:
description: Embed playlist url description: Embed playlist url
default: "" default: ""
# Tracks to display for music plugin # Number of tracks to display for music plugin
plugin_music_limit: plugin_music_limit:
description: Number of tracks to display description: Number of tracks to display
default: 4 default: 4
# Self-skip plugin
# If you're using your personnal account for commits, this will substract all of your commits flagged with [Skip GitHub Action]
plugin_selfskip:
description: Skip commits flagged with [Skip GitHub Action] from commits count
default: no
# Posts plugin # Posts plugin
# Display recent posts from an external source # Display recent posts from an external source
plugin_posts: plugin_posts:
@@ -187,19 +176,18 @@ inputs:
# Supported values are : # Supported values are :
# - "dev.to" for dev.to # - "dev.to" for dev.to
plugin_posts_source: plugin_posts_source:
description: Posts source description: Posts external source
default: "" default: ""
# Posts limits # Number of posts to display
# Set number of posts to display
plugin_posts_limit: plugin_posts_limit:
description: Posts limit description: Number of posts to display
default: 4 default: 4
# Isometric calendar plugin # Isometric calendar plugin
# Display an isometric view of your commits calendar, along with a few stats like current streak and average commits per day # Display an isometric view of your commits calendar along with a few stats like current streak and average commits per day
plugin_isocalendar: plugin_isocalendar:
description: Display an isometric view of your commits calendar, along with a few additional stats description: Display an isometric view of your commits calendar along with a few additional stats
default: no default: no
# Duration shown by isometric calendar plugin # Duration shown by isometric calendar plugin
@@ -208,19 +196,19 @@ inputs:
description: Set isometric calendar duration description: Set isometric calendar duration
default: half-year default: half-year
# Gists plugins # Gists plugin
# Display gists metrics # Display gists metrics
plugin_gists: plugin_gists:
description: Display gists metrics description: Display gists metrics
default: no default: no
# Topics plugins # Topics plugin
# Display starred topics # Display starred topics
plugin_topics: plugin_topics:
description: Display starred topics description: Display starred topics
default: no default: no
# Sorting method of topics # Sorting method of displayed topics
# Supported values are : # Supported values are :
# - "stars" to sort them from most starred to least starred # - "stars" to sort them from most starred to least starred
# - "activity" to sort them from most recent activity to least recent activity # - "activity" to sort them from most recent activity to least recent activity
@@ -230,33 +218,32 @@ inputs:
description: Sorting method of starred topics description: Sorting method of starred topics
default: "stars" default: "stars"
# Limit the number of topics displayed # Number of topics to display (between 1 and 20)
# Between 1 and 20
# If more topics must be displayed, they will be grouped in an ellipsis # If more topics must be displayed, they will be grouped in an ellipsis
plugin_topics_limit: plugin_topics_limit:
description: Number of starred topics to display description: Number of starred topics to display
default: 15 default: 15
# Projects plugins # Projects plugin
# Display active projects # Display active projects
plugin_projects: plugin_projects:
description: Display active projects description: Display active projects
default: no default: no
# Limit the number of projects displayed # Number of active projects to display
# Between 1 and 100 # Between 1 and 100
plugin_projects_limit: plugin_projects_limit:
description: Number of active projects to display description: Number of active projects to display
default: 4 default: 4
# Enable debug mode # Enable debug mode
# Be sure to put all secrets in your repository secrets before to avoid any leaks ! # Ensure you correctly put all sensitive informations in your repository secrets before !
debug: debug:
description: Enable debug logs description: Enable debug logs
default: no default: no
# Verify SVG after generation # Verify SVG after generation
# It tests whether SVG can be correctly parsed (used for testing) # Test whether SVG can be correctly parsed (used for testing)
verify: verify:
description: Verify SVG after genaration description: Verify SVG after genaration
default: no default: no
@@ -268,7 +255,7 @@ inputs:
default: no default: no
# When enabled, any plugins errors will throw # When enabled, any plugins errors will throw
# By default, it will still generates metrics but renders an error message # By default, metrics are still generated with an error message
plugins_errors_fatal: plugins_errors_fatal:
description: Die on plugins errors description: Die on plugins errors
default: no default: no

10
action/dist/index.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -56,7 +56,7 @@
console.log(`SVG optimization | ${optimize}`) console.log(`SVG optimization | ${optimize}`)
//GitHub user //GitHub user
let authenticated = github.context.repo.owner let authenticated
try { try {
authenticated = (await rest.users.getAuthenticated()).data.login authenticated = (await rest.users.getAuthenticated()).data.login
} }
@@ -85,7 +85,6 @@
traffic:{enabled:bool(core.getInput("plugin_traffic"))}, traffic:{enabled:bool(core.getInput("plugin_traffic"))},
pagespeed:{enabled:bool(core.getInput("plugin_pagespeed"))}, pagespeed:{enabled:bool(core.getInput("plugin_pagespeed"))},
habits:{enabled:bool(core.getInput("plugin_habits")), from:Number(core.getInput("plugin_habits_from")) || 100}, habits:{enabled:bool(core.getInput("plugin_habits")), from:Number(core.getInput("plugin_habits_from")) || 100},
selfskip:{enabled:bool(core.getInput("plugin_selfskip"))},
languages:{enabled:bool(core.getInput("plugin_languages"))}, languages:{enabled:bool(core.getInput("plugin_languages"))},
followup:{enabled:bool(core.getInput("plugin_followup"))}, followup:{enabled:bool(core.getInput("plugin_followup"))},
music:{enabled:bool(core.getInput("plugin_music"))}, music:{enabled:bool(core.getInput("plugin_music"))},

308
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{ {
"name": "metrics", "name": "metrics",
"version": "2.5.0", "version": "2.7.0-beta",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
@@ -38,36 +38,35 @@
} }
}, },
"@babel/core": { "@babel/core": {
"version": "7.12.9", "version": "7.12.10",
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.9.tgz", "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.10.tgz",
"integrity": "sha512-gTXYh3M5wb7FRXQy+FErKFAv90BnlOuNn1QkCK2lREoPAjrQCO49+HVSrFoe5uakFAF5eenS75KbO2vQiLrTMQ==", "integrity": "sha512-eTAlQKq65zHfkHZV0sIVODCPGVgoo1HdBlbSLi9CqOzuZanMv2ihzY+4paiKr1mH+XmYESMAmJ/dpZ68eN6d8w==",
"dev": true, "dev": true,
"requires": { "requires": {
"@babel/code-frame": "^7.10.4", "@babel/code-frame": "^7.10.4",
"@babel/generator": "^7.12.5", "@babel/generator": "^7.12.10",
"@babel/helper-module-transforms": "^7.12.1", "@babel/helper-module-transforms": "^7.12.1",
"@babel/helpers": "^7.12.5", "@babel/helpers": "^7.12.5",
"@babel/parser": "^7.12.7", "@babel/parser": "^7.12.10",
"@babel/template": "^7.12.7", "@babel/template": "^7.12.7",
"@babel/traverse": "^7.12.9", "@babel/traverse": "^7.12.10",
"@babel/types": "^7.12.7", "@babel/types": "^7.12.10",
"convert-source-map": "^1.7.0", "convert-source-map": "^1.7.0",
"debug": "^4.1.0", "debug": "^4.1.0",
"gensync": "^1.0.0-beta.1", "gensync": "^1.0.0-beta.1",
"json5": "^2.1.2", "json5": "^2.1.2",
"lodash": "^4.17.19", "lodash": "^4.17.19",
"resolve": "^1.3.2",
"semver": "^5.4.1", "semver": "^5.4.1",
"source-map": "^0.5.0" "source-map": "^0.5.0"
} }
}, },
"@babel/generator": { "@babel/generator": {
"version": "7.12.5", "version": "7.12.10",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.12.5.tgz", "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.12.10.tgz",
"integrity": "sha512-m16TQQJ8hPt7E+OS/XVQg/7U184MLXtvuGbCdA7na61vha+ImkyyNM/9DDA0unYCVZn3ZOhng+qz48/KBOT96A==", "integrity": "sha512-6mCdfhWgmqLdtTkhXjnIz0LcdVCd26wS2JXRtj2XY0u5klDsXBREA/pG5NVOuVnF2LUrBGNFtQkIqqTbblg0ww==",
"dev": true, "dev": true,
"requires": { "requires": {
"@babel/types": "^7.12.5", "@babel/types": "^7.12.10",
"jsesc": "^2.5.1", "jsesc": "^2.5.1",
"source-map": "^0.5.0" "source-map": "^0.5.0"
} }
@@ -84,12 +83,12 @@
} }
}, },
"@babel/helper-get-function-arity": { "@babel/helper-get-function-arity": {
"version": "7.10.4", "version": "7.12.10",
"resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.4.tgz", "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.10.tgz",
"integrity": "sha512-EkN3YDB+SRDgiIUnNgcmiD361ti+AVbL3f3Henf6dqqUyr5dMsorno0lJWJuLhDhkI5sYEpgj6y9kB8AOU1I2A==", "integrity": "sha512-mm0n5BPjR06wh9mPQaDdXWDoll/j5UpCAPl1x8fS71GHm7HA6Ua2V4ylG1Ju8lvcTOietbPNNPaSilKj+pj+Ag==",
"dev": true, "dev": true,
"requires": { "requires": {
"@babel/types": "^7.10.4" "@babel/types": "^7.12.10"
} }
}, },
"@babel/helper-member-expression-to-functions": { "@babel/helper-member-expression-to-functions": {
@@ -128,12 +127,12 @@
} }
}, },
"@babel/helper-optimise-call-expression": { "@babel/helper-optimise-call-expression": {
"version": "7.12.7", "version": "7.12.10",
"resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.12.7.tgz", "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.12.10.tgz",
"integrity": "sha512-I5xc9oSJ2h59OwyUqjv95HRyzxj53DAubUERgQMrpcCEYQyToeHA+NEcUEsVWB4j53RDeskeBJ0SgRAYHDBckw==", "integrity": "sha512-4tpbU0SrSTjjt65UMWSrUOPZTsgvPgGG4S8QSTNHacKzpS51IVWGDj0yCwyeZND/i+LSN2g/O63jEXEWm49sYQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"@babel/types": "^7.12.7" "@babel/types": "^7.12.10"
} }
}, },
"@babel/helper-replace-supers": { "@babel/helper-replace-supers": {
@@ -195,9 +194,9 @@
} }
}, },
"@babel/parser": { "@babel/parser": {
"version": "7.12.7", "version": "7.12.10",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.12.7.tgz", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.12.10.tgz",
"integrity": "sha512-oWR02Ubp4xTLCAqPRiNIuMVgNO5Aif/xpXtabhzW2HWUD47XJsAB4Zd/Rg30+XeQA3juXigV7hlquOTmwqLiwg==", "integrity": "sha512-PJdRPwyoOqFAWfLytxrWwGrAxghCgh/yTNCYciOz8QgjflA7aZhECPZAa2VUedKg2+QMWkI0L9lynh2SNmNEgA==",
"dev": true "dev": true
}, },
"@babel/template": { "@babel/template": {
@@ -212,26 +211,26 @@
} }
}, },
"@babel/traverse": { "@babel/traverse": {
"version": "7.12.9", "version": "7.12.10",
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.12.9.tgz", "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.12.10.tgz",
"integrity": "sha512-iX9ajqnLdoU1s1nHt36JDI9KG4k+vmI8WgjK5d+aDTwQbL2fUnzedNedssA645Ede3PM2ma1n8Q4h2ohwXgMXw==", "integrity": "sha512-6aEtf0IeRgbYWzta29lePeYSk+YAFIC3kyqESeft8o5CkFlYIMX+EQDDWEiAQ9LHOA3d0oHdgrSsID/CKqXJlg==",
"dev": true, "dev": true,
"requires": { "requires": {
"@babel/code-frame": "^7.10.4", "@babel/code-frame": "^7.10.4",
"@babel/generator": "^7.12.5", "@babel/generator": "^7.12.10",
"@babel/helper-function-name": "^7.10.4", "@babel/helper-function-name": "^7.10.4",
"@babel/helper-split-export-declaration": "^7.11.0", "@babel/helper-split-export-declaration": "^7.11.0",
"@babel/parser": "^7.12.7", "@babel/parser": "^7.12.10",
"@babel/types": "^7.12.7", "@babel/types": "^7.12.10",
"debug": "^4.1.0", "debug": "^4.1.0",
"globals": "^11.1.0", "globals": "^11.1.0",
"lodash": "^4.17.19" "lodash": "^4.17.19"
} }
}, },
"@babel/types": { "@babel/types": {
"version": "7.12.7", "version": "7.12.10",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.7.tgz", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.10.tgz",
"integrity": "sha512-MNyI92qZq6jrQkXvtIiykvl4WtoRrVV9MPn+ZfsoEENjiWcBQ3ZSHrkxnJWgWtLX3XXqX5hrSQ+X69wkmesXuQ==", "integrity": "sha512-sf6wboJV5mGyip2hIpDSKsr80RszPinEFjsHTalMxZAZkoQ2/2yQzxlcFN52SJqsyPfLtPmenL4g2KB3KJXPDw==",
"dev": true, "dev": true,
"requires": { "requires": {
"@babel/helper-validator-identifier": "^7.10.4", "@babel/helper-validator-identifier": "^7.10.4",
@@ -240,52 +239,57 @@
} }
}, },
"@octokit/auth-token": { "@octokit/auth-token": {
"version": "2.4.3", "version": "2.4.4",
"resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.3.tgz", "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.4.tgz",
"integrity": "sha512-fdGoOQ3kQJh+hrilc0Plg50xSfaCKOeYN9t6dpJKXN9BxhhfquL0OzoQXg3spLYymL5rm29uPeI3KEXRaZQ9zg==", "integrity": "sha512-LNfGu3Ro9uFAYh10MUZVaT7X2CnNm2C8IDQmabx+3DygYIQjs9FwzFAHN/0t6mu5HEPhxcb1XOuxdpY82vCg2Q==",
"requires": { "requires": {
"@octokit/types": "^5.0.0" "@octokit/types": "^6.0.0"
} }
}, },
"@octokit/core": { "@octokit/core": {
"version": "3.2.1", "version": "3.2.4",
"resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.2.1.tgz", "resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.2.4.tgz",
"integrity": "sha512-XfFSDDwv6tclUenS0EmB6iA7u+4aOHBT1Lz4PtQNQQg3hBbNaR/+Uv5URU+egeIuuGAiMRiDyY92G4GBOWOqDA==", "integrity": "sha512-d9dTsqdePBqOn7aGkyRFe7pQpCXdibSJ5SFnrTr0axevObZrpz3qkWm7t/NjYv5a66z6vhfteriaq4FRz3e0Qg==",
"requires": { "requires": {
"@octokit/auth-token": "^2.4.0", "@octokit/auth-token": "^2.4.4",
"@octokit/graphql": "^4.3.1", "@octokit/graphql": "^4.5.8",
"@octokit/request": "^5.4.0", "@octokit/request": "^5.4.12",
"@octokit/types": "^5.0.0", "@octokit/types": "^6.0.3",
"before-after-hook": "^2.1.0", "before-after-hook": "^2.1.0",
"universal-user-agent": "^6.0.0" "universal-user-agent": "^6.0.0"
} }
}, },
"@octokit/endpoint": { "@octokit/endpoint": {
"version": "6.0.9", "version": "6.0.10",
"resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.9.tgz", "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.10.tgz",
"integrity": "sha512-3VPLbcCuqji4IFTclNUtGdp9v7g+nspWdiCUbK3+iPMjJCZ6LEhn1ts626bWLOn0GiDb6j+uqGvPpqLnY7pBgw==", "integrity": "sha512-9+Xef8nT7OKZglfkOMm7IL6VwxXUQyR7DUSU0LH/F7VNqs8vyd7es5pTfz9E7DwUIx7R3pGscxu1EBhYljyu7Q==",
"requires": { "requires": {
"@octokit/types": "^5.0.0", "@octokit/types": "^6.0.0",
"is-plain-object": "^5.0.0", "is-plain-object": "^5.0.0",
"universal-user-agent": "^6.0.0" "universal-user-agent": "^6.0.0"
} }
}, },
"@octokit/graphql": { "@octokit/graphql": {
"version": "4.5.7", "version": "4.5.8",
"resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.5.7.tgz", "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.5.8.tgz",
"integrity": "sha512-Gk0AR+DcwIK/lK/GX+OQ99UqtenQhcbrhHHfOYlrCQe17ADnX3EKAOKRsAZ9qZvpi5MuwWm/Nm+9aO2kTDSdyA==", "integrity": "sha512-WnCtNXWOrupfPJgXe+vSmprZJUr0VIu14G58PMlkWGj3cH+KLZEfKMmbUQ6C3Wwx6fdhzVW1CD5RTnBdUHxhhA==",
"requires": { "requires": {
"@octokit/request": "^5.3.0", "@octokit/request": "^5.3.0",
"@octokit/types": "^5.0.0", "@octokit/types": "^6.0.0",
"universal-user-agent": "^6.0.0" "universal-user-agent": "^6.0.0"
} }
}, },
"@octokit/openapi-types": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-2.0.0.tgz",
"integrity": "sha512-J4bfM7lf8oZvEAdpS71oTvC1ofKxfEZgU5vKVwzZKi4QPiL82udjpseJwxPid9Pu2FNmyRQOX4iEj6W1iOSnPw=="
},
"@octokit/plugin-paginate-rest": { "@octokit/plugin-paginate-rest": {
"version": "2.6.0", "version": "2.6.2",
"resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.6.0.tgz", "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.6.2.tgz",
"integrity": "sha512-o+O8c1PqsC5++BHXfMZabRRsBIVb34tXPWyQLyp2IXq5MmkxdipS7TXM4Y9ldL1PzY9CTrCsn/lzFFJGM3oRRA==", "integrity": "sha512-3Dy7/YZAwdOaRpGQoNHPeT0VU1fYLpIUdPyvR37IyFLgd6XSij4j9V/xN/+eSjF2KKvmfIulEh9LF1tRPjIiDA==",
"requires": { "requires": {
"@octokit/types": "^5.5.0" "@octokit/types": "^6.0.1"
} }
}, },
"@octokit/plugin-request-log": { "@octokit/plugin-request-log": {
@@ -294,22 +298,22 @@
"integrity": "sha512-oTJSNAmBqyDR41uSMunLQKMX0jmEXbwD1fpz8FG27lScV3RhtGfBa1/BBLym+PxcC16IBlF7KH9vP1BUYxA+Eg==" "integrity": "sha512-oTJSNAmBqyDR41uSMunLQKMX0jmEXbwD1fpz8FG27lScV3RhtGfBa1/BBLym+PxcC16IBlF7KH9vP1BUYxA+Eg=="
}, },
"@octokit/plugin-rest-endpoint-methods": { "@octokit/plugin-rest-endpoint-methods": {
"version": "4.2.1", "version": "4.4.1",
"resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-4.2.1.tgz", "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-4.4.1.tgz",
"integrity": "sha512-QyFr4Bv807Pt1DXZOC5a7L5aFdrwz71UHTYoHVajYV5hsqffWm8FUl9+O7nxRu5PDMtB/IKrhFqTmdBTK5cx+A==", "integrity": "sha512-+v5PcvrUcDeFXf8hv1gnNvNLdm4C0+2EiuWt9EatjjUmfriM1pTMM+r4j1lLHxeBQ9bVDmbywb11e3KjuavieA==",
"requires": { "requires": {
"@octokit/types": "^5.5.0", "@octokit/types": "^6.1.0",
"deprecation": "^2.3.1" "deprecation": "^2.3.1"
} }
}, },
"@octokit/request": { "@octokit/request": {
"version": "5.4.10", "version": "5.4.12",
"resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.4.10.tgz", "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.4.12.tgz",
"integrity": "sha512-egA49HkqEORVGDZGav1mh+VD+7uLgOxtn5oODj6guJk0HCy+YBSYapFkSLFgeYj3Fr18ZULKGURkjyhkAChylw==", "integrity": "sha512-MvWYdxengUWTGFpfpefBBpVmmEYfkwMoxonIB3sUGp5rhdgwjXL1ejo6JbgzG/QD9B/NYt/9cJX1pxXeSIUCkg==",
"requires": { "requires": {
"@octokit/endpoint": "^6.0.1", "@octokit/endpoint": "^6.0.1",
"@octokit/request-error": "^2.0.0", "@octokit/request-error": "^2.0.0",
"@octokit/types": "^5.0.0", "@octokit/types": "^6.0.3",
"deprecation": "^2.0.0", "deprecation": "^2.0.0",
"is-plain-object": "^5.0.0", "is-plain-object": "^5.0.0",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
@@ -318,38 +322,39 @@
} }
}, },
"@octokit/request-error": { "@octokit/request-error": {
"version": "2.0.3", "version": "2.0.4",
"resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.0.3.tgz", "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.0.4.tgz",
"integrity": "sha512-GgD5z8Btm301i2zfvJLk/mkhvGCdjQ7wT8xF9ov5noQY8WbKZDH9cOBqXzoeKd1mLr1xH2FwbtGso135zGBgTA==", "integrity": "sha512-LjkSiTbsxIErBiRh5wSZvpZqT4t0/c9+4dOe0PII+6jXR+oj/h66s7E4a/MghV7iT8W9ffoQ5Skoxzs96+gBPA==",
"requires": { "requires": {
"@octokit/types": "^5.0.1", "@octokit/types": "^6.0.0",
"deprecation": "^2.0.0", "deprecation": "^2.0.0",
"once": "^1.4.0" "once": "^1.4.0"
} }
}, },
"@octokit/rest": { "@octokit/rest": {
"version": "18.0.9", "version": "18.0.12",
"resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-18.0.9.tgz", "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-18.0.12.tgz",
"integrity": "sha512-CC5+cIx974Ygx9lQNfUn7/oXDQ9kqGiKUC6j1A9bAVZZ7aoTF8K6yxu0pQhQrLBwSl92J6Z3iVDhGhGFgISCZg==", "integrity": "sha512-hNRCZfKPpeaIjOVuNJzkEL6zacfZlBPV8vw8ReNeyUkVvbuCvvrrx8K8Gw2eyHHsmd4dPlAxIXIZ9oHhJfkJpw==",
"requires": { "requires": {
"@octokit/core": "^3.0.0", "@octokit/core": "^3.2.3",
"@octokit/plugin-paginate-rest": "^2.2.0", "@octokit/plugin-paginate-rest": "^2.6.2",
"@octokit/plugin-request-log": "^1.0.0", "@octokit/plugin-request-log": "^1.0.2",
"@octokit/plugin-rest-endpoint-methods": "4.2.1" "@octokit/plugin-rest-endpoint-methods": "4.4.1"
} }
}, },
"@octokit/types": { "@octokit/types": {
"version": "5.5.0", "version": "6.1.1",
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.5.0.tgz", "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.1.1.tgz",
"integrity": "sha512-UZ1pErDue6bZNjYOotCNveTXArOMZQFG6hKJfOnGnulVCMcVVi7YIIuuR4WfBhjo7zgpmzn/BkPDnUXtNx+PcQ==", "integrity": "sha512-btm3D6S7VkRrgyYF31etUtVY/eQ1KzrNRqhFt25KSe2mKlXuLXJilglRC6eDA2P6ou94BUnk/Kz5MPEolXgoiw==",
"requires": { "requires": {
"@octokit/openapi-types": "^2.0.0",
"@types/node": ">= 8" "@types/node": ">= 8"
} }
}, },
"@types/node": { "@types/node": {
"version": "14.14.10", "version": "14.14.12",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.10.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.12.tgz",
"integrity": "sha512-J32dgx2hw8vXrSbu4ZlVhn1Nm3GbeCFNw2FWL8S5QKucHGY0cyNwjdQdO+KMBZ4wpmC7KhLCiNsdk1RFRIYUQQ==" "integrity": "sha512-ASH8OPHMNlkdjrEdmoILmzFfsJICvhBsFfAum4aKZ/9U4B6M6tTmTPh+f3ttWdD74CEGV5XvXWkbyfSdXaTd7g=="
}, },
"@types/q": { "@types/q": {
"version": "1.5.4", "version": "1.5.4",
@@ -502,17 +507,6 @@
"mkdirp": "^0.5.1", "mkdirp": "^0.5.1",
"util.promisify": "^1.0.0", "util.promisify": "^1.0.0",
"yargs-parser": "^10.0.0" "yargs-parser": "^10.0.0"
},
"dependencies": {
"yargs-parser": {
"version": "10.1.0",
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz",
"integrity": "sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ==",
"dev": true,
"requires": {
"camelcase": "^4.1.0"
}
}
} }
}, },
"babel-plugin-minify-builtins": { "babel-plugin-minify-builtins": {
@@ -1127,9 +1121,9 @@
}, },
"dependencies": { "dependencies": {
"domelementtype": { "domelementtype": {
"version": "2.0.2", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.0.2.tgz", "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.1.0.tgz",
"integrity": "sha512-wFwTwCVebUrMgGeAwRL/NhZtHAUyT9n9yg4IMDwf10+6iCMxSkVq9MGCVEH+QZWo1nNidy8kNvwmv4zWHDTqvA==" "integrity": "sha512-LsTgx/L5VpD+Q8lmsXSHW2WpA+eBlZ9HPf3erD1IoPF00/3JKHZ3BknUVA2QGDNu69ZNmyFmCWBSO45XjYKC5w=="
} }
} }
}, },
@@ -1557,9 +1551,9 @@
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
}, },
"ini": { "ini": {
"version": "1.3.5", "version": "1.3.8",
"resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
"integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
"dev": true "dev": true
}, },
"ipaddr.js": { "ipaddr.js": {
@@ -1572,15 +1566,6 @@
"resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz",
"integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA==" "integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA=="
}, },
"is-core-module": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.1.0.tgz",
"integrity": "sha512-YcV7BgVMRFRua2FqQzKtTDMz8iCuLEyGKjr70q8Zm1yy2qKcurbFEd79PAdHV77oL3NrAaOVQIbMmiHQCHB7ZA==",
"dev": true,
"requires": {
"has": "^1.0.3"
}
},
"is-date-object": { "is-date-object": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz",
@@ -1595,6 +1580,11 @@
"number-is-nan": "^1.0.0" "number-is-nan": "^1.0.0"
} }
}, },
"is-negative-zero": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz",
"integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w=="
},
"is-plain-object": { "is-plain-object": {
"version": "5.0.0", "version": "5.0.0",
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
@@ -1640,9 +1630,9 @@
"dev": true "dev": true
}, },
"js-yaml": { "js-yaml": {
"version": "3.14.0", "version": "3.14.1",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz",
"integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==", "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
"requires": { "requires": {
"argparse": "^1.0.7", "argparse": "^1.0.7",
"esprima": "^4.0.0" "esprima": "^4.0.0"
@@ -1906,9 +1896,9 @@
"dev": true "dev": true
}, },
"object-inspect": { "object-inspect": {
"version": "1.8.0", "version": "1.9.0",
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.8.0.tgz", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.9.0.tgz",
"integrity": "sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA==" "integrity": "sha512-i3Bp9iTqwhaLZBxGkRfo5ZbE07BQRT7MGu8+nNgwW9ItGp1TzCTw2DLEoWwjClxBjOFI/hWljTAmYGCEwmtnOw=="
}, },
"object-keys": { "object-keys": {
"version": "1.1.1", "version": "1.1.1",
@@ -1927,23 +1917,66 @@
} }
}, },
"object.getownpropertydescriptors": { "object.getownpropertydescriptors": {
"version": "2.1.0", "version": "2.1.1",
"resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.0.tgz", "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.1.tgz",
"integrity": "sha512-Z53Oah9A3TdLoblT7VKJaTDdXdT+lQO+cNpKVnya5JDe9uLvzu1YyY1yFDFrcxrlRgWrEFH0jJtD/IbuwjcEVg==", "integrity": "sha512-6DtXgZ/lIZ9hqx4GtZETobXLR/ZLaa0aqV0kzbn80Rf8Z2e/XFnhA0I7p07N2wH8bBBltr2xQPi6sbKWAY2Eng==",
"requires": { "requires": {
"call-bind": "^1.0.0",
"define-properties": "^1.1.3", "define-properties": "^1.1.3",
"es-abstract": "^1.17.0-next.1" "es-abstract": "^1.18.0-next.1"
},
"dependencies": {
"es-abstract": {
"version": "1.18.0-next.1",
"resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz",
"integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==",
"requires": {
"es-to-primitive": "^1.2.1",
"function-bind": "^1.1.1",
"has": "^1.0.3",
"has-symbols": "^1.0.1",
"is-callable": "^1.2.2",
"is-negative-zero": "^2.0.0",
"is-regex": "^1.1.1",
"object-inspect": "^1.8.0",
"object-keys": "^1.1.1",
"object.assign": "^4.1.1",
"string.prototype.trimend": "^1.0.1",
"string.prototype.trimstart": "^1.0.1"
}
}
} }
}, },
"object.values": { "object.values": {
"version": "1.1.1", "version": "1.1.2",
"resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.1.tgz", "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.2.tgz",
"integrity": "sha512-WTa54g2K8iu0kmS/us18jEmdv1a4Wi//BZ/DTVYEcH0XhLM5NYdpDHja3gt57VrZLcNAO2WGA+KpWsDBaHt6eA==", "integrity": "sha512-MYC0jvJopr8EK6dPBiO8Nb9mvjdypOachO5REGk6MXzujbBrAisKo3HmdEI6kZDL6fC31Mwee/5YbtMebixeag==",
"requires": { "requires": {
"call-bind": "^1.0.0",
"define-properties": "^1.1.3", "define-properties": "^1.1.3",
"es-abstract": "^1.17.0-next.1", "es-abstract": "^1.18.0-next.1",
"function-bind": "^1.1.1",
"has": "^1.0.3" "has": "^1.0.3"
},
"dependencies": {
"es-abstract": {
"version": "1.18.0-next.1",
"resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz",
"integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==",
"requires": {
"es-to-primitive": "^1.2.1",
"function-bind": "^1.1.1",
"has": "^1.0.3",
"has-symbols": "^1.0.1",
"is-callable": "^1.2.2",
"is-negative-zero": "^2.0.0",
"is-regex": "^1.1.1",
"object-inspect": "^1.8.0",
"object-keys": "^1.1.1",
"object.assign": "^4.1.1",
"string.prototype.trimend": "^1.0.1",
"string.prototype.trimstart": "^1.0.1"
}
}
} }
}, },
"on-finished": { "on-finished": {
@@ -2025,12 +2058,6 @@
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
}, },
"path-parse": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
"integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==",
"dev": true
},
"path-to-regexp": { "path-to-regexp": {
"version": "0.1.7", "version": "0.1.7",
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
@@ -2180,16 +2207,6 @@
"util-deprecate": "~1.0.1" "util-deprecate": "~1.0.1"
} }
}, },
"resolve": {
"version": "1.19.0",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz",
"integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==",
"dev": true,
"requires": {
"is-core-module": "^2.1.0",
"path-parse": "^1.0.6"
}
},
"rimraf": { "rimraf": {
"version": "2.7.1", "version": "2.7.1",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz",
@@ -2558,9 +2575,9 @@
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
}, },
"ws": { "ws": {
"version": "7.4.0", "version": "7.4.1",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.4.0.tgz", "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.1.tgz",
"integrity": "sha512-kyFwXuV/5ymf+IXhS6f0+eAFvydbaBW3zjpT6hUdAh/hbVjTIB5EHBGi0bPoCLSK2wcuz3BrEkB9LrYv1Nm4NQ==" "integrity": "sha512-pTsP8UAfhy3sk1lSk/O/s4tjD0CRwvMnzvwr4OKGX7ZvqZtUyx4KIJB5JWbkykPoc55tixMGgTNoh3k4FkNGFQ=="
}, },
"yallist": { "yallist": {
"version": "3.1.1", "version": "3.1.1",
@@ -2568,6 +2585,15 @@
"integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
"dev": true "dev": true
}, },
"yargs-parser": {
"version": "10.1.0",
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz",
"integrity": "sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ==",
"dev": true,
"requires": {
"camelcase": "^4.1.0"
}
},
"yauzl": { "yauzl": {
"version": "2.10.0", "version": "2.10.0",
"resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",

View File

@@ -1,6 +1,6 @@
{ {
"name": "metrics", "name": "metrics",
"version": "2.7.0-beta", "version": "2.7.0",
"description": "Generate an user's GitHub metrics as SVG image format to embed somewhere else", "description": "Generate an user's GitHub metrics as SVG image format to embed somewhere else",
"main": "index.mjs", "main": "index.mjs",
"scripts": { "scripts": {
@@ -22,8 +22,8 @@
"dependencies": { "dependencies": {
"@actions/core": "^1.2.6", "@actions/core": "^1.2.6",
"@actions/github": "^4.0.0", "@actions/github": "^4.0.0",
"@octokit/graphql": "^4.5.7", "@octokit/graphql": "^4.5.8",
"@octokit/rest": "^18.0.9", "@octokit/rest": "^18.0.12",
"axios": "^0.21.0", "axios": "^0.21.0",
"colors": "^1.4.0", "colors": "^1.4.0",
"compression": "^1.7.4", "compression": "^1.7.4",

View File

@@ -29,7 +29,6 @@
traffic:"Pages views", traffic:"Pages views",
lines:"Lines of code changed", lines:"Lines of code changed",
habits:"Coding habits", habits:"Coding habits",
selfskip:"Skip metrics commits",
music:"Music plugin", music:"Music plugin",
posts:"Recent posts", posts:"Recent posts",
isocalendar:"Isometric commit calendar", isocalendar:"Isometric commit calendar",

View File

@@ -11,7 +11,6 @@
import pagespeed from "./pagespeed/index.mjs" import pagespeed from "./pagespeed/index.mjs"
import posts from "./posts/index.mjs" import posts from "./posts/index.mjs"
import projects from "./projects/index.mjs" import projects from "./projects/index.mjs"
import selfskip from "./selfskip/index.mjs"
import topics from "./topics/index.mjs" import topics from "./topics/index.mjs"
import traffic from "./traffic/index.mjs" import traffic from "./traffic/index.mjs"
@@ -27,7 +26,6 @@
pagespeed, pagespeed,
posts, posts,
projects, projects,
selfskip,
topics, topics,
traffic, traffic,
} }

View File

@@ -1,25 +0,0 @@
//Setup
export default async function ({login, rest, computed, q}, {enabled = false} = {}) {
//Plugin execution
try {
//Check if plugin is enabled and requirements are met
if ((!enabled)||(!q.selfskip))
return null
//Search for auto-generated commits
let commits = 0
for (let page = 0;;page++) {
const {data} = await rest.repos.listCommits({owner:login, repo:login, author:login, per_page:100, page})
commits += data.filter(({commit}) => /\[Skip GitHub Action\]/.test(commit.message)).length
if (!data.length)
break
}
//Results
computed.commits -= commits
return {commits}
}
//Handle errors
catch (error) {
console.debug(error)
throw {error:{message:`An error occured`}}
}
}