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

@targetprocess/assets-service

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@targetprocess/assets-service - npm Package Compare versions

Comparing version 0.2.1-serviceworker to 0.2.1-serviceworker3

2

package.json
{
"name": "@targetprocess/assets-service",
"version": "0.2.1-serviceworker",
"version": "0.2.1-serviceworker3",
"description": "Service to serve Targetprocess frontend assets.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -42,6 +42,3 @@ const express = require('express');

function applyServiceWorkerHeader(assetsPath, res) {
if (assetsPath.endsWith('serviceWorker.js')) {
res.set('Service-Worker-Allowed', '/');
return;
}
res.set('Service-Worker-Allowed', '/');
}

@@ -48,0 +45,0 @@

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