@ama-sdk/core 13.5.0-prerelease.9 → 13.6.0-prerelease.1

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.
@@ -1,8 +1,4 @@
1
- /* eslint-disable @stylistic/brace-style -- explication with inline comments */ /* eslint-disable no-bitwise -- working on bytes */ // The content of this file is inspired from https://github.com/inexorabletash/text-encoding/blob/master/lib/encoding.js
2
- // in order to support UTF8 strings encoding in case TextEncoder is not available
3
- /**
4
- * Represents a byte stream to be processed by and Encoder
5
- */ "use strict";
1
+ "use strict";
6
2
  Object.defineProperty(exports, "__esModule", {
7
3
  value: true
8
4
  });
@@ -69,7 +65,11 @@ function _unsupported_iterable_to_array(o, minLen) {
69
65
  if (n === "Map" || n === "Set") return Array.from(n);
70
66
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
71
67
  }
72
- var Stream = /*#__PURE__*/ function() {
68
+ /* eslint-disable @stylistic/brace-style -- explication with inline comments */ /* eslint-disable no-bitwise -- working on bytes */ // The content of this file is inspired from https://github.com/inexorabletash/text-encoding/blob/master/lib/encoding.js
69
+ // in order to support UTF8 strings encoding in case TextEncoder is not available
70
+ /**
71
+ * Represents a byte stream to be processed by and Encoder
72
+ */ var Stream = /*#__PURE__*/ function() {
73
73
  "use strict";
74
74
  function Stream(tokens) {
75
75
  _class_call_check(this, Stream);
@@ -1,7 +1,4 @@
1
- /**
2
- * Computes the SHA256 digest of the given string
3
- * @param value Value to hash
4
- */ function _array_like_to_array(arr, len) {
1
+ function _array_like_to_array(arr, len) {
5
2
  if (len == null || len > arr.length) len = arr.length;
6
3
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
7
4
  return arr2;
@@ -146,7 +143,10 @@ function _ts_generator(thisArg, body) {
146
143
  };
147
144
  }
148
145
  }
149
- export function sha256(value) {
146
+ /**
147
+ * Computes the SHA256 digest of the given string
148
+ * @param value Value to hash
149
+ */ export function sha256(value) {
150
150
  return _async_to_generator(function() {
151
151
  var utf8, hashBuffer, hashArray, hashHex;
152
152
  return _ts_generator(this, function(_state) {
@@ -1,8 +1,4 @@
1
- /* eslint-disable @stylistic/brace-style -- explication with inline comments */ /* eslint-disable no-bitwise -- working on bytes */ // The content of this file is inspired from https://github.com/inexorabletash/text-encoding/blob/master/lib/encoding.js
2
- // in order to support UTF8 strings encoding in case TextEncoder is not available
3
- /**
4
- * Represents a byte stream to be processed by and Encoder
5
- */ function _array_like_to_array(arr, len) {
1
+ function _array_like_to_array(arr, len) {
6
2
  if (len == null || len > arr.length) len = arr.length;
7
3
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
8
4
  return arr2;
@@ -59,7 +55,11 @@ function _unsupported_iterable_to_array(o, minLen) {
59
55
  if (n === "Map" || n === "Set") return Array.from(n);
60
56
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
61
57
  }
62
- var Stream = /*#__PURE__*/ function() {
58
+ /* eslint-disable @stylistic/brace-style -- explication with inline comments */ /* eslint-disable no-bitwise -- working on bytes */ // The content of this file is inspired from https://github.com/inexorabletash/text-encoding/blob/master/lib/encoding.js
59
+ // in order to support UTF8 strings encoding in case TextEncoder is not available
60
+ /**
61
+ * Represents a byte stream to be processed by and Encoder
62
+ */ var Stream = /*#__PURE__*/ function() {
63
63
  "use strict";
64
64
  function Stream(tokens) {
65
65
  _class_call_check(this, Stream);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ama-sdk/core",
3
- "version": "13.5.0-prerelease.9",
3
+ "version": "13.6.0-prerelease.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -43,16 +43,15 @@
43
43
  "build:builders": "tsc -b tsconfig.builders.json --pretty && yarn generate-cjs-manifest"
44
44
  },
45
45
  "dependencies": {
46
- "@o3r/schematics": "~13.5.0-prerelease.9",
47
- "@swc/helpers": "~0.5.0",
48
- "ts-node": "~10.9.2",
46
+ "@o3r/schematics": "~13.6.0-prerelease.1",
47
+ "@swc/helpers": "~0.5.17",
49
48
  "tslib": "^2.6.2",
50
49
  "uuid": "^11.0.5"
51
50
  },
52
51
  "peerDependencies": {
53
52
  "@angular-devkit/schematics": "^20.0.0",
54
53
  "@angular/cli": "^20.0.0",
55
- "@o3r/schematics": "~13.5.0-prerelease.9",
54
+ "@o3r/schematics": "~13.6.0-prerelease.1",
56
55
  "@schematics/angular": "^20.0.0",
57
56
  "typescript": "^5.9.0"
58
57
  },
@@ -74,23 +73,23 @@
74
73
  }
75
74
  },
76
75
  "devDependencies": {
77
- "@angular-devkit/core": "~20.3.11",
78
- "@angular-devkit/schematics": "~20.3.11",
79
- "@angular/common": "~20.3.13",
80
- "@angular/core": "~20.3.13",
76
+ "@angular-devkit/core": "~20.3.13",
77
+ "@angular-devkit/schematics": "~20.3.13",
78
+ "@angular/common": "~20.3.15",
79
+ "@angular/core": "~20.3.15",
81
80
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
82
81
  "@nx/eslint-plugin": "~21.6.0",
83
82
  "@nx/jest": "~21.6.0",
84
- "@o3r/build-helpers": "~13.5.0-prerelease.9",
85
- "@o3r/eslint-plugin": "~13.5.0-prerelease.9",
86
- "@o3r/test-helpers": "~13.5.0-prerelease.9",
87
- "@schematics/angular": "~20.3.11",
83
+ "@o3r/build-helpers": "~13.6.0-prerelease.1",
84
+ "@o3r/eslint-plugin": "~13.6.0-prerelease.1",
85
+ "@o3r/test-helpers": "~13.6.0-prerelease.1",
86
+ "@schematics/angular": "~20.3.13",
88
87
  "@stylistic/eslint-plugin": "~5.6.0",
89
- "@swc/cli": "~0.7.7",
90
- "@swc/core": "~1.13.0",
91
- "@types/jest": "~29.5.2",
92
- "@types/node": "~22.18.0",
93
- "@typescript-eslint/parser": "~8.47.0",
88
+ "@swc/cli": "~0.7.9",
89
+ "@swc/core": "~1.15.3",
90
+ "@types/jest": "~30.0.0",
91
+ "@types/node": "~24.10.0",
92
+ "@typescript-eslint/parser": "~8.50.0",
94
93
  "angular-eslint": "~20.6.0",
95
94
  "cpy-cli": "^6.0.0",
96
95
  "eslint": "~9.39.0",
@@ -98,26 +97,25 @@
98
97
  "eslint-import-resolver-typescript": "~4.4.0",
99
98
  "eslint-plugin-import": "~2.32.0",
100
99
  "eslint-plugin-import-newlines": "~1.4.0",
101
- "eslint-plugin-jest": "~29.1.0",
100
+ "eslint-plugin-jest": "~29.10.0",
102
101
  "eslint-plugin-jsdoc": "~54.7.0",
103
102
  "eslint-plugin-prefer-arrow": "~1.2.3",
104
103
  "eslint-plugin-unicorn": "~60.0.0",
105
104
  "eslint-plugin-unused-imports": "~4.3.0",
106
105
  "globals": "^16.0.0",
107
106
  "isomorphic-fetch": "~3.0.0",
108
- "jest": "~29.7.0",
107
+ "jest": "~30.2.0",
109
108
  "jest-junit": "~16.0.0",
110
- "jest-util": "~29.7.0",
109
+ "jest-util": "~30.2.0",
111
110
  "jsonc-eslint-parser": "~2.4.0",
112
111
  "minimist": "^1.2.6",
113
112
  "rimraf": "^6.0.1",
114
113
  "rxjs": "^7.8.1",
115
114
  "semver": "^7.5.2",
116
115
  "ts-jest": "~29.4.0",
117
- "ts-node": "~10.9.2",
118
116
  "type-fest": "^4.30.1",
119
117
  "typescript": "~5.9.2",
120
- "typescript-eslint": "~8.47.0",
118
+ "typescript-eslint": "~8.50.0",
121
119
  "zone.js": "~0.15.0"
122
120
  },
123
121
  "engines": {