Skip to content

Commit

Permalink
Fix @vercel/og license SPDX expression (#74745)
Browse files Browse the repository at this point in the history
### What?

A minor fix to the `package.json` for `@vercel/og`; there is a typo on
the SPDX license ID for MPL-2.0 which is causing the license ID to not
be correctly extracted by some automated tooling (one example is
https://github.com/CycloneDX/cyclonedx-webpack-plugin, meaning that the
license ID isn't correctly identified).

### Why?

For apps that use automated tooling to generate an exhaustive list of
dependencies, it's useful to have the license identified automatically
and for this to be a valid SPDX identifier to be able to group
dependencies together.

Co-authored-by: Jiachi Liu <[email protected]>
  • Loading branch information
matmannion and huozhi authored Jan 10, 2025
1 parent ae431f2 commit 3b53d9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/next/src/compiled/@vercel/og/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@vercel/og",
"version": "0.6.4",
"LICENSE": "MLP-2.0",
"license": "MPL-2.0",
"type": "module",
"main": "./index.node.js",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/next/taskfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export async function copy_vercel_og(task, opts) {
{
name: '@vercel/og',
version: require('@vercel/og/package.json').version,
LICENSE: 'MLP-2.0',
license: 'MPL-2.0',
type: 'module',
main: './index.node.js',
exports: {
Expand Down

0 comments on commit 3b53d9f

Please sign in to comment.