New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

axe-puppeteer

Package Overview
Dependencies
Maintainers
5
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axe-puppeteer - npm Package Compare versions

Comparing version 0.1.0-canary.8ffaefb1 to 0.1.0-canary.948b14ee

3

dist/axePuppeteer.js
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());

@@ -8,0 +9,0 @@ });

"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());

@@ -18,6 +19,8 @@ });

analyze(callback) {
const _super = name => super[name];
const _super = Object.create(null, {
analyze: { get: () => super.analyze }
});
return __awaiter(this, void 0, void 0, function* () {
try {
return yield _super("analyze").call(this, callback);
return yield _super.analyze.call(this, callback);
}

@@ -24,0 +27,0 @@ finally {

{
"name": "axe-puppeteer",
"version": "0.1.0-canary.8ffaefb1",
"version": "0.1.0-canary.948b14ee",
"description": "Provides a chainable axe API for Puppeteer and automatically injects into all frames",

@@ -25,5 +25,5 @@ "repository": {

"@types/mocha": "^5.2.5",
"@types/node": "^10.12.10",
"@types/node": "^12.7.5",
"@types/puppeteer": "^1.10.0",
"@types/sinon": "^5.0.7",
"@types/sinon": "^7.0.13",
"@types/test-listen": "^1.1.0",

@@ -33,5 +33,5 @@ "chai": "^4.2.0",

"husky": "^1.2.0",
"lint-staged": "^8.0.5",
"lint-staged": "^9.2.5",
"mocha": "^5.2.0",
"nyc": "^13.1.0",
"nyc": "^14.1.1",
"prettier": "^1.15.2",

@@ -42,3 +42,3 @@ "puppeteer": "^1.10.0",

"test-listen": "^1.1.0",
"ts-node": "^7.0.1",
"ts-node": "^8.3.0",
"tslint": "^5.11.0",

@@ -51,6 +51,6 @@ "tslint-config-prettier": "^1.16.0",

"dependencies": {
"axe-core": "^3.3.1"
"axe-core": "^3.5.3"
},
"peerDependencies": {
"puppeteer": "^1.10.0"
"puppeteer": "^1.10.0 || ^2.0.0"
},

@@ -57,0 +57,0 @@ "engines": {

import * as Axe from 'axe-core'
import { Browser, Frame, Page } from 'puppeteer'
import { Browser, Frame, JSONObject, Page } from 'puppeteer'
import { pageIsLoaded, runAxe } from './browser'

@@ -229,5 +229,5 @@ import { AnalyzeCB } from './types'

runAxe,
this.config,
context,
this.axeOptions
this.config as JSONObject,
context as JSONObject,
this.axeOptions as JSONObject
)

@@ -234,0 +234,0 @@

Sorry, the diff of this file is not supported yet

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