pubface 1.0.13 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yaml +16 -18
- package/.github/workflows/stale.yml +24 -0
- package/.prettierignore +1 -0
- package/.release-please-manifest.json +3 -0
- package/CHANGELOG.md +28 -0
- package/LICENSE.txt +1 -1
- package/README.md +8 -8
- package/package.json +5 -4
- package/release-please-config.json +10 -0
- package/.eslintrc +0 -17
|
@@ -6,33 +6,31 @@ on:
|
|
|
6
6
|
permissions:
|
|
7
7
|
contents: write
|
|
8
8
|
pull-requests: write
|
|
9
|
+
issues: write
|
|
9
10
|
id-token: write
|
|
10
11
|
|
|
11
12
|
name: release
|
|
12
13
|
jobs:
|
|
13
14
|
release-please:
|
|
14
15
|
runs-on: ubuntu-latest
|
|
16
|
+
outputs:
|
|
17
|
+
release_created: ${{ steps.release.outputs.release_created }}
|
|
15
18
|
steps:
|
|
16
|
-
- uses:
|
|
19
|
+
- uses: googleapis/release-please-action@v4
|
|
17
20
|
id: release
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
|
|
22
|
+
publish:
|
|
23
|
+
needs: release-please
|
|
24
|
+
if: ${{ needs.release-please.outputs.release_created }}
|
|
25
|
+
runs-on: ubuntu-latest
|
|
26
|
+
permissions:
|
|
27
|
+
contents: read
|
|
28
|
+
id-token: write
|
|
29
|
+
steps:
|
|
24
30
|
- uses: actions/checkout@v4
|
|
25
|
-
|
|
26
|
-
# a new release is created:
|
|
27
|
-
if: ${{ steps.release.outputs.release_created }}
|
|
28
|
-
- uses: actions/setup-node@v3
|
|
31
|
+
- uses: actions/setup-node@v4
|
|
29
32
|
with:
|
|
30
|
-
node-version:
|
|
31
|
-
registry-url:
|
|
32
|
-
if: ${{ steps.release.outputs.release_created }}
|
|
33
|
+
node-version: 24
|
|
34
|
+
registry-url: "https://registry.npmjs.org"
|
|
33
35
|
- run: npm ci
|
|
34
|
-
if: ${{ steps.release.outputs.release_created }}
|
|
35
36
|
- run: npm publish --provenance --access public
|
|
36
|
-
env:
|
|
37
|
-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
38
|
-
if: ${{ steps.release.outputs.release_created }}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
name: 'Close stale issues and PRs'
|
|
2
|
+
on:
|
|
3
|
+
schedule:
|
|
4
|
+
- cron: '30 1 * * *'
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
stale:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
steps:
|
|
10
|
+
- uses: actions/stale@v8
|
|
11
|
+
with:
|
|
12
|
+
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
|
|
13
|
+
stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
|
|
14
|
+
close-issue-message: 'This issue was closed because it has been stalled for 15 days with no activity.'
|
|
15
|
+
close-pr-message: 'This PR was closed because it has been stalled for 20 days with no activity.'
|
|
16
|
+
days-before-issue-stale: 30
|
|
17
|
+
days-before-pr-stale: 45
|
|
18
|
+
days-before-issue-close: 15
|
|
19
|
+
days-before-pr-close: 20
|
|
20
|
+
stale-issue-label: 'no-issue-activity'
|
|
21
|
+
exempt-issue-labels: 'pending,work-in-progress'
|
|
22
|
+
stale-pr-label: 'no-pr-activity'
|
|
23
|
+
exempt-pr-labels: 'awaiting-approval,work-in-progress'
|
|
24
|
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
package/.prettierignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
CHANGELOG.md
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.17](https://github.com/postalsys/pubface/compare/v1.0.16...v1.0.17) (2025-12-11)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* update node version to 24 in release workflow ([45778c3](https://github.com/postalsys/pubface/commit/45778c321b40878579a43dc594695e16704390ec))
|
|
9
|
+
|
|
10
|
+
## [1.0.16](https://github.com/postalsys/pubface/compare/v1.0.15...v1.0.16) (2025-12-11)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* trigger release ([f3ebea9](https://github.com/postalsys/pubface/commit/f3ebea90c7f39ca5984fcef252ccd5feb8ac6ac6))
|
|
16
|
+
|
|
17
|
+
## [1.0.15](https://github.com/postalsys/pubface/compare/v1.0.14...v1.0.15) (2025-12-11)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* trigger release ([5096d90](https://github.com/postalsys/pubface/commit/5096d907e0344c05523c89a5c825fedd28803aaa))
|
|
23
|
+
|
|
24
|
+
## [1.0.14](https://github.com/postalsys/pubface/compare/v1.0.13...v1.0.14) (2025-10-09)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
* bumped deps ([9548890](https://github.com/postalsys/pubface/commit/954889047a941b705c354d8e1dfcbc1688b178a2))
|
|
30
|
+
|
|
3
31
|
## [1.0.13](https://github.com/postalsys/pubface/compare/v1.0.12...v1.0.13) (2025-05-20)
|
|
4
32
|
|
|
5
33
|
|
package/LICENSE.txt
CHANGED
package/README.md
CHANGED
|
@@ -29,9 +29,9 @@ $ npm install -g pubface
|
|
|
29
29
|
|
|
30
30
|
Or alternatively download the latest executable if you do not have Node.js or NPM installed
|
|
31
31
|
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
32
|
+
- [MacOS](https://github.com/postalsys/pubface/releases/latest/download/pubface.pkg)
|
|
33
|
+
- [Linux](https://github.com/postalsys/pubface/releases/latest/download/pubface.tar.gz)
|
|
34
|
+
- [Window](https://github.com/postalsys/pubface/releases/latest/download/pubface.exe)
|
|
35
35
|
|
|
36
36
|
Use it to get an array of interfaces
|
|
37
37
|
|
|
@@ -61,11 +61,11 @@ Output is an array of interfaces:
|
|
|
61
61
|
]
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
-
|
|
65
|
-
-
|
|
66
|
-
-
|
|
67
|
-
-
|
|
68
|
-
-
|
|
64
|
+
- **localAddress** is the local IP address
|
|
65
|
+
- **ip** is the public IP address that servers see as your IP address when you make a connection
|
|
66
|
+
- **name** is the reverse record for **ip**
|
|
67
|
+
- **family** is either _IPv4_ or _IPv6_ depending on the **ip**
|
|
68
|
+
- **defaultInterface** is a boolean that indicates if this is the default interface used when making connections and not specifying a local address
|
|
69
69
|
|
|
70
70
|
## License
|
|
71
71
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pubface",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.17",
|
|
4
4
|
"description": "Resolve public network interfaces for current machine",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
+
"format": "prettier --write .",
|
|
8
9
|
"build-source": "rm -rf node_modules package-lock.json && npm install && npm run licenses && rm -rf node_modules package-lock.json && npm install --production && rm -rf package-lock.json",
|
|
9
10
|
"build-dist": "npx pkg --compress Brotli package.json && rm -rf package-lock.json && npm install",
|
|
10
11
|
"build-dist-fast": "npx pkg --debug package.json && rm -rf package-lock.json && npm install",
|
|
@@ -26,12 +27,12 @@
|
|
|
26
27
|
"pubface": "bin/pubface.js"
|
|
27
28
|
},
|
|
28
29
|
"dependencies": {
|
|
29
|
-
"ipaddr.js": "2.
|
|
30
|
-
"nodemailer": "7.0.
|
|
30
|
+
"ipaddr.js": "2.3.0",
|
|
31
|
+
"nodemailer": "7.0.11"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
|
33
34
|
"pkg": "5.8.1",
|
|
34
|
-
"license-report": "6.
|
|
35
|
+
"license-report": "6.8.1"
|
|
35
36
|
},
|
|
36
37
|
"pkg": {
|
|
37
38
|
"assets": [
|
package/.eslintrc
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"rules": {
|
|
3
|
-
"indent": 0,
|
|
4
|
-
"no-await-in-loop": 0,
|
|
5
|
-
"require-atomic-updates": 0
|
|
6
|
-
},
|
|
7
|
-
"globals": {
|
|
8
|
-
"BigInt": true
|
|
9
|
-
},
|
|
10
|
-
"extends": ["nodemailer", "prettier"],
|
|
11
|
-
"parser": "@babel/eslint-parser",
|
|
12
|
-
"parserOptions": {
|
|
13
|
-
"ecmaVersion": 2018,
|
|
14
|
-
"sourceType": "script"
|
|
15
|
-
},
|
|
16
|
-
"plugins": ["@babel"]
|
|
17
|
-
}
|