Skip to content

Commit

Permalink
refactor: remove unused dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kurpav committed Nov 7, 2023
1 parent 475ecef commit 46cdb07
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5,691 deletions.
13 changes: 3 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
"license": "ISC",
"dependencies": {
"@mswjs/interceptors": "0.17.6",
"@types/lodash.get": "^4.4.7",
"@types/lodash.set": "^4.3.7",
"@types/node-cleanup": "^2.1.2",
"crypto": "^1.0.1",
"lodash.get": "^4.4.2",
"lodash.set": "^4.3.2",
"node-cache": "^5.1.2",
Expand All @@ -28,6 +24,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 +37,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 46cdb07

Please sign in to comment.