Skip to content

Commit

Permalink
Update all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
fwouts committed Aug 3, 2022
1 parent 862090b commit 1a45a5b
Show file tree
Hide file tree
Showing 5 changed files with 3,187 additions and 4,560 deletions.
92 changes: 46 additions & 46 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,56 +1,56 @@
{
"private": true,
"dependencies": {
"@emotion/react": "^11.4.1",
"@emotion/styled": "^11.3.0",
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@fortawesome/react-fontawesome": "^0.1.15",
"@octokit/plugin-throttling": "^3.6.2",
"@octokit/rest": "^18.9.0",
"@types/lodash": "^4.14.172",
"@emotion/react": "^11.10.0",
"@emotion/styled": "^11.10.0",
"@fortawesome/fontawesome-svg-core": "^6.1.2",
"@fortawesome/free-solid-svg-icons": "^6.1.2",
"@fortawesome/react-fontawesome": "^0.2.0",
"@octokit/plugin-throttling": "^4.1.0",
"@octokit/rest": "^19.0.3",
"@types/lodash": "^4.14.182",
"assert-never": "^1.2.1",
"bootstrap": "^4",
"graphql": "^15.5.1",
"graphql-request": "^3.5.0",
"bootstrap": "^5.2.0",
"graphql": "^16.5.0",
"graphql-request": "^4.3.0",
"lodash": "^4.17.21",
"mobx": "^6.3.2",
"mobx-react-lite": "^3.2.0",
"moment": "^2.29.1",
"react": "^17.0.2",
"react-bootstrap": "^1.6.1",
"react-dom": "^17.0.2",
"react-spinners": "^0.11.0"
"mobx": "^6.6.1",
"mobx-react-lite": "^3.4.0",
"moment": "^2.29.4",
"react": "^18.2.0",
"react-bootstrap": "^2.4.0",
"react-dom": "^18.2.0",
"react-spinners": "^0.13.4"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@octokit/core": "^3.5.1",
"@types/chrome": "^0.0.154",
"@types/jest": "^26.0.24",
"@types/node": "^16.4.13",
"@types/react": "^17.0.15",
"@types/react-dom": "^17.0.9",
"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.29.0",
"babel-loader": "^8.2.2",
"copy-webpack-plugin": "^9.0.1",
"css-loader": "^6.2.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^7",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"html-webpack-plugin": "^5.3.2",
"jest": "^27.0.6",
"prettier": "^2.3.2",
"style-loader": "^3.2.1",
"ts-jest": "^27.0.4",
"ts-loader": "^9.2.5",
"typescript": "^4.3.5",
"webpack": "^5.49.0",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "^3.11.2"
"@babel/core": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@octokit/core": "^4.0.4",
"@types/chrome": "^0.0.193",
"@types/jest": "^28.1.6",
"@types/node": "^18.6.3",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"babel-loader": "^8.2.5",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.1",
"eslint": "^8.21.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"html-webpack-plugin": "^5.5.0",
"jest": "^28.1.3",
"prettier": "^2.7.1",
"style-loader": "^3.3.1",
"ts-jest": "^28.0.7",
"ts-loader": "^9.3.1",
"typescript": "^4.7.4",
"webpack": "^5.74.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.9.3"
},
"scripts": {
"start": "webpack serve",
Expand Down
8 changes: 4 additions & 4 deletions src/components/Popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const Popup = observer((props: PopupProps) => {
{props.core.filteredPullRequests && (
<Badge
pill
variant={
bg={
props.core.filteredPullRequests.incoming.length > 0
? "danger"
: "secondary"
Expand All @@ -124,7 +124,7 @@ export const Popup = observer((props: PopupProps) => {
<>
Muted{" "}
{props.core.filteredPullRequests && (
<Badge variant="secondary">
<Badge bg="secondary">
{props.core.filteredPullRequests.muted.length}
</Badge>
)}
Expand All @@ -137,7 +137,7 @@ export const Popup = observer((props: PopupProps) => {
<>
Already reviewed{" "}
{props.core.filteredPullRequests && (
<Badge variant="secondary">
<Badge bg="secondary">
{props.core.filteredPullRequests.reviewed.length}
</Badge>
)}
Expand All @@ -150,7 +150,7 @@ export const Popup = observer((props: PopupProps) => {
<>
My PRs{" "}
{props.core.filteredPullRequests && (
<Badge variant="secondary">
<Badge bg="secondary">
{props.core.filteredPullRequests.mine.length}
</Badge>
)}
Expand Down
6 changes: 3 additions & 3 deletions src/state/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { EnrichedPullRequest } from "../filtering/enriched-pull-request";
import {
Filter,
FilteredPullRequests,
filterPullRequests,
filterPullRequests
} from "../filtering/filters";
import { PullRequestReference, RepoReference } from "../github-api/api";
import { LoadedState, PullRequest } from "../storage/loaded-state";
Expand All @@ -16,7 +16,7 @@ import {
NOTHING_MUTED,
removeOwnerMute,
removePullRequestMute,
removeRepositoryMute,
removeRepositoryMute
} from "../storage/mute-configuration";

export class Core {
Expand Down Expand Up @@ -107,7 +107,7 @@ export class Core {
);
await this.saveNotifiedPullRequests(notifyAboutPullRequests);
this.saveError(null);
} catch (e) {
} catch (e: any) {
this.saveError(e.message);
throw e;
} finally {
Expand Down
9 changes: 6 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const path = require("path");
const webpack = require("webpack");
const BundleAnalyzerPlugin = require("webpack-bundle-analyzer")
.BundleAnalyzerPlugin;
const BundleAnalyzerPlugin =
require("webpack-bundle-analyzer").BundleAnalyzerPlugin;
const CopyPlugin = require("copy-webpack-plugin");
const HtmlWebpackPlugin = require("html-webpack-plugin");

Expand Down Expand Up @@ -56,7 +56,10 @@ module.exports = {
inject: true,
chunks: ["popup"],
}),
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
new webpack.IgnorePlugin({
resourceRegExp: /^\.\/locale$/,
contextRegExp: /moment$/,
}),
new CopyPlugin({
patterns: [
{ from: "manifest.json", to: "." },
Expand Down
Loading

0 comments on commit 1a45a5b

Please sign in to comment.