pubface 1.0.14 → 1.0.18

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.
@@ -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: google-github-actions/release-please-action@v3
19
+ - uses: googleapis/release-please-action@v4
17
20
  id: release
18
- with:
19
- release-type: node
20
- prerelease: true
21
- package-name: ${{env.PACKAGE_NAME}}
22
- pull-request-title-pattern: 'chore${scope}: release ${version} [skip-ci]'
23
- # The logic below handles the npm publication:
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
- # these if statements ensure that a publication only occurs when
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: 18
31
- registry-url: 'https://registry.npmjs.org'
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 }}
@@ -0,0 +1 @@
1
+ CHANGELOG.md
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "1.0.18"
3
+ }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.18](https://github.com/postalsys/pubface/compare/v1.0.17...v1.0.18) (2026-01-28)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Bumpe deps ([7b30eb8](https://github.com/postalsys/pubface/commit/7b30eb832a7e8bfb7ac66edd409dfe9f7741273e))
9
+
10
+ ## [1.0.17](https://github.com/postalsys/pubface/compare/v1.0.16...v1.0.17) (2025-12-11)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * update node version to 24 in release workflow ([45778c3](https://github.com/postalsys/pubface/commit/45778c321b40878579a43dc594695e16704390ec))
16
+
17
+ ## [1.0.16](https://github.com/postalsys/pubface/compare/v1.0.15...v1.0.16) (2025-12-11)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * trigger release ([f3ebea9](https://github.com/postalsys/pubface/commit/f3ebea90c7f39ca5984fcef252ccd5feb8ac6ac6))
23
+
24
+ ## [1.0.15](https://github.com/postalsys/pubface/compare/v1.0.14...v1.0.15) (2025-12-11)
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * trigger release ([5096d90](https://github.com/postalsys/pubface/commit/5096d907e0344c05523c89a5c825fedd28803aaa))
30
+
3
31
  ## [1.0.14](https://github.com/postalsys/pubface/compare/v1.0.13...v1.0.14) (2025-10-09)
4
32
 
5
33
 
package/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2020-2023 Postal Systems OÜ
1
+ Copyright (c) 2020-2025 Postal Systems OÜ
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
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
- - [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)
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
- - **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
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.14",
3
+ "version": "1.0.18",
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.2.0",
30
- "nodemailer": "7.0.9"
30
+ "ipaddr.js": "2.3.0",
31
+ "nodemailer": "7.0.13"
31
32
  },
32
33
  "devDependencies": {
33
34
  "pkg": "5.8.1",
34
- "license-report": "6.8.0"
35
+ "license-report": "6.8.1"
35
36
  },
36
37
  "pkg": {
37
38
  "assets": [
@@ -0,0 +1,10 @@
1
+ {
2
+ "packages": {
3
+ ".": {
4
+ "release-type": "node",
5
+ "package-name": "pubface",
6
+ "pull-request-title-pattern": "chore${scope}: release ${version} [skip-ci]",
7
+ "include-component-in-tag": false
8
+ }
9
+ }
10
+ }
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
- }