Skip to content

Commit f2be05b

Browse files
committed
Update to CJS 5
1 parent a6b57fc commit f2be05b

File tree

3 files changed

+177
-182
lines changed

3 files changed

+177
-182
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@
7272
"@types/semver": "^7.3.4",
7373
"@typescript-eslint/typescript-estree": "^5.11.0",
7474
"comment-parser": "^0.7.6",
75-
"componentsjs": "5.0.0-beta.5",
75+
"componentsjs": "5.0.0",
7676
"jsonld-context-parser": "^2.1.5",
7777
"lru-cache": "^6.0.0",
7878
"minimist": "^1.2.5",
79-
"rdf-object": "^1.13.0",
79+
"rdf-object": "^1.13.1",
8080
"semver": "^7.3.2"
8181
},
8282
"devDependencies": {

test/serialize/ContextConstructor.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ describe('ContextConstructor', () => {
4343
it('should handle undefined component definitions', () => {
4444
expect(ctor.constructContext()).toEqual({
4545
'@context': [
46-
'https://linkedsoftwaredependencies.org/bundles/npm/componentsjs/^4.0.0/components/context.jsonld',
46+
'https://linkedsoftwaredependencies.org/bundles/npm/componentsjs/^5.0.0/components/context.jsonld',
4747
{
4848
npmd: 'https://linkedsoftwaredependencies.org/bundles/npm/',
4949
mp: 'npmd:my-package/^2.0.0/',
@@ -88,7 +88,7 @@ describe('ContextConstructor', () => {
8888
},
8989
})).toEqual({
9090
'@context': [
91-
'https://linkedsoftwaredependencies.org/bundles/npm/componentsjs/^4.0.0/components/context.jsonld',
91+
'https://linkedsoftwaredependencies.org/bundles/npm/componentsjs/^5.0.0/components/context.jsonld',
9292
{
9393
MyClass1: {
9494
'@id': 'mp:file1#MyClass1',
@@ -887,7 +887,7 @@ describe('ContextConstructor', () => {
887887
},
888888
})).toEqual({
889889
'@context': [
890-
'https://linkedsoftwaredependencies.org/bundles/npm/componentsjs/^4.0.0/components/context.jsonld',
890+
'https://linkedsoftwaredependencies.org/bundles/npm/componentsjs/^5.0.0/components/context.jsonld',
891891
{
892892
MyClass1: {
893893
'@id': 'mp:file1#MyClass1',

0 commit comments

Comments
 (0)