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.1 to 0.2.2

2

index.js

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

const assetTest = new RegExp(options['spa.asset-test'] || '\\.')
this.emit('verbose', 'middleware.spa.config', { root, assetTest })
this.emit('verbose', 'middleware.spa.config', { spa, root, assetTest })
return _.get('*', (ctx, route, next) => {

@@ -32,0 +32,0 @@ if (ctx.accepts('text/html') && !assetTest.test(route)) {

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

@@ -6,0 +6,0 @@ "repository": "https://github.com/lwsjs/spa.git",

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