Skip to content

Commit

Permalink
fix(deps): update dependencies (#157)
Browse files Browse the repository at this point in the history
* chore(deps): bump dependencies except webpack
* fix(deps): bump webpack
* ci: bump CI node version to 12
* style: fix linter warnings

closes #135
  • Loading branch information
mirceanis authored Mar 23, 2021
1 parent 7f8a683 commit 82da9e2
Show file tree
Hide file tree
Showing 5 changed files with 796 additions and 1,777 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
verify-unit-tests:
working_directory: ~/project
docker:
- image: circleci/node:10
- image: circleci/node:12
steps:
- checkout
- *restore-npm-cache
Expand Down
10 changes: 5 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
"extends": "standard",
"plugins": ["jest"],
"env": {
"jest/globals": true
extends: 'standard',
plugins: ['jest'],
env: {
'jest/globals': true
}
}
}
20 changes: 9 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,43 +65,41 @@
"@types/jest": "26.0.21",
"codecov": "3.8.1",
"eslint": "7.22.0",
"eslint-config-standard": "14.1.1",
"eslint-config-standard": "16.0.2",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jest": "24.3.2",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.3.1",
"eslint-plugin-standard": "4.1.0",
"eslint-plugin-standard": "5.0.0",
"jest": "26.6.3",
"jsdoc-to-markdown": "6.0.1",
"jsontokens": "3.0.0",
"microbundle": "0.13.0",
"mockdate": "3.0.4",
"nacl-did": "1.0.1",
"prettier": "2.2.1",
"regenerator-runtime": "0.13.7",
"semantic-release": "17.4.2",
"sinon": "9.2.4",
"standard": "14.3.4",
"sinon": "10.0.0",
"standard": "16.0.3",
"ts-jest": "26.5.4",
"tslint": "6.1.3",
"tslint-config-prettier": "1.18.0",
"tslint-eslint-rules": "5.4.0",
"tweetnacl": "1.0.3",
"typescript": "4.2.3",
"webpack": "4.46.0",
"webpack-cli": "3.3.12"
"webpack": "5.27.2",
"webpack-cli": "4.5.0"
},
"dependencies": {
"@babel/runtime": "^7.11.2",
"@stablelib/ed25519": "^1.0.1",
"@stablelib/random": "^1.0.0",
"@stablelib/sha256": "^1.0.0",
"@stablelib/x25519": "^1.0.0",
"@stablelib/xchacha20poly1305": "^1.0.0",
"did-resolver": "^3.0.1",
"elliptic": "^6.5.3",
"did-resolver": "^3.0.2",
"elliptic": "^6.5.4",
"js-sha3": "^0.8.0",
"uint8arrays": "^2.0.0"
"uint8arrays": "^2.1.3"
},
"standard": {
"ignore": [
Expand Down
11 changes: 10 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
var path = require('path')
const path = require('path')

module.exports = {
entry: './lib/index.js',
mode: 'production',
resolve: {
fallback: {
crypto: false,
// crypto: require.resolve('crypto-browserify'),
util: false
// util: require.resolve('util/'),
}
},
output: {
filename: 'did-jwt.js',
path: path.resolve(__dirname, 'dist'),
Expand Down
Loading

0 comments on commit 82da9e2

Please sign in to comment.