hcc2d-encoder 0.9.0-rc.2 → 0.9.0

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- ## 0.9.0-rc.2
3
+ ## 0.9.0
4
4
 
5
5
  - added a pure JavaScript HCC2D reference encoder for Node.js
6
6
  - aligned encoding behavior with the public C and Python reference encoders 0.9.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # HCC2D JavaScript Encoder 0.9.0-rc.2
1
+ # HCC2D JavaScript Encoder 0.9.0
2
2
 
3
3
  [![CI](https://github.com/marco-querini/hcc2d-cli-javascript-encoder/actions/workflows/ci.yml/badge.svg)](https://github.com/marco-querini/hcc2d-cli-javascript-encoder/actions/workflows/ci.yml)
4
4
  [![npm](https://img.shields.io/npm/v/hcc2d-encoder.svg)](https://www.npmjs.com/package/hcc2d-encoder)
@@ -271,7 +271,7 @@ Web Worker and does not upload payloads.
271
271
  npm ci
272
272
  npm run check
273
273
  npm pack
274
- npm install --global ./hcc2d-encoder-0.9.0-rc.2.tgz
274
+ npm install --global ./hcc2d-encoder-0.9.0.tgz
275
275
  ```
276
276
 
277
277
  `npm pack --dry-run` shows every file that would be published. The `files`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hcc2d-encoder",
3
- "version": "0.9.0-rc.2",
3
+ "version": "0.9.0",
4
4
  "description": "Pure JavaScript reference encoder for QR, HCC2D4, and HCC2D8 symbols",
5
5
  "type": "module",
6
6
  "sideEffects": false,
package/src/cli.js CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  } from "./encoder.js";
13
13
 
14
14
  const PROGRAM_INFO = `HCC2D Encoder - pure JavaScript reference implementation
15
- Copyright 2010-2026 Marco Querini | SPDX-License-Identifier: Apache-2.0 | Version 0.9.0-rc.2
15
+ Copyright 2010-2026 Marco Querini | SPDX-License-Identifier: Apache-2.0 | Version 0.9.0
16
16
 
17
17
  Specification compliance:
18
18
  Intended to conform to the HCC2D Code Specification version 0.9.0.
@@ -128,7 +128,7 @@ export function main(argv = process.argv.slice(2), io = console) {
128
128
  try {
129
129
  options = parseArguments(argv);
130
130
  if (options.help) { io.log(HELP); return 0; }
131
- if (options.versionInfo) { io.log("0.9.0-rc.2"); return 0; }
131
+ if (options.versionInfo) { io.log("0.9.0"); return 0; }
132
132
  if (!Number.isInteger(options.version) || options.version < 0 || options.version > 40) throw new RangeError("version must be an integer from 0 to 40");
133
133
  if (!Number.isInteger(options.scale) || options.scale < 6 || options.scale > 1000) throw new RangeError("scale must be an integer from 6 to 1000");
134
134
  if (!Number.isInteger(options.quietZone) || options.quietZone < 0 || options.quietZone > 1000) throw new RangeError("quiet zone must be an integer from 0 to 1000");
package/src/encoder.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // HCC2D Encoder - pure JavaScript reference implementation
2
2
  // Copyright 2010-2026 Marco Querini
3
3
  // SPDX-License-Identifier: Apache-2.0
4
- // Version 0.9.0-rc.2
4
+ // Version 0.9.0
5
5
  //
6
6
  // Intended to conform to HCC2D Code Specification 0.9.0:
7
7
  // https://doi.org/10.5281/zenodo.22206528
package/src/index.js CHANGED
@@ -12,4 +12,4 @@ export {
12
12
  writePng,
13
13
  } from "./encoder.js";
14
14
 
15
- export const version = "0.9.0-rc.2";
15
+ export const version = "0.9.0";