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

lws-spa

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lws-spa - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

2

index.js

@@ -28,3 +28,3 @@ module.exports = MiddlewareBase => class SPA extends MiddlewareBase {

const root = path.resolve(options.directory || process.cwd())
const assetTest = new RegExp(options['spa.asset-test'] || '\\.')
const assetTest = new RegExp(options.spaAssetTest || '\\.')
this.emit('verbose', 'middleware.spa.config', { spa, root, assetTest })

@@ -31,0 +31,0 @@ return _.get('*', (ctx, route, next) => {

{
"name": "lws-spa",
"author": "Lloyd Brookes <75pound@gmail.com>",
"version": "0.2.2",
"version": "0.2.3",
"description": "Middleware adding support for Single Page Applications to lws",

@@ -24,7 +24,7 @@ "repository": "https://github.com/lwsjs/spa.git",

"devDependencies": {
"lws": "^1.0.0-pre2.2",
"lws-static": "^0.3.1",
"req-then": "^0.6.2",
"lws": "^1.0.0-pre4.0",
"lws-static": "^0.4.1",
"req-then": "^0.6.4",
"test-runner": "^0.4.0"
}
}

@@ -14,3 +14,3 @@ const TestRunner = require('test-runner')

const lws = new Lws()
const server = lws.create({
const server = lws.listen({
port,

@@ -17,0 +17,0 @@ stack: [ Spa, Static ],

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