Skip to content

Commit

Permalink
fix(deps): add missing types
Browse files Browse the repository at this point in the history
Refs #398
  • Loading branch information
thewilkybarkid committed Sep 7, 2021
1 parent b9aa8b0 commit 81c51c8
Show file tree
Hide file tree
Showing 9 changed files with 81 additions and 47 deletions.
107 changes: 69 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"crossref": "^1.2.1",
"date-fns": "^2.14.0",
"doi-regex": "^0.1.10",
"dotenv": "8.0.0",
"dotenv": "^10.0.0",
"email-templates": "^8.0.3",
"env-var": "^7.0.0",
"fathom-client": "^3.1.0",
Expand Down Expand Up @@ -125,7 +125,7 @@
"node-fetch": "^2.6.1",
"nodemailer": "^6.4.17",
"nodemailer-sendgrid": "^1.0.3",
"orcid-utils": "^1.0.4",
"orcid-utils": "^1.1.0",
"passport-orcid": "0.0.4",
"prop-types": "^15.7.2",
"quill": "^1.3.7",
Expand Down Expand Up @@ -170,6 +170,9 @@
"@parcel/transformer-image": "2.0.0-beta.2",
"@parcel/transformer-typescript-tsc": "2.0.0-beta.2",
"@parcel/validator-typescript": "2.0.0-beta.2",
"@types/koa-joi-router": "^8.0.1",
"@types/koa-log4": "^2.3.3",
"@types/quill": "^1.3.10",
"@types/uuid": "^8.3.1",
"@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^4.5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/backend/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Command } from 'commander';
import dotenv from 'dotenv';
import { from } from 'env-var';
import { Joi } from 'koa-joi-router';
import orcidUtils from 'orcid-utils';
import { ORCID as orcidUtils } from 'orcid-utils';
import log4js from 'koa-log4';
import { isString } from './utils/strings';
import { ServerError } from './utils/http-errors';
Expand Down
2 changes: 1 addition & 1 deletion src/backend/middleware/auth.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Roles from 'koa-roles';
import orcidUtils from 'orcid-utils';
import { ORCID as orcidUtils } from 'orcid-utils';
import config from '../config.ts';
import { isString } from '../utils/strings';
import { getLogger } from '../log.js';
Expand Down
2 changes: 1 addition & 1 deletion src/backend/models/communities.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { EntityRepository, MikroORM, Repository } from '@mikro-orm/core';
import orcidUtils from 'orcid-utils';
import { ORCID as orcidUtils } from 'orcid-utils';
import { validate as uuidValidate } from 'uuid';
import { Community, User } from './entities';
import { getLogger } from '../log.js';
Expand Down
2 changes: 1 addition & 1 deletion src/backend/models/groups.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { EntityRepository, MikroORM, Repository } from '@mikro-orm/core';
import orcidUtils from 'orcid-utils';
import { ORCID as orcidUtils } from 'orcid-utils';
import { validate as uuidValidate } from 'uuid';
import { Group } from './entities';
import { User } from './entities';
Expand Down
2 changes: 1 addition & 1 deletion src/backend/models/personas.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { EntityRepository, MikroORM, Repository } from '@mikro-orm/core';
import orcidUtils from 'orcid-utils';
import { ORCID as orcidUtils } from 'orcid-utils';
import { validate as uuidValidate } from 'uuid';
import { Persona, User } from './entities';
import { getLogger } from '../log.js';
Expand Down
2 changes: 1 addition & 1 deletion src/backend/models/users.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { EntityRepository, MikroORM, Repository } from '@mikro-orm/core';
import orcidUtils from 'orcid-utils';
import { ORCID as orcidUtils } from 'orcid-utils';
import { validate as uuidValidate } from 'uuid';
import { User } from './entities';
import ChainedError from 'typescript-chained-error';
Expand Down
2 changes: 1 addition & 1 deletion src/backend/utils/orcid.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import orcidUtils from 'orcid-utils';
import { ORCID as orcidUtils } from 'orcid-utils';
import fetch from 'node-fetch';
import { createError } from '../utils/http-errors.ts';
import config from '../config.ts';
Expand Down

0 comments on commit 81c51c8

Please sign in to comment.