Socket
Socket
Sign inDemoInstall

service-worker-mock

Package Overview
Dependencies
2
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.11.0 to 1.11.1

8

models/Clients.js

@@ -14,4 +14,8 @@ const WindowClient = require('./WindowClient');

matchAll() {
return Promise.resolve(this.clients);
matchAll({ type = 'all' } = {}) {
if (type === 'all') {
return Promise.resolve(this.clients);
}
const matchedClients = this.clients.filter(client => client.type === type);
return Promise.resolve(matchedClients);
}

@@ -18,0 +22,0 @@

@@ -5,3 +5,3 @@ const Client = require('./Client');

class WindowClient extends Client {
constructor(args) {
constructor(...args) {
super(...args);

@@ -8,0 +8,0 @@

{
"name": "service-worker-mock",
"version": "1.11.0",
"version": "1.11.1",
"main": "index.js",

@@ -5,0 +5,0 @@ "repository": {

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