Skip to content

Commit

Permalink
fix: 🐛 Bump dependencies to resolve security alerts
Browse files Browse the repository at this point in the history
Signed-off-by: Marcin Pastecki <marcin.pastecki@inndei.com>
  • Loading branch information
prashantasdeveloper authored and mpastecki committed Apr 29, 2024
1 parent ec8d1dc commit a6d2ec3
Show file tree
Hide file tree
Showing 6 changed files with 2,182 additions and 2,921 deletions.
18 changes: 7 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,18 @@
"main": "dist/index.js",
"scripts": {
"build": "subql build",
"compare": "scripts/run-compare.sh",
"sql": "ts-node scripts/run-sql.ts",
"migrations": "ts-node scripts/run-migrations.ts",
"prepack": "rm -rf dist && yarn build",
"prepare": "husky install",
"lint": "eslint . --ext .ts",
"test": "jest",
"diff_versions": "ts-node scripts/diff_versions",
"codegen": "./node_modules/.bin/subql codegen",
"commit": "npx git-cz",
"start:docker": "docker-compose pull && docker-compose up --remove-orphans",
"generate:defs": "ts-node --skip-project node_modules/.bin/polkadot-types-from-defs --package polymesh-subql/api-interfaces --input ./src/api-interfaces",
"generate:meta": "ts-node --skip-project node_modules/.bin/polkadot-types-from-chain --package polymesh-subql/api-interfaces --endpoint ./metadata.json --output ./src/api-interfaces --strict",
"format": "cross-env prettier-eslint $PWD\"/src/**/*.{ts,tsx,js,jsx,json,css,md}\" --write",
"update:version": "ts-node scripts/update-version.ts",
"semantic-release": "semantic-release"
},
"homepage": "https://polymath.network/",
Expand All @@ -40,20 +37,20 @@
"@subql/types-core": "^0.3.0",
"bignumber.js": "^9.0.2",
"pg": "^8.11.5",
"typeorm": "^0.2.34"
"typeorm": "^0.3.20"
},
"devDependencies": {
"@apollo/client": "^3.9.11",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/plugin-transform-runtime": "^7.24.3",
"@babel/preset-env": "^7.24.4",
"@commitlint/cli": "13.1.0",
"@commitlint/config-conventional": "13.1.0",
"@polkadot/typegen": "^10.9.1",
"@polymeshassociation/polymesh-local": "^5.12.2",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.6",
"@semantic-release/npm": "^9.0.2",
"@semantic-release/npm": "^11.0.0",
"@subql/node": "3.2.0",
"@types/bn.js": "^4.11.6",
"@types/jest": "^29.5.4",
Expand Down Expand Up @@ -83,12 +80,11 @@
"jest-diff": "^27.2.0",
"js-yaml": "^4.1.0",
"lint-staged": "11.1.1",
"mysql2": "^2.2.5",
"npm-run-path": "^4.0.1",
"prettier": "2.3.2",
"prettier-eslint": "13.0.0",
"prettier-eslint-cli": "5.0.1",
"semantic-release": "^19.0.5",
"semantic-release": "^22.0.0",
"ts-jest": "^27.0.4",
"ts-node": "^10.9.1",
"typescript": "^4.1.3"
Expand Down
8 changes: 1 addition & 7 deletions scripts/.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ PG_USER=postgres
PG_PASSWORD=postgres
PG_DATABASE=postgres

MYSQL_HOST=localhost
MYSQL_PORT=33061
MYSQL_USER=root
MYSQL_PASSWORD=root
MYSQL_DATABASE=itn

START_BLOCK=0
START_BLOCK=1
MAX_BLOCK=1000
BATCH_SIZE=500

0 comments on commit a6d2ec3

Please sign in to comment.