Skip to content

Commit 72ae599

Browse files
committed
Upgrade jsonld dependency to 9.0.0
This upgrade eliminates the rdf-canonize-native runtime dependency that was causing build issues in bundler environments like Next.js, Nuxt, and other webpack-based tools. The rdf-canonize-native package is no longer maintained, and its speculative require() was causing module resolution errors during builds. Version 9.0.0 of jsonld uses rdf-canonize 5.0.0, which has completely dropped native binding support in favor of the performant pure JavaScript implementation. This resolves compatibility issues when using Fedify in web frameworks, particularly Nuxt projects where the native dependency was problematic. Fixes: digitalbazaar/jsonld.js#567 Related: digitalbazaar/rdf-canonize#84
1 parent ee8ee94 commit 72ae599

File tree

5 files changed

+89
-367
lines changed

5 files changed

+89
-367
lines changed

deno.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,12 @@
7474
"codegen"
7575
]
7676
},
77-
"install": "deno run --allow-read --allow-env --allow-run scripts/install.ts && pnpm install",
77+
"install": {
78+
"command": "deno run --allow-read --allow-env --allow-run scripts/install.ts && pnpm install",
79+
"dependencies": [
80+
"codegen"
81+
]
82+
},
7883
"test": {
7984
"command": "deno test --check --doc --allow-all --unstable-kv --trace-leaks --parallel",
8085
"dependencies": [

0 commit comments

Comments
 (0)