Giter Site home page Giter Site logo

Comments (8)

kirkins avatar kirkins commented on August 22, 2024 6

I don't care either, switching to https://github.com/lwsjs/local-web-server takes 5 minutes.

from node-ecstatic.

jfhbrook avatar jfhbrook commented on August 22, 2024

the way to make this message go away is to convince the http-server people to upgrade to 4.1.2.

from node-ecstatic.

kirkins avatar kirkins commented on August 22, 2024

Ah I see, I tried changing it to use 4.1.2 and it breaks. Guess I'll need to find a new package.

from node-ecstatic.

jfhbrook avatar jfhbrook commented on August 22, 2024

"it breaks" is super vague

from node-ecstatic.

kirkins avatar kirkins commented on August 22, 2024

Running npm test after upgrading to 4.1.2 causes 4 of their 25 tests to fail.

  When http-server is listening on 8080 When http-server is proxying from 8081 to 8080 it should serve files from the proxy server root directory and file content
    ✗ should match content of the served file 
        »        
        actual expected 
         
        hello, I know nodejitsu 
         // macros.js:14
  When http-server is listening on 8083 with username "good_username" and password "good_password" and the user requests an existent file with correct auth details and file content
    ✗ should match content of served file 
        »        
        actual expected 
         
        hello, I know nodejitsu 
         // macros.js:14
  When http-server is listening on 8080 it should serve files from root directory and file content
    ✗ should match content of served file 
        »        
        actual expected 
         
        hello, I know nodejitsu 
         // macros.js:14
  When gzip and brotli compression is enabled and a compressed file is available and a request accepting only gzip is made
    ✓ response should be gzip compressed
  When http-server is listening on 8080 When http-server is proxying from 8081 to 8080 it should fallback to the proxied server
    ✓ status code should be the endpoint code 200
  When http-server is listening on 8080 When http-server is proxying from 8081 to 8080 it should fallback to the proxied server and file content
    ✗ should match content of the proxied served file 
        »        
        actual expected 
         
        hello, I know nodejitsu 
         // macros.js:14

✗ Broken » 21 honored ∙ 4 broken (0.104s) 

from node-ecstatic.

jfhbrook avatar jfhbrook commented on August 22, 2024

oh. http-server's tests aren't my problem.

from node-ecstatic.

thornjad avatar thornjad commented on August 22, 2024

We're working on those tests @kirkins, this is a major version upgrade for us, there's more to it than just upgrading the ecstatic dependency. http-party/http-server#520

from node-ecstatic.

kirkins avatar kirkins commented on August 22, 2024

@thornjad I'll keep an eye out for that, been using http-server for many years now without problem.

from node-ecstatic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.