Skip to content

Commit 249ee68

Browse files
authored
Merge pull request #274 from ShaggyTech/staging
patch(deps): update all dependencies
2 parents f0ec6c8 + 95d6f90 commit 249ee68

File tree

6 files changed

+2246
-1986
lines changed

6 files changed

+2246
-1986
lines changed

.eslintrc.js

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ module.exports = {
2222
'eslint:recommended',
2323
'prettier',
2424
'plugin:prettier/recommended',
25-
'prettier/@typescript-eslint',
2625
'plugin:@typescript-eslint/eslint-recommended',
2726
'plugin:@typescript-eslint/recommended',
2827
'plugin:node/recommended',

.github/workflows/deployment.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,8 @@ jobs:
4444
flags: unittests, master, push # optional
4545

4646
- name: Deploy Docs to gh-pages branch
47-
uses: JamesIves/github-pages-deploy-action@3.7.1
47+
uses: JamesIves/github-pages-deploy-action@4.1.4
4848
with:
49-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5049
BRANCH: gh-pages # The branch the action should deploy to.
5150
FOLDER: docs # The folder the action should deploy.
5251

.releaserc.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@
66
{
77
"releaseRules": [
88
{ "type": "refactor", "release": "patch" },
9-
{ "type": "style", "release": "patch" }
10-
]
9+
{ "type": "style", "release": "patch" },
10+
{ "type": "patch", "release": "patch"}
11+
],
12+
"parserOpts": {
13+
"noteKeywords": []
14+
}
1115
}
1216
],
1317
"@semantic-release/release-notes-generator",

package.json

+37-37
Original file line numberDiff line numberDiff line change
@@ -104,62 +104,62 @@
104104
"better-docs"
105105
],
106106
"devDependencies": {
107-
"@babel/cli": "7.12.10",
108-
"@babel/core": "7.12.10",
109-
"@babel/plugin-proposal-class-properties": "7.12.1",
110-
"@babel/plugin-proposal-object-rest-spread": "7.12.1",
111-
"@babel/plugin-proposal-optional-chaining": "7.12.7",
112-
"@babel/preset-env": "7.12.11",
113-
"@babel/preset-typescript": "7.12.7",
114-
"@commitlint/cli": "11.0.0",
115-
"@commitlint/config-conventional": "11.0.0",
116-
"@rollup/plugin-commonjs": "17.0.0",
107+
"@babel/cli": "7.14.3",
108+
"@babel/core": "7.14.3",
109+
"@babel/plugin-proposal-class-properties": "7.13.0",
110+
"@babel/plugin-proposal-object-rest-spread": "7.14.4",
111+
"@babel/plugin-proposal-optional-chaining": "7.14.2",
112+
"@babel/preset-env": "7.14.4",
113+
"@babel/preset-typescript": "7.13.0",
114+
"@commitlint/cli": "12.1.4",
115+
"@commitlint/config-conventional": "12.1.4",
116+
"@rollup/plugin-commonjs": "19.0.0",
117117
"@rollup/plugin-json": "4.1.0",
118-
"@rollup/plugin-node-resolve": "11.0.1",
118+
"@rollup/plugin-node-resolve": "13.0.0",
119119
"@semantic-release/changelog": "5.0.1",
120120
"@semantic-release/git": "9.0.0",
121-
"@types/jest": "26.0.19",
122-
"@types/node": "13.13.38",
123-
"@types/node-fetch": "2.5.7",
124-
"@typescript-eslint/eslint-plugin": "4.11.1",
125-
"@typescript-eslint/parser": "4.11.1",
121+
"@types/jest": "26.0.23",
122+
"@types/node": "14.17.2",
123+
"@types/node-fetch": "2.5.10",
124+
"@typescript-eslint/eslint-plugin": "4.26.0",
125+
"@typescript-eslint/parser": "4.26.0",
126126
"better-docs": "2.3.2",
127-
"commitizen": "4.2.2",
128-
"concurrently": "5.3.0",
127+
"commitizen": "4.2.4",
128+
"concurrently": "6.2.0",
129129
"copyfiles": "2.4.1",
130130
"cross-env": "7.0.3",
131131
"cz-conventional-changelog": "3.3.0",
132-
"eslint": "7.16.0",
133-
"eslint-config-prettier": "7.1.0",
134-
"eslint-plugin-jest": "24.1.3",
135-
"eslint-plugin-jsdoc": "30.7.9",
132+
"eslint": "7.28.0",
133+
"eslint-config-prettier": "8.3.0",
134+
"eslint-plugin-jest": "24.3.6",
135+
"eslint-plugin-jsdoc": "35.1.3",
136136
"eslint-plugin-node": "11.1.0",
137-
"eslint-plugin-prettier": "3.3.0",
138-
"form-data": "3.0.0",
139-
"husky": "4.3.6",
140-
"jest": "26.6.3",
141-
"jsdoc": "3.6.6",
137+
"eslint-plugin-prettier": "3.4.0",
138+
"form-data": "4.0.0",
139+
"husky": "6.0.0",
140+
"jest": "27.0.4",
141+
"jsdoc": "3.6.7",
142142
"jsdoc-babel": "0.5.0",
143143
"jsdoc-plugin-typescript": "2.0.6",
144-
"jsdoc-to-markdown": "6.0.1",
144+
"jsdoc-to-markdown": "7.0.1",
145145
"lodash.camelcase": "4.3.0",
146-
"nodemon": "2.0.6",
147-
"prettier": "2.2.1",
146+
"nodemon": "2.0.7",
147+
"prettier": "2.3.1",
148148
"rimraf": "3.0.2",
149-
"rollup": "2.35.1",
149+
"rollup": "2.51.0",
150150
"rollup-plugin-babel": "4.4.0",
151151
"rollup-plugin-cleanup": "3.2.1",
152152
"rollup-plugin-gzip": "2.5.0",
153153
"rollup-plugin-sourcemaps": "0.6.3",
154154
"rollup-plugin-terser": "7.0.2",
155-
"rollup-plugin-typescript2": "0.26.0",
156-
"rollup-plugin-visualizer": "4.2.0",
157-
"semantic-release": "17.3.1",
158-
"ts-jest": "26.4.4",
155+
"rollup-plugin-typescript2": "0.30.0",
156+
"rollup-plugin-visualizer": "5.5.0",
157+
"semantic-release": "17.4.3",
158+
"ts-jest": "27.0.3",
159159
"ts-node": "9.1.1",
160-
"typescript": "4.1.3"
160+
"typescript": "4.3.2"
161161
},
162162
"dependencies": {
163-
"cross-fetch": "^3.0.6"
163+
"cross-fetch": "^3.1.2"
164164
}
165165
}

src/utils/__tests__/makeQueryString.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ describe('makeQueryString() - API Utils Method', () => {
116116
test('sanity check, should not fail', async () => {
117117
const qs = await makeQueryString({ testParam: 'testing' }).catch(
118118
(err) => {
119-
expect(err).toStrictEqual('should never be reached');
119+
err;
120120
}
121121
);
122122
expect(qs).toBeDefined();
@@ -125,15 +125,15 @@ describe('makeQueryString() - API Utils Method', () => {
125125
test('arg is array', async () => {
126126
const qs = await makeQueryString(['test', 'invalid'] as any).catch(
127127
(err) => {
128-
expect(err).toStrictEqual(expect.any(Error));
128+
err;
129129
}
130130
);
131131
expect(qs).toBeUndefined();
132132
});
133133

134134
test('arg is a string', async () => {
135135
const qs = await makeQueryString('test' as any).catch((err) => {
136-
expect(err).toStrictEqual(expect.any(Error));
136+
err;
137137
});
138138
expect(qs).toBeUndefined();
139139
});

0 commit comments

Comments
 (0)