Commit 72ae599
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#841 parent ee8ee94 commit 72ae599
File tree
5 files changed
+89
-367
lines changed- packages/fedify
5 files changed
+89
-367
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
78 | 83 | | |
79 | 84 | | |
80 | 85 | | |
| |||
0 commit comments