@applitools/jsdom
jsdom without canvas 15.2.1
Last updated 6 months ago by danielschwartz85 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @applitools/jsdom 
SYNC missed versions from official npm registry.

APPLITOOLS JSDOM

Just JSDOM without canvas package.

Forked from JSDOM

Why ?

  • VGC requires JSDOM: For extracting URLs from SVGs (only ones downloaded by VGC not dom-snapshot ones).

  • Cypress uses VGC as a plugin (i.e. opens eyes-cypress in it's own defined Node environment); if a user adds canvas package in it's project dependencies we get a conflict:

    cypress compiles canvas when the user installs the packages but then uses that native canvas library in the plugin environment (since VGC requires JSDOM and JSDOM requires canvas as well) and so we get a conflict saying that canvas was compiled with wrong node version.

  • See this issue: https://github.com/cypress-io/cypress/issues/5785

  • Note that by not using canvas JSDOM still works fine just turns canvas tags to div tags (anyway VGC doesn't need the canvas..)

Current Tags

  • 1.0.2                                ...           latest (6 months ago)

3 Versions

  • 1.0.2                                ...           6 months ago
  • 1.0.1                                ...           6 months ago
  • 1.0.0                                ...           6 months ago
Downloads
Today 3
This Week 4
This Month 26
Last Day 0
Last Week 13
Last Month 67
Dependencies (26)
Dev Dependencies (21)

Copyright 2014 - 2016 © taobao.org |