Skip to content

Update dependencies. #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
node-version: [20.x]
node-version: [22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -24,12 +24,12 @@ jobs:
timeout-minutes: 10
services:
mongodb:
image: mongo:5
image: mongo:6
ports:
- 27017:27017
strategy:
matrix:
node-version: [18.x, 20.x]
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -50,12 +50,12 @@ jobs:
timeout-minutes: 10
services:
mongodb:
image: mongo:5
image: mongo:6
ports:
- 27017:27017
strategy:
matrix:
node-version: [20.x]
node-version: [22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# bedrock-profile-http ChangeLog

## 26.0.0 - 2025-03-xx

### Changed
- Update peer dependencies.
- `@bedrock/core@6.3.0`.
- **BREAKING**: `@bedrock/passport@12`.
- Updated for `@bedrock/mongodb@11`.
- **BREAKING**: `@bedrock/profile@26`.
- Updated for `@bedrock/mongodb@11`.
- `@bedrock/validation@7.1.1`.
- Update dev dependencies.
- Update test dependencies.

## 25.0.0 - 2024-10-15

- **BREAKING**: Update peer dependencies.
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@
},
"peerDependencies": {
"@bedrock/app-identity": "^4.0.0",
"@bedrock/core": "^6.1.3",
"@bedrock/core": "^6.3.0",
"@bedrock/express": "^8.3.1",
"@bedrock/https-agent": "^4.1.0",
"@bedrock/passport": "^11.0.0",
"@bedrock/profile": "^25.0.0",
"@bedrock/validation": "^7.1.0"
"@bedrock/passport": "^12.0.0",
"@bedrock/profile": "^26.0.0",
"@bedrock/validation": "^7.1.1"
},
"directories": {
"lib": "./lib"
},
"devDependencies": {
"eslint": "^8.57.0",
"eslint": "^8.57.1",
"eslint-config-digitalbazaar": "^5.2.0",
"eslint-plugin-jsdoc": "^48.11.0",
"eslint-plugin-unicorn": "^55.0.0"
"eslint-plugin-jsdoc": "^50.6.3",
"eslint-plugin-unicorn": "^56.0.1"
},
"engines": {
"node": ">=18"
Expand Down
16 changes: 9 additions & 7 deletions test/mocha/10-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ describe('bedrock-profile-http', () => {
result.status.should.equal(400);
result.ok.should.equal(false);
result.data.message.should.equal(
'A validation error occured in the \'Account Query\' validator.');
'A validation error occurred in the \'Account Query\' validator.');
});
it('throws error when account is not authorized', async () => {
let result;
Expand Down Expand Up @@ -182,7 +182,7 @@ describe('bedrock-profile-http', () => {
result.status.should.equal(400);
result.ok.should.equal(false);
result.data.message.should.equal(
'A validation error occured in the \'Profile Agent\' validator.');
'A validation error occurred in the \'Profile Agent\' validator.');
});
it('throws error when account is not authorized', async () => {
const profile = 'did:example:1234';
Expand Down Expand Up @@ -365,7 +365,7 @@ describe('bedrock-profile-http', () => {
result.status.should.equal(400);
result.ok.should.equal(false);
result.data.message.should.equal(
'A validation error occured in the \'Account Query\' validator.');
'A validation error occurred in the \'Account Query\' validator.');
});
it('throws error when account is not authorized', async () => {
const {account: {id: account}} = accounts['alpha@example.com'];
Expand Down Expand Up @@ -448,7 +448,7 @@ describe('bedrock-profile-http', () => {
result.status.should.equal(400);
result.ok.should.equal(false);
result.data.message.should.equal(
'A validation error occured in the \'Account Query\' validator.');
'A validation error occurred in the \'Account Query\' validator.');
});
it('throws error when account is not authorized', async () => {
const {account: {id: account}} = accounts['alpha@example.com'];
Expand Down Expand Up @@ -536,7 +536,8 @@ describe('bedrock-profile-http', () => {
result.status.should.equal(400);
result.ok.should.equal(false);
result.data.message.should.equal(
'A validation error occured in the \'Delegate Capability\' validator.');
'A validation error occurred in the \'Delegate Capability\' ' +
'validator.');
});
it('throws error when there is no controller', async () => {
const {account: {id: account}} = accounts['alpha@example.com'];
Expand All @@ -562,7 +563,8 @@ describe('bedrock-profile-http', () => {
result.status.should.equal(400);
result.ok.should.equal(false);
result.data.message.should.equal(
'A validation error occured in the \'Delegate Capability\' validator.');
'A validation error occurred in the \'Delegate Capability\' ' +
'validator.');
});
it('throws error when account is not authorized', async () => {
const {account: {id: account}} = accounts['alpha@example.com'];
Expand Down Expand Up @@ -704,7 +706,7 @@ describe('bedrock-profile-http', () => {
result.status.should.equal(400);
result.ok.should.equal(false);
result.data.message.should.equal(
'A validation error occured in the \'zcaps\' validator.');
'A validation error occurred in the \'zcaps\' validator.');
});
it('throws error when account is not authorized', async () => {
const {account: {id: account}} = accounts['alpha@example.com'];
Expand Down
38 changes: 19 additions & 19 deletions test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,38 +11,38 @@
"coverage-report": "c8 report"
},
"dependencies": {
"@bedrock/account": "^9.0.0",
"@bedrock/account": "^10.0.0",
"@bedrock/app-identity": "^4.0.0",
"@bedrock/core": "^6.1.3",
"@bedrock/core": "^6.3.0",
"@bedrock/did-context": "^6.0.0",
"@bedrock/did-io": "^10.3.1",
"@bedrock/edv-storage": "^19.0.0",
"@bedrock/did-io": "^10.4.0",
"@bedrock/edv-storage": "^20.0.0",
"@bedrock/express": "^8.3.1",
"@bedrock/https-agent": "^4.1.0",
"@bedrock/jsonld-document-loader": "^5.1.0",
"@bedrock/kms": "^15.0.0",
"@bedrock/kms-http": "^21.0.0",
"@bedrock/jsonld-document-loader": "^5.2.0",
"@bedrock/kms": "^16.0.0",
"@bedrock/kms-http": "^22.0.0",
"@bedrock/ledger-context": "^25.0.0",
"@bedrock/meter": "^5.3.0",
"@bedrock/meter-http": "^13.0.0",
"@bedrock/meter-usage-reporter": "^9.0.1",
"@bedrock/mongodb": "^10.2.0",
"@bedrock/meter": "^6.0.0",
"@bedrock/meter-http": "^14.0.0",
"@bedrock/meter-usage-reporter": "^10.0.0",
"@bedrock/mongodb": "^11.0.0",
"@bedrock/package-manager": "^3.0.0",
"@bedrock/passport": "^11.0.0",
"@bedrock/profile": "^24.0.0",
"@bedrock/passport": "^12.0.0",
"@bedrock/profile": "^26.0.0",
"@bedrock/profile-http": "file:..",
"@bedrock/security-context": "^9.0.0",
"@bedrock/server": "^5.1.0",
"@bedrock/ssm-mongodb": "^11.2.1",
"@bedrock/ssm-mongodb": "^13.0.0",
"@bedrock/test": "^8.2.0",
"@bedrock/validation": "^7.1.0",
"@bedrock/validation": "^7.1.1",
"@bedrock/veres-one-context": "^16.0.0",
"@bedrock/zcap-storage": "^8.0.1",
"@bedrock/zcap-storage": "^9.0.0",
"@digitalbazaar/zcap": "^9.0.1",
"apisauce": "^3.0.1",
"c8": "^10.1.2",
"apisauce": "^3.1.0",
"c8": "^10.1.3",
"cross-env": "^7.0.3",
"uuid": "^10.0.0"
"uuid": "^11.1.0"
},
"c8": {
"excludeNodeModules": false,
Expand Down