New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

reload

Package Overview
Dependencies
Maintainers
3
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reload - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

6

CHANGELOG.md

@@ -0,1 +1,7 @@

1.1.3 / 2017-04-28
------------------
Upgrade Standard to `~10.0.2` in order for the build to pass node `0.1` and `0.12`
Also removed depricated `fs.exists` and replaced with `fs.access`
See: https://github.com/jprichardson/reload/pull/75
1.1.2 / 2017-04-16

@@ -2,0 +8,0 @@ ------------------

12

lib/reload-server.js

@@ -28,9 +28,9 @@ var express = require('express')

fs.exists(startFile, function (itDoes) {
// If the start page exists send the reload-client code to the HTML.
if (itDoes) {
fs.access(startFile, function (err) {
// If the start page doesn't exist (whether it's the deault index.html or specified).
if (err) {
res.status(404).send("Can't find " + startPage)
} else {
// Else the start page exists send the reload-client code to the HTML.
sendhtml(startFile, res)
} else {
// Else the start page doesn't exist (whether it's the deault index.html or specified).
res.status(404).send("Can't find " + startPage)
}

@@ -37,0 +37,0 @@ })

{
"name": "reload",
"version": "1.1.2",
"version": "1.1.3",
"description": "Node.js module to refresh and reload your code in your browser when your code changes. No browser plugins required.",

@@ -32,3 +32,3 @@ "repository": {

"devDependencies": {
"standard": "^7.1.2"
"standard": "^10.0.2"
},

@@ -35,0 +35,0 @@ "main": "./lib/reload.js",

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