rolldown-license-plugin 3.0.1 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/package.json +17 -13
package/README.md
CHANGED
|
@@ -47,13 +47,15 @@ Regex to match license filenames in package directories.
|
|
|
47
47
|
|
|
48
48
|
#### `opts.wrapLicenseText`
|
|
49
49
|
|
|
50
|
-
Type: `number
|
|
50
|
+
Type: `number`\
|
|
51
|
+
Default: `undefined` (no wrapping)
|
|
51
52
|
|
|
52
53
|
When set, word-wrap `licenseText` to this column width.
|
|
53
54
|
|
|
54
55
|
#### `opts.allow`
|
|
55
56
|
|
|
56
|
-
Type: `(license: LicenseInfo) => boolean
|
|
57
|
+
Type: `(license: LicenseInfo) => boolean`\
|
|
58
|
+
Default: `undefined` (no validation)
|
|
57
59
|
|
|
58
60
|
Validate each dependency's license. Return `false` to reject it. By default, rejected dependencies are warned via `console.warn`. Use `failOnViolation` and `failOnUnlicensed` to throw build errors instead.
|
|
59
61
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rolldown-license-plugin",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Rolldown plugin to extract dependency licenses",
|
|
5
5
|
"author": "silverwind <me@silverwind.io>",
|
|
6
6
|
"repository": "silverwind/rolldown-license-plugin",
|
|
@@ -15,25 +15,29 @@
|
|
|
15
15
|
"files": [
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
18
|
+
"engines": {
|
|
19
|
+
"node": "*",
|
|
20
|
+
"bun": "*"
|
|
21
|
+
},
|
|
18
22
|
"peerDependencies": {
|
|
19
23
|
"rolldown": "*"
|
|
20
24
|
},
|
|
21
25
|
"devDependencies": {
|
|
22
26
|
"@types/node": "25.6.0",
|
|
23
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
24
|
-
"eslint": "10.2.
|
|
25
|
-
"eslint-config-silverwind": "131.0.
|
|
27
|
+
"@typescript/native-preview": "7.0.0-dev.20260420.1",
|
|
28
|
+
"eslint": "10.2.1",
|
|
29
|
+
"eslint-config-silverwind": "131.0.5",
|
|
26
30
|
"jest-extended": "7.0.0",
|
|
27
|
-
"rolldown": "1.0.0-rc.
|
|
28
|
-
"tsdown": "0.21.
|
|
29
|
-
"tsdown-config-silverwind": "2.0
|
|
30
|
-
"typescript": "6.0.
|
|
31
|
-
"typescript-config-silverwind": "
|
|
32
|
-
"updates": "17.15.
|
|
31
|
+
"rolldown": "1.0.0-rc.16",
|
|
32
|
+
"tsdown": "0.21.9",
|
|
33
|
+
"tsdown-config-silverwind": "2.1.0",
|
|
34
|
+
"typescript": "6.0.3",
|
|
35
|
+
"typescript-config-silverwind": "18.0.0",
|
|
36
|
+
"updates": "17.15.5",
|
|
33
37
|
"updates-config-silverwind": "2.1.0",
|
|
34
|
-
"versions": "
|
|
35
|
-
"vite": "8.0.
|
|
38
|
+
"versions": "15.0.0",
|
|
39
|
+
"vite": "8.0.9",
|
|
36
40
|
"vitest": "4.1.4",
|
|
37
|
-
"vitest-config-silverwind": "11.
|
|
41
|
+
"vitest-config-silverwind": "11.3.0"
|
|
38
42
|
}
|
|
39
43
|
}
|