Socket
Socket
Sign inDemoInstall

grunt-lib-phantomjs

Package Overview
Dependencies
Maintainers
6
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.6.0 to 0.7.0

8

lib/phantomjs.js

@@ -5,3 +5,3 @@ /*

*
* Copyright (c) 2013 "Cowboy" Ben Alman, contributors
* Copyright (c) 2015 "Cowboy" Ben Alman, contributors
* Licensed under the MIT license.

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

var semver = require('semver');
var Tempfile = require('temporary/lib/file');
var Tempfile = require('temporary').File;
var EventEmitter2 = require('eventemitter2').EventEmitter2;

@@ -60,4 +60,4 @@

var kill = function(){
// Only kill process if it's connected, otherwise an error would be thrown.
if (phantomJSHandle.connected){
// Only kill process if it has a pid, otherwise an error would be thrown.
if (phantomJSHandle.pid){
phantomJSHandle.kill();

@@ -64,0 +64,0 @@ }

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

@@ -10,9 +9,3 @@ "name": "Grunt Team",

},
"repository": {
"type": "git",
"url": "git://github.com/gruntjs/grunt-lib-phantomjs.git"
},
"bugs": {
"url": "https://github.com/gruntjs/grunt-lib-phantomjs/issues"
},
"repository": "gruntjs/grunt-lib-phantomjs",
"licenses": [

@@ -25,3 +18,3 @@ {

"engines": {
"node": ">= 0.8.0"
"node": ">=0.10.0"
},

@@ -32,13 +25,13 @@ "scripts": {

"dependencies": {
"eventemitter2": "~0.4.9",
"semver": "~1.0.14",
"temporary": "~0.0.4",
"phantomjs": "~1.9.0-1"
"eventemitter2": "^0.4.9",
"phantomjs": "^1.9.15",
"semver": "^4.3.0",
"temporary": "^0.0.8"
},
"devDependencies": {
"grunt-contrib-jshint": "~0.6.2",
"grunt": "~0.4.0",
"difflet": "~0.2.3",
"express": "~3.1.1",
"grunt-cli": "~0.1.13"
"difflet": "^0.2.3",
"express": "^4.11.2",
"grunt": "^0.4.5",
"grunt-cli": "^0.1.13",
"grunt-contrib-jshint": "^0.11.0"
},

@@ -45,0 +38,0 @@ "main": "lib/phantomjs",

@@ -5,3 +5,3 @@ /*

*
* Copyright (c) 2012 "Cowboy" Ben Alman, contributors
* Copyright (c) 2015 "Cowboy" Ben Alman, contributors
* Licensed under the MIT license.

@@ -108,2 +108,6 @@ */

phantom.onError = function(msg, trace) {
sendMessage('error.onError', msg, trace);
};
// Run before the page is loaded.

@@ -110,0 +114,0 @@ page.onInitialized = function() {

@@ -1,7 +0,6 @@

# grunt-lib-phantomjs
# grunt-lib-phantomjs [![Build Status](https://travis-ci.org/gruntjs/grunt-lib-phantomjs.png?branch=master)](https://travis-ci.org/gruntjs/grunt-lib-phantomjs)
[![Build Status](https://travis-ci.org/gruntjs/grunt-lib-phantomjs.png?branch=master)](https://travis-ci.org/gruntjs/grunt-lib-phantomjs)
> Grunt and PhantomJS, sitting in a tree.
## Usage

@@ -108,5 +107,9 @@

## OS Dependencies
PhantomJS requires these dependencies
**On Ubuntu/Debian**
apt-get install libfontconfig1 fontconfig libfontconfig1-dev libfreetype6-dev
PhantomJS requires these dependencies on Ubuntu/Debian:
```
apt-get install libfontconfig1 fontconfig libfontconfig1-dev libfreetype6-dev
```
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