Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@website-checks/website-checks

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@website-checks/website-checks - npm Package Compare versions

Comparing version 1.19.0 to 1.20.0

.github/workflows/codeql-analysis.yml

2

index.js

@@ -42,8 +42,8 @@ const puppeteer = require('puppeteer')

checks.securityheaders()
checks.ssldecoder()
checks.ssllabs()
checks.webbkoll()
checks.webhint()
checks.yellowlab()
}
runChecks()

@@ -0,1 +1,3 @@

'use strict';
const { green } = require('kleur')

@@ -2,0 +4,0 @@ const successHandler = require('./success-handler')

@@ -0,1 +1,3 @@

'use strict';
const checkYourWebsite = require('./checks/check-your-website')

@@ -9,6 +11,6 @@ const crtsh = require('./checks/crtsh')

const securityheaders = require('./checks/securityheaders')
const ssldecoder = require('./checks/ssldecoder')
const ssllabs = require('./checks/ssllabs')
const webbkoll = require('./checks/webbkoll')
const webhint = require('./checks/webhint')
const yellowlab = require('./checks/yellowlab')

@@ -24,6 +26,6 @@ module.exports = {

securityheaders,
ssldecoder,
ssllabs,
webbkoll,
webhint,
yellowlab,
}

@@ -0,1 +1,3 @@

'use strict';
const path = require('path')

@@ -14,6 +16,6 @@ const checkFunction = require('../check-function')

await page.goto('https://check-your-website.server-daten.de/?q=' + url)
await page.waitFor(1000)
await page.waitFor(10000)
await page.waitForFunction('!document.querySelector(\'meta[http-equiv="refresh"]\')', { timeout: 340000 })
await page.waitFor(1000)
await page.emulateMedia('screen')
await page.emulateMediaType('screen')
await page.evaluate(() => document.querySelector('#sdCookieBanner').style.display = 'none')

@@ -20,0 +22,0 @@ await page.pdf({ path: path.resolve(output_path, './check-your-website.pdf'), format: 'A4', printBackground: true })

@@ -0,1 +1,3 @@

'use strict';
const path = require('path')

@@ -2,0 +4,0 @@ const retry = require('../retry')

@@ -0,1 +1,3 @@

'use strict';
const path = require('path')

@@ -14,3 +16,3 @@ const checkFunction = require('../check-function')

await page.evaluate(() => document.querySelector('header').style.display = 'none')
await page.emulateMedia('screen')
await page.emulateMediaType('screen')
await page.pdf({ path: path.resolve(output_path, './cryptcheck.pdf'), format: 'A4', printBackground: true })

@@ -17,0 +19,0 @@ }

@@ -0,1 +1,3 @@

'use strict';
const path = require('path')

@@ -2,0 +4,0 @@ const retry = require('../retry')

@@ -0,1 +1,3 @@

'use strict';
const path = require('path')

@@ -11,3 +13,3 @@ const checkFunction = require('../check-function')

await page.waitForSelector('#http-results', { timeout: 240000, visible: true })
await page.emulateMedia('screen')
await page.emulateMediaType('screen')
await page.pdf({ path: path.resolve(output_path, './httpobservatory.pdf'), scale: 0.75, format: 'A4', printBackground: true })

@@ -14,0 +16,0 @@ }

@@ -0,1 +1,3 @@

'use strict';
const path = require('path')

@@ -2,0 +4,0 @@ const retry = require('../retry')

@@ -0,1 +1,3 @@

'use strict';
const path = require('path')

@@ -2,0 +4,0 @@ const retry = require('../retry')

@@ -0,1 +1,3 @@

'use strict';
const path = require('path')

@@ -2,0 +4,0 @@ const checkFunction = require('../check-function')

@@ -0,1 +1,3 @@

'use strict';
const path = require('path')

@@ -2,0 +4,0 @@ const checkFunction = require('../check-function')

@@ -0,1 +1,3 @@

'use strict';
const path = require('path')

@@ -10,2 +12,3 @@ const checkFunction = require('../check-function')

await page.goto('https://webbkoll.dataskydd.net/en/check?url=' + url + '&refresh=on')
await page.click("form.search-bar button");
await page.waitForFunction('window.location.href.startsWith("https://webbkoll.dataskydd.net/en/results")', { timeout: 240000 })

@@ -12,0 +15,0 @@ await page.pdf({ path: path.resolve(output_path, './webbkoll.pdf'), format: 'A4', printBackground: true })

@@ -0,1 +1,3 @@

'use strict';
const path = require('path')

@@ -2,0 +4,0 @@ const checkFunction = require('../check-function')

@@ -0,1 +1,3 @@

'use strict';
const fs = require('fs')

@@ -2,0 +4,0 @@ const path = require('path')

@@ -0,1 +1,3 @@

'use strict';
module.exports = () => {

@@ -2,0 +4,0 @@ let dateInstance = new Date()

@@ -0,1 +1,3 @@

'use strict';
const fs = require('fs')

@@ -2,0 +4,0 @@ const path = require('path')

@@ -0,1 +1,3 @@

'use strict';
const { red } = require('kleur')

@@ -2,0 +4,0 @@ const teardown = require('./teardown')

@@ -0,1 +1,3 @@

'use strict';
const util = require('util')

@@ -2,0 +4,0 @@ const delay = util.promisify(setTimeout)

@@ -0,1 +1,3 @@

'use strict';
const fs = require('fs')

@@ -2,0 +4,0 @@ const path = require('path')

@@ -0,1 +1,3 @@

'use strict';
module.exports = async () => {

@@ -8,5 +10,5 @@ return await puppeteer.launch({

'--disable-dev-shm-usage',
'--disable-gpu'
'--disable-gpu',
],
})
}

@@ -0,1 +1,3 @@

'use strict';
const { green } = require('kleur')

@@ -2,0 +4,0 @@ const teardown = require('./teardown')

@@ -0,1 +1,3 @@

'use strict';
module.exports = async () => {

@@ -2,0 +4,0 @@ if (open_pages === 0) {

@@ -0,1 +1,3 @@

'use strict';
const { red } = require('kleur')

@@ -2,0 +4,0 @@

{
"name": "@website-checks/website-checks",
"version": "1.19.0",
"version": "1.20.0",
"main": "index.js",

@@ -16,7 +16,6 @@ "description": "checks websites with multiple services",

"test:securityheaders": "node index.js iana.org --securityheaders",
"test:ssldecoder": "node index.js iana.org --ssldecoder",
"test:ssldecoder-fast": "node index.js iana.org --ssldecoder-fast",
"test:ssllabs": "node index.js iana.org --ssllabs",
"test:webbkoll": "node index.js iana.org --webbkoll",
"test:webhint": "node index.js iana.org --webhint"
"test:webhint": "node index.js iana.org --webhint",
"test:yellowlab": "node index.js iana.org --yellowlab"
},

@@ -29,3 +28,3 @@ "bin": {

"type": "git",
"url": "git+https://github.com/DanielRuf/website-checks.git"
"url": "git+https://github.com/website-checks/website-checks.git"
},

@@ -49,8 +48,8 @@ "keywords": [

"bugs": {
"url": "https://github.com/DanielRuf/website-checks/issues"
"url": "https://github.com/website-checks/website-checks/issues"
},
"homepage": "https://github.com/DanielRuf/website-checks#readme",
"homepage": "https://github.com/website-checks/website-checks#readme",
"dependencies": {
"kleur": "3.0.3",
"puppeteer": "2.1.1"
"kleur": "4.0.2",
"puppeteer": "5.3.1"
},

@@ -57,0 +56,0 @@ "devDependencies": {

# website-checks
[![Build Status](https://github.com/DanielRuf/website-checks/workflows/CI/badge.svg)](https://github.com/DanielRuf/website-checks/actions?workflow=CI)
[![Build Status](https://github.com/website-checks/website-checks/workflows/CI/badge.svg)](https://github.com/website-checks/website-checks/actions?workflow=CI)

@@ -16,6 +16,6 @@ `website-checks` checks websites with multiple services and generates PDF files of the reports.

* Security Headers
* SSL Decoder
* SSLLabs
* webbkoll
* webhint
* Yellow Lab Tools

@@ -29,3 +29,3 @@ ## Installation

//npm.pkg.github.com/:_authToken=<github-access-token>
@danielruf:registry=https://npm.pkg.github.com
@website-checks:registry=https://npm.pkg.github.com
```

@@ -37,5 +37,5 @@

```
yarn global add @danielruf/website-checks
yarn global add @website-checks/website-checks
# or
npm i -g @danielruf/website-checks
npm i -g @website-checks/website-checks
```

@@ -45,5 +45,5 @@

```
yarn global add danielruf/website-checks
yarn global add website-checks/website-checks
# or
npm i -g danielruf/website-checks
npm i -g website-checks/website-checks
```

@@ -57,3 +57,3 @@

In [docker-compose.yml](https://github.com/DanielRuf/website-checks/blob/0b11bb3f7218b732a15da5dcff93576f46c47416/docker-compose.yml#L5), modify the TARGET_URL variable to change the website.
In [docker-compose.yml](https://github.com/website-checks/website-checks/blob/0b11bb3f7218b732a15da5dcff93576f46c47416/docker-compose.yml#L5), modify the TARGET_URL variable to change the website.

@@ -75,4 +75,2 @@ Then run:

### CLI flags
By default all checks (except `--ssldecoder`) will run. If you want to run only specific checks you can add CLI flags.
Currently the following CLI flags will run the matching checks:

@@ -88,7 +86,6 @@ ```

--securityheaders
--ssldecoder
--ssldecoder-fast
--ssllabs
--webbkoll
--webhint
--yellowlab
```

@@ -95,0 +92,0 @@

@@ -0,1 +1,3 @@

'use strict';
let options = process.argv.slice(3) || []

@@ -2,0 +4,0 @@ if (process.argv[2] === '--help') {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc