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

cssserve

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cssserve - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

9

CHANGELOG.md

@@ -7,2 +7,8 @@ # Change Log

## 1.0.1
_2020-03-18_
- fix: Allow cross origin requests for fonts
## 1.0.0

@@ -12,3 +18,4 @@

- **BREAKING** feat: Un-scope `pkg.name` - prepare for open publishing
- **BREAKING** Rename + un-scope package as `cssserve`, prep for open
publication
- **BREAKING** feat: Change the `index.html` and `_NotFound_.html` server

@@ -15,0 +22,0 @@ settings

3

package.json
{
"name": "cssserve",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",

@@ -9,2 +9,3 @@ "dependencies": {

"fastify-compress": "^2.0.1",
"fastify-cors": "^3.0.2",
"fastify-static": "^2.6.0",

@@ -11,0 +12,0 @@ "glob": "^7.1.6",

@@ -9,2 +9,3 @@ #!/usr/bin/env node

var fastifyStatic = _interopDefault(require('fastify-static'));
var fastifyCors = _interopDefault(require('fastify-cors'));
var fs = require('fs');

@@ -514,2 +515,6 @@ var glob = require('glob');

}
app.register(fastifyCors, {
origin: true,
methods: ['GET'],
});
app.register(fastifyStatic, {

@@ -516,0 +521,0 @@ root: path.resolve(staticFolder$1),

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