@twin.org/qr 0.0.2-next.6 → 0.0.2-next.7

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.
@@ -367,7 +367,6 @@ class QRNumber extends QRDataBase {
367
367
  // Copyright 2024 IOTA Stiftung.
368
368
  // SPDX-License-Identifier: Apache-2.0.
369
369
  /* eslint-disable no-bitwise */
370
- /* eslint-disable unicorn/prefer-math-trunc */
371
370
  /**
372
371
  * Class for maintaining data bits.
373
372
  * Based on https://github.com/kazuhikoarase/qrcode-generator/ .
@@ -676,7 +675,6 @@ const MaskPattern = {
676
675
  // Copyright 2024 IOTA Stiftung.
677
676
  // SPDX-License-Identifier: Apache-2.0.
678
677
  /* eslint-disable no-bitwise */
679
- /* eslint-disable unicorn/prefer-math-trunc */
680
678
  /**
681
679
  * Helper methods for QR generation.
682
680
  * Based on https://github.com/kazuhikoarase/qrcode-generator/ .
@@ -800,14 +798,11 @@ class QRHelper {
800
798
  /**
801
799
  * @internal
802
800
  */
803
- // eslint-disable-next-line unicorn/prefer-math-trunc
804
801
  static _G15 = (1 << 10) | (1 << 8) | (1 << 5) | (1 << 4) | (1 << 2) | (1 << 1) | (1 << 0);
805
802
  /**
806
803
  * @internal
807
804
  */
808
- static _G18 =
809
- // eslint-disable-next-line unicorn/prefer-math-trunc
810
- (1 << 12) | (1 << 11) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 5) | (1 << 2) | (1 << 0);
805
+ static _G18 = (1 << 12) | (1 << 11) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 5) | (1 << 2) | (1 << 0);
811
806
  /**
812
807
  * @internal
813
808
  */
@@ -1237,7 +1232,6 @@ class RSBlock {
1237
1232
  /* eslint-disable no-bitwise */
1238
1233
  /* eslint-disable no-continue */
1239
1234
  /* eslint-disable no-mixed-operators */
1240
- /* eslint-disable unicorn/prefer-math-trunc */
1241
1235
  /**
1242
1236
  * Class to generates QR codes from data.
1243
1237
  * Based on https://github.com/kazuhikoarase/qrcode-generator/ .
@@ -1935,7 +1929,6 @@ class PngRenderer {
1935
1929
 
1936
1930
  // Copyright 2024 IOTA Stiftung.
1937
1931
  // SPDX-License-Identifier: Apache-2.0.
1938
- /* eslint-disable no-mixed-operators */
1939
1932
  /**
1940
1933
  * Class to render qr data as text.
1941
1934
  */
@@ -365,7 +365,6 @@ class QRNumber extends QRDataBase {
365
365
  // Copyright 2024 IOTA Stiftung.
366
366
  // SPDX-License-Identifier: Apache-2.0.
367
367
  /* eslint-disable no-bitwise */
368
- /* eslint-disable unicorn/prefer-math-trunc */
369
368
  /**
370
369
  * Class for maintaining data bits.
371
370
  * Based on https://github.com/kazuhikoarase/qrcode-generator/ .
@@ -674,7 +673,6 @@ const MaskPattern = {
674
673
  // Copyright 2024 IOTA Stiftung.
675
674
  // SPDX-License-Identifier: Apache-2.0.
676
675
  /* eslint-disable no-bitwise */
677
- /* eslint-disable unicorn/prefer-math-trunc */
678
676
  /**
679
677
  * Helper methods for QR generation.
680
678
  * Based on https://github.com/kazuhikoarase/qrcode-generator/ .
@@ -798,14 +796,11 @@ class QRHelper {
798
796
  /**
799
797
  * @internal
800
798
  */
801
- // eslint-disable-next-line unicorn/prefer-math-trunc
802
799
  static _G15 = (1 << 10) | (1 << 8) | (1 << 5) | (1 << 4) | (1 << 2) | (1 << 1) | (1 << 0);
803
800
  /**
804
801
  * @internal
805
802
  */
806
- static _G18 =
807
- // eslint-disable-next-line unicorn/prefer-math-trunc
808
- (1 << 12) | (1 << 11) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 5) | (1 << 2) | (1 << 0);
803
+ static _G18 = (1 << 12) | (1 << 11) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 5) | (1 << 2) | (1 << 0);
809
804
  /**
810
805
  * @internal
811
806
  */
@@ -1235,7 +1230,6 @@ class RSBlock {
1235
1230
  /* eslint-disable no-bitwise */
1236
1231
  /* eslint-disable no-continue */
1237
1232
  /* eslint-disable no-mixed-operators */
1238
- /* eslint-disable unicorn/prefer-math-trunc */
1239
1233
  /**
1240
1234
  * Class to generates QR codes from data.
1241
1235
  * Based on https://github.com/kazuhikoarase/qrcode-generator/ .
@@ -1933,7 +1927,6 @@ class PngRenderer {
1933
1927
 
1934
1928
  // Copyright 2024 IOTA Stiftung.
1935
1929
  // SPDX-License-Identifier: Apache-2.0.
1936
- /* eslint-disable no-mixed-operators */
1937
1930
  /**
1938
1931
  * Class to render qr data as text.
1939
1932
  */
package/docs/changelog.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @twin.org/qr - Changelog
2
2
 
3
+ ## [0.0.2-next.7](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.6...qr-v0.0.2-next.7) (2025-08-29)
4
+
5
+
6
+ ### Features
7
+
8
+ * eslint migration to flat config ([74427d7](https://github.com/twinfoundation/framework/commit/74427d78d342167f7850e49ab87269326355befe))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/core bumped from 0.0.2-next.6 to 0.0.2-next.7
16
+ * @twin.org/image bumped from 0.0.2-next.6 to 0.0.2-next.7
17
+ * @twin.org/nameof bumped from 0.0.2-next.6 to 0.0.2-next.7
18
+ * devDependencies
19
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.6 to 0.0.2-next.7
20
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.6 to 0.0.2-next.7
21
+
3
22
  ## [0.0.2-next.6](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.5...qr-v0.0.2-next.6) (2025-08-27)
4
23
 
5
24
 
@@ -5,7 +5,7 @@
5
5
  Error correction level to use for the QR Code.
6
6
  Based on https://github.com/kazuhikoarase/qrcode-generator/ .
7
7
 
8
- ## Type declaration
8
+ ## Type Declaration
9
9
 
10
10
  ### L
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/qr",
3
- "version": "0.0.2-next.6",
3
+ "version": "0.0.2-next.7",
4
4
  "description": "Package for creating QR codes",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,9 +14,9 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/core": "0.0.2-next.6",
18
- "@twin.org/image": "0.0.2-next.6",
19
- "@twin.org/nameof": "0.0.2-next.6"
17
+ "@twin.org/core": "0.0.2-next.7",
18
+ "@twin.org/image": "0.0.2-next.7",
19
+ "@twin.org/nameof": "0.0.2-next.7"
20
20
  },
21
21
  "main": "./dist/cjs/index.cjs",
22
22
  "module": "./dist/esm/index.mjs",