Skip to content

Commit f94c840

Browse files
author
Test User
committed
security: update npm registry URLs to HTTPS (TLS 1.2+)
- Update package.json publishConfig to use HTTPS - Update .npmrc registry to use HTTPS - Update GitHub Actions workflow to use HTTPS - Ensures compliance with npm registry TLS 1.2+ requirement - Reference: https://github.blog/security/supply-chain-security/npm-registry-deprecating-tls-1-0-tls-1-1/
1 parent fb49690 commit f94c840

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ jobs:
156156
uses: actions/setup-node@v4
157157
with:
158158
node-version: ${{ env.NODE_VERSION }}
159-
registry-url: 'http://registry.npmjs.org'
159+
registry-url: 'https://registry.npmjs.org'
160160
env:
161161
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
162162

.npmrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# npm configuration for DoPlan CLI
22

3-
# Use public registry
4-
registry=http://registry.npmjs.org/
3+
# Use public registry (HTTPS required - TLS 1.2+)
4+
registry=https://registry.npmjs.org/
55

66
# Publish configuration
77
# Note: Set NPM_TOKEN in CI/CD for automated publishing

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
],
5858
"publishConfig": {
5959
"access": "public",
60-
"registry": "http://registry.npmjs.org/"
60+
"registry": "https://registry.npmjs.org/"
6161
}
6262
}
6363

0 commit comments

Comments
 (0)