@plasius/gpu-lock-free-queue 0.2.1 → 0.2.8

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +146 -0
  2. package/README.md +18 -1
  3. package/package.json +17 -3
package/CHANGELOG.md CHANGED
@@ -8,6 +8,132 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ - **Added**
12
+ - (placeholder)
13
+
14
+ - **Changed**
15
+ - (placeholder)
16
+
17
+ - **Fixed**
18
+ - (placeholder)
19
+
20
+ - **Security**
21
+ - (placeholder)
22
+
23
+ ## [0.2.8] - 2026-03-01
24
+
25
+ - **Added**
26
+ - (placeholder)
27
+
28
+ - **Changed**
29
+ - (placeholder)
30
+
31
+ - **Fixed**
32
+ - (placeholder)
33
+
34
+ - **Security**
35
+ - (placeholder)
36
+
37
+ ## [0.2.7] - 2026-03-01
38
+
39
+ - **Added**
40
+ - (placeholder)
41
+
42
+ - **Changed**
43
+ - (placeholder)
44
+
45
+ - **Fixed**
46
+ - (placeholder)
47
+
48
+ - **Security**
49
+ - (placeholder)
50
+
51
+ ## [0.2.6] - 2026-03-01
52
+
53
+ - **Added**
54
+ - (placeholder)
55
+
56
+ - **Changed**
57
+ - (placeholder)
58
+
59
+ - **Fixed**
60
+ - (placeholder)
61
+
62
+ - **Security**
63
+ - (placeholder)
64
+
65
+ ## [0.2.4] - 2026-03-01
66
+
67
+ - **Added**
68
+ - (placeholder)
69
+
70
+ - **Changed**
71
+ - (placeholder)
72
+
73
+ - **Fixed**
74
+ - (placeholder)
75
+
76
+ - **Security**
77
+ - (placeholder)
78
+
79
+ ## [0.2.3] - 2026-03-01
80
+
81
+ - **Added**
82
+ - `lint`, `typecheck`, and security audit scripts for local and CI enforcement.
83
+
84
+ - **Changed**
85
+ - CI now fails early on lint/typecheck/runtime dependency audit before build/test.
86
+
87
+ - **Fixed**
88
+ - Pack-check regex cleanup to remove an unnecessary path escape.
89
+
90
+ - **Security**
91
+ - Runtime dependency vulnerability checks are now enforced in CI.
92
+
93
+ ## [0.2.2] - 2026-02-28
94
+
95
+ - **Added**
96
+ - (placeholder)
97
+
98
+ - **Changed**
99
+ - (placeholder)
100
+
101
+ - **Fixed**
102
+ - (placeholder)
103
+
104
+ - **Security**
105
+ - (placeholder)
106
+
107
+ ## [0.2.2] - 2026-02-28
108
+
109
+ - **Added**
110
+ - (placeholder)
111
+
112
+ - **Changed**
113
+ - (placeholder)
114
+
115
+ - **Fixed**
116
+ - (placeholder)
117
+
118
+ - **Security**
119
+ - (placeholder)
120
+
121
+ ## [0.2.2] - 2026-02-28
122
+
123
+ - **Added**
124
+ - (placeholder)
125
+
126
+ - **Changed**
127
+ - (placeholder)
128
+
129
+ - **Fixed**
130
+ - (placeholder)
131
+
132
+ - **Security**
133
+ - (placeholder)
134
+
135
+ ## [0.2.2] - 2026-02-28
136
+
11
137
  - **Added**
12
138
  - (placeholder)
13
139
 
@@ -76,3 +202,23 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
76
202
  [0.1.2]: https://github.com/Plasius-LTD/gpu-lock-free-queue/releases/tag/v0.1.2
77
203
  [0.2.0]: https://github.com/Plasius-LTD/gpu-lock-free-queue/releases/tag/v0.2.0
78
204
  [0.2.1]: https://github.com/Plasius-LTD/gpu-lock-free-queue/releases/tag/v0.2.1
205
+
206
+ ## [0.2.1] - 2026-02-11
207
+
208
+ - **Added**
209
+ - Initial release.
210
+
211
+ - **Changed**
212
+ - (placeholder)
213
+
214
+ - **Fixed**
215
+ - (placeholder)
216
+
217
+ - **Security**
218
+ - (placeholder)
219
+ [0.2.2]: https://github.com/Plasius-LTD/gpu-lock-free-queue/releases/tag/v0.2.2
220
+ [0.2.3]: https://github.com/Plasius-LTD/gpu-lock-free-queue/releases/tag/v0.2.3
221
+ [0.2.4]: https://github.com/Plasius-LTD/gpu-lock-free-queue/releases/tag/v0.2.4
222
+ [0.2.6]: https://github.com/Plasius-LTD/gpu-lock-free-queue/releases/tag/v0.2.6
223
+ [0.2.7]: https://github.com/Plasius-LTD/gpu-lock-free-queue/releases/tag/v0.2.7
224
+ [0.2.8]: https://github.com/Plasius-LTD/gpu-lock-free-queue/releases/tag/v0.2.8
package/README.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # @plasius/gpu-lock-free-queue
2
2
 
3
- [![npm version](https://img.shields.io/npm/v/@plasius/gpu-lock-free-queue)](https://www.npmjs.com/package/@plasius/gpu-lock-free-queue)
3
+ [![npm version](https://img.shields.io/npm/v/@plasius/gpu-lock-free-queue.svg)](https://www.npmjs.com/package/@plasius/gpu-lock-free-queue)
4
+ [![Build Status](https://img.shields.io/github/actions/workflow/status/Plasius-LTD/gpu-lock-free-queue/ci.yml?branch=main&label=build&style=flat)](https://github.com/Plasius-LTD/gpu-lock-free-queue/actions/workflows/ci.yml)
5
+ [![coverage](https://img.shields.io/codecov/c/github/Plasius-LTD/gpu-lock-free-queue)](https://codecov.io/gh/Plasius-LTD/gpu-lock-free-queue)
6
+ [![License](https://img.shields.io/github/license/Plasius-LTD/gpu-lock-free-queue)](./LICENSE)
7
+ [![Code of Conduct](https://img.shields.io/badge/code%20of%20conduct-yes-blue.svg)](./CODE_OF_CONDUCT.md)
8
+ [![Security Policy](https://img.shields.io/badge/security%20policy-yes-orange.svg)](./SECURITY.md)
9
+ [![Changelog](https://img.shields.io/badge/changelog-md-blue.svg)](./CHANGELOG.md)
10
+
4
11
  [![CI](https://github.com/Plasius-LTD/gpu-lock-free-queue/actions/workflows/ci.yml/badge.svg)](https://github.com/Plasius-LTD/gpu-lock-free-queue/actions/workflows/ci.yml)
5
12
  [![license](https://img.shields.io/npm/l/@plasius/gpu-lock-free-queue)](./LICENSE)
6
13
 
@@ -65,6 +72,16 @@ npm run test:coverage
65
72
  npm run test:e2e
66
73
  ```
67
74
 
75
+ ## Development Checks
76
+
77
+ ```sh
78
+ npm run lint
79
+ npm run typecheck
80
+ npm run test:coverage
81
+ npm run build
82
+ npm run pack:check
83
+ ```
84
+
68
85
  ## Files
69
86
  - `demo/index.html`: Loads the demo.
70
87
  - `demo/main.js`: WebGPU setup, enqueue/dequeue test, FFT spectrogram, and randomness heuristics.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasius/gpu-lock-free-queue",
3
- "version": "0.2.1",
3
+ "version": "0.2.8",
4
4
  "description": "WebGPU lock-free MPMC ring queue with sequence counters.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -26,10 +26,18 @@
26
26
  "scripts": {
27
27
  "build": "tsup && cp src/queue.wgsl dist/queue.wgsl",
28
28
  "demo": "python3 -m http.server",
29
+ "typecheck": "node --check src/index.js",
30
+ "audit:eslint": "eslint . --max-warnings=0",
31
+ "audit:deps": "npm ls --all --omit=optional --omit=peer > /dev/null 2>&1 || true",
32
+ "audit:npm": "npm audit --audit-level=high --omit=dev",
33
+ "audit:test": "npm run test:coverage",
34
+ "lint": "eslint . --max-warnings=0",
29
35
  "test": "npm run test:unit",
30
36
  "test:unit": "node --test",
31
37
  "test:e2e": "npx playwright install chromium && playwright test",
32
- "test:coverage": "c8 --reporter=lcov --reporter=text node --test"
38
+ "test:coverage": "c8 --reporter=lcov --reporter=text node --test",
39
+ "pack:check": "node scripts/verify-public-package.cjs",
40
+ "prepublishOnly": "npm run build && npm run pack:check"
33
41
  },
34
42
  "keywords": [
35
43
  "webgpu",
@@ -46,8 +54,11 @@
46
54
  "author": "Plasius LTD <development@plasius.co.uk>",
47
55
  "license": "Apache-2.0",
48
56
  "devDependencies": {
57
+ "@eslint/js": "^9.39.1",
49
58
  "@playwright/test": "^1.57.0",
50
59
  "c8": "^10.1.3",
60
+ "eslint": "^9.39.1",
61
+ "globals": "^17.3.0",
51
62
  "tsup": "^8.5.0",
52
63
  "typescript": "^5.9.3"
53
64
  },
@@ -71,5 +82,8 @@
71
82
  "type": "github",
72
83
  "url": "https://github.com/sponsors/Plasius-LTD"
73
84
  }
74
- ]
85
+ ],
86
+ "overrides": {
87
+ "minimatch": "^10.2.1"
88
+ }
75
89
  }