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

mock-browser

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mock-browser - npm Package Compare versions

Comparing version 0.91.34 to 0.92.10

2

lib/AbstractBrowser.js

@@ -68,3 +68,3 @@ /**

dash.methods( parent ).forEach(function(method) {
dash.functionsIn( parent ).forEach(function(method) {
child[ method ] = parent[ method ];

@@ -71,0 +71,0 @@ });

{
"name": "mock-browser",
"version": "0.91.34",
"version": "0.92.10",
"description": "A mock browser with window, document, location, navigation, local and session storage to use for client side code tests in a node environment.",

@@ -24,4 +24,4 @@ "repository": {

"dependencies": {
"jsdom": "^6.5.0",
"lodash": "^3.10.1"
"jsdom": "^8.0.4",
"lodash": "^4.5"
},

@@ -28,0 +28,0 @@ "devDependencies": {

@@ -150,2 +150,2 @@ #Mock Browser

- - -
<p><small><em>copyright © 2014-2015 rain city software | version 0.91.34</em></small></p>
<p><small><em>copyright © 2014-2016 rain city software | version 0.92.10</em></small></p>

@@ -53,3 +53,3 @@ /**

it('should have all known methods by size and type', function() {
dash.methods( browser ).length.should.equal( methods.length );
dash.functionsIn( browser ).length.should.equal( methods.length );
methods.forEach(function(method) {

@@ -123,3 +123,3 @@ browser[ method ].should.be.a( 'function' );

dash.methods( browser ).length.should.equal( methods.length );
dash.functionsIn( browser ).length.should.equal( methods.length );
methods.forEach(function(method) {

@@ -126,0 +126,0 @@ browser[ method ].should.be.a( 'function' );

@@ -33,3 +33,3 @@ /**

it('should have all known methods by size and type', function() {
dash.methods( browser ).length.should.equal( methods.length );
dash.functionsIn( browser ).length.should.equal( methods.length );
methods.forEach(function(method) {

@@ -36,0 +36,0 @@ browser[ method ].should.be.a( 'function' );

@@ -32,3 +32,3 @@ /**

it('should have all known methods by size and type', function() {
dash.methods( storage ).length.should.equal( methods.length );
dash.functionsIn( storage ).length.should.equal( methods.length );
methods.forEach(function(method) {

@@ -35,0 +35,0 @@ storage[ method ].should.be.a( 'function' );

Sorry, the diff of this file is not supported yet

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