mol_crypto2_lib 0.0.52 → 0.0.53

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/node.meta.tree CHANGED
@@ -15,8 +15,9 @@
15
15
  pack rise git \https://github.com/stan-donarise/mam_rise.git
16
16
  pack yuf git \https://github.com/zerkalica/yuf.git
17
17
  pack apxu git \https://github.com/ApxuTechTop/apxu
18
- pack bog git \https://github.com/best-online-games/bog.git
18
+ pack bog git \https://github.com/b-on-g/bog.git
19
19
  pack mws git \https://github.com/reatailret/milkywaystd_mol.git
20
+ pack raggu git \https://github.com/RaguTeam/raggu.git
20
21
  \/mol
21
22
  pack icon git \https://github.com/nin-jin/mol_icon.git
22
23
  \/mol/crypto2/lib
package/node.mjs CHANGED
@@ -261,6 +261,12 @@ var $;
261
261
  this.setFloat64(offset, next, true);
262
262
  return this.getFloat64(offset, true);
263
263
  }
264
+ mix(mixin) {
265
+ const arr = this.asArray();
266
+ for (let i = 0; i < mixin.length; ++i)
267
+ arr[i % arr.byteLength] ^= mixin[i];
268
+ return this;
269
+ }
264
270
  /** A Uint8Array view for the same buffer. */
265
271
  asArray() {
266
272
  return new Uint8Array(this.buffer, this.byteOffset, this.byteLength);
@@ -1119,7 +1125,7 @@ var $;
1119
1125
  'color': 'gray',
1120
1126
  });
1121
1127
  $.$mol_dev_format_indent = $.$mol_dev_format_div.bind(null, {
1122
- 'margin-left': '13px'
1128
+ 'margin-inline-start': '13px'
1123
1129
  });
1124
1130
  class Stack extends Array {
1125
1131
  // [ Symbol.toPrimitive ]() {
@@ -2424,14 +2430,14 @@ var $;
2424
2430
  reuse: if (existen) {
2425
2431
  if (!existen.temp)
2426
2432
  break reuse;
2427
- if (existen.task !== task) {
2428
- cause = 'task';
2429
- break reuse;
2430
- }
2431
2433
  if (existen.host !== host) {
2432
2434
  cause = 'host';
2433
2435
  break reuse;
2434
2436
  }
2437
+ if (existen.task !== task) {
2438
+ cause = 'task';
2439
+ break reuse;
2440
+ }
2435
2441
  if (!$mol_compare_deep(existen.args, args)) {
2436
2442
  cause = 'args';
2437
2443
  break reuse;
package/node.test.js CHANGED
@@ -252,6 +252,12 @@ var $;
252
252
  this.setFloat64(offset, next, true);
253
253
  return this.getFloat64(offset, true);
254
254
  }
255
+ mix(mixin) {
256
+ const arr = this.asArray();
257
+ for (let i = 0; i < mixin.length; ++i)
258
+ arr[i % arr.byteLength] ^= mixin[i];
259
+ return this;
260
+ }
255
261
  /** A Uint8Array view for the same buffer. */
256
262
  asArray() {
257
263
  return new Uint8Array(this.buffer, this.byteOffset, this.byteLength);
@@ -1110,7 +1116,7 @@ var $;
1110
1116
  'color': 'gray',
1111
1117
  });
1112
1118
  $.$mol_dev_format_indent = $.$mol_dev_format_div.bind(null, {
1113
- 'margin-left': '13px'
1119
+ 'margin-inline-start': '13px'
1114
1120
  });
1115
1121
  class Stack extends Array {
1116
1122
  // [ Symbol.toPrimitive ]() {
@@ -2415,14 +2421,14 @@ var $;
2415
2421
  reuse: if (existen) {
2416
2422
  if (!existen.temp)
2417
2423
  break reuse;
2418
- if (existen.task !== task) {
2419
- cause = 'task';
2420
- break reuse;
2421
- }
2422
2424
  if (existen.host !== host) {
2423
2425
  cause = 'host';
2424
2426
  break reuse;
2425
2427
  }
2428
+ if (existen.task !== task) {
2429
+ cause = 'task';
2430
+ break reuse;
2431
+ }
2426
2432
  if (!$mol_compare_deep(existen.args, args)) {
2427
2433
  cause = 'args';
2428
2434
  break reuse;
@@ -3817,7 +3823,7 @@ var $;
3817
3823
  "use strict";
3818
3824
  var $;
3819
3825
  (function ($) {
3820
- $.$mol_dom_context = new $node.jsdom.JSDOM('', { url: 'https://localhost/' }).window;
3826
+ $.$mol_dom_context = new $node.jsdom.JSDOM('', { url: `http://${process.env.DOMAIN || 'localhost'}/` }).window;
3821
3827
  })($ || ($ = {}));
3822
3828
 
3823
3829
  ;