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

appserver

Package Overview
Dependencies
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appserver - npm Package Compare versions

Comparing version 0.7.0-pre7 to 0.7.0-pre8

test/e2e/refresh_files.js

4

lib/middleware/pre_fetch.js

@@ -248,5 +248,2 @@ var fs = require('fs');

function create(options) {
fetchManifests(options)
.catch((err) => console.error('Unable to fetch manifests from server:', err));
var app = express();

@@ -268,2 +265,3 @@

create: create,
fetchManifests,
mirrorFile: function (fileName, urlPath, options) {

@@ -270,0 +268,0 @@ var request = {

{
"name": "appserver",
"version": "0.7.0-pre7",
"version": "0.7.0-pre8",
"description": "A connect based middleware to support local development against a remote backend.",

@@ -5,0 +5,0 @@ "main": "./lib/appserver",

@@ -11,2 +11,3 @@ const chai = require('chai'),

before(function (done) {
if (!nock.isActive()) nock.activate();
nock.disableNetConnect();

@@ -78,11 +79,2 @@ nock.enableNetConnect('127.0.0.1');

it('should serve static files when using a version prefix', function () {
return chai.request(server)
.get('/appsuite/v=7.10.x-xx/testfile.txt')
.then(function (res) {
expect(res).to.have.status(200);
expect(res.text).to.have.match(/^success!/);
});
});
after(function () {

@@ -89,0 +81,0 @@ server.close();

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