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

lws-cors

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lws-cors - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

2

index.js
module.exports = MiddlewareBase => class Cors extends MiddlewareBase {
description () {
return 'Cross-Origin Resource Sharing support.'
return 'Support for adding Cross-Origin Resource Sharing (CORS) headers.'
}

@@ -5,0 +5,0 @@ optionDefinitions () {

{
"name": "lws-cors",
"author": "Lloyd Brookes <75pound@gmail.com>",
"version": "0.3.2",
"version": "0.3.3",
"description": "lws-cors",

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

@@ -9,3 +9,3 @@ [![view on npm](https://img.shields.io/npm/v/lws-cors.svg)](https://www.npmjs.org/package/lws-cors)

lws middleware to configure Cross-Origin Resource Sharing rules. For usage instructions, see [here](https://github.com/lwsjs/local-web-server/wiki/How-to-configure-Cross-Origin-Resource-Sharing-(CORS)).
Support for adding Cross-Origin Resource Sharing (CORS) headers to lws. For usage instructions, see [here](https://github.com/lwsjs/local-web-server/wiki/How-to-configure-Cross-Origin-Resource-Sharing-(CORS)).

@@ -12,0 +12,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