Comparing version 0.4.0 to 0.5.0
@@ -18,3 +18,3 @@ 'use strict'; | ||
// shim document.classList | ||
require('./classList')(global.window); | ||
require('./polyfills/classList')(global.window); | ||
}; | ||
@@ -21,0 +21,0 @@ |
{ | ||
"name": "jsdomify", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"description": "Create a JSDom instance for browserless testing, exposing some handling methods", | ||
@@ -14,2 +14,4 @@ "main": "lib/jsdomify.js", | ||
"babel": "5.6.23", | ||
"coveralls": "2.11.2", | ||
"istanbul": "0.3.17", | ||
"mocha": "2.2.5", | ||
@@ -21,7 +23,9 @@ "unexpected": "9.2.1" | ||
"compile": "babel -d lib/ src/", | ||
"prepublish": "npm run compile" | ||
"prepublish": "npm run compile", | ||
"travis": "npm run coverage", | ||
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -x src/polyfills/* -- -R spec --compilers js:babel/register" | ||
}, | ||
"files": [ | ||
"lib/jsdomify.js", | ||
"lib/classList.js" | ||
"lib/polyfills/classList.js" | ||
], | ||
@@ -28,0 +32,0 @@ "repository": { |
@@ -1,3 +0,4 @@ | ||
# jsdomify | ||
[](https://travis-ci.org/podio/jsdomify) | ||
[](https://coveralls.io/github/podio/jsdomify?branch=master) | ||
@@ -4,0 +5,0 @@ A ready to use DOM right at your finger tips for easy and fast testing without any browser in the Node environment |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
9149
113
5
1