@callstack/licenses 0.2.1 → 0.2.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
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
|
+
<a href="https://www.callstack.com/open-source?utm_campaign=generic&utm_source=github&utm_medium=referral&utm_content=@callstack/licenses" align="center">
|
|
2
|
+
<picture>
|
|
3
|
+
<img alt="Licenses" src="https://github.com/callstackincubator/react-native-legal/blob/main/images/licenses-banner.jpg">
|
|
4
|
+
</picture>
|
|
5
|
+
</a>
|
|
6
|
+
|
|
1
7
|
# @callstack/licenses
|
|
2
8
|
|
|
9
|
+

|
|
10
|
+

|
|
11
|
+

|
|
12
|
+
|
|
13
|
+
API package that exposes functionalities for programmatic scanning of licenses in Node.js projects. It is used by the `license-kit` CLI tool and can be used directly in your Node.js scripts.
|
|
14
|
+
|
|
3
15
|
## Features
|
|
4
16
|
|
|
5
17
|
- 🔍 Scan and aggregate license information from your project dependencies
|
|
@@ -21,6 +21,6 @@ export declare function parseRepositoryFieldToUrl(json: {
|
|
|
21
21
|
}): string | undefined;
|
|
22
22
|
/**
|
|
23
23
|
* Default value consistent with legacy behaviour assumptions for the scan package options factory
|
|
24
|
-
* used so as not to introduce breaking API changes
|
|
24
|
+
* used so as not to introduce breaking API changes
|
|
25
25
|
*/
|
|
26
26
|
export declare const legacyDefaultScanPackageOptionsFactory: ScanPackageOptionsFactory;
|
|
@@ -90,7 +90,7 @@ function parseRepositoryFieldToUrl(json) {
|
|
|
90
90
|
}
|
|
91
91
|
/**
|
|
92
92
|
* Default value consistent with legacy behaviour assumptions for the scan package options factory
|
|
93
|
-
* used so as not to introduce breaking API changes
|
|
93
|
+
* used so as not to introduce breaking API changes
|
|
94
94
|
*/
|
|
95
95
|
const legacyDefaultScanPackageOptionsFactory = () => ({
|
|
96
96
|
includeTransitiveDependencies: true,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@callstack/licenses",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"description": "API package that exposes functionalities for programmatic scanning of licenses in Node.js projects.",
|
|
5
5
|
"main": "build/index",
|
|
6
6
|
"module": "build/index",
|
|
7
7
|
"types": "build/index.d.ts",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"repository": {
|
|
40
40
|
"type": "git",
|
|
41
41
|
"url": "git+https://github.com/callstackincubator/react-native-legal.git",
|
|
42
|
-
"directory": "packages/
|
|
42
|
+
"directory": "packages/licenses-api"
|
|
43
43
|
},
|
|
44
44
|
"author": "Mateusz Mędrek <luigimario1913@gmail.com> (https://github.com/mateusz1913)",
|
|
45
45
|
"license": "MIT",
|
|
@@ -94,7 +94,7 @@ export function parseRepositoryFieldToUrl(json: { repository: string | { url?: s
|
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
96
|
* Default value consistent with legacy behaviour assumptions for the scan package options factory
|
|
97
|
-
* used so as not to introduce breaking API changes
|
|
97
|
+
* used so as not to introduce breaking API changes
|
|
98
98
|
*/
|
|
99
99
|
export const legacyDefaultScanPackageOptionsFactory: ScanPackageOptionsFactory = () => ({
|
|
100
100
|
includeTransitiveDependencies: true,
|