Skip to content

Commit 728eacc

Browse files
authored
Merge pull request #3382 from plotly/compact-http-to-https
Compact http to https with zero dependency
2 parents fc4511c + 33983d0 commit 728eacc

File tree

2 files changed

+8
-264
lines changed

2 files changed

+8
-264
lines changed

package-lock.json

Lines changed: 6 additions & 262 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"version": "npm run build && git add -A dist src build",
4949
"postversion": "node -e \"console.log('Version bumped and committed. If ok, run: git push && git push --tags')\"",
5050
"postpublish": "node tasks/sync_packages.js",
51-
"postshrinkwrap": "replace --silent '\"resolved\": \"http://' '\"resolved\": \"https://' package-lock.json"
51+
"postshrinkwrap": "chttps ."
5252
},
5353
"browserify": {
5454
"transform": [
@@ -121,6 +121,7 @@
121121
"browserify": "^16.2.3",
122122
"browserify-transform-tools": "^1.7.0",
123123
"check-node-version": "^3.2.0",
124+
"chttps": "^1.0.5",
124125
"deep-equal": "^1.0.1",
125126
"derequire": "^2.0.6",
126127
"ecstatic": "^3.3.0",
@@ -154,7 +155,6 @@
154155
"prepend-file": "^1.3.1",
155156
"prettysize": "^2.0.0",
156157
"read-last-lines": "^1.6.0",
157-
"replace": "^1.0.1",
158158
"requirejs": "^2.3.6",
159159
"run-series": "^1.1.8",
160160
"through2": "^3.0.0",

0 commit comments

Comments
 (0)