Socket
Socket
Sign inDemoInstall

chttps

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.5 to 1.0.6

2

package.json

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "1.0.5",
"version": "1.0.6",
"author": "Plotly, Inc.",

@@ -8,0 +8,0 @@ "main": "chttps.js",

@@ -6,4 +6,15 @@ # chttps

# Install
# Install globally as a command line utility
```
npm install chttps --global
```
Then in the package folder you could use the command below to test the package-lock.json file & replace resolved http links with https.
```
chttps .
```
# Install as a development dependency
```
npm install chttps --save-dev

@@ -21,3 +32,2 @@ ```

Replace all occurrences (i.e. the first ones on every line) of 'resolved": "http://' with 'resolved": "https://' in the package-lock.json in the current directory:
```

@@ -28,5 +38,4 @@ chttps .

Replace all occurrences (i.e. the first ones on every line) of 'resolved": "http://' with 'resolved": "https://' in the package-lock.json in another directory:
```
chttps "packageFolder"
```
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