@tkeron/html-parser 1.5.3 → 1.5.5

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.
@@ -4,31 +4,26 @@ on:
4
4
  branches:
5
5
  - main
6
6
 
7
+ permissions:
8
+ id-token: write
9
+ contents: read
10
+
7
11
  jobs:
8
12
  build-test-publish:
9
13
  runs-on: ubuntu-latest
14
+
10
15
  steps:
11
16
  - uses: actions/checkout@v4
12
- - uses: actions/setup-node@v4.0.3
17
+
18
+ - uses: actions/setup-node@v4
13
19
  with:
14
- node-version: 22.x
15
- registry-url: "https://registry.npmjs.org/"
20
+ node-version: "lts/*"
21
+ registry-url: "https://registry.npmjs.org"
16
22
 
17
23
  - uses: oven-sh/setup-bun@v2
18
24
 
19
- - name: Install dependencies
20
- run: bun i
21
-
22
- - name: Run tests
23
- run: bun test --concurrent
24
-
25
- - name: Check version
26
- id: check
27
- run: bun check-versions.ts
28
- continue-on-error: true
25
+ - run: npm install -g npm@latest
26
+ - run: bun i
27
+ - run: bun run test
29
28
 
30
- - name: Publish to npm
31
- if: steps.check.outcome == 'success'
32
- run: npm publish --access public
33
- env:
34
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
29
+ - run: npm publish --provenance
package/bun.lock CHANGED
@@ -5,7 +5,7 @@
5
5
  "": {
6
6
  "name": "@tkeron/html-parser",
7
7
  "devDependencies": {
8
- "@types/bun": "^1.3.8",
8
+ "@types/bun": "^1.3.9",
9
9
  "prettier": "^3.8.1",
10
10
  },
11
11
  "peerDependencies": {
@@ -14,11 +14,11 @@
14
14
  },
15
15
  },
16
16
  "packages": {
17
- "@types/bun": ["@types/bun@1.3.8", "", { "dependencies": { "bun-types": "1.3.8" } }, "sha512-3LvWJ2q5GerAXYxO2mffLTqOzEu5qnhEAlh48Vnu8WQfnmSwbgagjGZV6BoHKJztENYEDn6QmVd949W4uESRJA=="],
17
+ "@types/bun": ["@types/bun@1.3.9", "", { "dependencies": { "bun-types": "1.3.9" } }, "sha512-KQ571yULOdWJiMH+RIWIOZ7B2RXQGpL1YQrBtLIV3FqDcCu6FsbFUBwhdKUlCKUpS3PJDsHlJ1QKlpxoVR+xtw=="],
18
18
 
19
19
  "@types/node": ["@types/node@25.1.0", "", { "dependencies": { "undici-types": "~7.16.0" } }, "sha512-t7frlewr6+cbx+9Ohpl0NOTKXZNV9xHRmNOvql47BFJKcEG1CxtxlPEEe+gR9uhVWM4DwhnvTF110mIL4yP9RA=="],
20
20
 
21
- "bun-types": ["bun-types@1.3.8", "", { "dependencies": { "@types/node": "*" } }, "sha512-fL99nxdOWvV4LqjmC+8Q9kW3M4QTtTR1eePs94v5ctGqU8OeceWrSUaRw3JYb7tU3FkMIAjkueehrHPPPGKi5Q=="],
21
+ "bun-types": ["bun-types@1.3.9", "", { "dependencies": { "@types/node": "*" } }, "sha512-+UBWWOakIP4Tswh0Bt0QD0alpTY8cb5hvgiYeWCMet9YukHbzuruIEeXC2D7nMJPB12kbh8C7XJykSexEqGKJg=="],
22
22
 
23
23
  "prettier": ["prettier@3.8.1", "", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg=="],
24
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tkeron/html-parser",
3
- "version": "1.5.3",
3
+ "version": "1.5.5",
4
4
  "description": "A fast and lightweight HTML parser for Bun",
5
5
  "main": "index.js",
6
6
  "module": "index.ts",
@@ -12,7 +12,7 @@
12
12
  "lint": "prettier --write ."
13
13
  },
14
14
  "devDependencies": {
15
- "@types/bun": "^1.3.8",
15
+ "@types/bun": "^1.3.9",
16
16
  "prettier": "^3.8.1"
17
17
  },
18
18
  "peerDependencies": {
@@ -25,7 +25,11 @@
25
25
  "bun",
26
26
  "tokenizer"
27
27
  ],
28
+ "publishConfig": {
29
+ "access": "public"
30
+ },
28
31
  "repository": {
29
- "url": "git@github.com:tkeron/html-parser.git"
32
+ "type": "git",
33
+ "url": "git+https://github.com/tkeron/html-parser.git"
30
34
  }
31
35
  }