@aidc-toolkit/gs1 0.9.3 → 0.9.4

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 (2) hide show
  1. package/package.json +5 -5
  2. package/src/idkey.ts +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aidc-toolkit/gs1",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "description": "GS1 AIDC Toolkit",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -25,16 +25,16 @@
25
25
  "test": "vitest run"
26
26
  },
27
27
  "devDependencies": {
28
- "@aidc-toolkit/dev": "^0.9.3",
29
- "eslint": "^9.14.0",
28
+ "@aidc-toolkit/dev": "^0.9.4",
29
+ "eslint": "^9.15.0",
30
30
  "ts-node": "^10.9.2",
31
31
  "tsup": "^8.3.5",
32
32
  "typescript": "^5.6.3",
33
33
  "vitest": "^2.1.5"
34
34
  },
35
35
  "dependencies": {
36
- "@aidc-toolkit/core": "^0.9.3",
37
- "@aidc-toolkit/utility": "^0.9.3",
36
+ "@aidc-toolkit/core": "^0.9.4",
37
+ "@aidc-toolkit/utility": "^0.9.4",
38
38
  "i18next": "^23.16.5",
39
39
  "ts-mixer": "^6.0.4"
40
40
  }
package/src/idkey.ts CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  CharacterSetCreator,
3
3
  type CharacterSetValidation,
4
4
  type CharacterSetValidator,
5
- Exclusion,
5
+ Exclusion, IteratorProxy,
6
6
  NUMERIC_CREATOR,
7
7
  RegExpValidator,
8
8
  type StringValidation,
@@ -1612,7 +1612,7 @@ export class SerializableNumericIdentificationKeyCreator extends Mixin(Serializa
1612
1612
 
1613
1613
  result = baseIdentificationKey + serialComponent;
1614
1614
  } else {
1615
- result = Iterator.from(serialComponent).map(serialComponent => this.concatenateValidated(baseIdentificationKey, serialComponent));
1615
+ result = IteratorProxy.from(serialComponent).map(serialComponent => this.concatenateValidated(baseIdentificationKey, serialComponent));
1616
1616
  }
1617
1617
 
1618
1618
  return result;
@@ -1771,7 +1771,7 @@ export class NonNumericIdentificationKeyCreator extends Mixin(NonNumericIdentifi
1771
1771
 
1772
1772
  result = this.requiresCheckCharacterPair ? partialIdentificationKey + checkCharacterPair(partialIdentificationKey) : partialIdentificationKey;
1773
1773
  } else {
1774
- result = Iterator.from(referenceOrReferences).map(reference => this.create(reference));
1774
+ result = IteratorProxy.from(referenceOrReferences).map(reference => this.create(reference));
1775
1775
  }
1776
1776
 
1777
1777
  return result;