Skip to content

Commit

Permalink
Re-fork as digitalcredentials/jsonld v9.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrizagidulin committed Aug 4, 2024
1 parent 5367858 commit 452bb79
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 50 deletions.
49 changes: 6 additions & 43 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -23,7 +23,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -41,8 +41,8 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
node-version: [16.x]
bundler: [webpack, browserify]
node-version: [20.x]
bundler: [webpack]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -57,42 +57,5 @@ jobs:
run: npm run test-karma
env:
BUNDLER: ${{ matrix.bundler }}
build:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- name: Run build
run: npm run build
coverage:
needs: [test-node, test-karma]
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm install
- name: Fetch test suites
run: npm run fetch-test-suites
- name: Generate coverage report
run: npm run coverage-ci
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage/lcov.info
fail_ci_if_error: true


8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# jsonld ChangeLog
# @digitalcredentials/jsonld ChangeLog

## 9.0.0 -

### Changed
- **BREAKING**: Re-fork as `@digitalcredentials/jsonld` (to fix upstream http-client export error).
- Use `@digitalcredentials/http-client@5.0.0` fork.

## 8.3.2 - 2023-12-06

Expand Down
2 changes: 1 addition & 1 deletion lib/documentLoaders/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const {LINK_HEADER_CONTEXT} = require('../constants');
const JsonLdError = require('../JsonLdError');
const RequestQueue = require('../RequestQueue');
const {prependBase} = require('../url');
const {httpClient} = require('@digitalbazaar/http-client');
const {httpClient} = require('@digitalcredentials/http-client');

/**
* Creates a built-in node document loader.
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "jsonld",
"name": "@digitalcredentials/jsonld",
"version": "8.3.3-0",
"description": "A JSON-LD Processor and API implementation in JavaScript.",
"homepage": "https://github.com/digitalbazaar/jsonld.js",
"homepage": "https://github.com/digitalcredentials/jsonld.js",
"author": {
"name": "Digital Bazaar, Inc.",
"email": "support@digitalbazaar.com",
Expand All @@ -14,10 +14,10 @@
],
"repository": {
"type": "git",
"url": "https://github.com/digitalbazaar/jsonld.js"
"url": "https://github.com/digitalcredentials/jsonld.js"
},
"bugs": {
"url": "https://github.com/digitalbazaar/jsonld.js/issues",
"url": "https://github.com/digitalcredentials/jsonld.js/issues",
"email": "support@digitalbazaar.com"
},
"license": "BSD-3-Clause",
Expand All @@ -29,7 +29,7 @@
"lib/**/*.js"
],
"dependencies": {
"@digitalbazaar/http-client": "^3.4.1",
"@digitalcredentials/http-client": "^5.0.1",
"canonicalize": "^1.0.1",
"lru-cache": "^6.0.0",
"rdf-canonize": "^3.4.0"
Expand Down

0 comments on commit 452bb79

Please sign in to comment.