Socket
Socket
Sign inDemoInstall

puppeteer-extra-plugin

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

puppeteer-extra-plugin - npm Package Compare versions

Comparing version 3.1.8 to 3.1.9

17

dist/index.cjs.js
/*!
* puppeteer-extra-plugin v3.1.7 by berstend
* puppeteer-extra-plugin v3.1.8 by berstend
* https://github.com/berstend/puppeteer-extra/tree/master/packages/puppeteer-extra-plugin

@@ -340,5 +340,2 @@ * @license MIT

}
async onWorkerCreated(worker) {
// noop
}
/**

@@ -426,3 +423,3 @@ * Called when the url of a target changes.

const pluginNames = new Set(plugins.map((p) => p.name));
const missing = new Set(Array.from(this.dependencies.values()).filter(x => !pluginNames.has(x)));
const missing = new Set(Array.from(this.dependencies.values()).filter((x) => !pluginNames.has(x)));
return missing;

@@ -499,12 +496,2 @@ }

}
else if (target.type() === 'service_worker' || target.type() === 'shared_worker') {
const worker = await target.worker();
if (worker) {
// Fixme: find some nicer way to add the method
worker.evaluateOnNewDocument = worker.evaluate;
if (this.onWorkerCreated) {
await this.onWorkerCreated(worker);
}
}
}
}

@@ -511,0 +498,0 @@ /**

@@ -315,3 +315,2 @@ import { Debugger } from 'debug';

onPageCreated(page: Puppeteer.Page): Promise<void>;
onWorkerCreated(worker: Puppeteer.Worker): Promise<void>;
/**

@@ -318,0 +317,0 @@ * Called when the url of a target changes.

/*!
* puppeteer-extra-plugin v3.1.7 by berstend
* puppeteer-extra-plugin v3.1.8 by berstend
* https://github.com/berstend/puppeteer-extra/tree/master/packages/puppeteer-extra-plugin

@@ -334,5 +334,2 @@ * @license MIT

}
async onWorkerCreated(worker) {
// noop
}
/**

@@ -420,3 +417,3 @@ * Called when the url of a target changes.

const pluginNames = new Set(plugins.map((p) => p.name));
const missing = new Set(Array.from(this.dependencies.values()).filter(x => !pluginNames.has(x)));
const missing = new Set(Array.from(this.dependencies.values()).filter((x) => !pluginNames.has(x)));
return missing;

@@ -493,12 +490,2 @@ }

}
else if (target.type() === 'service_worker' || target.type() === 'shared_worker') {
const worker = await target.worker();
if (worker) {
// Fixme: find some nicer way to add the method
worker.evaluateOnNewDocument = worker.evaluate;
if (this.onWorkerCreated) {
await this.onWorkerCreated(worker);
}
}
}
}

@@ -505,0 +492,0 @@ /**

@@ -334,5 +334,2 @@ "use strict";

}
async onWorkerCreated(worker) {
// noop
}
/**

@@ -420,3 +417,3 @@ * Called when the url of a target changes.

const pluginNames = new Set(plugins.map((p) => p.name));
const missing = new Set(Array.from(this.dependencies.values()).filter(x => !pluginNames.has(x)));
const missing = new Set(Array.from(this.dependencies.values()).filter((x) => !pluginNames.has(x)));
return missing;

@@ -493,12 +490,2 @@ }

}
else if (target.type() === 'service_worker' || target.type() === 'shared_worker') {
const worker = await target.worker();
if (worker) {
// Fixme: find some nicer way to add the method
worker.evaluateOnNewDocument = worker.evaluate;
if (this.onWorkerCreated) {
await this.onWorkerCreated(worker);
}
}
}
}

@@ -505,0 +492,0 @@ /**

6

package.json
{
"name": "puppeteer-extra-plugin",
"version": "3.1.8",
"version": "3.1.9",
"description": "Base class for puppeteer-extra plugins.",

@@ -47,3 +47,3 @@ "main": "dist/index.cjs.js",

"@types/node": "^13.1.4",
"@types/puppeteer": "*",
"@types/puppeteer": "5.4.3",
"ava": "2.4.0",

@@ -73,3 +73,3 @@ "documentation-markdown-themes": "^12.1.5",

},
"gitHead": "0abcb1e7084d02e499dd979dc6f07b78940e301c"
"gitHead": "adcc26325c9a01febcd152e5fb79555b29187a5f"
}

Sorry, the diff of this file is not supported yet

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