Skip to content

Commit 7666d2e

Browse files
matmannionhuozhi
andcommitted
Fix @vercel/og license SPDX expression (#74745)
### 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]>
1 parent 84a38ff commit 7666d2e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/next/src/compiled/@vercel/og/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@vercel/og",
33
"version": "0.6.4",
4-
"LICENSE": "MLP-2.0",
4+
"license": "MPL-2.0",
55
"type": "module",
66
"main": "./index.node.js",
77
"exports": {

packages/next/taskfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ export async function copy_vercel_og(task, opts) {
222222
{
223223
name: '@vercel/og',
224224
version: require('@vercel/og/package.json').version,
225-
LICENSE: 'MLP-2.0',
225+
license: 'MPL-2.0',
226226
type: 'module',
227227
main: './index.node.js',
228228
exports: {

0 commit comments

Comments
 (0)