@netflix/x-test
Advanced tools
Comparing version 1.0.0-rc.20 to 1.0.0-rc.21
{ | ||
"name": "@netflix/x-test", | ||
"version": "1.0.0-rc.20", | ||
"description": "a simple, tap-compliant test runner for the browser", | ||
"version": "1.0.0-rc.21", | ||
"license": "Apache-2.0", | ||
"repository": "https://github.com/Netflix/x-test", | ||
"type": "module", | ||
"main": "x-test.js", | ||
"module": "x-test.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+ssh://git@github.com/Netflix/x-test.git" | ||
}, | ||
"author": "Andrew Seier", | ||
"license": "SEE LICENSE IN LICENSE", | ||
"publishConfig": { | ||
"access": "public" | ||
"access": "public", | ||
"registry": "https://registry.npmjs.org" | ||
}, | ||
"scripts": { | ||
"start": "http-server -o demo -c-1", | ||
"start": "node ./server.js", | ||
"lint": "eslint --max-warnings=0 .", | ||
"lint-fix": "eslint --fix .", | ||
"test": "node test.js | tap-parser -l" | ||
"test": "node test.js | tap-parser -l", | ||
"bump": "./bump.sh" | ||
}, | ||
@@ -29,8 +28,18 @@ "files": [ | ||
], | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"eslint": "^8.36.0", | ||
"http-server": "^14.1.1", | ||
"puppeteer": "^19.7.2", | ||
"tap-parser": "^12.0.1" | ||
} | ||
"eslint": "^8.56.0", | ||
"puppeteer": "^22.0.0", | ||
"tap-parser": "^15.3.1" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Andrew Seier", | ||
"email": "aseier@netflix.com" | ||
}, | ||
{ | ||
"name": "Casey Klebba", | ||
"email": "cklebba@netflix.com" | ||
} | ||
] | ||
} |
15
test.js
@@ -1,3 +0,2 @@ | ||
/* eslint-env node */ | ||
const puppeteer = require('puppeteer'); | ||
import puppeteer from 'puppeteer'; | ||
@@ -7,3 +6,13 @@ (async () => { | ||
// Open our browser. | ||
const browser = await puppeteer.launch({ timeout: 10000 }); | ||
const browser = await puppeteer.launch({ | ||
timeout: 10000, | ||
// opt-in to the new Chrome headless implementation | ||
// ref: https://developer.chrome.com/articles/new-headless/ | ||
headless: 'new', | ||
args: [ | ||
// Disables interactive prompt: Do you want to the application Chromium.app to accept incoming network connections? | ||
// ref: https://github.com/puppeteer/puppeteer/issues/4752#issuecomment-586599843 | ||
'--disable-features=DialMediaRouteProvider', | ||
], | ||
}); | ||
const page = await browser.newPage(); | ||
@@ -10,0 +19,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
120495
3
0
2597
Yes
1