Skip to content

Commit

Permalink
refactor: remove unused dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kurpav authored and aklarfeld committed Nov 14, 2023
1 parent c23cc1f commit da8a4a7
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 5,742 deletions.
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
"devDependencies": {
"@jest/globals": "^29.4.1",
"@types/json-server": "^0.14.4",
"@types/lodash.get": "^4.4.7",
"@types/lodash.set": "^4.3.7",
"@types/signal-exit": "^3.0.1",
"@types/superagent": "^4.1.16",
"@types/uuid": "^9.0.1",
Expand All @@ -39,21 +41,16 @@
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-jest": "^27.1.3",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.10",
"got": "^12.5.3",
"jest": "^29.2.1",
"json-server": "^0.17.0",
"openai": "^4.10.0",
"postgres": "^3.3.4",
"prettier": "^2.8.1",
"source-map-loader": "^4.0.1",
"superagent": "^8.0.9",
"ts-jest": "^29.0.5",
"ts-loader": "^9.4.2",
"typescript": "^4.9.4",
"undici": "^5.23.0",
"uuid": "^9.0.0",
"yarn": "^1.22.19"
"uuid": "^9.0.0"
},
"bugs": {
"url": "https://github.com/supergoodsystems/supergood-js/issues"
Expand Down
1 change: 0 additions & 1 deletion src/test/core.int.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,6 @@ describe('local client id and secret', () => {
xdescribe('testing openAI', () => {
test('simple chat completion call being logged', async () => {
/* eslint-disable-next-line @typescript-eslint/no-var-requires */
const OpenAI = require('openai');
await Supergood.init(
{
clientId: CLIENT_ID,
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
ConfigType,
ErrorPayloadType
} from './types';
import crypto from 'crypto';
import crypto from 'node:crypto';
import { postError } from './api';
import { name, version } from '../package.json';
import https from 'https';
Expand Down
Loading

0 comments on commit da8a4a7

Please sign in to comment.