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

phantomjs-polyfills

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

phantomjs-polyfills

PhantomJS polyfills for Function.prototype.bind and Element.prototype.remove

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
Maintainers
1
Weekly downloads
 
Created
Source

PhantomJS polyfills (For phantomJS 1.x)

Build Status PhantomJS is widely used for testing web-based applications. This lib contains polyfills for the following functions that PhantomJS@1.x does not support natively:

  • Function.prototype.bind
  • Element.prototype.remove

Note: PhantomJS2.x has supported those method natively. And the PhantomJS team don't recommend PhantomJS 1.x anymore

Get started

Installation

npm install -D phantomjs-polyfills

Use with Karma

Add the polyfills in your karma.config.js

...
files: [
    {pattern: './node_modules/phantomjs-polyfill/polyfills/*.js', included: true},
    ...
]

Keywords

FAQs

Package last updated on 24 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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