Skip to content
Open
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
38 changes: 38 additions & 0 deletions THIRD-PARTY-LICENSES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Third-party licenses

This project is distributed under the MIT License (see `LICENSE`). MIT requires that the upstream LICENSE text be preserved in each third-party dependency's installed artifact — Bun's package cache does this by default.


## Summary

| Category | Count |
|---|---:|
| Permissive | 783 |
| Permissive (w/ attribution) | 78 |
| Weak copyleft | 12 |
| **Total** | **873** |

## What each category means

- **Permissive** — MIT, BSD, ISC, 0BSD, Unlicense, CC0, Boost. Use freely; keep the upstream LICENSE text in the dep.
- **Permissive (w/ attribution)** — Apache-2.0, Artistic, CC-BY. Same as permissive, plus preserve any upstream NOTICE file.
- **Weak copyleft** — MPL-2.0, LGPL, EPL, CDDL. Modifications to the licensed files must stay under the same license, but using the library as a dep does not force this project to open-source.

## Weak-copyleft dependencies

Explicit list — all safe as unmodified library deps:

| Package | Version | Ecosystem | License |
|---|---|---|---|
| `@edge-runtime/format` | 2.2.1 | npm | MPL-2.0 |
| `@edge-runtime/node-utils` | 2.3.0 | npm | MPL-2.0 |
| `@edge-runtime/ponyfill` | 2.4.2 | npm | MPL-2.0 |
| `@edge-runtime/primitives` | 4.1.0 | npm | MPL-2.0 |
| `@edge-runtime/vm` | 3.2.0 | npm | MPL-2.0 |
| `@img/sharp-libvips-darwin-arm64` | 1.2.4 | npm | LGPL-3.0-or-later |
| `@vercel/og` | 0.7.2 | npm | MPL-2.0 |
| `edge-runtime` | 2.5.9 | npm | MPL-2.0 |
| `lightningcss` | 1.30.2 | npm | MPL-2.0 |
| `lightningcss-darwin-arm64` | 1.30.2 | npm | MPL-2.0 |
| `next-mdx-remote` | 6.0.0 | npm | MPL-2.0 |
| `pip-requirements-js` | 1.0.2 | npm | MPL-2.0 |
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "nextlytics-monorepo",
"private": true,
"license": "MIT",
"type": "module",
"workspaces": [
"packages/*",
Expand Down
4 changes: 3 additions & 1 deletion packages/core/src/server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,9 @@ export function Nextlytics(userConfig: NextlyticsConfig): NextlyticsResult {
if (!ctx) {
// x-nl-page-render-id absent → check if middleware is at least active
if (!headersList.get(headerNames.active)) {
console.warn("[Nextlytics] nextlyticsMiddleware should be added in order for Server to work");
console.warn(
"[Nextlytics] nextlyticsMiddleware should be added in order for Server to work"
);
}
return <>{children}</>;
}
Expand Down
Loading