From 306779ff2aa4521cd7c76fafba806f7d1a075fb6 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 26 Dec 2019 15:00:23 +0200 Subject: [PATCH 1/2] Update lockfile-lint flags Add `--allowed-schemes https:` and `--empty-hostname false` --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9ee9c477515cd..8cae57b0c9007 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "test:lint:js": "standard", "test:lint:md": "remark -qf .", "test:lint:stylelint": "stylelint \"layouts/css/**/*.{css,scss}\"", - "test:lint:lockfile": "lockfile-lint --allowed-hosts npm github.com --validate-https --type npm --path package-lock.json", + "test:lint:lockfile": "lockfile-lint --allowed-hosts npm github.com --allowed-schemes https: --empty-hostname false --validate-https --type npm --path package-lock.json", "test:lint": "npm-run-all --parallel test:lint:*", "test:html": "node scripts/vnu-jar.js", "test:unit": "tape tests/**/*.test.js | faucet" From 7eb76fd860fbb3b01a6df54253dde7e597446e26 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 28 Dec 2019 09:44:55 +0200 Subject: [PATCH 2/2] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8cae57b0c9007..7b7be945d4180 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "test:lint:js": "standard", "test:lint:md": "remark -qf .", "test:lint:stylelint": "stylelint \"layouts/css/**/*.{css,scss}\"", - "test:lint:lockfile": "lockfile-lint --allowed-hosts npm github.com --allowed-schemes https: --empty-hostname false --validate-https --type npm --path package-lock.json", + "test:lint:lockfile": "lockfile-lint --allowed-hosts npm github.com --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json", "test:lint": "npm-run-all --parallel test:lint:*", "test:html": "node scripts/vnu-jar.js", "test:unit": "tape tests/**/*.test.js | faucet"