@sythos/js_barcode_universal 1.5.13 → 1.5.14

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/README.md CHANGED
@@ -112,8 +112,8 @@ The `unpkg` and `jsdelivr` fields point at the IIFE bundle, so a CDN needs no in
112
112
 
113
113
  ```html
114
114
  <script src="https://unpkg.com/@sythos/js_barcode_universal"></script>
115
- <script src="https://unpkg.com/@sythos/js_barcode_universal@1.5.13"></script>
116
- <script src="https://cdn.jsdelivr.net/npm/@sythos/js_barcode_universal@1.5.13"></script>
115
+ <script src="https://unpkg.com/@sythos/js_barcode_universal@1.5.14"></script>
116
+ <script src="https://cdn.jsdelivr.net/npm/@sythos/js_barcode_universal@1.5.14"></script>
117
117
  ```
118
118
 
119
119
  Pin the version for anything you ship; the unpinned form resolves to `latest` and will move under
@@ -491,6 +491,23 @@ camera loop that decodes continuously from the video stream.
491
491
 
492
492
  ---
493
493
 
494
+ ## Documentation
495
+
496
+ The full, searchable documentation lives on [GitHub Pages](https://sythos.github.io/JS_Barcode_Universal/)
497
+ and is built from the checked-in [`docs/`](docs/) tree with MkDocs Material. It includes the
498
+ [API reference](https://sythos.github.io/JS_Barcode_Universal/api/overview/),
499
+ [format catalogue](https://sythos.github.io/JS_Barcode_Universal/formats/overview/),
500
+ [camera and image guides](https://sythos.github.io/JS_Barcode_Universal/guides/camera-reading/),
501
+ [practical recipes](https://sythos.github.io/JS_Barcode_Universal/examples/create-barcode/),
502
+ [FAQ](https://sythos.github.io/JS_Barcode_Universal/faq/) and
503
+ [troubleshooting](https://sythos.github.io/JS_Barcode_Universal/troubleshooting/).
504
+
505
+ Every documentation change is checked for local links, navigation coverage and registry drift in
506
+ CI before the Pages build is published. The compact README remains the versioned project
507
+ overview; the Pages site is the place for the longer explanations and copy-ready examples.
508
+
509
+ ---
510
+
494
511
  ## API summary
495
512
 
496
513
  Two functions carry the whole surface. Everything else is a renderer or a format-specific escape
@@ -667,6 +684,33 @@ repository-level default setup.
667
684
  references weekly. Updates are repository-development controls only; the published SDK remains
668
685
  zero-dependency at runtime.
669
686
 
687
+ The read-only quality gate in [`.github/workflows/pr-quality.yml`](.github/workflows/pr-quality.yml)
688
+ runs for pull requests and pushes to `main`. Its Node jobs install the locked development toolchain
689
+ with `npm ci --ignore-scripts --no-audit --no-fund`, then run ESLint, the TypeScript compiler and
690
+ public-type checks, package-surface and zero-runtime-dependency checks, documentation checks and
691
+ the workflow attestation validator. It has no publish credentials and cannot publish a package or
692
+ create a release.
693
+
694
+ Pull-request dependency changes are checked by GitHub's Dependency Review action with read-only
695
+ permissions. Separate tokenless workflows run OSV Scanner for known dependency vulnerabilities,
696
+ OSSF Scorecard for repository supply-chain posture and `actionlint` for GitHub Actions syntax and
697
+ expression mistakes. The allow-list records Blue Oak 1.0.0 only for the development-only `minimatch`
698
+ transitive dependency; it is not shipped in the SDK package. These checks use repository or
699
+ GitHub-provided permissions only; they do not add runtime dependencies to the SDK.
700
+
701
+ The same pull-request gate runs a bounded, deterministic `fast-check` property suite across the
702
+ supported 1D and 2D encoders and decoders. It checks matrix invariants and round-trip payloads with
703
+ small, reproducible inputs; the fuzzing harness stays in development-only test files and is excluded
704
+ from the published npm package.
705
+
706
+ APIsec is intentionally not enabled: this repository is a client-side barcode SDK with no HTTP API
707
+ or OpenAPI service to scan, and the hosted APIsec action requires an account and secrets. OWASP ZAP
708
+ API scanning is likewise outside the current boundary because it needs an authorized live target or
709
+ API specification. `zizmor` is kept out of the mandatory gate while its action remains an early
710
+ development option, and Gitleaks is not made a required check because organization use can require
711
+ an external licence. Those tools may be reconsidered only if the repository boundary changes and
712
+ their no-secret, no-registration requirements can be met.
713
+
670
714
  These security workflows report findings and propose maintenance updates. They do not replace
671
715
  review of barcode conformance, licensing, patent status or release attestations.
672
716
 
@@ -728,7 +772,7 @@ attestation confirms build provenance; it is not an ISO barcode-conformance cert
728
772
  clearance, or a guarantee that the implementation is vulnerability-free.
729
773
 
730
774
  Release automation validates the package version against the selected Git tag; it does not invent
731
- or increment versions by itself. The current release is `1.5.13`.
775
+ or increment versions by itself. The current release is `1.5.14`.
732
776
 
733
777
  ---
734
778
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Sythos Barcode Suite v1.5.13
2
+ * Sythos Barcode Suite v1.5.14
3
3
  *
4
4
  * MIT License
5
5
  *
@@ -17596,7 +17596,7 @@ function decodeStrict(image, options) {
17596
17596
  return results[0];
17597
17597
  }
17598
17598
  /** Library version, matching package.json. */
17599
- const VERSION = '1.5.13';
17599
+ const VERSION = '1.5.14';
17600
17600
 
17601
17601
  __exports.listFormats = listFormats;
17602
17602
  __exports.encode = encode;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Sythos Barcode Suite v1.5.13
2
+ * Sythos Barcode Suite v1.5.14
3
3
  *
4
4
  * MIT License
5
5
  *
@@ -17597,7 +17597,7 @@ function decodeStrict(image, options) {
17597
17597
  return results[0];
17598
17598
  }
17599
17599
  /** Library version, matching package.json. */
17600
- const VERSION = '1.5.13';
17600
+ const VERSION = '1.5.14';
17601
17601
 
17602
17602
  __exports.listFormats = listFormats;
17603
17603
  __exports.encode = encode;
package/llms.txt CHANGED
@@ -8,13 +8,20 @@
8
8
  - Project: Sythos Barcode Universal
9
9
  - Publisher and original author: Sythos — https://www.sythos.net
10
10
  - npm package: `@sythos/js_barcode_universal`
11
- - Current repository release: `1.5.13`
11
+ - Current repository release: `1.5.14`
12
12
  - License: MIT; copyright and attribution: Sythos
13
13
  - Runtime dependencies: none
14
14
  - Development tooling: TypeScript is a development-only dependency
15
15
  - Repository: https://github.com/Sythos/JS_Barcode_Universal
16
16
  - npm: https://www.npmjs.com/package/@sythos/js_barcode_universal
17
- - Documentation: https://github.com/Sythos/JS_Barcode_Universal#readme
17
+ - Documentation: https://sythos.github.io/JS_Barcode_Universal/
18
+ - Documentation source: https://github.com/Sythos/JS_Barcode_Universal/tree/main/docs
19
+ - API reference: https://sythos.github.io/JS_Barcode_Universal/api/overview/
20
+ - Format catalogue: https://sythos.github.io/JS_Barcode_Universal/formats/overview/
21
+ - Recipes: https://sythos.github.io/JS_Barcode_Universal/examples/create-barcode/
22
+ - FAQ: https://sythos.github.io/JS_Barcode_Universal/faq/
23
+ - Troubleshooting: https://sythos.github.io/JS_Barcode_Universal/troubleshooting/
24
+ - Compact project overview: https://github.com/Sythos/JS_Barcode_Universal#readme
18
25
  - Issue tracker: https://github.com/Sythos/JS_Barcode_Universal/issues
19
26
 
20
27
  ## What this SDK does
@@ -148,6 +155,8 @@ professional review where required.
148
155
  ## Canonical project files
149
156
 
150
157
  - Human documentation: `README.md`
158
+ - Published documentation: https://sythos.github.io/JS_Barcode_Universal/
159
+ - Documentation source tree: `docs/`
151
160
  - Roadmap and implementation boundaries: `PLAN.md`
152
161
  - MIT terms: `LICENSE`
153
162
  - Attribution and provenance: `NOTICE.md`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sythos/js_barcode_universal",
3
- "version": "1.5.13",
3
+ "version": "1.5.14",
4
4
  "description": "Open-source MIT-licensed JavaScript/TypeScript barcode generator and barcode reader SDK with zero runtime dependencies for 1D and 2D barcodes in browsers, Web Workers and Node.js: QR, Data Matrix, Aztec, PDF417, GS1, EAN and more.",
5
5
  "author": {
6
6
  "name": "Sythos",
@@ -198,13 +198,19 @@
198
198
  "bugs": {
199
199
  "url": "https://github.com/Sythos/JS_Barcode_Universal/issues"
200
200
  },
201
- "homepage": "https://github.com/Sythos/JS_Barcode_Universal#readme",
201
+ "homepage": "https://sythos.github.io/JS_Barcode_Universal/",
202
202
  "scripts": {
203
203
  "build:ts": "node tools/compile-typescript.mjs",
204
+ "lint": "eslint --max-warnings=0 src/index.js src/js tools .github/ci",
205
+ "test:docs": "node --test tools/exact-url.test.mjs",
206
+ "test:fuzz": "node --test test/fuzz/property.test.js",
204
207
  "types": "tsc -p tsconfig.json",
205
208
  "types:api": "node tools/check-public-types.mjs"
206
209
  },
207
210
  "devDependencies": {
211
+ "@eslint/js": "10.0.1",
212
+ "eslint": "10.9.1",
213
+ "fast-check": "4.9.0",
208
214
  "typescript": "7.0.2"
209
215
  }
210
216
  }
package/src/index.d.ts CHANGED
@@ -360,4 +360,4 @@ export declare function decodeStrict(image: {
360
360
  height: number;
361
361
  }, options?: object): DecodeResult;
362
362
  /** Library version, matching package.json. */
363
- export declare const VERSION = "1.5.13";
363
+ export declare const VERSION = "1.5.14";
package/src/index.js CHANGED
@@ -779,4 +779,4 @@ export function decodeStrict(image, options) {
779
779
  return results[0];
780
780
  }
781
781
  /** Library version, matching package.json. */
782
- export const VERSION = '1.5.13';
782
+ export const VERSION = '1.5.14';
package/src/ts/index.d.ts CHANGED
@@ -360,4 +360,4 @@ export declare function decodeStrict(image: {
360
360
  height: number;
361
361
  }, options?: object): DecodeResult;
362
362
  /** Library version, matching package.json. */
363
- export declare const VERSION = "1.5.13";
363
+ export declare const VERSION = "1.5.14";
package/src/ts/index.ts CHANGED
@@ -787,4 +787,4 @@ export function decodeStrict(image, options) {
787
787
  }
788
788
 
789
789
  /** Library version, matching package.json. */
790
- export const VERSION = '1.5.13';
790
+ export const VERSION = '1.5.14';