@fanboynz/network-scanner 1.0.55 → 1.0.56
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.
|
@@ -2,18 +2,18 @@ name: Publish to NPM
|
|
|
2
2
|
on:
|
|
3
3
|
push:
|
|
4
4
|
branches: [ main, master ]
|
|
5
|
-
paths-ignore:
|
|
6
|
-
- 'README.md'
|
|
7
|
-
- 'docs/**'
|
|
8
|
-
- '.gitignore'
|
|
9
5
|
|
|
10
6
|
jobs:
|
|
11
7
|
publish:
|
|
12
8
|
runs-on: ubuntu-latest
|
|
9
|
+
permissions:
|
|
10
|
+
contents: write # This is key!
|
|
11
|
+
|
|
13
12
|
steps:
|
|
14
13
|
- uses: actions/checkout@v4
|
|
15
14
|
with:
|
|
16
15
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
16
|
+
fetch-depth: 0
|
|
17
17
|
|
|
18
18
|
- name: Setup Node.js
|
|
19
19
|
uses: actions/setup-node@v4
|
|
@@ -21,22 +21,22 @@ jobs:
|
|
|
21
21
|
node-version: '18'
|
|
22
22
|
registry-url: 'https://registry.npmjs.org'
|
|
23
23
|
|
|
24
|
-
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
- name: Run linting
|
|
28
|
-
run: npm run lint
|
|
29
|
-
|
|
24
|
+
- run: npm ci
|
|
25
|
+
- run: npm run lint
|
|
26
|
+
|
|
30
27
|
- name: Configure git
|
|
31
28
|
run: |
|
|
32
|
-
git config
|
|
33
|
-
git config
|
|
29
|
+
git config user.name "github-actions[bot]"
|
|
30
|
+
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
34
31
|
|
|
35
|
-
- name: Version
|
|
32
|
+
- name: Version and publish
|
|
36
33
|
run: |
|
|
37
34
|
npm version patch
|
|
38
35
|
npm publish
|
|
39
|
-
git push --follow-tags
|
|
40
36
|
env:
|
|
41
37
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
38
|
+
|
|
39
|
+
- name: Push changes
|
|
40
|
+
run: git push --follow-tags
|
|
41
|
+
env:
|
|
42
42
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fanboynz/network-scanner",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.56",
|
|
4
4
|
"description": "A Puppeteer-based network scanner for analyzing web traffic, generating adblock filter rules, and identifying third-party requests. Features include fingerprint spoofing, Cloudflare bypass, content analysis with curl/grep, and multiple output formats.",
|
|
5
5
|
"main": "nwss.js",
|
|
6
6
|
"scripts": {
|