Skip to content

Commit

Permalink
REMOVE pouchdb related deps (#4215)
Browse files Browse the repository at this point in the history
* REMOVE pouchdb related deps

* UPDATE minor deps

* USE new faker lib
  • Loading branch information
pubkey committed Jan 3, 2023
1 parent 01d42c4 commit 1638590
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 27 deletions.
39 changes: 15 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,8 @@
"@types/lokijs": "1.5.7",
"@types/object-path": "0.11.1",
"@types/simple-peer": "9.11.5",
"@types/ws": "8.5.3",
"ajv": "8.11.2",
"@types/ws": "8.5.4",
"ajv": "8.12.0",
"array-push-at-sort-position": "2.0.0",
"as-typed": "1.3.2",
"broadcast-channel": "4.19.1",
Expand All @@ -406,9 +406,9 @@
"simple-peer": "9.11.1",
"socket.io-client": "4.5.4",
"threads": "1.7.0",
"unload": "2.3.1",
"unload": "2.4.1",
"util": "0.12.5",
"ws": "8.8.1",
"ws": "8.11.0",
"z-schema": "5.0.5"
},
"devDependencies": {
Expand All @@ -434,11 +434,8 @@
"@types/core-js": "2.5.5",
"@types/cors": "2.8.13",
"@types/crypto-js": "4.1.1",
"@types/faker": "5.5.9",
"@types/memdown": "3.0.0",
"@types/mocha": "8.2.3",
"@types/node": "18.11.17",
"@types/pouchdb-adapter-memory": "6.1.3",
"@types/node": "18.11.18",
"@types/request": "2.48.8",
"@types/request-promise-native": "1.0.18",
"@typescript-eslint/eslint-plugin": "4.33.0",
Expand All @@ -452,7 +449,6 @@
"child-process-promise": "2.2.1",
"clone": "2.1.2",
"concurrently": "7.6.0",
"convert-hrtime": "3.0.0",
"copy-webpack-plugin": "11.0.0",
"cors": "2.8.5",
"cross-env": "7.0.3",
Expand All @@ -464,12 +460,12 @@
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jsdoc": "36.1.1",
"exists-file": "3.0.2",
"express": "4.17.3",
"express": "4.18.2",
"express-graphql": "0.12.0",
"express-pouchdb": "4.2.0",
"fake-indexeddb": "4.0.1",
"faker": "5.5.3",
"firebase-tools": "11.16.1",
"@faker-js/faker": "7.6.0",
"firebase-tools": "11.19.0",
"get-port": "5.1.1",
"gitbook-cli": "2.3.2",
"graphql-subscriptions": "1.2.1",
Expand All @@ -491,38 +487,33 @@
"leveldown": "6.1.1",
"madge": "5.0.1",
"memdown": "6.1.1",
"mini-css-extract-plugin": "2.6.1",
"mini-css-extract-plugin": "2.7.2",
"mocha": "9.0.2",
"mocha.parallel": "0.15.6",
"nconf": "0.12.0",
"node-pre-gyp": "0.17.0",
"pouchdb": "7.3.1",
"pouchdb-adapter-idb": "7.3.1",
"pouchdb-adapter-leveldb": "7.3.1",
"pouchdb-adapter-memory": "7.3.1",
"pouchdb-debug": "7.2.1",
"pouchdb-utils": "7.3.1",
"pre-commit": "1.2.2",
"random-int": "3.0.0",
"readline": "1.3.0",
"rimraf": "3.0.2",
"rollup": "3.9.0",
"rollup": "3.9.1",
"rxjs": "7.8.0",
"shelljs": "0.8.5",
"socket.io": "4.5.4",
"source-map-support": "0.5.21",
"stream": "0.0.2",
"terser": "5.14.2",
"terser": "5.16.1",
"terser-webpack-plugin": "5.3.6",
"ts-loader": "9.3.1",
"ts-loader": "9.4.2",
"ts-node": "10.9.1",
"typescript": "4.9.4",
"walk-sync": "3.0.0",
"watch": "1.0.2",
"webpack": "5.74.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack": "5.75.0",
"webpack-bundle-analyzer": "4.7.0",
"webpack-cli": "4.10.0",
"webpack-dev-server": "4.11.1",
"wrtc": "0.4.7"
}
}
}
2 changes: 1 addition & 1 deletion test/helper/schema-objects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* this file contains objects which match the schemas in schemas.js
*/

import faker from 'faker';
import { faker } from '@faker-js/faker';

import {
randomNumber,
Expand Down
2 changes: 1 addition & 1 deletion test/unit/init.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
} from 'broadcast-channel';

// set faker seed
import faker from 'faker';
import { faker } from '@faker-js/faker';
faker.seed(123);

// add dev-mode plugin
Expand Down
2 changes: 1 addition & 1 deletion test/unit/population.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import assert from 'assert';
import config from './config';
import * as faker from 'faker';
import { faker } from '@faker-js/faker';

import * as humansCollection from '../helper/humans-collection';

Expand Down

0 comments on commit 1638590

Please sign in to comment.