Socket
Socket
Sign inDemoInstall

ssl-express-www

Package Overview
Dependencies
63
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.8 to 3.0.9

9

package.json
{
"name": "ssl-express-www",
"version": "3.0.8",
"version": "3.0.9",
"description": "Redirecting HTTP to HTTPS. It forces SSL (HTTPS) when HTTP is required using Express (Nodejs) and remove www and trailing slash on your domain.",

@@ -11,3 +11,4 @@ "main": "index.js",

"test": "./node_modules/.bin/mocha specs/**/*.spec.js --require babel-register",
"test-watch": "yarn test -- --watch || ECHO."
"test-watch": "yarn test -- --watch || ECHO.",
"gen:contributors": "githubcontrib --owner brunomacedo --repo ssl-express-www --sortBy contributions --sortOrder desc --filter brunomacedo,dependabot[bot] --layoutStrategy $INIT_CWD/.github/contributors-list/layout-strategy-custom.js"
},

@@ -46,2 +47,5 @@ "keywords": [

"license": "MIT",
"publishConfig": {
"brunomacedo:registry": "https://npm.pkg.github.com/"
},
"devDependencies": {

@@ -63,2 +67,3 @@ "babel-cli": "^6.26.0",

"eslint-plugin-react": "^7.5.1",
"github-contributors-list": "^1.2.5",
"mocha": "^4.1.0",

@@ -65,0 +70,0 @@ "rimraf": "^2.6.2",

@@ -9,4 +9,4 @@ # Force SSL using Express (Redirect HTTP to HTTPS)

```prompt
npm i ssl-express-www
```bash
npm install ssl-express-www
```

@@ -45,59 +45,4 @@

## Solve LF replace to CRLF on Git
This command will solve the problem with linebreak replacement on `git commit`.
```prompt
git config --global core.autocrlf input
```
## Contributing
Babel@6 doesn't export default `module.exports` any more.
```prompt
npm i -D babel-plugin-add-module-exports
```
Usage in file `.babelrc`
```json
{
"presets": ["env"],
"plugins": [
"add-module-exports"
]
}
```
## Update package version
View usage | [view](https://coderwall.com/p/9bx-iq/npm-to-bump-module-version)
```prompt
npm version patch -m "Bumped to version %s"
```
v2.1.**1**
```prompt
npm version minor
```
v1.**2**.1
```prompt
npm version major
```
v**3**.1.1
## List global NPM packages
```prompt
npm list -g --depth 0
```
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc