Skip to content

Commit 9aad668

Browse files
authored
chore: Remove SPDX header (#166)
Considering that the LICENSE is always attached with the project, it's redundant to include the license in the headers.
1 parent 041cec6 commit 9aad668

9 files changed

+1
-55
lines changed

CONTRIBUTING.md

-14
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,6 @@ The project maintainers use the GitHub reviewer functionality to indicate accept
2323

2424
For a list of the maintainers, see the [MAINTAINERS.md](MAINTAINERS.md) page.
2525

26-
## Legal
27-
28-
Each source file must include a license header for the Apache
29-
Software License 2.0. Using the SPDX format is the simplest approach.
30-
e.g.
31-
32-
```
33-
/*
34-
* Copyright IBM All Rights Reserved.
35-
*
36-
* SPDX-License-Identifier: Apache-2.0
37-
*/
38-
```
39-
4026
## Setup
4127

4228
1. `git clone [email protected]:IBM/audit-ci.git`

lib/Model.js

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/*
2-
* Copyright IBM All Rights Reserved.
3-
*
4-
* SPDX-License-Identifier: Apache-2.0
5-
*/
61
const SUPPORTED_SEVERITY_LEVELS = new Set([
72
"critical",
83
"high",

lib/audit-ci.js

-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
#!/usr/bin/env node
2-
/*
3-
* Copyright IBM All Rights Reserved.
4-
*
5-
* SPDX-License-Identifier: Apache-2.0
6-
*/
72
const fs = require("fs");
83
const path = require("path");
94
const yargs = require("yargs");

lib/common.js

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/*
2-
* Copyright IBM All Rights Reserved.
3-
*
4-
* SPDX-License-Identifier: Apache-2.0
5-
*/
61
const { spawn } = require("cross-spawn");
72
const eventStream = require("event-stream");
83
const JSONStream = require("JSONStream");

lib/npm-auditer.js

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/*
2-
* Copyright IBM All Rights Reserved.
3-
*
4-
* SPDX-License-Identifier: Apache-2.0
5-
*/
61
const { blue } = require("./colors");
72
const { runProgram, reportAudit } = require("./common");
83
const Model = require("./Model");

lib/yarn-auditer.js

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/*
2-
* Copyright IBM All Rights Reserved.
3-
*
4-
* SPDX-License-Identifier: Apache-2.0
5-
*/
61
const childProcess = require("child_process");
72
const semver = require("semver");
83
const { blue, red, yellow } = require("./colors");

test/Model.js

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/*
2-
* Copyright IBM All Rights Reserved.
3-
*
4-
* SPDX-License-Identifier: Apache-2.0
5-
*/
61
const { expect } = require("chai");
72
const Model = require("../lib/Model");
83
const Allowlist = require("../lib/allowlist");
@@ -53,7 +48,7 @@ describe("Model", () => {
5348

5449
const parsedAuditOutput = {
5550
advisories: {
56-
"663": {
51+
663: {
5752
id: 663,
5853
title: "Command Injection",
5954
module_name: "open",

test/npm-auditer.js

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/*
2-
* Copyright IBM All Rights Reserved.
3-
*
4-
* SPDX-License-Identifier: Apache-2.0
5-
*/
61
const { expect } = require("chai");
72
const path = require("path");
83
const audit = require("../lib/audit").bind(null, "npm");

test/yarn-auditer.js

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/*
2-
* Copyright IBM All Rights Reserved.
3-
*
4-
* SPDX-License-Identifier: Apache-2.0
5-
*/
61
const { expect } = require("chai");
72
const path = require("path");
83
const audit = require("../lib/audit").bind(null, "yarn");

0 commit comments

Comments
 (0)