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

@jon49/sw

Package Overview
Dependencies
Maintainers
0
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jon49/sw - npm Package Compare versions

Comparing version 0.12.9 to 0.12.10

3

bin/lib/arguments.ts

@@ -29,2 +29,5 @@ import argvGenerator from "minimist"

}
get isServer() {
return this.environment === "server"
}
}

@@ -31,0 +34,0 @@

4

bin/start.ts

@@ -24,2 +24,3 @@ import { cp, rm, mkdir } from "node:fs/promises"

let isProd = argv.isProd
let isServer = argv.isServer

@@ -147,4 +148,5 @@ console.time("Cleaning")

let ctx = contexts[i]
if (i === 0) {
if (i === 0 && !isServer) {
ctx.serve({ port: argv.port, servedir: targetDirectory, host: "localhost" })
console.log(`###### Serving on http://localhost:${argv.port} ######`)
} else {

@@ -151,0 +153,0 @@ ctx.watch()

{
"name": "@jon49/sw",
"version": "0.12.9",
"version": "0.12.10",
"description": "Packages for MVC service workers.",

@@ -5,0 +5,0 @@ "type": "module",

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