check-package-lock 1.6.0 → 1.9.0

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.
Files changed (3) hide show
  1. package/README.md +46 -42
  2. package/package.json +47 -47
  3. package/test/index.js +0 -0
package/README.md CHANGED
@@ -1,42 +1,46 @@
1
- # check-package-lock
2
- Checks the package-lock.json file for http:// links
3
-
4
- ## What does it do?
5
- check-package-lock can check if the package-lock.json file contain insecure http:// links
6
-
7
- ## Usage
8
- To check the package-lock.json file in the current folder:
9
- ```
10
- npm install -g check-package-lock
11
- check-package-lock
12
- ```
13
-
14
- To check the package-lock.json file in another folder:
15
- ```
16
- npm install -g check-package-lock
17
- check-package-lock --folder 'nodefolder'
18
- ```
19
-
20
- ## Exit codes
21
- ```
22
- 0 = No errors
23
- 1 = Errors were founds in the package-lock.json files
24
- 2 = package-lock.json was not found
25
- 3 = Folder specified does not exists
26
- 4 = Folder specified is not a folder
27
- ```
28
-
29
- ## Continuous Integration
30
- check-package-lock can be used in CI environments to check your package-lock.json file before merging a pull request
31
-
32
- ## Badges
33
-
34
- [![CircleCI](https://circleci.com/gh/gemal/node-check-package-lock.svg?style=svg)](https://circleci.com/gh/gemal/node-check-package-lock)
35
-
36
- [![codecov](https://codecov.io/gh/gemal/node-check-package-lock/branch/master/graph/badge.svg)](https://codecov.io/gh/gemal/node-check-package-lock)
37
-
38
- [![StyleCI](https://github.styleci.io/repos/183420925/shield?branch=master)](https://github.styleci.io/repos/183420925)
39
-
40
- [![Known Vulnerabilities](https://snyk.io/test/github/gemal/node-check-package-lock/badge.svg)](https://snyk.io/test/github/gemal/node-check-package-lock)
41
-
42
- [![Total alerts](https://img.shields.io/lgtm/alerts/g/gemal/node-check-package-lock.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/gemal/node-check-package-lock/alerts/)
1
+ # check-package-lock
2
+ Checks the package-lock.json file for http:// links
3
+
4
+ ## What does it do?
5
+ check-package-lock can check if the package-lock.json file contain insecure http:// links
6
+
7
+ ## Usage
8
+ To check the package-lock.json file in the current folder:
9
+ ```
10
+ npm install -g check-package-lock
11
+ check-package-lock
12
+ ```
13
+
14
+ To check the package-lock.json file in another folder:
15
+ ```
16
+ npm install -g check-package-lock
17
+ check-package-lock --folder 'nodefolder'
18
+ ```
19
+
20
+ ## Exit codes
21
+ ```
22
+ 0 = No errors
23
+ 1 = Errors were founds in the package-lock.json files
24
+ 2 = package-lock.json was not found
25
+ 3 = Folder specified does not exists
26
+ 4 = Folder specified is not a folder
27
+ ```
28
+
29
+ ## Continuous Integration
30
+ check-package-lock can be used in CI environments to check your package-lock.json file before merging a pull request
31
+
32
+ ## Badges
33
+
34
+ [![CircleCI](https://circleci.com/gh/gemal/node-check-package-lock.svg?style=svg)](https://circleci.com/gh/gemal/node-check-package-lock)
35
+
36
+ [![codecov](https://codecov.io/gh/gemal/node-check-package-lock/branch/master/graph/badge.svg)](https://codecov.io/gh/gemal/node-check-package-lock)
37
+
38
+ [![StyleCI](https://github.styleci.io/repos/183420925/shield)](https://github.styleci.io/repos/183420925)
39
+
40
+ [![Known Vulnerabilities](https://snyk.io/test/github/gemal/node-check-package-lock/badge.svg)](https://snyk.io/test/github/gemal/node-check-package-lock)
41
+
42
+ [![Total alerts](https://img.shields.io/lgtm/alerts/g/gemal/node-check-package-lock.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/gemal/node-check-package-lock/alerts/)
43
+
44
+ [![CodeFactor](https://www.codefactor.io/repository/github/gemal/node-check-package-lock/badge)](https://www.codefactor.io/repository/github/gemal/node-check-package-lock)
45
+
46
+ [![DeepScan grade](https://deepscan.io/api/teams/14204/projects/17307/branches/392368/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=14204&pid=17307&bid=392368)
package/package.json CHANGED
@@ -1,47 +1,47 @@
1
- {
2
- "name": "check-package-lock",
3
- "version": "1.6.0",
4
- "description": "Checks the package-lock.json file for http:// links",
5
- "main": "index.js",
6
- "repository": {
7
- "type": "git",
8
- "url": "https://github.com/gemal/node-check-package-lock"
9
- },
10
- "scripts": {
11
- "test": "mocha"
12
- },
13
- "author": "Henrik Gemal <henrik@gemal.dk> (http://gemal.dk/)",
14
- "license": "MIT",
15
- "bin": {
16
- "check-package-lock": "index.js"
17
- },
18
- "bugs": {
19
- "url": "https://github.com/gemal/node-check-package-lock/issues"
20
- },
21
- "keywords": [
22
- "package",
23
- "package-lock",
24
- "check",
25
- "cli",
26
- "lock",
27
- "http",
28
- "automate",
29
- "ci"
30
- ],
31
- "homepage": "https://github.com/gemal/node-check-package-lock",
32
- "dependencies": {
33
- "commander": "^7.2.0"
34
- },
35
- "devDependencies": {
36
- "chai": "^4.3.4",
37
- "child_process": "^1.0.2",
38
- "codecov": "^3.8.2",
39
- "eslint": "^7.26.0",
40
- "eslint-config-google": "^0.14.0",
41
- "expect": "^27.0.0",
42
- "lintspaces-cli": "^0.7.1",
43
- "mocha": "^9.0.0",
44
- "nyc": "^15.1.0",
45
- "snyk": "^1.594.0"
46
- }
47
- }
1
+ {
2
+ "name": "check-package-lock",
3
+ "version": "1.9.0",
4
+ "description": "Checks the package-lock.json file for http:// links",
5
+ "main": "index.js",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/gemal/node-check-package-lock"
9
+ },
10
+ "scripts": {
11
+ "test": "mocha"
12
+ },
13
+ "author": "Henrik Gemal <henrik@gemal.dk> (http://gemal.dk/)",
14
+ "license": "MIT",
15
+ "bin": {
16
+ "check-package-lock": "index.js"
17
+ },
18
+ "bugs": {
19
+ "url": "https://github.com/gemal/node-check-package-lock/issues"
20
+ },
21
+ "keywords": [
22
+ "package",
23
+ "package-lock",
24
+ "check",
25
+ "cli",
26
+ "lock",
27
+ "http",
28
+ "automate",
29
+ "ci"
30
+ ],
31
+ "homepage": "https://github.com/gemal/node-check-package-lock",
32
+ "dependencies": {
33
+ "commander": "^9.0.0"
34
+ },
35
+ "devDependencies": {
36
+ "chai": "^4.3.4",
37
+ "child_process": "^1.0.2",
38
+ "codecov": "^3.8.2",
39
+ "eslint": "^8.8.0",
40
+ "eslint-config-google": "^0.14.0",
41
+ "expect": "^28.1.3",
42
+ "lintspaces-cli": "^0.7.1",
43
+ "mocha": "^10.0.0",
44
+ "nyc": "^15.1.0",
45
+ "snyk": "^1.594.0"
46
+ }
47
+ }
package/test/index.js CHANGED
File without changes