Socket
Socket
Sign inDemoInstall

grunt-lib-phantomjs

Package Overview
Dependencies
Maintainers
4
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-lib-phantomjs - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

2

lib/phantomjs.js

@@ -25,3 +25,3 @@ /*

// The module to be exported is an event emitter.
var exports = new EventEmitter2({wildcard: true});
var exports = new EventEmitter2({wildcard: true, maxListeners: 0});

@@ -28,0 +28,0 @@ // Get an asset file, local to the root of the project.

{
"name": "grunt-lib-phantomjs",
"description": "Grunt and PhantomJS, sitting in a tree.",
"version": "0.4.0",
"version": "0.5.0",
"homepage": "http://github.com/gruntjs/grunt-lib-phantomjs",

@@ -38,3 +38,4 @@ "author": {

"grunt": "~0.4.0",
"difflet": "~0.2.3"
"difflet": "~0.2.3",
"express": "~3.1.1"
},

@@ -41,0 +42,0 @@ "main": "lib/phantomjs",

@@ -47,3 +47,3 @@ /*

// Create a new page.
var page = require('webpage').create();
var page = require('webpage').create(options.page);

@@ -123,3 +123,3 @@ // Inject bridge script into client page.

// reset this handler to a no-op so further calls to onLoadFinished from iframes don't affect us
page.onLoadFinished = function() { /* no-op */}
page.onLoadFinished = function() { /* no-op */};

@@ -126,0 +126,0 @@ // The window has loaded.

@@ -11,2 +11,8 @@ # grunt-lib-phantomjs

### Options
* `timeout`: PhantomJS' timeout, in milliseconds.
* `inject`: JavaScript to inject into the page.
* `page`: an object of options for the PhantomJS [`page` object](https://github.com/ariya/phantomjs/wiki/API-Reference-WebPage).
## An inline example

@@ -13,0 +19,0 @@

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