New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

window

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

window - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

17

package.json
{
"name": "window",
"version": "3.0.0",
"version": "3.1.0",
"description": "Exports a jsdom window object.",

@@ -11,10 +11,7 @@ "main": "src/index.js",

"test": "nyc ava test",
"lint": "eslint src",
"lint": "xo",
"coverage": "nyc report --reporter=text-lcov | coveralls"
},
"eslintConfig": {
"extends": "lukechilds",
"rules": {
"prefer-rest-params": "off"
}
"xo": {
"extends": "xo-lukechilds"
},

@@ -48,6 +45,6 @@ "repository": {

"coveralls": "^2.11.13",
"eslint": "^3.5.0",
"eslint-config-lukechilds": "^1.9.0",
"nyc": "^10.0.0"
"eslint-config-xo-lukechilds": "^1.0.0",
"nyc": "^10.0.0",
"xo": "^0.17.1"
}
}

@@ -0,1 +1,3 @@

'use strict';
const jsdom = require('jsdom');

@@ -8,5 +10,5 @@

module.exports = class Window {
constructor(jsdomConfig) {
return jsdom.jsdom('', Object.assign({}, jsdomConfig)).defaultView;
}
constructor(jsdomConfig) {
return jsdom.jsdom('', Object.assign({}, jsdomConfig)).defaultView;
}
};
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