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

puppeteer

Package Overview
Dependencies
Maintainers
3
Versions
908
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

puppeteer - npm Package Compare versions

Comparing version 0.10.0 to 0.10.1

examples/custom-event.js

3

CONTRIBUTING.md

@@ -119,5 +119,2 @@ # How to Contribute

There are also phantomjs tests located under [third_party/phantomjs/test](https://github.com/GoogleChrome/puppeteer/tree/master/third_party/phantomjs). These
are used to test `phantom_shim`.
## Public API Coverage

@@ -124,0 +121,0 @@

@@ -1,4 +0,4 @@

##### Released API: [v0.9.0](https://github.com/GoogleChrome/puppeteer/blob/v0.9.0/docs/api.md)
##### Released API: [v0.10.0](https://github.com/GoogleChrome/puppeteer/blob/v0.10.0/docs/api.md) [v0.9.0](https://github.com/GoogleChrome/puppeteer/blob/v0.9.0/docs/api.md)
# Puppeteer API v<!-- GEN:version -->0.10.0<!-- GEN:stop-->
# Puppeteer API v<!-- GEN:version -->0.10.1<!-- GEN:stop-->

@@ -5,0 +5,0 @@ ##### Table of Contents

@@ -221,2 +221,7 @@ /**

// Polyfill from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries
if (!Object.entries)
Object.entries = obj => Object.keys(obj).map(key => [key, obj[key]]);
module.exports = Helper;

@@ -19,3 +19,3 @@ /**

const Multimap = require('./Multimap');
const {URL} = require('url');
const url = require('url');

@@ -360,9 +360,9 @@ class NetworkManager extends EventEmitter {

/**
* @param {string} url
* @param {string} urlString
* @return {string}
*/
function removeURLHash(url) {
const urlObject = new URL(url);
function removeURLHash(urlString) {
const urlObject = url.parse(urlString);
urlObject.hash = '';
return urlObject.toString();
return url.format(urlObject);
}

@@ -369,0 +369,0 @@

@@ -273,2 +273,7 @@ /**

// Polyfill from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries
if (!Object.entries)
Object.entries = obj => Object.keys(obj).map(key => [key, obj[key]]);
module.exports = Helper;

@@ -19,3 +19,3 @@ /**

const Multimap = require('./Multimap');
const {URL} = require('url');
const url = require('url');

@@ -516,9 +516,9 @@ class NetworkManager extends EventEmitter {

/**
* @param {string} url
* @param {string} urlString
* @return {string}
*/
function removeURLHash(url) {
const urlObject = new URL(url);
function removeURLHash(urlString) {
const urlObject = url.parse(urlString);
urlObject.hash = '';
return urlObject.toString();
return url.format(urlObject);
}

@@ -525,0 +525,0 @@

{
"name": "puppeteer",
"version": "0.10.0",
"version": "0.10.1",
"description": "A high-level API to control headless Chrome over the DevTools Protocol",

@@ -13,5 +13,4 @@ "main": "index.js",

"debug-unit": "DEBUG_TEST=true node --inspect-brk ./node_modules/.bin/jasmine test/test.js",
"test-phantom": "python third_party/phantomjs/test/run-tests.py",
"test-doclint": "jasmine utils/doclint/check_public_api/test/test.js && jasmine utils/doclint/preprocessor/test.js",
"test": "npm run lint --silent && npm run coverage && npm run test-phantom && npm run test-doclint && npm run test-node6",
"test": "npm run lint --silent && npm run coverage && npm run test-doclint && npm run test-node6-transformer",
"install": "node install.js",

@@ -21,6 +20,5 @@ "lint": "([ \"$CI\" = true ] && eslint --quiet -f codeframe . || eslint .) && npm run doc",

"coverage": "COVERAGE=true npm run unit",
"node6": "node utils/node6-transform/index.js",
"test-node6": "jasmine utils/node6-transform/test/test.js",
"build": "npm run node6",
"node6-sanity": "jasmine test/sanity.js"
"test-node6-transformer": "jasmine utils/node6-transform/test/test.js",
"build": "node utils/node6-transform/index.js",
"unit-node6": "jasmine node6-test/test.js"
},

@@ -27,0 +25,0 @@ "author": "The Chromium Authors",

@@ -24,3 +24,3 @@ # Puppeteer [![Build Status](https://travis-ci.org/GoogleChrome/puppeteer.svg?branch=master)](https://travis-ci.org/GoogleChrome/puppeteer) [![NPM puppeteer package](https://img.shields.io/npm/v/puppeteer.svg)](https://npmjs.org/package/puppeteer)

*Puppeteer requires Node version 7.10 or greater*
*Puppeteer requires Node version 6.4.0 or greater*

@@ -27,0 +27,0 @@ To use Puppeteer in your project, run:

@@ -79,3 +79,3 @@ // Copyright (c) 2014 The Chromium Authors. All rights reserved.

ESTreeWalker._walkOrder = {
'AwaitExpression': ['arguments'],
'AwaitExpression': ['argument'],
'ArrayExpression': ['elements'],

@@ -82,0 +82,0 @@ 'ArrowFunctionExpression': ['params', 'body'],

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