Commit 397ab83
authored
v10.0.0 (#1376)
* **BREAKING** changes
* Removed deprecated symbols
* Removed PackageUrl factories
* No longer use external standards' implementations directly
* Removed
* Entrypoint `Builders` (via [#1377])
* Entrypoint `Factories` (via [#1377])
* Entrypoint `Utils` (via [#1377])
* Entrypoint `Contrib/PackageUrl` (via [#1378])
* Deprecated symbol `Builders` ([#1346] via [#1377])
* Deprecated symbol `Builders.FromNodePackageJson` ([#1346] via [#1377])
* Deprecated symbol `Builders.FromNodePackageJson.ToolBuilder` ([#1346]
via [#1377])
Use `Contrib.FromNodePackageJson.Builders.ToolBuilder` instead.
* Deprecated symbol `Builders.FromNodePackageJson.ComponentBuilder`
([#1346] via [#1377])
Use `Contrib.FromNodePackageJson.Builders.ComponentBuilder` instead.
* Deprecated symbol `Factories` ([#1346] via [#1377])
* Deprecated symbol `Factories.FromNodePackageJson` ([#1346] via
[#1377])
* Deprecated symbol
`Factories.FromNodePackageJson.ExternalReferenceFactory` ([#1346] via
[#1377])
Use `Contrib.FromNodePackageJson.Factories.ExternalReferenceFactory`
instead.
* Deprecated symbol `Factories.FromNodePackageJson.PackageUrlFactory`
([#1346] via [#1377])
Use `packageurl-js` downstream.
* Deprecated symbol `Factories.LicenseFactory` ([#1346], [#1348] via
[#1377], [#1378])
Use `Contrib.License.Factories.LicenseFactory` instead.
* Deprecated symbol `Factories.PackageUrlFactory` ([#1346] via [#1377])
Use `packageurl-js` downstream.
* Deprecated symbol `Types.NodePackageJson` ([#1346], [#1348] via
[#1377], [#1378])
Use `Contrib.FromNodePackageJson.Types.NodePackageJson` instead.
* Deprecated symbol `Types.assertNodePackageJson` ([#1346] via [#1377])
Use `Contrib.FromNodePackageJson.Types.assertNodePackageJson` instead.
* Deprecated symbol `Types.isNodePackageJson` ([#1346] via [#1377])
Use `Contrib.FromNodePackageJson.Types.isNodePackageJson` instead.
* Deprecated symbol `Utils` ([#1346] via [#1377])
* Deprecated symbol `Utils.BomUtility` ([#1346] via [#1377])
* Deprecated symbol `Utils.BomUtility.randomSerialNumber` ([#1346] via
[#1377])
Use `Contrib.Bom.Utils.randomSerialNumber` instead.
* Deprecated symbol `Utils.LicenseUtility` ([#1346] via [#1377])
* Deprecated symbol `Utils.LicenseUtility.FsUtils` ([#1346] via [#1377])
Use `Contrib.License.Utils.FsUtils` instead.
* Deprecated symbol `Utils.LicenseUtility.PathUtils` ([#1346] via
[#1377])
* Use `Contrib.License.Utils.PathUtils` instead.
* Deprecated symbol `Utils.LicenseUtility.FileAttachment` ([#1346] via
[#1377])
Use `Contrib.License.Utils.FileAttachment` instead.
* Deprecated symbol `Utils.LicenseUtility.ErrorReporter` ([#1346] via
[#1377])
Use `Contrib.License.Utils.ErrorReporter` instead.
* Deprecated symbol `Utils.LicenseUtility.LicenseEvidenceGatherer`
([#1346] via [#1377])
Use `Contrib.License.Utils.LicenseEvidenceGatherer` instead.
* Deprecated symbol `Utils.NpmjsUtility` ([#1346] via [#1377])
* Deprecated symbol `Utils.NpmjsUtility.parsePackageIntegrity` ([#1346]
via [#1377])
Use `Contrib.FromNodePackageJson.Utils.parsePackageIntegrity` instead.
* Deprecated symbol `Utils.NpmjsUtility.defaultRegistryMatcher` ([#1346]
via [#1377])
Use `Contrib.FromNodePackageJson.Utils.defaultRegistryMatcher` instead.
* Symbol `Contrib.PackageUrl.Factories.PackageUrlFactory` ([#1348] via
[#1378])
Use `packageurl-js` downstream.
* Symbol `Contrib.FromNodePackageJson.Factories.PackageUrlFactory`
([#1348] via [#1378])
Use `packageurl-js` downstream.
* Symbol `SPDX.isValidSpdxLicenseExpression` ([#1348] via [#1382])
Use package `spdx-expression-parse` instead.
* Changed
* `Component.purl` is a `string` now, was `PackaheUrl` ([#1348] via
[#1379])
* Constructor of `Contrib.License.Factories.LicenseFactory` got an
injectable argument `spdxExpressionValidate` for validating SPDX License
Expressions ([#1348] via [#1382])
Suggested implementation is `spdx-expression-parse`.
* Dependencies
* Dependency `packageurl-js` became a suggested (optional
peer-dependency) library ([#1348] via [#1378])
You may use it to craft and parse PackageURLs downstream.
* Dependency `spdx-expression-parse` became a suggested (optional
peer-dependency) library ([#1348] via [#1382])
Used as an injectable in
`Contrib.License.Factories.LicenseFactory.constructor`.
* Chore
* Set dev-engines in `package.json` ([#1301] via [#1380])
[#1301]:
#1301
[#1346]:
#1346
[#1348]:
#1348
[#1360]:
#1360
[#1374]:
#1374
[#1377]:
#1377
[#1378]:
#1378
[#1379]:
#1379
[#1380]:
#1380
[#1382]:
#138263 files changed
Lines changed: 328 additions & 1807 deletions
File tree
- .github/workflows
- examples
- node
- javascript
- typescript
- example.cjs
- src
- example.mjs
- src
- web
- parcel
- src
- webpack
- dist
- src
- src
- _optPlug.node/__xmlValidators
- builders
- contrib
- fromNodePackageJson
- license
- packageUrl
- factories
- models
- spec
- types
- utils
- tests
- _data
- integration
- unit
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | 367 | | |
371 | 368 | | |
372 | 369 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
9 | 87 | | |
10 | 88 | | |
11 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
| |||
135 | 134 | | |
136 | 135 | | |
137 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
138 | 143 | | |
139 | 144 | | |
140 | 145 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | | - | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | | - | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
26 | | - | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
This file was deleted.
0 commit comments