Socket
Socket
Sign inDemoInstall

karma-viewport

Package Overview
Dependencies
1
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.1 to 0.4.2

10

dist/index.js

@@ -61,7 +61,5 @@ /*

/* Register debug context middleware, if Karma's iframe should be used */
if (config.context === "#context" && client.useIframe) {
config.beforeMiddleware = config.beforeMiddleware || []
config.beforeMiddleware.push("viewport")
}
/* Register debug context middleware */
config.beforeMiddleware = config.beforeMiddleware || []
config.beforeMiddleware.push("viewport")

@@ -83,3 +81,3 @@ /* Register preprocessor for viewport configuration */

* the debug context doesn't include an iframe by default. If the requested
* file is just the plain `debug.html` without the embed parameter (which is
* file is just the plain `debug.html` without the `embed` parameter (which is
* introduced by this library) we just serve our monkey patched context iframe

@@ -86,0 +84,0 @@ * including the actual debug context, served by Karma's own file server.

2

package.json
{
"name": "karma-viewport",
"version": "0.4.1",
"version": "0.4.2",
"description": "A Karma plugin for testing responsive layouts",

@@ -5,0 +5,0 @@ "keywords": [

@@ -179,3 +179,3 @@ [![Travis][travis-image]][travis-link]

After iteration, `viewport.reset()` is called internally.
After breakpoint iteration, `viewport.reset()` is called internally.

@@ -182,0 +182,0 @@ ## License

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc